2 2004-01-20 André Pönitz <poenitz@gmx.net>
20 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
21 LCursor and mathcursor parts to LCursor and InsetBase.
23 2004-01-15 André Pönitz <poenitz@gmx.net>
25 * cursor_slice.[Ch]: add a few covienience functions
27 * funcrequest.[Ch]: remove BufferView * member
36 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
38 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
40 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
41 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
43 2004-01-13 André Pönitz <poenitz@gmx.net>
46 * lyxtext.h: hide cursor and selection anchor behind accessor function
49 * BufferView_pimpl.[Ch]:
61 * cursor_slice.[Ch]: some integer type changes for inset unification
63 * lyxcursor.[hC]: remove, it's CursorSlice now.
66 * BufferView_pimpl.[Ch]:
73 * textcursor.[Ch]: adjust
75 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
77 * text2.C (undoSpan): add and use
78 * text.C (breakParagraph): use undoSpan (fix bug 578)
81 2004-01-08 Angus Leeming <leeming@lyx.org>
83 * BufferView_pimpl.C (MenuInsertLyXFile):
84 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
85 * lyxfunc.C (menuNew, open, doImport):
86 FileFilterList change to the FileDialog open and save functions.
88 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
90 * ShareContainer.h: make isEqual and isUnique adaptable
92 * CutAndPaste.C: make resetOwnerAndChanges adaptable
94 2004-01-07 Angus Leeming <leeming@lyx.org>
97 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
99 * BufferView_pimpl.C (dispatch): act on these LFUNs.
101 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
102 functions replacing find, replace and replaceAll.
104 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
105 LFUN_WORDFIND(FORWARD|BACKWARD).
107 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
109 * text.C (breakParagraph): remove an outdated #warning
111 2004-01-07 André Pönitz <poenitz@gmx.net>
113 * lyxfind.C: somewhat clearer logic
115 * text.C: prevent crash in cursorX on unitialized row cache
117 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
119 * lyxcursor.[Ch] (operator>): add
120 * textcursor.C (selStart, selEnd): use std::min and std::max
122 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
124 * Chktex.C: include boost/format.hpp
126 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
128 * InsetList.C: replace functor MathcIt with adaptable functor
130 (insetIterator): modify accordingly
132 * BranchList.h: move the BranchNamesEqual functor here from...
133 * BranchList.C: ... to here
135 * BranchList.C: new BranchListEqual fuctor, use it. Remove
137 (add): replace a finding loop with std::find_if.
139 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
141 * output_docbook.C: moving LatexParam functionality into
144 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
146 * buffer.C: increment format to 229.
148 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
151 * lyx_sty.[Ch]: remove minipageindent_def
157 * text3.C: remove LFUN_INSET_MINIPAGE
159 2003-12-28 Angus Leeming <leeming@lyx.org>
161 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
163 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
165 * text2.C (setParagraph): fix off-by-one crash
167 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
169 * output_docbook.C: header stuff for AGU
171 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
173 * text2.C (redoCursor): remove
176 * BufferView_pimpl.C: remove calls to redoCursor and
177 setCursor(cursor.par(), cursor.pos()) all around
179 2003-12-15 Angus Leeming <leeming@lyx.org>
181 * buffer.C: up the format to 228.
183 2003-12-15 André Pönitz <poenitz@gmx.net>
185 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
190 * BufferView_pimpl.C:
199 2003-12-15 Angus Leeming <leeming@lyx.org>
201 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
202 than getFromGUIName to manipulate the color.
204 2003-12-14 Angus Leeming <leeming@lyx.org>
206 * BranchList.[Ch]: minimize the API.
207 (Branch::getBranch, getColor): now return a 'const &'.
208 (Branch::setSelected) now returns a bool set to true if the
209 selection status changes.
210 (BranchList::clear, size, getColor, setColor, setSelected,
211 allBranches, allSelected, separator): removed.
212 (BranchList::find): new functions, returning the Branch with
214 (BranchList::add, remove): return a bool indicating that
215 the operation was successful.
217 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
218 new InsetBranch::isBranchSlected member function.
220 * LColor.[Ch]: mimimize the API.
221 (fill): renamed as addColor and made private.
222 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
223 versions of these functions taking a string arg have been removed.
225 * bufferparams.C (readToken):
226 * lyxfunc.C (dispatch):
227 * lyxrc.C (read): changes due to the altered BranchList and
230 * factory.C (createInset, readInset): changes due to altered
233 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
236 * lyxfunc.C: remove insetminipage. "minipage-insert"
237 now produces a frameless minipage box inset.
239 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
241 * textcursor.[Ch] (selStart,selEnd): add new methods
242 remove selection::start, end, use LyXCursor::operator<
243 * lyxcursor.[Ch] (operator<): add
244 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
245 * BufferView.[Ch] (unsetXSel): add
246 * text2.C (clearSelection): use unsetXSel,adjust
249 * rowpainter.C: adjust
250 * bufferview_funcs.C (put_selection_at): adjust
252 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
254 * BufferView_pimpl.C: small coord. correction
256 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
258 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
259 dragging over the splash screen.
261 2003-12-11 Angus Leeming <leeming@lyx.org>
263 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
264 as it is now handled in LyXText::dispatch.
266 * text3.C (doInsertInset): remove a level of nesting.
268 2003-12-11 Angus Leeming <leeming@lyx.org>
270 * factory.C (createInset): changes due to the changed interface to
271 InsetCommandMailer::string2params.
273 2003-12-10 Angus Leeming <leeming@lyx.org>
275 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
276 'dialog-show-new-inset <inset name>'
278 2003-12-10 Angus Leeming <leeming@lyx.org>
280 * buffer.C: up the format to 227.
282 * factory.C: the box inset is now identified simply by 'Box'.
284 2003-12-10 Angus Leeming <leeming@lyx.org>
286 * buffer.C: up the format to 226.
288 * factory.C: the note inset is now identified simply by 'Note'.
290 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
292 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
293 when a pit is enough. Standarize a couple of loops.
295 2003-12-05 Angus Leeming <leeming@lyx.org>
297 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
298 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
299 data to the re-worked "log" dialog.
301 2003-12-03 André Pönitz <poenitz@gmx.net>
309 * text2.C: use Inset::getText instead of Inset::getParagraph
311 2003-12-03 André Pönitz <poenitz@gmx.net>
315 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
316 InsetText::read() as LyXText::read()
318 2003-12-02 Angus Leeming <leeming@lyx.org>
320 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
321 type. Add a comment in the implementation that the function uses
322 the stream's bad() function rather than fail() as the std::streams
325 2003-12-02 André Pönitz <poenitz@gmx.net>
327 * lyxlex.[Ch]: make interface more similar to std::stream
329 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
331 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
333 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
335 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
337 * vspace.[Ch]: remove VSpace::NONE
339 2003-12-01 André Pönitz <poenitz@gmx.net>
342 * lyxtext.h: move ParagraphList member to LyXText
343 rename LyXText::ownerParagraphs to LyXText::paragraph
346 * bufferview_funcs.C:
356 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
358 * undo.C: fix cursor positioning
360 2003-12-01 John Levon <levon@movementarian.org>
362 * BufferView_pimpl.C: fix a crash on exit with
365 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
367 * BranchList.C: fix setSelected() method.
369 2003-11-28 André Pönitz <poenitz@gmx.net>
371 * ParagraphParameters.[Ch]:
372 * ParameterStruct.h: remove space above/below from Paragraph to
375 * BufferView_pimpl.C:
387 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
389 * factory.C: Syntax change for CharStyles
391 2003-11-28 André Pönitz <poenitz@gmx.net>
396 * buffer.[Ch]: move LyXText member
398 2003-11-28 André Pönitz <poenitz@gmx.net>
400 * BufferView.[Ch]: make LyXText * text a private member
402 * BufferView_pimpl.C:
413 * output_plaintext.C: cleanup
415 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
418 * lyxtextclass.[Ch]: parametrize SGML document header
420 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
423 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
426 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
428 * text2.C (setFont): rework using PosIterator (no more recursive)
429 (setCharFont): no more needed
430 (setLayout): no more selection cursors fiddling (done by redoCursor)
431 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
432 destroy remaining ones)
434 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
436 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
438 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
441 * text3.C: adjust + re-allow multi par depth changes
442 * textcursor.C: simplify a bit
444 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
450 * src/output_docbook.C:
451 * src/output_latex.C:
456 * src/text2.C: Introducing a number of tags parametrizing various
457 XML formats that we may want to support
459 2003-11-25 André Pönitz <poenitz@gmx.net>
461 * InsetList.[Ch] (begein, end): inline as suggested by profiler
463 * lyxtext.h (leftMargin/rightMargin): simplify interface
470 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
472 * lyxfunc.C (dispatch): propogate the bibtex databases from the
473 master file to any child files. Fixes bug 546.
475 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
477 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
479 2003-11-24 André Pönitz <poenitz@gmx.net>
481 * rowpainter.C: simplification
483 * text2.C (updateCounters): remove call to redoParagraph on
484 changed labels as this is far too expensive.
486 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
488 * converter.C (convert): fix a crash: this function gets
489 called with buffer == 0 from importer code.
491 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
493 * text3.C (cursorPrevious): make sure that we do not compare
494 iterators form different containers.
497 * rowpainter.C (paintSelection): make sure that we do not compare
498 iterators from different containers.
500 * text3.C (dispatch): [PRIOR] make sure that we do not compare
501 iterators from different ParagraphList containers.
504 * text2.C (LyXText): change order of initialization slightly
505 (operator=): new function. copy all variables except cache_par_
506 (moveUp): make sure that we do not compare iterators from
507 different ParagraphList constainers.
510 * text.C (firstPar): new function
511 (lastPar): new function
512 (endPar): new function
514 * lyxtext.h: move things around and group public functions, public
515 variables, private functions, private variables
517 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
519 * factory.C: change call to InsetERT constructor to avoid
520 additional invocation of method status
521 * text2.C (toggleInset): remove redundant update() call
522 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
523 instead of a Bufferview pointer
525 2003-11-21 André Pönitz <poenitz@gmx.net>
527 * rowpainter.C: simplification
529 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
531 * text3.C (dispatch): make possible to extend a word/row selection
534 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
536 * lyxtext.h: x0_,y0_ -> xo_,yo_
537 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
538 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
539 * rowpainter.C (paintRows): paint full paragraphs
541 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
543 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
546 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
548 * lyxtext.h: add x0_, y0_
549 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
550 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
552 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
554 * text2.C (setCursorIntern): move the x_target update here *
555 * text3.C: change some bv() to true/false in calls to
556 cursorUp/Down/Right/Left
557 * cursor.C: use helper function.
559 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
561 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
562 * paragraph_funcs.[Ch]: correct comment
563 * rowpainter.C: do not paint selections away from bv->cursor()
564 Fix a long standing selection painting bug.
565 * text3.C: generalize mouse-selection code to LyXTexts other that
567 * textcursor.C: do not use y coords if we can use par offsets
569 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
571 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
572 cursor position after e.g. inset insert)
574 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
576 * lyxfind.C (replace): adjust to locking removal + some
579 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
581 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
584 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
587 * output_docbook.C: XML sanitation: new layout
588 parameters InnerTag and CommandDepth
590 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
592 * BufferView_pimpl.C:
594 * text3.C: Fix the insertion and modification of button-style
597 2003-11-13 André Pönitz <poenitz@gmx.net>
599 * InsetList.[Ch]: remove deleteLyXText
601 * paragraph.[Ch]: cache beginOfBody position
606 * text3.C: remove superfluous update() calls
610 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
612 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
613 * BufferView.C (fitLockedInsetCursor): remove
614 * cursor.[Ch] (getDim): add
615 * text.C (getRowNearY): add faster version
616 * text3.C: remove some update calls
618 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
630 * text3.C: The Character Style /XML short element patch.
632 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
635 * factory.C: Small step to solving 'unable to insert some insets'
638 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
640 * cursor.[Ch] (updatePos): new function for updating the y
641 position of the tip inset
642 * bufferview_funcs.C (put_selection_at):
643 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
645 2003-11-11 André Pönitz <poenitz@gmx.net>
647 * text.C: remove big comment on invalid Paragraph pointers as it is
650 2003-11-11 André Pönitz <poenitz@gmx.net>
652 * text_funcs.[Ch]: merge with ...
660 * Makefile.am: remove text_funcs.[Ch]
662 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
664 * cursor.C (getPos): return absolute cached y coord
666 * BufferView_pimpl.C (fitCursor): new simplistic code
667 (workAreaDispatch): add a fitCursor call
669 2003-11-10 André Pönitz <poenitz@gmx.net>
672 * BufferView_pimpl.[Ch]: merge update() and updateInset()
674 2003-11-10 André Pönitz <poenitz@gmx.net>
676 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
677 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
678 indicate that the cursor needs to leave an inset
680 * lyxtext.h: remove inset locking
682 * cursor.[Ch]: re-implement functionality provided by inset locking
685 * BufferView_pimpl.[Ch]:
687 * bufferview_funcs.[Ch]:
699 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
701 * PosIterator.[Ch]: replace the stack with a vector, add inset
703 * iterators.[C]: adjust
705 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
707 * lyxfind.C (replaceAll): mark the buffer dirty if something was
709 * paragraph_funcs.C (readParToken): put the correct id in the
710 error item, not the id of the top paragraph
712 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
714 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
715 * bufferview_funcs.C (put_selection_at): use the above
717 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
719 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
721 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
724 * output_plaintext.h:
726 * output_docbook.h: add #include statements
728 2003-11-05 José Matos <jamatos@lyx.org>
730 * output_docbook.[Ch]:
732 * output_linuxdoc.[Ch]:
733 * output_plaintext.[Ch]: New files for output formats.
734 * output.[Ch]: New file for helper functions.
737 * paragraph_funcs.[Ch]: output functions moved to new files.
739 * outputparams.h: rename of latexrunparams.h
747 * paragraph_funcs.[Ch]:
748 * paragraph_pimpl.[Ch]:
749 * tabular.[Ch]: rename ascii to plaintext
750 and LatexRunParams to OutputParams.
752 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
754 * iterators.[Ch] (text): require bv argument
755 * undo.C (recordUndo):
756 * lyxfunc.C (dispatch):
757 * bufferview_funcs.C (put_selection_at): adjust
759 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
761 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
763 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
765 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
768 2003-11-04 André Pönitz <poenitz@gmx.net>
770 * cursor.[Ch]: restructure
773 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
775 * iterators.[Ch] (asCursor): remove
777 * lfuns.h: remove LFUN_INSET_EDIT
783 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
785 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
787 * lyxfind.[Ch]: complete overhaul
788 * BufferView_pimpl.C:
790 * paragraph.[Ch] (insert): add
792 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
796 * text.C: remove dead spellcheck code
798 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
800 * dispatchresult.h: add a val setter
802 * cursor.C (dispatch): use a tempvar for data_[i]
804 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
806 * PosIterator.[Ch]: compile fix
808 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
810 * text.C (cursorPar): deactivate the cursor cache
812 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
814 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
816 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
818 * text3.C (dispatch): adjust for new DisptchResult semantics.
820 * lyxfunc.C (dispatch): handle update when return from
821 Cursor::dispatch, adjust for new DispatchResult semantics.
823 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
824 DispatchResult(true) mean to not update. Add class functions for
825 setting dispatched and update, as well as reading.
827 * cursor.C (dispatch): don't handle update here
829 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
831 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
832 * trans_mgr.C: adjust
834 * paragraph_funcs.C (readParToken): exception safety
836 * lyxvc.h: store the vcs pointer in a scoped_ptr
839 * lyxsocket.C (serverCallback): exception safety
841 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
843 * ispell.C (clone): make it return a auto_ptr
845 * factory.C (createInset): exception safety
846 (readInset): exception safety
848 * bufferlist.C (newBuffer): exception safety
850 * Thesaurus.C (Thesaurus): use initialization for aik_
852 * MenuBackend.C (expandToc): exception safety.
854 2003-11-03 André Pönitz <poenitz@gmx.net>
858 * bufferview_funcs.C: remove getInsetFromId()
861 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
867 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
869 * PosIterator.C (distance, advance): new
870 * bufferview_funcs.[Ch] (put_selection_at): new
871 * iterators.[Ch] (lockPath): new
873 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
875 * iterators.[Ch] (asPosIterator): added
876 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
877 * PosIterator.[Ch]: added
879 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
883 * cursor.C (dispatch):
884 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
886 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
887 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
888 contructor, add a class function dispatched. Remove operator>=
890 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
892 * debug.C: only use the default constructor for debugstream
895 * main.C (main): include debug.h and setup the lyxerr streambuf
898 2003-10-31 José Matos <jamatos@lyx.org>
900 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
902 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
903 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
904 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
905 * paragraph_pimpl.C (simpleTeXSpecialC):
906 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
907 add LatexRunParams argument.
909 * exporter.C (Export): change call accordingly.
911 * latexrunparams.h: add new member to take care of the other backends.
912 2003-10-30 José Matos <jamatos@lyx.org>
914 * buffer.C (makeLinuxDocFile, makeDocBookFile):
915 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
916 factorise code for paragraph output.
918 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
921 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
923 * text3.C (dispatch):
924 * lyxfunc.C (dispatch):
925 * cursor.C (dispatch):
926 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
928 * dispatchresult.h: make the dispatch_result_t ctor explicit
930 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
933 * buffer.C: small refactoring of docbook stuff
935 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
937 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
940 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
942 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
943 operator dispatch_result_t, and operators for == != and >=
945 * cursor.C (dispatch): adjust for operator dispatch_result_t
946 removal. comment out call to update
948 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
950 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
958 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
961 * dispatchresult.h: new file, DispatchResult broken out of
964 * Makefile.am (lyx_SOURCES): add dispatchresult.h
966 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
968 * text.C (rowBreakPoint): put a hack inside #if 0
970 2003-10-28 André Pönitz <poenitz@gmx.net>
977 * text2.C: general cleanup (lots of small stuff)
979 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
981 * text2.C (cursorEnd): simple fix to the "end key goes to one
982 before the end on last row" bug
984 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
986 * text.C (backspace): fix the "zombie characters"
988 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
990 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
992 2003-10-27 André Pönitz <poenitz@gmx.net>
994 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
996 * factory.C: handle new InsetPagebreak, InsetLine
998 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
999 and move handling into new InsetPagebreak, InsetLine
1001 * BufferView_pimpl.C:
1003 * ParagraphParameters.C:
1004 * ParameterStruct.h:
1009 * paragraph_funcs.C:
1010 * paragraph_pimpl.C:
1016 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1019 * lyxrow_funcs.[Ch]:
1025 * text3.C: remove lastPos uses in favour of Row::endpos
1027 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1029 * undo.C (performUndoOrRedo): fix two crashes by setting a
1030 cursor by hand and reordering some calls. Use bv->lockInset instead
1031 of inset->edit because the latter loses cursor information
1033 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
1035 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1037 (rowBreakPoint): fix width. change point to point + 1.
1038 Add a missing check.
1040 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
1043 * lyxfunc.C: fix (at least partly) the problems
1044 with the Nav menu and headers inside branch insets
1047 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
1049 * paragraph.C (getChar): add strong asserts
1051 * lyxrow_funcs.C (lastPos): remove hideous hack
1053 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1054 (fill): adjust to that (avoid an infinite loop)
1056 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1058 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1060 2003-10-23 André Pönitz <poenitz@gmx.net>
1062 * RowList_fwd.h: change list<> to vector<> to gain speed
1063 after suggestion from Alfredo
1065 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1067 * lyxtext.h: move the bidi stuff from here...
1070 * Bidi.[Ch]: ... to here
1072 2003-10-23 André Pönitz <poenitz@gmx.net>
1075 * text.C (isLastRow, isFirstRow): new functions
1077 * paragraph.h: new width cache member
1079 * rowpainter.C: replace RowList::iterator with Row & where possible
1081 * lyxfunc.C: replace several view()->text with a single call
1083 * toc.C: fix 'unused' warning
1085 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1087 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1088 when woring with stream::pos_type
1089 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1091 2003-10-22 André Pönitz <poenitz@gmx.net>
1094 * text.C: use Row & instead of RowList::iterator
1096 * lyxrow.h: rename end() to endpos()
1102 2003-10-22 Angus Leeming <leeming@lyx.org>
1104 * buffer.[Ch] (fully_loaded): new member function, returning true
1105 only when the file has been loaded fully.
1106 Used to prevent the premature generation of previews and by the
1107 citation inset to prevent computation of the natbib-style label.
1109 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1110 templates are all set up.
1112 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1114 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
1116 * text.C: fixed an "oops" in the "is a bit silly"
1119 2003-10-21 André Pönitz <poenitz@gmx.net>
1121 * FuncStatus.[Ch]: small stuff, whitespace
1123 * lyxfont.[Ch]: operator<<() for debug reasons
1127 * lyxtext.h: whitespace, spelling
1129 * paragraph.C: naming of variables
1132 * text2.C: small stuff
1135 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1137 * text.C: (1) finish off the inset display() work;
1138 (2) fix the "is a bit silly" bug (accessing char
1141 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1143 * text.C: re-introduce display() for insets, fixing the
1144 various bugs (stretch of line above, math inset
1147 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1149 * text.C (rightMargin): remove spurious semicolon
1151 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1154 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1156 * text3.C: fix one crash due to wrong cursor def
1158 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1160 * vc-backend.C (scanMaster): make the regex static
1162 * LaTeX.C (scanAuxFile): make the regexs static
1164 * text3.C (doInsertInset, dispatch, dispatch):
1165 * text2.C (cursorUp, cursorDown):
1166 * text.C (selectNextWordToSpellcheck):
1167 * BufferView_pimpl.C (dispatch):
1168 * lyxfunc.C (dispatch): localDispatch -> dispatch
1170 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1172 * lyxsocket.C: include <cerrno>
1174 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1176 * lyxfunc.C (dispatch): remove textcache stuff
1178 * bufferlist.C (release): remove textcache stuff
1181 * TextCache.C: delete file
1182 * TextCache.h: delete file
1184 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1186 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1187 delete of the bv_->text.
1188 (resizeCurrentBuffer): remove texcache stuff
1189 (workAreaResize): ditto
1191 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1193 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1196 2003-10-16 André Pönitz <poenitz@gmx.net>
1203 * text3.C: speed up by storing y positions per paragraph plus per-row
1204 offset instead of having a 'full' y position in the row.
1206 2003-10-15 André Pönitz <poenitz@gmx.net>
1210 * undo.[Ch]: make undo aware of inner insets
1212 2003-10-14 Angus Leeming <leeming@lyx.org>
1214 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1215 static member functions LyX::ref() and LyX::cref.
1216 (lastfiles): new accessor functions for the new lastfiles_ member var.
1217 (addLyXView, views_): add a new LyXView to the list of views_.
1218 (updateInset): loop over all LyXViews to call their own updateInset
1219 member function, returning a pointer to the Buffer owning the inset.
1221 * BufferView_pimpl.C (loadLyXFile):
1222 * MenuBackend.C (expandLastfiles):
1223 * bufferlist.C (MenuWrite, QuitLyX):
1224 lastfiles is no longer a global variable.
1225 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1227 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1228 static function. Access through LyX::cref().emergencyCleanup().
1230 2003-10-14 André Pönitz <poenitz@gmx.net>
1232 * iterators.[Ch]: new direct access to innermost LyXText and Inset
1234 * undo.[Ch]: restoring part of 'undo in insets'
1237 * undo_funcs.[Ch]: merge with undo.[Ch]
1239 * tabular.C: small cleansing stuff
1241 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
1243 * paragraph_funcs.C (readParToken): report unknown insets as error
1244 boxes. Use the outer paragraph as location (also for unknown
1247 * factory.C (readInset): do not abort on reading an unknown inset.
1248 Eat it and return 0.
1250 2003-10-13 Angus Leeming <leeming@lyx.org>
1252 * lyx_main.C (LyX): remove call to setDisplayTranslator().
1254 * lyxrc.C: displayTranslator is now a function,
1255 declared in GraphicsTypes.h.
1257 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1259 * format.C: new placeholder $$a to pass the socket address.
1261 * bufferlist.[Ch]: new function getBufferFromTmp.
1263 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1264 files in the temporary dir.
1266 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1268 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1270 * Makefile.am: add lyxsocket.[Ch].
1272 * lyx_main.C (error_handler): handle SIGPIPE.
1274 2003-10-13 André Pönitz <poenitz@gmx.net>
1276 * BufferView_pimpl.C:
1281 * undo_funcs.[Ch]: use paroffset_type instead of
1282 ParagraphList::iterators to prevent multiple conversion
1283 (and get a more robust interface)
1285 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1287 * lyxfunc.C (dispatch): RESULT -> dispatch_result
1289 * text3.C (dispatch): ditto
1291 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1293 * LaTeX.C (handleFoundFile): move the static to smaller scope,
1294 move the onlyfile, use onlyfile instead of foundfile in a couple
1297 * DepTable.C (update): flush the error stream a bit more
1299 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1301 * lyxserver.C (callback): adjust
1303 * lyxfunc.C (getStatus): add a missing brace in commented code
1304 (ensureBufferClean): reindent
1305 (dispatch): delete version taking a string
1307 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1309 * LaTeX.C (deplog): move found file handlig from here...
1310 (handleFoundFile): .. to new function here.
1311 (deplog): make sure to discover several files mentioned on the
1314 2003-10-10 André Pönitz <poenitz@gmx.net>
1321 * text3.C: fix some of the tabular crashes
1323 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1325 * MenuBackend.C (binding): put debug message into Debug::KBMAP
1327 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1329 2003-10-09 André Pönitz <poenitz@gmx.net>
1331 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1334 * BufferView_pimpl.C:
1335 * bufferview_funcs.C:
1346 * undo_funcs.C: adjust
1348 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1350 * text2.C (incrementItemDepth): new function, use a backtracking
1351 algorithm to discover the correct item depth.
1352 (resetEnumCounterIfNeeded): new function, use a backtracking
1353 algorithm to discover if counter reset is needed.
1354 (setCounter): use them. Simplify a bit. Add different labels for
1355 different item depths for itemize.
1357 * paragraph.C (Paragraph): remove initialization of enumdepth
1360 * paragraph.h: get rid of enumdepth, and use itemdepth both for
1361 enumerate and itemize. Change the type of itemdepth to signed char.
1363 2003-10-08 André Pönitz <poenitz@gmx.net>
1365 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1370 * tabular.[Ch]: fix crash after 'row-insert'
1372 2003-10-08 Angus Leeming <leeming@lyx.org>
1374 Fix doxygen warnings.
1376 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1377 Remove CutAndPaste:: prefix from header file declaration.
1379 * LColor.h (fill): remove LColor:: prefix from declaration.
1381 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1382 use lyx::depth_type rather than Paragraph::depth_type so that
1383 header file and .C file match.
1385 * converter.h (intToFormat): remove Converters:: prefix from declaration.
1387 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1388 * aspell.C: \file aspell_local.C -> \file aspell.C
1389 * gettext.C: \file gettext.C -> \file src/gettext.C
1390 * gettext.h: \file gettext.h -> \file src/gettext.h
1391 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1392 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1393 * text.C: \file text.C -> \file src/text.C
1395 * toc.C: move comment so that doxygen is not confused.
1397 2003-10-07 Angus Leeming <leeming@lyx.org>
1399 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1401 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1404 * aspell_local.h: add forgotten std::string's.
1406 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1413 * text3.C: The Box patch. Fancybox support, minipage, parbox
1415 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1421 * ParagraphParameters.h:
1431 * lyxtextclasslist.h:
1434 * paragraph_pimpl.C:
1435 * textcursor.h: add <string> and other small fixes to make Lars'
1436 std::string patch compile with STLport.
1438 2003-10-06 Angus Leeming <leeming@lyx.org>
1440 * LColor.h: Add missing #include <string>.
1442 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1444 * All most all file in all subdirs: Make <string> be the prefered
1445 way of getting to std::string, add using declarations.
1447 2003-10-06 André Pönitz <poenitz@gmx.net>
1449 * metricsinfo.C: initialize LyXFont before changing attribute.
1450 (fixes the 'math in \emph is upright' bug)
1452 2003-10-06 André Pönitz <poenitz@gmx.net>
1454 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1456 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
1459 * paragraph_pimpl.C: Small fixes to build using STLport
1461 2003-10-02 André Pönitz <poenitz@gmx.net>
1464 * text3.C: move handling of LFUN_DEPTH *; fix #1360
1466 2003-10-01 André Pönitz <poenitz@gmx.net>
1468 * factory.C: assert early
1470 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1472 * lyx_main.C: remove the global debug object
1474 * debug.h: adjust for new debugstream
1476 * debug.C: adjust for new debugstream and keep the global debug
1479 2003-09-22 Angus Leeming <leeming@lyx.org>
1481 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1482 of g++ which otherwise complain that the scoped_ptr destructor can't delete
1483 an incomplete class LyXFont.
1485 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1487 * factory.C: bug fix in branches
1489 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1491 * lyxfunc.C (processKeySym): adjust
1493 (dispatch): change arg name from ev to func, adjust
1494 (sendDispatchMessage): ditto
1496 * lyx_main.C (defaultKeyBindings): adjust keybindings
1497 (deadKeyBindings): ditto
1499 * kbsequence.C (addkey): return a FuncRequest
1501 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1503 * kbmap.C (bind): take a FuncRequest as arg, adjust
1506 (defkey): change to take a FuncRequest as arg, adjust
1507 (findbinding): take a FuncRequest as arg, adjust.
1509 * funcrequest.h (operator=): added
1511 * funcrequest.C (FuncRequest): default kb_action changed from
1512 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1514 * buffer.C (dispatch): simplify
1515 (dispatch): adjust to take a FuncRequest as arg, adjust
1517 * boost.C (assertion_failed): change assertion message slightly
1519 * ToolbarBackend.C (read): simplify
1521 * MenuBackend.C (binding): adjust call to findbinding, add a
1522 message if no binding is found.
1524 (expandToc): correct by adding a empty FuncRequest
1526 * LyXAction.C: include <boost/assert.hpp>
1527 (isPseudoAction): delete function
1528 (LookupFunc): change name to...
1529 (lookupFunc): this. change return type to FuncRequest.
1530 (getActionName): take kb_action as arg, simplify
1531 (funcHasFlag): add an assert, simplify.
1533 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1535 * toc.C (action): return a FuncRequest, simplify
1537 * lyxfunc.C (processKeySym): adjust
1538 (getStatus): delete version that takes an int.
1540 (dispatch): delete version that takes action as int
1542 (sendDispatchMessage): simplify and adjust
1544 * funcrequest.C (getArg): take unsigned int as arg
1546 * ToolbarBackend.C (read): adjust
1547 (add): delete version that takes func as a string.
1548 (getIton): take a FuncRequest as arg
1550 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1553 * MenuBackend.C (MenuItem): add a new construct that only takes a
1554 Kind, simplify the constructor use for submenus.
1556 (expandLastfiles): adjust
1557 (expandDocuments): adjust
1558 (expandFormats): adjust
1559 (expandFloatListInsert): adjust
1560 (expandFloatInsert): adjust
1561 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1563 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1564 Remove class variables lyx_pseudo_map and lyx_arg_map
1566 * LyXAction.C (searchActionArg): delete function
1567 (getPseudoAction): delete function
1568 (retrieveActionArg): delete function
1569 (LookupFunc): make it return kb_action, simplify.
1570 (getActionName): simplify
1572 * factory.C (createInset): fix new bug
1574 2003-09-19 Angus Leeming <leeming@lyx.org>
1576 * CutAndPaste.C (pasteSelection): remove fudge used to set the
1577 masterFilename_ parameter in the include inset.
1579 * factory.C (createInset): changes due to the changes to InsetInclude.
1581 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1583 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1585 2003-09-18 Angus Leeming <leeming@lyx.org>
1588 * BufferView.C: pass the buffer when calling Inset::getLabelList,
1589 Inset::fillWithBibKeys.
1590 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1592 2003-09-18 Angus Leeming <leeming@lyx.org>
1594 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1596 (ctor): pass and store a 'Buffer const &'
1597 (buffer): new member function.
1599 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1600 '*this' to the LaTeXFeatures ctor.
1602 2003-09-18 Angus Leeming <leeming@lyx.org>
1608 * text.C: rename EnumLColor as LColor_color.
1610 2003-09-18 Angus Leeming <leeming@lyx.org>
1612 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1613 remove #include "insets/insetbase.h" from cursor.h.
1615 2003-09-18 Angus Leeming <leeming@lyx.org>
1617 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1618 InsetOld_code to remove #include "inset.h".
1620 * iterators.C: add #include "insets/inset.h"
1622 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
1624 * BufferView.C: remove more locking stuff that apparently doesn't
1625 do anything sensible.
1627 2003-09-16 André Pönitz <poenitz@gmx.net>
1630 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1633 2003-09-16 Angus Leeming <leeming@lyx.org>
1635 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1637 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1640 * paragraph.h: remove #include "lyxfont.h". Forward declare
1643 2003-09-16 Angus Leeming <leeming@lyx.org>
1645 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1646 of support/textutils.h.
1647 (isWord): move the contents of support/textutils.h's IsWordChar here.
1653 * text2.C: add #include "paragraph.h".
1656 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1658 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1664 * LaTeX.C: use namespace alias for lyx::support::os
1666 2003-09-16 Angus Leeming <leeming@lyx.org>
1669 * bufferview_funcs.C:
1672 * paragraph_pimpl.C:
1674 * text.C: add #include "LColor.h".
1676 2003-09-16 Angus Leeming <leeming@lyx.org>
1678 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1679 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1681 Store the FontBits::color variable as an int rather than as an
1682 LColor::colorso that we can move LColor.h out of the lyxfont.h header
1685 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1686 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1687 string calls together.
1689 * lyxrc.C: add #include "LColor.h".
1691 2003-09-15 Angus Leeming <leeming@lyx.org>
1693 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1696 2003-09-15 Angus Leeming <leeming@lyx.org>
1698 * LColor.h: add an EnumLColor wrapper for LColor::color.
1700 * lyxfont.[Ch] (color, setColor, realColor):
1701 * lyxtext.h, text.C (backgroundColor):
1702 pass EnumLColor args to/from the functions, rather than LColor::color
1706 * lyxtext.h: forward declare EnumLColor.
1708 * lyx_main.C: add #include "LColor.h".
1710 2003-09-15 Angus Leeming <leeming@lyx.org>
1712 * .cvsignore: add lyx-gtk.
1714 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1719 * ParagraphParameters.C
1723 * bufferview_funcs.C
1733 * vc-backend.C: remove usage of STRCONV
1735 2003-09-15 Angus Leeming <leeming@lyx.org>
1737 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1738 explicitly define the color passed to the painter.
1740 2003-09-15 Angus Leeming <leeming@lyx.org>
1742 * bufferparams.C (BufferParams): reorder member initializers to avoid
1745 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
1747 * CutAndPaste.C (pasteSelection): remove an outdated #warning
1748 * text.C (updateRowPositions): remove an unusual nop
1750 2003-09-12 André Pönitz <poenitz@gmx.net>
1752 * BufferView_pimpl.C:
1761 * Counters.[Ch]: finish the 'automatic counters' job
1763 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1765 * aspell.C: include <boost/assert.cpp> (compile fix)
1767 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
1769 * boost.C (assertion_failed): use lyx::support::abort instead of
1772 2003-09-10 Angus Leeming <leeming@lyx.org>
1774 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1775 with their _fwd progeny.
1777 2003-09-09 Angus Leeming <leeming@lyx.org>
1779 134 files throughtout the source tree: replace 'using namespace abc;'
1780 directives with the appropriate 'using abc::xyz;' declarations.
1782 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1784 * boost.C (emergencyCleanup): moved here from LAssert.c
1785 (assertion_failed): new function, called by BOOST_ASSERT
1787 * several files: change Assert to BOOST_ASSERT
1789 2003-09-09 Angus Leeming <leeming@lyx.org>
1791 * buffer.[Ch]: Add an Impl class and move Buffer's member
1792 variables into it. As a result move several header files out of
1795 Add header files to lots of .C files all over the tree as a result.
1797 2003-09-09 Angus Leeming <leeming@lyx.org>
1799 * buffer.[Ch]: make Buffer's member variables private. Add
1802 Lots of changes all over the tree as a result.
1804 2003-09-08 Angus Leeming <leeming@lyx.org>
1806 * graph.C: #include <config.h>.
1808 2003-09-08 Angus Leeming <leeming@lyx.org>
1812 * BufferView_pimpl.C:
1841 * toc.C: remove redundant using directives.
1843 2003-09-07 Angus Leeming <leeming@lyx.org>
1845 * LaTeXFeatures.h: remove #include "support/types.h".
1846 * ToolbarBackend.h: remove #include <algorithm>.
1847 * changes.h: remove #include <ctime>.
1848 * debug.h: remove #include <iosfwd>.
1849 * graph.h: remove #include "support/std_string.h".
1850 * lyx_main.h: remove #include <csignal>.
1851 * lyxlex_pimpl.h: remove #include <fstream>.
1852 * sgml.h: remove #include <algorithm>, <utility>.
1853 * toc.h: remove #include "support/std_ostream.h".
1854 Add #include <iosfwd>.
1856 2003-09-07 Angus Leeming <leeming@lyx.org>
1858 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1860 * converter.h: forward declare LatexRunParams.
1861 * encoding.h: remove #include "lyxrc.h".
1862 * lyxtext.h: remove #include "LColor.h".
1863 * lyxtextclass.h: remove #include "support/types.h".
1864 * trans.h: remove #include "tex-accent.h".
1865 * trans_mgr.h: remove #include "tex-accent.h".
1866 * insets/inset.h: remove #include "support/types.h", <vector>.
1867 * insets/insetcollapsable.h: remove #include "LColor.h".
1868 * insets/insetinclude.h: remove #include "dimension.h".
1869 * insets/insetlatexaccent.h: remove #include "dimension.h".
1870 * insets/insetoptarg.h:: remove #include "insettext.h".
1871 * insets/insettext.h: remove #include "dimension.h",
1872 <boost/shared_ptr.hpp>
1874 * insets/renderers.h: add #include "dimension.h".
1875 * insets/updatableinset.h: add #include "support/types.h".
1877 * many .C files: Associated changes.
1879 2003-09-06 Angus Leeming <leeming@lyx.org>
1881 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1882 one, inside testInvariant.
1884 * PrinterParams.C: new file.
1885 * PrinterParams.[Ch]: move the function bodies out of line.
1887 2003-09-06 Angus Leeming <leeming@lyx.org>
1889 * ParagraphParameters.h: forward declare ParameterStruct rather than
1890 including its header file.
1891 (depth): moved out-of-line.
1893 2003-09-06 Angus Leeming <leeming@lyx.org>
1895 * BufferView_pimpl.h:
1898 * lyxfunc.h: forward declare LyXKeySym rather than
1899 #include "frontends/LyXKeySym.h".
1901 * BufferView_pimpl.C:
1904 * lyxfunc.C: associated changes.
1906 2003-09-06 Angus Leeming <leeming@lyx.org>
1908 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1909 As a result, can remove the #include "insets/inset.h" from BufferView.h
1911 2003-09-06 Angus Leeming <leeming@lyx.org>
1913 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1914 As a result, can remove the #include "insets/inset.h" from BufferView.h
1916 2003-09-06 Angus Leeming <leeming@lyx.org>
1922 * bufferview_funcs.C:
1923 * BufferView_pimpl.C:
1928 * ParagraphParameters.C:
1933 * frontends/controllers/ControlDocument.C:
1934 * insets/insetcaption.C: rearrange the #includes into some sort of
1937 * buffer.h: remove #includes ErrorList.h, undo.h
1939 2003-09-06 Angus Leeming <leeming@lyx.org>
1941 * support/types.h: add a 'depth_type' typedef, used to store the
1942 nesting depth of a paragraph.
1945 * ParameterStruct.h: use this lyx::depth_type typedef rather than
1946 defining explicitly.
1949 * paragraph_funcs.h:
1950 * ParagraphParameters.h:
1951 * sgml.h: use lyx::depth_type rather than Paragraph or
1952 ParameterStruct's depth_type.
1955 * paragraph_funcs.h: no need to #include paragraph.h anymore.
1958 * BufferView_pimpl.C:
1960 * ParagraphParameters.C:
1963 * bufferview_funcs.C:
1970 * frontends/LyXView.C:
1971 * frontends/controllers/ControlDocument.C:
1972 * frontends/controllers/ControlErrorList.C:
1973 * insets/insetbibitem.C:
1974 * insets/insetbranch.C:
1975 * insets/insetcaption.C:
1976 * insets/insetcollapsable.C:
1977 * insets/insetenv.C:
1978 * insets/insetert.C:
1979 * insets/insetfloat.C:
1980 * insets/insetfoot.C:
1981 * insets/insetfootlike.C:
1982 * insets/insetnewline.C:
1983 * insets/insetquotes.C:
1984 * insets/insettabular.C:
1985 * insets/insettext.C:
1986 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1988 * frontends/controllers/ControlChanges.C: #include "changes.h".
1990 2003-09-06 Angus Leeming <leeming@lyx.org>
1992 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1993 than #including paragraph.h.
1996 * RowList.h: deleted. Superfluous.
2006 * insets/insettext.h: use ParagraphList_fwd.h rather than
2009 * paragraph.h: don't forward declare ParagraphList.
2012 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2013 rather than ParagraphList.h. paragraph.h is still needed for the
2014 Paragraph::depth_type parameters.
2016 * textcursor.h: enable it to compile stand-alone in light of the
2019 * bufferview_funcs.C:
2031 * frontends/controllers/ControlParagraph.C:
2032 * frontends/controllers/ControlTabular.C:
2033 * insets/insetmarginal.C:
2034 * insets/insetminipage.C:
2035 * insets/insetnote.C:
2036 * insets/insetoptarg.C: add header files needed to compile again.
2038 2003-09-06 Angus Leeming <leeming@lyx.org>
2040 * RowList_fwd.h: new file, forward-declaring Row rather than
2041 #including lyxrow.h.
2046 * insets/insettext.h: use it instead of RowList.h
2048 * bufferview_funcs.C:
2055 * text3.C: #include "RowList.h".
2057 2003-09-05 Angus Leeming <leeming@lyx.org>
2059 * factory.C (createInset):
2060 * vspace.C (c-tor): replace sscanf call with an istringstream.
2061 * ispell.C: re-add missing HP/UX headers.
2062 * lyxserver.C: re-add missing os2 headers.
2064 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
2073 * text3.C: re-add missing system headers, needed for 2.95.2.
2075 2003-09-05 Angus Leeming <leeming@lyx.org>
2077 Changes most place everywhere due to the removal of using directives
2078 from support/std_sstream.h.
2080 2003-09-05 Angus Leeming <leeming@lyx.org>
2082 Replace LString.h with support/std_string.h,
2083 Lsstream.h with support/std_sstream.h,
2084 support/LIstream.h with support/std_istream.h,
2085 support/LOstream.h with support/std_ostream.h.
2087 Changes resulting throughout the tree.
2089 2003-09-05 Angus Leeming <leeming@lyx.org>
2091 * sgml.h: ensure that the header file can be compiled stand-alone.
2092 * *.C: strip out redundant #includes. (320 in total.)
2094 2003-09-04 Angus Leeming <leeming@lyx.org>
2096 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2097 here (from getPackages).
2099 * debug.[Ch]: add a new EXTERNAL tag.
2101 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2103 * text2.C (cursorEnd): simplify
2105 (getColumnNearX): adjust
2107 * text.C (computeBidiTables): adjust
2110 * rowpainter.C (paintChars): adjust
2111 (paintSelection): adjust
2112 (paintChangeBar): adjust
2115 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2117 (numberOfSeparators): adjust
2119 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2125 * text3.C: Restricts the mouse click functionality
2126 of insets like bibtex, include, toc and floatlist to the visible
2127 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2128 up the dialogs. Cursor has to be in front of the inset (i.e.
2129 start of row) for this to function.
2131 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2133 * bufferview_funcs.C (currentState): output row information
2135 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2137 * bufferview_funcs.C (currentState): output paragraph position
2139 2003-09-04 Angus Leeming <leeming@lyx.org>
2141 * FloatList.h: move out #include "Floating.h".
2142 * LaTeX.h: move out #include "DepTable.h".
2143 * LyXAction.h: move out #include "funcrequest.h".
2144 * buffer.h: move out #include "author.h", "iterators.h".
2145 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2146 * lyx_main.h: move out #include "errorlist.h".
2147 * lyxfunc.h: move out #include "FuncStatus.h".
2148 * lyxtext: move out #include "lyxcursor.h".
2149 * paragraph_pimpl.h: move out #include "counters.h".
2151 2003-09-03 Angus Leeming <leeming@lyx.org>
2153 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2154 preamble_snippets list, enabling us to add snippets to the preamble
2155 only if the snippet was not there already.
2157 2003-09-04 Angus Leeming <leeming@lyx.org>
2159 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2161 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2163 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2166 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2168 * BranchList.C: point fix, earlier forgotten
2170 2003-09-02 Angus Leeming <leeming@lyx.org>
2172 * box.C (contains): renamed from 'contained' after a fantastic
2175 2003-09-02 John Levon <levon@movementarian.org>
2181 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2183 2003-09-02 John Levon <levon@movementarian.org>
2185 * text2.C: simplification of cursorEnd(), including partial
2188 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2190 * buffer.C (readFile): add a space
2192 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
2194 * BufferView_pimpl.C (update): remove bogus fitCursor() call
2196 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2198 * buffer.C (readFile): new function, take a filename and a
2199 ParagraphList::iterator
2201 (readFile): adjust, make it private. don't use setStream, make
2202 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2203 always contain the filename.
2205 * BufferView.C (insertLyXFile): simplify and make it work for
2208 2003-08-30 John Levon <levon@movementarian.org>
2210 * Makefile.am: fix dist (from Kayvan)
2212 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2214 * most files: change to use const Buffer refs
2216 2003-08-27 André Pönitz <poenitz@gmx.net>
2218 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2219 on top of ownerPar().
2221 2003-08-27 John Levon <levon@movementarian.org>
2223 * funcrequest.C: properly initialise POD members
2225 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2227 * lyxtext.h (top_y): move top_y from here
2232 * BufferView_pimpl.[Ch]: to here
2233 * frontends/screen.C:
2234 * insets/insettabular.C:
2235 * insets/insettext.C: adjust
2236 * rowpainter.[Ch] (paintRows): remove LyXText & argument
2238 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2241 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2243 2003-08-26 André Pönitz <poenitz@gmx.net>
2245 * paragraph_func.[Ch] (outerPar): new function
2248 * paragraph_funcs.C:
2249 * paragraph_funcs.h:
2250 * paragraph_pimpl.C:
2251 * text2.C: remove Inset::par_owner
2253 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2258 * text2.C: eliminates the needFullRow/display() stuff
2259 altogether, putting the logic in metrics/draw in the insets.
2261 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
2263 * text2.C (redoParagraphInternal, redoParagraphs):
2264 * text.C (redoParagraph): add a call to updateRowPositions at the
2265 end of each 'metrics-like' call. Remove all others.
2266 (getRow): remove the 'y-computing' version.
2267 (getRowNearY): do not compute nor return the real y. Solve the
2268 'y < 0' problem and simplify.
2270 2003-08-22 Angus Leeming <leeming@lyx.org>
2272 * *.[Ch]: clean-up of licence and author blurbs.
2273 Also move config.h out of a few .h files and into a few .C files.
2275 2003-08-22 André Pönitz <poenitz@gmx.net>
2277 * lyxrow.[Ch]: add x_ and *fill_ members
2282 * text2.C: adjust/remove prepareToPrint() calls
2284 2003-08-22 André Pönitz <poenitz@gmx.net>
2286 * lyxrow.[Ch]: add end_ member
2288 * lyxrow_funcs.C: use LyXRow::end_
2290 * lyxtext.h (singleWidth): add LyXFont parameter
2293 * text2.C: adjust LyXText::singleWidth() calls
2295 * text.C (redoParagraph): simplify row breaking logic
2298 2003-08-19 André Pönitz <poenitz@gmx.net>
2300 * funcrequest.C: initialize button_ member
2303 * rowpainter.[Ch]: interface consolidation
2305 2003-08-18 André Pönitz <poenitz@gmx.net>
2308 * BufferView_pimpl.C:
2310 * paragraph_funcs.C:
2312 * text3.C: remove LyXScreen::draw() and fitCursor calls
2314 * BranchList.h: remove spurious semicolons
2316 * MenuBackend.C: fix branchlist related crash
2318 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2326 * bufferparams.[Ch]:
2330 * text3.C: implements the 'branch inset'
2331 idea. This allows the output of various versions of a document
2332 from a single source version, selectively outputing or suppressing
2333 output of parts of the text.
2334 This implementation contains a 'branch list editor' in a separate
2335 tab of the document settings dialog. Branches are user definable
2336 and have a "display colour" to distinguish them on-screen.
2338 ColorHandler was somewhat cleaned up.
2339 (1) make possible a dynamically growing LColor list by allowing
2340 the graphic context cache to grow along (vector);
2341 (2) eliminate an IMHO unnecessary step in colour allocation.
2343 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
2345 * BufferView_pimpl.C: compile fix
2347 2003-08-15 André Pönitz <poenitz@gmx.net>
2349 * rowpainter.C: remove extra metrics calls
2351 * lyxtext.h: merge the two constructors into a single one,
2352 pass reference to owner's par list
2354 * BufferView_pimpl.C:
2358 2003-08-15 André Pönitz <poenitz@gmx.net>
2360 * lyxrow_funcs.[Ch]:
2363 * paragraph_funcs.C:
2368 * text_funcs.C: split LyXText::rowlist_ into individual
2369 Paragraph::rows_ chunks
2372 * BufferView_pimpl.[Ch]:
2375 * text3.C: remove toggleSelection()
2377 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2379 * bufferlist.C: beautify two alerts (shorter text of buttons)
2380 * buffer.C: Remove redundant ' ' from message
2382 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2383 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2384 rename VALIGN_CENTER to VALIGN_MIDDLE
2386 2003-08-11 André Pönitz <poenitz@gmx.net>
2388 * lyxtext.h (getPar):
2389 * text.C: new function
2391 2003-08-11 André Pönitz <poenitz@gmx.net>
2394 * tracer.[Ch]: remove unneeded files
2396 * InsetList.[Ch]: remove resizeInsetsLyXText()
2401 * text3.C: merge insertParagraphs() and appendParagraph()
2402 remove breakAgain(), update()
2404 * BufferView_pimpl.[Ch]:
2405 * bufferview_funcs.[Ch]:
2409 * tabular.C: adjust after text & InsetList changes.
2411 2003-08-08 André Pönitz <poenitz@gmx.net>
2413 * text.C (insertChar, backspace): replace rowlist fiddling
2414 with rebreak of full par
2417 * text.C (breakAgainOneRow, redoHeightOfParagraph,
2418 checkParagraph, updateInset): removed
2420 2003-08-07 André Pönitz <poenitz@gmx.net>
2423 * text3.C: merge some LFUN handlers, remove dead code
2425 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2427 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2429 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
2431 * text2.C (DEPM): fix part of bug 1255 and 1256
2433 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2435 * BufferView_pimpl.C (workAreaDispatch): change to use
2436 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2437 that are no mouse related.
2439 2003-08-05 André Pönitz <poenitz@gmx.net>
2442 * BufferView_pimpl.[Ch]:
2443 * bufferview_funcs.C:
2445 * text3.C: rip out "deep update"
2447 * textcursor.[Ch] (last_sel_cursor): remove unused member
2449 2003-08-04 André Pönitz <poenitz@gmx.net>
2452 * BufferView_pimpl.[Ch]:
2453 * ParagraphParameters.C:
2454 * bufferview_funcs.C:
2460 * text3.C: replace "complicated" BufferView::update(...) calls with
2463 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2465 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
2467 * Makefile.am (lyx_SOURCES): add paper.h
2469 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2471 * Makefile.am: move things around so that both lyx-qt and
2472 lyx-xforms can be built (according to --with-frontend). Then lyx
2473 is a symbolic link to lyx-[firstfrontend]
2475 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2477 * Always use std::endl with lyxerr
2479 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
2481 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2483 2003-08-01 André Pönitz <poenitz@gmx.net>
2486 * BufferView_pimpl.[Ch]:
2488 * text3.C: merge BufferView::repaint() and BufferView::update()
2490 2003-08-01 José Matos <jamatos@lyx.org>
2492 * buffer.[Ch]: file_format is no longer a buffer data element.
2494 2003-08-01 André Pönitz <poenitz@gmx.net>
2499 * text2.C: make redoParagraph more independent of current cursor
2501 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2503 * text2.C: remove unneeded members
2505 2003-07-30 André Pönitz <poenitz@gmx.net>
2507 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2509 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2510 create a single function...
2512 * paragraph_funcs.C (moveItem): ... here.
2515 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2517 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2519 * LColor.[Ch]: Add comment and greyedout logical colors.
2521 2003-07-30 André Pönitz <poenitz@gmx.net>
2523 * tabular.C: don't use Assert too heavily. This crashes where it
2526 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
2528 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2529 is disabled (bug 1232)
2531 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2533 * factory.C: limited 'arg' scope
2535 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2537 * factory.C: fixed Note submenu issues
2539 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2541 * factory.C: submenu for Note/Comment/Greyedout
2543 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
2546 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2548 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2551 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2552 greyedout. Patch provided by Jürgen Spitzmüller.
2554 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2556 * kbmap.C (read): fix error message when reading bind files
2558 2003-07-29 Angus Leeming <leeming@lyx.org>
2560 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2561 certainly does not do what it purports to do. I am doing it, and
2562 us, a favour by killing it.
2564 2003-07-28 José Matos <jamatos@lyx.org>
2566 * buffer.C (readBody, do_writeFile):
2567 * paragraph.C(readParagraph): \end_document replaces \the_end.
2569 2003-07-29 André Pönitz <poenitz@gmx.net>
2572 * BufferView_pimpl.[Ch]:
2576 * textcursor.[Ch]: remove toggleToggle & Co
2578 2003-07-28 José Matos <jamatos@fep.up.pt>
2580 * buffer.C (readParagraph):
2581 * params_func (readParToken, readParagraph):
2582 * paragraph.C (write): \layout -> \begin_layout.
2584 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2586 * lyxlex_pimpl.C (setFile): clean up slightly.
2588 * bufferparams.h: add compressed var
2590 * buffer_funcs.C (readFile): adjust for LyXLex change
2591 (newFile): ditto + simplify
2593 * buffer.C (writeFile): handle writing of compressed files
2595 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2596 Check if the file is compressed and set a bufferparm if so.
2598 * Makefile.am (lyx_LDADD): remove explicit -lz
2600 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2602 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2603 makeDocBookFile): put the real LyX version in the first line of
2607 * version.C.in: remove lyx_docversion
2609 * tabular.C (write_attribute): add a template-based version to
2610 write enums properly
2612 2003-07-28 André Pönitz <poenitz@gmx.net>
2617 * text3.C: use doubles again for x-coordinates. They are needed.
2619 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2621 * messages.C (getLocaleDir): use lyx_localedir()
2623 * lyxlex_pimpl.C (setFile): compress stuff
2625 * buffer.C (writeFile): add some compression stuff
2626 (do_writeFile): new func, dont call expliti close... will this
2629 * Makefile.am (lyx_LDADD): add -lz
2631 2003-07-28 José Matos <jamatos@fep.up.pt>
2633 * buffer.C: increment file format.
2634 * paragraph_funcs (readParagraph, readParToken):
2635 * paragraph.C (readParagraph): add \end_layout.
2637 2003-07-27 Angus Leeming <leeming@lyx.org>
2639 * Makefile.am: remove special casing for configure-time setting of
2640 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2642 * lyx_main.C (init): remove all Jean-Marc's magic setting of
2643 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2645 2003-07-26 André Pönitz <poenitz@gmx.net>
2647 * paragraph_func.[Ch]:
2648 * paragraph.C (realizeFont): inline it whereever it is used
2653 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2656 2003-07-26 André Pönitz <poenitz@gmx.net>
2660 * text2.C: get rid of LyXText::need_break_row
2662 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2664 * toc.[Ch]: put namespace toc inside namespace lyx
2666 * MenuBackend.C (expandToc2): adjust for lyx::toc
2669 * lyxfunc.C (dispatch): adjust for lyx::find
2671 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2672 lyx::find instead. Reorganize a bit.
2673 (LyXReplace): rename to replace
2674 (LyXFind): rename to find
2676 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2679 2003-07-26 André Pönitz <poenitz@gmx.net>
2681 * text.C (setHeightOfRow): restrict scope of temporary variable
2683 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
2684 code (never has been used?)
2686 2003-07-27 Asger Alstrup <alstrup@local>
2688 * text.C (fill): Optimise algorithm to exploit that we can reuse
2689 the LyXFont for many characters.
2690 (setHeightOfRow): Same thing.
2691 (rowBreakPoint): Same thing.
2693 2003-07-26 Asger Alstrup <alstrup@local>
2695 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2697 * text.C (singleWidth): Spurious font copying in hot-spot
2698 singleWidth avoided. Reorder tests for arabic for efficiency.
2700 * text.C (fill): handle empty paragraphs better.
2702 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2705 * encoding.h: add includes
2707 * lyxrc.C: remove reading of bind files
2709 * lyx_main.C (init): setup bindings and menus only if we have a
2712 * kbmap.C (read): new method. Do the actual reading of bind
2715 * converter.C (dvipdfm_options):
2718 (output): adapt PAPER_* enums.
2720 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2722 * bufferparams.h: remove paper-related enums from there
2724 * paper.h: New file. A trivial header file to hold paper-related
2725 enums. It should later expand to contain many paper-related
2728 * lyxrc.C: declare extern displayTranslator
2730 2003-07-27 José Matos <jamatos@fep.up.pt>
2732 * tabular.[Ch] (linuxdoc): add support for tables and figures
2735 2003-07-27 José Matos <jamatos@fep.up.pt>
2737 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2738 consistency in both functions.
2739 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2741 2003-07-26 Asger Alstrup <alstrup@local>
2743 * rowpainter.C (paintRows): Change algorithm to work directly on
2744 the insets rather than asking every character in the document
2745 whether its an inset.
2747 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
2749 * buffer.C (openFileWrite): factorize some code
2751 2003-07-26 Angus Leeming <leeming@lyx.org>
2754 * lyx_main.[Ch]: replace occurances of system_tempdir with
2757 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2759 * rename Inset to InsetOld
2761 2003-07-25 Asger Alstrup <alstrup@diku.dk>
2763 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2764 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2765 which I think is a bit clearer. EDIT is gone, since it was
2766 premature optimisation, and broken for mathed anyway.
2767 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2768 with cursor positioning in insets as well (math insets still do not
2769 work, but that's a different story anyway.) It mysteriously
2770 crashes sometimes with undo in the first paragraph, but I'm fairly
2771 confident that this is a compiler bug.
2773 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2775 * paragraph.C (Paragraph): adjust for new clone return type
2777 (copyIntoMinibuffer): ditto
2779 2003-07-25 Asger Alstrup <alstrup@lyx.org>
2781 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2782 by not having a special case, and always doing a full rebreak of
2783 the document after undo.
2785 2003-07-23 Angus Leeming <leeming@lyx.org>
2787 * factory.C (createInset): InsetExternal::setParams now takes a
2790 2003-07-23 Angus Leeming <leeming@lyx.org>
2792 * factory.C (createInset): changed interface to the external and
2793 graphics mailers' string2params functions.
2795 2003-07-23 Angus Leeming <leeming@lyx.org>
2797 * factory.C (createInset): pass a
2798 Buffer const * parameter to InsetExternalMailer's string2params.
2800 2003-07-22 John Levon <levon@movementarian.org>
2802 * Thesaurus.h: include the right aiksaurus header
2804 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2806 * MenuBackend.C (expand): check menu shortcuts unconditionally
2808 2003-07-21 Angus Leeming <leeming@lyx.org>
2810 * factory.C (createInset): pass a
2811 buffer_path parameter to InsetGraphicsMailer's string2params.
2813 2003-07-21 Angus Leeming <leeming@lyx.org>
2815 * BufferView_pimpl.C (buffer):
2818 * lyxfunc.C (dispatch):
2819 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2820 rather than the grfx shortcut.
2822 2003-07-21 André Pönitz <poenitz@gmx.net>
2824 * rowpainter.C: remove unused variables
2827 * tabular_funcs.h: move to tabular.C
2828 * Makefile.am: adjust
2830 * tabular.[Ch]: basic optical cleaning
2832 * author.h: pass references, not values
2834 2003-07-18 André Pönitz <poenitz@gmx.net>
2842 * text3.C: two-phase drawing for InsetText and InsetTabular
2843 some float -> int changes.
2845 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2847 * lyx_main.C: fix the fix
2849 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2851 * lyx_main.C: fix a crash in batch mode if no files specified
2854 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
2856 * format.[Ch] (papersize): moved to BufferParams
2857 * converter.[Ch] (dvips_options): moved to BufferParams
2858 (dvipdfm_options): moved to anon namespace
2859 * bufferparams.[Ch]: added above functions.
2861 2003-07-17 André Pönitz <poenitz@gmx.net>
2865 * text2.C: don't call inset->update() anymore
2867 * metricsinfo.[Ch]: add convenience constructor
2869 2003-07-16 André Pönitz <poenitz@gmx.net>
2874 * text2.C: replace the LyXCursor::irow_ member with
2875 on-demand computation of the value
2877 2003-07-16 John Levon <levon@movementarian.org>
2879 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2881 2003-07-15 André Pönitz <poenitz@gmx.net>
2884 * text2.C: remove no more needed refresh_row
2886 2003-07-15 André Pönitz <poenitz@gmx.net>
2891 * text3.C: refresh_status tristate -> need_update bool
2893 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2895 * lyxtext.h (init): remove reinit argument (act as if always true)
2896 * text2.C: adjust to that
2898 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2900 * bufferview_funcs.[Ch]: introduce function replaceSelection()
2901 * text3.C: use it to delete selections in some cases
2902 (bugs 441, 673, 702, 954).
2904 2003-07-14 André Pönitz <poenitz@gmx.net>
2906 * rowpainter.[Ch]: reduce interface
2908 2003-07-14 André Pönitz <poenitz@gmx.net>
2910 * BufferView_pimpl.C:
2911 * text2.C: adjust after removing unused BufferView * argument
2913 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
2915 * text2.C (init): fix a crash fired on resize
2917 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
2919 * buffer.[Ch]: added new closing signal
2920 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2921 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2922 BufferView::Pimpl via the closing the signal
2924 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
2926 * buffer.[Ch]: take out all bv-related from buffer
2928 * BufferView_pimpl.[Ch]: connect to new signals
2929 * CutAndPaste.C: removed useless asserts
2930 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2933 * lyxfunc.C: moved view-related funciontality from vc here
2934 * paragraph.C: removed outdated comments
2937 2003-07-10 André Pönitz <poenitz@gmx.net>
2939 * BufferView_pimpl.C:
2943 * text2.C: remove InsetText::InnerCache, clean up consequences
2945 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
2947 * ispell.C: fix two typos in error messages
2949 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
2951 * Extend Note inset to other forms of annotation like Comment
2952 and Greyedout. Right button click gives dialog.
2954 Files modified or added (+):
2958 * ControlNote.[Ch] +
2960 * Makefile.am in frontends/xforms, frontends/xforms/forms,
2961 frontends/controllers
2965 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2967 * aspell.C: add missing namespace lyx::support
2969 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
2971 * BufferView.[Ch] (newFile): Add
2972 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2973 * LaTeX.[Ch] (message): added this signal and use it
2974 * buffer.[Ch] (busy, message): added these signals and use them
2975 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2979 * importer.C: use buffer signals instead of direct bv calling
2980 * lyx_cb.[Ch] (ShowMessage): removed
2983 * paragraph_funcs.C:
2984 * text2.C: use buffer signals
2986 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2988 * introduce namespace lyx::graphics
2990 2003-07-02 André Pönitz <poenitz@gmx.net>
2992 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2994 2003-07-01 André Pönitz <poenitz@gmx.net>
3001 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3002 text*.C to text_func.C
3004 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3006 * introduce namespace lyx::support
3008 2003-06-30 André Pönitz <poenitz@gmx.net>
3013 * text.C: re-enable --with-included-string
3015 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3017 * textcursor.C: add <config.h>
3019 * text.C (getWord): remove const from word_location arg
3021 * lyxvc.C (getLogFile): fix const type order
3023 * lyxtext.h: remove const from word_location arg, add arg name
3025 * lyxlayout.h: currect type on labeltype.
3027 * importer.C: correct \file
3029 * converter.C (intToFormat): use std:: on ret val, ws changes
3031 * bufferlist.h: correct \file
3033 * buffer.C (makeLinuxDocFile): fix const type order
3034 (makeDocBookFile): ditto
3035 (fillWithBibKeys): use std:: on stdlib args.
3037 * CutAndPaste.C: fix authors.
3038 (availableSelections): use std:: on return vector
3040 2003-06-27 André Pönitz <poenitz@gmx.net>
3042 * BufferView_pimpl.C:
3043 * bufferview_funcs.C:
3051 * text3.C: remove LyXCursor::row_ member
3054 * text.C: rename fullRebreak() to partialRebreak() and implement
3055 a fullRebreak() that really bereks fully
3057 * textcursor.h: new struct for cursor-related data
3059 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
3061 * lyx_main.C (LyX): get full path of document loaded on the
3064 2003-06-26 André Pönitz <poenitz@gmx.net>
3066 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3067 remove unused/broken operator>,<,>=.
3069 * text.C: remove only use of broken operator<= in an Assert().
3071 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3073 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3074 moved errorlist_.clear to showErrorList
3076 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3078 * converter.C (scanLog, runLaTeX):
3079 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3080 move the bv->showErrorList call to the callers
3081 * lyxfunc.C: i.e. here...
3083 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3084 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3085 namespace, the second to...
3086 * buffer_funcs (BufferFormat, parseErrors): added
3087 * errorlist.C (ErrorList(TeXErrors const &)): removed
3089 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3091 * ToolbarBackend.C (getIcon): complain when icon cannot be found
3093 2003-06-24 "Garst R. Reese" <reese@isn.net>
3097 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3099 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3101 * version.C.in: change docversion to 1.4
3103 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
3105 * buffer.C: fix a bug just introduced
3107 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3109 * buffer.[Ch]: added the parseError signal and use it, removed
3111 * BufferView.[Ch] (addError): moved to ...
3112 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3113 to the Buffer::parseError signal to catch (guess what) parse errors
3114 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3116 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3118 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3119 ability to create a buffer and to return an existing one from
3120 the list. Moved these functions to...
3121 * buffer_funcs.[Ch]: added
3122 * BufferView.[Ch] (loadLyXFile): added
3123 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3124 job removed from bufferlist::loadLyXFile.
3125 * buffer.C (setReadOnly): make it work without view
3126 (i.e added an if (users))
3128 2003-06-19 Angus Leeming <leeming@lyx.org>
3131 * LyXAction.C (init):
3132 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3133 with LFUN_DIALOG_SHOW <name> <data>.
3135 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3137 * CutAndPaste.C (availableSelections): small compilation fix for
3138 ancient (gcc 2.9x) compilers
3140 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3142 * text3.C (cursorNext): add tmp var
3144 * text2.C (updateCounters): for function calling out of for clause
3145 (replaceSelectionWithString): ditto
3146 (insertStringAsParagraphs): ditto
3147 (getColumnNearX): add tmp var
3148 (setCursorFromCoordinates): add tmp var
3149 (cursorDownParagraph): add tmp var
3150 (deleteEmptyParagraphMechanism): add tmp var
3152 * text.C (insertChar): add tmp var
3154 * rowpainter.C (paintDepthBar): add tmp var
3156 * CutAndPaste.C (availableSelections): potentially check all
3157 paragraphs in a cut to fill the shown strings.
3159 2003-06-18 André Pönitz <poenitz@gmx.net>
3161 * kbmap.[Ch]: use vector<> instead of list<>
3163 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3165 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3166 pasteSelection with index
3168 * text2.C (pasteSelection): modify, call pasteSelection with index
3170 * paragraph.C (asString): reimplement version with no interval to
3171 call the one with interval.
3173 * lyxtext.h: add index arg to pasteSelection
3175 * MenuBackend.C (MenuItem): handle PasteRecent
3176 (Menu::read::Menutags): add md_pasterecent
3178 (expandPasteRecent): new function
3181 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3183 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3185 (availableSelections): new function
3187 2003-06-17 Angus Leeming <leeming@lyx.org>
3189 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3191 2003-06-17 Angus Leeming <leeming@lyx.org>
3194 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3196 * lyxfunc.C (dispatch): invoke it.
3198 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3200 * iterators.C (operator++, ParPosition): reintroduce some
3201 const_cast for the benefit of older compilers.
3203 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3205 * text3.C (dispatch): do not modify clipboard when doing
3206 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3207 LFUN_DELETE_SKIP on a selection selection
3209 2003-06-16 André Pönitz <poenitz@gmx.net>
3215 * tabular.[Ch]: IU of clone() and getLabelList();
3217 2003-06-13 André Pönitz <poenitz@gmx.net>
3219 * tabular.h: compactification
3221 2003-06-12 André Pönitz <poenitz@gmx.net>
3225 * tabular_funcs.h: some renaming plus whitespace
3227 2003-06-12 André Pönitz <poenitz@gmx.net>
3230 * BufferView_pimpl.C:
3236 * toc.C: Return a Paragraph & for ParIterator::operator*()
3238 2003-06-11 John Levon <levon@movementarian.org>
3242 * ToolbarBackend.C: add "Toolbars" section and
3245 2003-06-10 Angus Leeming <leeming@lyx.org>
3248 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3250 * lyxfunc.C (dispatch): invoke it.
3252 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3254 * main.C: protect <ios> with HAVE_IOS
3255 (main): protect sync_with_stdio with HAVE_IOS
3257 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3259 * text2.C (cutSelection): adjust
3260 (pasteSelection): adjust
3262 * messages.C: handle get of empty string
3264 * main.C (main): use sync_with_stdio(false)
3266 * lyxfunc.C (dispatch): adjust
3268 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3269 (WriteAs): remove unneeded BufferView arg.
3271 * bufferparams.h: use correct types on papersize, papersize2 and
3274 * bufferparams.C (readToken): adjust for type
3275 (writeLaTeX): add missing cases to switch.
3277 * bufferlist.C (quitWriteBuffer): adjust
3280 * buffer.C (asciiParagraph): remove some commented code.
3282 * CutAndPaste.C: remove current_view extern variable.
3283 (cutSelection): add BufferParams arg.
3284 (eraseSelection): add BufferParams arg.
3285 (pasteSelection): add Buffer const & arg
3287 2003-06-07 John Levon <levon@movementarian.org>
3290 * paragraph_funcs.C:
3291 * paragraph_pimpl.C:
3295 * paragraph.C: allow InsetERT to freely space lines,
3296 and some consolidation of code
3298 2003-06-06 José Matos <jamatos@fep.up.pt>
3300 * buffer.C (makeDocBookFile): fix bug #821
3302 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3304 * BufferView_pimpl.C (dispatch): use Dialogs::visible
3306 2003-06-04 Angus Leeming <leeming@lyx.org>
3308 * buffer.C: bump format to 224.
3310 2003-06-05 André Pönitz <poenitz@gmx.net>
3312 * text2.C (redoParagraphs): remove two const_cast<>
3314 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3316 * ParagraphList.h: remove last remnants of NO_STD_LIST
3318 2003-06-03 Angus Leeming <leeming@lyx.org>
3320 * factory.C (createInset): small change to the way InsetExternal's params
3323 2003-06-04 André Pönitz <poenitz@gmx.net>
3325 * buffer.h: use Undo directly instead of shared_ptr<Undo>
3327 * paragraph_pimpl.h:
3328 * paragraph.[Ch]: some Inset -> UpdatableInset changes
3330 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3332 * undo_funcs.C: make some simple cases of undo work again
3334 2003-06-03 John Levon <levon@movementarian.org>
3336 * ispell.C: HPUX doesn't have sys/select.h
3339 2003-06-03 John Levon <levon@movementarian.org>
3341 * CutAndPaste.C: update tabular and include inset
3346 * paragraph.C: remove owningBuffer(), don't pass Buffer
3349 * factory.C: insetGraphicsParams changed
3351 2003-06-02 John Levon <levon@movementarian.org>
3357 * text3.C: remove insetparent
3359 2003-06-02 John Levon <levon@movementarian.org>
3362 * buffer.C: fix inset_iterator.end(), move out of line
3365 2003-06-01 John Levon <levon@movementarian.org>
3367 * text3.C: use a proper cut/paste when doing inset
3368 insert (from Jürgen Spitzmüller)
3370 2003-06-01 John Levon <levon@movementarian.org>
3372 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3374 2003-05-30 André Pönitz <poenitz@gmx.net>
3376 * rowpainter.C: unify second drawing phase
3378 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3380 * trans_mgr.C: remove one case of current_view
3382 * text2.C (cursorBottom): delete NO_STD_LIST stuff
3384 * paragraph_funcs.h: remove paragraph.h include
3386 * paragraph.h: delete NO_STD_LIST stuff
3388 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3390 * buffer.h: remove paragraph.h include
3392 * ParagraphList.C: delete file
3394 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3396 * toc.C (getTocList): adjust
3398 * paragraph_pimpl.C (validate): adjust
3400 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3402 * paragraph.C (Paragraph): adjust
3403 (getPositionOfInset): use const_iterator, adjust
3404 (bibitem): use const_iterator, adjust
3405 (setInsetOwner): adjust
3407 * iterators.C (operator++): adjust
3409 * InsetList.[Ch]: Replace selfmade iterator with standard
3410 vector::iterator also introduce const_iterator. Remove getPos,
3411 getInset and setInset from InsetTable. Adjust accordingly.
3413 * BufferView.C (lockInset): adjust
3414 (ChangeInsets): adjust
3416 * tabular.[Ch]: delete commented same_id functions
3418 2003-05-28 John Levon <levon@movementarian.org>
3420 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3422 2003-05-28 André Pönitz <poenitz@gmx.net>
3424 * metricsinfo.[Ch]: remove 'fullredraw' member
3426 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
3428 * lyxtextclass.C (operator): remove caching.
3430 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3434 * text2.C (cursorBottom): adjust
3435 (setCounter): use ParagraphList::find, adjust
3437 * text.C (workWidth): use ParagraphList::find, adjust
3439 * lyxcursor.C (LyXCursor): adjust
3441 * buffer.C (inset_iterator): adjust
3443 * ParagraphList.h: make iterator(value_type) private, make
3444 ParagraphList a friend of iterator.
3446 * ParagraphList.C (find): new function
3448 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3450 2003-05-27 André Pönitz <poenitz@gmx.net>
3452 * dimension.[Ch]: a -> asc, d -> des, w -> wid
3454 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3456 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3458 2003-05-26 John Levon <levon@movementarian.org>
3460 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3462 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3464 * remove same_id from function signatures, adjust.
3466 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3468 * undo_funcs.C (createUndo): use the id functions directly, adjust.
3470 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3472 * paragraph.C (Paragraph): get rid of same_ids parameter
3474 * ParagraphList.C (insert): adjust
3477 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3479 * paragraph_funcs.C (breakParagraph): adjust
3480 (breakParagraphConservative): adjust
3482 * buffer.C (readParagraph): adjust
3484 * ParagraphList.C (insert): take a reference instead of a pointer
3487 * paragraph.[Ch] (id): new function
3489 * bufferlist.C (newFile): adjust
3491 * ParagraphList.C (ParagraphList): adjust
3493 (push_back): take a reference instead of a pointer.
3495 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3497 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3500 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3501 set else use old code.
3503 * ParagraphList.C: remove all NO_NEXT code and only compile this
3504 code of NO_STD_LIST is set.
3506 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3508 * BufferView_pimpl.C:
3518 * graphics/GraphicsConverter.C:
3519 * graphics/PreviewLoader.C: header adjustment
3521 2003-05-23 Angus Leeming <leeming@lyx.org>
3523 * LaTeXFeatures.[Ch] (useBabel): new method.
3524 * bufferparams.C (writeLaTeX): use it.
3526 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3528 * ParagraphList.h (set): remove unused function.
3530 2003-05-23 André Pönitz <poenitz@gmx.net>
3533 * BufferView_pimpl.C:
3537 * undo_funcs.C: setUndo reworked
3539 * iterators.[Ch]: add access to topmost ParagraphList
3541 * lyxtext.[Ch] (workWidth): add a const
3543 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3545 * texrow.[Ch] (increasePos): remove function
3546 * exporter.C (export): removed unused var and outdated comment
3548 2003-05-23 Angus Leeming <leeming@lyx.org>
3550 * latexrunparams.h: rename fragile as moving_arg.
3551 * paragraph.C (simpleTeXOnePar): ditto.
3552 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3554 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3556 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3558 (textUndoOrRedo): comment out a currently unused var.
3560 * paragraph.h (NO_NEXT): enable NO_NEXT
3562 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3564 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3566 * exporter.C (Export): adjust for removeAutoInsets removal.
3568 * buffer.C (runChktex): adjust for removeAutoInsets removal.
3570 * LyXAction.C (init): remove LFUN_REMOVEERRORS
3572 * BufferView.[Ch] (removeAutoInsets): delete function
3574 2003-05-22 Angus Leeming <leeming@lyx.org>
3576 * latexrunparams.h: add a free_spacing variable.
3578 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3579 to pass moving_arg, as the data is stored in runparams.fragile.
3581 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3582 to Inset::latexOptional or to simpleTeXOnePar.
3584 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3585 free_spacing arg to Inset::latexOptional.
3587 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3590 2003-05-22 Angus Leeming <leeming@lyx.org>
3592 * latexrunparams.h: add fragile and use_babel variables.
3594 * bufferparams.[Ch] (writeLaTeX): return use_babel.
3595 * buffer.C (makeLaTeXFile): store this returned value in
3596 runparams.use_babel, thus passing it to the inset::latex methods.
3598 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3599 simpleTeXSpecialChars as it is now stored in runparams.fragile.
3601 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3602 longer has a fragile arg, as it is stored in runparams.fragile.
3604 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3605 moving_arg parameter as the data is stored in runparams.fragile.
3607 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3608 a fragile parameter as the data is stored in runparams.fragile.
3610 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3612 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3614 2003-05-22 Angus Leeming <leeming@lyx.org>
3616 * latexrunparams.h: add a 'bool nice' which defaults to false.
3618 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3619 now encapsulated within runparams.
3621 * bufferlist.C (updateIncludedTeXfiles):
3622 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3624 2003-05-22 Angus Leeming <leeming@lyx.org>
3626 * latexrunparams.h: new file containing struct LatexRunParams.
3627 * Makefile.am: add new file.
3629 * LaTeX.[Ch] (c-tor, run):
3630 * buffer.[Ch] (makeLaTeXFile):
3631 * bufferlist.[Ch] (updateIncludedTeXfiles):
3632 * converter.C (convert, scanLog):
3633 * converter.[Ch] (runLaTeX):
3634 * exporter.C (Export):
3635 * paragraph.[Ch] (simpleTeXOnePar):
3636 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3637 * paragraph_funcs.[Ch] (latexParagraphs):
3638 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3639 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3640 pass around a LatexRunParams parameter.
3642 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3644 * paragraph.[Ch]: remove unused constructor
3646 * ParagraphList.C (erase): new function, taking two iterators
3648 2003-05-22 André Pönitz <poenitz@gmx.net>
3650 * undo_funcs.C: remove duplicated code
3652 * iterator.[Ch]: operator=
3654 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3656 * tabular.C (SetMultiColumn): ws changes
3658 * rowpainter.C (paintFirst): get rid of a ->previous
3660 * lyx_cb.C (getPossibleLabel): parlist simplification
3662 * BufferView.C (ChangeInsets): simplify slightly.
3664 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3666 * LyXAction.C: new lfun space-insert, kill protected-space-insert
3667 * lfuns.h: new LFUN_SPACE
3668 * lyxfunc.C: protected space has a new lfun
3669 * paragraph_funcs.C: read new space insets
3671 * factory.C: handle new space insets
3673 2003-05-22 André Pönitz <poenitz@gmx.net>
3676 * BufferView_pimpl.C:
3679 * undo_funcs.C: return a ParIterator from getParFromID.
3681 * iterators.[Ch]: add two const's
3683 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3685 * toc.C (getTocList): adjust
3687 * iterators.[Ch]: rework for parlist
3689 * buffer.C (par_iterator_begin): adjust
3690 (par_iterator_end): adjust
3692 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3694 * BufferView.C (removeAutoInsets): adjust
3695 (ChangeInsets): adjust
3697 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
3699 * text.C (top_y): fix bug 1110
3701 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
3703 * errorlist.[Ch]: added
3706 * BufferView_pimpl.C:
3707 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3710 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3712 * Makefile.am: ensure that lyx is relinked upon changes to the
3713 various "convenience" libs.
3715 2003-05-20 Angus Leeming <leeming@lyx.org>
3717 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3718 files are compiled in alphabetical order again.
3720 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3722 2003-05-19 Angus Leeming <leeming@lyx.org>
3724 * gettext.[Ch]: remove "char const * _(char const *)".
3726 2003-05-19 André Pönitz <poenitz@gmx.net>
3728 * dimension.[Ch]: promote from mathed/dimension.[Ch]
3737 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3739 2003-05-19 André Pönitz <poenitz@gmx.net>
3743 * lyxtextclass.[Ch]:
3745 * paragraph_funcs.[Ch]:
3747 * text3.C: more insetenv work
3749 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
3751 * ParagraphParameters.C (params2string): small bug fixed
3753 2003-05-16 André Pönitz <poenitz@gmx.net>
3756 * bufferview_funcs.C: patch from Kornel Benko to prevent
3757 crash when _(...) is called twice in a statement
3759 2003-05-16 André Pönitz <poenitz@gmx.net>
3766 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3768 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
3770 * lyx_main.C (init): remove spurious static_cast
3772 2003-05-14 André Pönitz <poenitz@gmx.net>
3774 * BufferView.C: fix format string
3776 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
3778 * BufferView.[Ch] (insertErrors): removed
3779 * BufferView.[Ch] (showErrorList): added
3780 * buffer.C (runChkTeX):
3781 * converter.C (scanLog): call showErrorList instead of inserterrors
3783 2003-05-13 André Pönitz <poenitz@gmx.net>
3785 * BufferView_pimpl.C:
3787 * bufferview_func.C:
3794 * tabular_funcs.h: tostr() from its own header
3796 * ParagraphParameters.C:
3801 * text3.C: STRCONV()
3803 2003-05-12 André Pönitz <poenitz@gmx.net>
3806 * BufferView_pimpl.C:
3810 * ParagraphParameters.C:
3814 * bufferview_funcs.C:
3827 * paragraph_funcs.C:
3831 * text3.C: boost::format -> bformat all over the place
3834 2003-05-09 André Pönitz <poenitz@gmx.net>
3836 * LColor.[Ch]: Pimpl the #include <map> away
3838 2003-05-09 John Levon <levon@movementarian.org>
3840 * bufferlist.C: never remove emergency saves
3842 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3844 * Makefile.am: better lib building
3846 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3848 * texrow.[Ch]: remove dependency on Paragraph and just store a id
3850 * paragraph_pimpl.C (simpleTeXBlanks): adjust
3851 (simpleTeXSpecialChars): adjust
3852 (simpleTeXSpecialChars): adjust
3853 * paragraph.C (simpleTeXOnePar): adjust
3854 * buffer.C (makeLaTeXFile): adjust
3856 * Makefile.am (BOOST_LIBS): allow boost as system lib.
3858 * text2.C (changeDepth): parlist cleanup
3859 (getColumnNearX): ditto
3861 * rowpainter.C (getLabelFont): parlist cleanup
3863 * bufferlist.C (newFile): parlist cleanup
3865 * CutAndPaste.C (eraseSelection): parlist cleanup
3867 * BufferView_pimpl.C (trackChanges): parlist cleanup
3870 * BufferView.C (lockInset): parlist cleanup.
3871 (ChangeInsets): ditto
3873 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3875 * CutAndPaste.h: Update file header.
3877 * CutAndPaste.C: Update file header.
3878 Store the parts cut out of the Document in a limited_stack.
3879 (copySelection): adjust
3880 (pasteSelection): new function, takes the index in the limited stack.
3881 (nrOfParagraphs): adjust
3882 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3883 simplify error inset insertion.
3884 (checkPastePossible): adjust
3886 2003-05-06 John Levon <levon@movementarian.org>
3888 * text2.C: don't cast wrap inset to float
3890 2003-05-05 André Pönitz <poenitz@gmx.net>
3893 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3895 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3896 few naked Paragraph *.
3898 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
3900 * bufferparams.C: Output warning if a document with missing
3901 TeX document class is loaded
3902 * exporter.C: Disable TeX exports if the document class is missing
3905 * lyxtextclasslist.C: Handle new textclass.lst format; new method
3906 isTeXClassAvailable()
3908 2003-05-03 John Levon <levon@movementarian.org>
3911 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3912 explicit cursor show/hide
3914 * BufferView_pimpl.h:
3915 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3916 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3918 * lyxfunc.C: hide cursor before dispatching.
3923 * text3.C: remove explicit cursor hides
3925 2003-05-02 André Pönitz <poenitz@gmx.net>
3927 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3930 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3933 * text2.C: tiny whitespace
3935 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3937 * undo_funcs.C: almost only ws changes.
3939 * ParagraphList.C (splice): just return if pl is empty.
3941 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3943 * ParagraphList.C (splice): new function.
3945 * CutAndPaste.C (pasteSelection): use it
3947 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3949 * CutAndPaste.C (pasteSelection): remove the last next and
3950 previous from this file.
3952 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3954 * CutAndPaste.C (pasteSelection): more clean up, user proper
3955 ParagraphList functions for pasteing.
3957 * ParagraphList.C (insert): new function, three arg insert
3959 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3961 * ParagraphList.C (insert): new function, three arg insert
3963 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3966 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3968 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3970 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3972 * CutAndPaste.C (pasteSelection): remove some unneeded code.
3974 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3976 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3977 (copySelection): clean up a bit.
3978 (pasteSelection): use make_pair
3980 * ParagraphList.C (ParagraphList): implement copy constructor
3981 (operator=): implement, base on copy constructor.
3984 * paragraph.C (erase): return a bool
3986 * paragraph_pimpl.C (erasePos): remove function, move contents...
3987 (erase): ... here. Return a bool.
3988 (erase): call erase instead of erasePos.
3990 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
3992 * ParagraphList.h: define PitPosPair
3993 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3994 ParagraphList, fix a bug on pasting multiple pars
3995 * text2.C: change interface to C&P
3997 2003-04-30 André Pönitz <poenitz@gmx.net>
3999 * undo_func.C: revert part of yesterday's patch 2
4001 2003-04-30 John Levon <levon@movementarian.org>
4003 * LColor.C: s/tabular/table/
4005 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4007 * text3.C (dispatch): do not convert iterator -> pointer
4008 * undo_funcs.C (setCursorParUndo): ditto
4009 * text_funcs.C (transposeChars): ditto
4011 * text2.C (setLayout): ws changes only
4013 * text.C (breakParagraph): do not convert iterator -> pointer
4015 (acceptChange): ditto
4016 (rejectChange): ditto
4021 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4024 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4026 * text3.C (gotoInset): YABG (yet another bad getChar)
4028 2003-04-29 André Pönitz <poenitz@gmx.net>
4030 * paragraph.h: make operator= private unimplemented as long as
4033 * ParagraphList.C: whitespace
4036 * paragraph_pimpl.[Ch]:
4037 * paragraph_funcs.C:
4039 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
4042 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4044 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4046 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4047 * paragraph.[Ch] (erase):
4048 * paragraph_pimpl.[Ch] (erase): change return type and value
4049 * text2.C (cutSelection): some rework
4051 2003-04-28 John Levon <levon@movementarian.org>
4053 * bufferlist.C: changes for unsaved changes dialog
4055 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4057 * bufferlist.C (newFile): set language (messages_) for new
4060 * buffer.C (readFile): ws changes only.
4062 2003-04-28 André Pönitz <poenitz@gmx.net>
4067 * BufferView_pimpl.C:
4068 * BufferView.C: getParFromID related ParagraphList::iterator changes
4070 2003-04-28 André Pönitz <poenitz@gmx.net>
4072 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4075 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4077 * messages.C: remove one more localedir class variable.
4079 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4081 * messages.C (getLocaleDir): singleton generation function
4083 (Messages): add a default constructor.
4085 * main.C (main): do not setup localedir here, do not call
4088 * gettext.C (_): use it.
4089 (gettext_init): delete funciton
4091 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4093 * gettext.C (getLyXMessages): new singleton generating function.
4095 * buffer.C (updateDocLang): adjust
4097 * Makefile.am (messages.o): add target
4098 (main.o): remove target
4100 2003-04-27 John Levon <levon@movementarian.org>
4105 * lyxvc.C: specify cancel button in Alert::prompt
4107 2003-04-26 John Levon <levon@movementarian.org>
4112 * LyXAction.C: add LFUN_INSET_SETTINGS
4114 * lyxfunc.C: don't enable tabular-feature when there's
4115 just any locking inset
4117 2003-04-26 John Levon <levon@movementarian.org>
4119 * bufferlist.C: re-add Cancel to buffer close question
4121 * lyxfunc.C: fix import UI a bit
4123 2003-04-25 John Levon <levon@movementarian.org>
4125 * gettext.C: remove the broken asserts for now
4127 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4129 * messages.C: make case where setlocale cannot comply work better.
4131 * buffer.C (updateDocLang): new function
4132 (changeLanguage): use it
4135 * text2.C (setCounter): use B_ a bit.
4137 * lyxlayout.C (Read): be sure to trim the label strings.
4139 * messages.C (Messages): fix typo in comment
4141 * buffer.C (readFile): set message_ after file is loaded.
4142 (makeDocBookFile): remove double return
4143 (changeLanguage): reset message_ upon language change.
4144 (B_): new func, use this to get translated buffer strings.
4146 * main.C: add myself and Jean Marc as authors.
4148 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4150 * messages.[hC]: pimplify Messages, and three different pimpls to be
4151 used in different circumstances.
4153 * gettext.[Ch]: change for use with new message code.
4155 2003-04-24 André Pönitz <poenitz@gmx.net>
4157 * factory.C: support for eqref
4159 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4161 * messages.[Ch]: add missing char
4163 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4165 * messages.[Ch]: New files
4167 2003-04-18 John Levon <levon@movementarian.org>
4171 * BufferView_pimpl.C:
4175 * text2.C: remove layout-copy/paste (bug 778)
4177 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4179 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4181 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4183 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4184 if they succeed. Act accordingly.
4186 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4188 * text2.C (setCharFont): adjust
4189 (setCounter): adjust
4190 (insertStringAsLines): adjust
4192 * text.C (leftMargin): adjust
4193 (setHeightOfRow): adjust
4195 * rowpainter.C (paintFirst): adjust
4198 * paragraph_funcs.C (depthHook): ParagraphList::iterators
4200 (isFirstInSequence): ditto
4201 (getEndLabel): ditto
4204 * paragraph.C (getParLanguage): comment out some hard stuff.
4206 * buffer.C (insertStringAsLines): take a ParagraphList as arg
4208 (simpleDocBookOnePar): ditto
4209 (makeDocBookFile): use ParagraphList::iterator
4211 * CutAndPaste.C (pasteSelection): adjust
4213 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4215 * text2.C (getFont): adjust
4216 (getLayoutFont): adjust
4217 (getLabelFont): adjust
4219 * paragraph_funcs.C (TeXOnePar): adjust
4221 * buffer.C (simpleLinuxDocOnePar): adjust
4222 (simpleDocBookOnePar): adjust
4224 * CutAndPaste.C (pasteSelection): adjust
4226 * BufferView.C (getEncoding): adjust
4228 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4230 2003-04-16 John Levon <levon@movementarian.org>
4232 * lyxfind.C: use parlist stuff for search/changes
4234 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4236 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4238 * text2.C (deleteEmptyParagraphMechanism): adjust
4240 * text2.[Ch] (ownerParagraph): delete func (both of them
4242 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4244 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4246 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4248 * ParagraphList.C: prepare for NO_NEXT
4250 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4252 * text2.C (getFont): adjust
4253 (getLayoutFont): adjust
4254 (getLabelFont): adjust
4256 * paragraph.C (getFont): adjust
4257 (getLabelFont): adjust
4258 (getLayoutFont): adjust
4260 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4262 2003-04-15 John Levon <levon@movementarian.org>
4266 * lyx_main.C: handle Include in .ui files
4268 2003-04-15 John Levon <levon@movementarian.org>
4270 * MenuBackend.C: make the doc files length shorter
4273 * ToolbarBackend.C: handle toolbar placement flags,
4276 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4278 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4281 * paragraph_funcs.C (TeXOnePar): adjust
4283 * paragraph.C (getLabelFont): add outerfont arg, adjust
4284 (getLayoutFont): ditto
4285 (simpleTeXOnePar): adjust
4287 * paragraph_pimpl.C (realizeFont): delete func
4289 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
4291 * text2.C (beforeFullRowInset): added a bad getchar check, removed
4292 row argument, constify cur argument.
4294 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4296 * text2.C (getFont): adjust
4297 (getLayoutFont): adjust
4298 (getLabelFont): adjust
4300 * paragraph_funcs.C (TeXOnePar): adjust
4301 (outerFont): new func...
4302 (realizeFont): ...moved out from here, changed this to facilitate
4305 * paragraph.C (getFont): take outerfont as arg, adjust
4306 (simpleTeXOnePar): add outerfont arg, adjust
4308 * buffer.C (simpleLinuxDocOnePar): adjust
4309 (simpleDocBookOnePar): adjust
4311 * CutAndPaste.C (pasteSelection): adjust
4313 * BufferView.C (getEncoding): adjust
4315 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4317 * text2.C (setCharFont): adjust
4318 (setCounter): adjust
4320 * text.C (leftMargin): adjust
4321 (setHeightOfRow): adjust
4323 * rowpainter.C (paintFirst): adjust
4326 * paragraph_pimpl.C (realizeFont): adjust
4328 * paragraph.C (isFirstInSequence): move from here...
4329 * paragraph_funcs.C (isFirstInSequence): ...to here
4331 * paragraph.C (outerHook): move from here...
4332 * paragraph_funcs.C (outerHook): ...to here
4334 * paragraph.C (depthHook): move from here...
4335 * paragraph_funcs.C (depthHook): ...to here
4337 * paragraph.C (getEndLabel): move from here...
4338 * paragraph_funcs.C (getEndLabel): ...to here
4340 * text2.C (realizeFont): move from here...
4341 * paragraph_funcs.C (realizeFont): ...to here
4343 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4345 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4347 2003-04-14 Angus Leeming <leeming@lyx.org>
4349 * LColor.[Ch]: scrap LColor mathcursor.
4351 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4353 * lyxlex.[Ch] (text): delete function
4354 * trans.C (Load): adjust
4355 * paragraph_funcs.C (readParToken): adjust
4357 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4359 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4360 vector<char> instead of a char[].
4362 * lyxlex_pimpl.C (getString): adjust
4364 (lex): use getString
4368 * lyxlex.C (text): use pimpl_->getString()
4372 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4374 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4375 (makeFontEntriesLayoutSpecific): temp var for par.size()
4376 (setLayout): temp var for ownerParagraphs().end()
4377 (fullRebreak): temp var for rows().end()
4378 (selectionAsString): temp var for boost::next(startpit), realize
4379 that the while really is a regular for loop.
4380 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4381 setCursor in one place.
4382 (setParagraph): temp vr for ownerParagraphs().end()
4383 (updateCounters): make the while loop a for loop
4384 (cutSelection): temp var for ownerParagraphs().end()
4385 (updateInset): make the do {} while() a regular for loop
4386 (getCursorX): use temp vars
4387 (setCurrentFont): use temp vars
4388 (getColumnNearX): use temp vars
4390 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4392 * text.C (transformChar): use temp var for getChar
4393 (computeBidiTables): use temp var for row->par()
4394 (fill): move temp vars for row->par() and pit->layout() earlier in
4396 (labelFill): use temp var for row->par()
4397 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4398 asc and desc, realize that pit never changes and that firstpit is
4399 just a duplicate and not needed. Exchange rit->par() with pit in a
4401 (breakAgain): use a temp var for boost::next(rit)
4402 (breakAgainOneRow): ditto
4403 (breakParagraph): use a temp var for rows().begin()
4404 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4405 (cursorRightOneWord): use temp var for cursor.par() and
4406 cursor.pos(), remove usage of tmpcursor.
4407 (cursorLeftOneWord): use temp var for cursor.par() and
4408 cursor.pos() only set cur at end of function.
4410 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4412 * text.C, text2.C: exchange all usage of Paragraph::next with
4413 boost::next(ParagraphList::iterator)
4415 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4417 * text2.C (cursorTop): simplify implementation
4418 (cursorBottom): ditto
4419 (setParagraph): use ParagraphList::iterator
4420 (setCurrentFont): adjust
4421 (getColumnNearX): adjust
4422 (cursorRight): adjust
4423 (cursorLeft): remove usage of Paragraph::previous
4424 (cursorUpParagraph): ditto
4425 (deleteEmptyParagraphMechanism): slight cleanup
4427 * text.C (isBoundary): take a Paragraph const & instead of a
4429 (addressBreakPoint): ditto
4430 (leftMargin): remove usage of Paragraph::previous.
4431 (setHeightOfRow): ditto
4432 (cursorLeftOneWord): ditto
4433 (selectNextWordToSpellcheck): ditto
4436 (breakParagraph): remove one usage of Paragraph::next
4437 (redoParagraph): ditto
4438 (acceptChange): ditto
4439 (insertChar): adjust
4440 (rowBreakPoint): adjust
4442 * bufferview_funcs.C (toggleAndShow): adjust
4444 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
4446 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4447 methods to access it.
4449 * text.C: Added updateRowPositions to compute all row positions.
4450 Make top_y and getRowNearY() to use the cached y position
4452 2003-04-11 John Levon <levon@movementarian.org>
4454 * text.C (rowBreakPoint): reintroduce the labelEnd
4455 checks, code copied from the row fill stuff. Deep voodoo.
4457 * text.C (fill): add a comment and debugging for the
4460 2003-04-11 John Levon <levon@movementarian.org>
4462 * text.C: make sure fullrow insets get wrapped to the next line,
4463 even when they're in a manual label
4465 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4467 * text2.C (insertParagraph): make it take ParagraphList::iterator
4469 (setLayout): make it return ParagraphList::iterator
4470 (redoParagraphs): ditto
4472 (checkParagraph): ditto
4474 * text.C (getRow): make getrow take ParagraphList::iterator as arg
4476 * text2.C: adjust several funcs.
4477 (realizeFont): take a ParagraphList::iterator as arg.
4478 (getLayoutFont): ditto
4479 (getLabelFont): ditto
4480 (setCharFont): ditto
4482 * text.C: adjust several funcs.
4484 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4486 * text.C (selectNextWordToSpellcheck): don't accidentally
4489 2003-04-10 John Levon <levon@movementarian.org>
4491 * ToolbarBackend.C (getIcon): special handling for
4494 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4496 * text2.C (cursorRight): a getChar assert fixed
4498 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4500 * text2.C (getFont): change to take a ParagraphList::iterator
4501 instead of Paragraph*
4502 Adjust several functions.
4504 * text.C (transformChar): change to take a ParagraphList::iterator
4505 instead of Paragraph*
4506 (singleWidth): ditto
4507 Adjust several functions.
4509 * rowpainter.C: adjust several functions
4510 * rowpainter.h:store a ParagraphList::iterator and not a
4514 2003-04-09 John Levon <levon@movementarian.org>
4519 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4520 and the "help" bits as well
4522 2003-04-09 John Levon <levon@movementarian.org>
4525 * ToolbarBackend.C: allow multiple toolbars
4527 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4529 * undo_funcs.C (setCursorParUndo): adjust
4531 * text_funcs.C (transposeChars): adjust
4533 * text3.C (gotoNextInset): adjust
4536 * text2.C (setLayout): adjust
4537 (changeDepth): adjust
4539 (redoParagraphs): adjust
4540 (selectionAsString): adjust
4541 (setParagraph): adjust
4542 (insertInset): adjust
4543 (cutSelection): adjust
4544 (copySelection): adjust
4545 (pasteSelection): adjust
4546 (insertStringAsLines): adjust
4547 (updateInset): adjust
4548 (setCursor): change to take a ParagraphList::iterator parameter
4549 (setCursorIntern): change to take a ParagraphList::iterator parameter
4550 (setCurrentFont): adjust
4551 (cursorLeft): adjust
4552 (cursorRight): adjust
4553 (deleteEmptyParagraphMechanism): adjust
4555 * text.C (breakParagraph): adjust
4556 (insertChar): adjust
4557 (acceptChange): adjust
4558 (rejectChange): adjust
4559 (selectNextWordToSpellcheck): adjust
4560 (changeCase): adjust
4564 * lyxfind.C (SearchForward): adjust
4565 (SearchBackward): adjust
4566 (nextChange): adjust
4568 * lyxcursor.C (par): adjust
4570 * lyxcursor.h: store a ParagraphList::iterator instead of a
4573 * lyx_cb.C (getPossibleLabel): adjust
4575 * bufferview_funcs.C (toggleAndShow): adjust
4577 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4580 * BufferView.C (removeAutoInsets): adjust
4581 (lockedInsetStoreUndo): adjust
4583 2003-04-09 John Levon <levon@movementarian.org>
4585 * ToolbarBackend.C: try icon without argument
4586 if with argument fails
4588 2003-04-08 John Levon <levon@movementarian.org>
4591 * ToolbarBackend.C: add getIcon(), handle tooltip,
4592 and change from "Icon" to "Item".
4594 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4596 * BufferView.C (lockInset): another bad getchar crunched
4598 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4600 * text2.C (changeDepth): do not setUndo on test_only (make undo work
4603 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
4605 * lyxfind.C (searchForward, searchBackwards): bug 782
4607 2003-04-07 John Levon <levon@movementarian.org>
4609 * paragraph.C: remove dead comment
4611 * text.C: remove troublesome depth-fiddling code
4612 in leftMargin() and rightMargin() (bug 1017)
4614 * text.C: fix breaking of rows in nested lists
4617 * text2.C (updateCounters): fix up depth values
4620 2003-04-07 John Levon <levon@movementarian.org>
4622 * BufferView_pimpl.C: clear message when doc finishes resizing,
4623 and after a mouse event
4625 * lyxfunc.C: clear message after exiting inset
4627 2003-04-07 John Levon <levon@movementarian.org>
4629 * bufferview_funcs.C: show math status not outside
4630 status in the statusbar
4632 2003-04-07 John Levon <levon@movementarian.org>
4634 * lyxfunc.C: note status changed after a depth change
4636 2003-04-04 Angus Leeming <leeming@lyx.org>
4638 * LaTeX.h: move AuxInfo operator==, != out of line.
4639 Remove LaTeX virtual destructor; nothing derives from it.
4640 Move operator()() out of public area and rename it startscript().
4641 Change protected for private.
4643 2003-04-04 Angus Leeming <leeming@lyx.org>
4646 * text2.C: remove unneeded #includes.
4648 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4650 * text2.C (dEPM): fix the heigth of the next row
4652 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4654 * text.C: squashed an invalid getChar requester + some ws changes
4656 2003-04-03 John Levon <levon@movementarian.org>
4658 * bufferview_funcs.h:
4659 * bufferview_funcs.C:
4662 * text2.C: make getStatus work for the env depth lfuns
4664 2003-04-03 John Levon <levon@movementarian.org>
4666 * bufferview_funcs.h:
4667 * bufferview_funcs.C:
4670 * text2.C: parlistize decDepth(), by merging it with incDepth()
4672 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4674 * lyxrow.h: store a ParagraphList::iterator instead of a
4675 Paragraph* and adjust other class functions to suit.
4677 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4680 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4682 * text2.C (setCursor): do not anchor to cursor row for the time being
4684 2003-04-02 John Levon <levon@movementarian.org>
4691 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4693 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4695 * paragraph.h: make ParagraphList and ParagraphList::iterator
4696 friends of Paragraph.
4698 * buffer.C (makeLinuxDocFile): move towards ParagraphList
4700 * ParagraphList.C: Use the private next_ and previous_ from
4703 2003-04-01 John Levon <levon@movementarian.org>
4707 * Makefile.am: rename, remove defaults gunk
4710 * MenuBackend.C: remove defaults gunk
4713 * Languages.C: remove defaults gunk
4716 * lyx_main.C: error out if files couldn't be found.
4718 2003-04-02 John Levon <levon@movementarian.org>
4720 * text2.C: make incDepth() use parlist
4722 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4724 * undo_funcs.C (firstUndoParagraph): adjust
4726 * text3.C (gotoInset): adjust
4727 (dispatch): adjust, and rewrite loop.
4729 * text2.C (init): adjust, and rewrite loop.
4730 (redoParagraphs): adjust
4731 (updateInset): adjust, and rewrite loop.
4732 (deleteEmptyParagraphMechanism): adjust
4734 * tabular.C (LyXTabular): adjust
4735 (SetMultiColumn): adjust
4738 * lyxtext.[Ch] (ownerParagraph): delete function
4739 (ownerParagraphs): new function returns a ParagraphList.
4741 * BufferView.C (removeAutoInsets): adjust
4742 (insertErrors): adjust
4743 (setCursorFromRow): adjust
4745 2003-04-01 Angus Leeming <leeming@lyx.org>
4747 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4750 2003-04-02 John Levon <levon@movementarian.org>
4756 * text_funcs.C: make transposeChars a free function
4758 * lyxrow_funcs.C: remove wrong comment
4760 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4763 * rowpainter.C: adjust
4768 * lyxrow_funcs. [Ch]: new files
4770 * lyxrow.[Ch]: remove next and previous pointers
4771 (next,previous): remove accessor functions
4772 (isParEnd): move to lyxrow_funcs
4773 (lastPos): move to lyxrow_funcs
4774 (nextRowIsAllInset): move to lyxrow_funcs
4775 (lastPrintablePos): move to lyxrow_funcs
4776 (numberOfSeparators): move to lyxrow_funcs
4777 (numberOfHfills): move to lyxrow_funcs
4778 (numberOfLabelHfills): move to lyxrow_funcs
4779 (hfillExpansion): move to lyxrow_funcs
4783 * bufferview_funcs.C (toggleAndShow): adjust
4785 * RowList.h: Remove class RowList from file leave just a
4788 * RowList.C: delete file
4790 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4793 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4795 * text3.C (cursorPrevious): adjust
4796 (cursorNext): adjust
4799 * text2.C (redoHeightOfParagraph): adjust
4800 (redoDrawingOfParagraph): adjust
4803 * text.C (breakParagraph): adjust
4804 (insertChar): adjust
4807 * rowpainter.C (RowPainter): adjust
4808 (leftMargin): simplify and adjust
4809 (most rowpainter functions): adjust.
4811 * rowpainter.h: store the row as RowList::iterator not as Row*
4813 * lyxcursor.C (row): taka RowList::iterator as arg
4816 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4819 2003-04-01 Angus Leeming <leeming@lyx.org>
4821 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4822 stuff like bool Bool.
4824 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4826 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4829 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4831 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4834 * lyxtext.h (rows): drop one version and leve a const variant that
4835 returns a RowList::iterator.
4837 2003-03-31 Angus Leeming <leeming@lyx.org>
4839 * text.C (fill): ensure that the signature is the same as that in the
4842 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4844 * text2.C (redoParagraphs): adjust
4845 (updateCounters): adjust
4846 (checkParagraph): adjust
4847 (getColumnNearX): adjust and reformat a bit.
4849 * text.C (top_y): adjust
4851 (leftMargin): adjust
4852 (prepareToPrint): adjust
4854 (getRowNearY): adjust
4856 * lyxtext.h: make rowlist_ mutable.
4858 * RowList.h: add const_iterator
4859 * RowList.C: adjust for RowList::const_iterator.
4861 * text2.C (getCursorX): make it take a RowList::iterator as arg,
4864 2003-03-31 John Levon <levon@movementarian.org>
4867 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4869 * lyx_main.C: set default fonts from using lyx_gui funcs
4871 * exporter.C: pdf_mode moved from lyxrc
4874 * lyxfunc.C: changes from above
4876 2003-03-31 John Levon <levon@movementarian.org>
4878 * lyx_main.C: fix to the last fix
4880 2003-03-31 John Levon <levon@movementarian.org>
4882 * bufferlist.C: "Load original" -> "Load Original"
4888 * format.C: more Alert cleanups
4890 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4892 * text2.C (removeParagraph): make it take a RowList::iterator as
4894 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4895 (postRowPaint): make it take a RowList::iterator as arg, adjust.
4897 * text.C (anchor_row): make it take a RowList::iterator as arg,
4899 (computeBidiTables): make it take a const reference to Row instead
4900 of Row pointer, adjust.
4901 (leftMargin): make it take a RowList::iterator as arg, adjust.
4902 (rowBreakPoint): adjust
4903 (breakAgainOneRow): make it take a RowList::iterator as arg,
4905 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4907 * bufferview_funcs.C (toggleAndShow): adjust
4909 2003-03-30 John Levon <levon@movementarian.org>
4913 * boost-inst.C: moved to support
4915 * several files: changes as a result
4917 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4919 * text2.C (LyXText): adjust.
4921 (removeRow): make it take a RowList::iterator as arg, adjust.
4922 (fullRebreak): adjust
4923 (deleteEmptyParagraphMechanism): adjust
4924 (clearPaint): adjust
4927 * text.C (top_y): adjust
4928 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4929 (breakAgain): make it take a RowList::iterator as arg, adjust.
4930 (breakParagraph): adjust
4931 (insertChar): adjust
4934 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4935 need_break_row, and refresh_row.
4937 * text3.C (dispatch): adjust
4939 * text2.C (checkParagraph): adjust
4941 (setCursorFromCoordinates): adjust
4943 * text.C (top_y): adjust
4945 (getRow): make it return a RowList::iterator, adjust
4946 (getRowNearY): make it return a RowList::iterator, adjust
4948 * text2.C (init): adjust
4949 (insertRow): remove function
4950 (insertParagraph): adjust
4951 (redoParagraphs): adjust
4952 (fullRebreak): adjust
4953 (updateCounters): adjust
4955 * text.C (top_y): rewrite to use RowList iterators.
4957 (setHeightOfRow): rewrite to sue RowList iterators.
4958 (appendParagraph): adjust
4959 (breakAgain): adjust
4960 (breakAgainOneRow): adjust
4961 (breakParagraph): adjust
4963 (getRowNearY): adjust, and remove commented code.
4965 * lyxtext.h (firstRow): delete function
4966 (lastRow): delete function
4967 (rows): new function (const and non-const versions.)
4968 (insertRow): delete function
4970 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4972 2003-03-29 John Levon <levon@movementarian.org>
4974 * BufferView_pimpl.C: always update scrollbar top
4975 because pasting text when we're anchored could mean we
4976 miss an update altogether
4978 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4980 * text2.C (init): use rowlist_.end() and not 0.
4981 (insertRow): change to take a RowList::iterator as arg, adjust
4983 (insertParagraph): change to take a RowList::iterator as arg,
4985 (redoParagraphs): remove some debug msgs.
4987 * text.C (appendParagraph): change to take a RowList::iterator
4988 arg, adjust for this.
4989 (breakAgain): add an assert
4990 (breakAgainOneRow): ditto
4992 2003-03-29 John Levon <levon@movementarian.org>
4994 * text2.C: do not clear selection after inc/decDepth
4997 2003-03-29 John Levon <levon@movementarian.org>
5000 * buffer.C: fix broken strerrors according to Lars
5002 2003-03-29 John Levon <levon@movementarian.org>
5004 * converters.C: more Alert cleanups
5006 2003-03-29 John Levon <levon@movementarian.org>
5008 * bufferview_funcs.C: remove pointless Alert
5010 * buffer.C: fix confusing error message when
5011 a template is chmoded 000
5013 2003-03-29 John Levon <levon@movementarian.org>
5017 * BufferView_pimpl.C: Alert fixes
5021 * tabular-old.C: remove unused table compat reading
5023 2003-03-29 John Levon <levon@movementarian.org>
5028 * lyx_cb.C: more Alert cleanups
5030 * lyxfunc.C: don't allow chktex if not latex document
5032 2003-03-29 John Levon <levon@movementarian.org>
5036 * buffer.C: warnings pushed down from support/,
5039 2003-03-29 John Levon <levon@movementarian.org>
5041 * lyxfunc.C: safety check for C-r (revert)
5043 2003-03-29 John Levon <levon@movementarian.org>
5046 * bufferlist.C: several UI fixes using Alert::prompt.
5047 Fix the pointless looping quit code. Fix stupid revert
5052 * lyx_cb.C: use Alert::prompt
5054 * lyx_main.C: remove a silly question
5056 * lyxfunc.C: remove a couple of silly questions,
5059 2003-03-28 John Levon <levon@movementarian.org>
5061 * text2.C: fix bug 974 (End on empty par)
5063 2003-03-28 John Levon <levon@movementarian.org>
5065 * BufferView_pimpl.C:
5067 * lfuns.h: remove do-nothing math greek lfuns
5069 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5071 * lyxgluelength.h (isValidGlueLength): add default arg on
5072 parameter 2. Remove default arg from friend in class.
5074 * lyxlength.h (isValidLength): add default arg on parameter 2.
5075 Remove default arg from friend in class.
5077 * text2.C (LyXText): adjust, initialize refresh_row.
5081 (insertParagraph): adjst
5082 (redoParagraphs): adjust
5083 (fullRebreak): adjust
5084 (updateCounters): adjust
5085 (deleteEmptyParagraphMechanism): first attempt at fixing a
5088 * text.C (top_y): adjust
5089 (setHeightOfRow): adjust
5091 (getRowNearY): adjust
5093 * lyxtext.h: include RowList.h
5094 (~LyXText): not needed anymore, deleted.
5095 (firstRow): modify for RowList
5096 (lastRow): new function
5097 Delete firstrow and lastrow class variables, add a Rowlist
5098 rowlist_ class variable.
5100 * lyxrow.C (lastPos): use empty() and not !size() to check if a
5103 * RowList.C (insert): fix case where it == begin().
5105 2003-03-26 Angus Leeming <leeming@lyx.org>
5107 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5108 the thesaurus dialog.
5110 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5112 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5114 * RowList.[Ch]: new files
5116 * ParagraphList.C (erase): handle the case where it == begin
5119 2003-03-25 John Levon <levon@movementarian.org>
5123 * aspell.C: add new aspell support
5126 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5129 2003-03-25 Angus Leeming <leeming@lyx.org>
5132 * LyXAction.C (init): new LFUN_INSET_INSERT.
5134 * BufferView_pimpl.C (dispatch): split out part of the
5135 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5137 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5140 2003-03-25 Angus Leeming <leeming@lyx.org>
5142 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5144 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5147 * text3.C: remove useless row->height(0)
5149 2003-03-25 John Levon <levon@movementarian.org>
5153 * text3.C: rename the refreshing stuff to better names
5155 2003-03-24 John Levon <levon@movementarian.org>
5157 * BufferView_pimpl.h:
5158 * BufferView_pimpl.C: update layout choice on a mouse
5161 2003-03-23 John Levon <levon@movementarian.org>
5163 * Makefile.am: fix commandtags.h reference
5165 2003-03-22 John Levon <levon@movementarian.org>
5167 * BufferView_pimpl.C:
5172 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5174 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5177 * text.C: take the rtl methods out of line
5179 2003-03-21 André Pönitz <poenitz@gmx.net>
5181 * metricsinfo.[Ch]: new files containing structures to be passed around
5182 during the two-phase-drawing...
5184 2003-03-21 André Pönitz <poenitz@gmx.net>
5186 * lyxtextclass.C: read 'environment' tag.
5188 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5190 * text2.C (removeRow): fix bug 964
5192 2003-03-20 John Levon <levon@movementarian.org>
5196 * text2.C: paint cleanups. Inset::update() dropped font
5199 2003-03-19 John Levon <levon@movementarian.org>
5201 * lyxfunc.C: only fitcursor/markDirty if available()
5203 2003-03-19 John Levon <levon@movementarian.org>
5205 * commandtags.h: rename to ...
5207 * lfuns.h: ... this, and renumber / cleanup
5209 2003-03-19 John Levon <levon@movementarian.org>
5211 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5212 fit the cursor after an lfun
5216 * BufferView_pimpl.h:
5217 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5219 * LyXAction.C: layout-character should have ReadOnly
5221 * ParagraphParameters.C:
5223 * bufferview_funcs.C:
5230 * undo_funcs.C: changes from above
5232 2003-03-18 John Levon <levon@movementarian.org>
5234 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5235 remove it from update()
5237 * lyxfunc.C: update layout choice after an lfun
5239 * text3.C: remove extra updateLayoutChoice()s
5241 2003-03-18 John Levon <levon@movementarian.org>
5243 * text.C: top_y change means full repaint, fix
5244 a drawing bug with cursor movement
5246 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5250 * text2.C: anchor row on setCursor
5252 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5254 * lyxtext.h: remove almost all mutable keywords
5257 * text3.C: remove const keywords accordingly
5259 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5261 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5263 (TeXEnvironment): ditto
5266 2003-03-17 John Levon <levon@movementarian.org>
5268 * text.C (rowBreakPoint): remove attempt to fix displayed
5269 math insets inside a manual label
5271 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5273 * lyxtext.h: remove BufferView* as first arg from almost all class
5275 * other files: adjust.
5277 2003-03-17 John Levon <levon@movementarian.org>
5281 * text2.C: more paint cleanups
5283 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5286 * rowpainter.C: remove "smart" background painting code
5288 2003-03-16 John Levon <levon@movementarian.org>
5293 * text3.C: add helper functions for setting refresh_row/y
5295 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
5297 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5298 newline inset which *can* get inserted in the pass_thru layouts.
5299 This is primarily for literate documents.
5301 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
5303 * buffer.C: increment LYX_FORMAT to 223
5305 2003-03-14 André Pönitz <poenitz@gmx.net>
5307 * textclass.h: prepare for environment handling, ws changes
5308 * lyxlayout.C: read latexheader and latexfooter tags
5310 2003-03-14 John Levon <levon@movementarian.org>
5312 * text2.C: rewrite ::status() a bit
5314 2003-03-13 John Levon <levon@movementarian.org>
5316 * lyxtext.h: add some docs
5318 2003-03-13 John Levon <levon@movementarian.org>
5323 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5325 2003-03-13 John Levon <levon@movementarian.org>
5327 * text3.C: fix appendix redrawing
5329 2003-03-13 John Levon <levon@movementarian.org>
5331 * text.C (setHeightOfRow):
5333 * rowpainter.C: make appendix mark have the text
5334 "Appendix" so the user knows what it is
5337 * LColor.C: s/appendixline/appendix/ from above
5339 2003-03-13 John Levon <levon@movementarian.org>
5341 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5343 * text.C: fix a getChar(pos) bug properly
5345 2003-03-13 Angus Leeming <leeming@lyx.org>
5348 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5349 Probably only temporary. Let's see how things pan out.
5351 * BufferView.C (unlockInset):
5352 * BufferView_pimpl.C (fitCursor):
5353 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5355 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5356 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5358 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5359 new functions that convert ParagraphParameters to and from a string.
5361 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5362 BufferView::Pimpl's dispatch.
5363 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5365 2003-03-13 André Pönitz <poenitz@gmx.net>
5369 * factory.C: make it aware of InsetEnv
5371 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5373 * text2.C (setCursor): never ask for one past last
5374 (setCursor): add some debugging messages.
5376 * text.C (singleWidth): never ask for one past last
5377 (singleWidth): ditto
5379 (rightMargin): ditto
5380 (rowBreakPoint): ditto
5381 (setHeightOfRow): ditto
5382 (prepareToPrint): ditto
5384 * rowpainter.C (paintBackground): never ask for one past last
5385 (paintText): never ask for one past last
5387 * paragraph_pimpl.C (getChar): make the assert stricter, never
5388 allow the one past last pos to be taken
5390 * paragraph.C (getChar): ws changes only
5392 * lyxrow.C (nextRowIsAllInset): never ask for one past last
5393 (numberOfSeparators): ditto
5394 (numberOfHfills): ditto
5396 2003-03-12 John Levon <levon@movementarian.org>
5402 * paragraph_funcs.C: fix per-buffer authorlists
5404 2003-03-12 John Levon <levon@movementarian.org>
5406 * text.C: fix newline in right address
5408 2003-03-12 Angus Leeming <leeming@lyx.org>
5410 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5411 duplicate those in LyXFunc::dispatch.
5415 * ToolbarDefaults.C:
5416 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5417 Add LFUN_FONTFREE_UPDATE.
5419 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5420 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5422 * bufferview_func.[Ch]: several new functions to facilliate
5423 transfer of data to and from the character dialog.
5425 2003-03-12 John Levon <levon@movementarian.org>
5430 * paragraph_funcs.C:
5431 * paragraph_pimpl.C:
5435 * text3.C: remove META_NEWLINE in favour of an inset
5438 * rowpainter.C: remove paintNewline (done by inset)
5440 2003-03-12 John Levon <levon@movementarian.org>
5442 * paragraph_pimpl.C: complain about bad getChar()s
5443 for a while at least
5445 2003-03-12 John Levon <levon@movementarian.org>
5448 * buffer.C: move paragraph read into a separate function,
5449 a little renaming to reflect that.
5452 * bufferparams.C: remove the author_ids map, not necessary now
5455 * factory.C: moved Buffer::readInset to here
5457 * paragraph_funcs.h:
5458 * paragraph_funcs.C: readParagraph free function moved from
5461 * tabular.C: name change
5463 2003-03-12 John Levon <levon@movementarian.org>
5466 * ParagraphParameters.C: move par params input to
5469 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5470 behave like a normal read from the stream wrt reading
5471 a line vs. a \\token
5473 2003-03-12 John Levon <levon@movementarian.org>
5476 * ParagraphParameters.h:
5477 * ParagraphParameters.C: move output code to a
5480 2003-03-12 John Levon <levon@movementarian.org>
5482 * BufferView.C (insertLyXFile):
5485 * tabular.C: use a parlist iterator for creating the
5488 2003-03-12 John Levon <levon@movementarian.org>
5490 * buffer.C: make current_change static local not
5493 2003-03-12 John Levon <levon@movementarian.org>
5495 * buffer.C: fix insertStringAsLines for change tracking
5497 2003-03-12 John Levon <levon@movementarian.org>
5504 * bufferparams.C: move author list into params. Rename some
5505 functions. Move the header reading into a separate token
5506 loop. Move the header token reading into BufferParams.
5508 2003-03-12 John Levon <levon@movementarian.org>
5510 * changes.C: put debug inside lyxerr.debugging() checks
5512 2003-03-11 André Pönitz <poenitz@gmx.net>
5514 * factory.C: make it aware of InsetHFill
5516 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5518 * buffer.C (latexParagraphs): move function from here...
5519 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5522 2003-03-10 Angus Leeming <leeming@lyx.org>
5524 * LyXAction.C (init): fix bug in poplating array with multiple entries
5525 with the same LFUN (spotted by JMarc).
5527 2003-03-10 John Levon <levon@movementarian.org>
5530 * text2.C: move getColumnNearX() near its
5533 2003-03-10 John Levon <levon@movementarian.org>
5535 * text.C: fix break before a minipage
5537 2003-03-10 John Levon <levon@movementarian.org>
5539 * text.C: fix the last commit
5541 2003-03-09 John Levon <levon@movementarian.org>
5545 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5546 bug 365 (don't break before insets unless needed). Don't
5547 return a value > last under any circumstances.
5549 2003-03-09 Angus Leeming <leeming@lyx.org>
5551 * BufferView_pimpl.C (trackChanges, dispatch): call
5552 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5554 2003-03-09 Angus Leeming <leeming@lyx.org>
5556 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5557 than Dialogs::showAboutlyx().
5559 2003-03-09 Angus Leeming <leeming@lyx.org>
5561 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5562 than Dialogs::showTabularCreate().
5564 2003-03-09 John Levon <levon@movementarian.org>
5568 * text2.C: 3rd arg to nextBreakPoint was always the same.
5571 2003-03-08 John Levon <levon@movementarian.org>
5578 * text2.C: Remove the "main" bit from the "main body"
5581 2003-03-08 John Levon <levon@movementarian.org>
5583 * text.C (leftMargin): The left margin of an empty
5584 manual label paragraph should not include the label width
5587 * text.C (prepareToPrint): don't attempt to measure hfills
5588 for empty manual label paragraphs - the answer should be 0
5590 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5592 * CutAndPaste.C: remove commented code and reindent.
5594 2003-03-08 John Levon <levon@movementarian.org>
5597 * lyxfunc.C: move reloadBuffer()
5600 * BufferView.C: to here
5602 * lyxvc.C: add comment
5605 * vc-backend.C: call bv->reload() to avoid
5606 getStatus() check on MENURELOAD
5608 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
5610 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5611 to an old format .dep file.
5613 2003-03-07 Angus Leeming <leeming@lyx.org>
5615 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5616 when the LFUN_MOUSE_RELEASE should have been handled by
5617 inset->localDispatch.
5619 2003-03-07 Angus Leeming <leeming@lyx.org>
5621 * BufferView_pimpl.C (dispatch):
5622 * LyXAction.C (init):
5623 * ToolbarDefaults.C (init):
5625 * lyxfunc.C (getStatus):
5626 remove LFUN_INSET_GRAPHICS.
5628 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5630 2003-03-07 Angus Leeming <leeming@lyx.org>
5633 * LyXAction.C (init):
5634 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5636 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5639 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5641 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5642 localDispatch method LFUN_INSET_DIALOG_UPDATE.
5644 2003-03-07 Angus Leeming <leeming@lyx.org>
5646 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5649 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5651 * ParagraphList.C (front): new function
5654 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
5656 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5657 and top_row_offset_. removed var first_y.
5659 * text2.C (LyXText, removeRow):
5661 * BufferView_pimpl.C:
5662 use these methods instead of using first_y
5664 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5666 * text2.C (pasteSelection): adjust for checkPastePossible
5668 * CutAndPaste.C: remove Paragraph * buf and replace with
5669 ParagraphList paragraphs.
5670 (DeleteBuffer): delete
5671 (cutSelection): change the tc type to textclass_type
5672 (copySelection): change the tc type to textclass_type
5673 (copySelection): adjust for ParagraphList
5674 (pasteSelection): change the tc type to textclass_type
5675 (pasteSelection): adjust for Paragraphlist
5676 (nrOfParagraphs): simplify for ParagraphList
5677 (checkPastePossible): simplify for ParagraphList
5678 (checkPastePossible): remove unused arg
5680 * ParagraphList.C (insert): handle the case where there are no
5683 * CutAndPaste.h: make CutAndPaste a namespace.
5685 * text3.C (dispatch): adjust
5687 * text.C (breakParagraph): add a ParagraphList as arg
5689 * paragraph_funcs.C (breakParagraph): change to take a
5690 BufferParams and a ParagraphList as args.
5691 (breakParagraphConservative): ditto
5692 (mergeParagraph): ditto
5693 (TeXDeeper): add a ParagraphList arg
5694 (TeXEnvironment): ditto
5697 * buffer.C (readLyXformat2): adjust
5698 (insertStringAsLines): adjust
5699 (latexParagraphs): adjust
5701 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5702 (cutSelection): adjust
5703 (pasteSelection): adjust
5705 * BufferView_pimpl.C (insertInset): adjust
5707 2003-03-05 Angus Leeming <leeming@lyx.org>
5710 * LyXAction.C (init):
5711 * BufferView_pimpl.C (dispatch):
5712 * lyxfunc.C (getStatus):
5713 remove LFUN_CHILD_INSERT.
5715 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5717 2003-03-05 Angus Leeming <leeming@lyx.org>
5720 * LyXAction.C (init):
5721 * src/factory.C (createInset):
5722 * lyxfunc.C (getStatus):
5723 * text3.C (dispatch):
5724 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5726 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5728 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5730 * ParagraphList.C (insert): handle insert right before end()
5731 (erase): fix cases where it can be first or last paragraph.
5733 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5735 * paragraph_funcs.C (TeXEnvironment): remove all usage of
5736 Paragraph::next and Paragraph::previous
5739 * text.C (breakParagraph): adjust
5741 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5742 BufferParams& as arg.
5743 (breakParagraph): use ParagraphList::insert
5744 (breakParagraphConservative): take a Buffer* instead of a
5745 BufferParams& as arg.
5746 (breakParagraphConservative): use ParagraphList::insert.
5748 * buffer.C (insertStringAsLines): un-const it
5749 (insertStringAsLines): adjust
5751 * ParagraphList.C (insert): new function
5753 * CutAndPaste.C (pasteSelection): adjust
5755 * text.C (backspace): adjust
5757 * tabular.C (SetMultiColumn): adjust
5759 * CutAndPaste.C (cutSelection): adjust
5760 (pasteSelection): adjust
5762 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5763 Buffer const * as arg
5765 * ParagraphList.C (erase): new function
5766 * paragraph_funcs.C (mergeParagraph): use it
5767 (mergeParagraph): make it take a Buffer* instead of a
5768 BufferParams* as arg
5770 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5772 (breakParagraphConservative): ditto
5774 * paragraph.h: remove the breakParagraph friend
5776 * paragraph.C (eraseIntern): new function
5777 (setChange): new function
5779 * paragraph_funcs.C (mergeParagraph): make it take a
5780 ParagraphList::iterator instead of a Paragraph *, adjust
5783 * paragraph.h: move an #endif so that the change tracking stuff
5784 also works in the NO_NEXT case.
5786 2003-03-04 Angus Leeming <leeming@lyx.org>
5789 * LyXAction.C: new LFUN_INSET_MODIFY.
5791 * BufferView_pimpl.C (dispatch): if an inset is found to be open
5792 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5794 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5796 * several files: ws changes only
5798 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5799 (TeXEnvironment): ditto
5802 * buffer.C (makeLaTeXFile): adjust
5803 (latexParagraphs): make it take ParagraphList::iterator as args
5805 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5807 * buffer.C (latexParagraphs): adjust
5809 * paragraph.C (TeXOnePar): move function...
5810 (optArgInset): move function...
5811 (TeXEnvironment): move function...
5812 * paragraph_pimpl.C (TeXDeeper): move function...
5813 * paragraph_funcs.C: ...here
5815 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5817 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5819 * buffer.C (readInset): remove compability code for old Figure and
5822 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5824 * buffer.C: ws changes
5827 * BufferView_pimpl.C: ditto
5830 * bufferlist.h: ditto
5834 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
5836 * converter.[Ch]: split into itself +
5839 * Makefile.am: += graph.[Ch] + format.[Ch]
5846 * lyxrc.C: added #include "format.h"
5848 2003-02-27 Angus Leeming <leeming@lyx.org>
5850 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5853 * factory.C (createInset): add "label" to the factory.
5855 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5856 string and do no more.
5858 2003-02-27 Angus Leeming <leeming@lyx.org>
5861 * LyXAction.C (init):
5862 * factory.C (createInset):
5863 * BufferView_pimpl.C (dispatch):
5864 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5866 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5868 * lyxfunc.C (dispatch):
5869 * text3.C (dispatch): pass name to params2string.
5871 2003-02-26 Angus Leeming <leeming@lyx.org>
5873 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5875 Rearrange the ~includes. Strip out the unnecessary ones.
5877 * factory.C (createInset): reformat.
5878 create new insets for the various LFUN_XYZ_APPLY lfuns.
5880 2003-02-26 John Levon <levon@movementarian.org>
5883 * lyxrow.C: add isParStart,isParEnd helpers
5885 * paragraph.h: make isInserted/DeletedText take refs
5887 * paragraph_funcs.h:
5888 * paragraph_funcs.C: remove #if 0'd code
5893 * text.C: use lyxrow helpers above.
5894 Move draw and paint routines to RowPainter.
5895 Make several methods use refs not pointers.
5896 Make backgroundColor() const.
5897 Add markChangeInDraw(), isInInset().
5898 Merge changeRegionCase into changeCase.
5899 Make workWidth() shouldn't-happen code into an Assert.
5902 * rowpainter.C: new class for painting a row.
5905 * vspace.C: make inPixels take a ref
5907 2003-02-26 Angus Leeming <leeming@lyx.org>
5909 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5912 2003-02-25 John Levon <levon@movementarian.org>
5914 * ispell.C: give the forked command a more accurate name
5916 2003-02-22 John Levon <levon@movementarian.org>
5919 * toc.C: make TocItem store an id not a Paragraph *
5922 2003-02-21 Angus Leeming <leeming@lyx.org>
5924 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5925 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5926 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5927 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5928 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5929 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5931 * BufferView_pimpl.C (dispatch):
5932 * LyXAction.C (init):
5933 * factory.C (createInset):
5934 * lyxfunc.C (getStatus, dispatch):
5935 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5937 2003-02-21 Angus Leeming <leeming@lyx.org>
5939 * BufferView_pimpl.C (MenuInsertLyXFile):
5940 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5941 * lyxfunc.C (menuNew, open, doImport):
5942 no longer pass a LyXView & to fileDlg.
5944 2003-02-21 Angus Leeming <leeming@lyx.org>
5946 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5947 * LyXAction.C: change, BIBKEY to BIBITEM.
5948 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5949 Change InsetBibKey to InsetBibitem.
5950 Change BIBKEY_CODE to BIBITEM_CODE.
5951 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5952 * factory.C: replace insetbib.h with insetbibitem.h.
5953 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5954 * paragraph.C: replace insetbib.h with insetbibitem.h.
5955 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5956 Change bibkey() to bibitem().
5957 * text.C: remove insetbib.h.
5958 * text2.C: replace insetbib.h with insetbibitem.h.
5959 change bibkey() to bibitem().
5960 * text3.C: remove insetbib.h.
5961 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5963 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5965 * lyxrc.C (output): enclose user email in quotes (in case there are
5968 2003-02-18 John Levon <levon@movementarian.org>
5970 * buffer.h: add std::
5972 2003-02-17 John Levon <levon@movementarian.org>
5978 * pspell.C: reworking. Especially in ispell, a large
5979 number of clean ups and bug fixes.
5981 * lyxfunc.C: fix revert to behave sensibly
5983 2003-02-17 André Pönitz <poenitz@gmx.net>
5986 * commandtags.h: new LFUN_INSERT_BIBKEY
5996 * paragraph_func.C: remove special bibkey handling
5998 2003-02-17 John Levon <levon@movementarian.org>
6000 * text.C (Delete): fix case where delete at the end of
6001 the very first paragraph would not merge the pars
6003 2003-02-17 John Levon <levon@movementarian.org>
6005 * lyxrow.C: fix lastPrintablePos()
6007 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6009 * bufferparams.C (writeLaTeX): add a std:here
6011 * buffer.C: and remove a using directive there
6013 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6015 * buffer.C (makeLaTeXFile): move the code that generates the
6018 * bufferparams.C (writeLaTeX): ... in this new method
6020 * LaTeXFeatures.C (getEncodingSet): make const
6021 (getLanguages): make const
6023 * MenuBackend.C (binding): returns the binding associated to this
6025 (add): sets the status of each item by calling getStatus. Adds
6027 (read): add support for OptSubMenu
6028 (expand): remove extra separator at the end of expanded menu
6030 2003-02-15 John Levon <levon@movementarian.org>
6033 * BufferView_pimpl.C:
6035 * bufferlist.C: remove pointless BufferStorage bloat. Remove
6036 inset code that had no actual effect. Remove unneeded status
6039 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6041 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6044 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
6046 * text.C (drawLengthMarker): also draw an arrow marker for
6047 symbolic lengths (medskip...)
6049 2003-02-14 John Levon <levon@movementarian.org>
6052 * tabular.C: better method names
6054 2003-02-14 John Levon <levon@movementarian.org>
6056 * BufferView_pimpl.C:
6061 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6062 it's a more accurate name. Remove some pointless uses.
6064 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6066 * text2.C (LyXText): change order of initilizers to shut off
6069 2003-02-14 John Levon <levon@movementarian.org>
6071 * buffer.C: use ParIterator for getParFromID()
6075 * paragraph_pimpl.h:
6076 * paragraph_pimpl.C: remove unused getParFromID()
6078 2003-02-14 John Levon <levon@movementarian.org>
6080 * buffer.C: remove some very old #if 0'd parse code
6082 2003-02-13 John Levon <levon@movementarian.org>
6086 * text2.C: move hfillExpansion(), numberOfSeparators(),
6087 rowLast(), rowLastPrintable(), numberofHfills(),
6088 numberOfLabelHfills() ...
6091 * lyxrow.C: ... to member functions here.
6096 * text.C: remove LyXText::beginningOfMainBody(), and call
6097 p->beginningOfMainBody() directly. Move the check for
6098 LABEL_MANUAL into the latter.
6105 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6111 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6112 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6114 2003-02-13 John Levon <levon@movementarian.org>
6116 * CutAndPaste.C: remove debug
6118 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6120 * paragraph.C (asString): remove two unused variables
6122 * lyxtextclass.C (readTitleType):
6124 (LyXTextClass): handle new members titletype_ and titlename_
6126 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6128 2003-02-09 John Levon <levon@movementarian.org>
6131 * buffer.C: replace hand-coded list with a map for the dep clean
6133 2003-02-08 John Levon <levon@movementarian.org>
6135 * LaTeX.C: consolidate code into showRunMessage() helper
6137 2003-02-08 John Levon <levon@movementarian.org>
6142 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6143 and pass the size in explicitly
6145 * BufferView_pimpl.h:
6146 * BufferView_pimpl.C:
6148 * BufferView.C: add getCurrentChange()
6150 * BufferView_pimpl.h:
6151 * BufferView_pimpl.C: handle change lfuns
6153 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6154 for changes. Mark pasted paragraphs as new.
6156 * support/lyxtime.h:
6157 * support/lyxtime.C:
6158 * DepTable.C: abstract time_t as lyx::time_type
6161 * LColor.C: add colours for new text, deleted text, changebars
6163 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6164 package use "usenames" option.
6168 * LyXAction.C: add change lfuns
6172 * author.C: author handling
6175 * buffer.C: add a per-buffer author list, with first entry as
6176 current author. Handle new .lyx tokens for change tracking. Output
6177 author list to .lyx file. Output dvipost stuff to .tex preamble.
6178 Bump lyx format to 222.
6181 * bufferlist.C: add setCurrentAuthor() to reset current author details
6185 * bufferparams.C: add param for tracking
6187 * bufferview_funcs.C: output change info in minibuffer
6191 * changes.C: add change-tracking structure
6194 * debug.C: add CHANGES debug flag
6197 * lyxfind.C: add code for finding the next change piece
6200 * lyxrc.C: add user_name and user_email
6203 * lyxrow.C: add a metric for the top of the text line
6206 * text.C: implement accept/rejectChange()
6209 * text.C: paint changebars. Paint new/deleted text in the chosen
6210 colours. Strike through deleted text.
6214 * paragraph_pimpl.h:
6215 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6216 in the current change to the insert functions. Rework erase to
6217 mark text as deleted, adding an eraseIntern() and a range-based
6218 erase(). Implement per-paragraph change lookup and
6221 * paragraph_funcs.C: Fixup paste for change tracking.
6223 * tabular.C: mark added row/columns as new.
6225 * text.C: fix rowLast() to never return -1. Don't allow
6226 spellchecking of deleted text. Track transpose changes. Don't
6227 allow paragraph break or merge where appropriate.
6229 * text2.C: leave cursor at end of selection after a cut.
6231 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6233 * text.C (getLengthMarkerHeight):
6234 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6235 visible on screen too.
6237 2003-02-07 John Levon <levon@movementarian.org>
6239 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6241 2003-02-05 Angus Leeming <leeming@lyx.org>
6243 * lyxserver.C (read_ready): revert my patch of 11 September last year
6244 as it sends PC cpu through the roof. Presumably this means that
6245 the lyxserver will no longer run on an Alpha...
6247 2003-01-30 Angus Leeming <leeming@lyx.org>
6249 * factory.C (createInset): create an InsetCommandParam of type "index"
6250 and use it to 'do the right thing'.
6252 * text2.C (getStringToIndex): ensure that cursor position is always
6253 reset to the reset_cursor position.
6255 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6257 * lyxfunc.C (getStatus): "buffer-export custom" should never be
6260 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
6264 * lyxfunc.C: Output messages with identical spelling, punctuation,
6267 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
6269 * MenuBackend.C (expandFormats): List only viewable export formats
6272 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6275 * lyxfunc.C (getStatus): Make sure that formats other than
6276 "fax" can also be disabled
6278 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6280 * text3.C (dispatch): put the lfuns that insert insets in 3
6281 groups, and call doInsertInset with appropriate arguments.
6282 (doInsertInset): new function, that creates an inset and inserts
6283 it according to some boolean parameters.
6285 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6287 * buffer.C (readFile): remember to pass on 'par' when calling
6288 readFile recursively.
6290 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6292 * MenuBackend.C (expandFormats): add "..." to import formats.
6294 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
6296 * paragraph.C (asString): Remove XForms RTL hacks.
6298 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
6299 * buffer.C: fix typo
6301 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6303 * Makefile.am (LIBS): delete var
6304 (lyx_LDADD): add @LIBS@ here instead.
6306 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
6308 * Clarify the meaning of "wheel mouse jump"
6310 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6312 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6315 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6317 * importer.C (Loaders): do not preallocate 3 elements in the
6318 vector, since one ends up with 6 elements otherwise
6320 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6322 * DepTable.C (write): write the file name as last element of the
6323 .dep file (because it may contain spaces)
6324 (read): read info in the right order
6326 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6328 * paragraph_pimpl.C (simpleTeXBlanks):
6329 (simpleTeXSpecialChars):
6330 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6332 * tabular.C (latex): add some missing case statements. Reindent.
6334 * MenuBackend.C (expandToc): remove unused variable.
6336 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
6345 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6348 2003-01-05 John Levon <levon@movementarian.org>
6351 * BufferView.C: add getEncoding()
6354 * kbsequence.C: do not store last keypress
6357 * lyxfunc.C: store last keypress here instead. Pass encoding
6360 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6362 * lyx_main.C (init): remove annoying error message when following
6363 symbolic links (bug #780)
6365 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6367 * text.C (insertChar):
6368 * lyxrc.C (getDescription): remove extra spaces
6370 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6372 * lyxrc.C (getDescription): remove extra spaces
6374 2002-12-20 John Levon <levon@movementarian.org>
6376 * text3.C: hack fix for page up/down across tall rows
6378 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6380 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6383 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6385 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6386 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6387 thesaurus is not compiled in
6389 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
6391 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
6393 2002-12-16 Angus Leeming <leeming@lyx.org>
6396 * lyx_main.C (init): remove override_x_deadkeys stuff.
6398 2002-12-12 John Levon <levon@movementarian.org>
6400 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6401 insert. Only remove shift modifier under strict
6404 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6406 * MenuBackend.C (expandToc): fix crash.
6408 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6410 * MenuBackend.C (expandToc): gettext on float names.
6412 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6414 * lyxlength.[Ch]: set default unit to UNIT_NONE,
6415 implement bool empty() [bug 490]
6417 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6419 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6421 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6423 * several files: ws changes
6425 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6427 * text2.C (setCounter): clean up a bit, use boost.format.
6428 (updateCounters): initialize par upon declaration.
6430 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6431 if the layout exists. We do not just store the layout any more.
6432 (SwitchLayoutsBetweenClasses): use boost.format
6434 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6436 * converter.C (convert): if from and to files are the same, use a
6437 temporary files as intermediary
6439 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6442 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6444 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
6446 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6448 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6450 * tabular.C (asciiPrintCell): use string(size, char) instead of
6453 * sgml.C (openTag): fix order of arguments to string constructor
6456 * lyxfunc.C (dispatch): use boost.format
6458 * lots of files: change "c" -> 'c'
6460 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
6462 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6464 2002-11-25 Angus Leeming <leeming@lyx.org>
6466 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6468 * lyx_main.C (init): compile fix.
6470 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6472 * lyx_cb.C (start): boost.formatify
6473 do not include <iostream>
6475 * lengthcommon.C: ws only
6477 * boost-inst.C,BoostFormat.h: add more explict instantations
6479 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6481 * lots of files: handle USE_BOOST_FORMAT
6483 2002-11-21 John Levon <levon@movementarian.org>
6485 * pspell.C: fix compile
6487 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6489 * lyxfunc.C (dispatch): use boost::format
6493 * lyxfont.C (stateText): use boost::format
6495 * lyx_main.C (LyX): use boost::format
6497 (queryUserLyXDir): ditto
6500 (typedef boost::function): use the recommened syntax.
6502 * importer.C (Import): use boost::format
6504 * debug.C (showLevel): use boost::format
6506 * converter.C (view): use boost::format
6511 * bufferview_funcs.C (currentState): use boost::format
6513 * bufferlist.C (emergencyWrite): use boost::format
6515 * buffer.C (readLyXformat2): use boost::format
6516 (parseSingleLyXformat2Token): ditto
6518 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6520 * LaTeX.C (run): use boost::format
6522 * Chktex.C (scanLogFile): use boost::format
6524 * BufferView_pimpl.C (savePosition): use boost::format
6525 (restorePosition): ditto
6526 (MenuInsertLyXFile): ditto
6528 * BoostFormat.h: help file for explicit instation.
6530 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
6532 * tabular.C (latex): Support for block alignment in fixed width
6535 2002-11-17 John Levon <levon@movementarian.org>
6537 * BufferView_pimpl.C:
6539 * lyxfunc.C: split filedialog into open/save
6541 2002-11-08 Juergen Vigna <jug@sad.it>
6543 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6544 by my last patch (hopefully).
6546 2002-11-08 John Levon <levon@movementarian.org>
6555 * toc.C: ParConstIterator, and use it (from Lars)
6557 2002-11-07 Ben Stanley <bds02@uow.edu.au>
6559 * lyxtextclass.[Ch]: revise and add doxygen comments
6561 2002-11-07 John Levon <levon@movementarian.org>
6563 * text.C: fix progress value for spellchecker
6565 * toc.C: fix navigate menu for insetwrap inside minipage
6567 * paragraph_funcs.C: added FIXME for suspect code
6569 2002-11-07 John Levon <levon@movementarian.org>
6571 * BufferView_pimpl.C: fix redrawing of insets
6574 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6576 * text2.C (updateCounters): fix bug 668
6578 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
6580 * text3.C (dispatch): Do not make the buffer dirty when moving the
6583 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6585 * vc-backend.C: STRCONV
6588 * text2.C (setCounter): STRCONV
6590 * paragraph.C (asString): STRCONV
6592 * lyxlength.C (asString): STRCONV
6593 (asLatexString): ditto
6595 * lyxgluelength.C (asString): STRCONV
6596 (asLatexString): ditto
6598 * lyxfunc.C (dispatch): STRCONV
6601 * lyxfont.C (stateText): STRCONV
6603 * importer.C (Import): STRCONV
6605 * counters.C (labelItem): STRCONV
6606 (numberLabel): ditto
6607 (numberLabel): remove unused ostringstream o
6612 * bufferview_funcs.C (currentState): STRCONV
6614 * buffer.C (readFile): STRCONV
6615 (asciiParagraph): ditto
6616 (makeLaTeXFile): ditto
6618 * Spacing.C (writeEnvirBegin): STRCONV
6620 * LaTeXFeatures.C (getLanguages): STRCONV
6621 (getPackages): ditto
6623 (getBabelOptions): ditto
6624 (getTClassPreamble): ditto
6625 (getLyXSGMLEntities): ditto
6626 (getIncludedFiles): ditto
6630 (scanAuxFile): ditto
6633 * LString.h: add the STRCONV macros
6635 * BufferView_pimpl.C (savePosition): STRCONV
6636 (restorePosition): ditto
6637 (MenuInsertLyXFile): ditto
6639 * vc-backend.C (scanMaster): change from submatch[...] to
6642 * funcrequest.C: include config.h
6644 * factory.C: include config.h
6646 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6648 * box.C: include config.h
6650 * LaTeX.C (scanAuxFile): change from submatch[...] to
6654 2002-10-25 Angus Leeming <leeming@lyx.org>
6656 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6658 * ispell.[Ch] (setError): new method.
6659 * ispell.C (c-tor): move out child process into new class LaunchIspell.
6660 Use setError() insetead of goto END.
6662 * lyx_cb.C (AutoSave): move out child process into new class
6665 2002-10-30 John Levon <levon@movementarian.org>
6667 * text3.C: make start appendix undoable
6669 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
6671 * lyxlength.C (inPixels): Fix returned value.
6673 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6676 2002-10-24 Angus Leeming <leeming@lyx.org>
6678 * lyxgluelength.h: no need to forward declare BufferParams
6679 or BufferView, so don't.
6681 2002-10-21 John Levon <levon@movementarian.org>
6683 * BufferView.C: menuUndo ->undo, redo
6685 * BufferView.h: document, remove dead, make some methods private
6687 * paragraph_funcs.h:
6688 * paragraph_funcs.C:
6689 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6694 * sgml.C: move sgml open/close tag into sgml.C
6696 * bufferview_funcs.h: unused prototype
6699 * lyxfunc.C: remove unused
6702 * text.C: remove unused
6704 2002-10-21 John Levon <levon@movementarian.org>
6708 * BufferView_pimpl.h:
6709 * BufferView_pimpl.C: fix mouse wheel handling based on
6710 patch from Darren Freeman
6712 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
6714 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6716 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
6718 * lyxlength.C (inPixels): Fix hanfling of negative length.
6719 Fix LyXLength::MU case.
6721 2002-10-16 John Levon <levon@movementarian.org>
6723 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6725 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6727 * converter.C (view): add support for $$i (file name) and $$p
6728 (file path) for the viewer command. If $$i is not specified, then
6729 it is appended to the command (for compatibility with old syntax)
6731 2002-10-14 Juergen Vigna <jug@sad.it>
6733 * undo_funcs.C (textHandleUndo): alter the order in which the
6734 new undopar is added to the LyXText, as we have to set first
6735 the right prev/next and then add it as otherwise the rebuild of
6736 LyXText is not correct. Also reset the cursor to the right paragraph,
6737 with this IMO we could remove the hack in "redoParagraphs()".
6739 2002-10-09 Angus Leeming <leeming@lyx.org>
6741 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6742 to turn off an optimisation if a new inset is to be inserted.
6744 2002-10-11 André Pönitz <poenitz@gmx.net>
6746 * lyxtext.h: make some functions public to allow access
6747 from inset/lyxtext for handling LFUN_PRIOR/NEXT
6749 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6751 * text3.C (dispatch): when changing layout, avoid an infinite loop
6754 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6756 * lyxrc.C (read): treat a viewer or converter command of "none" as
6759 * MenuBackend.C (expandFormats): for an update, also allow the
6760 formats that are not viewable
6762 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6763 script if it is newer than the lyxrc.defaults in user directory
6765 2002-10-07 André Pönitz <poenitz@gmx.net>
6767 * text.C: Vitaly Lipatov's small i18n fix
6769 2002-09-25 Angus Leeming <leeming@lyx.org>
6771 * ispell.h: doxygen fix.
6773 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
6775 * buffer.h (readFile): Add a new argument to the method, to allow
6776 reading of old-format templates.
6778 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
6780 * toc.C (getTocList): Get TOC from InsetWrap.
6782 2002-09-16 John Levon <levon@movementarian.org>
6784 * lyxfunc.C: check tabular for cut/copy too
6786 2002-09-12 John Levon <levon@movementarian.org>
6791 * factory.C: add header
6793 * paragraph_funcs.h:
6794 * paragraph_funcs.C: cleanup
6796 2002-09-11 John Levon <levon@movementarian.org>
6798 * PrinterParams.h: odd/even default to true
6800 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
6802 * PrinterParams.h: update printer parameters for new xforms dialog
6804 2002-09-11 Angus Leeming <leeming@lyx.org>
6806 * lyxserver.C (read_ready): re-write to make it more transparent
6807 and to make it work in coherent fashion under Tru64 Unix.
6809 2002-09-11 André Pönitz <poenitz@gmx.net>
6813 * text3.C: implement LFUN_WORDSEL
6815 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6817 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6818 make floatlist_ a boost::shared_ptr<FloatList>
6820 * lyxtextclass.C: include FloatList.h
6821 (LyXTextClass): initialize floatlist_
6822 (TextClassTags): add TC_NOFLOAT
6823 (Read): match "nofloat" to TC_NOFLOAT and use it.
6824 (readFloat): modify call to floatlist_
6828 * FloatList.[Ch] (FloatList): remove commented out float
6830 (erase): new function
6832 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6834 * MenuBackend.C (expandToc): fix crash when there is no document
6837 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
6839 * many files: Add insetwrap.
6841 2002-09-09 John Levon <levon@movementarian.org>
6843 * text2.C: remove confusing and awkward depth wraparound
6845 2002-09-09 John Levon <levon@movementarian.org>
6847 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6850 * buffer.C: remove getIncludeonlyList()
6853 * lyxfunc.C: remove headers
6855 2002-09-09 Juergen Vigna <jug@sad.it>
6857 * text.C (getColumnNearX): fix form Michael this is most
6858 probably a cut&paste bug.
6860 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6862 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6864 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6865 references, ws changes.
6867 * text2.C (init): update counters after init
6868 (insertParagraph): no need to set counter on idividual paragraphs.
6869 (setCounter): access the counters object in the textclass object
6870 on in the buffer object.
6871 (updateCounters): ditto
6873 * lyxtextclass.C: include counters.h, add variable ctrs_ as
6874 shared_ptr<Counters> to avoid loading counters.h in all
6876 (LyXTextClass): initialize ctrs_
6877 (TextClassTags): add TC_COUNTER, and ...
6878 (Read): use it here.
6879 (CounterTags): new tags
6880 (readCounter): new function
6881 (counters): new funtion
6882 (defaultLayoutName): return a const reference
6884 * counters.C (Counters): remove contructor
6885 (newCounter): remove a couple of unneeded statements.
6886 (newCounter): simplify a bit.
6887 (numberLabel): some small formatting changes.
6889 * buffer.[Ch]: remove all traces of counters, move the Counters
6890 object to the LyXTextClass.
6892 2002-09-06 Alain Castera <castera@in2p3.fr>
6894 * tabular.C: uses \tabularnewline; uses >{...} construct from array
6895 package to set the horizontal alignment on fixed width columns.
6898 * lyx_sty.h: added tabularnewline macro def.
6900 * LaTeXFeatures.C: added NeedTabularnewline macro feature
6902 2002-09-06 John Levon <levon@movementarian.org>
6904 * LyXAction.C: tooltips for sub/superscript
6906 * MenuBackend.C: a bit more verbose
6908 * lyxfunc.C: tiny clean
6910 * undo_funcs.C: document undo_frozen
6912 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6914 * counters.C (Counters): add missing algorithm counter.
6916 * text2.C (setCounter): lookup the counter with layouts latexname
6917 instead of by section number.
6918 (setCounter): use a hackish way to lookup the correct enum
6920 a float name->type change
6921 reset enum couners with counter name directly instead of depth value.
6923 * counters.C (Counters): remove the push_backs, change to use the
6924 float type not the float name.
6925 (labelItem): remove unused string, float name->type change
6927 * counters.h: don't include vector, loose the enums and sects vectors
6929 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6931 * lyxtextclass.C (TextClassTags): add TC_FLOAT
6932 (Read): add float->TC_FLOAT to textclassTags
6933 (Read): and handle it in the switch
6934 (readFloat): new function
6936 * FloatList.C (FloatList): comment out the hardcoded float
6939 * lyxlayout.h: ws change.
6941 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
6943 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6945 2002-09-03 Angus Leeming <leeming@lyx.org>
6947 * BufferView_pimpl.h: qualified name is not allowed in member
6948 declaration: WorkArea & Pimpl::workarea() const;
6950 * factory.C: added using std::endl directive.
6952 * text3.C: added using std::find and std::vector directives.
6954 2002-08-29 André Pönitz <poenitz@gmx.net>
6957 * text2.C: remove unused member number_of_rows
6960 * BufferView2.C: remove file, move contents to...
6961 * BufferView.C: ... here
6963 * BufferView_pimpl.C:
6964 * factory.C: move more inset creation to factory
6966 * vspace.C: avoid direct usage of LyXText, ws changes
6969 don't provide direct access to WorkArea, use two simple
6970 acessors haveSelction() and workHeight() instead
6973 2002-08-29 John Levon <levon@movementarian.org>
6975 * BufferView_pimpl.C (dispatch): do not continue when
6978 2002-08-28 André Pönitz <poenitz@gmx.net>
6980 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6983 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6985 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
6987 * buffer.C: increment LYX_FORMAT to 221
6989 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6990 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6992 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6994 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6996 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6998 * factory.C (createInset): use LyXTextClass::floats
7000 * MenuBackend.C (expandFloatListInsert):
7001 (expandFloatInsert):
7004 * text2.C (setCounter):
7006 * LaTeXFeatures.C (useFloat):
7007 (getFloatDefinitions):
7009 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7011 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7012 floatlist_, with accessor floats().
7014 * FloatList.h: remove global FloatList
7016 2002-08-26 André Pönitz <poenitz@gmx.net>
7018 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7022 * BufferView_pimpl.C:
7023 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7025 2002-08-25 John Levon <levon@movementarian.org>
7027 * LyXAction.C: fix margin note description
7029 2002-08-24 John Levon <levon@movementarian.org>
7033 * bufferview_funcs.C:
7035 * undo_funcs.C: cleanups
7037 * lyxfunc.C: disable CUT/COPY when no selection
7039 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
7041 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7042 in "enum UNIT"; e.g. PTW for Percent of TextWidth
7044 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7045 Add backward compatibility to "mono", "gray" and "no".
7047 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
7049 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7050 (and file_format >= 200).
7052 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7054 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7056 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7058 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7060 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
7062 * BufferView_pimpl.C:
7069 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7070 inset and code to make it work with the paragraph code. The inset
7071 can be anywhere in the paragraph, but will only do the expected
7072 thing in LaTeX if the layout file contains the parameter line
7074 (or more generally, a nonzero value) for that layout.
7076 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7078 * paragraph.h: remove the declaration of undefined counters class
7081 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
7083 * text2.C (setCounter): fixed enumeration mis-count as reported by
7084 Dr. Richard Hawkins.
7086 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7088 * paragraph_funcs.h: remove some unneeded includes
7090 * text.C (backspace): pasteParagraph now in global scipe
7092 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7093 (pasteSelection): ditto
7095 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7096 * paragraph_funcs.C (pasteParagraph): ... here
7098 2002-08-20 André Pönitz <poenitz@gmx.net>
7100 * commandtags.h: new LFUNs for swapping/copying table row/colums
7103 * lyxfunc.C: support for new lfuns
7105 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7108 * buffer.[Ch]: remove NO_COMPABILITY stuff
7110 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
7112 * boost.C (throw_exception): new file, with helper function for
7113 boost compiled without exceptions.
7118 * ParameterStruct.h:
7119 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7121 * bufferlist.C (emergencyWriteAll): use boost bind
7123 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7125 * text.C: include paragraph_funcs.h
7126 (breakParagraph): breakParagraph is now in global scope
7128 * paragraph_funcs.[Ch]: new files
7130 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7133 * buffer.C: include paragraph_funcs.h
7134 (insertStringAsLines): breakParagraph is now in global scope
7136 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7139 * CutAndPaste.C: include paragraph_funcs.h
7140 (cutSelection): breakParagraphConservative is now in global scope
7141 (pasteSelection): ditto
7143 * buffer.h: declare oprator== and operator!= for
7144 Buffer::inset_iterator
7146 * bufferlist.C (emergencyWrite): don't use fmt(...)
7148 * text3.C: add using std::endl
7150 * BufferView.C (moveCursorUpdate): remove default arg
7152 2002-08-20 André Pönitz <poenitz@gmx.net>
7154 * buffer.[Ch]: move inline functions to .C
7157 * BufferView_pimpl.C:
7159 * buffer.[Ch]: use improved inset_iterator
7162 * paragraph.[Ch]: write one paragraph at a time
7164 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7166 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7167 style if style is not specified.
7169 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7171 * text2.C (setCounter): when searching for right label for a
7172 caption, make sure to recurse to parent insets (so that a caption
7173 in a minipage in a figure float works) (bug #568)
7175 2002-08-20 André Pönitz <poenitz@gmx.net>
7177 * text3.C: new file for LyXText::dispatch() and helpers
7179 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7181 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7183 2002-08-19 André Pönitz <poenitz@gmx.net>
7186 * text.C: new LyXText::dispatch()
7188 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7190 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7192 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7194 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7197 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7199 * Makefile.am: use $(variables) instead of @substitutions@
7201 2002-08-15 André Pönitz <poenitz@gmx.net>
7204 * BufferView_pimpl.C: streamlining mathed <-> outer world
7208 * LyXAction.C: remove unused LFUN_MATH
7210 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7212 * paragraph.[Ch]: add some NO_NEXT ifdefs.
7214 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7216 * paragraph.C (Paragraph): reformat a bit
7217 (cutIntoMinibuffer): use builtin InsetList function instad of
7221 * buffer.C: include boost/bind.hpp, add using std::for_each
7222 (writeFileAscii): use ParagraphList iterators
7223 (validate): use for_each for validate traversal of paragraphs
7224 (getBibkeyList): use ParagraphList iterators
7225 (resizeInsets): use for_each to resizeInsetsLyXText for all
7227 (getParFromID): use ParagraphList iterators
7229 * BufferView2.C (lockInset): use paragraph list and iterators
7231 2002-08-14 John Levon <levon@movementarian.org>
7233 * lyxserver.C: remove spurious xforms include
7235 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7237 * lyxfunc.C (getStatus): disable math-extern outside of math mode
7239 2002-08-13 André Pönitz <poenitz@gmx.net>
7242 * lyxfunc.C: further cleaning
7244 2002-08-13 André Pönitz <poenitz@gmx.net>
7246 * funcrequest.h: new constructor
7248 * funcrequest.C: move stuff here from .h
7251 * BufferView_pimpl.C:
7254 * lyxfunc.C: subsequent changes
7256 * lyxfunc.h: new view() member function
7258 * lyxfunc.C: subsequent changes
7260 2002-08-13 Angus Leeming <leeming@lyx.org>
7263 * BufferView_pimpl.C:
7271 changes due to the changed LyXView interface that now returns references
7272 to member variables not pointers.
7274 2002-08-13 Angus Leeming <leeming@lyx.org>
7276 * WordLangTuple (word, lang_code): return references to strings,
7281 * lyxtext.h: forward-declare WordLangTuple.
7286 * text.C: #include "WordLangTuple.h".
7289 * text.C: (selectNextWordToSpellcheck): constify return type.
7291 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
7297 * paragraph_pimpl.h:
7300 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7302 Made updateCounter always count from start of buffer, and removed
7303 second argument (par).
7304 Reverted floats number display to '#'. Perhaps I'll try again when the
7305 code base is sanitized a bit.
7307 2002-08-12 Angus Leeming <leeming@lyx.org>
7309 * buffer.[Ch] (getLabelList): constify.
7311 2002-08-07 André Pönitz <poenitz@gmx.net>
7313 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7315 * funcrequest.h: extension to keep mouse (x,y) position
7317 2002-08-12 Juergen Vigna <jug@sad.it>
7319 * BufferView2.C (insertErrors): forbid undo when inserting error
7322 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7324 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7326 * ParagraphList.[Ch]: new files
7328 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7330 * BufferView2.C (lockInset): ParagraphList changes
7333 * bufferlist.C: ditto
7337 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7339 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7340 unused class variable counter_,
7342 * paragraph.[Ch] (getFirstCounter): delete unused function
7344 * counters.C: include LAssert.h
7345 (reset): add a new function with no arg, change other version to
7346 not have def. arg and to not allow empty arg.
7348 * text2.C (setCounter): remove empty arg from call to Counters::reset
7350 2002-08-11 John Levon <levon@movementarian.org>
7352 * Makefile.am: add WordLangTuple.h
7354 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7356 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7357 lyxfunc.C lyxlex_pimpl.C: ws changes only.
7359 * insets/insettext.C: InsetList changes
7361 * graphics/GraphicsSupport.C (operator()): InsetList changes
7363 * toc.C (getTocList): InsetList changes
7365 * paragraph_pimpl.[Ch]: InsetList changes
7367 * paragraph.[Ch]: InsetList changes
7369 * buffer.C (inset_iterator): InsetList changes
7370 (setParagraph): ditto
7371 * buffer.h (inset_iterator): ditto
7372 * iterators.C (operator++): ditto
7373 * iterators.h: ditto
7375 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7377 * InsetList.[Ch]: new files, most InsetList handling moved out of
7380 * BufferView2.C (removeAutoInsets): InsetList changes
7382 (ChangeInsets): ditto
7384 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7386 * paragraph_pimpl.h (empty): new function
7388 * paragraph.[Ch] (empty): new function
7390 * other files: use the new Paragraph::empty function
7392 2002-08-09 John Levon <levon@movementarian.org>
7394 * lyxtext.h: remove unused refresh_height
7396 2002-08-09 John Levon <levon@movementarian.org>
7403 * paragraph.C: move sgml char escaping out of paragraph
7406 * paragraph.C: remove id setter
7410 * paragraph_pimpl.C: remove dead tex_code_break_column
7412 * bufferview_funcs.C: small cleanup
7414 * lyxfunc.C: remove dead proto
7416 * lyxtext.h: make some stuff private. Remove some dead stuff.
7418 * lyxgluelength.C: make as[LyX]String() readable
7420 2002-08-08 John Levon <levon@movementarian.org>
7425 * ToolbarDefaults.C:
7428 * toc.C: lyxaction cleanup
7430 2002-08-08 John Levon <levon@movementarian.org>
7432 * BufferView2.C: small cleanup
7435 * lyxfind.C: move unnecessary header into the .C
7437 2002-08-08 John Levon <levon@movementarian.org>
7439 * funcrequest.h: just tedious nonsense
7442 * lyx_main.C: cleanups
7445 * vspace.C: remove dead header lyx_main.h
7447 2002-08-07 Angus Leeming <leeming@lyx.org>
7450 * paragraph_pimpl.h:
7451 Forward declare class Counters in paragraph.h by moving the ctrs member
7452 variable into Paragraph::Pimpl.
7453 (counters): new method, returning a reference to pimpl_->ctrs.
7455 * text2.C: ensuing changes.
7457 2002-08-07 John Levon <levon@movementarian.org>
7459 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7461 * BufferView_pimpl.C: announce X selection on double/triple
7464 * lyx_main.C: use correct bool in batch dispatch
7466 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7468 2002-08-07 André Pönitz <poenitz@gmx.net>
7470 * funcrequest.h: new class to wrap a kb_action and its argument
7473 * BufferView_pimpl[Ch]:
7477 * lyxrc.C: subsequent changes
7480 2002-08-07 John Levon <levon@movementarian.org>
7482 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7483 document options change.
7485 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7490 * makefile.am: move counters functionality over from
7491 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7493 2002-08-06 John Levon <levon@movementarian.org>
7495 * WordLangTuple.h: new file for word + language code tuple
7506 * BufferView2.C: use WordLangTuple
7509 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7511 2002-08-06 John Levon <levon@movementarian.org>
7513 * lyx_main.C: fix cmdline batch handling
7515 2002-08-06 André Pönitz <poenitz@gmx.net>
7517 * lyxrc.C: set default for show_banner to true
7519 2002-08-06 John Levon <levon@movementarian.org>
7521 * pspell.C: fix a crash, and allow new aspell to work
7523 2002-08-06 John Levon <levon@movementarian.org>
7526 * kbmap.C: small cleanup
7529 * vspace.C: add const
7531 2002-08-05 John Levon <levon@movementarian.org>
7533 * LyXAction.C: back to tabular-insert
7535 2002-08-04 John Levon <levon@movementarian.org>
7538 * BufferView.C: cosmetic change
7540 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7550 * BufferView2.C: purge all "Lyx" not "LyX" strings
7553 * lyxcursor.C: attempt to add some documentation
7558 * ToolbarDefaults.C:
7559 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7560 merge with LFUN_TABULAR_INSERT
7567 * pspell.C: split up i/pspell implementations into separate
7568 files, many cleanups
7570 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7572 * text2.C: some cleanup
7574 * lyxfunc.C: don't check for isp_command == "none" any more, it
7575 didn't make any sense
7577 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7582 * makefile.am: move counters functionality over
7583 from text2.C/paragraph.[Ch] to counters.[Ch], and
7585 2002-08-02 John Levon <levon@movementarian.org>
7587 * buffer.C: s/lyxconvert/lyx2lyx/
7589 2002-08-02 Angus Leeming <leeming@lyx.org>
7591 * lyxlex.C: revert John's change as it breaks reading of the user
7594 2002-08-02 Angus Leeming <leeming@lyx.org>
7596 * importer.C (Import):
7597 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7598 changes due to LyXView::view() now returning a boost::shared_ptr.
7600 2002-08-02 John Levon <levon@movementarian.org>
7602 * lyxlex.C: small cleanup
7604 2002-08-02 John Levon <levon@movementarian.org>
7606 * text2.C (status): small cleanup, no logic change
7608 2002-08-01 John Levon <levon@movementarian.org>
7611 * buffer.C (writeFile): don't output alerts, caller
7615 * lyx_cb.C: from above
7617 * lyxfunc.C: allow to open non-existent files
7619 2002-07-31 John Levon <levon@movementarian.org>
7621 * lyxserver.C: don't let incidental errors get
7624 2002-07-30 John Levon <levon@movementarian.org>
7626 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7628 2002-07-30 John Levon <levon@movementarian.org>
7631 * lyxserver.C: remove I/O callback too
7633 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7635 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7638 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7640 * many files: strip,frontStrip -> trim,ltrim,rtrim
7642 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7644 * PrinterParams.h: remove extern containsOnly, and include
7645 support/lstrings.h instead.
7647 * LaTeX.C (scanAuxFile): modify because of strip changes
7649 * buffer.C (makeLaTeXFile): ditto
7650 * bufferparams.C (writeFile): ditt
7651 * lyxfont.C (stateText): ditto
7652 * lyxserver.C (read_ready): ditto
7653 * vc-backend.C (scanMaster): ditto
7655 * BufferView_pimpl.h: ws changes
7657 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7659 2002-07-26 André Pönitz <poenitz@gmx.net>
7661 * kb_sequence.C: remove unnedred usings
7663 2002-07-26 Juergen Vigna <jug@sad.it>
7665 * lyxfind.C (LyXReplace): we have to check better if the returned
7666 text is not of theLockingInset()->getLockingInset().
7668 2002-07-25 Juergen Vigna <jug@sad.it>
7670 * lyxfind.C (LyXReplace): don't replace if we don't get the
7673 * undo_funcs.C (createUndo): remove debugging code.
7675 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
7677 * buffer.C (parseSingleLyXformat2Token): Use default placement
7678 when reading old floats.
7680 * FloatList.C (FloatList): Change the default placement of figure
7681 and tables to "tbp".
7683 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
7685 * MenuBackend.C: using std::max
7687 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7689 * MenuBackend.C (expandToc):
7690 (expandToc2): code moved from xforms menu frontend. It is now
7691 generic and TOCs are transparent to menu frontends.
7693 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7695 * toc.C (getTocList): protect against buf=0
7697 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7698 Menu as first parameter. Now, this calls itself recursively to
7699 expand a whole tree (this will be useful for TOC handling)
7700 (expandFloatInsert): remove 'wide' version of floats
7702 * MenuBackend.h (submenuname): returns the name of the submenu.
7703 (submenu): returns the submenu itself, provided it has been
7704 created by MenuBackend::expand
7706 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7708 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7709 insets which have noFontChange == true. (bug #172)
7711 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7713 * BufferView_pimpl.C: add connection objects and use them...
7716 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7718 * MenuBackend.C (expandLastfiles):
7721 (expandFloatListInsert):
7722 (expandFloatInsert):
7723 (expand): split expand in parts
7725 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7727 * lyx_gui.C: use lyx_gui::exit()
7729 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7731 * LyXAction.C: show the failing pseudo action
7733 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
7735 * buffer.C (readFile): Run the lyxconvert script in order to read
7738 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7742 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7744 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7748 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7750 2002-07-22 Herbert Voss <voss@lyx.org>
7753 * lyxlength.[Ch]: add support for the vertical lengths
7755 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
7757 * toc.[Ch]: std:: fixes
7759 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7761 * lyxrc.C: do not include lyx_main.h
7763 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7769 * BufferView2.C: include "lyxlex.h"
7772 * bufferparams.h: do not #include "lyxlex.h"
7774 * lyxtextclasslist.C (Add): remove method
7775 (classlist): renamed to classlist_
7777 * paragraph_pimpl.C:
7781 * bufferview_funcs.C:
7786 * toc.C (getTocList): use BufferParams::getLyXTextClass
7788 * toc.C (getTocList): use InsetFloat::addToToc
7790 * toc.[Ch]: new files, containing helper functions to handle table
7793 * lyxfunc.C (dispatch): no need to remove spaces around command
7795 (getStatus): handle LFUN_SEQUENCE by returning the status of the
7796 first command of the sequence; it is not very clever, but I do not
7797 have a better idea, actually
7799 * LyXAction.C (LookupFunc): make sure to remove space at the
7800 beginning and end of the command
7802 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7804 * MenuBackend.C (getMenubar): new method: return the menubar of
7806 (read): treat differently reading of menu and menubar (in
7807 particular, the menubar has no name now)
7808 (Menu::menubar): remove
7810 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7813 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7815 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7816 a bibitem inset in a RTL paragraph.
7818 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
7820 * paragraph_pimpl.C: constify
7822 * BufferView_pimpl.C:
7824 * lyxfunc.C: fix dispatch in a nicer way
7826 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7828 * lyxfunc.C (dispatch):
7829 * BufferView_pimpl.C:
7830 * BufferView_pimpl.h:
7832 * BufferView.h: rename Dispatch() to dispatch()
7834 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7836 * lyxlayout.C (Read): honor DependsOn tag
7838 * lyxlayout.[Ch] (depends_on): new method
7840 * version.C.in: update lyx_docversion
7842 * LaTeXFeatures.C (getMacros): only define \LyX when needed
7844 * paragraph.C (validate): remove from here...
7845 * paragraph_pimpl.C (validate): ... and move here
7846 (isTextAt): make it const
7848 * buffer.C (getLists): ws cleanup
7850 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7852 * language.C (read): Use iso8859-1 encoding in latex_lang
7853 (this prevents LyX from crashing when using iso10646-1 encoding).
7855 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7857 * text2.C (toggleInset): if cursor is inside an inset, close the
7858 inset and leave cursor _after_ it
7860 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7862 * lyxfunc.C: move minibuffer completion handling out of here
7864 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7866 * BufferView_pimpl.C:
7867 * LaTeX.C: fix dispatch calls
7869 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
7871 * text.C (drawChars): Fix Arabic text rendering.
7873 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
7877 * lyxfunc.C: remove message-push/pop
7881 * lyxfunc.C: rationalise some code by removing verboseDispatch
7882 in favour of a bool argument to dispatch()
7884 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7886 * lyx_main.C (init): make sure to read symlinks as absolute paths
7888 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7891 * lyxfunc.C: no need for commandshortcut to be a member
7893 2002-07-15 André Pönitz <poenitz@gmx.net>
7895 * converter.C: add support for $$s (scripts from lib/scripts dir)
7896 * lyx_main.C: white space
7898 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7902 * lyxrc.C: remove second exit confirmation
7904 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7909 * BufferView_pimpl.h:
7910 * BufferView_pimpl.C:
7911 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7913 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7915 * MenuBackend.C (expand): add numeric shortcuts to document menu
7917 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7919 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7921 * lyxfont.C (setLyXFamily):
7928 * buffer.C (asciiParagraph): use ascii_lowercase
7930 2002-07-15 Mike Fabian <mfabian@suse.de>
7932 * lyxlex_pimpl.C (search_kw):
7933 * lyxlex.C (getLongString):
7934 * converter.h (operator<):
7935 * converter.C (operator<):
7936 * buffer.C (parseSingleLyXformat2Token):
7938 * ToolbarDefaults.C (read):
7939 * MenuBackend.C (checkShortcuts):
7941 * LColor.C (getFromGUIName):
7942 (getFromLyXName): use the compare_ascii_no_case instead of
7943 compare_no_case, because in turkish, 'i' is not the lowercase
7944 version of 'I', and thus turkish locale breaks parsing of tags.
7946 2002-07-16 Angus Leeming <leeming@lyx.org>
7948 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7949 now takes a Buffer const & argument.
7951 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
7953 * BufferView.C (resize): check there's a buffer to resize
7955 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
7957 * lyxfunc.C: remove dead code
7960 * lyxserver.C: use lyx_guii::set_read_callback
7962 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
7964 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7965 an inset in a RTL paragraph.
7967 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7969 * lyxfunc.C: repaint after a font size update
7971 2002-07-15 André Pönitz <poenitz@gmx.net>
7973 * lyxlength.C: inBP should be able to return negative values
7975 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7977 * lyxfunc.C: use lyx_gui::update_fonts()
7979 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7981 * lyxfunc.C: use lyx_gui::update_color()
7983 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7989 * lyxrc.C: remove file->new asks for name option, and let
7990 buffer-new take an argument
7992 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7994 * BufferView_pimpl.C: remove unneeded extra repaint()
7996 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
7998 * LyXAction.C: allow command-sequence with NoBuffer
8000 * lyxfunc.C: don't insist on trailing ';' for command-sequence
8002 2002-07-10 Angus Leeming <leeming@lyx.org>
8004 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8006 2002-07-09 Angus Leeming <leeming@lyx.org>
8008 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8010 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8012 * lengthcommon.h: whitespace
8014 * lyxfunc.C: update scrollbar after goto paragraph
8016 * lyxtext.h: factor out page break drawing, and fix it so
8017 page break/added space paints as selected nicely
8019 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8021 * BufferView_pimpl.C: add FIXMEs, clean up a little
8023 2002-07-09 André Pönitz <poenitz@gmx.net>
8025 * lyxfont.[Ch]: support for wasy symbols
8027 2002-07-08 André Pönitz <poenitz@gmx.net>
8029 * BufferView_pimpl.C: apply John's patch for #93.
8031 2002-07-05 Angus Leeming <leeming@lyx.org>
8033 * BufferView_pimpl.C (buffer): generate previews if desired.
8035 * LColor.h: add "preview" to the color enum.
8037 * LColor.C (LColor): add a corresponding entry to the items array.
8039 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8042 2002-07-05 Angus Leeming <leeming@lyx.org>
8044 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8045 The body of the code is now in the method that is passed an ostream &
8046 rather than a file name.
8047 Pass an additional only_preamble parameter, useful for the forthcoming
8050 2002-07-03 André Pönitz <poenitz@gmx.net>
8052 * lyxfunc.C: simplify getStatus() a bit for math stuff
8054 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8056 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8058 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8060 * text.C (changeRegionCase): do not change case of all the
8061 document when region ends at paragraph end (bug #461)
8063 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8065 * paragraph.C (startTeXParParams):
8066 (endTeXParParams): add \protect when necessary
8068 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8070 * BufferView_pimpl.C (workAreaExpose): remove warning
8072 2002-06-27 Angus Leeming <leeming@lyx.org>
8074 * Makefile.am: add lyxlayout_ptr_fwd.h.
8076 2002-06-26 André Pönitz <poenitz@gmx.net>
8078 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8080 2002-06-25 Angus Leeming <leeming@lyx.org>
8082 * lyxfunc.C (dispatch): Comment out the call to
8083 grfx::GCache::changeDisplay. The method no longer exists now that the
8084 pixmap generation part of the graphics loader has been moved into
8087 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8089 * text2.C: layout as layout
8091 * text.C: layout as layout
8093 * tabular.C (OldFormatRead): layout as layout
8095 * paragraph_pimpl.C (TeXDeeper): layout as layout
8096 (realizeFont): layout as layout
8098 * paragraph.C (writeFile): layout as layout
8099 (validate): layout as layout
8100 (getFont): layout as layout
8101 (getLabelFont): layout as layout
8102 (getLayoutFont): layout as layout
8103 (breakParagraph): layout as layout
8104 (stripLeadingSpaces): layout as layout
8105 (getEndLabel): layout as layout
8106 (getMaxDepthAfter): layout as layout
8107 (applyLayout): layout as layout
8108 (TeXOnePar): layout as layout
8109 (simpleTeXOnePar): layout as layout
8110 (TeXEnvironment): layout as layout
8111 (layout): layout as layout
8112 (layout): layout as layout
8114 * lyxtextclass.C (compare_name): new functor to work with
8115 shared_ptr, layout as layout
8116 (Read): layout as layout
8117 (hasLayout): layout as layout
8118 (operator): layout as layout
8119 (delete_layout): layout as layout
8120 (defaultLayout): layout as layout
8122 * lyxlayout_ptr_fwd.h: new file
8124 * lyxlayout.C (Read): layout as layout
8126 * lyx_cb.C (MenuInsertLabel): layout as layout
8128 * bufferlist.C (newFile): layout as layout
8130 * buffer.C (readLyXformat2): layout as layout
8131 (parseSingleLyXformat2Token): layout as layout
8132 (insertStringAsLines): layout as layout
8133 (asciiParagraph): layout as layout
8134 (latexParagraphs): layout as layout
8135 (makeLinuxDocFile): layout as layout
8136 (simpleLinuxDocOnePar): layout as layout
8137 (makeDocBookFile): layout as layout
8138 (simpleDocBookOnePar): layout as layout
8139 (getLists): layout as layout
8141 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8143 * CutAndPaste.C (cutSelection): layout as layout
8144 (pasteSelection): layout as layout
8145 (SwitchLayoutsBetweenClasses): layout as layout
8147 * BufferView_pimpl.C (Dispatch): layout as layout
8148 (smartQuote): layout as layout
8150 * BufferView2.C (unlockInset): layout as layout
8152 2002-06-24 André Pönitz <poenitz@gmx.net>
8154 * lyxfunc.C: fix #487
8156 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8160 * lyxfunc.C: remove display_shortcuts, show_banner
8162 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8164 * Buffer_pimpl.C: oops, update on resize
8166 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8173 * BufferView.C: use repaint()
8175 * BufferView_pimpl.h:
8176 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8177 as it's a clearer description. Remove superfluous
8180 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8182 * text.C: fix bug 488. Not ideal, but getting
8183 getWord() to work properly for the insets that
8184 matter is more difficult ...
8186 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8188 * BufferView_pimpl.C:
8191 * lyxfunc.C: remove the six million index lyxfuncs to just
8192 one, and DTRT (bug 458)
8194 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8198 * BufferView_pimpl.h:
8199 * BufferView_pimpl.C: clean up resize() stuff,
8200 and unnecessary updateScreen()s
8202 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8206 * BufferView_pimpl.h:
8207 * BufferView_pimpl.C:
8210 * minibuffer.C: remove focus management of workarea,
8211 not needed. Use screen's greyOut()
8213 2002-06-17 Herbert Voss <voss@lyx.org>
8215 * converter.C: (convert) do not post a message, when converting
8216 fails, let the calling function decide what to do in this case
8218 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
8220 * lyxfunc.C: tidy up a little
8222 2002-06-16 <alstrup@diku.dk>
8224 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8225 Got rid of FORMS_H_LOCATION include. Now we are
8228 2002-06-15 LyX Development team <lyx@rilke>
8230 * buffer.[Ch] (sgmlOpenTag):
8231 (sgmlCloseTag): Added support for avoiding pernicious mixed
8232 content. Return number of lines written.
8235 (makeDocBookFile): Fixed calls to sgml*Tag.
8236 Simple white space clean.
8238 (simpleDocBookOnePar): Simple white space clean.
8240 * tabular.[Ch] (docBook): Renamed to docbook and got another
8241 argument to related with the pernicious mixed content.
8243 (docbookRow): Fixed calls for docbook inset method.
8245 2002-06-15 Lyx Development team <larsbj@birdstep.com>
8247 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8248 so it's X11 independent.
8252 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8254 2002-06-15 Lyx Development team <lyx@electronia>
8256 * intl.h: Renamed getTrans to getTransManager.
8258 2002-06-14 Angus Leeming <leeming@lyx.org>
8260 * Makefile.am: nuke forgotten stl_string_fwd.h.
8262 2002-06-12 Angus Leeming <leeming@lyx.org>
8264 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8266 2002-06-13 Angus Leeming <leeming@lyx.org>
8269 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8271 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
8273 * kbmap.C (getiso): add support for cyrillic and greek
8275 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8279 * BufferView_pimpl.h:
8280 * BufferView_pimpl.C: move bogus scrolling logic
8283 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8286 * BufferView_pimpl.C: view->resize() change
8288 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8290 * BufferView_pimpl.C: topCursorVisible
8293 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8297 * lyx_gui.C: move to frontends/
8301 * lyx_main.C: changes from above
8303 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8310 * lyx_main.C: minor tidy
8312 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8314 * BufferView_pimpl.h:
8315 * BufferView_pimpl.C:
8317 * BufferView.C: make painter() const,
8320 * BufferView2.C: use screen() accessor
8323 * lyx_main.C: some minor cleanup
8325 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8327 * BufferView_pimpl.h:
8328 * BufferView_pimpl.C: remove enter/leaveView,
8331 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8336 * BufferView_pimpl.h:
8337 * BufferView_pimpl.C: only construct screen once,
8340 * lyxrc.C: remove pointless comment
8342 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8345 * BufferView.C: remove active() and belowMouse()
8347 * BufferView_pimpl.h:
8348 * BufferView_pimpl.C: use workarea() not workarea_,
8349 and make it use a scoped_ptr instead
8351 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8353 * lyx_gui.C: add debug message on BadWindow
8355 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8357 * sp_spell.C: fdopen is not part of the C++ standard.
8359 * paragraph.C (InsetIterator): use >= instead of ==
8361 2002-06-07 Angus Leeming <leeming@lyx.org>
8363 Fixes needed to compile with Compaq cxx 6.5.
8364 * BufferView_pimpl.C:
8371 * lyxtextclasslist.C:
8376 all c-library variables have been moved into namespace std. Wrap
8377 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8382 Add a using std::abs declaration.
8384 * kbmap.h (modifier_pair):
8385 * paragraph.h (InsetTable, InsetList):
8386 * lyxfont.h (FontBits):
8387 type definition made public.
8389 * bufferlist.C (emergencyWriteAll): the compiler complains that
8390 there is more than one possible lyx::class_fun template to choose from.
8391 I re-named the void specialisation as lyx::void_class_fun.
8393 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8395 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8396 the compiler is is unable to find tostr in write_attribute.
8398 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8400 * buffer.C (sgmlError): hide #warning
8402 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8404 * xtl/*: get rid of xtl, which is not in use anyway
8406 * LyXAction.C (init):
8407 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8408 were unimplemented xtl experimentation
8410 2002-06-04 André Pönitz <poenitz@gmx.net>
8412 * lyxfunc.C: disable array operation on simple formulae
8414 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
8416 * converter.C: constify a bit
8418 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
8420 * lyx_gui.C: check xforms version correctly
8422 2002-04-30 Herbert Voss <voss@lyx.org>
8424 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8427 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
8429 * lyxvc.C: fix bug 416 (make sure buffer is saved before
8430 attempt to register it with a VCS)
8432 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8434 * lyx_main.C (init): honor variables LYX_DIR_13x and
8437 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8441 * lyx_main.C: fix a crash on bad command line,
8442 and give a useful exit status on error
8444 * lyxfunc.C (doImport): allow -i lyx to work
8446 2002-03-30 André Pönitz <poenitz@gmx.net>
8448 * lyxfunc.C: mathed font changes
8450 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8465 * trans_mgr.h: srcdocs, and some minor cleanups
8467 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8469 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8470 call getFont all the time)
8472 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8474 * switch from SigC signals to boost::signals
8476 2002-05-29 André Pönitz <poenitz@gmx.net>
8478 * paragraph_pimpl.C (getChar): don't call size() too often...
8480 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8482 * paragraph_pimpl.C (insertChar): do not try to update tables when
8483 appending (pos == size())
8485 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8486 in order to reduce drastically the number of comparisons needed to
8487 parse a large document
8489 2002-05-29 André Pönitz <poenitz@gmx.net>
8495 * textclasslist.[Ch]:
8496 * sp_ispell.h: whitespace change
8498 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8500 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8501 lyxaction directly now.
8503 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
8507 * lyxvc.C: remove unused headers
8509 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8516 * undo_funcs.C: some cleanups. Use shared_ptr
8517 and a template for the undo stacks.
8519 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8521 * BufferView_pimpl.h:
8522 * BufferView_pimpl.C:
8529 * text2.C: use key_state/mouse_state
8531 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8533 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8536 * chset.C: change include order
8537 (loadFile): use boost regex and get rid of LRegex and LSubstring
8539 * Makefile.am (BOOST_LIBS): new variable
8542 * LaTeX.C: change include order.
8543 (scanAuxFile): use boost regex and get rid of LRegex and
8547 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8552 * FontInfo.C: moved to frontends/xforms/
8555 * FontLoader.C: moved into frontends for GUIIzation
8560 * lyxfunc.C: changes from above
8562 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8564 * LColor.C: remove spurious X include
8566 * BufferView_pimpl.C:
8571 * text2.C: move font metrics to frontends/
8573 2002-05-24 Juergen Vigna <jug@sad.it>
8575 * undo_funcs.C (textHandleUndo): fix the cursor selection after
8576 setting the undo_cursor.
8578 * ParagraphParameters.h: include local includes first.
8580 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8582 * BufferView_pimpl.C:
8583 * BufferView_pimpl.h:
8587 * screen.C: move WorkArea into frontends/
8593 * BufferView2.C: move LyXScreen into frontends/
8597 * lyx_gui.C: move lyxlookup into frontends/xforms/
8599 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8602 * BufferView_pimpl.C:
8612 * bufferview_funcs.C:
8625 * vc-backend.C: move LyX/XFormsView into frontends/
8627 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8639 * text2.C: move Painter to frontends/
8641 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8643 * buffer.C: comment out some some code that depend upon lyx_format
8646 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8647 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8649 * buffer.h (NO_COMPABILITY): turn off compability
8651 * ColorHandler.C: include scoped_array.hpp
8653 * font.C: Use more specific smart_ptr header.
8656 * ShareContainer.h: ditto
8660 * BufferView_pimpl.h: ditto
8661 * ColorHandler.h: ditto
8663 * kbmap.C (defkey): change call to shared_ptr::reset
8665 2002-05-21 Juergen Vigna <jug@sad.it>
8667 * buffer.C (insertErtContents): fix to insert ert asis if it is
8668 non empty. Skip it completely if it contains only whitespaces.
8670 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
8672 * BufferView_pimpl.C:
8673 * BufferView2.C: clear selection on paste (bug 393)
8675 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8677 * DepTable.C: include ctime
8679 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
8681 * buffer.C (latexParagraphs): Add new argument (moving_arg).
8683 2002-05-14 Juergen Vigna <jug@sad.it>
8685 * text.C (breakParagraph): fixed function to honor the keepempty
8686 layout in the right maner and also to permit the right breaking
8687 algorithm on empty or non empyt keepempty paragraphs.
8689 * paragraph.C (breakParagraph): we have to check also if the par
8690 is really empty (!size()) for isempty otherwise we do the wrong
8693 2002-05-10 Juergen Vigna <jug@sad.it>
8695 * buffer.[Ch] : The following are only changes to the ert
8696 compatibility read reading old LaTeX layout and font stuff and
8697 convert it to ERTInsets.
8699 * buffer.h: added isErtInset().
8701 * buffer.C (struct ErtComp): add a fromlayout bool to check
8702 if we're inside a LaTeX layout.
8703 (isErtInset): new helper function.
8704 (insertErtContents): look for other ert insets before this one
8705 and insert the contents there, so that we don't have subsequent
8706 ERT insets with nothing between them. This way we create only one
8707 inset with multiple paragraphs. Also check if we don't insert only
8708 spaces ' ' as they are ignored anyway afterwards in the .tex file
8709 so if we have only spaces we will ignore this latex part in the
8711 (parseSingleLyXformat2Token \\layout): better compatibility when
8712 reading layout-latex stuff.
8713 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8715 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8716 stuff after reading the inset only get the information back from
8719 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
8721 * buffer.C (makeLaTeXFile): Put language options after loading babel.
8723 * LaTeXFeatures.C (getBabelOptions): New method.
8725 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8727 * BufferView_pimpl.C (Dispatch): work around missing argument for
8730 2002-05-08 Juergen Vigna <jug@sad.it>
8732 * text.C (leftMargin): handle paragraph leftindent.
8734 * paragraph.C (writeFile): write the new \\leftindent tag.
8735 (validate): handle leftindent code.
8736 (TeXEnvironment): handle paragraphleftindent code again.
8738 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8740 * buffer.C (parseSingleLyXformat2Token): added compatibility code
8741 for paragrap_extra indent code and new token \\leftindent.
8742 (latexParagraphs): handle the leftindent as environment.
8744 * ParameterStruct.h: added leftindent support.
8746 * ParagraphParameters.C (leftIndent): added support functions for
8747 the paragraph left indent.
8749 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8752 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
8754 * paragraph.C (isRightToLeftPar): Return false for a paragraph
8757 * text.C (computeBidiTables): No bidi in insetERT.
8759 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8762 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8764 * version.C.in: pre 5
8766 2002-05-02 José Matos <jamatos@fep.up.pt>
8767 * buffer.C (makeDocBookFile): white space changes, add newline to
8769 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8771 * tabular.C (docBook): fix typo.
8773 2002-05-03 Juergen Vigna <jug@sad.it>
8775 * screen.C (drawFromTo): recalculate the rowpointer if we had a
8776 change in LyXText as we can not be sure it was not freed.
8777 (drawOneRow): remove unused code.
8779 * text.C (drawInset): redo the calculation of the need_break_row as
8780 it could have a row which was already freed.
8781 (draw): look at the return value of drawInset and return false if
8782 it also returned false.
8783 (paintRowText): look at the return value of draw and return false if
8784 it also returned false.
8786 * lyxtext.h: added bool return type to drawInset() and draw() so that
8787 if we have a change in the row so that the rowbreak has to be redone
8788 we abort drawing as it will be called again.
8790 2002-05-02 Juergen Vigna <jug@sad.it>
8792 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8793 a change in the maintext also if we're inside an inset.
8794 (Dispatch): set the cursor again after a break line and after the
8795 screen has been updated as it could be we're in a different row.
8797 * text2.C (fixCursorAfterDelete): check to make sure we don't request
8798 to set the cursor behind the pargraph with > size().
8799 (setCursor): check also for the same paragraph when checking where
8800 to put the cursor if we have a NFR inset.
8802 * buffer.C (parseSingleLyXformat2Token): move the compatibility
8803 parts of layout read further up as it still was in the wrong
8806 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8808 * screen.C (drawFromTo): change sine fullRebreak always return
8811 * buffer.C (parseSingleLyXformat2Token): reindent some
8813 * BufferView_pimpl.C (update): change since fullRebreak always
8815 (Dispatch): git rid of the last hardcoded "Standard"s.
8817 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
8819 * text2.[Ch] (fullRebreak): make it return void now that we always
8822 2002-04-30 Juergen Vigna <jug@sad.it>
8824 * buffer.C (parseSingleLyXformat2Token): reset the font before the
8825 ert compatibility check for "latex" layout.
8827 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
8829 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8830 minipages: use col% instead of p%, and also use the current font.
8831 (makeLaTeXFile): Fix use babel condition.
8832 (parseSingleLyXformat2Token): Correct font when reading old floats.
8834 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
8836 * BufferView_pimpl.C (Dispatch): Check that float type exists when
8837 inserting list of floats.
8839 2002-04-25 Herbert Voss <voss@lyx.org>
8841 * MenuBackend.C (expand): don't add the graphics extensions to the
8844 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8846 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8847 non-existing layout, do not complain if it was the default layout
8848 of the original class (bug #342)
8850 2002-04-24 Juergen Vigna <jug@sad.it>
8852 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8853 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8855 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
8857 * buffer.C (getBibkeyList): If using \bibliography, return the
8858 option field with the reference itself. Enables us to provide natbib
8859 support when using \bibliography.
8861 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
8863 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8865 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8866 natbib is provided by the LaTeX class.
8868 2002-04-23 Juergen Vigna <jug@sad.it>
8870 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8873 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8875 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8877 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8879 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8880 ensuremath around textordmasculine, textordfeminine and
8883 2002-04-19 Juergen Vigna <jug@sad.it>
8885 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8886 reinitializing the buffer otherwise row-dimensions may be wrong.
8887 (update): reset also the selection cursors if they do exits otherwise
8888 their x/y positions may be wrong.
8890 * text2.C (cursorDown): don't enter the inset if we came from a row
8891 above and are one row over the inset.
8893 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8894 really leaving an inset.
8896 2002-04-18 Juergen Vigna <jug@sad.it>
8898 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8899 of the selected paragraph does not have the selected layout also if
8902 * text2.C (setLayout): fixed bug which did not change last selected
8905 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8906 changed the read and substituted \\end_float with \\end_inset!
8908 * BufferView_pimpl.C (cursorPrevious):
8909 (cursorNext): fixed to make it work with rows heigher than the work
8910 area without moving the cursor only the draw of the row.
8911 (workAreaMotionNotify): fix jumping over high rows.
8913 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8915 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8918 2002-04-16 Juergen Vigna <jug@sad.it>
8920 * text2.C (setCursor): set also the irow().
8921 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8923 (cursorDown): support for locking an inset if the x_fix value goes
8924 inside it. That way I can transverse insets too with cursor up/down.
8926 * lyxrow.h: added irow helper function same as other (i) functions.
8928 * BufferView_pimpl.C (cursorPrevious):
8929 (cursorNext): fixed for insets!
8931 2002-04-15 Juergen Vigna <jug@sad.it>
8933 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8934 position otherwise it is wrong in some cases.
8936 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8937 inside the inset before the call.
8939 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
8941 * buffer.[Ch] (getBibkeyList): make it const.
8943 2002-04-12 Juergen Vigna <jug@sad.it>
8945 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8947 * text2.C (getCursorX): new helper function
8948 (setCursor): compute also ix_
8949 (setCursorFromCoordinates): set also ix.
8951 * lyxcursor.h: added ix_ and helper functions.
8953 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8955 * buffer.C (insertStringAsLines): dont break paragraph if the this
8956 paragraph is inside an inset which does not permit it!
8958 * text.C (breakParagraph): honor keepempty flag and break the paragraph
8959 also with no chars on this paragraph.
8960 (paintRowText): only paint stuff if it's inside the workarea!
8962 * paragraph.C (breakParagraph): honor keepempty flag and break the
8963 paragraph always below not above.
8965 * BufferView2.C (unlockInset): update the paragraph layout on inset
8966 unlock as we changed paragraph in such a case.
8968 * lyxfind.C (LyXFind): clear the former selection if not found!
8970 * text2.C (insertInset): freeze Undo after setUndo so that it is not
8971 again called in insertChar().
8973 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8974 an inset which uses the whole row!
8975 (rightMargin): ditto.
8976 (insertChar): force a rebreak if we inserted an inset!
8978 2002-03-28 Herbert Voss <voss@lyx.org>
8980 * lyxlength.[Ch]: add inBP() to get the right PS-point
8981 units (BigPoint). With inPixels we have rounding errors
8983 2002-04-11 Juergen Vigna <jug@sad.it>
8985 * text2.C (setCursorFromCoordinates): set iy to the right value.
8986 (setCursor): add check if row->previous exists!
8988 * buffer.C (parseSingleLyXformat2Token): reset font after read of
8989 an old float_type as this was the case in the old code!
8991 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8993 * BufferView2.C (showLockedInsetCursor): use iy
8994 (fitLockedInsetCursor): ditto
8996 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8997 locked insets as there we have the right value now.
8999 * lyxcursor.C: added iy_ variable and iy functions to set to the
9000 baseline of cursor-y of the locked inset.
9002 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9003 (setCursor): fixed for insets which need a full row.
9005 * text.C (rowLastPrintable): don't ignore the last space when before
9006 an inset which needs a full row.
9007 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9008 as last character of a row when before a inset which needs a full row.
9010 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9012 * version.C.in: update date
9014 * text2.C (fullRebreak): try to always return true and see what
9017 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9019 * MenuBackend.C (expand): use Floating::listName
9021 * FloatList.C (FloatList): add listName argument to the built-in
9024 * Floating.[Ch]: add listName member, which is the 'List of XXX'
9025 text associated with the float.
9027 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9029 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9031 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9033 * ShareContainer.h: add a couple of missing typenames.
9035 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
9037 * lyxrc.C (getDescription): use _() correctly rather than N_().
9039 2002-03-28 Herbert Voss <voss@lyx.org>
9041 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9042 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9044 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9046 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9047 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9049 2002-03-29 Juergen Vigna <jug@sad.it>
9051 * lyxfunc.C (dispatch): add a missing fitCursor call.
9053 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9054 it was scrolled by a cursor move, so return the bool status.
9056 * BufferView.C (fitCursor): return the bool flag also to the outside
9057 world as this is needed.
9059 * screen.C (toggleToggle): don't subtract the offset if it's positive.
9061 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9062 call the edit() as it is not needed (and wrong) IMO.
9063 (workAreaButtonPress): set the screen_first variable before evt.
9064 unlock the inset as this may change screen_first and then we have
9065 a wrong y position for the click!
9067 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9069 * MenuBackend.C (expand): another translation that I missed
9071 2002-03-28 Juergen Vigna <jug@sad.it>
9073 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9075 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9077 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9079 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9081 * MenuBackend.C (expand): fix export/view/update when there is no
9084 2002-03-27 Herbert Voss <voss@lyx.org>
9086 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9089 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9091 * bufferview_funcs.C (currentState): only show paragraph number
9092 for is DEVEL_VERSION is set.
9094 * lyxfunc.C (dispatch): put warning in INFO channel
9096 * MenuBackend.C (expand): translate the name of floats
9098 * FloatList.C (FloatList): mark the float names for translation
9100 * converter.C (convert): use LibScriptSearch
9102 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9104 * MenuBackend.C (defaults): fix default menu (we might as well get
9107 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9109 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9112 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9114 * lyxvc.C: reorder includes.
9116 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
9118 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9121 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9123 * CutAndPaste.C: change layouts earlier on paste
9124 to avoid crashing when calling getFont()
9126 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9128 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9131 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9133 * WorkArea.C: remove 'Pending' debug message.
9135 * most files: ws cleanup
9137 * buffer.[Ch]: ws changes
9139 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9141 2002-03-21 Juergen Vigna <jug@sad.it>
9143 * tabular.C (SetMultiColumn): collapse also the contents of the
9144 cells and set the last border right. Added a Buffer const * param.
9146 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9148 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9151 2002-03-19 Juergen Vigna <jug@sad.it>
9153 * text2.C (clearSelection): reset also xsel_cache.
9155 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9156 where it needs to be called (John tells us to do so too :)
9157 (selectionLost): reset sel_cache.
9159 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9161 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9163 * text2.C (setCursorIntern): put debuging code in INSETS channel
9165 2002-03-19 André Pönitz <poenitz@gmx.net>
9167 * lyxfunc.C: tiny whitespace change
9169 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9171 * ToolbarDefaults.C (init):
9172 * LyXAction.C (init):
9174 * BufferView_pimpl.C (Dispatch):
9175 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9177 2002-03-19 Allan Rae <rae@lyx.org>
9179 * exporter.C (Export): removeAutoInsets before doing anything else.
9180 While I've just introduced a dependency on BufferView this really is
9181 the best place to clean the buffer otherwise you need to cleanup in
9182 a dozen places before calling export or cleanup in a dozen functions
9185 * converter.C (runLaTeX):
9186 (scanLog): Better handling of removeAutoInsets and screen updates.
9188 * lyxfunc.C (dispatch): small whitespace changes
9190 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9192 * WorkArea.C (C_WorkAreaEvent): return a value.
9193 (event_cb): return 1 if we handled the event, 0 otherwise.
9195 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9197 2002-03-18 Juergen Vigna <jug@sad.it>
9199 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9200 (GetAdditionalWidth): ditto.
9204 * BufferView2.C (copy): use getLyXText() so that we do it inside an
9205 inset if we're there actually (probably not used right now but this
9206 is the direction to go for unifying code).
9207 (paste): disable code to clear the selection.
9209 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9210 inside an InsetText and move the check further up as it is in the
9213 * text2.C (pasteSelection): set a selection over the pasted text.
9215 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
9217 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9218 and libgraphics to build on Cygwin.
9220 2002-03-15 Juergen Vigna <jug@sad.it>
9222 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9223 inserting an Inset into the paragraph. I know this is not the best
9224 fix but we already use current_view in CutAndPaste so we will remove
9225 all of it's using at the same time.
9227 * buffer.C (sgmlError): deactivated function till it is rewritten in
9228 the right mode, now it can create problems.
9230 * paragraph.C (isLineSeparator): check if getInset returns != 0,
9231 before accessing it.
9233 2002-03-14 Juergen Vigna <jug@sad.it>
9235 * undo_funcs.C (textHandleUndo): do the right thing when updating
9236 the inset after the undo/redo.
9238 * text2.C (setCursor): just some testcode for #44 not ready yet.
9240 * undo_funcs.C (textHandleUndo): set the next() and previous()
9241 pointers of the paragraph to 0 before deleting otherwise we have
9242 problems with the Paragraph::[destructor].
9244 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9245 on a paragraph insertion.
9247 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9249 * buffer.C (asciiParagraph): use += operator for char append to
9252 * paragraph.C (getFontSettings): compare >= not just >
9253 (highestFontInRange): ditto
9256 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9258 * paragraph.C: change several algorithm to be more appripriate for
9259 the problem domain. This is lookip in FontList and in the InsetList.
9261 2002-03-13 André Pönitz <poenitz@gmx.net>
9264 * LyXAction.C: remove unused LFUN_MATH_MACROARG
9266 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
9271 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9273 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9275 * Painter.C (display): anon helper function, adjust code for this
9277 (pixmap): remove function.
9279 * Painter.h: remove private display variable.
9281 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9283 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
9285 * WorkArea.[Ch]: remove figinset_canvas cruft.
9287 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9289 * lyxtextclass.C (operator): add one item cache optimization.
9291 * bufferlist.h: doxy changes
9293 * bufferlist.C: ws changes
9295 * DepTable.[Ch] (ext_exist): place const in the right spot.
9297 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9299 (workAreaExpose): call resizeInsets when the with BufferView changes.
9300 (Dispatch): adjust for protectedBlank removal
9301 (specialChar): call updateInset if the insert went ok.
9303 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9304 specialChar instead.
9306 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9308 * BufferView.h: doxy change
9310 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9312 * lyxtextclass.C (operator[]): remove non-const version
9313 (defaultLayout): remove non-const version
9315 2002-03-12 Juergen Vigna <jug@sad.it>
9317 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9318 did resize the LyXText too.
9320 * buffer.C (readLyXformat2): set layout information on newly allocated
9323 * tabular.C (OldFormatRead): set layout information on the paragraph.
9325 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9327 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9329 2002-03-11 Juergen Vigna <jug@sad.it>
9331 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9333 (resizeCurrentBuffer): force also the insets to resize themselfes.
9334 (moveCursorUpdate): fixed up for InsetText.
9336 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
9339 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9340 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9341 value of Dialogs::tooltipsEnabled().
9342 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9344 2002-03-08 Juergen Vigna <jug@sad.it>
9346 * BufferView_pimpl.C (updateInset): update inset inside inset also
9347 if it isn't inside theLockingInset().
9349 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9351 * buffer.C (asciiParagraph): redo some of the word and line length
9353 (getLists): look for Caption instead of caption.
9355 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9357 * buffer.C (Buffer): initialize niceFile to true
9360 (makeDocBookFile): make sure niceFile is true on exit
9362 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9364 * buffer.C (makeLaTeXFile): escape ~ in \input@path
9366 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
9368 * LyXSendto.C: remove.
9369 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9370 * lyx_gui.C: remove now-redundant comment.
9371 * ColorHandler.h: remove forward declaration of class WorkArea.
9372 * lyxfunc.C: remove #include "WorkArea.h".
9374 2002-03-07 Juergen Vigna <jug@sad.it>
9376 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9377 got moved away with the DEPM and also set the inset_owner always
9378 right which before could have been omitted.
9380 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9382 * buffer.C (parseSingleLyXformat2Token): use default layout is the
9383 wanted layout is not found.
9385 2002-03-07 Juergen Vigna <jug@sad.it>
9387 * CutAndPaste.C (cutSelection): another layout settings forgotten.
9389 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9391 * paragraph.C (breakParagraph): use default layout not layout of
9393 (Paragraph): clear ParagraphParameters.
9395 2002-03-06 Juergen Vigna <jug@sad.it>
9397 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9398 otherwise it would not be a valid lenght. Fixed a special case in
9399 the minipage compatibility read where we end the document with a
9402 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9403 was set as it could be 0 for InsetTexts first entry.
9405 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9407 * paragraph.C (writeFile): if layout is empty write out
9408 defaultLayoutName().
9410 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9411 file without named layout we set layout to defaultLayoutName().
9413 2002-03-06 Juergen Vigna <jug@sad.it>
9415 * CutAndPaste.C (copySelection): set layout for new paragraph.
9417 * text.C (prepareToPrint): leave ERT inset left aligned
9418 (leftMargin): don't indent paragraphs inside ERT insets
9420 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9422 * paragraph.C (breakParagraph): dont call clear do the work manually
9424 * paragraph.[Ch] (clear): remove function
9426 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9428 * paragraph.C (Paragraph): dont call clear, the work has already
9431 * lyxtextclass.C (operator): assert if n is empty
9433 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9434 work manually instead.
9436 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9438 * BufferView_pimpl.C: protect selectionLost against text == 0
9440 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9442 * text.C (breakParagraph): fix a setting layout to '0' problem.
9444 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9446 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9447 final location of file, for the included files, and graphics.
9449 2002-03-05 Juergen Vigna <jug@sad.it>
9451 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9453 2002-03-04 Juergen Vigna <jug@sad.it>
9455 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9457 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9458 last column of multicolumn cells.
9459 (SetWidthOfMulticolCell): recalculate NMC and real columns.
9461 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
9463 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9464 file if it doesn't go to a temporary file.
9466 * buffer.C (sgmlOpenTag):
9467 (sgmlCloseTag): remove extra newline insertion.
9469 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9471 * text.C (getRowNearY): comment out debug msg
9473 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9475 * text2.C: first -> first_y
9477 * text.C (getRowNearY): add some attemts at a possible
9478 optimization, not working.
9480 * tabular.[Ch]: add BufferParams to several function so that newly
9481 created paragraph can be initialized to he default layotu for the
9484 * tabular-old.C (ReadOld): add buf->params to call of Init
9486 * screen.C: rename text->first to text->first_y
9488 * paragraph.C (breakParagraph): always set layout in the broken
9491 * lyxtextclass.C (Read): remove lowercase
9494 (delete_layout): ditto
9496 * lyxtext.h: rename first -> first_y
9498 * lyxlayout.C (Read): remove lowercase
9501 (obsoleted_by): ditto
9503 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9505 * buffer.C (insertErtContents): add params are to InsetERT
9506 (parseSingleLyXformat2Token): add code to check if a paragraphs
9507 layout really exist.
9508 (parseSingleLyXformat2Token): add params to several inset
9510 (asciiParagraph): remove lowercase, do the layout comparisons with
9513 * BufferView_pimpl.C (cursorNext): first -> first_y
9514 (resizeCurrentBuffer): first -> first_y
9515 (updateScrollbar): first -> first_y
9516 (scrollCB): first -> first_y
9517 (workAreaMotionNotify): first -> first_y
9518 (workAreaButtonPress): first -> first_y
9519 (checkInsetHit): first -> first_y
9520 (cursorPrevious): first -> first_y
9521 (cursorNext): first -> first_y
9522 (Dispatch): add buffer_->params to severl inset contructors
9524 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9526 * lyxlayout.C (Read): remove some debug info that I forgot.
9528 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9529 clean up the code slightly.
9530 (makeLinuxDocFile): ditto
9531 (makeDocBookFile): ditto
9533 * text2.C: layout as string
9535 * text.C: layout as string
9537 * paragraph_pimpl.C: layout as string
9539 * paragraph.[Ch]: layout as string
9541 * lyxtextclasslist.[Ch]: layout as string
9543 * lyxtextclass.[Ch]: layout as string
9545 * lyxtext.h: layout as string
9547 * lyxlayout.[Ch]: layout as string
9549 * lyx_cb.C: layout as string
9551 * bufferview_funcs.C: layout as string
9553 * bufferparams.C: layout as string
9555 * buffer.C: layout as string
9557 * LyXView.[Ch]: layout as string
9559 * LaTeXFeatures.[Ch]: layout as string
9561 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9563 * BufferView_pimpl.C: change current_layout to string, remove
9568 (workAreaButtonRelease): layout as string
9570 * BufferView2.C (unlockInset): adjust
9572 * vspace.C (asLatexCommand): use an explict temp variable.
9574 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9576 * Makefile.am: use FRONTEND_*
9578 2002-03-01 Juergen Vigna <jug@sad.it>
9580 * tabular.C (SetWidthOfMulticolCell): changed to something better
9581 I hope but still work in progress.
9582 (recalculateMulticolumnsOfColumn): renamed function from
9583 recalculateMulticolCells as it is more appropriate now.
9584 (SetWidthOfCell): calculate multicols better.
9586 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9588 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9590 * lyxfunc.C (processKeySym): print sequence also if it is
9591 `deleted' (complete)
9593 * kbsequence.C (print): print sequence even if it is deleted
9594 (complete would be a better word, actually).
9596 * lyxfunc.C (dispatch): print complete options after a prefix key
9598 * vspace.C (asLatexCommand): rewrite in a slightly different form.
9600 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
9602 * text2.C (setCharFont): eliminate setCharFont code duplication.
9604 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9606 * BufferView_pimpl.C (Dispatch): remove bogus handling of
9607 LFUN_TABULAR_FEATURE (bug #177)
9609 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
9611 * Makefile.am: remove figure.h
9613 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
9615 * Bufferview_pimpl.C:
9627 * text2.C: remove #include "lyx_gui_misc.h".
9629 * LaTeX.C: added #include <cstdio>
9631 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9633 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9634 that the paragraph following this one can have.
9636 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9638 * vspace.C (asLatexCommand): fix bogus gcc warning
9640 * Makefile.am (lyx_SOURCES): remove vms_defines.h
9642 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
9644 * text2.C (setLayout): get rid of redundant code
9646 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
9648 * text2.C (incDepth): make sure depth cannot be increased beyond
9651 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
9653 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9654 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9656 * PainterBase.h (image):
9657 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9660 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9664 * BufferView_pimpl.C:
9665 * BufferView_pimpl.h:
9685 * sp_spell.C: remove fig inset, and the crap house of
9686 cards that follows it
9688 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9694 * nt_defines.h: move .h into support/
9696 * vms_defines.h: remove
9698 * WorkArea.C: add space in debug output
9702 * buffer.C: add WITH_WARNINGS
9706 * bufferlist.C: s/retrive/retrieve/, add docs
9717 * lyxgui.C: add ID to X error handler
9719 * lyxtestclass.c: fix typo
9721 2002-02-26 Juergen Vigna <jug@sad.it>
9723 * tabular_funcs.C (write_attribute): changed so that some default
9724 attributes are not written at all.
9725 (getTokenValue): set default values before trying to read the
9726 value so we have the return value always set as default if we don't
9727 find the token we search for.
9729 * tabular.C (Write): write bools as bools not as strings!
9731 2002-02-22 Juergen Vigna <jug@sad.it>
9733 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9734 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9736 * text.C (leftMargin): don't add an indent for paragraphs inside
9737 tabular cells (fix #208).
9739 2002-02-21 José Matos <jamatos@fep.up.pt>
9741 * tabular.C (docBook): fixed support for long tables.
9743 2002-02-20 Juergen Vigna <jug@sad.it>
9745 * text2.C (getFont): get the drawing font of the Inset if this
9746 paragraph is inside an inset (only important for InsetERT for now).
9748 * buffer.C (insertErtContents): use new lanugage params in ERT
9751 * CutAndPaste.C: commenting out seemingly uneeded code.
9753 2002-02-19 Allan Rae <rae@lyx.org>
9755 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9756 Iterators might be simple to use but they also get invalidated.
9757 (removeAutoInsets): renamed saved cursor tracking variables and added
9758 some comments to clarify what everything does.
9760 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
9767 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9768 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9771 * vc-backend.h: remove #include "support/syscall.h"
9775 * converter.C: rearrange #includes in Lars' approved fashion.
9777 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9778 forward declare class Timeout in the header file.
9780 * XFormsView.C: changes due to the above.
9782 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9785 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9786 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9788 2002-02-18 José Matos <jamatos@fep.up.pt>
9790 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9793 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9795 * a lot of small ws changes
9796 * add a lot of using std::XXX
9797 * use std construcs some places where approp.
9798 * use some exisint stuff from lyxfunctional where approp.
9799 * Make file changes to use partial linking (lets test this now...)
9801 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9805 remove #include "support/syscontr.h" as it's redundant. Always has been.
9813 change Systemcalls::System to Systemcalls::Wait and
9814 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9815 No change of functionality, just reflects the stripped down Systemcalls
9818 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9820 * debug.[Ch]: add a GRAPHICS type to the enum.
9822 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9824 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9826 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9829 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9831 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9832 match the changes below.
9834 * text2.C (toggleInset): if there is not editable inset at cursor
9835 position, try to see if cursor is _inside_ a collapsable inset
9838 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9840 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9841 document menu has a nice checkbox
9843 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9845 * lyxlength.C (asLatexString): change PW to output as percent of
9848 * lengthcommon.C: change '%' to 't%'
9850 * lyxfunc.C (dispatch): a few comments from Martin
9852 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
9856 * BufferView_pimpl.h:
9857 * BufferView_pimpl.C: clear our selection when X tells us we've lost
9860 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9862 * vspace.C (inPixels): fix compiler warning
9864 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9866 * lyxfunc.C (getStatus): fix status message for disabled commands.
9868 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
9870 * BufferView_pimpl.C: fix crash on close buffer
9871 during selection (#227)
9873 2002-01-27 Herbert Voss <voss@lyx.org>
9875 * buffer.C: link old Figure to new graphic inset
9877 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
9879 * FontLoader.C (getFontinfo): Change the latex font names in order
9880 to match the names of type1inst.
9882 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9884 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9886 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9889 (remove_files_with_extension): ditto
9890 (remove_file): ditto
9893 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9894 document is smaller than the work area height. Do not initialize
9895 static variables to 0.
9897 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9899 * lyx_gui.C (init): give the toolbar tooltips a normal font.
9901 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9902 LFUN_LAYOUT_PARAGRAPHS.
9904 * tabular.C (GetCellFromInset): new method. Finds an inset in a
9905 tabular. It is possible to provide a possible cell, which will
9906 typically be the actcell from the corresponding insettabular
9908 * lyxfunc.C (getStatus): small cleanup; disable
9909 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9912 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9914 * tabular.C (Validate): remove broken optimization (fixes bug #201)
9916 * paragraph.C (startTeXParParams):
9917 (endTeXParParams): new methods. The LaTeX code to
9918 start/end paragraph formatting
9919 (simpleTeXOnePar): call startTeXParParams also when paragraph is
9920 empty (fixes bug #200)
9922 * vspace.C (inPixels): adapt to the change below
9923 (inPixels): [later] more cleanups (remove unused variables)
9925 * lyxlength.C (inPixels): change to use a width and a height as
9928 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9930 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9931 Replaced with \paperwidth
9933 * DepTable.C (insert): add std:: qualifier
9935 2002-01-18 Allan Rae <rae@lyx.org>
9937 * text2.C (removeRow): add comment. Should other refresh_?? vars be
9940 * text.C (drawInset): Turned out I didn't know enough about how
9941 rebreaking worked. This fixes most of the redraw problems. I see
9942 an occasional cursor trail when a line is broken now and the cursor
9943 placement can seem out by a few pixels also after a rebreak.
9945 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9947 * buffer.C (parseSingleLyXformat2Token): update because minipage
9948 width is now a LyXLength
9950 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9952 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9955 2002-01-17 Juergen Vigna <jug@sad.it>
9957 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9959 * BufferView2.C (lockInset): call edit() so that theLockingInset()
9960 is set correctly and the inset is updated correctly.
9962 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9964 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9965 the beginning of the loop.
9967 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
9969 * lyxrc.C: improve help for use_scalable_fonts
9971 2002-01-17 Allan Rae <rae@lyx.org>
9973 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9975 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9977 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9978 make sure to set their inset_owner to the right value (bug #171)
9980 2001-12-12 Ben Stanley <bds02@uow.edu.au>
9983 * DepTable.C: Implement mtime checking to reduce time spent doing
9986 2002-01-16 Juergen Vigna <jug@sad.it>
9988 * tabular.C (GetAdditionalHeight): one of error fixed.
9990 * lyxrc.C (output): small fix in writing use_pspell.
9992 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
9994 * sp_base.h: #include LString.h
9996 2002-01-16 Allan Rae <rae@lyx.org>
9998 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
9999 Can someone check this please?
10001 * text.C (drawInset): It was possible that p.row would be removed by
10002 breakAgainOneRow upsetting a few other settings. There may be another
10003 small tweak possible by setting need_break_row = 0 when p.row has been
10004 removed but I don't know enough about the logic here.
10006 2002-01-15 Allan Rae <rae@lyx.org>
10008 * text.C (insertChar): removed conditional truism.
10010 * BufferView2.C (removeAutoInsets): More tweaks.
10011 cur_par_prev could be a stray pointer. Check for trailing empty line
10012 in case last line was cur_par and only had an error inset on it.
10014 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10016 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10019 * vc-backend.C (most methods):
10020 * exporter.C (Export):
10021 * converter.C (convert):
10023 * LyXSendto.C (SendtoApplyCB):
10024 * lyxfunc.C (dispatch):
10028 * lyx_cb.C (AutoSave):
10030 * BufferView_pimpl.C (MenuInsertLyXFile):
10031 * buffer.C (runChktex): use Buffer::filePath().
10033 * buffer.h: rename filename to filename_; rename filepath to
10034 filepath_ and make it private
10035 (filePath): new method
10037 * buffer.C (writeFile): use fileName()
10040 * lyx_main.C (init): fix starting of LyX when the binary is a
10041 link from so,ewhere else.
10043 * minibuffer.C: include <cctype> for isprint
10045 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10047 * buffer.C (parseSingleLyXformat2Token): changes associated with the
10048 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10049 name clash with InsetCollapsable's width function.
10051 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10053 * lastfiles.C: include <iterator>
10055 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10057 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10060 * buffer.C (makeLaTeXFile): ditto.
10061 Also make loop operation more transparent.
10063 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10065 * ToolbarDefaults.C: remove trailing comma closing namespace.
10067 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10069 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10072 * trans.C (Load): comment out unused variable, allowed.
10074 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10076 * minibuffer.[Ch] (append_char): new method to recieve input from the
10077 drop-down completion browser. If a key was pressed, then recieve this
10078 char and append it to the existing string.
10079 (peek_event): modify the positioning data passed to the completion
10080 browser so that it can be placed above the minibuffer rather than below.
10081 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10083 * LyXAction.C (init): alloe error-next for readonly documents.
10085 * BufferView2.C (ChangeRefsIfUnique): use standard version of
10088 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10090 * bufferlist.C (readFile): create the buffer _after_ checking that
10093 * lyxfunc.C (verboseDispatch): fix handling of arguments
10095 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10097 * lyxrc.C: use string::erase() instead of initializing to "".
10100 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10102 * BufferView_pimpl.h:
10103 * BufferView_pimpl.C:
10106 * text2.C: tell X when we have made a selection for copying
10108 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10110 * BufferView_pimpl.C (MenuInsertLyXFile):
10111 * lyxfunc.C (menuNew):
10113 (doImport): add shortcuts to directory buttons
10115 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10118 * lyxfunc.C (setStatusMessage):
10119 (getStatusMessage): new methods
10120 (getStatus):use setStatusMessage instead of setErrorMessage
10121 (dispatch): when function is disabled, set error message here
10122 [instead of in getStatus previously]
10124 * BufferView_pimpl.C (workAreaButtonRelease): update
10125 toolbar/menubar here too.
10127 2002-01-13 Allan Rae <rae@lyx.org>
10129 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10130 Now seems indestructible. Remaining task is to audit all other
10131 code affected by deleteEmptyParagraphMechanism. One small quirk
10132 left is that an empty document with an error in the preamble can
10133 be made to report an error but no error box appears. I don't know
10135 (removeAutoInsets): Improved comments.
10137 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10140 * Thesaurus.C: update for Aiksaurus 0.14
10142 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10144 * text2.C (firstParagraph): removed member function, all uses
10145 replaces with ownerParagraph
10146 (redoParagraphs): here
10147 (updateInset): here
10148 (toggleAppendix): here
10149 * BufferView2.C (insertErrors): here
10150 (setCursorFromRow): here
10152 2002-01-13 Allan Rae <rae@lyx.org>
10154 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10155 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10156 There is still a way to segfault this although you may have to do this
10157 multiple times: Have an InsetERT with an unknown command in it.
10158 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10159 <down-arrow>, <Enter> again, View->DVI, BANG!
10161 * text2.C (setCursor):
10162 (deleteEmptyParagraphMechanism):
10163 * lyxtext.h (setCursor):
10164 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10165 Making use of the return value may help fix other bugs.
10167 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10169 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10171 * LyXView.C (updateMenubar): call MenuBar::update here
10172 (updateToolbar): but not here
10173 (showState): do not update toolbar/menubar
10175 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10176 should need to care about that.
10178 * lyxfunc.C (verboseDispatch): simplify a bit
10179 (getStatus): have a version which takes a pseudoaction, and
10180 another which requires a (kb_action,string).
10182 * LyXAction.C (retrieveActionArg): make it work also when action
10183 is not a pseudo-action.
10184 (getActionName): simplify a bit
10187 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10189 * lyxfunc.C (verboseDispatch): new families of methods with
10190 several ways to specify a command and a bool to indicate whether
10191 the command name and shortcut should be displayed in minibuffer
10192 (eventually, we could extend that to a finer bitmask like
10193 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10194 (dispatch): the pristine dispatch command which just, well,
10195 dispatchs! Note it still sets its result to minibuffer; I'm not
10198 * lyxfunc.h: remove setHintMessage
10200 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10202 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10204 * BufferView_pimpl.C (specialChar): delete new inset if we have
10205 not been able to insert it.
10207 * kbmap.C: revert to using int instead of kb_action, since all we
10208 are dealing with is pseudo-actions.
10210 * LyXAction.C (searchActionArg): change to return int instead of
10211 kb_action, since the result is a pseudoaction.
10213 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
10215 * buffer.C (insertErtContents): Fix (partially) the font bug.
10217 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10219 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10220 as the other one is broken on my machine!
10222 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
10225 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10227 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
10229 * lyxrc.[Ch]: change names and descriptions of popup font variables to
10230 reflect their actual use. Provide compatibility code for older lyxrc
10233 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10235 change names of popup font variables in line with the changes to lyxrc.C
10237 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10239 * buffer.C (asciiParagraph): avoid outputing a word twice after
10242 * lyxrc.C (getDescription): document that document_path and
10243 template_path can be empty.
10245 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10247 * LaTeXFeatures.C (getMacros):
10248 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10250 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10252 * LaTeXFeatures.C (useFloat): require "float" here instead of in
10254 (getPackages): rename feature "floats" to "float". Use an array to
10255 iterate over 'simple' features (i.e. just a \usepackage). Add
10256 handling of "amsmath" (renamed from "amsstyle").
10258 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
10260 * LaTeXFeatures.C (require): Prevent duplicate entries in the
10263 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
10265 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10266 FuncStaus::FuncStatus & FuncStaus::some_method().
10268 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
10270 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10271 of the func_satus stuff. Edited and massaged in various ways by
10274 * lyxfunc.C (getStatus): use FuncStatus
10276 2002-01-08 Juergen Vigna <jug@sad.it>
10278 * text.C (nextBreakPoint): use function Inset::isChar().
10280 * paragraph.C (TeXOnePar): use function
10281 Inset::forceDefaultParagraphs.
10283 * buffer.C (latexParagraphs): use function
10284 Inset::forceDefaultParagraphs.
10286 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10288 * lyx_gui.C (init): set the style of the menu popups to
10289 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10291 2002-01-07 Juergen Vigna <jug@sad.it>
10293 * text.C (setHeightOfRow): small fix
10294 (prepareToPrint): don't look at alignment if we don't have the place
10297 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10299 * box.C: New file. Move the Box methods and functions out of box.h,
10300 following Lars' suggestion.
10302 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10304 * box.h: #include "support/LOstream.h", needed for inlined function.
10307 * lyxtextclasslist.C: added some using std declarations.
10309 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
10311 * box.h: make signed dimensions to allow insets wider than
10312 the screen (bug #162)
10314 * BufferView_pimpl.C: add some insetHit debug
10316 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
10318 * vc-backend.C: add FIXME
10320 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10322 * lyxfunc.C (getStatus): enable code for showing math font status
10325 2002-01-07 Juergen Vigna <jug@sad.it>
10327 * text.C (nextBreakPoint): removed debug output not needed anymore.
10329 2002-01-06 Juergen Vigna <jug@sad.it>
10331 * text.C (nextBreakPoint): fixed up this function we had this bug
10332 since ever but now hopefully we break row better.
10333 (insertChar): we have to check if an inset is the next char as it
10334 could now happen that a large inset is causing a break.
10336 2002-01-05 Juergen Vigna <jug@sad.it>
10338 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10339 if it doesn't like to be drawed.
10341 2002-01-04 Juergen Vigna <jug@sad.it>
10343 * BufferView2.C (lockInset): forgot to set a cursor.
10345 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10347 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
10349 * FormMathsPanel.C:
10352 * form_maths_panel.C:
10353 * form_maths_panel.h:
10354 * form_maths_panel.fd: implemented sub- and super- buttons in math
10357 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10358 (or ^ space) to be used as in TeX (req'd by André).
10360 * lyxfunc.C: Allow ^ and _ again to be used both as
10361 super/subscript (mathed) and as themselves (in text).
10363 2002-01-03 Allan Rae <rae@lyx.org>
10365 * LyXView.C (updateWindowTitle): Setup a short icon title of either
10366 "LyX" or the filename of the current buffer if it has one. This is a
10367 modified form of John Levon's patch.
10369 * XFormsView.C (setWindowTitle): also set icon title.
10371 * LyXView.h (setWindowTitle): signature changed.
10372 * XFormsView.h (setWindowTitle): ditto.
10374 2002-01-02 Juergen Vigna <jug@sad.it>
10376 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10378 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10380 * screen.C (topCursorVisible): introduce a temp var for
10381 text->cursor.row(), handle the case where this row is null. (kindo
10384 * text2.C (setCursor): add a couple of asserts.
10386 * paragraph.h (inset_iterator): add -> operator
10388 * paragraph.[Ch] (autoDeleteInsets): remove member function
10390 * BufferView2.C (removeAutoInsets): rewrite to handle the old
10391 cursor pos correctly and handle inset deletion by itself.
10392 (insertErrors): move iterator declaration out of for expression
10394 * lyxtextclass.C: add <algorithm>
10396 * Makefile.am: added the new files to sources, removed layout.C
10398 * layout.C: removed file
10400 * layout.h: remove LYX_DUMMY_LAYOUT
10402 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10406 * lyxtextclass.[Ch]:
10407 * lyxtextclasslist.[Ch]: new files
10409 * include order changes to a lot of files, also changes because of
10412 2001-12-27 Juergen Vigna <jug@sad.it>
10414 * buffer.C (asciiParagraph): more fixes.
10416 * tabular.C (ascii): make ascii export support export of only the
10417 data separated by a column-delimiter.
10418 (ascii): better support for ascii export.
10420 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10422 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10424 * tabular_funcs.C: use a "using std::getline" instead of the
10425 previous fix from Angus (necessary for cxx + lyxstring)
10427 2001-12-24 Juergen Vigna <jug@sad.it>
10429 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10431 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10432 problems. First check a minipage also if we have some ert-contents
10433 (not only on par->size(), second set the right depth of the paragraph
10434 on the relink to the root-paragraph-list!
10436 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10437 which then did not anymore update the main paragraphs on undo/redo!
10439 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10441 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10442 code. Support all font-changing funcs (even those which are not in
10443 menu currently). Support for reporting font settings in
10444 mathed (disabled until Andre provides a function on mathed's side).
10446 * func_status.h (toggle): small helper function to set toggle
10449 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
10451 * tabular_funcs.C: getline -> std::getline
10453 2001-12-21 Juergen Vigna <jug@sad.it>
10455 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10456 accessed and could be 0 (I couldn't generate this but it seems
10459 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10461 * tabular_funcs.C: add LIstream.h, move write_attribute to..
10462 * tabular_funcs.h: here and include iosfwd
10464 2001-12-20 Juergen Vigna <jug@sad.it>
10466 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10467 inside inset but undo_par was.
10469 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10471 * Thesaurus.C: always include <config.h> in sources.
10475 * box.h: do not include <config.h> in header files
10477 * text.C (paintLastRow): remove unused variable
10479 * text.C (transformChar):
10481 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10483 * Painter.C (text):
10484 * font.C (width): rewrite to use uppercase() instead of
10487 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10489 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
10491 * lyxfind.C: clean up of find failure position change
10493 2001-12-20 Juergen Vigna <jug@sad.it>
10495 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10497 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10498 (TeXRow): added to LaTeX a single tabular row.
10499 (TeXLongtableHeaderFooter): added to output LT-h/f data.
10500 (Latex): simplified and finally good LT-h/f support.
10501 (various_functions): just small adaptions for LT-h/f support.
10503 * tabular_funcs.[hC]: added and moved here all not classfunctions
10506 2001-12-19 Juergen Vigna <jug@sad.it>
10508 * tabular.[Ch]: better support for longtabular options (not finished
10511 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10513 * text.C (paintLastRow): use the label font instead of the font of
10514 the last character to compute the size of *_BOX. This makes more
10515 sense and avoids a crash with empty paragraphs.
10516 Use Painter::rectangle to draw EMPTY_BOX.
10518 2001-12-19 Juergen Vigna <jug@sad.it>
10520 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10521 the paragraphs if the replaced paragraph is not the first one!
10522 Tried to delete not used paragraphs but does not work yet so for
10523 now it's inside #ifdef's and by default off!
10525 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10527 * MenuBackend.C: include "lyx_main.h" instead of declaring
10528 lastfiles (actually was declared as LastFiles* instead of a
10531 2001-12-17 Juergen Vigna <jug@sad.it>
10533 * tabular.C (AppendColumn): applied John's fix
10535 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
10539 * BufferView_pimpl.h:
10540 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10543 * box.h: new start of class for above
10545 * lyxfunc.C: ignore space-only minibuffer dispatches.
10546 Show the command name when it doesn't exist
10548 * minibuffer.C: don't add empty lines to the history
10550 * minibuffer.C: add a space on dropdown completion
10552 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
10554 * text.C: fix line above/below drawing in insets
10556 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10558 * lyxlength.C (LyXLength): Initialize private variables.
10560 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
10562 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10563 when inserting error insets.
10565 2001-12-13 Juergen Vigna <jug@sad.it>
10567 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10568 actually sometimes the before-paragraph.
10569 (setUndo): don't clear the redostack if we're not actually undoing!
10571 2001-12-06 Juergen Vigna <jug@sad.it>
10573 * undo_funcs.C (textHandleUndo): well after John's hint I got here
10574 and fixed redoing of main paragraph, so we can use it now ;)
10576 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10578 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10580 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10583 2001-12-13 André Pönitz <poenitz@gmx.net>
10586 * undo_func.C: minor cleanup
10588 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10590 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10591 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10592 font in urw-fonts package which is marked as -urw-fontspecific and
10593 does not work (incidentally, changing the encoding in the
10594 fonts.dir of this package to -adobe-fontspecific fixes the
10597 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10598 is a crash when undoing first paragraph (Juergen, please take a
10599 look). THis does not mean the undo fix is wrong, just that it
10602 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10603 the (Paragraph*) version when needed instead of duplicating the
10606 * text.C (workWidth): use Inset::parOwner to find out where the
10607 inset has been inserted. This is a huge performance gain for large
10608 documents with lots of insets. If Inset::parOwner is not set, fall
10609 back on the brute force method
10611 * paragraph_pimpl.C (insertInset):
10612 * paragraph.C (Paragraph):
10613 (cutIntoMinibuffer): set parOwner of insets when
10614 inserting/removing them
10616 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10618 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
10624 * mathed/formulabase.C:
10625 * mathed/math_cursor.[Ch]:
10626 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10629 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10631 * lyxlength.[Ch] (operator!=): new function
10633 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10635 * text.C (workWidth): use Inset::parOwner to find out where the
10636 inset has been inserted. This is a huge performance gain for large
10637 documents with lots of insets. If Inset::parOwner is not set, fall
10638 back on the brute force method
10640 * paragraph_pimpl.C (insertInset):
10641 * paragraph.C (Paragraph):
10642 (cutIntoMinibuffer): set parOwner of insets when
10643 inserting/removing them
10645 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10647 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10649 * tabular-old.C (getTokenValue):
10650 * tabular.C (getTokenValue):
10651 (write_attribute): new versions for LyXLength
10652 (everywhere): adjust the use of widths
10654 * tabular.h: change the type of widths from string to LyXLength
10656 2001-12-11 Ben Stanley <bds02@uow.edu.au>
10658 * paragraph.C: fixed missing line number count when exporting
10659 Environments to LaTeX file
10661 * buffer.C: added informational message for checking line numbers.
10663 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10665 * text2.C (deleteEmptyParagraphMechanism): if there is only one
10666 paragraph, do the 'double space' part, but not the 'empty
10669 * text.C (workWidth): small optimization
10670 (getLengthMarkerHeight): use minimal size for negative lengths.
10672 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
10674 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10676 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10678 2001-12-11 André Pönitz <poenitz@gmx.net>
10681 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10683 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10685 * text2.C: keep selection on a setFont()
10687 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10689 * lyx_cb.C: another bv->text misuse, from insert label
10691 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10694 * kbsequence.C: re-instate nmodifier mask
10696 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
10698 * lyx_main.h: make lyxGUI private.
10700 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10702 * lyxfind.C: place the cursor correctly on failed search
10704 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10706 * text.C (getLengthMarkerHeight): for small heights, the arrows
10707 are not always on top/bottom of the text
10708 (drawLengthMarker): smaller arrows; take the left margin in
10709 account; draw also vfills.
10711 (paintLastRow): remove special code for vfill and standard spaces,
10712 since everything is handled in drawLengthMarker now.
10714 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10716 * buffer.C (insertErtContents): try to handle font and language
10717 interaction a bit better.g
10719 * ColorHandler.C (updateColor): change the hash to cover the whole
10720 LColor enum, ws cleanup
10721 (getGCLinepars): ditto
10722 (getGCLinepars): only lookup in the linecache once.
10724 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
10726 * iterators.C (operator++): Make the iterator more robust
10728 * BufferView2.C (removeAutoInsets): Use paragraph iterators
10730 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10732 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10735 * text.C: better added space drawing
10737 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10740 * BufferView2.C: fix layout combo update on inset unlock
10742 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10744 * Makefile.am: don't compile unused files
10746 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10750 * LyXAction.C: remove old LFUN_LAYOUTNO
10752 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10754 * paragraph_pimpl.h:
10755 * paragraph_pimpl.C: isTextAt() doesn't need font param
10757 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10760 * lyxlex.C: little cleanup
10762 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10764 * BufferView_pimpl.C: fix insertAscii for insets
10766 2001-12-05 Juergen Vigna <jug@sad.it>
10768 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10769 set the right font on the "multi" paragraph paste!
10771 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10777 * lyxlength.C: remove out-commented code.
10779 * BufferView_pimpl:
10793 * vc-backend.C: change "while(" to "while ("
10795 * lyxlength.[Ch]: add zero function to check if length is zero or
10797 * lyxgluelength.C: use it
10799 2001-12-05 Allan Rae <rae@lyx.org>
10801 * lyxlength.C: Attempted a fix for the abs(int) header selection.
10802 Works for 2.95.3, from what I understand of Garst's reports this should
10803 work for other g++ versions. We're screwed if the abs(int) definition
10804 changed between bugfix releases of gcc.
10806 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10808 * text.C: fix chapter label offset !
10810 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10813 * text.C: fix hfill at end of line, clean up
10815 2001-12-04 Juergen Vigna <jug@sad.it>
10817 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10818 that we force an update of the inset and it's owners if neccessary.
10820 2001-12-03 Juergen Vigna <jug@sad.it>
10822 * text.C (rowLast): simplified code
10824 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10826 * lyxfunc.C: fix show options on timeout
10828 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10830 * screen.C (topCursorVisible): scroll half a page when the cursor
10831 reached top of bottom of screen
10833 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
10835 * minibuffer.C: deactivate on loss of focus
10837 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10839 * vspace.[Ch] (operator!=): add operator.
10841 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
10843 * BufferView_pimpl.C: refuse to open an inset when
10844 there's a selection.
10846 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
10848 * BufferView_pimpl.C: allow to click on RHS of full row insets
10850 2001-11-30 Juergen Vigna <jug@sad.it>
10852 * tabular.C (LyXTabular): add a same_id to set the same id's in the
10853 insets for undo reasons.
10855 2001-11-28 André Pönitz <poenitz@gmx.net>
10857 * vspace.[Ch]: cosmetical changes
10859 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10869 * kbsequence.C: part re-write of old kb code
10872 * WorkArea.C: remove Lgb_bug_find_hack
10874 2001-11-30 José Matos <jamatos@fep.up.pt>
10876 * buffer.C (makeDocBookFile): add a comment to point a hack.
10877 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10878 Fixed a double write of labels.
10880 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10883 * LaTeX.h Fixed bug in LaTeX class where it would not
10884 re-run latex if no depfiles were changed, but the .dvi was removed.
10886 2001-11-28 André Pönitz <poenitz@gmx.net>
10888 * all the files from the change on 2001/11/26:
10889 use lyx::layout_type instead of LyXTextClass::size_type
10890 use lyx::textclass_type instead of LyXTextClassList::size_type
10892 2001-11-29 Juergen Vigna <jug@sad.it>
10894 * text.C: added support for paragraph::isFreeSpacing()
10896 * buffer.C: same as above
10898 * paragraph.h: inserted isFreeSpacing() function to enable
10899 FreeSpacing inside InsetERT.
10901 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10902 of the paragraph's in the cut/copy buffer to 0!
10904 * text2.C (removeRow): remove the assert as it can!
10906 * lyxtext.h: added helper function firstRow returning firstrow and
10907 made firstrow private again.
10909 * BufferView2.C (lockInset): don't relock if we're already locked!
10911 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10912 the only paragraph.
10913 (removeRow): added Assert::(firstrow)
10915 * debug.C: forgot to add INSETTEXT here.
10917 2001-11-28 Juergen Vigna <jug@sad.it>
10919 * sp_spell.C (initialize): changed error text to more general
10920 spellchecker command use (not only ispell!)
10922 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10924 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10926 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10928 * vspace.C: initialise lyxgluelength on failure
10930 2001-11-28 Allan Rae <rae@lyx.org>
10932 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10933 declaration & definition that looks like a function declaration.
10935 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10937 * BufferView2.C (copy):
10938 (copyEnvironment): do not clear the selection when doing a copy.
10940 * text.C (paintFirstRow): compilation fix
10942 2001-11-27 Ben Stanley <bds02@uow.edu.au>
10944 * tabular.C (Latex): correct line count when writing latex.
10946 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
10948 * paragraph_pimpl.h:
10949 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10952 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10956 * LColor.C: change vfillline->added_space
10958 * text.C: add markers and text for added space
10960 * vspace.C: fix comment
10962 2001-11-28 André Pönitz <poenitz@gmx.net>
10964 * paragraph.C: whitespace changes
10965 * all the other files from the change on 2001/11/26:
10966 change *::pos_type into lyx::pos_type
10968 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
10970 * buffer.C (parseSingleLyXformat2Token): Set the language to the
10971 language of the document when inserting error insets.
10973 2001-11-26 André Pönitz <poenitz@gmx.net>
10975 * BufferView_pimpl.[Ch]:
10983 * paragraph_pimpl.[Ch]:
10986 * text2.C: reduce header dependencies, introduce type for positions
10988 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10990 * <various>: change to use Alert.h
10992 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
10994 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10995 when encountering an unknown token.
10996 (readLyXformat2): Show an error message if there were unknown tokens.
10998 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
11001 * BufferView_pimpl.C:
11005 * text2.C: use par->isInset()
11007 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11009 * paragraph_pimpl.h:
11010 * paragraph_pimpl.C: cleanup
11012 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11014 * text2.C (removeRow):
11015 * text.C (setHeightOfRow): remove useless (and costly) call to
11018 2001-11-20 Allan Rae <rae@lyx.org>
11020 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11021 Now need Inset*::checkInsertChar() to return true for appropriate
11022 cases so that the characters in the minibuffer will actually be
11025 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11027 * text.C: change the order of the includes.
11028 (workWidth): initialize it at once.
11029 (workWidth): make maxw unsigned
11030 (setHeightOfRow): remove unused variable (inset)
11031 (selectSelectedWord): remove unused variable (inset)
11032 (paintRowText): fix drawing of hfill characters, and clean up a bit.
11034 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11036 * lyxserver.C (emergencyCleanup): do not try to close pipes if
11037 server is not running.
11039 (closeConnection): add debug info when server is disabled.
11041 * ColorHandler.C (getGCForeground): send debug message to GUI
11044 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11046 * kbmap.C (bind): modify because return conventions of
11047 kb_sequence::parse have changed.
11049 * kbsequence.C (parse): only ignore spaces and not any stupid
11050 control character. This avoids tests like s[i] <= ' ', which are
11051 guaranteed to fail with 8bit characters and signed chars.
11052 Change return code to string::npos when there have been no error
11053 (0 was a bad idea when error is at first character)
11055 2001-11-14 José Matos <jamatos@fep.up.pt>
11058 * buffer.C (simpleDocBookOnePar): removed unused argument.
11060 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11062 * text.C (selectNextWordToSpellcheck): do not test explicitely for
11063 insets which are part of a word. Paragraph::isLetter takes care of
11064 that now. Use Paragraph::isInset to identify insets.
11065 (selectSelectedWord): do not test for hyphenation break.
11067 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11068 that protected spaces are considered as spaces.
11070 * paragraph.C (isLetter): cleanup the code for ispell extras; use
11073 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
11076 * lyxserver.C: fix it. and small cleanup.
11078 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11080 * BufferView_pimpl.C: use inline helpers
11083 * LaTeXFeatures.C: fix typos
11086 * Spacing.C: move spacing_string into class
11088 * ToolbarDefaults.C: move stuff into namespace anon
11090 * layout.h: update enum
11092 * lyxfunc.C: use better debug
11094 * minibuffer.h: fix typo
11098 * WorkArea.C: add and use Debug::WORKAREA
11102 * text2.C: code re-organisation, inline helpers
11104 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
11106 * Layout.C: replaced a few cases of std::vector.size() == 0 with
11107 std::vector.empty().
11109 2001-11-09 Allan Rae <rae@lyx.org>
11111 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11112 '\n's after tables. Tabular and ERT inset work now makes this no
11115 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11118 * minibuffer.C: fix crash, improve drop-down completion
11120 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11123 * lyxserver.C: invalidate fd's when doing endPipe()
11125 2001-11-08 José Matos <jamatos@fep.up.pt>
11127 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11128 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11131 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11133 2001-11-07 José Matos <jamatos@fep.up.pt>
11136 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11139 * buffer.C (sgmlOpenTag):
11140 * buffer.C (sgmlCloseTag): removed debug info.
11142 * buffer.h (sgmlOpenTag):
11143 * buffer.h (sgmlCloseTag): made public.
11145 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11147 * buffer.C (saveParamsAsDefaults):
11148 * lyx_cb.C (MenuLayoutSave): remove
11150 * LyXAction.C (init):
11152 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11154 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11156 * buffer.C (setPaperStuff): removed from here...
11158 * bufferparams.C (setPaperStuff): ... and moved there.
11160 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11164 * XFormsView.C: add support for drop-down completion
11166 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11168 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11171 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11173 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11176 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11178 * lyx_main.C: change ref to known bugs
11180 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11182 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11183 to work around older babel problems.
11185 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11187 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11189 2001-10-24 Juergen Vigna <jug@sad.it>
11191 * tabular-old.C (ReadOld): below variable changes reflected.
11193 * tabular.[Ch]: added ltType struct for longtable header/footer
11194 defines and changed all instances where they are used. Added
11195 future support for double top/bottom rows.
11197 2001-10-24 José Matos <jamatos@fep.up.pt>
11199 * buffer.h (docbookHandleCaption):
11200 * buffer.C (docbookHandleCaption): removed unused function.
11201 (makeDocBookFile): moved docbook supported version to v4.1.
11203 2001-10-24 José Matos <jamatos@fep.up.pt>
11206 * tabular.C (docbookRow): new function to export docbook code of a row.
11207 (DocBook): now honors the longtable flags.
11209 2001-10-23 José Matos <jamatos@fep.up.pt>
11212 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11213 of the lyx defined sgml entities used in a docbook/linuxdoc document.
11215 * buffer.C (makeLinuxDocFile):
11216 (makeDocBookFile): reworked the preamble, more clean, and with
11217 support for lyx defined entities. Changed the document declaration
11218 to be more XML friendly.
11220 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11221 if we need to output XML that should be done with a filter.
11223 2001-10-22 Juergen Vigna <jug@sad.it>
11225 * sp_pspell.h (class PSpell): add alive function needed in the
11226 controller to see if the spellchecker could be started.
11228 2001-10-22 Juergen Vigna <jug@sad.it>
11230 * buffer.C (insertStringAsLines): modify the font for inserting
11231 chars in certain conditions by calling checkInsertChar(font).
11233 2001-10-19 Juergen Vigna <jug@sad.it>
11235 * text.C (workWidth): use getRow instead of wrong algorithm.
11236 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11238 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
11243 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11245 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11247 * text.C (workWidth): do not search for the exact row when
11248 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11249 optimization for big documents.
11251 2001-10-18 Juergen Vigna <jug@sad.it>
11253 * text.C (workWidth): new function with added Inset * parameter.
11255 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11257 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11259 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11260 change return type of getColumnNearX.
11263 * text.C (changeRegionCase): use uppercase/lowercase instead of
11266 (rightMargin): simplify code by factoring out the uses of
11271 (appendParagraph): use Paragraph::size_type
11273 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11275 * vspace.C (asLatexString): add a missing break
11277 2001-10-15 Herbert Voss <voss@perce.de>
11279 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11281 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11283 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11286 2001-10-10 André Pönitz <poenitz@gmx.net>
11288 * lyxfunc.C: removed greek_kb_flag.
11290 2001-10-10 Herbert Voss <voss@perce.de>
11292 * lyx_main.C: delete global string help_lyxdir.
11294 2001-10-09 Herbert Voss <voss@perce.de>
11296 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11298 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11300 * lyx_main.C: added global string help_lyxdir.
11302 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11304 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
11306 * lyxrc.C (set_font_norm_type): support iso8859-4
11308 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
11310 * LaTeX.C (deplog): add another regex for MikTeX
11312 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
11314 * lyxrc.C (set_font_norm_type): support iso8859-3
11316 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11318 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11320 * LaTeXFeatures.C: remove special case of french and index
11322 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11323 before \begin{document}). This solves several incompatibilities.
11325 2001-10-03 Garst Reese <reese@isn.net>
11327 * lyx_cb.C: change CheckTex error msg.
11329 2001-10-03 José Matos <jamatos@fep.up.pt>
11331 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11333 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11335 * .cvsignore: update
11337 * lyx_main.C (commandLineVersionInfo): use new style version info.
11339 * buffer.C (writeFile):
11341 (makeLinuxDocFile):
11342 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11344 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11346 * version.h: update to use stuff in version.C
11348 * version.C.in: new file. Contains version information determined
11349 at compile time. This is a merging of version.h and
11352 2001-10-03 Juergen Vigna <jug@sad.it>
11354 * BufferView_pimpl.C (update): don't change "dirty" status in
11357 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
11359 * WorkArea.C (c-tor): re-position version string slightly.
11361 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
11363 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11364 revert to previous code.
11366 WorkArea.[Ch]: (show, destroySplash): methods removed.
11368 WorkArea.C: rework code so that it's an amalgam of the codes before and
11369 after the splash screen was moved to WorkArea.
11371 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11374 * vspace.C (inPixels):
11377 * buffer.C (insertStringAsLines):
11378 (asciiParagraph): fix types to be large enough
11380 * lyxlex_pimpl.h: change member status from short to int
11382 * layout.h: fix type of endlabeltype
11385 * kbsequence.C (parse): change return type to string::size_type
11387 * LaTeX.C (updateBibtexDependencies): comment out unneeded
11390 * Bullet.C (bulletSize):
11391 (bulletEntry): do not use short ints as parameters
11393 * BufferView2.C (insertLyXFile): change a char to an int.
11395 * WorkArea.C (WorkArea): remove unneeded floats in computation
11397 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
11399 * buffer.C (asciiParagraph): Treat '\\' as other chars.
11401 * paragraph.C (asString): Do not ignore newline/hfill chars when
11402 copying to the clipboard.
11404 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
11406 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11407 after a multi-line inset.
11409 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
11411 * paragraph.C (validate): Set NeedLyXFootnoteCode
11413 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11415 * lyxfont.C (LyXSizeNames): changed increase-error to increase
11416 and decrease-error to decrease.
11418 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11420 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11421 it more readable (should be equivalent)
11423 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
11425 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11427 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11429 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11430 of a cursor (row, etc.) after a character has been deleted
11431 (deleteEmptyParagraphMechanism): call the method above on _all_
11432 cursors held by the LyXText when a double space has been
11435 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11437 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11439 (resizeCurrentBuff): remove code to destroy the old splash dialog.
11441 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11442 background. Use greyOut() and the new show() methods to toggle between
11443 the foreground and background. Add code to remove the splash after
11444 its initial showing.
11446 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11447 (create_forms): no longer call Dialogs::showSplash.
11449 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11451 * .cvsignore: add version_info.h
11453 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11455 * version_info.h.in: new file
11457 * Makefile.am: add version_info.h.in
11459 * lyx_main.C (commandLineVersionInfo): use version_info defined in
11460 version_info.h instead of VERSION_INFO
11462 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
11464 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11465 The ERT inset now returns string().
11467 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
11469 * lyxtext.h, text.C (selectNextWord): renamed as
11470 selectNextWordToSpellcheck.
11472 * text.C (selectNextWordToSpellcheck): Modified to not select
11473 words inside an ERT inset.
11475 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11477 * lyx_cb.C (MenuLayoutSave): change a bit the question
11479 * sp_base.h: include <sys/types.h>
11481 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
11483 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11485 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
11487 * several files: fix typos in user-visible strings
11489 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11491 * text2.C (pasteSelection): do not set the selection, since it
11492 will be cleared later. Actually, the intent was to fix the way the
11493 selection was set, but I figured rmoving the code was just as good.
11495 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
11497 * FontLoader.C (available): Check if font is available without
11500 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11502 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11504 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
11506 * lyxrc.[Ch]: added display_graphics variable and associated code.
11508 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11510 * bufferparams.C (hasClassDefaults): new method. Returns true if
11511 the buffer parameters correspond to known class defaults
11513 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
11515 * XFormsView.C (show): set minimum size to the main window.
11517 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11519 * text2.C (copySelection):
11521 * lyxfind.C (LyXReplace):
11522 * BufferView_pimpl.C (Dispatch): pass the correct flag to
11523 LyXText::selectionAsString.
11525 * paragraph.C (asString): add "label" argument to the second form
11527 * text2.C (selectionAsString): add "label" argument and pass it to
11528 Paragraph::asString.
11530 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11532 * lyx_main.C (commandLineHelp): remove version information
11534 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
11536 * lyx_main.C: add -version commandline option
11538 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11540 * paragraph.h: make the optional constructor arg required instead.
11541 some modifications to other files because of this.
11543 * minibuffer.C (C_MiniBuffer_peek_event): make it static
11545 * lyxserver.C (C_LyXComm_callback): make it static
11547 * lyx_main.C (error_handler): make it static
11549 * lyx_gui.C (LyX_XErrHandler): make it static
11551 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11553 * WorkArea.C: make the extern "C" methods static.
11555 * Makefile.am (lyx_LDADD): simplify
11557 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11559 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11560 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11562 * LyXAction.C (init):
11563 * lyxfunc.C (dispatch): associated code removal.
11565 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11567 * lyxfont.h (isSymbolFont): shut off warning
11569 * text.C (setHeightOfRow):
11570 (getVisibleRow): fix crash with empty paragraphs which have a
11573 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
11575 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11578 2001-09-04 José Matos <jamatos@fep.up.pt>
11581 * tabular.C (docbook): rename docBook method to docbook.
11583 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11585 * Makefile.am: add dependencies to main.o.
11587 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
11589 * FontLoader.C (available): Return false if !lyxrc.use_gui
11591 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
11593 * FontInfo.C (query):
11594 * converter.C (view):
11595 * importer.C (Import):
11596 * exporter.C (Export): Can not -> cannot.
11598 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
11600 * BufferView_pimpl.C: allow to create index inset even if
11603 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11605 * buffer.C (getLists): replace boost::tie code with an explicit pair
11606 as boost::tie can break some compilers.
11608 * iterators.h: Added a std:: declaration to the return type of
11611 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
11613 * lyxrc.C: add help for view_dvi_paper_option, default to safe
11616 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
11618 * iterators.[Ch]: New files. Provide paragraph iterators.
11620 * buffer.C (changeLanguage): Use paragraph iterators.
11621 (isMultiLingual): ditto
11623 * BufferView2.C (ChangeInsets): Use paragraph iterators.
11625 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
11627 * FontLoader.C: Support for cmr font.
11629 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
11631 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11632 (available): New method.
11634 * FontInfo.C (getFontname): Use scalable fonts even when
11635 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11638 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11640 * converter.C (Formats::view): reverted! Incorrect fix.
11642 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11644 * converter.C (Formats::view): only output the -paper option
11645 if the dvi viewer is xdvi, thereby fixing bug #233429.
11647 2001-08-23 Herbert Voss <voss@perce>
11649 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11651 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
11653 * Spacing.h (Spacing): Set space to Default on in the default
11656 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
11658 * vc-backend.h (RCS::versionString): add RCS to version
11659 (CVS::versionString): add CVS to version
11661 * vc-backend.C (scanMaster): do not add CVS to version.
11662 (scanMaster): do not add RCS to version
11664 * lyxvc.C (versionString): new method
11666 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11668 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11670 * Spacing.C (set): initialize fval
11672 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
11674 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11677 2001-08-16 Juergen Vigna <jug@sad.it>
11679 * lyxfunc.C (dispatch): implemented the new FINISHED states.
11681 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11683 * BufferView_pimpl.C:
11686 * text2.C: setParagraph takes linespacing now
11688 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
11690 * LyxAction.C: add internal LFUN_CITATION_INSERT
11692 * LyXView.C: actually apply fix
11694 * bufferlist.C: fix open non-existent file
11696 * lyxfind.C: fix indentation
11698 * lyxfunc.C: remove unneeded assert, fix typo
11700 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11702 * MenuBackend.C: use "Floatname List"
11704 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
11706 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11707 when converting LaTeX layout to insetERT.
11708 Generate a non-collapsed float when reading old float
11710 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11712 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11715 2001-08-13 Juergen Vigna <jug@sad.it>
11717 * text.C (fill): return 0 instead of 20 as this seems to be the more
11720 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11722 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11725 2001-08-13 Juergen Vigna <jug@sad.it>
11727 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11729 (SearchBackward): comment out the unlocking of the inset_owner this
11730 should not be needed!
11732 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
11734 * Many files: Remove inherit_language, and add latex_language
11736 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11737 collapsible insets.
11739 2001-08-10 Juergen Vigna <jug@sad.it>
11741 * text.C (prepareToPrint): fixed hfill-width in draw!
11743 * BufferView2.C (selectLastWord): save the selection cursor as this
11744 now is cleared in the function LyXText::clearSelection!
11746 2001-08-08 Juergen Vigna <jug@sad.it>
11748 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11749 BACKSPACE type functions.
11751 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11752 is only cutted from the document but not put in the cut-buffer, where
11753 still the old stuff should be.
11755 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11757 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11759 * tabular.C (SetWidthOfCell): fixed special case where the width
11761 (LeftLine): handle '|' in align_special.
11763 (LeftAlreadyDrawed): ditto
11764 (SetWidthOfCell): ditto
11766 2001-08-07 Juergen Vigna <jug@sad.it>
11768 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11770 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11772 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11773 * lyxlex.[hC]: ditto
11775 2001-08-06 Juergen Vigna <jug@sad.it>
11777 * text.C (getVisibleRow): fix up row clearing a bit.
11779 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11781 * minibuffer.C: make sure the X server sees the changes in the input.
11783 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11785 * paragraph.C (getFont): split into...
11786 (getLabelFont): this
11787 (getLayoutFont): and this
11788 * paragraph_pimpl.C (realizeFont): calling this
11790 * text2.C (getFont): split into...
11791 (getLayoutFont): this
11792 (getLabelFont): and this
11793 (realizeFont): all three calling this
11795 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11798 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11800 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11802 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
11804 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11805 layouts from the Quote inset insertion.
11807 2001-08-03 Juergen Vigna <jug@sad.it>
11809 * BufferView_pimpl.C (update): do the fitCursor only at the end!
11811 * screen.C (drawFromTo): don't call fitcursor here and do the loop
11812 only if status not is already CHANGED_IN_DRAW (second level).
11814 * text.C (draw): don't set the need_break_row when inside an
11817 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11819 * buffer.C (parseSingleLyXformat2Token): handle more latex
11822 * bufferview_funcs.[hC]: change function names to
11823 begin with small char, adjust other files.
11825 2001-08-02 André Pönitz <poenitz@gmx.net>
11828 BufferView_pimpl.C: remove broken special code for math-greek
11830 2001-08-02 Juergen Vigna <jug@sad.it>
11832 * BufferView_pimpl.C (update): redone this function so that we
11833 update the text again if there was a CHANGE_IN_DRAW.
11835 * screen.C (cursorToggle): removed LyXText parameter and recoded.
11836 (drawFromTo): added a new internal bool which is used by draw() and
11838 (general): some cursor drawing problems fixed.
11840 2001-08-01 Juergen Vigna <jug@sad.it>
11842 * lyxfind.C (LyXFind): fixed
11843 (SearchForward): ditto
11844 (SearchBackward): ditto
11846 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11847 spurius drawing of the cursor in the main area.
11849 * text2.C (status): small fix which could lead to a segfault!
11850 (clearSelection): remove unneeded BufferView param.
11852 2001-08-01 André Pönitz <poenitz@gmx.net>
11854 * lyxfunc.C: small change due to changed mathed interface
11856 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11858 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11860 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
11862 * lyxfunc.c: fail gracefully if file doesn't exist
11867 * BufferView_pimpl.C: IsDirWriteable() proto changed
11869 * LyXView.C: fix updateWindowTitle() to store the last title
11871 2001-07-31 Juergen Vigna <jug@sad.it>
11873 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11874 the font (wrong since using of Paragraph::highestFontInRange).
11876 * paragraph.C (highestFontInRange): added a default_size parameter.
11878 * text.C (getVisibleRow): minor clear row changes (still not perfect).
11879 (setHeightOfRow): reformat
11881 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11883 * converter.[hC] + affected files: move to (inital-char)lowercase
11886 * ParagraphParameters.C (ParagraphParameters): remove commented code
11888 * PainterBase.[Ch]: remove commented code
11890 * LaTeXFeatures.h: add "bool floats" for float.sty
11892 * LaTeXFeatures.C (LaTeXFeatures): init floats
11893 (require): handle float
11894 (getPackages): do it with floats
11896 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11898 * BufferView_pimpl.C (Dispatch): improve handling of
11899 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11901 * commandtags.h: #include lyxfont.h here temporarily to avoid
11904 * bufferlist.h: include LString.h here.
11906 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11908 * text2.C (getStringToIndex): new method.
11910 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
11912 * *: Reduced header file dependencies all over.
11914 2001-07-30 Baruch Even <baruch@lyx.org>
11916 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11918 2001-07-29 Baruch Even <baruch@lyx.org>
11920 * buffer.C (readInset): Changed GRAPHICS to Graphics.
11922 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11924 * ParameterStruct.h (endif): add a default constructor to make
11925 sure that all variables is initialized.
11927 * ParagraphParameters.C (ParagraphParameters): adjust
11929 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11931 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11932 index; also, check that there is something to index, and that it
11933 does not span over several paragraphs.
11934 (doubleClick): use WHOLE_WORD_STRICT for double click.
11936 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11938 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11941 2001-07-26 Baruch Even <baruch@lyx.org>
11943 * buffer.C (readInset): Changed to call up InsetGraphics when reading
11944 an InsetFig figure, backwards compatible reading of old figure code.
11946 2001-07-27 Juergen Vigna <jug@sad.it>
11948 * text2.C: font.realize function adaption.
11950 * text.C (draw): add a warnings lyxerr text if needed.
11952 * layout.C: font.realize function adaption.
11954 * language.C: add inherit_language and implement it's handlings
11956 * bufferview_funcs.C (StyleReset): remove language parameter from
11957 font creation (should be language_inherit now).
11959 * bufferparams.C (writeFile): handle ignore_language.
11961 * paragraph.C (getFontSettings): the language has to be resolved
11962 otherwise we have problems in LyXFont!
11964 * lyxfont.C (lyxWriteChanges): added document_language parameter
11965 (update): removed unneeded language parameter
11967 * paragraph.C (validate): fixed wrong output of color-package when
11968 using interface colors for certain fonts in certain environments,
11969 which should not seen as that on the final output.
11971 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
11973 * BufferView_pimpl.C:
11978 * LyXAction.C: add thesaurus support
11981 * lyxfind.C: add "once" parameter, for thesaurus, to not
11982 move to the next match
11984 2001-07-26 Juergen Vigna <jug@sad.it>
11986 * lyxfont.C (realize): honor ignore_language too!
11989 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11991 * text.C (draw): one place more for ignore_language to not draw
11994 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
11996 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11998 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12000 * buffer.C (parseSingleLyXformat2Token): a more general fix for
12001 the minipage conversion problem.
12003 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12005 * buffer.C (parseSingleLyXformat2Token): check minipage if we
12008 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12010 * BufferView.h: don't forward declare WorkArea
12012 * BufferView.C: don't include WorkArea.h
12014 2001-07-25 André Pönitz <poenitz@gmx.net>
12018 * lyxfunc.C: new LFUN 'math-space'
12020 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12022 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12024 * text2.C (toggleInset): call open/close
12026 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12028 * lyxfunc.C (dispatch): add debug for the disabled case
12030 * font.C (buttonText): make similar to rectText
12032 * buffer.C (readInset): comment out parsing of insetlist and
12035 * PainterBase.C (rectText): small correction
12037 * BufferView_pimpl.C: comment out insettheorem and insetlist
12038 * LyXAction.C: ditto
12039 * commandtags.h: ditto
12041 2001-07-24 Juergen Vigna <jug@sad.it>
12043 * text.C (draw): honor the ignore_language.
12045 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12047 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12049 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12052 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12054 * lyxtext.h: remove unused (and unimplemented) methods
12056 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12058 * text.C (getVisibleRow): honor background color
12061 * Painter.h: remove default color argument for fillRectangle
12063 * text.C (backgroundColor): new method
12065 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12067 * text.C (getVisibleRow): adjust
12069 * font.[Ch] (rectText): new method, metrics
12070 (buttonText): new method, metrics
12072 * PainterBase.[hC]: make rectText and buttonText always draw and take
12075 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12077 * ToolbarDefaults.C (read):
12078 * MenuBackend.C (read): allow escaping in all strings
12080 * BufferView_pimpl.C (insertAndEditInset): new method.
12081 (Dispatch): use insertAndEditInset whenever appropriate.
12083 * BufferView_pimpl.C (insertNote): removed
12085 * BufferView_pimpl.C (smartQuote): new method, moved from
12086 BufferView; if an insetquote cannot be inserted, insert a '"'
12089 * BufferView2.C: remove insertCorrectQuote();
12091 * lyxfunc.C (getStatus): Add support for all remaingin
12092 inset-insert lfuns.
12094 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12096 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12097 command (necessary to pass " as parameter of self-insert.
12099 * text.C (selectWordWhenUnderCursor):
12100 (selectWord): add word_location parameter
12101 (selectWordWhenUnderCursor): same + remove special code for word
12103 (selectNextWord): use kind() to guess type of insetspecialchar,
12106 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12107 (insertErtContents): create ert insets as collapsed.
12108 (readInset): better compatibility code for Info inset.
12110 2001-07-20 Juergen Vigna <jug@sad.it>
12112 * lyxfunc.C (dispatch): use always LyXFind now!
12114 * text2.C (init): add a reinit flag so that the LyXText can be
12115 reinited instead of deleted and reallocated (used in InsetText).
12117 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12123 2001-07-18 Juergen Vigna <jug@sad.it>
12125 * text.C (selectNextWord): handle insets inside inset by calling
12126 always the bv->text functions so that we can go up the_locking_inset!
12128 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12129 in strange locations when inside an inset!
12131 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12132 handling to include insets.
12134 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12136 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12138 * LyXAction.C (init):
12140 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12141 LIGATURE_BREAK, since the name is so stupid.
12143 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12145 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12148 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12150 * sp_form.[Ch]: remove.
12152 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12154 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12157 * src/buffer.C (readInset): ditto.
12159 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12161 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12162 menuSeparator(), endOfSentenceDot(), ldots() and
12163 hyphenationPoint(), which are therefore removed.
12164 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12166 * LyXAction.C (init):
12167 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12169 * paragraph.C (getWord): removed.
12171 * BufferView_pimpl.C (Dispatch): use last word or selection for
12172 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12174 * lyx_main.C (queryUserLyXDir): do not ask before creating
12175 user_dir, except if it has been named explicitely.
12177 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12179 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12180 a document of zero size.
12182 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12184 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12185 approriately in the c-tor and in require().
12186 (getPackages): output the appropriate LaTeX for natbib support.
12188 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12189 variables "use_natbib" and "use_numerical_citations" when reading the
12191 (readInset): read the various natbib cite commands.
12192 (validate): white-space change.
12194 * bufferparams.[Ch]: new variables "bool use_natbib" and
12195 "bool use_numerical_citations".
12196 (writeFile): output them in the LyX file.
12198 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12200 * lyxfunc.C (getStatus): add support for all the inset insertion
12203 * text2.C (insertInset):
12204 * paragraph.C (insetAllowed):
12205 * BufferView_pimpl.C (insertInset): update to take in account the
12206 renaming of insertInsetAllowed
12208 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12210 * text2.C (getInset): new method. returns inset at cursor position.
12212 * BufferView_pimpl.C (Dispatch): changes because of this.
12214 * LyXAction.C (init): rename open-stuff to inset-toggle.
12216 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12218 * text2.C (toggleInset): renamed from openStuff; use
12221 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
12223 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12225 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12227 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
12229 * buffer.C (readLyXformat2): Add filename to the error dialog
12231 2001-07-18 Juergen Vigna <jug@sad.it>
12233 * tabular.C (GetCellNumber): put an assert here instead of the check!
12235 2001-07-17 Juergen Vigna <jug@sad.it>
12237 * BufferView_pimpl.C (toggleSelection): adapted too.
12239 * text.C (selectNextWord): adapted for use with insets.
12240 (selectSelectedWord): ditto
12242 2001-07-17 Juergen Vigna <jug@sad.it>
12244 * sp_spell.C (PSpell): fix initialitation order.
12246 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12248 * paragraph.C: spacing
12250 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
12252 * sp_spell.C: repair language selection for pspell
12254 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12256 * lyxfunc.h: change more methods to begin with lower char.
12258 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
12260 * buffer.C (parseSingleLyXformat2Token): Generate error insets
12261 for unknown layouts.
12263 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
12265 * buffer.C (readLyXformat2): Generate an error dialog if there are
12268 2001-07-16 Juergen Vigna <jug@sad.it>
12270 * sp_spell.C: always compile ISpell part.
12272 * lyxrc.C: added use_pspell entry and it's handling.
12274 2001-07-13 Juergen Vigna <jug@sad.it>
12276 * sp_spell.C: removed double includes.
12278 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
12280 Consistent use of Lsstream.h:
12281 * Lsstream.h: added using std::stringstream for consistencies sake.
12283 * buffer.C: removed using std::stringstream
12285 * lyxfont.C (stateText):
12286 * paragraph.C (asString):
12287 * text.C (selectNextWord, selectSelectedWord):
12288 * text2.C (setCounter):
12289 * vspace.C (asString, asLatexString):
12290 std::ostringstream -> ostringstream.
12292 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12294 * LyXAction.C: add LFUN_HELP_ABOUTLYX
12295 * commandtags.h: add LFUN_HELP_ABOUTLYX
12296 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12298 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12300 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12302 * lyx_gui_misc.C: remove spellchecker
12303 * lyxfunc.C: showSpellchecker
12305 * sp_ispell.h: added
12306 * sp_pspell.h: added
12307 * sp_spell.C: added
12308 * sp_form.[Ch]: removed
12309 * spellchecker.[Ch]: removed
12311 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
12313 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12315 (simpleTeXSpecialChars): Simply print the input character without
12316 any special translation if pass_thru is set.
12318 * layout.h: Added bool pass_thru to layout class for being able to
12319 implement pass through of a paragraph for Literate Programming.
12321 * layout.C: add LT_PASS_THRU to LayoutTags enum.
12322 * layout.C (LyXLayout): set pass_thru to flase in constructor.
12323 * layout.C (Read): add "passthru" to list of layout tags and add
12324 code to set the pass_thru boolean when it is read.
12326 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12328 * trans_decl.h: remove allowed from KmodInfo
12330 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12331 remove allowed code
12334 * paragraph_pimpl.C (erase): use boost::prior
12336 * Painter.C (text): use data() instead of c_str() when length is
12338 * WorkArea.C (putClipboard): ditto
12339 * font.h (width): ditto
12341 * BufferView2.C: use it-> instead of (*it). for iterators
12343 * paragraph_pimpl.C: ditto
12344 * paragraph.C: ditto
12345 * minibuffer.C: ditto
12346 * language.C: ditto
12348 * encoding.C: ditto
12349 * counters.C: ditto
12350 * converter.C: ditto
12352 * Variables.C: ditto
12353 * TextCache.C: ditto
12354 * MenuBackend.C: ditto
12355 * LyXAction.C: ditto
12357 * FloatList.C: ditto
12358 * DepTable.C: ditto
12359 * ColorHandler.C (LyXColorHandler): ditto
12361 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12363 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12365 * text2.C (openStuff): reintroduce this method (which had been
12366 nuked in NEW_INSETS frenzy).
12368 * lyxfunc.C (Dispatch): when an action has not been handled, use
12369 its name in the error message, not its number.
12371 * paragraph.C (inInset): change method name to begin with lowercase.
12374 * text2.C: updates because of this.
12376 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12378 * ToolbarDefaults.C (add): add spaces in error message
12380 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12382 * buffer.C (readLyXformat2): initialize the ert comp. variables.
12383 (readLyXformat2): rename return_par to first_par, use lyxlex's
12384 pushToken and remove the manual push handling.
12385 (parseSingleLyXformat2Token): add another ert comp. variable:
12386 in_tabular, rename return_par to first_par. handle newlines better
12388 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12390 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12392 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12394 * text2.C (getParFromID): removed
12396 * buffer.C (getParFromID): new method moved form lyxtext.
12397 * BufferView2.C (insertErrors): adjust
12398 (setCursorFromRow): adjust
12399 * BufferView_pimpl.C (restorePosition): adjust
12400 * lyxfunc.C (Dispatch): adjust
12401 * undo_funcs.C (textUndo): adjust
12403 (textHandleUndo): adjust
12404 (textHandleUndo): adjust
12406 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12408 * buffer.C: up' the LYX_FORMAT
12410 * lyxfont.h: turn NO_LATEX on as default
12412 * buffer.C (insertErtContents): new methods of tex style compability.
12413 (parseSingleLyXformat2Token): use it several places.
12414 * tabular.C (OldFormatRead): and here
12416 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12418 * text2.C: remove some commented code.
12421 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12422 * trans.C: changes because of the above.
12424 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
12426 * text2.C (setCounter): Fix counters bug with bibliography layout.
12428 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12430 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12431 own member functions
12432 (simpleTeXSpecialChars): ditto
12434 2001-07-06 Juergen Vigna <jug@sad.it>
12436 * a lot of files: changed the access to LyXText::status and the
12437 call of undo-functions.
12439 * undo.[Ch]: added a inset_id to the undo informations.
12441 * undo_funcs.[Ch]: added and moved here all undo functions.
12443 * lyxtext.h: give the status enum a weight, made status_ a private
12444 variable and made accessor functions for it, removed the whole bunch
12445 of undo-functions as they are now in their own file, make some
12446 functions publically available. Added function ownerParagraph with
12449 * paragraph.[Ch]: added "bool same_ids" to the constructor,
12450 made InInset() a const function, added getParFromID() function.
12452 * buffer.[Ch]: added const version for inset_iterator functions,
12453 added getInsetFromID() function.
12455 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12456 changed undo functions for new version.
12458 2001-07-05 Juergen Vigna <jug@sad.it>
12460 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12461 unknow mechanism does not call the proper constructor but only this
12462 one also if I request the other!?
12464 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12466 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12468 * text2.C (LyXText): use initialization lists.
12470 * lyxtext.h (Selection): initialize set_ and mark_
12471 (init): remove method
12473 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
12475 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12477 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12479 * screen.[Ch]: change method names to begin with lowercase
12481 * BufferView_pimpl.C (updateScrollbar): simplify further and
12482 hopefully make it a bit faster.
12484 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12486 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12487 calling directly xforms functions.
12489 * Painter.C (Painter):
12490 * lyx_cb.C (MenuWrite):
12491 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12494 * lyx_gui.C: remove bogus guiruntime extern declaration.
12496 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12498 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12500 (redoDrawingOfParagraph): ditto
12501 (redoParagraphs): ditto
12502 (cutSelection): don't create a object for CutAndPaste use the
12503 static method directly
12504 (pasteSelection): ditto
12506 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12509 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12511 * modifications to some other files because of this.
12513 * Makefile.am (lyx_SOURCES): add XFormsView
12515 * XFormsView.[Ch]: new files
12517 * LyXView.[Ch]: make LyXView a base class for the gui handling for
12518 the main window. Move the gui dependent stuff to XFormsView
12520 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12522 * tabular.C (GetCellInset): update cur_cell also in the row/col
12523 version of this function.
12525 * lyxfunc.C: no need to include figure_form.h here.
12531 * lyxvc.C: no need to include forms.h here.
12533 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12535 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12537 * lyxfunc.C (Dispatch):
12539 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12540 constructor argument.
12542 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12544 * paragraph.C (Paragraph): dont't clear, and just set layout.
12545 (makeSameLayout): use params's copy contructor.
12547 * ParagraphParameters.[Ch] (makeSame): delete method
12549 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
12551 * Variables.[Ch]: fix indentation, rename set to isSet
12553 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12555 * lyxfunc.C (Dispatch): fix typo
12557 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12559 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12562 * bufferlist.C: include assert.h for emergencyWrite().
12564 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12566 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12567 give up at last (bug #425202) !
12569 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
12575 * spellchecker.C: strip spellchecker options and bring up
12576 preferences tab instead
12578 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12580 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12581 the istringstream constructor
12583 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12585 * paragraph.C (getLayout): fix return value
12587 * paragraph.h: do not declare getLayout as inline.
12589 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12591 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12593 * lyxcursor.h (operator<): new func
12594 (operator>): new func
12595 (operator>=): new func
12596 (operator<=): new func
12598 * text.C (changeCase): use selection.start and selection.end
12599 (changeRegionCase): require from to be <= to. Require par to be a
12602 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12604 2001-06-27 Juergen Vigna <jug@sad.it>
12606 * text.C (cursorLeftOneWord): changed to return the cursor and added
12607 overlay with BufferView * parameter which calls this one.
12609 (selectWord): use new getWord function.
12610 (changeCase): renamed from changeWordCase as and extended to work
12611 also on selections.
12613 * lyxtext.h: added enum word_location
12615 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12616 changeCase as this operates now also on selections.
12618 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
12620 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12622 * many files: send debug output to Debug::INFO instead of
12625 * converter.C (View):
12627 (Move): send debug output to Debug::FILES instead of console.
12629 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
12631 * lyxfunc.C (getStatus): use func_status
12633 * func_status.h: new header, describing the results of
12634 LyXFunc::getStatus;
12636 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12639 2001-06-25 The LyX Project <jug@sad.it>
12641 * buffer.C (sgmlOpenTag):
12643 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
12645 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12647 * text2.C: remove some dead code
12649 * tabular.C (GetCellInset): store the last cell checked (gotten)
12651 * tabular.h: add the helper for the speedup
12653 * lyxtext.h: remove some dead code
12655 2001-06-26 The LyX Project <Asger>
12657 * paragraph.C: Change export to LaTeX of alignment to
12658 \begin{center} and family for better roundtrip work with reLyX.
12660 * Tune the math drawing a bit.
12662 2001-06-25 The LyX Project <Asger>
12664 * LColor.C (LColor): New color for math background. New color
12667 2001-06-25 The LyX Project <jug@sad.it>
12669 * lyxfunc.C (MenuNew): remove extra check for .lyx file
12671 * lyxfunc.C (Open):
12672 * bufferlist.C (newFile): do not restrict to files ending with
12675 * BufferView_pimpl.C (MenuInsertLyXFile):
12677 2001-06-24 The LyX Project <jug@sad.it>
12679 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12682 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12684 * lyxtext.h: rename most methods to begin with a small char.
12685 Lots of changes because of this.
12687 * paragraph.C (Paragraph): do not call fitToSize
12688 (erase): call Pimpl::erase
12689 (insertChar): call Pimpl::insertChar
12690 (insertInset): call Pipl::insertInset
12691 (breakParagraph): do not call fitToSize
12692 (breakParagraphConservative): do not call fitToSize
12693 (fitToSize): remove method
12695 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12697 2001-06-24 The LyX Project <Asger>
12699 * Fix Qt compilation^2
12701 2001-06-24 The LyX Project <jug@sad.it>
12703 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12704 depthHook(getDepth()-1).
12707 * ParagraphParameters.h:
12708 * ParameterStruct.h: change type of depth to unsigned int ==
12709 depth_type. Many adaptations to other files before of that.
12711 2001-06-24 The LyX Project <Asger>
12713 * Fix Qt compilation.
12715 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12717 * paragraph.h: renamed several methods to begin with small letter.
12718 several changes to many parts of the code because of this.
12720 2001-06-23 The LyX Project <jug@sad.it>
12722 * text2.C (InsertStringAsLines): renamed from InsertStringA;
12723 rewritten to discard all double spaces when KeepEmpty is off
12724 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12725 to only handle newlines but not fiddle with spaces and friends.
12727 * lyxfunc.C (MenuNew): when doing 'new from template', use
12728 template_path as default directory
12730 2001-06-23 The LyX Project <Asger>
12732 * Clean-up of header file includes all over
12733 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12735 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12737 * paragraph.h: renamed from lyxparagraph.h
12739 2001-06-23 Asger <lyx@violet.home.sad.it>
12741 * Buffer.h: Removed Buffer::resize
12742 * BufferList.h: Removed BufferList::resize
12743 * LyXView.h: Added LyXView::resize. This way, we will only reflow
12744 the document lazily when we change the width, or the font settings.
12746 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12748 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12750 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12752 * buffer.h: remove out of date comment
12754 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12757 * screen.C: fix "theoretical" GC leak
12759 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12761 * LaTeX.C (scanAuxFile):
12762 (deplog): remove trailing \r when reading stream (useful under
12765 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
12767 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12768 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12769 and BufferView::theLockingInset(Inset*), so should use them and not
12770 access bv_->text->the_locking_inset directly.
12772 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12774 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12777 * tex-defs.h: remove old unused file
12779 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
12781 * BufferView_pimpl.C: fix typo, remove minibuffer message
12782 when buffer has loaded
12784 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12786 * lyxfunc.C (Dispatch): use stringstream
12787 (MenuNew): use stringstream
12788 (Open): use stringstream
12790 * importer.C (Import): use stringstream
12792 * bufferview_funcs.C (CurrentState): use stringstream
12794 * LaTeX.C (run): use stringstream
12796 * BufferView_pimpl.C (savePosition): use stringstream
12797 (restorePosition): use stringstream
12798 (MenuInsertLyXFile): use stringstream
12800 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
12813 * vspace.C: removed // -*- C++ -*- as first line.
12816 * version.h: added // -*- C++ -*- as first line.
12818 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12820 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12822 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12825 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12827 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12830 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12832 * gettext.C: include LString.h even when --disable-nls is on.
12834 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
12836 * converter.h (Get): changed argument type from int to
12837 FormatList::size_type to avoid unnecessary conversion.
12839 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12842 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12844 * gettext.h: include LString.h even when --disable-nls is on.
12846 2001-06-07 Juergen Vigna <jug@sad.it>
12848 * text.C (BreakAgain): subst spaces with tabs.
12850 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12851 (resizeInsetsLyXText): set force on resizeLyXText.
12853 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12855 * gettext.h (gettext_init):
12856 (locale_init): use a real definition instead of a macro
12858 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12860 * Bufferview_pimpl.C:
12862 * LColor.C: further lcolor tidies
12864 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12866 * BufferView_pimpl.C (updateScrollbar): simplify.
12868 * BufferView2.C: don't include insets/insetinfo.h, change
12869 prototype for insertInset and call the Pimpl version. let
12870 updateInset call Pimpl version.
12872 * BufferView.h: move inset_slept to BufferView::Pimpl, move
12873 gotoInset to BufferView::Pimpl
12875 2001-06-01 Juergen Vigna <jug@sad.it>
12877 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12878 inside a LockingInset (is the update needed at all?).
12880 2001-05-31 Juergen Vigna <jug@sad.it>
12882 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12883 here not the old one otherwise how should we compare it afterwards
12886 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12891 * FontInfo.C: bring C functions into global namespace when
12894 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12896 * LString.h: make sure config.h has been loaded before LString.h.
12898 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12899 (one for each char read by EatLine!).
12901 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12904 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12906 * paragraph.C (BreakParagraph): set the inset_owner in the new par
12907 to the same as the par we break from
12909 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
12911 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12913 * MenuBackend.C (expand): also create menu entries for wide
12914 versions of the floats.
12916 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12918 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12920 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12921 frontends/Makefile.am
12927 * tabular.C (getTokenValue): add std::
12929 * tabular-old.C (getTokenValue): add std::
12930 (getTokenValue): ditto
12931 (getTokenValue): ditto
12933 * screen.C (ToggleSelection): adjust
12935 * lyxtext.h: put selection cursors inside a Selection struct.
12937 * lyxfunc.C (moveCursorUpdate): adjust
12939 * lyxfont.C (latexWriteStartChanges): add std::
12941 * lyxfind.C: adjust
12943 * font.h: delete with(char const *, LyXFont const &)
12945 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12947 * FontInfo.C (getFontname): add std::
12949 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12950 (workAreaButtonPress): adjust
12951 (tripleClick): adjust
12953 (moveCursorUpdate): adjust
12956 * BufferView2.C (gotoInset): adjust
12958 2001-05-30 Juergen Vigna <jug@sad.it>
12960 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12961 to check pspell I add this as default as I now have new pspell
12962 libraries and they seem to use this.
12964 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12966 * text2.C (CutSelection): make the cursor valid before the call to
12969 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12971 * kbsequence.C (parse): de-uglify a bit the parsing code, which
12972 relied on 0 terminated strings and other horrors. Bug found due to
12973 the new assert in lyxstring!
12975 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12978 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12980 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12983 * lyxfunc.C (processKeySym): change method of getting to the
12986 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12987 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12988 * BufferView_pimpl.[Ch]: here as private methods.
12990 2001-05-28 Juergen Vigna <jug@sad.it>
12992 * text.C (SetHeightOfRow): added the update() call again as it is
12993 needed to initialize inset dimensions!
12995 2001-05-16 Juergen Vigna <jug@sad.it>
12997 * text2.C (SetCharFont): Add new function with BufferView * and
12998 bool toggleall parameters for setting insets internal fonts.
12999 (SetFont): Freeze the undo as we may change fonts in Insets and
13000 all this change should be inside only one Undo!
13002 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13003 setting font's in insets as for them we have the SetFont function!
13005 2001-05-15 Juergen Vigna <jug@sad.it>
13007 * text2.C (ClearSelection): to be sure we REALLY don't have any
13010 * tabular.C (TeXCellPreamble): fixed the left border problem for
13013 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
13015 * LaTeX.C (deplog): Make sure that the main .tex file is in the
13018 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13020 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13021 LFUN_BREAKPARAGRAPH.
13023 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13024 help test to "internal only", similar for LFUN_INSERT_URL
13026 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13027 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13028 auto_region_delete and deadkeys.
13030 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
13033 * LColor.C: remove some dead entries, tidy a little
13035 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13037 * lyxfunc.C (processKeySym): comment the Escape handling, remove
13039 (Dispatch): implement LFUN_ESCAPE
13041 * commandtags.h: add LFUN_ESCAPE
13043 * LyXAction.C (init): add entry for LFUN_ESCAPE
13045 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13046 Remove commented code.
13047 (insertNote): moved here
13048 (open_new_inset): moved here
13050 * BufferView[2].[Ch]: move insertNote and open_new_inset to
13053 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13055 * kbmap.C (findbinding): clean it up and make it work correctly.
13057 * lyx_main.C (init): do not pass argc and argv as parameters
13059 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
13061 * buffer.C: fix path for OS/2 & Win32
13065 * lyx_main.C: Added os:: class.
13067 * os2_defines.h: update
13069 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13071 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13072 better by trying again with reduced state.
13074 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13076 * lyxrc.C (read): print error about invalid key sequence only when
13077 debugging (because not all latinX keysyms are known to some X
13080 * kbsequence.C (getiso): add a few std:: qualifiers
13081 (getiso): comment out extra return statement.
13083 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
13085 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13087 (Dispatch): enhance the accent inset a bit. (not perfect)
13089 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13091 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13093 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13095 * bufferlist.C (emergencyWrite): fix assert() call
13097 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
13099 * text.C (InsertChar): Added trivial patch to only send the "you
13100 can not do multiple spaces this way" message once during a
13103 2001-05-08 Baruch Even <baruch@lyx.org>
13105 * Makefile.am: Changed order of libraries to get LyX to link properly
13106 with the gnome frontend.
13108 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13110 * LaTeXFeatures.h: add a std:: qualifier
13112 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13114 * paragraph.C (String): use stringstream
13116 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13118 * paragraph.C (writeFile): remove footflag arg
13120 * buffer.C (makeLaTeXFile): use stringstream
13121 (latexParagraphs): remove footnot gurba
13123 * LaTeXFeatures.C (getPackages): use stringstream
13124 (getMacros): likewise
13125 (getTClassPreamble): likewise
13126 (getFloatDefinitions): new method
13128 * paragraph.C (writeFile): reindent
13131 * WorkArea.h: revert the xpos + etc changes.
13133 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13135 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13137 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13138 (pasteSelection): likewise
13139 * text2.C (CreateUndo): likewise
13141 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13143 * minibuffer.C (peek_event): temporarily reduce the functionality
13144 of the minibuffer (to allow args on lfuns)
13146 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13147 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13149 * buffer.C (readInset): add compability reading of old float
13150 lists, add reading of new style float list.
13151 (readInset): avoid reevaluation of inscmd.getCmdName()
13152 (getLists): reindent
13154 * MenuBackend.C (MenuItem): implement parsing of
13155 md_floatlistinsert and md_floatinsert.
13156 (expand::LastFiles): move initalizaton of iterators out of loop,
13157 avoid reevaluation.
13158 (expand::Documents): introduce typdedef vector<string> Strings,
13160 (expand::ExportFormats): introduce typedef vector<Format const *>
13161 Formats, and use it.
13162 (expand): implement FloatListInsert and FloatInsert.
13164 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13165 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13166 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13168 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13170 (Dispatch::LFUN_FLOAT_LIST): implement
13172 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13174 * LaTeX.C (run): Fix problem with --export code.
13176 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13178 * BufferView.[Ch] (workarea): removed.
13179 (getClipboard) new method; wrapper for workarea()->getClipboard()
13181 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13184 * WorkArea.h (width, height, xpos, ypos): These methods all
13185 returned the dimensions of the work_area sub-area of WorkArea,
13186 resulting in a position error if the WorkArea were resized. Now
13187 return the dimensions of the entire WorkArea.
13189 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13191 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13193 * LaTeX.C (deplog): correct the syntax of regex reg1
13195 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13197 * undo.C: remove !NEW_INSETS cruft
13199 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13201 * text2.C: remove !NEW_INSETS cruft
13203 * text.C: remove !NEW_INSETS cruft
13205 * tabular.C: remove !NEW_INSETS cruft
13207 * spellchecker.C: remove !NEW_INSETS cruft
13209 * lyxtext.h: remove !NEW_INSETS cruft
13211 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13213 * lyxfunc.C: remove !NEW_INSETS cruft
13215 * lyxfind.C: remove !NEW_INSETS cruft
13217 * lyx_cb.C: remove !NEW_INSETS cruft
13219 * figureForm.C: remove !NEW_INSETS cruft
13221 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13223 * buffer.[Ch]: remove !NEW_INSETS cruft
13225 * ToolbarDefaults.C: remove !NEW_INSETS cruft
13227 * CutAndPaste.C: remove !NEW_INSETS cruft
13229 * BufferView_pimpl.C: remove !NEW_INSETS cruft
13231 * BufferView2.C: remove !NEW_INSETS cruft
13233 * BufferView.h: remove !NEW_INSETS cruft
13235 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13237 * Lsstream.h: include LString.h before the sstream headers to
13238 fix problem with gcc 2.95.3 and lyxstring
13240 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13242 * lyx_main.C: add using directives when needed for C functions
13243 declared in std:: namespace.
13245 2001-04-27 Juergen Vigna <jug@sad.it>
13247 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13248 (SetHeightOfRow): comment out the update call should not be needed!
13250 2001-04-13 Juergen Vigna <jug@sad.it>
13252 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13253 (LyXTabular): tried to minimize operator= operations (and realized
13254 hopfully Lars wish).
13256 2001-04-27 Juergen Vigna <jug@sad.it>
13258 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13260 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13262 * lyxfunc.C (Dispatch): hack to make listof algorithm work
13264 * buffer.C (readInset): hack to make listof algorithm work
13266 * BufferView_pimpl.C: hack to make listof algorithm work
13268 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13270 * LyXAction.C: removed all !NEW_INSETS cruft
13271 (init): moved lfun_item in method
13273 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13275 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13277 * BufferView2.C (theLockingInset): white space.
13279 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13281 * minibuffer.C: include <iostream>
13283 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13285 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13287 * commandtags.h: add LFUN_TRANSPOSE_CHARS
13289 * text.[Ch] (TransposeChars): new method
13291 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13293 * call message directly through LyXView instead of through LyXFunc
13294 * BufferView2.C: adjust
13295 * BufferView_pimpl.C: adjust
13296 * FontLoader.C: adjust
13298 * bufferview_funcs.C: adjust
13299 * converter.C: adjust
13300 * figureForm.C: adjust
13301 * importer.C: adjust
13303 * lyx_gui_misc.C: adjust
13304 * lyxfunc.C: adjust
13307 + more files in subdirs
13309 * lyxparagraph.h (size): move up int file
13312 * adjust all uses of Assert to lyx::Assert.
13314 * BufferView2.C (ChangeCitationsIfUnique): adjust for
13315 lyxfunctional in namespace lyx
13316 * layout.C (hasLayout): ditto
13319 (delete_layout): ditto
13320 (NumberOfClass): ditto
13321 * converter.C (GetFormat): ditto
13326 * bufferlist.C (getFileNames): ditto
13327 (emergencyWriteAll): ditto
13330 * MenuBackend.C (hasSubmenu): ditto
13333 * BufferView_pimpl.C (getInsetByCode): ditto
13335 2001-04-18 Juergen Vigna <jug@sad.it>
13337 * vspace.C (asLatexString): fixed the 100% problem.
13339 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13341 * lyxfunc.C (Dispatch):
13343 * minibuffer.h: add a few std:: qualifiers
13345 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13347 * minibuffer.[Ch]: reimplement so that commands is initiated and
13348 run from lyxfunc, simplified som handling, and made the completion
13349 and history code for complete. wip.
13351 * lyxfunc.C (processKeySym): call message
13352 (miniDispatch): new temporary method
13353 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13354 (LFUN_MESSAGE): implement
13355 (LFUN_MESSAGE_PUSH): implement
13356 (LFUN_MESSAGE_POP): implement
13357 (initMiniBuffer): the initial/defualt minibuffer message.
13359 * lyxfont.[Ch]: inline some more getters
13361 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13363 * lyx_gui_misc.[Ch] (WriteStatus): remove method
13365 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13366 (AutoSave): use LFUN_MESSAGE
13367 (Reconfigure): ditto
13369 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13371 * figureForm.C: use LFUN_MESSAGE
13373 * converter.C (runLaTeX): use LFUN_MESSAGE
13375 * bufferview_funcs.C: use LFUN_MESSAGE
13377 (changeDepth): ditto
13379 * bufferparams.h: use boost::
13381 * bufferlist.h: inherit privately from noncopyable
13383 * bufferlist.C (loadLyXFile): remove some commented code.
13385 * buffer.C (runChktex): use LFUN_MESSAGE
13387 * ShareContainer.h: inherit privately from noncopyable
13389 * ParagraphParameters.[hC] (depth): inline it.
13391 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13393 (message): new method
13394 (messagePush): ditto
13395 (messagePop): ditto
13396 (show): init minibuffer
13397 (showState): direct call
13399 * LaTeX.[Ch]: inherit privately from noncopyable
13400 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13401 instead of WriteStatus.
13403 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13405 * BufferView_pimpl.C (buffer): don't init minibuffer
13406 (workAreaButtonPress): use LFUN_MESSAGE
13407 (workAreaButtonRelease): ditto
13408 (savePosition): ditto
13409 (restorePosition): ditto
13410 (MenuInsertLyXFile): ditto
13411 (workAreaExpose): don't init minibuffer
13412 (update): remove commented code, simplify
13414 * BufferView2.C (openStuff): use LFUN_MESSAGE
13415 (toggleFloat): ditto
13418 (copyEnvironment): ditto
13419 (pasteEnvironment): ditto
13424 (updateInset): remove some commented code
13426 * lastfiles.h: inherit privately from noncopyable
13429 * lyx_main.h: ditto
13431 * lyxlex_pimpl.h: ditto
13433 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13434 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13435 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13437 * LyXAction.h: inherit privately from noncopyable, add methods
13438 func_begin, func_end, returning iterators to the func map.
13440 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13441 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13442 (func_begin): new method
13443 (func_end): new method
13445 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13447 (copySelection): ditto
13448 (pasteSelection): ditto
13450 * BufferView.C: whitespace change
13451 * BufferView.h: inherit privately from noncopyable
13453 2001-04-16 Allan Rae <rae@lyx.org>
13455 * tabular-old.C (l_getline):
13456 * spellchecker.C (sc_check_word):
13457 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13458 an unrecognised preprocessor directive. So ensure they're wrapped.
13460 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
13462 * src/exporter.C (Export): Give an error message when path to file
13465 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
13467 * LaTeX.C (deplog): Always check that foundfile exists.
13469 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13472 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13474 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13476 * tabular.[Ch] (getLabelList): implement new method
13478 * minibuffer.h: comment ouf setTiimer
13480 * minibuffer.C (ExecutingCB): constify res
13481 (peek_event): constify s
13482 (Set): constify ntext
13483 (Init): constify nicename
13485 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13487 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13488 (savePosition): use two params to Minibuffer::Set
13489 (restorePosition): ditto
13491 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13493 * lyx_main.C: include language.h
13495 * Makefile.am (lyx_main.o): add language.h
13497 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13503 * CutAndPaste.C: include gettext.h
13505 * lyxfont.h: remove old hack with ON and OFF.
13508 * lyxfont.h: do not include language.h...
13513 * bufferview_funcs.C:
13519 * paragraph.C: ... but do it here instead
13521 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13523 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13525 * tabular.C: small reformat
13527 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13530 (BreakParagraph): ditto
13531 (SetOnlyLayout): ditto
13534 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13537 * lastfiles.C: removed most using decl, add std:: where needed
13539 * buffer.C: ws changes
13541 * MenuBackend.C (class compare_format): put into anon namespace
13542 (expand): constify label, names, action, action2
13545 * text.C (SingleWidth): constify font
13546 (IsBoundary): constify rtl2
13547 (GetVisibleRow): constify ww
13549 * LaTeX.C (deplog): constify logfile
13551 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13553 (workAreaExpose): constify widthChange, heightChange
13555 * lyxrow.C (par): moved
13558 * lyxrow.h: as inlines here
13560 * lyxfont.h (shape): moved from lyxfont.C
13561 (emph): moved from lyxfont.C
13563 * lyxfont.C (LyXFont): use initialization list for all
13565 (shape): move to lyxfont.h as inline
13566 (emph): move to lyxfont.h as inline
13569 2001-04-04 Juergen Vigna <jug@sad.it>
13571 * vspace.C: had to include stdio.h for use of sscanf
13573 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
13576 * BufferView_pimpl.h: remove xforms cruft. Both classes are
13577 independent of xforms.
13579 2001-04-02 Juergen Vigna <jug@sad.it>
13581 * spellchecker.C: fixed namespace placing!
13583 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
13585 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13586 the LyXParagraph * is 0.
13588 2001-03-29 Juergen Vigna <jug@sad.it>
13590 * vspace.C: added support for %, c%, p%, l%.
13591 (stringFromUnit): added helper function.
13592 (asLatexString): changed to give right results for the %-values.
13594 * buffer.C: convert the widthp in a width%.
13596 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
13598 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13601 * figureForm.[Ch]: stripped the FD_from_figure manipulation
13602 code out of lux_cb.[Ch], ready for its (imminent?) removal.
13604 * lyx_cb.[Ch]: see above.
13606 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13610 * lyx.[Ch]: replaced by figure_form.[Ch].
13614 * lyxfunc.C: changed headers associated with above changes.
13616 2001-03-27 Juergen Vigna <jug@sad.it>
13618 * BufferView_pimpl.C: set the temporary cursor right!
13620 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
13622 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13624 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
13626 * LString.h: removed "using std::getline"!
13628 * BufferView_pimpl.C (Dispatch): changes due to changes in
13629 InsetInclude::Params.
13631 * buffer.C (tag_name): removed redundant break statements as they were
13632 producing lots of warnings with my compiler.
13634 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13636 * LString.h: add "using std::getline" when using the real <string>.
13638 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
13640 * buffer.C: removed bitset usage.
13641 PAR_TAG moved to an anonymous name space.
13642 (tag_name): new funtion, also in the anonymous namespace.
13643 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13644 (makeDocBookFile): clean code. Completed transition from string arrays
13646 (SimpleDocBookOnePar): code clean.
13648 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13650 * tabular.C: add some comments.
13652 2001-03-22 Juergen Vigna <jug@sad.it>
13654 * buffer.C (parseSingleLyXformat2Token): redone the minipage
13655 compatibility read a bit and fixed bug with minipage in different
13658 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
13660 * buffer.C (pop_tag): removed.
13661 (push_tag): removed.
13662 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13663 array replaced with vector. Added support for CDATA sections.
13664 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13666 (makeDocBookFile): XML conformant declaration of CDATA section,
13667 fixed bug related to <emphasis> in the first paragraph char.
13668 (sgmlOpenTag): exclude empty tags.
13669 (sgmlCloseTag): ditto.
13671 * buffer.h (pop_tag): removed.
13672 (push_tag): removed.
13674 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
13676 * language.h (Languages): added size_type and size().
13678 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13680 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13681 response on compability reading of minipages. One probliem is that
13682 the old usage of minipages was «flertydig»
13684 * several files here and in subdirs: don't use static at file
13685 scope use anon namespaces instead.
13687 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
13689 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13690 LaTeX output. This is necessary for Literate document
13693 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13695 * buffer.C: insert hfill when needed.
13697 * tabular.C (l_getline): use string::erase, small whitespace change.
13699 * BufferView_pimpl.C: try the anon namespace.
13700 * WorkArea.C: ditto
13702 2001-03-16 Juergen Vigna <jug@sad.it>
13704 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13705 otherwise it won't open options-dialogs.
13707 * buffer.C: honor pextraWidth(p) on converting minipages.
13709 * tabular.C (l_getline): changed the functions to strip trailing \r.
13711 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
13713 * BufferView_pimpl.C:
13714 * minibuffer..C: added "using SigC::slot" declaration.
13716 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13718 * lyxlex_pimpl.h: noncopyable is in namespace boost.
13724 * paragraph.C: ditto
13726 * lyxtext.h: NO_PEXTRA
13728 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13730 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13731 * ParameterStruct.h: ditto
13732 * ParagraphParameters.h: ditto
13733 * lyxparagraph.h: ditto
13735 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13737 * buffer.C: add compability for minipage alignment.
13738 (latexParagraphs): remove unwanted pextra check.
13740 * several files: remove CXX_WORKING_NAMESPACES
13742 * buffer.C (pop_tag): tie is in namespace boost
13744 * BufferView.h: noncopyable is in namespace boost
13746 * lyx_main.h: ditto
13749 * lastfiles.h: ditto
13750 * bufferlist.h: ditto
13751 * ShareContainer.h: ditto
13753 * LyXAction.h: ditto
13756 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13758 * Merging changes from BRANCH_MVC back into HEAD.
13760 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13762 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
13764 * BufferView_pimpl.C: change from intl.C
13768 * Makefile.am: move combox.*
13774 * intl.C: remove dialog (covered by prefs)
13776 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13778 * lyxfunc.C (Dispatch): removed redundant break statement.
13780 2001-03-14 Juergen Vigna <jug@sad.it>
13782 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13784 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13786 * buffer.C: add hack to fix compability reading of minipages.
13788 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
13790 * buffer.C (getLists): Cleanup.
13792 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13794 * lyxfont.C (update): don't honor toggleall on font size.
13796 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
13800 * Makefile.am: moved to frontends/xforms/
13804 * BufferView_pimpl.C: changes for moved mathpanel
13806 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13808 * gettext.h: fix gettext_init() in --disable-nls
13810 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13812 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13814 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
13817 * lyx.h: strip external form
13819 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13821 * BufferView_pimpl.C: add comment, destroySplash()
13823 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13825 * BufferView_pimpl.C:
13829 * lyxfunc.C: use re-worked insetinclude
13831 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13833 * buffer.C: add using std::stringstream.
13835 * lyx_cb.C: readd using std::ios.
13837 * buffer.C: add using std::map.
13839 * BufferView_pimpl.C: add using std::vector.
13841 * ShareContainer.h: add std:: to swap.
13843 * buffer.h: add some typedefs
13844 * buffer.C (getLists): use them
13845 (getLists): renamed from getTocList.
13846 add a counter for the different float types and use it in the
13848 (getLists): use the same counter for the NEW_INSETS and the "non"
13851 * lyx_cb.h: remove unused items, includes, using etc.
13853 * ShareContainer.h: remove some commented code, add more comments
13854 and "documentation".
13856 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13858 * buffer.C (getTocList): make the list also when NEW_INSETS is
13861 * buffer.h: remove TocType
13863 * buffer.C (getTocList): change to return a map<string,
13864 vector<TocItem> >, implement for dynamic number of list.
13866 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13867 * text2.C (PasteSelection): adjust
13868 * CutAndPaste.C (pasteSelection): adjust
13870 * FloatList.C (FloatList): update from the new_insets branch.
13871 * Floating.[Ch]: ditto
13872 * LaTeXFeatures.C: ditto
13874 * lyxlex_pimpl.C: ditto
13876 * paragraph.C (Last): remove when NEW_INSETS is defined.
13878 * other file: changes because of the above.
13880 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13882 * lyxparagraph.h: rename next to next_, previous to previous_,
13883 make them private for NEW_INSETS. Rename Next() to next(),
13884 Previous() to previous().
13886 * other files: changes because of the above.
13888 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
13891 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13894 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13896 * main.C (main): pass lyx_localedir to gettext_init().
13898 * gettext.h: remove locale_init and gettext_init macros
13900 * gettext.C (locale_init): new function
13901 (gettext_init): new function
13903 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13906 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
13908 * Moved credits to frontends:
13909 * credits.[Ch]: removed
13910 * credits_form.[Ch]: removed
13911 * lyx_gui_misc.C: remove credits stuff
13914 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13916 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13918 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13919 unneeded destructor.
13921 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13922 a standalone pointer again.
13924 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13926 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
13932 * ToolbarDefaults.C:
13941 * BufferView_pimpl.C: use new file dialog in GUII
13944 * lyx_cb.C: remove LayoutsCB to Toolbar
13946 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13948 * ShareContainer.h (get): add std:: qualifier
13950 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13952 * ShareContainer.h: define a proper ShareContainer::value_type
13953 type (and use typename to please compaq cxx)
13955 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13957 * lyxparagraph.h: move serveral local vars to
13958 ParameterStruct/ParagraphParameters., use ShareContainer in
13959 FontTable., make vars in FontTable private and add getter and
13962 * paragraph.C: changes because of the above.
13964 * lyxfont.h: remove copy constructor and copy assignment. (the
13965 default ones is ok), move number inside FontBits. move inlines to
13968 * lyxfont.C: add number to initializaton of statics, move several
13969 inlines here. constify several local vars. some whitespace
13970 cleanup. Dont hide outerscope variables.
13972 * Spacing.h: add two new constructors to match the set methods.
13974 * ShareContainer.h: new file, will perhaps be moved to support
13976 * ParameterStruct.h: new file
13978 * ParagraphParameters.h: new file
13980 * ParagraphParameters.C: new file
13982 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13983 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13985 * BufferView_pimpl.C: ParagraphParameter changes.
13986 * buffer.C: Likewise.
13987 * bufferview_funcs.C: Likewise.
13988 * text.C: Likewise.
13989 * text2.C: Likewise.
13991 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13993 * lyxfind.C (LyXReplace): do not redefine default argument in
13995 (IsStringInText): ditto
13996 (SearchForward): ditto
13997 (SearchBackward): ditto
13999 2001-03-06 Juergen Vigna <jug@sad.it>
14001 * lyxfind.C (IsStringInText): put parentes around expressions.
14003 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
14005 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14007 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
14009 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14011 * stl_string_fwd.h: add comment
14013 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14016 * tabular.C: remove unused DocBook methods
14022 killed DO_USE_DEFAULT_LANGUAGE
14024 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14026 * lyx_gui.C: do not include language.h.
14028 * bufferview_funcs.C (ToggleAndShow): do not provide optional
14029 arguments in function implementation.
14031 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14033 * BufferView_pimpl.C: add <ctime>
14035 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14037 * BufferView_pimpl.C: add using std::find_if
14039 2001-02-27 José Matos <jamatos@fep.up.pt>
14041 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14044 2001-02-11 José Matos <jamatos@fep.up.pt>
14046 * buffer.C (makeDocBookFile): command styles now have a parameter as
14047 "title" by default.
14049 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
14051 * layout_forms.[Ch]: removed
14052 * lyx_cb.[Ch]: out character
14053 * lyx_gui.C: out character
14054 * lyx_gui_misc.C: out character
14055 * bufferview_funcs.C: : out character,
14056 added toggleall as parameter in ToggleAndShow
14058 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
14060 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14062 * text2.C (SetCurrentFont): Disable number property at boundary.
14064 2001-02-26 Juergen Vigna <jug@sad.it>
14066 * lyxfunc.C (getStatus): added a string argument override function so
14067 that this is correctly called from LyXFunc::Dispatch if it contains a
14068 do_not_use_argument which is used!
14069 (Dispatch): added check for "custom" export and call appropriate func.
14071 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
14073 * lyxrc.C: Add language_command_local, language_use_babel and
14074 language_global_options.
14076 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14078 * buffer.C (makeLaTeXFile): Use language_use_babel and
14079 language_global_options.
14081 2001-02-23 Juergen Vigna <jug@sad.it>
14083 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14084 which works with LyXText and putted it inside BufferView. Here now we
14085 only call for that part the BufferView::Dispatch() function.
14087 * BufferView.C (Dispatch): added.
14089 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14090 functions which needs to use a LyXText over from LyXFunc.
14091 (MenuInsertLyXFile): added
14092 (getInsetByCode): added
14093 (moveCursorUpdate): added
14094 (static TEXT): added
14096 2001-02-22 Juergen Vigna <jug@sad.it>
14098 * BufferView_pimpl.C (update): call a status update to see if LyXText
14101 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14103 * vc-backend.C (revert): implement for CVS
14104 (getLog): implement for CVS
14106 2001-02-20 Juergen Vigna <jug@sad.it>
14108 * text2.C (ClearSelection): added BufferView param for inset_owner call
14110 * lyxfunc.C (TEXT): added this function and use it instead of
14111 directly owner->view()-text of getLyXText().
14113 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
14115 * src/layout_forms.C: out preamble
14116 * src/layout_forms.h: out preamble
14117 * src/lyx_cb.C: out preamble
14118 * src/lyx_cb.h: out preamble
14119 * src/lyx_gui.C: out preamble
14120 * src/lyx_gui_misc.C: out preamble
14121 * src/lyxfunc.C: connect with guii preamble
14123 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14125 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14127 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14129 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14130 whether to run bibtex.
14132 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14134 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14136 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14138 * Makefile.am (lyx_SOURCES): removed bibforms.h
14140 * vspace.h: doxygen
14142 * text.C (GetVisibleRow): make several local vars const
14144 * tabular.C: small cleanup.
14146 * lyxserver.C (callback): use compare instead of strncmp
14148 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14149 inlines to after class or to paragraph.C
14151 * lyxfont.h: remove friend operator!=
14153 * converter.h: move friend bool operator< to non friend and after
14156 * combox.h: small cleanup
14158 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14159 to inlines after class def.
14161 * buffer.C (pop_tag): use string operations instead of strcmp
14163 * bmtable.c: doxygen, small cleanup
14165 * LaTeX.h: remove friend operator==
14167 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14179 * BufferView_pimpl.C:
14180 * BufferView.[Ch]: remove cruft
14182 2001-02-14 Juergen Vigna <jug@sad.it>
14184 * lyxfunc.C: removed #if 0 unused code
14186 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14188 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14190 * text2.C (SetSelection): added a BufferView * parameter
14192 2001-02-13 Juergen Vigna <jug@sad.it>
14194 * lyxfunc.C (Dispatch): fixed protected blank problem.
14195 * BufferView2.C (protectedBlank): added LyxText * parameter.
14197 * tabular.C (AppendRow): forgot to set row_info of newly added row.
14198 (AppendColumn): same as above for column_info.
14200 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14201 (moveCursorUpdate): use a LyXText param for support of InsetText.
14203 * BufferView_pimpl.C (doubleClick): added support for InsetText.
14204 (tripleClick): ditto
14206 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14208 * BufferView_pimpl.C (update): added LyXText param to honor insets.
14210 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14212 * text2.C (SetSelection): set correct update status if inset_owner
14213 (ToggleFree): ditto
14215 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
14217 * tabular.C: remove some commented code.
14219 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
14221 * BufferView_pimpl.C: call hideSplash()
14223 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14226 * bibforms.h: remove
14229 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14230 add LFUN_CHILD_CREATE
14232 * counters.h: fix tiny typo
14237 * lyx.C: move splash to frontends/xforms/
14239 * lyx_gui_misc.C: move Include and Bibform to frontends
14241 * lyxvc.h: clarify comment
14243 * vspace.C: tiny housekeeping
14245 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
14247 * text.C (PrepareToPrint): RTL Fix.
14249 * paragraph.C (GetUChar): New method.
14250 (String): Use GetUChar.
14252 * buffer.C (asciiParagraph): Use GetUChar.
14254 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
14256 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14258 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
14261 * buffer.C: rename to getLogName(), handle
14262 build log / latex log nicely
14264 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14267 * MenuBackend.h: remove support for reference menuitem type.
14269 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
14271 * BufferView_pimpl.C: housekeeping
14272 * BufferView_pimpl.h:
14277 * minibuffer.h: move Timeout GUI-I
14279 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
14281 * lyxrc.C (read): Update converters data-structures.
14283 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
14285 * LaTeX.h (operator!=): add operator != for Aux_Info
14287 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
14289 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14291 * LaTeXLog.C: deleted, useful code moved to Buffer
14294 * buffer.C: new function getLatexLogName()
14300 * lyxfunc.C: use frontends for LaTeX and VC logs
14302 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14304 * LaTeX.h: yet another std:: that Allan forgot.
14306 * Variables.C (set): renamed from isset(), because this clashes
14307 with some HP-UX macros (grr).
14309 2001-02-06 Allan Rae <rae@lyx.org>
14311 * LaTeX.h: Another bug fix. Missing std:: this time.
14313 2001-02-04 Allan Rae <rae@lyx.org>
14315 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14316 floats problem. I've left it commented out because it's not quite
14317 correct. It should also test that the current object is a table or
14318 figure inset. But I haven't gotten around to figuring out how to do
14319 that. I *think* it'll be something like: "table" == inset.type()
14321 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14324 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
14326 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14327 all the citation/databases/styles in the auxilary file.
14328 (run): Rerun latex if there was a babel language error.
14330 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
14332 * text.C (Backspace): Preserve the font when changing newline char
14334 (BreakParagraph): If the cursor is before a space, delete the space.
14336 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14338 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
14340 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14341 new argument (code).
14342 (ChangeCitationsIfUnique): New method.
14344 * paragraph.C (GetPositionOfInset): Handle bibkey.
14346 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14348 * BufferView_pimpl.h: change type of Position::par_pos to
14349 LyXParagraph::size_type.
14351 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
14353 * BufferView_pimpl.C (savePosition, restorePosition): Write
14354 messages to minibuffer.
14356 2001-01-28 José Matos <jamatos@fep.up.pt>
14358 * buffer.C (makeDocBookFile): adds support for document language.
14359 A silly restriction on the name of LatexCommand types where removed.
14360 Added support for CDATA sections, allows to chars unescaped, used
14361 among others in code, to avoid escape < and >.
14363 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14365 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14366 saved positions instrad of a stack. Furthermore, a position is
14367 stored using paragraph id/paragraph position.
14369 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14370 Remove LFUN_REF_BACK.
14372 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14374 * converter.C (dvipdfm_options): New method.
14376 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
14378 * vspace.C (isValidLength): Fix for empty input string.
14380 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14382 * LyXAction.C (init): change description of LFUN_FIGURE to
14385 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14387 * LaTeX.C: add using directive
14389 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14391 * MenuBackend.C (expand): Fix the sorting of the formats.
14393 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
14395 * lyx_main.C: tiny error message fix
14397 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14399 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14400 calling fl_initialize(). This fixes the problem with ',' as
14401 decimal separator in text files.
14403 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14405 * trans.C (process): Fix the keymap bug.
14407 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
14409 * LaTeX.C (scanAuxFiles): New method. Provides support for
14410 multiple bibliographies (when using the bibtopic/bibunits pacakges).
14411 (scanLogFile) Scan for "run BibTeX" messages.
14413 * buffer.C (makeLaTeXFile): Do not load the ae package when using
14414 OT1 font encoding. Also, load the aecompl package if the ae
14417 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14419 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14421 * texrow.C (increasePos): turn two error messages into debug
14424 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
14426 * LaTeX.C (scanAux): Handle the \@input macro.
14427 (runBibTeX): Use scanAux().
14429 * language.C (latex_options_): New field.
14431 * LaTeXFeatures.C (getMacros): Add language macros.
14433 * buffer.C (makeLaTeXFile): Small fix.
14435 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14437 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14439 * text2.C: add a using directive.
14441 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
14446 * lyxfunc.C: kill LyXBell.
14448 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
14450 * text.C (IsBoundary): Remove the error message
14452 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14454 * lyxrc.C (setDefaults): Correct initialization value for
14457 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
14459 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14462 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14463 and GotoNextNote().
14465 * src/LyXAction.C: Added reference-next.
14467 * text.C (InsertChar): Use contains instead of strchr.
14469 * lyx_cb.C (MenuInsertLabel): Enable default value code.
14471 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
14473 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14474 alignment commands (when needed).
14476 * text.C (InsertChar): Add ':' to number separator chars.