1 2004-01-25 Angus Leeming <leeming@lyx.org>
3 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
5 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
7 * LaTeXFeatures.h: add nice_ and nice() const
8 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
10 2004-01-20 André Pönitz <poenitz@gmx.net>
28 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
29 LCursor and mathcursor parts to LCursor and InsetBase.
31 2004-01-15 André Pönitz <poenitz@gmx.net>
33 * cursor_slice.[Ch]: add a few covienience functions
35 * funcrequest.[Ch]: remove BufferView * member
44 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
46 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
48 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
49 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
51 2004-01-13 André Pönitz <poenitz@gmx.net>
54 * lyxtext.h: hide cursor and selection anchor behind accessor function
57 * BufferView_pimpl.[Ch]:
69 * cursor_slice.[Ch]: some integer type changes for inset unification
71 * lyxcursor.[hC]: remove, it's CursorSlice now.
74 * BufferView_pimpl.[Ch]:
81 * textcursor.[Ch]: adjust
83 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
85 * text2.C (undoSpan): add and use
86 * text.C (breakParagraph): use undoSpan (fix bug 578)
89 2004-01-08 Angus Leeming <leeming@lyx.org>
91 * BufferView_pimpl.C (MenuInsertLyXFile):
92 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
93 * lyxfunc.C (menuNew, open, doImport):
94 FileFilterList change to the FileDialog open and save functions.
96 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
98 * ShareContainer.h: make isEqual and isUnique adaptable
100 * CutAndPaste.C: make resetOwnerAndChanges adaptable
102 2004-01-07 Angus Leeming <leeming@lyx.org>
105 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
107 * BufferView_pimpl.C (dispatch): act on these LFUNs.
109 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
110 functions replacing find, replace and replaceAll.
112 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
113 LFUN_WORDFIND(FORWARD|BACKWARD).
115 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
117 * text.C (breakParagraph): remove an outdated #warning
119 2004-01-07 André Pönitz <poenitz@gmx.net>
121 * lyxfind.C: somewhat clearer logic
123 * text.C: prevent crash in cursorX on unitialized row cache
125 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
127 * lyxcursor.[Ch] (operator>): add
128 * textcursor.C (selStart, selEnd): use std::min and std::max
130 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
132 * Chktex.C: include boost/format.hpp
134 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
136 * InsetList.C: replace functor MathcIt with adaptable functor
138 (insetIterator): modify accordingly
140 * BranchList.h: move the BranchNamesEqual functor here from...
141 * BranchList.C: ... to here
143 * BranchList.C: new BranchListEqual fuctor, use it. Remove
145 (add): replace a finding loop with std::find_if.
147 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
149 * output_docbook.C: moving LatexParam functionality into
152 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
154 * buffer.C: increment format to 229.
156 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
159 * lyx_sty.[Ch]: remove minipageindent_def
165 * text3.C: remove LFUN_INSET_MINIPAGE
167 2003-12-28 Angus Leeming <leeming@lyx.org>
169 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
171 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
173 * text2.C (setParagraph): fix off-by-one crash
175 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
177 * output_docbook.C: header stuff for AGU
179 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
181 * text2.C (redoCursor): remove
184 * BufferView_pimpl.C: remove calls to redoCursor and
185 setCursor(cursor.par(), cursor.pos()) all around
187 2003-12-15 Angus Leeming <leeming@lyx.org>
189 * buffer.C: up the format to 228.
191 2003-12-15 André Pönitz <poenitz@gmx.net>
193 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
198 * BufferView_pimpl.C:
207 2003-12-15 Angus Leeming <leeming@lyx.org>
209 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
210 than getFromGUIName to manipulate the color.
212 2003-12-14 Angus Leeming <leeming@lyx.org>
214 * BranchList.[Ch]: minimize the API.
215 (Branch::getBranch, getColor): now return a 'const &'.
216 (Branch::setSelected) now returns a bool set to true if the
217 selection status changes.
218 (BranchList::clear, size, getColor, setColor, setSelected,
219 allBranches, allSelected, separator): removed.
220 (BranchList::find): new functions, returning the Branch with
222 (BranchList::add, remove): return a bool indicating that
223 the operation was successful.
225 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
226 new InsetBranch::isBranchSlected member function.
228 * LColor.[Ch]: mimimize the API.
229 (fill): renamed as addColor and made private.
230 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
231 versions of these functions taking a string arg have been removed.
233 * bufferparams.C (readToken):
234 * lyxfunc.C (dispatch):
235 * lyxrc.C (read): changes due to the altered BranchList and
238 * factory.C (createInset, readInset): changes due to altered
241 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
244 * lyxfunc.C: remove insetminipage. "minipage-insert"
245 now produces a frameless minipage box inset.
247 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
249 * textcursor.[Ch] (selStart,selEnd): add new methods
250 remove selection::start, end, use LyXCursor::operator<
251 * lyxcursor.[Ch] (operator<): add
252 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
253 * BufferView.[Ch] (unsetXSel): add
254 * text2.C (clearSelection): use unsetXSel,adjust
257 * rowpainter.C: adjust
258 * bufferview_funcs.C (put_selection_at): adjust
260 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
262 * BufferView_pimpl.C: small coord. correction
264 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
266 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
267 dragging over the splash screen.
269 2003-12-11 Angus Leeming <leeming@lyx.org>
271 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
272 as it is now handled in LyXText::dispatch.
274 * text3.C (doInsertInset): remove a level of nesting.
276 2003-12-11 Angus Leeming <leeming@lyx.org>
278 * factory.C (createInset): changes due to the changed interface to
279 InsetCommandMailer::string2params.
281 2003-12-10 Angus Leeming <leeming@lyx.org>
283 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
284 'dialog-show-new-inset <inset name>'
286 2003-12-10 Angus Leeming <leeming@lyx.org>
288 * buffer.C: up the format to 227.
290 * factory.C: the box inset is now identified simply by 'Box'.
292 2003-12-10 Angus Leeming <leeming@lyx.org>
294 * buffer.C: up the format to 226.
296 * factory.C: the note inset is now identified simply by 'Note'.
298 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
300 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
301 when a pit is enough. Standarize a couple of loops.
303 2003-12-05 Angus Leeming <leeming@lyx.org>
305 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
306 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
307 data to the re-worked "log" dialog.
309 2003-12-03 André Pönitz <poenitz@gmx.net>
317 * text2.C: use Inset::getText instead of Inset::getParagraph
319 2003-12-03 André Pönitz <poenitz@gmx.net>
323 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
324 InsetText::read() as LyXText::read()
326 2003-12-02 Angus Leeming <leeming@lyx.org>
328 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
329 type. Add a comment in the implementation that the function uses
330 the stream's bad() function rather than fail() as the std::streams
333 2003-12-02 André Pönitz <poenitz@gmx.net>
335 * lyxlex.[Ch]: make interface more similar to std::stream
337 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
339 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
341 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
343 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
345 * vspace.[Ch]: remove VSpace::NONE
347 2003-12-01 André Pönitz <poenitz@gmx.net>
350 * lyxtext.h: move ParagraphList member to LyXText
351 rename LyXText::ownerParagraphs to LyXText::paragraph
354 * bufferview_funcs.C:
364 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
366 * undo.C: fix cursor positioning
368 2003-12-01 John Levon <levon@movementarian.org>
370 * BufferView_pimpl.C: fix a crash on exit with
373 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
375 * BranchList.C: fix setSelected() method.
377 2003-11-28 André Pönitz <poenitz@gmx.net>
379 * ParagraphParameters.[Ch]:
380 * ParameterStruct.h: remove space above/below from Paragraph to
383 * BufferView_pimpl.C:
395 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
397 * factory.C: Syntax change for CharStyles
399 2003-11-28 André Pönitz <poenitz@gmx.net>
404 * buffer.[Ch]: move LyXText member
406 2003-11-28 André Pönitz <poenitz@gmx.net>
408 * BufferView.[Ch]: make LyXText * text a private member
410 * BufferView_pimpl.C:
421 * output_plaintext.C: cleanup
423 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
426 * lyxtextclass.[Ch]: parametrize SGML document header
428 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
431 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
434 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
436 * text2.C (setFont): rework using PosIterator (no more recursive)
437 (setCharFont): no more needed
438 (setLayout): no more selection cursors fiddling (done by redoCursor)
439 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
440 destroy remaining ones)
442 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
444 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
446 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
449 * text3.C: adjust + re-allow multi par depth changes
450 * textcursor.C: simplify a bit
452 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
458 * src/output_docbook.C:
459 * src/output_latex.C:
464 * src/text2.C: Introducing a number of tags parametrizing various
465 XML formats that we may want to support
467 2003-11-25 André Pönitz <poenitz@gmx.net>
469 * InsetList.[Ch] (begein, end): inline as suggested by profiler
471 * lyxtext.h (leftMargin/rightMargin): simplify interface
478 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
480 * lyxfunc.C (dispatch): propogate the bibtex databases from the
481 master file to any child files. Fixes bug 546.
483 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
485 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
487 2003-11-24 André Pönitz <poenitz@gmx.net>
489 * rowpainter.C: simplification
491 * text2.C (updateCounters): remove call to redoParagraph on
492 changed labels as this is far too expensive.
494 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
496 * converter.C (convert): fix a crash: this function gets
497 called with buffer == 0 from importer code.
499 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
501 * text3.C (cursorPrevious): make sure that we do not compare
502 iterators form different containers.
505 * rowpainter.C (paintSelection): make sure that we do not compare
506 iterators from different containers.
508 * text3.C (dispatch): [PRIOR] make sure that we do not compare
509 iterators from different ParagraphList containers.
512 * text2.C (LyXText): change order of initialization slightly
513 (operator=): new function. copy all variables except cache_par_
514 (moveUp): make sure that we do not compare iterators from
515 different ParagraphList constainers.
518 * text.C (firstPar): new function
519 (lastPar): new function
520 (endPar): new function
522 * lyxtext.h: move things around and group public functions, public
523 variables, private functions, private variables
525 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
527 * factory.C: change call to InsetERT constructor to avoid
528 additional invocation of method status
529 * text2.C (toggleInset): remove redundant update() call
530 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
531 instead of a Bufferview pointer
533 2003-11-21 André Pönitz <poenitz@gmx.net>
535 * rowpainter.C: simplification
537 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
539 * text3.C (dispatch): make possible to extend a word/row selection
542 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
544 * lyxtext.h: x0_,y0_ -> xo_,yo_
545 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
546 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
547 * rowpainter.C (paintRows): paint full paragraphs
549 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
551 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
554 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
556 * lyxtext.h: add x0_, y0_
557 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
558 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
560 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
562 * text2.C (setCursorIntern): move the x_target update here *
563 * text3.C: change some bv() to true/false in calls to
564 cursorUp/Down/Right/Left
565 * cursor.C: use helper function.
567 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
569 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
570 * paragraph_funcs.[Ch]: correct comment
571 * rowpainter.C: do not paint selections away from bv->cursor()
572 Fix a long standing selection painting bug.
573 * text3.C: generalize mouse-selection code to LyXTexts other that
575 * textcursor.C: do not use y coords if we can use par offsets
577 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
579 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
580 cursor position after e.g. inset insert)
582 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
584 * lyxfind.C (replace): adjust to locking removal + some
587 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
589 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
592 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
595 * output_docbook.C: XML sanitation: new layout
596 parameters InnerTag and CommandDepth
598 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
600 * BufferView_pimpl.C:
602 * text3.C: Fix the insertion and modification of button-style
605 2003-11-13 André Pönitz <poenitz@gmx.net>
607 * InsetList.[Ch]: remove deleteLyXText
609 * paragraph.[Ch]: cache beginOfBody position
614 * text3.C: remove superfluous update() calls
618 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
620 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
621 * BufferView.C (fitLockedInsetCursor): remove
622 * cursor.[Ch] (getDim): add
623 * text.C (getRowNearY): add faster version
624 * text3.C: remove some update calls
626 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
638 * text3.C: The Character Style /XML short element patch.
640 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
643 * factory.C: Small step to solving 'unable to insert some insets'
646 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
648 * cursor.[Ch] (updatePos): new function for updating the y
649 position of the tip inset
650 * bufferview_funcs.C (put_selection_at):
651 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
653 2003-11-11 André Pönitz <poenitz@gmx.net>
655 * text.C: remove big comment on invalid Paragraph pointers as it is
658 2003-11-11 André Pönitz <poenitz@gmx.net>
660 * text_funcs.[Ch]: merge with ...
668 * Makefile.am: remove text_funcs.[Ch]
670 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
672 * cursor.C (getPos): return absolute cached y coord
674 * BufferView_pimpl.C (fitCursor): new simplistic code
675 (workAreaDispatch): add a fitCursor call
677 2003-11-10 André Pönitz <poenitz@gmx.net>
680 * BufferView_pimpl.[Ch]: merge update() and updateInset()
682 2003-11-10 André Pönitz <poenitz@gmx.net>
684 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
685 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
686 indicate that the cursor needs to leave an inset
688 * lyxtext.h: remove inset locking
690 * cursor.[Ch]: re-implement functionality provided by inset locking
693 * BufferView_pimpl.[Ch]:
695 * bufferview_funcs.[Ch]:
707 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
709 * PosIterator.[Ch]: replace the stack with a vector, add inset
711 * iterators.[C]: adjust
713 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
715 * lyxfind.C (replaceAll): mark the buffer dirty if something was
717 * paragraph_funcs.C (readParToken): put the correct id in the
718 error item, not the id of the top paragraph
720 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
722 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
723 * bufferview_funcs.C (put_selection_at): use the above
725 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
727 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
729 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
732 * output_plaintext.h:
734 * output_docbook.h: add #include statements
736 2003-11-05 José Matos <jamatos@lyx.org>
738 * output_docbook.[Ch]:
740 * output_linuxdoc.[Ch]:
741 * output_plaintext.[Ch]: New files for output formats.
742 * output.[Ch]: New file for helper functions.
745 * paragraph_funcs.[Ch]: output functions moved to new files.
747 * outputparams.h: rename of latexrunparams.h
755 * paragraph_funcs.[Ch]:
756 * paragraph_pimpl.[Ch]:
757 * tabular.[Ch]: rename ascii to plaintext
758 and LatexRunParams to OutputParams.
760 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
762 * iterators.[Ch] (text): require bv argument
763 * undo.C (recordUndo):
764 * lyxfunc.C (dispatch):
765 * bufferview_funcs.C (put_selection_at): adjust
767 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
769 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
771 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
773 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
776 2003-11-04 André Pönitz <poenitz@gmx.net>
778 * cursor.[Ch]: restructure
781 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
783 * iterators.[Ch] (asCursor): remove
785 * lfuns.h: remove LFUN_INSET_EDIT
791 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
793 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
795 * lyxfind.[Ch]: complete overhaul
796 * BufferView_pimpl.C:
798 * paragraph.[Ch] (insert): add
800 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
804 * text.C: remove dead spellcheck code
806 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
808 * dispatchresult.h: add a val setter
810 * cursor.C (dispatch): use a tempvar for data_[i]
812 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
814 * PosIterator.[Ch]: compile fix
816 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
818 * text.C (cursorPar): deactivate the cursor cache
820 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
822 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
824 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
826 * text3.C (dispatch): adjust for new DisptchResult semantics.
828 * lyxfunc.C (dispatch): handle update when return from
829 Cursor::dispatch, adjust for new DispatchResult semantics.
831 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
832 DispatchResult(true) mean to not update. Add class functions for
833 setting dispatched and update, as well as reading.
835 * cursor.C (dispatch): don't handle update here
837 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
839 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
840 * trans_mgr.C: adjust
842 * paragraph_funcs.C (readParToken): exception safety
844 * lyxvc.h: store the vcs pointer in a scoped_ptr
847 * lyxsocket.C (serverCallback): exception safety
849 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
851 * ispell.C (clone): make it return a auto_ptr
853 * factory.C (createInset): exception safety
854 (readInset): exception safety
856 * bufferlist.C (newBuffer): exception safety
858 * Thesaurus.C (Thesaurus): use initialization for aik_
860 * MenuBackend.C (expandToc): exception safety.
862 2003-11-03 André Pönitz <poenitz@gmx.net>
866 * bufferview_funcs.C: remove getInsetFromId()
869 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
875 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
877 * PosIterator.C (distance, advance): new
878 * bufferview_funcs.[Ch] (put_selection_at): new
879 * iterators.[Ch] (lockPath): new
881 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
883 * iterators.[Ch] (asPosIterator): added
884 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
885 * PosIterator.[Ch]: added
887 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
891 * cursor.C (dispatch):
892 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
894 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
895 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
896 contructor, add a class function dispatched. Remove operator>=
898 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
900 * debug.C: only use the default constructor for debugstream
903 * main.C (main): include debug.h and setup the lyxerr streambuf
906 2003-10-31 José Matos <jamatos@lyx.org>
908 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
910 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
911 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
912 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
913 * paragraph_pimpl.C (simpleTeXSpecialC):
914 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
915 add LatexRunParams argument.
917 * exporter.C (Export): change call accordingly.
919 * latexrunparams.h: add new member to take care of the other backends.
920 2003-10-30 José Matos <jamatos@lyx.org>
922 * buffer.C (makeLinuxDocFile, makeDocBookFile):
923 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
924 factorise code for paragraph output.
926 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
929 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
931 * text3.C (dispatch):
932 * lyxfunc.C (dispatch):
933 * cursor.C (dispatch):
934 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
936 * dispatchresult.h: make the dispatch_result_t ctor explicit
938 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
941 * buffer.C: small refactoring of docbook stuff
943 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
945 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
948 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
950 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
951 operator dispatch_result_t, and operators for == != and >=
953 * cursor.C (dispatch): adjust for operator dispatch_result_t
954 removal. comment out call to update
956 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
958 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
966 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
969 * dispatchresult.h: new file, DispatchResult broken out of
972 * Makefile.am (lyx_SOURCES): add dispatchresult.h
974 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
976 * text.C (rowBreakPoint): put a hack inside #if 0
978 2003-10-28 André Pönitz <poenitz@gmx.net>
985 * text2.C: general cleanup (lots of small stuff)
987 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
989 * text2.C (cursorEnd): simple fix to the "end key goes to one
990 before the end on last row" bug
992 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
994 * text.C (backspace): fix the "zombie characters"
996 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
998 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1000 2003-10-27 André Pönitz <poenitz@gmx.net>
1002 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1004 * factory.C: handle new InsetPagebreak, InsetLine
1006 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1007 and move handling into new InsetPagebreak, InsetLine
1009 * BufferView_pimpl.C:
1011 * ParagraphParameters.C:
1012 * ParameterStruct.h:
1017 * paragraph_funcs.C:
1018 * paragraph_pimpl.C:
1024 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1027 * lyxrow_funcs.[Ch]:
1033 * text3.C: remove lastPos uses in favour of Row::endpos
1035 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1037 * undo.C (performUndoOrRedo): fix two crashes by setting a
1038 cursor by hand and reordering some calls. Use bv->lockInset instead
1039 of inset->edit because the latter loses cursor information
1041 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
1043 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1045 (rowBreakPoint): fix width. change point to point + 1.
1046 Add a missing check.
1048 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
1051 * lyxfunc.C: fix (at least partly) the problems
1052 with the Nav menu and headers inside branch insets
1055 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
1057 * paragraph.C (getChar): add strong asserts
1059 * lyxrow_funcs.C (lastPos): remove hideous hack
1061 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1062 (fill): adjust to that (avoid an infinite loop)
1064 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1066 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1068 2003-10-23 André Pönitz <poenitz@gmx.net>
1070 * RowList_fwd.h: change list<> to vector<> to gain speed
1071 after suggestion from Alfredo
1073 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1075 * lyxtext.h: move the bidi stuff from here...
1078 * Bidi.[Ch]: ... to here
1080 2003-10-23 André Pönitz <poenitz@gmx.net>
1083 * text.C (isLastRow, isFirstRow): new functions
1085 * paragraph.h: new width cache member
1087 * rowpainter.C: replace RowList::iterator with Row & where possible
1089 * lyxfunc.C: replace several view()->text with a single call
1091 * toc.C: fix 'unused' warning
1093 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1095 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1096 when woring with stream::pos_type
1097 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1099 2003-10-22 André Pönitz <poenitz@gmx.net>
1102 * text.C: use Row & instead of RowList::iterator
1104 * lyxrow.h: rename end() to endpos()
1110 2003-10-22 Angus Leeming <leeming@lyx.org>
1112 * buffer.[Ch] (fully_loaded): new member function, returning true
1113 only when the file has been loaded fully.
1114 Used to prevent the premature generation of previews and by the
1115 citation inset to prevent computation of the natbib-style label.
1117 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1118 templates are all set up.
1120 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1122 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
1124 * text.C: fixed an "oops" in the "is a bit silly"
1127 2003-10-21 André Pönitz <poenitz@gmx.net>
1129 * FuncStatus.[Ch]: small stuff, whitespace
1131 * lyxfont.[Ch]: operator<<() for debug reasons
1135 * lyxtext.h: whitespace, spelling
1137 * paragraph.C: naming of variables
1140 * text2.C: small stuff
1143 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1145 * text.C: (1) finish off the inset display() work;
1146 (2) fix the "is a bit silly" bug (accessing char
1149 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1151 * text.C: re-introduce display() for insets, fixing the
1152 various bugs (stretch of line above, math inset
1155 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1157 * text.C (rightMargin): remove spurious semicolon
1159 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1162 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1164 * text3.C: fix one crash due to wrong cursor def
1166 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1168 * vc-backend.C (scanMaster): make the regex static
1170 * LaTeX.C (scanAuxFile): make the regexs static
1172 * text3.C (doInsertInset, dispatch, dispatch):
1173 * text2.C (cursorUp, cursorDown):
1174 * text.C (selectNextWordToSpellcheck):
1175 * BufferView_pimpl.C (dispatch):
1176 * lyxfunc.C (dispatch): localDispatch -> dispatch
1178 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1180 * lyxsocket.C: include <cerrno>
1182 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1184 * lyxfunc.C (dispatch): remove textcache stuff
1186 * bufferlist.C (release): remove textcache stuff
1189 * TextCache.C: delete file
1190 * TextCache.h: delete file
1192 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1194 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1195 delete of the bv_->text.
1196 (resizeCurrentBuffer): remove texcache stuff
1197 (workAreaResize): ditto
1199 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1201 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1204 2003-10-16 André Pönitz <poenitz@gmx.net>
1211 * text3.C: speed up by storing y positions per paragraph plus per-row
1212 offset instead of having a 'full' y position in the row.
1214 2003-10-15 André Pönitz <poenitz@gmx.net>
1218 * undo.[Ch]: make undo aware of inner insets
1220 2003-10-14 Angus Leeming <leeming@lyx.org>
1222 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1223 static member functions LyX::ref() and LyX::cref.
1224 (lastfiles): new accessor functions for the new lastfiles_ member var.
1225 (addLyXView, views_): add a new LyXView to the list of views_.
1226 (updateInset): loop over all LyXViews to call their own updateInset
1227 member function, returning a pointer to the Buffer owning the inset.
1229 * BufferView_pimpl.C (loadLyXFile):
1230 * MenuBackend.C (expandLastfiles):
1231 * bufferlist.C (MenuWrite, QuitLyX):
1232 lastfiles is no longer a global variable.
1233 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1235 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1236 static function. Access through LyX::cref().emergencyCleanup().
1238 2003-10-14 André Pönitz <poenitz@gmx.net>
1240 * iterators.[Ch]: new direct access to innermost LyXText and Inset
1242 * undo.[Ch]: restoring part of 'undo in insets'
1245 * undo_funcs.[Ch]: merge with undo.[Ch]
1247 * tabular.C: small cleansing stuff
1249 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
1251 * paragraph_funcs.C (readParToken): report unknown insets as error
1252 boxes. Use the outer paragraph as location (also for unknown
1255 * factory.C (readInset): do not abort on reading an unknown inset.
1256 Eat it and return 0.
1258 2003-10-13 Angus Leeming <leeming@lyx.org>
1260 * lyx_main.C (LyX): remove call to setDisplayTranslator().
1262 * lyxrc.C: displayTranslator is now a function,
1263 declared in GraphicsTypes.h.
1265 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1267 * format.C: new placeholder $$a to pass the socket address.
1269 * bufferlist.[Ch]: new function getBufferFromTmp.
1271 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1272 files in the temporary dir.
1274 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1276 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1278 * Makefile.am: add lyxsocket.[Ch].
1280 * lyx_main.C (error_handler): handle SIGPIPE.
1282 2003-10-13 André Pönitz <poenitz@gmx.net>
1284 * BufferView_pimpl.C:
1289 * undo_funcs.[Ch]: use paroffset_type instead of
1290 ParagraphList::iterators to prevent multiple conversion
1291 (and get a more robust interface)
1293 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1295 * lyxfunc.C (dispatch): RESULT -> dispatch_result
1297 * text3.C (dispatch): ditto
1299 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1301 * LaTeX.C (handleFoundFile): move the static to smaller scope,
1302 move the onlyfile, use onlyfile instead of foundfile in a couple
1305 * DepTable.C (update): flush the error stream a bit more
1307 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1309 * lyxserver.C (callback): adjust
1311 * lyxfunc.C (getStatus): add a missing brace in commented code
1312 (ensureBufferClean): reindent
1313 (dispatch): delete version taking a string
1315 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1317 * LaTeX.C (deplog): move found file handlig from here...
1318 (handleFoundFile): .. to new function here.
1319 (deplog): make sure to discover several files mentioned on the
1322 2003-10-10 André Pönitz <poenitz@gmx.net>
1329 * text3.C: fix some of the tabular crashes
1331 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1333 * MenuBackend.C (binding): put debug message into Debug::KBMAP
1335 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1337 2003-10-09 André Pönitz <poenitz@gmx.net>
1339 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1342 * BufferView_pimpl.C:
1343 * bufferview_funcs.C:
1354 * undo_funcs.C: adjust
1356 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1358 * text2.C (incrementItemDepth): new function, use a backtracking
1359 algorithm to discover the correct item depth.
1360 (resetEnumCounterIfNeeded): new function, use a backtracking
1361 algorithm to discover if counter reset is needed.
1362 (setCounter): use them. Simplify a bit. Add different labels for
1363 different item depths for itemize.
1365 * paragraph.C (Paragraph): remove initialization of enumdepth
1368 * paragraph.h: get rid of enumdepth, and use itemdepth both for
1369 enumerate and itemize. Change the type of itemdepth to signed char.
1371 2003-10-08 André Pönitz <poenitz@gmx.net>
1373 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1378 * tabular.[Ch]: fix crash after 'row-insert'
1380 2003-10-08 Angus Leeming <leeming@lyx.org>
1382 Fix doxygen warnings.
1384 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1385 Remove CutAndPaste:: prefix from header file declaration.
1387 * LColor.h (fill): remove LColor:: prefix from declaration.
1389 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1390 use lyx::depth_type rather than Paragraph::depth_type so that
1391 header file and .C file match.
1393 * converter.h (intToFormat): remove Converters:: prefix from declaration.
1395 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1396 * aspell.C: \file aspell_local.C -> \file aspell.C
1397 * gettext.C: \file gettext.C -> \file src/gettext.C
1398 * gettext.h: \file gettext.h -> \file src/gettext.h
1399 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1400 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1401 * text.C: \file text.C -> \file src/text.C
1403 * toc.C: move comment so that doxygen is not confused.
1405 2003-10-07 Angus Leeming <leeming@lyx.org>
1407 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1409 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1412 * aspell_local.h: add forgotten std::string's.
1414 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1421 * text3.C: The Box patch. Fancybox support, minipage, parbox
1423 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1429 * ParagraphParameters.h:
1439 * lyxtextclasslist.h:
1442 * paragraph_pimpl.C:
1443 * textcursor.h: add <string> and other small fixes to make Lars'
1444 std::string patch compile with STLport.
1446 2003-10-06 Angus Leeming <leeming@lyx.org>
1448 * LColor.h: Add missing #include <string>.
1450 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1452 * All most all file in all subdirs: Make <string> be the prefered
1453 way of getting to std::string, add using declarations.
1455 2003-10-06 André Pönitz <poenitz@gmx.net>
1457 * metricsinfo.C: initialize LyXFont before changing attribute.
1458 (fixes the 'math in \emph is upright' bug)
1460 2003-10-06 André Pönitz <poenitz@gmx.net>
1462 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1464 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
1467 * paragraph_pimpl.C: Small fixes to build using STLport
1469 2003-10-02 André Pönitz <poenitz@gmx.net>
1472 * text3.C: move handling of LFUN_DEPTH *; fix #1360
1474 2003-10-01 André Pönitz <poenitz@gmx.net>
1476 * factory.C: assert early
1478 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1480 * lyx_main.C: remove the global debug object
1482 * debug.h: adjust for new debugstream
1484 * debug.C: adjust for new debugstream and keep the global debug
1487 2003-09-22 Angus Leeming <leeming@lyx.org>
1489 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1490 of g++ which otherwise complain that the scoped_ptr destructor can't delete
1491 an incomplete class LyXFont.
1493 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1495 * factory.C: bug fix in branches
1497 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1499 * lyxfunc.C (processKeySym): adjust
1501 (dispatch): change arg name from ev to func, adjust
1502 (sendDispatchMessage): ditto
1504 * lyx_main.C (defaultKeyBindings): adjust keybindings
1505 (deadKeyBindings): ditto
1507 * kbsequence.C (addkey): return a FuncRequest
1509 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1511 * kbmap.C (bind): take a FuncRequest as arg, adjust
1514 (defkey): change to take a FuncRequest as arg, adjust
1515 (findbinding): take a FuncRequest as arg, adjust.
1517 * funcrequest.h (operator=): added
1519 * funcrequest.C (FuncRequest): default kb_action changed from
1520 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1522 * buffer.C (dispatch): simplify
1523 (dispatch): adjust to take a FuncRequest as arg, adjust
1525 * boost.C (assertion_failed): change assertion message slightly
1527 * ToolbarBackend.C (read): simplify
1529 * MenuBackend.C (binding): adjust call to findbinding, add a
1530 message if no binding is found.
1532 (expandToc): correct by adding a empty FuncRequest
1534 * LyXAction.C: include <boost/assert.hpp>
1535 (isPseudoAction): delete function
1536 (LookupFunc): change name to...
1537 (lookupFunc): this. change return type to FuncRequest.
1538 (getActionName): take kb_action as arg, simplify
1539 (funcHasFlag): add an assert, simplify.
1541 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1543 * toc.C (action): return a FuncRequest, simplify
1545 * lyxfunc.C (processKeySym): adjust
1546 (getStatus): delete version that takes an int.
1548 (dispatch): delete version that takes action as int
1550 (sendDispatchMessage): simplify and adjust
1552 * funcrequest.C (getArg): take unsigned int as arg
1554 * ToolbarBackend.C (read): adjust
1555 (add): delete version that takes func as a string.
1556 (getIton): take a FuncRequest as arg
1558 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1561 * MenuBackend.C (MenuItem): add a new construct that only takes a
1562 Kind, simplify the constructor use for submenus.
1564 (expandLastfiles): adjust
1565 (expandDocuments): adjust
1566 (expandFormats): adjust
1567 (expandFloatListInsert): adjust
1568 (expandFloatInsert): adjust
1569 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1571 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1572 Remove class variables lyx_pseudo_map and lyx_arg_map
1574 * LyXAction.C (searchActionArg): delete function
1575 (getPseudoAction): delete function
1576 (retrieveActionArg): delete function
1577 (LookupFunc): make it return kb_action, simplify.
1578 (getActionName): simplify
1580 * factory.C (createInset): fix new bug
1582 2003-09-19 Angus Leeming <leeming@lyx.org>
1584 * CutAndPaste.C (pasteSelection): remove fudge used to set the
1585 masterFilename_ parameter in the include inset.
1587 * factory.C (createInset): changes due to the changes to InsetInclude.
1589 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1591 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1593 2003-09-18 Angus Leeming <leeming@lyx.org>
1596 * BufferView.C: pass the buffer when calling Inset::getLabelList,
1597 Inset::fillWithBibKeys.
1598 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1600 2003-09-18 Angus Leeming <leeming@lyx.org>
1602 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1604 (ctor): pass and store a 'Buffer const &'
1605 (buffer): new member function.
1607 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1608 '*this' to the LaTeXFeatures ctor.
1610 2003-09-18 Angus Leeming <leeming@lyx.org>
1616 * text.C: rename EnumLColor as LColor_color.
1618 2003-09-18 Angus Leeming <leeming@lyx.org>
1620 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1621 remove #include "insets/insetbase.h" from cursor.h.
1623 2003-09-18 Angus Leeming <leeming@lyx.org>
1625 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1626 InsetOld_code to remove #include "inset.h".
1628 * iterators.C: add #include "insets/inset.h"
1630 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
1632 * BufferView.C: remove more locking stuff that apparently doesn't
1633 do anything sensible.
1635 2003-09-16 André Pönitz <poenitz@gmx.net>
1638 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1641 2003-09-16 Angus Leeming <leeming@lyx.org>
1643 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1645 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1648 * paragraph.h: remove #include "lyxfont.h". Forward declare
1651 2003-09-16 Angus Leeming <leeming@lyx.org>
1653 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1654 of support/textutils.h.
1655 (isWord): move the contents of support/textutils.h's IsWordChar here.
1661 * text2.C: add #include "paragraph.h".
1664 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1666 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1672 * LaTeX.C: use namespace alias for lyx::support::os
1674 2003-09-16 Angus Leeming <leeming@lyx.org>
1677 * bufferview_funcs.C:
1680 * paragraph_pimpl.C:
1682 * text.C: add #include "LColor.h".
1684 2003-09-16 Angus Leeming <leeming@lyx.org>
1686 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1687 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1689 Store the FontBits::color variable as an int rather than as an
1690 LColor::colorso that we can move LColor.h out of the lyxfont.h header
1693 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1694 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1695 string calls together.
1697 * lyxrc.C: add #include "LColor.h".
1699 2003-09-15 Angus Leeming <leeming@lyx.org>
1701 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1704 2003-09-15 Angus Leeming <leeming@lyx.org>
1706 * LColor.h: add an EnumLColor wrapper for LColor::color.
1708 * lyxfont.[Ch] (color, setColor, realColor):
1709 * lyxtext.h, text.C (backgroundColor):
1710 pass EnumLColor args to/from the functions, rather than LColor::color
1714 * lyxtext.h: forward declare EnumLColor.
1716 * lyx_main.C: add #include "LColor.h".
1718 2003-09-15 Angus Leeming <leeming@lyx.org>
1720 * .cvsignore: add lyx-gtk.
1722 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1727 * ParagraphParameters.C
1731 * bufferview_funcs.C
1741 * vc-backend.C: remove usage of STRCONV
1743 2003-09-15 Angus Leeming <leeming@lyx.org>
1745 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1746 explicitly define the color passed to the painter.
1748 2003-09-15 Angus Leeming <leeming@lyx.org>
1750 * bufferparams.C (BufferParams): reorder member initializers to avoid
1753 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
1755 * CutAndPaste.C (pasteSelection): remove an outdated #warning
1756 * text.C (updateRowPositions): remove an unusual nop
1758 2003-09-12 André Pönitz <poenitz@gmx.net>
1760 * BufferView_pimpl.C:
1769 * Counters.[Ch]: finish the 'automatic counters' job
1771 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1773 * aspell.C: include <boost/assert.cpp> (compile fix)
1775 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
1777 * boost.C (assertion_failed): use lyx::support::abort instead of
1780 2003-09-10 Angus Leeming <leeming@lyx.org>
1782 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1783 with their _fwd progeny.
1785 2003-09-09 Angus Leeming <leeming@lyx.org>
1787 134 files throughtout the source tree: replace 'using namespace abc;'
1788 directives with the appropriate 'using abc::xyz;' declarations.
1790 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1792 * boost.C (emergencyCleanup): moved here from LAssert.c
1793 (assertion_failed): new function, called by BOOST_ASSERT
1795 * several files: change Assert to BOOST_ASSERT
1797 2003-09-09 Angus Leeming <leeming@lyx.org>
1799 * buffer.[Ch]: Add an Impl class and move Buffer's member
1800 variables into it. As a result move several header files out of
1803 Add header files to lots of .C files all over the tree as a result.
1805 2003-09-09 Angus Leeming <leeming@lyx.org>
1807 * buffer.[Ch]: make Buffer's member variables private. Add
1810 Lots of changes all over the tree as a result.
1812 2003-09-08 Angus Leeming <leeming@lyx.org>
1814 * graph.C: #include <config.h>.
1816 2003-09-08 Angus Leeming <leeming@lyx.org>
1820 * BufferView_pimpl.C:
1849 * toc.C: remove redundant using directives.
1851 2003-09-07 Angus Leeming <leeming@lyx.org>
1853 * LaTeXFeatures.h: remove #include "support/types.h".
1854 * ToolbarBackend.h: remove #include <algorithm>.
1855 * changes.h: remove #include <ctime>.
1856 * debug.h: remove #include <iosfwd>.
1857 * graph.h: remove #include "support/std_string.h".
1858 * lyx_main.h: remove #include <csignal>.
1859 * lyxlex_pimpl.h: remove #include <fstream>.
1860 * sgml.h: remove #include <algorithm>, <utility>.
1861 * toc.h: remove #include "support/std_ostream.h".
1862 Add #include <iosfwd>.
1864 2003-09-07 Angus Leeming <leeming@lyx.org>
1866 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1868 * converter.h: forward declare LatexRunParams.
1869 * encoding.h: remove #include "lyxrc.h".
1870 * lyxtext.h: remove #include "LColor.h".
1871 * lyxtextclass.h: remove #include "support/types.h".
1872 * trans.h: remove #include "tex-accent.h".
1873 * trans_mgr.h: remove #include "tex-accent.h".
1874 * insets/inset.h: remove #include "support/types.h", <vector>.
1875 * insets/insetcollapsable.h: remove #include "LColor.h".
1876 * insets/insetinclude.h: remove #include "dimension.h".
1877 * insets/insetlatexaccent.h: remove #include "dimension.h".
1878 * insets/insetoptarg.h:: remove #include "insettext.h".
1879 * insets/insettext.h: remove #include "dimension.h",
1880 <boost/shared_ptr.hpp>
1882 * insets/renderers.h: add #include "dimension.h".
1883 * insets/updatableinset.h: add #include "support/types.h".
1885 * many .C files: Associated changes.
1887 2003-09-06 Angus Leeming <leeming@lyx.org>
1889 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1890 one, inside testInvariant.
1892 * PrinterParams.C: new file.
1893 * PrinterParams.[Ch]: move the function bodies out of line.
1895 2003-09-06 Angus Leeming <leeming@lyx.org>
1897 * ParagraphParameters.h: forward declare ParameterStruct rather than
1898 including its header file.
1899 (depth): moved out-of-line.
1901 2003-09-06 Angus Leeming <leeming@lyx.org>
1903 * BufferView_pimpl.h:
1906 * lyxfunc.h: forward declare LyXKeySym rather than
1907 #include "frontends/LyXKeySym.h".
1909 * BufferView_pimpl.C:
1912 * lyxfunc.C: associated changes.
1914 2003-09-06 Angus Leeming <leeming@lyx.org>
1916 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1917 As a result, can remove the #include "insets/inset.h" from BufferView.h
1919 2003-09-06 Angus Leeming <leeming@lyx.org>
1921 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1922 As a result, can remove the #include "insets/inset.h" from BufferView.h
1924 2003-09-06 Angus Leeming <leeming@lyx.org>
1930 * bufferview_funcs.C:
1931 * BufferView_pimpl.C:
1936 * ParagraphParameters.C:
1941 * frontends/controllers/ControlDocument.C:
1942 * insets/insetcaption.C: rearrange the #includes into some sort of
1945 * buffer.h: remove #includes ErrorList.h, undo.h
1947 2003-09-06 Angus Leeming <leeming@lyx.org>
1949 * support/types.h: add a 'depth_type' typedef, used to store the
1950 nesting depth of a paragraph.
1953 * ParameterStruct.h: use this lyx::depth_type typedef rather than
1954 defining explicitly.
1957 * paragraph_funcs.h:
1958 * ParagraphParameters.h:
1959 * sgml.h: use lyx::depth_type rather than Paragraph or
1960 ParameterStruct's depth_type.
1963 * paragraph_funcs.h: no need to #include paragraph.h anymore.
1966 * BufferView_pimpl.C:
1968 * ParagraphParameters.C:
1971 * bufferview_funcs.C:
1978 * frontends/LyXView.C:
1979 * frontends/controllers/ControlDocument.C:
1980 * frontends/controllers/ControlErrorList.C:
1981 * insets/insetbibitem.C:
1982 * insets/insetbranch.C:
1983 * insets/insetcaption.C:
1984 * insets/insetcollapsable.C:
1985 * insets/insetenv.C:
1986 * insets/insetert.C:
1987 * insets/insetfloat.C:
1988 * insets/insetfoot.C:
1989 * insets/insetfootlike.C:
1990 * insets/insetnewline.C:
1991 * insets/insetquotes.C:
1992 * insets/insettabular.C:
1993 * insets/insettext.C:
1994 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1996 * frontends/controllers/ControlChanges.C: #include "changes.h".
1998 2003-09-06 Angus Leeming <leeming@lyx.org>
2000 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2001 than #including paragraph.h.
2004 * RowList.h: deleted. Superfluous.
2014 * insets/insettext.h: use ParagraphList_fwd.h rather than
2017 * paragraph.h: don't forward declare ParagraphList.
2020 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2021 rather than ParagraphList.h. paragraph.h is still needed for the
2022 Paragraph::depth_type parameters.
2024 * textcursor.h: enable it to compile stand-alone in light of the
2027 * bufferview_funcs.C:
2039 * frontends/controllers/ControlParagraph.C:
2040 * frontends/controllers/ControlTabular.C:
2041 * insets/insetmarginal.C:
2042 * insets/insetminipage.C:
2043 * insets/insetnote.C:
2044 * insets/insetoptarg.C: add header files needed to compile again.
2046 2003-09-06 Angus Leeming <leeming@lyx.org>
2048 * RowList_fwd.h: new file, forward-declaring Row rather than
2049 #including lyxrow.h.
2054 * insets/insettext.h: use it instead of RowList.h
2056 * bufferview_funcs.C:
2063 * text3.C: #include "RowList.h".
2065 2003-09-05 Angus Leeming <leeming@lyx.org>
2067 * factory.C (createInset):
2068 * vspace.C (c-tor): replace sscanf call with an istringstream.
2069 * ispell.C: re-add missing HP/UX headers.
2070 * lyxserver.C: re-add missing os2 headers.
2072 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
2081 * text3.C: re-add missing system headers, needed for 2.95.2.
2083 2003-09-05 Angus Leeming <leeming@lyx.org>
2085 Changes most place everywhere due to the removal of using directives
2086 from support/std_sstream.h.
2088 2003-09-05 Angus Leeming <leeming@lyx.org>
2090 Replace LString.h with support/std_string.h,
2091 Lsstream.h with support/std_sstream.h,
2092 support/LIstream.h with support/std_istream.h,
2093 support/LOstream.h with support/std_ostream.h.
2095 Changes resulting throughout the tree.
2097 2003-09-05 Angus Leeming <leeming@lyx.org>
2099 * sgml.h: ensure that the header file can be compiled stand-alone.
2100 * *.C: strip out redundant #includes. (320 in total.)
2102 2003-09-04 Angus Leeming <leeming@lyx.org>
2104 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2105 here (from getPackages).
2107 * debug.[Ch]: add a new EXTERNAL tag.
2109 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2111 * text2.C (cursorEnd): simplify
2113 (getColumnNearX): adjust
2115 * text.C (computeBidiTables): adjust
2118 * rowpainter.C (paintChars): adjust
2119 (paintSelection): adjust
2120 (paintChangeBar): adjust
2123 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2125 (numberOfSeparators): adjust
2127 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2133 * text3.C: Restricts the mouse click functionality
2134 of insets like bibtex, include, toc and floatlist to the visible
2135 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2136 up the dialogs. Cursor has to be in front of the inset (i.e.
2137 start of row) for this to function.
2139 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2141 * bufferview_funcs.C (currentState): output row information
2143 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2145 * bufferview_funcs.C (currentState): output paragraph position
2147 2003-09-04 Angus Leeming <leeming@lyx.org>
2149 * FloatList.h: move out #include "Floating.h".
2150 * LaTeX.h: move out #include "DepTable.h".
2151 * LyXAction.h: move out #include "funcrequest.h".
2152 * buffer.h: move out #include "author.h", "iterators.h".
2153 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2154 * lyx_main.h: move out #include "errorlist.h".
2155 * lyxfunc.h: move out #include "FuncStatus.h".
2156 * lyxtext: move out #include "lyxcursor.h".
2157 * paragraph_pimpl.h: move out #include "counters.h".
2159 2003-09-03 Angus Leeming <leeming@lyx.org>
2161 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2162 preamble_snippets list, enabling us to add snippets to the preamble
2163 only if the snippet was not there already.
2165 2003-09-04 Angus Leeming <leeming@lyx.org>
2167 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2169 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2171 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2174 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2176 * BranchList.C: point fix, earlier forgotten
2178 2003-09-02 Angus Leeming <leeming@lyx.org>
2180 * box.C (contains): renamed from 'contained' after a fantastic
2183 2003-09-02 John Levon <levon@movementarian.org>
2189 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2191 2003-09-02 John Levon <levon@movementarian.org>
2193 * text2.C: simplification of cursorEnd(), including partial
2196 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2198 * buffer.C (readFile): add a space
2200 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
2202 * BufferView_pimpl.C (update): remove bogus fitCursor() call
2204 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2206 * buffer.C (readFile): new function, take a filename and a
2207 ParagraphList::iterator
2209 (readFile): adjust, make it private. don't use setStream, make
2210 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2211 always contain the filename.
2213 * BufferView.C (insertLyXFile): simplify and make it work for
2216 2003-08-30 John Levon <levon@movementarian.org>
2218 * Makefile.am: fix dist (from Kayvan)
2220 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2222 * most files: change to use const Buffer refs
2224 2003-08-27 André Pönitz <poenitz@gmx.net>
2226 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2227 on top of ownerPar().
2229 2003-08-27 John Levon <levon@movementarian.org>
2231 * funcrequest.C: properly initialise POD members
2233 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2235 * lyxtext.h (top_y): move top_y from here
2240 * BufferView_pimpl.[Ch]: to here
2241 * frontends/screen.C:
2242 * insets/insettabular.C:
2243 * insets/insettext.C: adjust
2244 * rowpainter.[Ch] (paintRows): remove LyXText & argument
2246 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2249 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2251 2003-08-26 André Pönitz <poenitz@gmx.net>
2253 * paragraph_func.[Ch] (outerPar): new function
2256 * paragraph_funcs.C:
2257 * paragraph_funcs.h:
2258 * paragraph_pimpl.C:
2259 * text2.C: remove Inset::par_owner
2261 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2266 * text2.C: eliminates the needFullRow/display() stuff
2267 altogether, putting the logic in metrics/draw in the insets.
2269 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
2271 * text2.C (redoParagraphInternal, redoParagraphs):
2272 * text.C (redoParagraph): add a call to updateRowPositions at the
2273 end of each 'metrics-like' call. Remove all others.
2274 (getRow): remove the 'y-computing' version.
2275 (getRowNearY): do not compute nor return the real y. Solve the
2276 'y < 0' problem and simplify.
2278 2003-08-22 Angus Leeming <leeming@lyx.org>
2280 * *.[Ch]: clean-up of licence and author blurbs.
2281 Also move config.h out of a few .h files and into a few .C files.
2283 2003-08-22 André Pönitz <poenitz@gmx.net>
2285 * lyxrow.[Ch]: add x_ and *fill_ members
2290 * text2.C: adjust/remove prepareToPrint() calls
2292 2003-08-22 André Pönitz <poenitz@gmx.net>
2294 * lyxrow.[Ch]: add end_ member
2296 * lyxrow_funcs.C: use LyXRow::end_
2298 * lyxtext.h (singleWidth): add LyXFont parameter
2301 * text2.C: adjust LyXText::singleWidth() calls
2303 * text.C (redoParagraph): simplify row breaking logic
2306 2003-08-19 André Pönitz <poenitz@gmx.net>
2308 * funcrequest.C: initialize button_ member
2311 * rowpainter.[Ch]: interface consolidation
2313 2003-08-18 André Pönitz <poenitz@gmx.net>
2316 * BufferView_pimpl.C:
2318 * paragraph_funcs.C:
2320 * text3.C: remove LyXScreen::draw() and fitCursor calls
2322 * BranchList.h: remove spurious semicolons
2324 * MenuBackend.C: fix branchlist related crash
2326 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2334 * bufferparams.[Ch]:
2338 * text3.C: implements the 'branch inset'
2339 idea. This allows the output of various versions of a document
2340 from a single source version, selectively outputing or suppressing
2341 output of parts of the text.
2342 This implementation contains a 'branch list editor' in a separate
2343 tab of the document settings dialog. Branches are user definable
2344 and have a "display colour" to distinguish them on-screen.
2346 ColorHandler was somewhat cleaned up.
2347 (1) make possible a dynamically growing LColor list by allowing
2348 the graphic context cache to grow along (vector);
2349 (2) eliminate an IMHO unnecessary step in colour allocation.
2351 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
2353 * BufferView_pimpl.C: compile fix
2355 2003-08-15 André Pönitz <poenitz@gmx.net>
2357 * rowpainter.C: remove extra metrics calls
2359 * lyxtext.h: merge the two constructors into a single one,
2360 pass reference to owner's par list
2362 * BufferView_pimpl.C:
2366 2003-08-15 André Pönitz <poenitz@gmx.net>
2368 * lyxrow_funcs.[Ch]:
2371 * paragraph_funcs.C:
2376 * text_funcs.C: split LyXText::rowlist_ into individual
2377 Paragraph::rows_ chunks
2380 * BufferView_pimpl.[Ch]:
2383 * text3.C: remove toggleSelection()
2385 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2387 * bufferlist.C: beautify two alerts (shorter text of buttons)
2388 * buffer.C: Remove redundant ' ' from message
2390 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2391 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2392 rename VALIGN_CENTER to VALIGN_MIDDLE
2394 2003-08-11 André Pönitz <poenitz@gmx.net>
2396 * lyxtext.h (getPar):
2397 * text.C: new function
2399 2003-08-11 André Pönitz <poenitz@gmx.net>
2402 * tracer.[Ch]: remove unneeded files
2404 * InsetList.[Ch]: remove resizeInsetsLyXText()
2409 * text3.C: merge insertParagraphs() and appendParagraph()
2410 remove breakAgain(), update()
2412 * BufferView_pimpl.[Ch]:
2413 * bufferview_funcs.[Ch]:
2417 * tabular.C: adjust after text & InsetList changes.
2419 2003-08-08 André Pönitz <poenitz@gmx.net>
2421 * text.C (insertChar, backspace): replace rowlist fiddling
2422 with rebreak of full par
2425 * text.C (breakAgainOneRow, redoHeightOfParagraph,
2426 checkParagraph, updateInset): removed
2428 2003-08-07 André Pönitz <poenitz@gmx.net>
2431 * text3.C: merge some LFUN handlers, remove dead code
2433 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2435 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2437 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
2439 * text2.C (DEPM): fix part of bug 1255 and 1256
2441 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2443 * BufferView_pimpl.C (workAreaDispatch): change to use
2444 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2445 that are no mouse related.
2447 2003-08-05 André Pönitz <poenitz@gmx.net>
2450 * BufferView_pimpl.[Ch]:
2451 * bufferview_funcs.C:
2453 * text3.C: rip out "deep update"
2455 * textcursor.[Ch] (last_sel_cursor): remove unused member
2457 2003-08-04 André Pönitz <poenitz@gmx.net>
2460 * BufferView_pimpl.[Ch]:
2461 * ParagraphParameters.C:
2462 * bufferview_funcs.C:
2468 * text3.C: replace "complicated" BufferView::update(...) calls with
2471 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2473 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
2475 * Makefile.am (lyx_SOURCES): add paper.h
2477 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2479 * Makefile.am: move things around so that both lyx-qt and
2480 lyx-xforms can be built (according to --with-frontend). Then lyx
2481 is a symbolic link to lyx-[firstfrontend]
2483 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2485 * Always use std::endl with lyxerr
2487 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
2489 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2491 2003-08-01 André Pönitz <poenitz@gmx.net>
2494 * BufferView_pimpl.[Ch]:
2496 * text3.C: merge BufferView::repaint() and BufferView::update()
2498 2003-08-01 José Matos <jamatos@lyx.org>
2500 * buffer.[Ch]: file_format is no longer a buffer data element.
2502 2003-08-01 André Pönitz <poenitz@gmx.net>
2507 * text2.C: make redoParagraph more independent of current cursor
2509 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2511 * text2.C: remove unneeded members
2513 2003-07-30 André Pönitz <poenitz@gmx.net>
2515 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2517 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2518 create a single function...
2520 * paragraph_funcs.C (moveItem): ... here.
2523 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2525 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2527 * LColor.[Ch]: Add comment and greyedout logical colors.
2529 2003-07-30 André Pönitz <poenitz@gmx.net>
2531 * tabular.C: don't use Assert too heavily. This crashes where it
2534 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
2536 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2537 is disabled (bug 1232)
2539 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2541 * factory.C: limited 'arg' scope
2543 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2545 * factory.C: fixed Note submenu issues
2547 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2549 * factory.C: submenu for Note/Comment/Greyedout
2551 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
2554 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2556 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2559 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2560 greyedout. Patch provided by Jürgen Spitzmüller.
2562 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2564 * kbmap.C (read): fix error message when reading bind files
2566 2003-07-29 Angus Leeming <leeming@lyx.org>
2568 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2569 certainly does not do what it purports to do. I am doing it, and
2570 us, a favour by killing it.
2572 2003-07-28 José Matos <jamatos@lyx.org>
2574 * buffer.C (readBody, do_writeFile):
2575 * paragraph.C(readParagraph): \end_document replaces \the_end.
2577 2003-07-29 André Pönitz <poenitz@gmx.net>
2580 * BufferView_pimpl.[Ch]:
2584 * textcursor.[Ch]: remove toggleToggle & Co
2586 2003-07-28 José Matos <jamatos@fep.up.pt>
2588 * buffer.C (readParagraph):
2589 * params_func (readParToken, readParagraph):
2590 * paragraph.C (write): \layout -> \begin_layout.
2592 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2594 * lyxlex_pimpl.C (setFile): clean up slightly.
2596 * bufferparams.h: add compressed var
2598 * buffer_funcs.C (readFile): adjust for LyXLex change
2599 (newFile): ditto + simplify
2601 * buffer.C (writeFile): handle writing of compressed files
2603 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2604 Check if the file is compressed and set a bufferparm if so.
2606 * Makefile.am (lyx_LDADD): remove explicit -lz
2608 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2610 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2611 makeDocBookFile): put the real LyX version in the first line of
2615 * version.C.in: remove lyx_docversion
2617 * tabular.C (write_attribute): add a template-based version to
2618 write enums properly
2620 2003-07-28 André Pönitz <poenitz@gmx.net>
2625 * text3.C: use doubles again for x-coordinates. They are needed.
2627 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2629 * messages.C (getLocaleDir): use lyx_localedir()
2631 * lyxlex_pimpl.C (setFile): compress stuff
2633 * buffer.C (writeFile): add some compression stuff
2634 (do_writeFile): new func, dont call expliti close... will this
2637 * Makefile.am (lyx_LDADD): add -lz
2639 2003-07-28 José Matos <jamatos@fep.up.pt>
2641 * buffer.C: increment file format.
2642 * paragraph_funcs (readParagraph, readParToken):
2643 * paragraph.C (readParagraph): add \end_layout.
2645 2003-07-27 Angus Leeming <leeming@lyx.org>
2647 * Makefile.am: remove special casing for configure-time setting of
2648 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2650 * lyx_main.C (init): remove all Jean-Marc's magic setting of
2651 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2653 2003-07-26 André Pönitz <poenitz@gmx.net>
2655 * paragraph_func.[Ch]:
2656 * paragraph.C (realizeFont): inline it whereever it is used
2661 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2664 2003-07-26 André Pönitz <poenitz@gmx.net>
2668 * text2.C: get rid of LyXText::need_break_row
2670 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2672 * toc.[Ch]: put namespace toc inside namespace lyx
2674 * MenuBackend.C (expandToc2): adjust for lyx::toc
2677 * lyxfunc.C (dispatch): adjust for lyx::find
2679 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2680 lyx::find instead. Reorganize a bit.
2681 (LyXReplace): rename to replace
2682 (LyXFind): rename to find
2684 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2687 2003-07-26 André Pönitz <poenitz@gmx.net>
2689 * text.C (setHeightOfRow): restrict scope of temporary variable
2691 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
2692 code (never has been used?)
2694 2003-07-27 Asger Alstrup <alstrup@local>
2696 * text.C (fill): Optimise algorithm to exploit that we can reuse
2697 the LyXFont for many characters.
2698 (setHeightOfRow): Same thing.
2699 (rowBreakPoint): Same thing.
2701 2003-07-26 Asger Alstrup <alstrup@local>
2703 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2705 * text.C (singleWidth): Spurious font copying in hot-spot
2706 singleWidth avoided. Reorder tests for arabic for efficiency.
2708 * text.C (fill): handle empty paragraphs better.
2710 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2713 * encoding.h: add includes
2715 * lyxrc.C: remove reading of bind files
2717 * lyx_main.C (init): setup bindings and menus only if we have a
2720 * kbmap.C (read): new method. Do the actual reading of bind
2723 * converter.C (dvipdfm_options):
2726 (output): adapt PAPER_* enums.
2728 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2730 * bufferparams.h: remove paper-related enums from there
2732 * paper.h: New file. A trivial header file to hold paper-related
2733 enums. It should later expand to contain many paper-related
2736 * lyxrc.C: declare extern displayTranslator
2738 2003-07-27 José Matos <jamatos@fep.up.pt>
2740 * tabular.[Ch] (linuxdoc): add support for tables and figures
2743 2003-07-27 José Matos <jamatos@fep.up.pt>
2745 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2746 consistency in both functions.
2747 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2749 2003-07-26 Asger Alstrup <alstrup@local>
2751 * rowpainter.C (paintRows): Change algorithm to work directly on
2752 the insets rather than asking every character in the document
2753 whether its an inset.
2755 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
2757 * buffer.C (openFileWrite): factorize some code
2759 2003-07-26 Angus Leeming <leeming@lyx.org>
2762 * lyx_main.[Ch]: replace occurances of system_tempdir with
2765 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2767 * rename Inset to InsetOld
2769 2003-07-25 Asger Alstrup <alstrup@diku.dk>
2771 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2772 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2773 which I think is a bit clearer. EDIT is gone, since it was
2774 premature optimisation, and broken for mathed anyway.
2775 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2776 with cursor positioning in insets as well (math insets still do not
2777 work, but that's a different story anyway.) It mysteriously
2778 crashes sometimes with undo in the first paragraph, but I'm fairly
2779 confident that this is a compiler bug.
2781 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2783 * paragraph.C (Paragraph): adjust for new clone return type
2785 (copyIntoMinibuffer): ditto
2787 2003-07-25 Asger Alstrup <alstrup@lyx.org>
2789 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2790 by not having a special case, and always doing a full rebreak of
2791 the document after undo.
2793 2003-07-23 Angus Leeming <leeming@lyx.org>
2795 * factory.C (createInset): InsetExternal::setParams now takes a
2798 2003-07-23 Angus Leeming <leeming@lyx.org>
2800 * factory.C (createInset): changed interface to the external and
2801 graphics mailers' string2params functions.
2803 2003-07-23 Angus Leeming <leeming@lyx.org>
2805 * factory.C (createInset): pass a
2806 Buffer const * parameter to InsetExternalMailer's string2params.
2808 2003-07-22 John Levon <levon@movementarian.org>
2810 * Thesaurus.h: include the right aiksaurus header
2812 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2814 * MenuBackend.C (expand): check menu shortcuts unconditionally
2816 2003-07-21 Angus Leeming <leeming@lyx.org>
2818 * factory.C (createInset): pass a
2819 buffer_path parameter to InsetGraphicsMailer's string2params.
2821 2003-07-21 Angus Leeming <leeming@lyx.org>
2823 * BufferView_pimpl.C (buffer):
2826 * lyxfunc.C (dispatch):
2827 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2828 rather than the grfx shortcut.
2830 2003-07-21 André Pönitz <poenitz@gmx.net>
2832 * rowpainter.C: remove unused variables
2835 * tabular_funcs.h: move to tabular.C
2836 * Makefile.am: adjust
2838 * tabular.[Ch]: basic optical cleaning
2840 * author.h: pass references, not values
2842 2003-07-18 André Pönitz <poenitz@gmx.net>
2850 * text3.C: two-phase drawing for InsetText and InsetTabular
2851 some float -> int changes.
2853 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2855 * lyx_main.C: fix the fix
2857 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2859 * lyx_main.C: fix a crash in batch mode if no files specified
2862 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
2864 * format.[Ch] (papersize): moved to BufferParams
2865 * converter.[Ch] (dvips_options): moved to BufferParams
2866 (dvipdfm_options): moved to anon namespace
2867 * bufferparams.[Ch]: added above functions.
2869 2003-07-17 André Pönitz <poenitz@gmx.net>
2873 * text2.C: don't call inset->update() anymore
2875 * metricsinfo.[Ch]: add convenience constructor
2877 2003-07-16 André Pönitz <poenitz@gmx.net>
2882 * text2.C: replace the LyXCursor::irow_ member with
2883 on-demand computation of the value
2885 2003-07-16 John Levon <levon@movementarian.org>
2887 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2889 2003-07-15 André Pönitz <poenitz@gmx.net>
2892 * text2.C: remove no more needed refresh_row
2894 2003-07-15 André Pönitz <poenitz@gmx.net>
2899 * text3.C: refresh_status tristate -> need_update bool
2901 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2903 * lyxtext.h (init): remove reinit argument (act as if always true)
2904 * text2.C: adjust to that
2906 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2908 * bufferview_funcs.[Ch]: introduce function replaceSelection()
2909 * text3.C: use it to delete selections in some cases
2910 (bugs 441, 673, 702, 954).
2912 2003-07-14 André Pönitz <poenitz@gmx.net>
2914 * rowpainter.[Ch]: reduce interface
2916 2003-07-14 André Pönitz <poenitz@gmx.net>
2918 * BufferView_pimpl.C:
2919 * text2.C: adjust after removing unused BufferView * argument
2921 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
2923 * text2.C (init): fix a crash fired on resize
2925 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
2927 * buffer.[Ch]: added new closing signal
2928 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2929 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2930 BufferView::Pimpl via the closing the signal
2932 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
2934 * buffer.[Ch]: take out all bv-related from buffer
2936 * BufferView_pimpl.[Ch]: connect to new signals
2937 * CutAndPaste.C: removed useless asserts
2938 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2941 * lyxfunc.C: moved view-related funciontality from vc here
2942 * paragraph.C: removed outdated comments
2945 2003-07-10 André Pönitz <poenitz@gmx.net>
2947 * BufferView_pimpl.C:
2951 * text2.C: remove InsetText::InnerCache, clean up consequences
2953 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
2955 * ispell.C: fix two typos in error messages
2957 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
2959 * Extend Note inset to other forms of annotation like Comment
2960 and Greyedout. Right button click gives dialog.
2962 Files modified or added (+):
2966 * ControlNote.[Ch] +
2968 * Makefile.am in frontends/xforms, frontends/xforms/forms,
2969 frontends/controllers
2973 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2975 * aspell.C: add missing namespace lyx::support
2977 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
2979 * BufferView.[Ch] (newFile): Add
2980 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2981 * LaTeX.[Ch] (message): added this signal and use it
2982 * buffer.[Ch] (busy, message): added these signals and use them
2983 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2987 * importer.C: use buffer signals instead of direct bv calling
2988 * lyx_cb.[Ch] (ShowMessage): removed
2991 * paragraph_funcs.C:
2992 * text2.C: use buffer signals
2994 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2996 * introduce namespace lyx::graphics
2998 2003-07-02 André Pönitz <poenitz@gmx.net>
3000 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3002 2003-07-01 André Pönitz <poenitz@gmx.net>
3009 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3010 text*.C to text_func.C
3012 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3014 * introduce namespace lyx::support
3016 2003-06-30 André Pönitz <poenitz@gmx.net>
3021 * text.C: re-enable --with-included-string
3023 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3025 * textcursor.C: add <config.h>
3027 * text.C (getWord): remove const from word_location arg
3029 * lyxvc.C (getLogFile): fix const type order
3031 * lyxtext.h: remove const from word_location arg, add arg name
3033 * lyxlayout.h: currect type on labeltype.
3035 * importer.C: correct \file
3037 * converter.C (intToFormat): use std:: on ret val, ws changes
3039 * bufferlist.h: correct \file
3041 * buffer.C (makeLinuxDocFile): fix const type order
3042 (makeDocBookFile): ditto
3043 (fillWithBibKeys): use std:: on stdlib args.
3045 * CutAndPaste.C: fix authors.
3046 (availableSelections): use std:: on return vector
3048 2003-06-27 André Pönitz <poenitz@gmx.net>
3050 * BufferView_pimpl.C:
3051 * bufferview_funcs.C:
3059 * text3.C: remove LyXCursor::row_ member
3062 * text.C: rename fullRebreak() to partialRebreak() and implement
3063 a fullRebreak() that really bereks fully
3065 * textcursor.h: new struct for cursor-related data
3067 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
3069 * lyx_main.C (LyX): get full path of document loaded on the
3072 2003-06-26 André Pönitz <poenitz@gmx.net>
3074 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3075 remove unused/broken operator>,<,>=.
3077 * text.C: remove only use of broken operator<= in an Assert().
3079 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3081 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3082 moved errorlist_.clear to showErrorList
3084 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3086 * converter.C (scanLog, runLaTeX):
3087 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3088 move the bv->showErrorList call to the callers
3089 * lyxfunc.C: i.e. here...
3091 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3092 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3093 namespace, the second to...
3094 * buffer_funcs (BufferFormat, parseErrors): added
3095 * errorlist.C (ErrorList(TeXErrors const &)): removed
3097 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3099 * ToolbarBackend.C (getIcon): complain when icon cannot be found
3101 2003-06-24 "Garst R. Reese" <reese@isn.net>
3105 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3107 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3109 * version.C.in: change docversion to 1.4
3111 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
3113 * buffer.C: fix a bug just introduced
3115 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3117 * buffer.[Ch]: added the parseError signal and use it, removed
3119 * BufferView.[Ch] (addError): moved to ...
3120 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3121 to the Buffer::parseError signal to catch (guess what) parse errors
3122 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3124 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3126 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3127 ability to create a buffer and to return an existing one from
3128 the list. Moved these functions to...
3129 * buffer_funcs.[Ch]: added
3130 * BufferView.[Ch] (loadLyXFile): added
3131 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3132 job removed from bufferlist::loadLyXFile.
3133 * buffer.C (setReadOnly): make it work without view
3134 (i.e added an if (users))
3136 2003-06-19 Angus Leeming <leeming@lyx.org>
3139 * LyXAction.C (init):
3140 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3141 with LFUN_DIALOG_SHOW <name> <data>.
3143 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3145 * CutAndPaste.C (availableSelections): small compilation fix for
3146 ancient (gcc 2.9x) compilers
3148 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3150 * text3.C (cursorNext): add tmp var
3152 * text2.C (updateCounters): for function calling out of for clause
3153 (replaceSelectionWithString): ditto
3154 (insertStringAsParagraphs): ditto
3155 (getColumnNearX): add tmp var
3156 (setCursorFromCoordinates): add tmp var
3157 (cursorDownParagraph): add tmp var
3158 (deleteEmptyParagraphMechanism): add tmp var
3160 * text.C (insertChar): add tmp var
3162 * rowpainter.C (paintDepthBar): add tmp var
3164 * CutAndPaste.C (availableSelections): potentially check all
3165 paragraphs in a cut to fill the shown strings.
3167 2003-06-18 André Pönitz <poenitz@gmx.net>
3169 * kbmap.[Ch]: use vector<> instead of list<>
3171 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3173 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3174 pasteSelection with index
3176 * text2.C (pasteSelection): modify, call pasteSelection with index
3178 * paragraph.C (asString): reimplement version with no interval to
3179 call the one with interval.
3181 * lyxtext.h: add index arg to pasteSelection
3183 * MenuBackend.C (MenuItem): handle PasteRecent
3184 (Menu::read::Menutags): add md_pasterecent
3186 (expandPasteRecent): new function
3189 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3191 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3193 (availableSelections): new function
3195 2003-06-17 Angus Leeming <leeming@lyx.org>
3197 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3199 2003-06-17 Angus Leeming <leeming@lyx.org>
3202 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3204 * lyxfunc.C (dispatch): invoke it.
3206 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3208 * iterators.C (operator++, ParPosition): reintroduce some
3209 const_cast for the benefit of older compilers.
3211 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3213 * text3.C (dispatch): do not modify clipboard when doing
3214 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3215 LFUN_DELETE_SKIP on a selection selection
3217 2003-06-16 André Pönitz <poenitz@gmx.net>
3223 * tabular.[Ch]: IU of clone() and getLabelList();
3225 2003-06-13 André Pönitz <poenitz@gmx.net>
3227 * tabular.h: compactification
3229 2003-06-12 André Pönitz <poenitz@gmx.net>
3233 * tabular_funcs.h: some renaming plus whitespace
3235 2003-06-12 André Pönitz <poenitz@gmx.net>
3238 * BufferView_pimpl.C:
3244 * toc.C: Return a Paragraph & for ParIterator::operator*()
3246 2003-06-11 John Levon <levon@movementarian.org>
3250 * ToolbarBackend.C: add "Toolbars" section and
3253 2003-06-10 Angus Leeming <leeming@lyx.org>
3256 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3258 * lyxfunc.C (dispatch): invoke it.
3260 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3262 * main.C: protect <ios> with HAVE_IOS
3263 (main): protect sync_with_stdio with HAVE_IOS
3265 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3267 * text2.C (cutSelection): adjust
3268 (pasteSelection): adjust
3270 * messages.C: handle get of empty string
3272 * main.C (main): use sync_with_stdio(false)
3274 * lyxfunc.C (dispatch): adjust
3276 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3277 (WriteAs): remove unneeded BufferView arg.
3279 * bufferparams.h: use correct types on papersize, papersize2 and
3282 * bufferparams.C (readToken): adjust for type
3283 (writeLaTeX): add missing cases to switch.
3285 * bufferlist.C (quitWriteBuffer): adjust
3288 * buffer.C (asciiParagraph): remove some commented code.
3290 * CutAndPaste.C: remove current_view extern variable.
3291 (cutSelection): add BufferParams arg.
3292 (eraseSelection): add BufferParams arg.
3293 (pasteSelection): add Buffer const & arg
3295 2003-06-07 John Levon <levon@movementarian.org>
3298 * paragraph_funcs.C:
3299 * paragraph_pimpl.C:
3303 * paragraph.C: allow InsetERT to freely space lines,
3304 and some consolidation of code
3306 2003-06-06 José Matos <jamatos@fep.up.pt>
3308 * buffer.C (makeDocBookFile): fix bug #821
3310 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3312 * BufferView_pimpl.C (dispatch): use Dialogs::visible
3314 2003-06-04 Angus Leeming <leeming@lyx.org>
3316 * buffer.C: bump format to 224.
3318 2003-06-05 André Pönitz <poenitz@gmx.net>
3320 * text2.C (redoParagraphs): remove two const_cast<>
3322 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3324 * ParagraphList.h: remove last remnants of NO_STD_LIST
3326 2003-06-03 Angus Leeming <leeming@lyx.org>
3328 * factory.C (createInset): small change to the way InsetExternal's params
3331 2003-06-04 André Pönitz <poenitz@gmx.net>
3333 * buffer.h: use Undo directly instead of shared_ptr<Undo>
3335 * paragraph_pimpl.h:
3336 * paragraph.[Ch]: some Inset -> UpdatableInset changes
3338 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3340 * undo_funcs.C: make some simple cases of undo work again
3342 2003-06-03 John Levon <levon@movementarian.org>
3344 * ispell.C: HPUX doesn't have sys/select.h
3347 2003-06-03 John Levon <levon@movementarian.org>
3349 * CutAndPaste.C: update tabular and include inset
3354 * paragraph.C: remove owningBuffer(), don't pass Buffer
3357 * factory.C: insetGraphicsParams changed
3359 2003-06-02 John Levon <levon@movementarian.org>
3365 * text3.C: remove insetparent
3367 2003-06-02 John Levon <levon@movementarian.org>
3370 * buffer.C: fix inset_iterator.end(), move out of line
3373 2003-06-01 John Levon <levon@movementarian.org>
3375 * text3.C: use a proper cut/paste when doing inset
3376 insert (from Jürgen Spitzmüller)
3378 2003-06-01 John Levon <levon@movementarian.org>
3380 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3382 2003-05-30 André Pönitz <poenitz@gmx.net>
3384 * rowpainter.C: unify second drawing phase
3386 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3388 * trans_mgr.C: remove one case of current_view
3390 * text2.C (cursorBottom): delete NO_STD_LIST stuff
3392 * paragraph_funcs.h: remove paragraph.h include
3394 * paragraph.h: delete NO_STD_LIST stuff
3396 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3398 * buffer.h: remove paragraph.h include
3400 * ParagraphList.C: delete file
3402 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3404 * toc.C (getTocList): adjust
3406 * paragraph_pimpl.C (validate): adjust
3408 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3410 * paragraph.C (Paragraph): adjust
3411 (getPositionOfInset): use const_iterator, adjust
3412 (bibitem): use const_iterator, adjust
3413 (setInsetOwner): adjust
3415 * iterators.C (operator++): adjust
3417 * InsetList.[Ch]: Replace selfmade iterator with standard
3418 vector::iterator also introduce const_iterator. Remove getPos,
3419 getInset and setInset from InsetTable. Adjust accordingly.
3421 * BufferView.C (lockInset): adjust
3422 (ChangeInsets): adjust
3424 * tabular.[Ch]: delete commented same_id functions
3426 2003-05-28 John Levon <levon@movementarian.org>
3428 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3430 2003-05-28 André Pönitz <poenitz@gmx.net>
3432 * metricsinfo.[Ch]: remove 'fullredraw' member
3434 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
3436 * lyxtextclass.C (operator): remove caching.
3438 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3442 * text2.C (cursorBottom): adjust
3443 (setCounter): use ParagraphList::find, adjust
3445 * text.C (workWidth): use ParagraphList::find, adjust
3447 * lyxcursor.C (LyXCursor): adjust
3449 * buffer.C (inset_iterator): adjust
3451 * ParagraphList.h: make iterator(value_type) private, make
3452 ParagraphList a friend of iterator.
3454 * ParagraphList.C (find): new function
3456 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3458 2003-05-27 André Pönitz <poenitz@gmx.net>
3460 * dimension.[Ch]: a -> asc, d -> des, w -> wid
3462 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3464 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3466 2003-05-26 John Levon <levon@movementarian.org>
3468 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3470 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3472 * remove same_id from function signatures, adjust.
3474 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3476 * undo_funcs.C (createUndo): use the id functions directly, adjust.
3478 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3480 * paragraph.C (Paragraph): get rid of same_ids parameter
3482 * ParagraphList.C (insert): adjust
3485 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3487 * paragraph_funcs.C (breakParagraph): adjust
3488 (breakParagraphConservative): adjust
3490 * buffer.C (readParagraph): adjust
3492 * ParagraphList.C (insert): take a reference instead of a pointer
3495 * paragraph.[Ch] (id): new function
3497 * bufferlist.C (newFile): adjust
3499 * ParagraphList.C (ParagraphList): adjust
3501 (push_back): take a reference instead of a pointer.
3503 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3505 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3508 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3509 set else use old code.
3511 * ParagraphList.C: remove all NO_NEXT code and only compile this
3512 code of NO_STD_LIST is set.
3514 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3516 * BufferView_pimpl.C:
3526 * graphics/GraphicsConverter.C:
3527 * graphics/PreviewLoader.C: header adjustment
3529 2003-05-23 Angus Leeming <leeming@lyx.org>
3531 * LaTeXFeatures.[Ch] (useBabel): new method.
3532 * bufferparams.C (writeLaTeX): use it.
3534 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3536 * ParagraphList.h (set): remove unused function.
3538 2003-05-23 André Pönitz <poenitz@gmx.net>
3541 * BufferView_pimpl.C:
3545 * undo_funcs.C: setUndo reworked
3547 * iterators.[Ch]: add access to topmost ParagraphList
3549 * lyxtext.[Ch] (workWidth): add a const
3551 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3553 * texrow.[Ch] (increasePos): remove function
3554 * exporter.C (export): removed unused var and outdated comment
3556 2003-05-23 Angus Leeming <leeming@lyx.org>
3558 * latexrunparams.h: rename fragile as moving_arg.
3559 * paragraph.C (simpleTeXOnePar): ditto.
3560 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3562 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3564 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3566 (textUndoOrRedo): comment out a currently unused var.
3568 * paragraph.h (NO_NEXT): enable NO_NEXT
3570 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3572 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3574 * exporter.C (Export): adjust for removeAutoInsets removal.
3576 * buffer.C (runChktex): adjust for removeAutoInsets removal.
3578 * LyXAction.C (init): remove LFUN_REMOVEERRORS
3580 * BufferView.[Ch] (removeAutoInsets): delete function
3582 2003-05-22 Angus Leeming <leeming@lyx.org>
3584 * latexrunparams.h: add a free_spacing variable.
3586 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3587 to pass moving_arg, as the data is stored in runparams.fragile.
3589 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3590 to Inset::latexOptional or to simpleTeXOnePar.
3592 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3593 free_spacing arg to Inset::latexOptional.
3595 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3598 2003-05-22 Angus Leeming <leeming@lyx.org>
3600 * latexrunparams.h: add fragile and use_babel variables.
3602 * bufferparams.[Ch] (writeLaTeX): return use_babel.
3603 * buffer.C (makeLaTeXFile): store this returned value in
3604 runparams.use_babel, thus passing it to the inset::latex methods.
3606 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3607 simpleTeXSpecialChars as it is now stored in runparams.fragile.
3609 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3610 longer has a fragile arg, as it is stored in runparams.fragile.
3612 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3613 moving_arg parameter as the data is stored in runparams.fragile.
3615 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3616 a fragile parameter as the data is stored in runparams.fragile.
3618 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3620 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3622 2003-05-22 Angus Leeming <leeming@lyx.org>
3624 * latexrunparams.h: add a 'bool nice' which defaults to false.
3626 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3627 now encapsulated within runparams.
3629 * bufferlist.C (updateIncludedTeXfiles):
3630 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3632 2003-05-22 Angus Leeming <leeming@lyx.org>
3634 * latexrunparams.h: new file containing struct LatexRunParams.
3635 * Makefile.am: add new file.
3637 * LaTeX.[Ch] (c-tor, run):
3638 * buffer.[Ch] (makeLaTeXFile):
3639 * bufferlist.[Ch] (updateIncludedTeXfiles):
3640 * converter.C (convert, scanLog):
3641 * converter.[Ch] (runLaTeX):
3642 * exporter.C (Export):
3643 * paragraph.[Ch] (simpleTeXOnePar):
3644 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3645 * paragraph_funcs.[Ch] (latexParagraphs):
3646 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3647 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3648 pass around a LatexRunParams parameter.
3650 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3652 * paragraph.[Ch]: remove unused constructor
3654 * ParagraphList.C (erase): new function, taking two iterators
3656 2003-05-22 André Pönitz <poenitz@gmx.net>
3658 * undo_funcs.C: remove duplicated code
3660 * iterator.[Ch]: operator=
3662 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3664 * tabular.C (SetMultiColumn): ws changes
3666 * rowpainter.C (paintFirst): get rid of a ->previous
3668 * lyx_cb.C (getPossibleLabel): parlist simplification
3670 * BufferView.C (ChangeInsets): simplify slightly.
3672 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3674 * LyXAction.C: new lfun space-insert, kill protected-space-insert
3675 * lfuns.h: new LFUN_SPACE
3676 * lyxfunc.C: protected space has a new lfun
3677 * paragraph_funcs.C: read new space insets
3679 * factory.C: handle new space insets
3681 2003-05-22 André Pönitz <poenitz@gmx.net>
3684 * BufferView_pimpl.C:
3687 * undo_funcs.C: return a ParIterator from getParFromID.
3689 * iterators.[Ch]: add two const's
3691 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3693 * toc.C (getTocList): adjust
3695 * iterators.[Ch]: rework for parlist
3697 * buffer.C (par_iterator_begin): adjust
3698 (par_iterator_end): adjust
3700 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3702 * BufferView.C (removeAutoInsets): adjust
3703 (ChangeInsets): adjust
3705 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
3707 * text.C (top_y): fix bug 1110
3709 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
3711 * errorlist.[Ch]: added
3714 * BufferView_pimpl.C:
3715 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3718 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3720 * Makefile.am: ensure that lyx is relinked upon changes to the
3721 various "convenience" libs.
3723 2003-05-20 Angus Leeming <leeming@lyx.org>
3725 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3726 files are compiled in alphabetical order again.
3728 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3730 2003-05-19 Angus Leeming <leeming@lyx.org>
3732 * gettext.[Ch]: remove "char const * _(char const *)".
3734 2003-05-19 André Pönitz <poenitz@gmx.net>
3736 * dimension.[Ch]: promote from mathed/dimension.[Ch]
3745 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3747 2003-05-19 André Pönitz <poenitz@gmx.net>
3751 * lyxtextclass.[Ch]:
3753 * paragraph_funcs.[Ch]:
3755 * text3.C: more insetenv work
3757 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
3759 * ParagraphParameters.C (params2string): small bug fixed
3761 2003-05-16 André Pönitz <poenitz@gmx.net>
3764 * bufferview_funcs.C: patch from Kornel Benko to prevent
3765 crash when _(...) is called twice in a statement
3767 2003-05-16 André Pönitz <poenitz@gmx.net>
3774 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3776 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
3778 * lyx_main.C (init): remove spurious static_cast
3780 2003-05-14 André Pönitz <poenitz@gmx.net>
3782 * BufferView.C: fix format string
3784 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
3786 * BufferView.[Ch] (insertErrors): removed
3787 * BufferView.[Ch] (showErrorList): added
3788 * buffer.C (runChkTeX):
3789 * converter.C (scanLog): call showErrorList instead of inserterrors
3791 2003-05-13 André Pönitz <poenitz@gmx.net>
3793 * BufferView_pimpl.C:
3795 * bufferview_func.C:
3802 * tabular_funcs.h: tostr() from its own header
3804 * ParagraphParameters.C:
3809 * text3.C: STRCONV()
3811 2003-05-12 André Pönitz <poenitz@gmx.net>
3814 * BufferView_pimpl.C:
3818 * ParagraphParameters.C:
3822 * bufferview_funcs.C:
3835 * paragraph_funcs.C:
3839 * text3.C: boost::format -> bformat all over the place
3842 2003-05-09 André Pönitz <poenitz@gmx.net>
3844 * LColor.[Ch]: Pimpl the #include <map> away
3846 2003-05-09 John Levon <levon@movementarian.org>
3848 * bufferlist.C: never remove emergency saves
3850 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3852 * Makefile.am: better lib building
3854 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3856 * texrow.[Ch]: remove dependency on Paragraph and just store a id
3858 * paragraph_pimpl.C (simpleTeXBlanks): adjust
3859 (simpleTeXSpecialChars): adjust
3860 (simpleTeXSpecialChars): adjust
3861 * paragraph.C (simpleTeXOnePar): adjust
3862 * buffer.C (makeLaTeXFile): adjust
3864 * Makefile.am (BOOST_LIBS): allow boost as system lib.
3866 * text2.C (changeDepth): parlist cleanup
3867 (getColumnNearX): ditto
3869 * rowpainter.C (getLabelFont): parlist cleanup
3871 * bufferlist.C (newFile): parlist cleanup
3873 * CutAndPaste.C (eraseSelection): parlist cleanup
3875 * BufferView_pimpl.C (trackChanges): parlist cleanup
3878 * BufferView.C (lockInset): parlist cleanup.
3879 (ChangeInsets): ditto
3881 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3883 * CutAndPaste.h: Update file header.
3885 * CutAndPaste.C: Update file header.
3886 Store the parts cut out of the Document in a limited_stack.
3887 (copySelection): adjust
3888 (pasteSelection): new function, takes the index in the limited stack.
3889 (nrOfParagraphs): adjust
3890 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3891 simplify error inset insertion.
3892 (checkPastePossible): adjust
3894 2003-05-06 John Levon <levon@movementarian.org>
3896 * text2.C: don't cast wrap inset to float
3898 2003-05-05 André Pönitz <poenitz@gmx.net>
3901 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3903 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3904 few naked Paragraph *.
3906 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
3908 * bufferparams.C: Output warning if a document with missing
3909 TeX document class is loaded
3910 * exporter.C: Disable TeX exports if the document class is missing
3913 * lyxtextclasslist.C: Handle new textclass.lst format; new method
3914 isTeXClassAvailable()
3916 2003-05-03 John Levon <levon@movementarian.org>
3919 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3920 explicit cursor show/hide
3922 * BufferView_pimpl.h:
3923 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3924 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3926 * lyxfunc.C: hide cursor before dispatching.
3931 * text3.C: remove explicit cursor hides
3933 2003-05-02 André Pönitz <poenitz@gmx.net>
3935 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3938 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3941 * text2.C: tiny whitespace
3943 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3945 * undo_funcs.C: almost only ws changes.
3947 * ParagraphList.C (splice): just return if pl is empty.
3949 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3951 * ParagraphList.C (splice): new function.
3953 * CutAndPaste.C (pasteSelection): use it
3955 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3957 * CutAndPaste.C (pasteSelection): remove the last next and
3958 previous from this file.
3960 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3962 * CutAndPaste.C (pasteSelection): more clean up, user proper
3963 ParagraphList functions for pasteing.
3965 * ParagraphList.C (insert): new function, three arg insert
3967 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3969 * ParagraphList.C (insert): new function, three arg insert
3971 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3974 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3976 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3978 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3980 * CutAndPaste.C (pasteSelection): remove some unneeded code.
3982 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3984 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3985 (copySelection): clean up a bit.
3986 (pasteSelection): use make_pair
3988 * ParagraphList.C (ParagraphList): implement copy constructor
3989 (operator=): implement, base on copy constructor.
3992 * paragraph.C (erase): return a bool
3994 * paragraph_pimpl.C (erasePos): remove function, move contents...
3995 (erase): ... here. Return a bool.
3996 (erase): call erase instead of erasePos.
3998 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
4000 * ParagraphList.h: define PitPosPair
4001 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4002 ParagraphList, fix a bug on pasting multiple pars
4003 * text2.C: change interface to C&P
4005 2003-04-30 André Pönitz <poenitz@gmx.net>
4007 * undo_func.C: revert part of yesterday's patch 2
4009 2003-04-30 John Levon <levon@movementarian.org>
4011 * LColor.C: s/tabular/table/
4013 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4015 * text3.C (dispatch): do not convert iterator -> pointer
4016 * undo_funcs.C (setCursorParUndo): ditto
4017 * text_funcs.C (transposeChars): ditto
4019 * text2.C (setLayout): ws changes only
4021 * text.C (breakParagraph): do not convert iterator -> pointer
4023 (acceptChange): ditto
4024 (rejectChange): ditto
4029 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4032 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4034 * text3.C (gotoInset): YABG (yet another bad getChar)
4036 2003-04-29 André Pönitz <poenitz@gmx.net>
4038 * paragraph.h: make operator= private unimplemented as long as
4041 * ParagraphList.C: whitespace
4044 * paragraph_pimpl.[Ch]:
4045 * paragraph_funcs.C:
4047 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
4050 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4052 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4054 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4055 * paragraph.[Ch] (erase):
4056 * paragraph_pimpl.[Ch] (erase): change return type and value
4057 * text2.C (cutSelection): some rework
4059 2003-04-28 John Levon <levon@movementarian.org>
4061 * bufferlist.C: changes for unsaved changes dialog
4063 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4065 * bufferlist.C (newFile): set language (messages_) for new
4068 * buffer.C (readFile): ws changes only.
4070 2003-04-28 André Pönitz <poenitz@gmx.net>
4075 * BufferView_pimpl.C:
4076 * BufferView.C: getParFromID related ParagraphList::iterator changes
4078 2003-04-28 André Pönitz <poenitz@gmx.net>
4080 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4083 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4085 * messages.C: remove one more localedir class variable.
4087 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4089 * messages.C (getLocaleDir): singleton generation function
4091 (Messages): add a default constructor.
4093 * main.C (main): do not setup localedir here, do not call
4096 * gettext.C (_): use it.
4097 (gettext_init): delete funciton
4099 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4101 * gettext.C (getLyXMessages): new singleton generating function.
4103 * buffer.C (updateDocLang): adjust
4105 * Makefile.am (messages.o): add target
4106 (main.o): remove target
4108 2003-04-27 John Levon <levon@movementarian.org>
4113 * lyxvc.C: specify cancel button in Alert::prompt
4115 2003-04-26 John Levon <levon@movementarian.org>
4120 * LyXAction.C: add LFUN_INSET_SETTINGS
4122 * lyxfunc.C: don't enable tabular-feature when there's
4123 just any locking inset
4125 2003-04-26 John Levon <levon@movementarian.org>
4127 * bufferlist.C: re-add Cancel to buffer close question
4129 * lyxfunc.C: fix import UI a bit
4131 2003-04-25 John Levon <levon@movementarian.org>
4133 * gettext.C: remove the broken asserts for now
4135 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4137 * messages.C: make case where setlocale cannot comply work better.
4139 * buffer.C (updateDocLang): new function
4140 (changeLanguage): use it
4143 * text2.C (setCounter): use B_ a bit.
4145 * lyxlayout.C (Read): be sure to trim the label strings.
4147 * messages.C (Messages): fix typo in comment
4149 * buffer.C (readFile): set message_ after file is loaded.
4150 (makeDocBookFile): remove double return
4151 (changeLanguage): reset message_ upon language change.
4152 (B_): new func, use this to get translated buffer strings.
4154 * main.C: add myself and Jean Marc as authors.
4156 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4158 * messages.[hC]: pimplify Messages, and three different pimpls to be
4159 used in different circumstances.
4161 * gettext.[Ch]: change for use with new message code.
4163 2003-04-24 André Pönitz <poenitz@gmx.net>
4165 * factory.C: support for eqref
4167 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4169 * messages.[Ch]: add missing char
4171 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4173 * messages.[Ch]: New files
4175 2003-04-18 John Levon <levon@movementarian.org>
4179 * BufferView_pimpl.C:
4183 * text2.C: remove layout-copy/paste (bug 778)
4185 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4187 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4189 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4191 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4192 if they succeed. Act accordingly.
4194 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4196 * text2.C (setCharFont): adjust
4197 (setCounter): adjust
4198 (insertStringAsLines): adjust
4200 * text.C (leftMargin): adjust
4201 (setHeightOfRow): adjust
4203 * rowpainter.C (paintFirst): adjust
4206 * paragraph_funcs.C (depthHook): ParagraphList::iterators
4208 (isFirstInSequence): ditto
4209 (getEndLabel): ditto
4212 * paragraph.C (getParLanguage): comment out some hard stuff.
4214 * buffer.C (insertStringAsLines): take a ParagraphList as arg
4216 (simpleDocBookOnePar): ditto
4217 (makeDocBookFile): use ParagraphList::iterator
4219 * CutAndPaste.C (pasteSelection): adjust
4221 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4223 * text2.C (getFont): adjust
4224 (getLayoutFont): adjust
4225 (getLabelFont): adjust
4227 * paragraph_funcs.C (TeXOnePar): adjust
4229 * buffer.C (simpleLinuxDocOnePar): adjust
4230 (simpleDocBookOnePar): adjust
4232 * CutAndPaste.C (pasteSelection): adjust
4234 * BufferView.C (getEncoding): adjust
4236 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4238 2003-04-16 John Levon <levon@movementarian.org>
4240 * lyxfind.C: use parlist stuff for search/changes
4242 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4244 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4246 * text2.C (deleteEmptyParagraphMechanism): adjust
4248 * text2.[Ch] (ownerParagraph): delete func (both of them
4250 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4252 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4254 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4256 * ParagraphList.C: prepare for NO_NEXT
4258 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4260 * text2.C (getFont): adjust
4261 (getLayoutFont): adjust
4262 (getLabelFont): adjust
4264 * paragraph.C (getFont): adjust
4265 (getLabelFont): adjust
4266 (getLayoutFont): adjust
4268 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4270 2003-04-15 John Levon <levon@movementarian.org>
4274 * lyx_main.C: handle Include in .ui files
4276 2003-04-15 John Levon <levon@movementarian.org>
4278 * MenuBackend.C: make the doc files length shorter
4281 * ToolbarBackend.C: handle toolbar placement flags,
4284 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4286 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4289 * paragraph_funcs.C (TeXOnePar): adjust
4291 * paragraph.C (getLabelFont): add outerfont arg, adjust
4292 (getLayoutFont): ditto
4293 (simpleTeXOnePar): adjust
4295 * paragraph_pimpl.C (realizeFont): delete func
4297 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
4299 * text2.C (beforeFullRowInset): added a bad getchar check, removed
4300 row argument, constify cur argument.
4302 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4304 * text2.C (getFont): adjust
4305 (getLayoutFont): adjust
4306 (getLabelFont): adjust
4308 * paragraph_funcs.C (TeXOnePar): adjust
4309 (outerFont): new func...
4310 (realizeFont): ...moved out from here, changed this to facilitate
4313 * paragraph.C (getFont): take outerfont as arg, adjust
4314 (simpleTeXOnePar): add outerfont arg, adjust
4316 * buffer.C (simpleLinuxDocOnePar): adjust
4317 (simpleDocBookOnePar): adjust
4319 * CutAndPaste.C (pasteSelection): adjust
4321 * BufferView.C (getEncoding): adjust
4323 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4325 * text2.C (setCharFont): adjust
4326 (setCounter): adjust
4328 * text.C (leftMargin): adjust
4329 (setHeightOfRow): adjust
4331 * rowpainter.C (paintFirst): adjust
4334 * paragraph_pimpl.C (realizeFont): adjust
4336 * paragraph.C (isFirstInSequence): move from here...
4337 * paragraph_funcs.C (isFirstInSequence): ...to here
4339 * paragraph.C (outerHook): move from here...
4340 * paragraph_funcs.C (outerHook): ...to here
4342 * paragraph.C (depthHook): move from here...
4343 * paragraph_funcs.C (depthHook): ...to here
4345 * paragraph.C (getEndLabel): move from here...
4346 * paragraph_funcs.C (getEndLabel): ...to here
4348 * text2.C (realizeFont): move from here...
4349 * paragraph_funcs.C (realizeFont): ...to here
4351 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4353 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4355 2003-04-14 Angus Leeming <leeming@lyx.org>
4357 * LColor.[Ch]: scrap LColor mathcursor.
4359 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4361 * lyxlex.[Ch] (text): delete function
4362 * trans.C (Load): adjust
4363 * paragraph_funcs.C (readParToken): adjust
4365 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4367 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4368 vector<char> instead of a char[].
4370 * lyxlex_pimpl.C (getString): adjust
4372 (lex): use getString
4376 * lyxlex.C (text): use pimpl_->getString()
4380 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4382 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4383 (makeFontEntriesLayoutSpecific): temp var for par.size()
4384 (setLayout): temp var for ownerParagraphs().end()
4385 (fullRebreak): temp var for rows().end()
4386 (selectionAsString): temp var for boost::next(startpit), realize
4387 that the while really is a regular for loop.
4388 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4389 setCursor in one place.
4390 (setParagraph): temp vr for ownerParagraphs().end()
4391 (updateCounters): make the while loop a for loop
4392 (cutSelection): temp var for ownerParagraphs().end()
4393 (updateInset): make the do {} while() a regular for loop
4394 (getCursorX): use temp vars
4395 (setCurrentFont): use temp vars
4396 (getColumnNearX): use temp vars
4398 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4400 * text.C (transformChar): use temp var for getChar
4401 (computeBidiTables): use temp var for row->par()
4402 (fill): move temp vars for row->par() and pit->layout() earlier in
4404 (labelFill): use temp var for row->par()
4405 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4406 asc and desc, realize that pit never changes and that firstpit is
4407 just a duplicate and not needed. Exchange rit->par() with pit in a
4409 (breakAgain): use a temp var for boost::next(rit)
4410 (breakAgainOneRow): ditto
4411 (breakParagraph): use a temp var for rows().begin()
4412 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4413 (cursorRightOneWord): use temp var for cursor.par() and
4414 cursor.pos(), remove usage of tmpcursor.
4415 (cursorLeftOneWord): use temp var for cursor.par() and
4416 cursor.pos() only set cur at end of function.
4418 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4420 * text.C, text2.C: exchange all usage of Paragraph::next with
4421 boost::next(ParagraphList::iterator)
4423 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4425 * text2.C (cursorTop): simplify implementation
4426 (cursorBottom): ditto
4427 (setParagraph): use ParagraphList::iterator
4428 (setCurrentFont): adjust
4429 (getColumnNearX): adjust
4430 (cursorRight): adjust
4431 (cursorLeft): remove usage of Paragraph::previous
4432 (cursorUpParagraph): ditto
4433 (deleteEmptyParagraphMechanism): slight cleanup
4435 * text.C (isBoundary): take a Paragraph const & instead of a
4437 (addressBreakPoint): ditto
4438 (leftMargin): remove usage of Paragraph::previous.
4439 (setHeightOfRow): ditto
4440 (cursorLeftOneWord): ditto
4441 (selectNextWordToSpellcheck): ditto
4444 (breakParagraph): remove one usage of Paragraph::next
4445 (redoParagraph): ditto
4446 (acceptChange): ditto
4447 (insertChar): adjust
4448 (rowBreakPoint): adjust
4450 * bufferview_funcs.C (toggleAndShow): adjust
4452 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
4454 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4455 methods to access it.
4457 * text.C: Added updateRowPositions to compute all row positions.
4458 Make top_y and getRowNearY() to use the cached y position
4460 2003-04-11 John Levon <levon@movementarian.org>
4462 * text.C (rowBreakPoint): reintroduce the labelEnd
4463 checks, code copied from the row fill stuff. Deep voodoo.
4465 * text.C (fill): add a comment and debugging for the
4468 2003-04-11 John Levon <levon@movementarian.org>
4470 * text.C: make sure fullrow insets get wrapped to the next line,
4471 even when they're in a manual label
4473 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4475 * text2.C (insertParagraph): make it take ParagraphList::iterator
4477 (setLayout): make it return ParagraphList::iterator
4478 (redoParagraphs): ditto
4480 (checkParagraph): ditto
4482 * text.C (getRow): make getrow take ParagraphList::iterator as arg
4484 * text2.C: adjust several funcs.
4485 (realizeFont): take a ParagraphList::iterator as arg.
4486 (getLayoutFont): ditto
4487 (getLabelFont): ditto
4488 (setCharFont): ditto
4490 * text.C: adjust several funcs.
4492 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4494 * text.C (selectNextWordToSpellcheck): don't accidentally
4497 2003-04-10 John Levon <levon@movementarian.org>
4499 * ToolbarBackend.C (getIcon): special handling for
4502 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4504 * text2.C (cursorRight): a getChar assert fixed
4506 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4508 * text2.C (getFont): change to take a ParagraphList::iterator
4509 instead of Paragraph*
4510 Adjust several functions.
4512 * text.C (transformChar): change to take a ParagraphList::iterator
4513 instead of Paragraph*
4514 (singleWidth): ditto
4515 Adjust several functions.
4517 * rowpainter.C: adjust several functions
4518 * rowpainter.h:store a ParagraphList::iterator and not a
4522 2003-04-09 John Levon <levon@movementarian.org>
4527 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4528 and the "help" bits as well
4530 2003-04-09 John Levon <levon@movementarian.org>
4533 * ToolbarBackend.C: allow multiple toolbars
4535 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4537 * undo_funcs.C (setCursorParUndo): adjust
4539 * text_funcs.C (transposeChars): adjust
4541 * text3.C (gotoNextInset): adjust
4544 * text2.C (setLayout): adjust
4545 (changeDepth): adjust
4547 (redoParagraphs): adjust
4548 (selectionAsString): adjust
4549 (setParagraph): adjust
4550 (insertInset): adjust
4551 (cutSelection): adjust
4552 (copySelection): adjust
4553 (pasteSelection): adjust
4554 (insertStringAsLines): adjust
4555 (updateInset): adjust
4556 (setCursor): change to take a ParagraphList::iterator parameter
4557 (setCursorIntern): change to take a ParagraphList::iterator parameter
4558 (setCurrentFont): adjust
4559 (cursorLeft): adjust
4560 (cursorRight): adjust
4561 (deleteEmptyParagraphMechanism): adjust
4563 * text.C (breakParagraph): adjust
4564 (insertChar): adjust
4565 (acceptChange): adjust
4566 (rejectChange): adjust
4567 (selectNextWordToSpellcheck): adjust
4568 (changeCase): adjust
4572 * lyxfind.C (SearchForward): adjust
4573 (SearchBackward): adjust
4574 (nextChange): adjust
4576 * lyxcursor.C (par): adjust
4578 * lyxcursor.h: store a ParagraphList::iterator instead of a
4581 * lyx_cb.C (getPossibleLabel): adjust
4583 * bufferview_funcs.C (toggleAndShow): adjust
4585 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4588 * BufferView.C (removeAutoInsets): adjust
4589 (lockedInsetStoreUndo): adjust
4591 2003-04-09 John Levon <levon@movementarian.org>
4593 * ToolbarBackend.C: try icon without argument
4594 if with argument fails
4596 2003-04-08 John Levon <levon@movementarian.org>
4599 * ToolbarBackend.C: add getIcon(), handle tooltip,
4600 and change from "Icon" to "Item".
4602 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4604 * BufferView.C (lockInset): another bad getchar crunched
4606 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4608 * text2.C (changeDepth): do not setUndo on test_only (make undo work
4611 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
4613 * lyxfind.C (searchForward, searchBackwards): bug 782
4615 2003-04-07 John Levon <levon@movementarian.org>
4617 * paragraph.C: remove dead comment
4619 * text.C: remove troublesome depth-fiddling code
4620 in leftMargin() and rightMargin() (bug 1017)
4622 * text.C: fix breaking of rows in nested lists
4625 * text2.C (updateCounters): fix up depth values
4628 2003-04-07 John Levon <levon@movementarian.org>
4630 * BufferView_pimpl.C: clear message when doc finishes resizing,
4631 and after a mouse event
4633 * lyxfunc.C: clear message after exiting inset
4635 2003-04-07 John Levon <levon@movementarian.org>
4637 * bufferview_funcs.C: show math status not outside
4638 status in the statusbar
4640 2003-04-07 John Levon <levon@movementarian.org>
4642 * lyxfunc.C: note status changed after a depth change
4644 2003-04-04 Angus Leeming <leeming@lyx.org>
4646 * LaTeX.h: move AuxInfo operator==, != out of line.
4647 Remove LaTeX virtual destructor; nothing derives from it.
4648 Move operator()() out of public area and rename it startscript().
4649 Change protected for private.
4651 2003-04-04 Angus Leeming <leeming@lyx.org>
4654 * text2.C: remove unneeded #includes.
4656 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4658 * text2.C (dEPM): fix the heigth of the next row
4660 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4662 * text.C: squashed an invalid getChar requester + some ws changes
4664 2003-04-03 John Levon <levon@movementarian.org>
4666 * bufferview_funcs.h:
4667 * bufferview_funcs.C:
4670 * text2.C: make getStatus work for the env depth lfuns
4672 2003-04-03 John Levon <levon@movementarian.org>
4674 * bufferview_funcs.h:
4675 * bufferview_funcs.C:
4678 * text2.C: parlistize decDepth(), by merging it with incDepth()
4680 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4682 * lyxrow.h: store a ParagraphList::iterator instead of a
4683 Paragraph* and adjust other class functions to suit.
4685 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4688 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4690 * text2.C (setCursor): do not anchor to cursor row for the time being
4692 2003-04-02 John Levon <levon@movementarian.org>
4699 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4701 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4703 * paragraph.h: make ParagraphList and ParagraphList::iterator
4704 friends of Paragraph.
4706 * buffer.C (makeLinuxDocFile): move towards ParagraphList
4708 * ParagraphList.C: Use the private next_ and previous_ from
4711 2003-04-01 John Levon <levon@movementarian.org>
4715 * Makefile.am: rename, remove defaults gunk
4718 * MenuBackend.C: remove defaults gunk
4721 * Languages.C: remove defaults gunk
4724 * lyx_main.C: error out if files couldn't be found.
4726 2003-04-02 John Levon <levon@movementarian.org>
4728 * text2.C: make incDepth() use parlist
4730 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4732 * undo_funcs.C (firstUndoParagraph): adjust
4734 * text3.C (gotoInset): adjust
4735 (dispatch): adjust, and rewrite loop.
4737 * text2.C (init): adjust, and rewrite loop.
4738 (redoParagraphs): adjust
4739 (updateInset): adjust, and rewrite loop.
4740 (deleteEmptyParagraphMechanism): adjust
4742 * tabular.C (LyXTabular): adjust
4743 (SetMultiColumn): adjust
4746 * lyxtext.[Ch] (ownerParagraph): delete function
4747 (ownerParagraphs): new function returns a ParagraphList.
4749 * BufferView.C (removeAutoInsets): adjust
4750 (insertErrors): adjust
4751 (setCursorFromRow): adjust
4753 2003-04-01 Angus Leeming <leeming@lyx.org>
4755 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4758 2003-04-02 John Levon <levon@movementarian.org>
4764 * text_funcs.C: make transposeChars a free function
4766 * lyxrow_funcs.C: remove wrong comment
4768 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4771 * rowpainter.C: adjust
4776 * lyxrow_funcs. [Ch]: new files
4778 * lyxrow.[Ch]: remove next and previous pointers
4779 (next,previous): remove accessor functions
4780 (isParEnd): move to lyxrow_funcs
4781 (lastPos): move to lyxrow_funcs
4782 (nextRowIsAllInset): move to lyxrow_funcs
4783 (lastPrintablePos): move to lyxrow_funcs
4784 (numberOfSeparators): move to lyxrow_funcs
4785 (numberOfHfills): move to lyxrow_funcs
4786 (numberOfLabelHfills): move to lyxrow_funcs
4787 (hfillExpansion): move to lyxrow_funcs
4791 * bufferview_funcs.C (toggleAndShow): adjust
4793 * RowList.h: Remove class RowList from file leave just a
4796 * RowList.C: delete file
4798 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4801 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4803 * text3.C (cursorPrevious): adjust
4804 (cursorNext): adjust
4807 * text2.C (redoHeightOfParagraph): adjust
4808 (redoDrawingOfParagraph): adjust
4811 * text.C (breakParagraph): adjust
4812 (insertChar): adjust
4815 * rowpainter.C (RowPainter): adjust
4816 (leftMargin): simplify and adjust
4817 (most rowpainter functions): adjust.
4819 * rowpainter.h: store the row as RowList::iterator not as Row*
4821 * lyxcursor.C (row): taka RowList::iterator as arg
4824 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4827 2003-04-01 Angus Leeming <leeming@lyx.org>
4829 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4830 stuff like bool Bool.
4832 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4834 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4837 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4839 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4842 * lyxtext.h (rows): drop one version and leve a const variant that
4843 returns a RowList::iterator.
4845 2003-03-31 Angus Leeming <leeming@lyx.org>
4847 * text.C (fill): ensure that the signature is the same as that in the
4850 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4852 * text2.C (redoParagraphs): adjust
4853 (updateCounters): adjust
4854 (checkParagraph): adjust
4855 (getColumnNearX): adjust and reformat a bit.
4857 * text.C (top_y): adjust
4859 (leftMargin): adjust
4860 (prepareToPrint): adjust
4862 (getRowNearY): adjust
4864 * lyxtext.h: make rowlist_ mutable.
4866 * RowList.h: add const_iterator
4867 * RowList.C: adjust for RowList::const_iterator.
4869 * text2.C (getCursorX): make it take a RowList::iterator as arg,
4872 2003-03-31 John Levon <levon@movementarian.org>
4875 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4877 * lyx_main.C: set default fonts from using lyx_gui funcs
4879 * exporter.C: pdf_mode moved from lyxrc
4882 * lyxfunc.C: changes from above
4884 2003-03-31 John Levon <levon@movementarian.org>
4886 * lyx_main.C: fix to the last fix
4888 2003-03-31 John Levon <levon@movementarian.org>
4890 * bufferlist.C: "Load original" -> "Load Original"
4896 * format.C: more Alert cleanups
4898 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4900 * text2.C (removeParagraph): make it take a RowList::iterator as
4902 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4903 (postRowPaint): make it take a RowList::iterator as arg, adjust.
4905 * text.C (anchor_row): make it take a RowList::iterator as arg,
4907 (computeBidiTables): make it take a const reference to Row instead
4908 of Row pointer, adjust.
4909 (leftMargin): make it take a RowList::iterator as arg, adjust.
4910 (rowBreakPoint): adjust
4911 (breakAgainOneRow): make it take a RowList::iterator as arg,
4913 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4915 * bufferview_funcs.C (toggleAndShow): adjust
4917 2003-03-30 John Levon <levon@movementarian.org>
4921 * boost-inst.C: moved to support
4923 * several files: changes as a result
4925 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4927 * text2.C (LyXText): adjust.
4929 (removeRow): make it take a RowList::iterator as arg, adjust.
4930 (fullRebreak): adjust
4931 (deleteEmptyParagraphMechanism): adjust
4932 (clearPaint): adjust
4935 * text.C (top_y): adjust
4936 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4937 (breakAgain): make it take a RowList::iterator as arg, adjust.
4938 (breakParagraph): adjust
4939 (insertChar): adjust
4942 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4943 need_break_row, and refresh_row.
4945 * text3.C (dispatch): adjust
4947 * text2.C (checkParagraph): adjust
4949 (setCursorFromCoordinates): adjust
4951 * text.C (top_y): adjust
4953 (getRow): make it return a RowList::iterator, adjust
4954 (getRowNearY): make it return a RowList::iterator, adjust
4956 * text2.C (init): adjust
4957 (insertRow): remove function
4958 (insertParagraph): adjust
4959 (redoParagraphs): adjust
4960 (fullRebreak): adjust
4961 (updateCounters): adjust
4963 * text.C (top_y): rewrite to use RowList iterators.
4965 (setHeightOfRow): rewrite to sue RowList iterators.
4966 (appendParagraph): adjust
4967 (breakAgain): adjust
4968 (breakAgainOneRow): adjust
4969 (breakParagraph): adjust
4971 (getRowNearY): adjust, and remove commented code.
4973 * lyxtext.h (firstRow): delete function
4974 (lastRow): delete function
4975 (rows): new function (const and non-const versions.)
4976 (insertRow): delete function
4978 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4980 2003-03-29 John Levon <levon@movementarian.org>
4982 * BufferView_pimpl.C: always update scrollbar top
4983 because pasting text when we're anchored could mean we
4984 miss an update altogether
4986 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4988 * text2.C (init): use rowlist_.end() and not 0.
4989 (insertRow): change to take a RowList::iterator as arg, adjust
4991 (insertParagraph): change to take a RowList::iterator as arg,
4993 (redoParagraphs): remove some debug msgs.
4995 * text.C (appendParagraph): change to take a RowList::iterator
4996 arg, adjust for this.
4997 (breakAgain): add an assert
4998 (breakAgainOneRow): ditto
5000 2003-03-29 John Levon <levon@movementarian.org>
5002 * text2.C: do not clear selection after inc/decDepth
5005 2003-03-29 John Levon <levon@movementarian.org>
5008 * buffer.C: fix broken strerrors according to Lars
5010 2003-03-29 John Levon <levon@movementarian.org>
5012 * converters.C: more Alert cleanups
5014 2003-03-29 John Levon <levon@movementarian.org>
5016 * bufferview_funcs.C: remove pointless Alert
5018 * buffer.C: fix confusing error message when
5019 a template is chmoded 000
5021 2003-03-29 John Levon <levon@movementarian.org>
5025 * BufferView_pimpl.C: Alert fixes
5029 * tabular-old.C: remove unused table compat reading
5031 2003-03-29 John Levon <levon@movementarian.org>
5036 * lyx_cb.C: more Alert cleanups
5038 * lyxfunc.C: don't allow chktex if not latex document
5040 2003-03-29 John Levon <levon@movementarian.org>
5044 * buffer.C: warnings pushed down from support/,
5047 2003-03-29 John Levon <levon@movementarian.org>
5049 * lyxfunc.C: safety check for C-r (revert)
5051 2003-03-29 John Levon <levon@movementarian.org>
5054 * bufferlist.C: several UI fixes using Alert::prompt.
5055 Fix the pointless looping quit code. Fix stupid revert
5060 * lyx_cb.C: use Alert::prompt
5062 * lyx_main.C: remove a silly question
5064 * lyxfunc.C: remove a couple of silly questions,
5067 2003-03-28 John Levon <levon@movementarian.org>
5069 * text2.C: fix bug 974 (End on empty par)
5071 2003-03-28 John Levon <levon@movementarian.org>
5073 * BufferView_pimpl.C:
5075 * lfuns.h: remove do-nothing math greek lfuns
5077 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5079 * lyxgluelength.h (isValidGlueLength): add default arg on
5080 parameter 2. Remove default arg from friend in class.
5082 * lyxlength.h (isValidLength): add default arg on parameter 2.
5083 Remove default arg from friend in class.
5085 * text2.C (LyXText): adjust, initialize refresh_row.
5089 (insertParagraph): adjst
5090 (redoParagraphs): adjust
5091 (fullRebreak): adjust
5092 (updateCounters): adjust
5093 (deleteEmptyParagraphMechanism): first attempt at fixing a
5096 * text.C (top_y): adjust
5097 (setHeightOfRow): adjust
5099 (getRowNearY): adjust
5101 * lyxtext.h: include RowList.h
5102 (~LyXText): not needed anymore, deleted.
5103 (firstRow): modify for RowList
5104 (lastRow): new function
5105 Delete firstrow and lastrow class variables, add a Rowlist
5106 rowlist_ class variable.
5108 * lyxrow.C (lastPos): use empty() and not !size() to check if a
5111 * RowList.C (insert): fix case where it == begin().
5113 2003-03-26 Angus Leeming <leeming@lyx.org>
5115 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5116 the thesaurus dialog.
5118 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5120 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5122 * RowList.[Ch]: new files
5124 * ParagraphList.C (erase): handle the case where it == begin
5127 2003-03-25 John Levon <levon@movementarian.org>
5131 * aspell.C: add new aspell support
5134 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5137 2003-03-25 Angus Leeming <leeming@lyx.org>
5140 * LyXAction.C (init): new LFUN_INSET_INSERT.
5142 * BufferView_pimpl.C (dispatch): split out part of the
5143 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5145 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5148 2003-03-25 Angus Leeming <leeming@lyx.org>
5150 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5152 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5155 * text3.C: remove useless row->height(0)
5157 2003-03-25 John Levon <levon@movementarian.org>
5161 * text3.C: rename the refreshing stuff to better names
5163 2003-03-24 John Levon <levon@movementarian.org>
5165 * BufferView_pimpl.h:
5166 * BufferView_pimpl.C: update layout choice on a mouse
5169 2003-03-23 John Levon <levon@movementarian.org>
5171 * Makefile.am: fix commandtags.h reference
5173 2003-03-22 John Levon <levon@movementarian.org>
5175 * BufferView_pimpl.C:
5180 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5182 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5185 * text.C: take the rtl methods out of line
5187 2003-03-21 André Pönitz <poenitz@gmx.net>
5189 * metricsinfo.[Ch]: new files containing structures to be passed around
5190 during the two-phase-drawing...
5192 2003-03-21 André Pönitz <poenitz@gmx.net>
5194 * lyxtextclass.C: read 'environment' tag.
5196 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5198 * text2.C (removeRow): fix bug 964
5200 2003-03-20 John Levon <levon@movementarian.org>
5204 * text2.C: paint cleanups. Inset::update() dropped font
5207 2003-03-19 John Levon <levon@movementarian.org>
5209 * lyxfunc.C: only fitcursor/markDirty if available()
5211 2003-03-19 John Levon <levon@movementarian.org>
5213 * commandtags.h: rename to ...
5215 * lfuns.h: ... this, and renumber / cleanup
5217 2003-03-19 John Levon <levon@movementarian.org>
5219 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5220 fit the cursor after an lfun
5224 * BufferView_pimpl.h:
5225 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5227 * LyXAction.C: layout-character should have ReadOnly
5229 * ParagraphParameters.C:
5231 * bufferview_funcs.C:
5238 * undo_funcs.C: changes from above
5240 2003-03-18 John Levon <levon@movementarian.org>
5242 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5243 remove it from update()
5245 * lyxfunc.C: update layout choice after an lfun
5247 * text3.C: remove extra updateLayoutChoice()s
5249 2003-03-18 John Levon <levon@movementarian.org>
5251 * text.C: top_y change means full repaint, fix
5252 a drawing bug with cursor movement
5254 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5258 * text2.C: anchor row on setCursor
5260 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5262 * lyxtext.h: remove almost all mutable keywords
5265 * text3.C: remove const keywords accordingly
5267 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5269 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5271 (TeXEnvironment): ditto
5274 2003-03-17 John Levon <levon@movementarian.org>
5276 * text.C (rowBreakPoint): remove attempt to fix displayed
5277 math insets inside a manual label
5279 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5281 * lyxtext.h: remove BufferView* as first arg from almost all class
5283 * other files: adjust.
5285 2003-03-17 John Levon <levon@movementarian.org>
5289 * text2.C: more paint cleanups
5291 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5294 * rowpainter.C: remove "smart" background painting code
5296 2003-03-16 John Levon <levon@movementarian.org>
5301 * text3.C: add helper functions for setting refresh_row/y
5303 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
5305 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5306 newline inset which *can* get inserted in the pass_thru layouts.
5307 This is primarily for literate documents.
5309 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
5311 * buffer.C: increment LYX_FORMAT to 223
5313 2003-03-14 André Pönitz <poenitz@gmx.net>
5315 * textclass.h: prepare for environment handling, ws changes
5316 * lyxlayout.C: read latexheader and latexfooter tags
5318 2003-03-14 John Levon <levon@movementarian.org>
5320 * text2.C: rewrite ::status() a bit
5322 2003-03-13 John Levon <levon@movementarian.org>
5324 * lyxtext.h: add some docs
5326 2003-03-13 John Levon <levon@movementarian.org>
5331 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5333 2003-03-13 John Levon <levon@movementarian.org>
5335 * text3.C: fix appendix redrawing
5337 2003-03-13 John Levon <levon@movementarian.org>
5339 * text.C (setHeightOfRow):
5341 * rowpainter.C: make appendix mark have the text
5342 "Appendix" so the user knows what it is
5345 * LColor.C: s/appendixline/appendix/ from above
5347 2003-03-13 John Levon <levon@movementarian.org>
5349 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5351 * text.C: fix a getChar(pos) bug properly
5353 2003-03-13 Angus Leeming <leeming@lyx.org>
5356 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5357 Probably only temporary. Let's see how things pan out.
5359 * BufferView.C (unlockInset):
5360 * BufferView_pimpl.C (fitCursor):
5361 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5363 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5364 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5366 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5367 new functions that convert ParagraphParameters to and from a string.
5369 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5370 BufferView::Pimpl's dispatch.
5371 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5373 2003-03-13 André Pönitz <poenitz@gmx.net>
5377 * factory.C: make it aware of InsetEnv
5379 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5381 * text2.C (setCursor): never ask for one past last
5382 (setCursor): add some debugging messages.
5384 * text.C (singleWidth): never ask for one past last
5385 (singleWidth): ditto
5387 (rightMargin): ditto
5388 (rowBreakPoint): ditto
5389 (setHeightOfRow): ditto
5390 (prepareToPrint): ditto
5392 * rowpainter.C (paintBackground): never ask for one past last
5393 (paintText): never ask for one past last
5395 * paragraph_pimpl.C (getChar): make the assert stricter, never
5396 allow the one past last pos to be taken
5398 * paragraph.C (getChar): ws changes only
5400 * lyxrow.C (nextRowIsAllInset): never ask for one past last
5401 (numberOfSeparators): ditto
5402 (numberOfHfills): ditto
5404 2003-03-12 John Levon <levon@movementarian.org>
5410 * paragraph_funcs.C: fix per-buffer authorlists
5412 2003-03-12 John Levon <levon@movementarian.org>
5414 * text.C: fix newline in right address
5416 2003-03-12 Angus Leeming <leeming@lyx.org>
5418 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5419 duplicate those in LyXFunc::dispatch.
5423 * ToolbarDefaults.C:
5424 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5425 Add LFUN_FONTFREE_UPDATE.
5427 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5428 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5430 * bufferview_func.[Ch]: several new functions to facilliate
5431 transfer of data to and from the character dialog.
5433 2003-03-12 John Levon <levon@movementarian.org>
5438 * paragraph_funcs.C:
5439 * paragraph_pimpl.C:
5443 * text3.C: remove META_NEWLINE in favour of an inset
5446 * rowpainter.C: remove paintNewline (done by inset)
5448 2003-03-12 John Levon <levon@movementarian.org>
5450 * paragraph_pimpl.C: complain about bad getChar()s
5451 for a while at least
5453 2003-03-12 John Levon <levon@movementarian.org>
5456 * buffer.C: move paragraph read into a separate function,
5457 a little renaming to reflect that.
5460 * bufferparams.C: remove the author_ids map, not necessary now
5463 * factory.C: moved Buffer::readInset to here
5465 * paragraph_funcs.h:
5466 * paragraph_funcs.C: readParagraph free function moved from
5469 * tabular.C: name change
5471 2003-03-12 John Levon <levon@movementarian.org>
5474 * ParagraphParameters.C: move par params input to
5477 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5478 behave like a normal read from the stream wrt reading
5479 a line vs. a \\token
5481 2003-03-12 John Levon <levon@movementarian.org>
5484 * ParagraphParameters.h:
5485 * ParagraphParameters.C: move output code to a
5488 2003-03-12 John Levon <levon@movementarian.org>
5490 * BufferView.C (insertLyXFile):
5493 * tabular.C: use a parlist iterator for creating the
5496 2003-03-12 John Levon <levon@movementarian.org>
5498 * buffer.C: make current_change static local not
5501 2003-03-12 John Levon <levon@movementarian.org>
5503 * buffer.C: fix insertStringAsLines for change tracking
5505 2003-03-12 John Levon <levon@movementarian.org>
5512 * bufferparams.C: move author list into params. Rename some
5513 functions. Move the header reading into a separate token
5514 loop. Move the header token reading into BufferParams.
5516 2003-03-12 John Levon <levon@movementarian.org>
5518 * changes.C: put debug inside lyxerr.debugging() checks
5520 2003-03-11 André Pönitz <poenitz@gmx.net>
5522 * factory.C: make it aware of InsetHFill
5524 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5526 * buffer.C (latexParagraphs): move function from here...
5527 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5530 2003-03-10 Angus Leeming <leeming@lyx.org>
5532 * LyXAction.C (init): fix bug in poplating array with multiple entries
5533 with the same LFUN (spotted by JMarc).
5535 2003-03-10 John Levon <levon@movementarian.org>
5538 * text2.C: move getColumnNearX() near its
5541 2003-03-10 John Levon <levon@movementarian.org>
5543 * text.C: fix break before a minipage
5545 2003-03-10 John Levon <levon@movementarian.org>
5547 * text.C: fix the last commit
5549 2003-03-09 John Levon <levon@movementarian.org>
5553 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5554 bug 365 (don't break before insets unless needed). Don't
5555 return a value > last under any circumstances.
5557 2003-03-09 Angus Leeming <leeming@lyx.org>
5559 * BufferView_pimpl.C (trackChanges, dispatch): call
5560 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5562 2003-03-09 Angus Leeming <leeming@lyx.org>
5564 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5565 than Dialogs::showAboutlyx().
5567 2003-03-09 Angus Leeming <leeming@lyx.org>
5569 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5570 than Dialogs::showTabularCreate().
5572 2003-03-09 John Levon <levon@movementarian.org>
5576 * text2.C: 3rd arg to nextBreakPoint was always the same.
5579 2003-03-08 John Levon <levon@movementarian.org>
5586 * text2.C: Remove the "main" bit from the "main body"
5589 2003-03-08 John Levon <levon@movementarian.org>
5591 * text.C (leftMargin): The left margin of an empty
5592 manual label paragraph should not include the label width
5595 * text.C (prepareToPrint): don't attempt to measure hfills
5596 for empty manual label paragraphs - the answer should be 0
5598 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5600 * CutAndPaste.C: remove commented code and reindent.
5602 2003-03-08 John Levon <levon@movementarian.org>
5605 * lyxfunc.C: move reloadBuffer()
5608 * BufferView.C: to here
5610 * lyxvc.C: add comment
5613 * vc-backend.C: call bv->reload() to avoid
5614 getStatus() check on MENURELOAD
5616 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
5618 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5619 to an old format .dep file.
5621 2003-03-07 Angus Leeming <leeming@lyx.org>
5623 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5624 when the LFUN_MOUSE_RELEASE should have been handled by
5625 inset->localDispatch.
5627 2003-03-07 Angus Leeming <leeming@lyx.org>
5629 * BufferView_pimpl.C (dispatch):
5630 * LyXAction.C (init):
5631 * ToolbarDefaults.C (init):
5633 * lyxfunc.C (getStatus):
5634 remove LFUN_INSET_GRAPHICS.
5636 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5638 2003-03-07 Angus Leeming <leeming@lyx.org>
5641 * LyXAction.C (init):
5642 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5644 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5647 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5649 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5650 localDispatch method LFUN_INSET_DIALOG_UPDATE.
5652 2003-03-07 Angus Leeming <leeming@lyx.org>
5654 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5657 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5659 * ParagraphList.C (front): new function
5662 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
5664 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5665 and top_row_offset_. removed var first_y.
5667 * text2.C (LyXText, removeRow):
5669 * BufferView_pimpl.C:
5670 use these methods instead of using first_y
5672 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5674 * text2.C (pasteSelection): adjust for checkPastePossible
5676 * CutAndPaste.C: remove Paragraph * buf and replace with
5677 ParagraphList paragraphs.
5678 (DeleteBuffer): delete
5679 (cutSelection): change the tc type to textclass_type
5680 (copySelection): change the tc type to textclass_type
5681 (copySelection): adjust for ParagraphList
5682 (pasteSelection): change the tc type to textclass_type
5683 (pasteSelection): adjust for Paragraphlist
5684 (nrOfParagraphs): simplify for ParagraphList
5685 (checkPastePossible): simplify for ParagraphList
5686 (checkPastePossible): remove unused arg
5688 * ParagraphList.C (insert): handle the case where there are no
5691 * CutAndPaste.h: make CutAndPaste a namespace.
5693 * text3.C (dispatch): adjust
5695 * text.C (breakParagraph): add a ParagraphList as arg
5697 * paragraph_funcs.C (breakParagraph): change to take a
5698 BufferParams and a ParagraphList as args.
5699 (breakParagraphConservative): ditto
5700 (mergeParagraph): ditto
5701 (TeXDeeper): add a ParagraphList arg
5702 (TeXEnvironment): ditto
5705 * buffer.C (readLyXformat2): adjust
5706 (insertStringAsLines): adjust
5707 (latexParagraphs): adjust
5709 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5710 (cutSelection): adjust
5711 (pasteSelection): adjust
5713 * BufferView_pimpl.C (insertInset): adjust
5715 2003-03-05 Angus Leeming <leeming@lyx.org>
5718 * LyXAction.C (init):
5719 * BufferView_pimpl.C (dispatch):
5720 * lyxfunc.C (getStatus):
5721 remove LFUN_CHILD_INSERT.
5723 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5725 2003-03-05 Angus Leeming <leeming@lyx.org>
5728 * LyXAction.C (init):
5729 * src/factory.C (createInset):
5730 * lyxfunc.C (getStatus):
5731 * text3.C (dispatch):
5732 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5734 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5736 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5738 * ParagraphList.C (insert): handle insert right before end()
5739 (erase): fix cases where it can be first or last paragraph.
5741 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5743 * paragraph_funcs.C (TeXEnvironment): remove all usage of
5744 Paragraph::next and Paragraph::previous
5747 * text.C (breakParagraph): adjust
5749 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5750 BufferParams& as arg.
5751 (breakParagraph): use ParagraphList::insert
5752 (breakParagraphConservative): take a Buffer* instead of a
5753 BufferParams& as arg.
5754 (breakParagraphConservative): use ParagraphList::insert.
5756 * buffer.C (insertStringAsLines): un-const it
5757 (insertStringAsLines): adjust
5759 * ParagraphList.C (insert): new function
5761 * CutAndPaste.C (pasteSelection): adjust
5763 * text.C (backspace): adjust
5765 * tabular.C (SetMultiColumn): adjust
5767 * CutAndPaste.C (cutSelection): adjust
5768 (pasteSelection): adjust
5770 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5771 Buffer const * as arg
5773 * ParagraphList.C (erase): new function
5774 * paragraph_funcs.C (mergeParagraph): use it
5775 (mergeParagraph): make it take a Buffer* instead of a
5776 BufferParams* as arg
5778 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5780 (breakParagraphConservative): ditto
5782 * paragraph.h: remove the breakParagraph friend
5784 * paragraph.C (eraseIntern): new function
5785 (setChange): new function
5787 * paragraph_funcs.C (mergeParagraph): make it take a
5788 ParagraphList::iterator instead of a Paragraph *, adjust
5791 * paragraph.h: move an #endif so that the change tracking stuff
5792 also works in the NO_NEXT case.
5794 2003-03-04 Angus Leeming <leeming@lyx.org>
5797 * LyXAction.C: new LFUN_INSET_MODIFY.
5799 * BufferView_pimpl.C (dispatch): if an inset is found to be open
5800 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5802 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5804 * several files: ws changes only
5806 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5807 (TeXEnvironment): ditto
5810 * buffer.C (makeLaTeXFile): adjust
5811 (latexParagraphs): make it take ParagraphList::iterator as args
5813 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5815 * buffer.C (latexParagraphs): adjust
5817 * paragraph.C (TeXOnePar): move function...
5818 (optArgInset): move function...
5819 (TeXEnvironment): move function...
5820 * paragraph_pimpl.C (TeXDeeper): move function...
5821 * paragraph_funcs.C: ...here
5823 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5825 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5827 * buffer.C (readInset): remove compability code for old Figure and
5830 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5832 * buffer.C: ws changes
5835 * BufferView_pimpl.C: ditto
5838 * bufferlist.h: ditto
5842 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
5844 * converter.[Ch]: split into itself +
5847 * Makefile.am: += graph.[Ch] + format.[Ch]
5854 * lyxrc.C: added #include "format.h"
5856 2003-02-27 Angus Leeming <leeming@lyx.org>
5858 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5861 * factory.C (createInset): add "label" to the factory.
5863 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5864 string and do no more.
5866 2003-02-27 Angus Leeming <leeming@lyx.org>
5869 * LyXAction.C (init):
5870 * factory.C (createInset):
5871 * BufferView_pimpl.C (dispatch):
5872 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5874 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5876 * lyxfunc.C (dispatch):
5877 * text3.C (dispatch): pass name to params2string.
5879 2003-02-26 Angus Leeming <leeming@lyx.org>
5881 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5883 Rearrange the ~includes. Strip out the unnecessary ones.
5885 * factory.C (createInset): reformat.
5886 create new insets for the various LFUN_XYZ_APPLY lfuns.
5888 2003-02-26 John Levon <levon@movementarian.org>
5891 * lyxrow.C: add isParStart,isParEnd helpers
5893 * paragraph.h: make isInserted/DeletedText take refs
5895 * paragraph_funcs.h:
5896 * paragraph_funcs.C: remove #if 0'd code
5901 * text.C: use lyxrow helpers above.
5902 Move draw and paint routines to RowPainter.
5903 Make several methods use refs not pointers.
5904 Make backgroundColor() const.
5905 Add markChangeInDraw(), isInInset().
5906 Merge changeRegionCase into changeCase.
5907 Make workWidth() shouldn't-happen code into an Assert.
5910 * rowpainter.C: new class for painting a row.
5913 * vspace.C: make inPixels take a ref
5915 2003-02-26 Angus Leeming <leeming@lyx.org>
5917 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5920 2003-02-25 John Levon <levon@movementarian.org>
5922 * ispell.C: give the forked command a more accurate name
5924 2003-02-22 John Levon <levon@movementarian.org>
5927 * toc.C: make TocItem store an id not a Paragraph *
5930 2003-02-21 Angus Leeming <leeming@lyx.org>
5932 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5933 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5934 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5935 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5936 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5937 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5939 * BufferView_pimpl.C (dispatch):
5940 * LyXAction.C (init):
5941 * factory.C (createInset):
5942 * lyxfunc.C (getStatus, dispatch):
5943 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5945 2003-02-21 Angus Leeming <leeming@lyx.org>
5947 * BufferView_pimpl.C (MenuInsertLyXFile):
5948 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5949 * lyxfunc.C (menuNew, open, doImport):
5950 no longer pass a LyXView & to fileDlg.
5952 2003-02-21 Angus Leeming <leeming@lyx.org>
5954 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5955 * LyXAction.C: change, BIBKEY to BIBITEM.
5956 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5957 Change InsetBibKey to InsetBibitem.
5958 Change BIBKEY_CODE to BIBITEM_CODE.
5959 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5960 * factory.C: replace insetbib.h with insetbibitem.h.
5961 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5962 * paragraph.C: replace insetbib.h with insetbibitem.h.
5963 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5964 Change bibkey() to bibitem().
5965 * text.C: remove insetbib.h.
5966 * text2.C: replace insetbib.h with insetbibitem.h.
5967 change bibkey() to bibitem().
5968 * text3.C: remove insetbib.h.
5969 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5971 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5973 * lyxrc.C (output): enclose user email in quotes (in case there are
5976 2003-02-18 John Levon <levon@movementarian.org>
5978 * buffer.h: add std::
5980 2003-02-17 John Levon <levon@movementarian.org>
5986 * pspell.C: reworking. Especially in ispell, a large
5987 number of clean ups and bug fixes.
5989 * lyxfunc.C: fix revert to behave sensibly
5991 2003-02-17 André Pönitz <poenitz@gmx.net>
5994 * commandtags.h: new LFUN_INSERT_BIBKEY
6004 * paragraph_func.C: remove special bibkey handling
6006 2003-02-17 John Levon <levon@movementarian.org>
6008 * text.C (Delete): fix case where delete at the end of
6009 the very first paragraph would not merge the pars
6011 2003-02-17 John Levon <levon@movementarian.org>
6013 * lyxrow.C: fix lastPrintablePos()
6015 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6017 * bufferparams.C (writeLaTeX): add a std:here
6019 * buffer.C: and remove a using directive there
6021 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6023 * buffer.C (makeLaTeXFile): move the code that generates the
6026 * bufferparams.C (writeLaTeX): ... in this new method
6028 * LaTeXFeatures.C (getEncodingSet): make const
6029 (getLanguages): make const
6031 * MenuBackend.C (binding): returns the binding associated to this
6033 (add): sets the status of each item by calling getStatus. Adds
6035 (read): add support for OptSubMenu
6036 (expand): remove extra separator at the end of expanded menu
6038 2003-02-15 John Levon <levon@movementarian.org>
6041 * BufferView_pimpl.C:
6043 * bufferlist.C: remove pointless BufferStorage bloat. Remove
6044 inset code that had no actual effect. Remove unneeded status
6047 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6049 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6052 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
6054 * text.C (drawLengthMarker): also draw an arrow marker for
6055 symbolic lengths (medskip...)
6057 2003-02-14 John Levon <levon@movementarian.org>
6060 * tabular.C: better method names
6062 2003-02-14 John Levon <levon@movementarian.org>
6064 * BufferView_pimpl.C:
6069 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6070 it's a more accurate name. Remove some pointless uses.
6072 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6074 * text2.C (LyXText): change order of initilizers to shut off
6077 2003-02-14 John Levon <levon@movementarian.org>
6079 * buffer.C: use ParIterator for getParFromID()
6083 * paragraph_pimpl.h:
6084 * paragraph_pimpl.C: remove unused getParFromID()
6086 2003-02-14 John Levon <levon@movementarian.org>
6088 * buffer.C: remove some very old #if 0'd parse code
6090 2003-02-13 John Levon <levon@movementarian.org>
6094 * text2.C: move hfillExpansion(), numberOfSeparators(),
6095 rowLast(), rowLastPrintable(), numberofHfills(),
6096 numberOfLabelHfills() ...
6099 * lyxrow.C: ... to member functions here.
6104 * text.C: remove LyXText::beginningOfMainBody(), and call
6105 p->beginningOfMainBody() directly. Move the check for
6106 LABEL_MANUAL into the latter.
6113 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6119 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6120 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6122 2003-02-13 John Levon <levon@movementarian.org>
6124 * CutAndPaste.C: remove debug
6126 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6128 * paragraph.C (asString): remove two unused variables
6130 * lyxtextclass.C (readTitleType):
6132 (LyXTextClass): handle new members titletype_ and titlename_
6134 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6136 2003-02-09 John Levon <levon@movementarian.org>
6139 * buffer.C: replace hand-coded list with a map for the dep clean
6141 2003-02-08 John Levon <levon@movementarian.org>
6143 * LaTeX.C: consolidate code into showRunMessage() helper
6145 2003-02-08 John Levon <levon@movementarian.org>
6150 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6151 and pass the size in explicitly
6153 * BufferView_pimpl.h:
6154 * BufferView_pimpl.C:
6156 * BufferView.C: add getCurrentChange()
6158 * BufferView_pimpl.h:
6159 * BufferView_pimpl.C: handle change lfuns
6161 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6162 for changes. Mark pasted paragraphs as new.
6164 * support/lyxtime.h:
6165 * support/lyxtime.C:
6166 * DepTable.C: abstract time_t as lyx::time_type
6169 * LColor.C: add colours for new text, deleted text, changebars
6171 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6172 package use "usenames" option.
6176 * LyXAction.C: add change lfuns
6180 * author.C: author handling
6183 * buffer.C: add a per-buffer author list, with first entry as
6184 current author. Handle new .lyx tokens for change tracking. Output
6185 author list to .lyx file. Output dvipost stuff to .tex preamble.
6186 Bump lyx format to 222.
6189 * bufferlist.C: add setCurrentAuthor() to reset current author details
6193 * bufferparams.C: add param for tracking
6195 * bufferview_funcs.C: output change info in minibuffer
6199 * changes.C: add change-tracking structure
6202 * debug.C: add CHANGES debug flag
6205 * lyxfind.C: add code for finding the next change piece
6208 * lyxrc.C: add user_name and user_email
6211 * lyxrow.C: add a metric for the top of the text line
6214 * text.C: implement accept/rejectChange()
6217 * text.C: paint changebars. Paint new/deleted text in the chosen
6218 colours. Strike through deleted text.
6222 * paragraph_pimpl.h:
6223 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6224 in the current change to the insert functions. Rework erase to
6225 mark text as deleted, adding an eraseIntern() and a range-based
6226 erase(). Implement per-paragraph change lookup and
6229 * paragraph_funcs.C: Fixup paste for change tracking.
6231 * tabular.C: mark added row/columns as new.
6233 * text.C: fix rowLast() to never return -1. Don't allow
6234 spellchecking of deleted text. Track transpose changes. Don't
6235 allow paragraph break or merge where appropriate.
6237 * text2.C: leave cursor at end of selection after a cut.
6239 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6241 * text.C (getLengthMarkerHeight):
6242 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6243 visible on screen too.
6245 2003-02-07 John Levon <levon@movementarian.org>
6247 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6249 2003-02-05 Angus Leeming <leeming@lyx.org>
6251 * lyxserver.C (read_ready): revert my patch of 11 September last year
6252 as it sends PC cpu through the roof. Presumably this means that
6253 the lyxserver will no longer run on an Alpha...
6255 2003-01-30 Angus Leeming <leeming@lyx.org>
6257 * factory.C (createInset): create an InsetCommandParam of type "index"
6258 and use it to 'do the right thing'.
6260 * text2.C (getStringToIndex): ensure that cursor position is always
6261 reset to the reset_cursor position.
6263 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6265 * lyxfunc.C (getStatus): "buffer-export custom" should never be
6268 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
6272 * lyxfunc.C: Output messages with identical spelling, punctuation,
6275 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
6277 * MenuBackend.C (expandFormats): List only viewable export formats
6280 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6283 * lyxfunc.C (getStatus): Make sure that formats other than
6284 "fax" can also be disabled
6286 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6288 * text3.C (dispatch): put the lfuns that insert insets in 3
6289 groups, and call doInsertInset with appropriate arguments.
6290 (doInsertInset): new function, that creates an inset and inserts
6291 it according to some boolean parameters.
6293 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6295 * buffer.C (readFile): remember to pass on 'par' when calling
6296 readFile recursively.
6298 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6300 * MenuBackend.C (expandFormats): add "..." to import formats.
6302 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
6304 * paragraph.C (asString): Remove XForms RTL hacks.
6306 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
6307 * buffer.C: fix typo
6309 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6311 * Makefile.am (LIBS): delete var
6312 (lyx_LDADD): add @LIBS@ here instead.
6314 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
6316 * Clarify the meaning of "wheel mouse jump"
6318 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6320 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6323 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6325 * importer.C (Loaders): do not preallocate 3 elements in the
6326 vector, since one ends up with 6 elements otherwise
6328 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6330 * DepTable.C (write): write the file name as last element of the
6331 .dep file (because it may contain spaces)
6332 (read): read info in the right order
6334 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6336 * paragraph_pimpl.C (simpleTeXBlanks):
6337 (simpleTeXSpecialChars):
6338 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6340 * tabular.C (latex): add some missing case statements. Reindent.
6342 * MenuBackend.C (expandToc): remove unused variable.
6344 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
6353 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6356 2003-01-05 John Levon <levon@movementarian.org>
6359 * BufferView.C: add getEncoding()
6362 * kbsequence.C: do not store last keypress
6365 * lyxfunc.C: store last keypress here instead. Pass encoding
6368 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6370 * lyx_main.C (init): remove annoying error message when following
6371 symbolic links (bug #780)
6373 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6375 * text.C (insertChar):
6376 * lyxrc.C (getDescription): remove extra spaces
6378 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6380 * lyxrc.C (getDescription): remove extra spaces
6382 2002-12-20 John Levon <levon@movementarian.org>
6384 * text3.C: hack fix for page up/down across tall rows
6386 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6388 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6391 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6393 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6394 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6395 thesaurus is not compiled in
6397 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
6399 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
6401 2002-12-16 Angus Leeming <leeming@lyx.org>
6404 * lyx_main.C (init): remove override_x_deadkeys stuff.
6406 2002-12-12 John Levon <levon@movementarian.org>
6408 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6409 insert. Only remove shift modifier under strict
6412 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6414 * MenuBackend.C (expandToc): fix crash.
6416 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6418 * MenuBackend.C (expandToc): gettext on float names.
6420 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6422 * lyxlength.[Ch]: set default unit to UNIT_NONE,
6423 implement bool empty() [bug 490]
6425 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6427 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6429 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6431 * several files: ws changes
6433 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6435 * text2.C (setCounter): clean up a bit, use boost.format.
6436 (updateCounters): initialize par upon declaration.
6438 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6439 if the layout exists. We do not just store the layout any more.
6440 (SwitchLayoutsBetweenClasses): use boost.format
6442 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6444 * converter.C (convert): if from and to files are the same, use a
6445 temporary files as intermediary
6447 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6450 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6452 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
6454 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6456 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6458 * tabular.C (asciiPrintCell): use string(size, char) instead of
6461 * sgml.C (openTag): fix order of arguments to string constructor
6464 * lyxfunc.C (dispatch): use boost.format
6466 * lots of files: change "c" -> 'c'
6468 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
6470 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6472 2002-11-25 Angus Leeming <leeming@lyx.org>
6474 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6476 * lyx_main.C (init): compile fix.
6478 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6480 * lyx_cb.C (start): boost.formatify
6481 do not include <iostream>
6483 * lengthcommon.C: ws only
6485 * boost-inst.C,BoostFormat.h: add more explict instantations
6487 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6489 * lots of files: handle USE_BOOST_FORMAT
6491 2002-11-21 John Levon <levon@movementarian.org>
6493 * pspell.C: fix compile
6495 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6497 * lyxfunc.C (dispatch): use boost::format
6501 * lyxfont.C (stateText): use boost::format
6503 * lyx_main.C (LyX): use boost::format
6505 (queryUserLyXDir): ditto
6508 (typedef boost::function): use the recommened syntax.
6510 * importer.C (Import): use boost::format
6512 * debug.C (showLevel): use boost::format
6514 * converter.C (view): use boost::format
6519 * bufferview_funcs.C (currentState): use boost::format
6521 * bufferlist.C (emergencyWrite): use boost::format
6523 * buffer.C (readLyXformat2): use boost::format
6524 (parseSingleLyXformat2Token): ditto
6526 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6528 * LaTeX.C (run): use boost::format
6530 * Chktex.C (scanLogFile): use boost::format
6532 * BufferView_pimpl.C (savePosition): use boost::format
6533 (restorePosition): ditto
6534 (MenuInsertLyXFile): ditto
6536 * BoostFormat.h: help file for explicit instation.
6538 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
6540 * tabular.C (latex): Support for block alignment in fixed width
6543 2002-11-17 John Levon <levon@movementarian.org>
6545 * BufferView_pimpl.C:
6547 * lyxfunc.C: split filedialog into open/save
6549 2002-11-08 Juergen Vigna <jug@sad.it>
6551 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6552 by my last patch (hopefully).
6554 2002-11-08 John Levon <levon@movementarian.org>
6563 * toc.C: ParConstIterator, and use it (from Lars)
6565 2002-11-07 Ben Stanley <bds02@uow.edu.au>
6567 * lyxtextclass.[Ch]: revise and add doxygen comments
6569 2002-11-07 John Levon <levon@movementarian.org>
6571 * text.C: fix progress value for spellchecker
6573 * toc.C: fix navigate menu for insetwrap inside minipage
6575 * paragraph_funcs.C: added FIXME for suspect code
6577 2002-11-07 John Levon <levon@movementarian.org>
6579 * BufferView_pimpl.C: fix redrawing of insets
6582 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6584 * text2.C (updateCounters): fix bug 668
6586 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
6588 * text3.C (dispatch): Do not make the buffer dirty when moving the
6591 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6593 * vc-backend.C: STRCONV
6596 * text2.C (setCounter): STRCONV
6598 * paragraph.C (asString): STRCONV
6600 * lyxlength.C (asString): STRCONV
6601 (asLatexString): ditto
6603 * lyxgluelength.C (asString): STRCONV
6604 (asLatexString): ditto
6606 * lyxfunc.C (dispatch): STRCONV
6609 * lyxfont.C (stateText): STRCONV
6611 * importer.C (Import): STRCONV
6613 * counters.C (labelItem): STRCONV
6614 (numberLabel): ditto
6615 (numberLabel): remove unused ostringstream o
6620 * bufferview_funcs.C (currentState): STRCONV
6622 * buffer.C (readFile): STRCONV
6623 (asciiParagraph): ditto
6624 (makeLaTeXFile): ditto
6626 * Spacing.C (writeEnvirBegin): STRCONV
6628 * LaTeXFeatures.C (getLanguages): STRCONV
6629 (getPackages): ditto
6631 (getBabelOptions): ditto
6632 (getTClassPreamble): ditto
6633 (getLyXSGMLEntities): ditto
6634 (getIncludedFiles): ditto
6638 (scanAuxFile): ditto
6641 * LString.h: add the STRCONV macros
6643 * BufferView_pimpl.C (savePosition): STRCONV
6644 (restorePosition): ditto
6645 (MenuInsertLyXFile): ditto
6647 * vc-backend.C (scanMaster): change from submatch[...] to
6650 * funcrequest.C: include config.h
6652 * factory.C: include config.h
6654 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6656 * box.C: include config.h
6658 * LaTeX.C (scanAuxFile): change from submatch[...] to
6662 2002-10-25 Angus Leeming <leeming@lyx.org>
6664 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6666 * ispell.[Ch] (setError): new method.
6667 * ispell.C (c-tor): move out child process into new class LaunchIspell.
6668 Use setError() insetead of goto END.
6670 * lyx_cb.C (AutoSave): move out child process into new class
6673 2002-10-30 John Levon <levon@movementarian.org>
6675 * text3.C: make start appendix undoable
6677 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
6679 * lyxlength.C (inPixels): Fix returned value.
6681 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6684 2002-10-24 Angus Leeming <leeming@lyx.org>
6686 * lyxgluelength.h: no need to forward declare BufferParams
6687 or BufferView, so don't.
6689 2002-10-21 John Levon <levon@movementarian.org>
6691 * BufferView.C: menuUndo ->undo, redo
6693 * BufferView.h: document, remove dead, make some methods private
6695 * paragraph_funcs.h:
6696 * paragraph_funcs.C:
6697 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6702 * sgml.C: move sgml open/close tag into sgml.C
6704 * bufferview_funcs.h: unused prototype
6707 * lyxfunc.C: remove unused
6710 * text.C: remove unused
6712 2002-10-21 John Levon <levon@movementarian.org>
6716 * BufferView_pimpl.h:
6717 * BufferView_pimpl.C: fix mouse wheel handling based on
6718 patch from Darren Freeman
6720 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
6722 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6724 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
6726 * lyxlength.C (inPixels): Fix hanfling of negative length.
6727 Fix LyXLength::MU case.
6729 2002-10-16 John Levon <levon@movementarian.org>
6731 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6733 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6735 * converter.C (view): add support for $$i (file name) and $$p
6736 (file path) for the viewer command. If $$i is not specified, then
6737 it is appended to the command (for compatibility with old syntax)
6739 2002-10-14 Juergen Vigna <jug@sad.it>
6741 * undo_funcs.C (textHandleUndo): alter the order in which the
6742 new undopar is added to the LyXText, as we have to set first
6743 the right prev/next and then add it as otherwise the rebuild of
6744 LyXText is not correct. Also reset the cursor to the right paragraph,
6745 with this IMO we could remove the hack in "redoParagraphs()".
6747 2002-10-09 Angus Leeming <leeming@lyx.org>
6749 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6750 to turn off an optimisation if a new inset is to be inserted.
6752 2002-10-11 André Pönitz <poenitz@gmx.net>
6754 * lyxtext.h: make some functions public to allow access
6755 from inset/lyxtext for handling LFUN_PRIOR/NEXT
6757 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6759 * text3.C (dispatch): when changing layout, avoid an infinite loop
6762 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6764 * lyxrc.C (read): treat a viewer or converter command of "none" as
6767 * MenuBackend.C (expandFormats): for an update, also allow the
6768 formats that are not viewable
6770 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6771 script if it is newer than the lyxrc.defaults in user directory
6773 2002-10-07 André Pönitz <poenitz@gmx.net>
6775 * text.C: Vitaly Lipatov's small i18n fix
6777 2002-09-25 Angus Leeming <leeming@lyx.org>
6779 * ispell.h: doxygen fix.
6781 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
6783 * buffer.h (readFile): Add a new argument to the method, to allow
6784 reading of old-format templates.
6786 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
6788 * toc.C (getTocList): Get TOC from InsetWrap.
6790 2002-09-16 John Levon <levon@movementarian.org>
6792 * lyxfunc.C: check tabular for cut/copy too
6794 2002-09-12 John Levon <levon@movementarian.org>
6799 * factory.C: add header
6801 * paragraph_funcs.h:
6802 * paragraph_funcs.C: cleanup
6804 2002-09-11 John Levon <levon@movementarian.org>
6806 * PrinterParams.h: odd/even default to true
6808 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
6810 * PrinterParams.h: update printer parameters for new xforms dialog
6812 2002-09-11 Angus Leeming <leeming@lyx.org>
6814 * lyxserver.C (read_ready): re-write to make it more transparent
6815 and to make it work in coherent fashion under Tru64 Unix.
6817 2002-09-11 André Pönitz <poenitz@gmx.net>
6821 * text3.C: implement LFUN_WORDSEL
6823 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6825 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6826 make floatlist_ a boost::shared_ptr<FloatList>
6828 * lyxtextclass.C: include FloatList.h
6829 (LyXTextClass): initialize floatlist_
6830 (TextClassTags): add TC_NOFLOAT
6831 (Read): match "nofloat" to TC_NOFLOAT and use it.
6832 (readFloat): modify call to floatlist_
6836 * FloatList.[Ch] (FloatList): remove commented out float
6838 (erase): new function
6840 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6842 * MenuBackend.C (expandToc): fix crash when there is no document
6845 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
6847 * many files: Add insetwrap.
6849 2002-09-09 John Levon <levon@movementarian.org>
6851 * text2.C: remove confusing and awkward depth wraparound
6853 2002-09-09 John Levon <levon@movementarian.org>
6855 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6858 * buffer.C: remove getIncludeonlyList()
6861 * lyxfunc.C: remove headers
6863 2002-09-09 Juergen Vigna <jug@sad.it>
6865 * text.C (getColumnNearX): fix form Michael this is most
6866 probably a cut&paste bug.
6868 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6870 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6872 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6873 references, ws changes.
6875 * text2.C (init): update counters after init
6876 (insertParagraph): no need to set counter on idividual paragraphs.
6877 (setCounter): access the counters object in the textclass object
6878 on in the buffer object.
6879 (updateCounters): ditto
6881 * lyxtextclass.C: include counters.h, add variable ctrs_ as
6882 shared_ptr<Counters> to avoid loading counters.h in all
6884 (LyXTextClass): initialize ctrs_
6885 (TextClassTags): add TC_COUNTER, and ...
6886 (Read): use it here.
6887 (CounterTags): new tags
6888 (readCounter): new function
6889 (counters): new funtion
6890 (defaultLayoutName): return a const reference
6892 * counters.C (Counters): remove contructor
6893 (newCounter): remove a couple of unneeded statements.
6894 (newCounter): simplify a bit.
6895 (numberLabel): some small formatting changes.
6897 * buffer.[Ch]: remove all traces of counters, move the Counters
6898 object to the LyXTextClass.
6900 2002-09-06 Alain Castera <castera@in2p3.fr>
6902 * tabular.C: uses \tabularnewline; uses >{...} construct from array
6903 package to set the horizontal alignment on fixed width columns.
6906 * lyx_sty.h: added tabularnewline macro def.
6908 * LaTeXFeatures.C: added NeedTabularnewline macro feature
6910 2002-09-06 John Levon <levon@movementarian.org>
6912 * LyXAction.C: tooltips for sub/superscript
6914 * MenuBackend.C: a bit more verbose
6916 * lyxfunc.C: tiny clean
6918 * undo_funcs.C: document undo_frozen
6920 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6922 * counters.C (Counters): add missing algorithm counter.
6924 * text2.C (setCounter): lookup the counter with layouts latexname
6925 instead of by section number.
6926 (setCounter): use a hackish way to lookup the correct enum
6928 a float name->type change
6929 reset enum couners with counter name directly instead of depth value.
6931 * counters.C (Counters): remove the push_backs, change to use the
6932 float type not the float name.
6933 (labelItem): remove unused string, float name->type change
6935 * counters.h: don't include vector, loose the enums and sects vectors
6937 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6939 * lyxtextclass.C (TextClassTags): add TC_FLOAT
6940 (Read): add float->TC_FLOAT to textclassTags
6941 (Read): and handle it in the switch
6942 (readFloat): new function
6944 * FloatList.C (FloatList): comment out the hardcoded float
6947 * lyxlayout.h: ws change.
6949 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
6951 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6953 2002-09-03 Angus Leeming <leeming@lyx.org>
6955 * BufferView_pimpl.h: qualified name is not allowed in member
6956 declaration: WorkArea & Pimpl::workarea() const;
6958 * factory.C: added using std::endl directive.
6960 * text3.C: added using std::find and std::vector directives.
6962 2002-08-29 André Pönitz <poenitz@gmx.net>
6965 * text2.C: remove unused member number_of_rows
6968 * BufferView2.C: remove file, move contents to...
6969 * BufferView.C: ... here
6971 * BufferView_pimpl.C:
6972 * factory.C: move more inset creation to factory
6974 * vspace.C: avoid direct usage of LyXText, ws changes
6977 don't provide direct access to WorkArea, use two simple
6978 acessors haveSelction() and workHeight() instead
6981 2002-08-29 John Levon <levon@movementarian.org>
6983 * BufferView_pimpl.C (dispatch): do not continue when
6986 2002-08-28 André Pönitz <poenitz@gmx.net>
6988 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6991 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6993 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
6995 * buffer.C: increment LYX_FORMAT to 221
6997 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6998 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7000 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7002 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7004 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7006 * factory.C (createInset): use LyXTextClass::floats
7008 * MenuBackend.C (expandFloatListInsert):
7009 (expandFloatInsert):
7012 * text2.C (setCounter):
7014 * LaTeXFeatures.C (useFloat):
7015 (getFloatDefinitions):
7017 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7019 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7020 floatlist_, with accessor floats().
7022 * FloatList.h: remove global FloatList
7024 2002-08-26 André Pönitz <poenitz@gmx.net>
7026 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7030 * BufferView_pimpl.C:
7031 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7033 2002-08-25 John Levon <levon@movementarian.org>
7035 * LyXAction.C: fix margin note description
7037 2002-08-24 John Levon <levon@movementarian.org>
7041 * bufferview_funcs.C:
7043 * undo_funcs.C: cleanups
7045 * lyxfunc.C: disable CUT/COPY when no selection
7047 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
7049 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7050 in "enum UNIT"; e.g. PTW for Percent of TextWidth
7052 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7053 Add backward compatibility to "mono", "gray" and "no".
7055 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
7057 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7058 (and file_format >= 200).
7060 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7062 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7064 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7066 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7068 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
7070 * BufferView_pimpl.C:
7077 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7078 inset and code to make it work with the paragraph code. The inset
7079 can be anywhere in the paragraph, but will only do the expected
7080 thing in LaTeX if the layout file contains the parameter line
7082 (or more generally, a nonzero value) for that layout.
7084 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7086 * paragraph.h: remove the declaration of undefined counters class
7089 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
7091 * text2.C (setCounter): fixed enumeration mis-count as reported by
7092 Dr. Richard Hawkins.
7094 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7096 * paragraph_funcs.h: remove some unneeded includes
7098 * text.C (backspace): pasteParagraph now in global scipe
7100 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7101 (pasteSelection): ditto
7103 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7104 * paragraph_funcs.C (pasteParagraph): ... here
7106 2002-08-20 André Pönitz <poenitz@gmx.net>
7108 * commandtags.h: new LFUNs for swapping/copying table row/colums
7111 * lyxfunc.C: support for new lfuns
7113 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7116 * buffer.[Ch]: remove NO_COMPABILITY stuff
7118 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
7120 * boost.C (throw_exception): new file, with helper function for
7121 boost compiled without exceptions.
7126 * ParameterStruct.h:
7127 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7129 * bufferlist.C (emergencyWriteAll): use boost bind
7131 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7133 * text.C: include paragraph_funcs.h
7134 (breakParagraph): breakParagraph is now in global scope
7136 * paragraph_funcs.[Ch]: new files
7138 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7141 * buffer.C: include paragraph_funcs.h
7142 (insertStringAsLines): breakParagraph is now in global scope
7144 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7147 * CutAndPaste.C: include paragraph_funcs.h
7148 (cutSelection): breakParagraphConservative is now in global scope
7149 (pasteSelection): ditto
7151 * buffer.h: declare oprator== and operator!= for
7152 Buffer::inset_iterator
7154 * bufferlist.C (emergencyWrite): don't use fmt(...)
7156 * text3.C: add using std::endl
7158 * BufferView.C (moveCursorUpdate): remove default arg
7160 2002-08-20 André Pönitz <poenitz@gmx.net>
7162 * buffer.[Ch]: move inline functions to .C
7165 * BufferView_pimpl.C:
7167 * buffer.[Ch]: use improved inset_iterator
7170 * paragraph.[Ch]: write one paragraph at a time
7172 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7174 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7175 style if style is not specified.
7177 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7179 * text2.C (setCounter): when searching for right label for a
7180 caption, make sure to recurse to parent insets (so that a caption
7181 in a minipage in a figure float works) (bug #568)
7183 2002-08-20 André Pönitz <poenitz@gmx.net>
7185 * text3.C: new file for LyXText::dispatch() and helpers
7187 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7189 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7191 2002-08-19 André Pönitz <poenitz@gmx.net>
7194 * text.C: new LyXText::dispatch()
7196 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7198 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7200 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7202 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7205 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7207 * Makefile.am: use $(variables) instead of @substitutions@
7209 2002-08-15 André Pönitz <poenitz@gmx.net>
7212 * BufferView_pimpl.C: streamlining mathed <-> outer world
7216 * LyXAction.C: remove unused LFUN_MATH
7218 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7220 * paragraph.[Ch]: add some NO_NEXT ifdefs.
7222 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7224 * paragraph.C (Paragraph): reformat a bit
7225 (cutIntoMinibuffer): use builtin InsetList function instad of
7229 * buffer.C: include boost/bind.hpp, add using std::for_each
7230 (writeFileAscii): use ParagraphList iterators
7231 (validate): use for_each for validate traversal of paragraphs
7232 (getBibkeyList): use ParagraphList iterators
7233 (resizeInsets): use for_each to resizeInsetsLyXText for all
7235 (getParFromID): use ParagraphList iterators
7237 * BufferView2.C (lockInset): use paragraph list and iterators
7239 2002-08-14 John Levon <levon@movementarian.org>
7241 * lyxserver.C: remove spurious xforms include
7243 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7245 * lyxfunc.C (getStatus): disable math-extern outside of math mode
7247 2002-08-13 André Pönitz <poenitz@gmx.net>
7250 * lyxfunc.C: further cleaning
7252 2002-08-13 André Pönitz <poenitz@gmx.net>
7254 * funcrequest.h: new constructor
7256 * funcrequest.C: move stuff here from .h
7259 * BufferView_pimpl.C:
7262 * lyxfunc.C: subsequent changes
7264 * lyxfunc.h: new view() member function
7266 * lyxfunc.C: subsequent changes
7268 2002-08-13 Angus Leeming <leeming@lyx.org>
7271 * BufferView_pimpl.C:
7279 changes due to the changed LyXView interface that now returns references
7280 to member variables not pointers.
7282 2002-08-13 Angus Leeming <leeming@lyx.org>
7284 * WordLangTuple (word, lang_code): return references to strings,
7289 * lyxtext.h: forward-declare WordLangTuple.
7294 * text.C: #include "WordLangTuple.h".
7297 * text.C: (selectNextWordToSpellcheck): constify return type.
7299 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
7305 * paragraph_pimpl.h:
7308 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7310 Made updateCounter always count from start of buffer, and removed
7311 second argument (par).
7312 Reverted floats number display to '#'. Perhaps I'll try again when the
7313 code base is sanitized a bit.
7315 2002-08-12 Angus Leeming <leeming@lyx.org>
7317 * buffer.[Ch] (getLabelList): constify.
7319 2002-08-07 André Pönitz <poenitz@gmx.net>
7321 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7323 * funcrequest.h: extension to keep mouse (x,y) position
7325 2002-08-12 Juergen Vigna <jug@sad.it>
7327 * BufferView2.C (insertErrors): forbid undo when inserting error
7330 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7332 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7334 * ParagraphList.[Ch]: new files
7336 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7338 * BufferView2.C (lockInset): ParagraphList changes
7341 * bufferlist.C: ditto
7345 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7347 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7348 unused class variable counter_,
7350 * paragraph.[Ch] (getFirstCounter): delete unused function
7352 * counters.C: include LAssert.h
7353 (reset): add a new function with no arg, change other version to
7354 not have def. arg and to not allow empty arg.
7356 * text2.C (setCounter): remove empty arg from call to Counters::reset
7358 2002-08-11 John Levon <levon@movementarian.org>
7360 * Makefile.am: add WordLangTuple.h
7362 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7364 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7365 lyxfunc.C lyxlex_pimpl.C: ws changes only.
7367 * insets/insettext.C: InsetList changes
7369 * graphics/GraphicsSupport.C (operator()): InsetList changes
7371 * toc.C (getTocList): InsetList changes
7373 * paragraph_pimpl.[Ch]: InsetList changes
7375 * paragraph.[Ch]: InsetList changes
7377 * buffer.C (inset_iterator): InsetList changes
7378 (setParagraph): ditto
7379 * buffer.h (inset_iterator): ditto
7380 * iterators.C (operator++): ditto
7381 * iterators.h: ditto
7383 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7385 * InsetList.[Ch]: new files, most InsetList handling moved out of
7388 * BufferView2.C (removeAutoInsets): InsetList changes
7390 (ChangeInsets): ditto
7392 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7394 * paragraph_pimpl.h (empty): new function
7396 * paragraph.[Ch] (empty): new function
7398 * other files: use the new Paragraph::empty function
7400 2002-08-09 John Levon <levon@movementarian.org>
7402 * lyxtext.h: remove unused refresh_height
7404 2002-08-09 John Levon <levon@movementarian.org>
7411 * paragraph.C: move sgml char escaping out of paragraph
7414 * paragraph.C: remove id setter
7418 * paragraph_pimpl.C: remove dead tex_code_break_column
7420 * bufferview_funcs.C: small cleanup
7422 * lyxfunc.C: remove dead proto
7424 * lyxtext.h: make some stuff private. Remove some dead stuff.
7426 * lyxgluelength.C: make as[LyX]String() readable
7428 2002-08-08 John Levon <levon@movementarian.org>
7433 * ToolbarDefaults.C:
7436 * toc.C: lyxaction cleanup
7438 2002-08-08 John Levon <levon@movementarian.org>
7440 * BufferView2.C: small cleanup
7443 * lyxfind.C: move unnecessary header into the .C
7445 2002-08-08 John Levon <levon@movementarian.org>
7447 * funcrequest.h: just tedious nonsense
7450 * lyx_main.C: cleanups
7453 * vspace.C: remove dead header lyx_main.h
7455 2002-08-07 Angus Leeming <leeming@lyx.org>
7458 * paragraph_pimpl.h:
7459 Forward declare class Counters in paragraph.h by moving the ctrs member
7460 variable into Paragraph::Pimpl.
7461 (counters): new method, returning a reference to pimpl_->ctrs.
7463 * text2.C: ensuing changes.
7465 2002-08-07 John Levon <levon@movementarian.org>
7467 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7469 * BufferView_pimpl.C: announce X selection on double/triple
7472 * lyx_main.C: use correct bool in batch dispatch
7474 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7476 2002-08-07 André Pönitz <poenitz@gmx.net>
7478 * funcrequest.h: new class to wrap a kb_action and its argument
7481 * BufferView_pimpl[Ch]:
7485 * lyxrc.C: subsequent changes
7488 2002-08-07 John Levon <levon@movementarian.org>
7490 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7491 document options change.
7493 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7498 * makefile.am: move counters functionality over from
7499 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7501 2002-08-06 John Levon <levon@movementarian.org>
7503 * WordLangTuple.h: new file for word + language code tuple
7514 * BufferView2.C: use WordLangTuple
7517 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7519 2002-08-06 John Levon <levon@movementarian.org>
7521 * lyx_main.C: fix cmdline batch handling
7523 2002-08-06 André Pönitz <poenitz@gmx.net>
7525 * lyxrc.C: set default for show_banner to true
7527 2002-08-06 John Levon <levon@movementarian.org>
7529 * pspell.C: fix a crash, and allow new aspell to work
7531 2002-08-06 John Levon <levon@movementarian.org>
7534 * kbmap.C: small cleanup
7537 * vspace.C: add const
7539 2002-08-05 John Levon <levon@movementarian.org>
7541 * LyXAction.C: back to tabular-insert
7543 2002-08-04 John Levon <levon@movementarian.org>
7546 * BufferView.C: cosmetic change
7548 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7558 * BufferView2.C: purge all "Lyx" not "LyX" strings
7561 * lyxcursor.C: attempt to add some documentation
7566 * ToolbarDefaults.C:
7567 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7568 merge with LFUN_TABULAR_INSERT
7575 * pspell.C: split up i/pspell implementations into separate
7576 files, many cleanups
7578 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7580 * text2.C: some cleanup
7582 * lyxfunc.C: don't check for isp_command == "none" any more, it
7583 didn't make any sense
7585 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7590 * makefile.am: move counters functionality over
7591 from text2.C/paragraph.[Ch] to counters.[Ch], and
7593 2002-08-02 John Levon <levon@movementarian.org>
7595 * buffer.C: s/lyxconvert/lyx2lyx/
7597 2002-08-02 Angus Leeming <leeming@lyx.org>
7599 * lyxlex.C: revert John's change as it breaks reading of the user
7602 2002-08-02 Angus Leeming <leeming@lyx.org>
7604 * importer.C (Import):
7605 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7606 changes due to LyXView::view() now returning a boost::shared_ptr.
7608 2002-08-02 John Levon <levon@movementarian.org>
7610 * lyxlex.C: small cleanup
7612 2002-08-02 John Levon <levon@movementarian.org>
7614 * text2.C (status): small cleanup, no logic change
7616 2002-08-01 John Levon <levon@movementarian.org>
7619 * buffer.C (writeFile): don't output alerts, caller
7623 * lyx_cb.C: from above
7625 * lyxfunc.C: allow to open non-existent files
7627 2002-07-31 John Levon <levon@movementarian.org>
7629 * lyxserver.C: don't let incidental errors get
7632 2002-07-30 John Levon <levon@movementarian.org>
7634 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7636 2002-07-30 John Levon <levon@movementarian.org>
7639 * lyxserver.C: remove I/O callback too
7641 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7643 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7646 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7648 * many files: strip,frontStrip -> trim,ltrim,rtrim
7650 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7652 * PrinterParams.h: remove extern containsOnly, and include
7653 support/lstrings.h instead.
7655 * LaTeX.C (scanAuxFile): modify because of strip changes
7657 * buffer.C (makeLaTeXFile): ditto
7658 * bufferparams.C (writeFile): ditt
7659 * lyxfont.C (stateText): ditto
7660 * lyxserver.C (read_ready): ditto
7661 * vc-backend.C (scanMaster): ditto
7663 * BufferView_pimpl.h: ws changes
7665 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7667 2002-07-26 André Pönitz <poenitz@gmx.net>
7669 * kb_sequence.C: remove unnedred usings
7671 2002-07-26 Juergen Vigna <jug@sad.it>
7673 * lyxfind.C (LyXReplace): we have to check better if the returned
7674 text is not of theLockingInset()->getLockingInset().
7676 2002-07-25 Juergen Vigna <jug@sad.it>
7678 * lyxfind.C (LyXReplace): don't replace if we don't get the
7681 * undo_funcs.C (createUndo): remove debugging code.
7683 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
7685 * buffer.C (parseSingleLyXformat2Token): Use default placement
7686 when reading old floats.
7688 * FloatList.C (FloatList): Change the default placement of figure
7689 and tables to "tbp".
7691 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
7693 * MenuBackend.C: using std::max
7695 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7697 * MenuBackend.C (expandToc):
7698 (expandToc2): code moved from xforms menu frontend. It is now
7699 generic and TOCs are transparent to menu frontends.
7701 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7703 * toc.C (getTocList): protect against buf=0
7705 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7706 Menu as first parameter. Now, this calls itself recursively to
7707 expand a whole tree (this will be useful for TOC handling)
7708 (expandFloatInsert): remove 'wide' version of floats
7710 * MenuBackend.h (submenuname): returns the name of the submenu.
7711 (submenu): returns the submenu itself, provided it has been
7712 created by MenuBackend::expand
7714 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7716 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7717 insets which have noFontChange == true. (bug #172)
7719 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7721 * BufferView_pimpl.C: add connection objects and use them...
7724 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7726 * MenuBackend.C (expandLastfiles):
7729 (expandFloatListInsert):
7730 (expandFloatInsert):
7731 (expand): split expand in parts
7733 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7735 * lyx_gui.C: use lyx_gui::exit()
7737 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7739 * LyXAction.C: show the failing pseudo action
7741 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
7743 * buffer.C (readFile): Run the lyxconvert script in order to read
7746 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7750 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7752 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7756 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7758 2002-07-22 Herbert Voss <voss@lyx.org>
7761 * lyxlength.[Ch]: add support for the vertical lengths
7763 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
7765 * toc.[Ch]: std:: fixes
7767 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7769 * lyxrc.C: do not include lyx_main.h
7771 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7777 * BufferView2.C: include "lyxlex.h"
7780 * bufferparams.h: do not #include "lyxlex.h"
7782 * lyxtextclasslist.C (Add): remove method
7783 (classlist): renamed to classlist_
7785 * paragraph_pimpl.C:
7789 * bufferview_funcs.C:
7794 * toc.C (getTocList): use BufferParams::getLyXTextClass
7796 * toc.C (getTocList): use InsetFloat::addToToc
7798 * toc.[Ch]: new files, containing helper functions to handle table
7801 * lyxfunc.C (dispatch): no need to remove spaces around command
7803 (getStatus): handle LFUN_SEQUENCE by returning the status of the
7804 first command of the sequence; it is not very clever, but I do not
7805 have a better idea, actually
7807 * LyXAction.C (LookupFunc): make sure to remove space at the
7808 beginning and end of the command
7810 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7812 * MenuBackend.C (getMenubar): new method: return the menubar of
7814 (read): treat differently reading of menu and menubar (in
7815 particular, the menubar has no name now)
7816 (Menu::menubar): remove
7818 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7821 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7823 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7824 a bibitem inset in a RTL paragraph.
7826 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
7828 * paragraph_pimpl.C: constify
7830 * BufferView_pimpl.C:
7832 * lyxfunc.C: fix dispatch in a nicer way
7834 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7836 * lyxfunc.C (dispatch):
7837 * BufferView_pimpl.C:
7838 * BufferView_pimpl.h:
7840 * BufferView.h: rename Dispatch() to dispatch()
7842 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7844 * lyxlayout.C (Read): honor DependsOn tag
7846 * lyxlayout.[Ch] (depends_on): new method
7848 * version.C.in: update lyx_docversion
7850 * LaTeXFeatures.C (getMacros): only define \LyX when needed
7852 * paragraph.C (validate): remove from here...
7853 * paragraph_pimpl.C (validate): ... and move here
7854 (isTextAt): make it const
7856 * buffer.C (getLists): ws cleanup
7858 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7860 * language.C (read): Use iso8859-1 encoding in latex_lang
7861 (this prevents LyX from crashing when using iso10646-1 encoding).
7863 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7865 * text2.C (toggleInset): if cursor is inside an inset, close the
7866 inset and leave cursor _after_ it
7868 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7870 * lyxfunc.C: move minibuffer completion handling out of here
7872 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7874 * BufferView_pimpl.C:
7875 * LaTeX.C: fix dispatch calls
7877 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
7879 * text.C (drawChars): Fix Arabic text rendering.
7881 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
7885 * lyxfunc.C: remove message-push/pop
7889 * lyxfunc.C: rationalise some code by removing verboseDispatch
7890 in favour of a bool argument to dispatch()
7892 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7894 * lyx_main.C (init): make sure to read symlinks as absolute paths
7896 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7899 * lyxfunc.C: no need for commandshortcut to be a member
7901 2002-07-15 André Pönitz <poenitz@gmx.net>
7903 * converter.C: add support for $$s (scripts from lib/scripts dir)
7904 * lyx_main.C: white space
7906 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7910 * lyxrc.C: remove second exit confirmation
7912 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7917 * BufferView_pimpl.h:
7918 * BufferView_pimpl.C:
7919 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7921 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7923 * MenuBackend.C (expand): add numeric shortcuts to document menu
7925 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7927 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7929 * lyxfont.C (setLyXFamily):
7936 * buffer.C (asciiParagraph): use ascii_lowercase
7938 2002-07-15 Mike Fabian <mfabian@suse.de>
7940 * lyxlex_pimpl.C (search_kw):
7941 * lyxlex.C (getLongString):
7942 * converter.h (operator<):
7943 * converter.C (operator<):
7944 * buffer.C (parseSingleLyXformat2Token):
7946 * ToolbarDefaults.C (read):
7947 * MenuBackend.C (checkShortcuts):
7949 * LColor.C (getFromGUIName):
7950 (getFromLyXName): use the compare_ascii_no_case instead of
7951 compare_no_case, because in turkish, 'i' is not the lowercase
7952 version of 'I', and thus turkish locale breaks parsing of tags.
7954 2002-07-16 Angus Leeming <leeming@lyx.org>
7956 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7957 now takes a Buffer const & argument.
7959 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
7961 * BufferView.C (resize): check there's a buffer to resize
7963 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
7965 * lyxfunc.C: remove dead code
7968 * lyxserver.C: use lyx_guii::set_read_callback
7970 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
7972 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7973 an inset in a RTL paragraph.
7975 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7977 * lyxfunc.C: repaint after a font size update
7979 2002-07-15 André Pönitz <poenitz@gmx.net>
7981 * lyxlength.C: inBP should be able to return negative values
7983 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7985 * lyxfunc.C: use lyx_gui::update_fonts()
7987 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7989 * lyxfunc.C: use lyx_gui::update_color()
7991 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7997 * lyxrc.C: remove file->new asks for name option, and let
7998 buffer-new take an argument
8000 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8002 * BufferView_pimpl.C: remove unneeded extra repaint()
8004 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
8006 * LyXAction.C: allow command-sequence with NoBuffer
8008 * lyxfunc.C: don't insist on trailing ';' for command-sequence
8010 2002-07-10 Angus Leeming <leeming@lyx.org>
8012 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8014 2002-07-09 Angus Leeming <leeming@lyx.org>
8016 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8018 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8020 * lengthcommon.h: whitespace
8022 * lyxfunc.C: update scrollbar after goto paragraph
8024 * lyxtext.h: factor out page break drawing, and fix it so
8025 page break/added space paints as selected nicely
8027 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8029 * BufferView_pimpl.C: add FIXMEs, clean up a little
8031 2002-07-09 André Pönitz <poenitz@gmx.net>
8033 * lyxfont.[Ch]: support for wasy symbols
8035 2002-07-08 André Pönitz <poenitz@gmx.net>
8037 * BufferView_pimpl.C: apply John's patch for #93.
8039 2002-07-05 Angus Leeming <leeming@lyx.org>
8041 * BufferView_pimpl.C (buffer): generate previews if desired.
8043 * LColor.h: add "preview" to the color enum.
8045 * LColor.C (LColor): add a corresponding entry to the items array.
8047 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8050 2002-07-05 Angus Leeming <leeming@lyx.org>
8052 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8053 The body of the code is now in the method that is passed an ostream &
8054 rather than a file name.
8055 Pass an additional only_preamble parameter, useful for the forthcoming
8058 2002-07-03 André Pönitz <poenitz@gmx.net>
8060 * lyxfunc.C: simplify getStatus() a bit for math stuff
8062 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8064 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8066 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8068 * text.C (changeRegionCase): do not change case of all the
8069 document when region ends at paragraph end (bug #461)
8071 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8073 * paragraph.C (startTeXParParams):
8074 (endTeXParParams): add \protect when necessary
8076 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8078 * BufferView_pimpl.C (workAreaExpose): remove warning
8080 2002-06-27 Angus Leeming <leeming@lyx.org>
8082 * Makefile.am: add lyxlayout_ptr_fwd.h.
8084 2002-06-26 André Pönitz <poenitz@gmx.net>
8086 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8088 2002-06-25 Angus Leeming <leeming@lyx.org>
8090 * lyxfunc.C (dispatch): Comment out the call to
8091 grfx::GCache::changeDisplay. The method no longer exists now that the
8092 pixmap generation part of the graphics loader has been moved into
8095 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8097 * text2.C: layout as layout
8099 * text.C: layout as layout
8101 * tabular.C (OldFormatRead): layout as layout
8103 * paragraph_pimpl.C (TeXDeeper): layout as layout
8104 (realizeFont): layout as layout
8106 * paragraph.C (writeFile): layout as layout
8107 (validate): layout as layout
8108 (getFont): layout as layout
8109 (getLabelFont): layout as layout
8110 (getLayoutFont): layout as layout
8111 (breakParagraph): layout as layout
8112 (stripLeadingSpaces): layout as layout
8113 (getEndLabel): layout as layout
8114 (getMaxDepthAfter): layout as layout
8115 (applyLayout): layout as layout
8116 (TeXOnePar): layout as layout
8117 (simpleTeXOnePar): layout as layout
8118 (TeXEnvironment): layout as layout
8119 (layout): layout as layout
8120 (layout): layout as layout
8122 * lyxtextclass.C (compare_name): new functor to work with
8123 shared_ptr, layout as layout
8124 (Read): layout as layout
8125 (hasLayout): layout as layout
8126 (operator): layout as layout
8127 (delete_layout): layout as layout
8128 (defaultLayout): layout as layout
8130 * lyxlayout_ptr_fwd.h: new file
8132 * lyxlayout.C (Read): layout as layout
8134 * lyx_cb.C (MenuInsertLabel): layout as layout
8136 * bufferlist.C (newFile): layout as layout
8138 * buffer.C (readLyXformat2): layout as layout
8139 (parseSingleLyXformat2Token): layout as layout
8140 (insertStringAsLines): layout as layout
8141 (asciiParagraph): layout as layout
8142 (latexParagraphs): layout as layout
8143 (makeLinuxDocFile): layout as layout
8144 (simpleLinuxDocOnePar): layout as layout
8145 (makeDocBookFile): layout as layout
8146 (simpleDocBookOnePar): layout as layout
8147 (getLists): layout as layout
8149 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8151 * CutAndPaste.C (cutSelection): layout as layout
8152 (pasteSelection): layout as layout
8153 (SwitchLayoutsBetweenClasses): layout as layout
8155 * BufferView_pimpl.C (Dispatch): layout as layout
8156 (smartQuote): layout as layout
8158 * BufferView2.C (unlockInset): layout as layout
8160 2002-06-24 André Pönitz <poenitz@gmx.net>
8162 * lyxfunc.C: fix #487
8164 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8168 * lyxfunc.C: remove display_shortcuts, show_banner
8170 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8172 * Buffer_pimpl.C: oops, update on resize
8174 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8181 * BufferView.C: use repaint()
8183 * BufferView_pimpl.h:
8184 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8185 as it's a clearer description. Remove superfluous
8188 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8190 * text.C: fix bug 488. Not ideal, but getting
8191 getWord() to work properly for the insets that
8192 matter is more difficult ...
8194 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8196 * BufferView_pimpl.C:
8199 * lyxfunc.C: remove the six million index lyxfuncs to just
8200 one, and DTRT (bug 458)
8202 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8206 * BufferView_pimpl.h:
8207 * BufferView_pimpl.C: clean up resize() stuff,
8208 and unnecessary updateScreen()s
8210 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8214 * BufferView_pimpl.h:
8215 * BufferView_pimpl.C:
8218 * minibuffer.C: remove focus management of workarea,
8219 not needed. Use screen's greyOut()
8221 2002-06-17 Herbert Voss <voss@lyx.org>
8223 * converter.C: (convert) do not post a message, when converting
8224 fails, let the calling function decide what to do in this case
8226 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
8228 * lyxfunc.C: tidy up a little
8230 2002-06-16 <alstrup@diku.dk>
8232 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8233 Got rid of FORMS_H_LOCATION include. Now we are
8236 2002-06-15 LyX Development team <lyx@rilke>
8238 * buffer.[Ch] (sgmlOpenTag):
8239 (sgmlCloseTag): Added support for avoiding pernicious mixed
8240 content. Return number of lines written.
8243 (makeDocBookFile): Fixed calls to sgml*Tag.
8244 Simple white space clean.
8246 (simpleDocBookOnePar): Simple white space clean.
8248 * tabular.[Ch] (docBook): Renamed to docbook and got another
8249 argument to related with the pernicious mixed content.
8251 (docbookRow): Fixed calls for docbook inset method.
8253 2002-06-15 Lyx Development team <larsbj@birdstep.com>
8255 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8256 so it's X11 independent.
8260 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8262 2002-06-15 Lyx Development team <lyx@electronia>
8264 * intl.h: Renamed getTrans to getTransManager.
8266 2002-06-14 Angus Leeming <leeming@lyx.org>
8268 * Makefile.am: nuke forgotten stl_string_fwd.h.
8270 2002-06-12 Angus Leeming <leeming@lyx.org>
8272 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8274 2002-06-13 Angus Leeming <leeming@lyx.org>
8277 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8279 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
8281 * kbmap.C (getiso): add support for cyrillic and greek
8283 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8287 * BufferView_pimpl.h:
8288 * BufferView_pimpl.C: move bogus scrolling logic
8291 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8294 * BufferView_pimpl.C: view->resize() change
8296 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8298 * BufferView_pimpl.C: topCursorVisible
8301 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8305 * lyx_gui.C: move to frontends/
8309 * lyx_main.C: changes from above
8311 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8318 * lyx_main.C: minor tidy
8320 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8322 * BufferView_pimpl.h:
8323 * BufferView_pimpl.C:
8325 * BufferView.C: make painter() const,
8328 * BufferView2.C: use screen() accessor
8331 * lyx_main.C: some minor cleanup
8333 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8335 * BufferView_pimpl.h:
8336 * BufferView_pimpl.C: remove enter/leaveView,
8339 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8344 * BufferView_pimpl.h:
8345 * BufferView_pimpl.C: only construct screen once,
8348 * lyxrc.C: remove pointless comment
8350 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8353 * BufferView.C: remove active() and belowMouse()
8355 * BufferView_pimpl.h:
8356 * BufferView_pimpl.C: use workarea() not workarea_,
8357 and make it use a scoped_ptr instead
8359 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8361 * lyx_gui.C: add debug message on BadWindow
8363 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8365 * sp_spell.C: fdopen is not part of the C++ standard.
8367 * paragraph.C (InsetIterator): use >= instead of ==
8369 2002-06-07 Angus Leeming <leeming@lyx.org>
8371 Fixes needed to compile with Compaq cxx 6.5.
8372 * BufferView_pimpl.C:
8379 * lyxtextclasslist.C:
8384 all c-library variables have been moved into namespace std. Wrap
8385 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8390 Add a using std::abs declaration.
8392 * kbmap.h (modifier_pair):
8393 * paragraph.h (InsetTable, InsetList):
8394 * lyxfont.h (FontBits):
8395 type definition made public.
8397 * bufferlist.C (emergencyWriteAll): the compiler complains that
8398 there is more than one possible lyx::class_fun template to choose from.
8399 I re-named the void specialisation as lyx::void_class_fun.
8401 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8403 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8404 the compiler is is unable to find tostr in write_attribute.
8406 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8408 * buffer.C (sgmlError): hide #warning
8410 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8412 * xtl/*: get rid of xtl, which is not in use anyway
8414 * LyXAction.C (init):
8415 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8416 were unimplemented xtl experimentation
8418 2002-06-04 André Pönitz <poenitz@gmx.net>
8420 * lyxfunc.C: disable array operation on simple formulae
8422 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
8424 * converter.C: constify a bit
8426 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
8428 * lyx_gui.C: check xforms version correctly
8430 2002-04-30 Herbert Voss <voss@lyx.org>
8432 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8435 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
8437 * lyxvc.C: fix bug 416 (make sure buffer is saved before
8438 attempt to register it with a VCS)
8440 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8442 * lyx_main.C (init): honor variables LYX_DIR_13x and
8445 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8449 * lyx_main.C: fix a crash on bad command line,
8450 and give a useful exit status on error
8452 * lyxfunc.C (doImport): allow -i lyx to work
8454 2002-03-30 André Pönitz <poenitz@gmx.net>
8456 * lyxfunc.C: mathed font changes
8458 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8473 * trans_mgr.h: srcdocs, and some minor cleanups
8475 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8477 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8478 call getFont all the time)
8480 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8482 * switch from SigC signals to boost::signals
8484 2002-05-29 André Pönitz <poenitz@gmx.net>
8486 * paragraph_pimpl.C (getChar): don't call size() too often...
8488 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8490 * paragraph_pimpl.C (insertChar): do not try to update tables when
8491 appending (pos == size())
8493 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8494 in order to reduce drastically the number of comparisons needed to
8495 parse a large document
8497 2002-05-29 André Pönitz <poenitz@gmx.net>
8503 * textclasslist.[Ch]:
8504 * sp_ispell.h: whitespace change
8506 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8508 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8509 lyxaction directly now.
8511 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
8515 * lyxvc.C: remove unused headers
8517 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8524 * undo_funcs.C: some cleanups. Use shared_ptr
8525 and a template for the undo stacks.
8527 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8529 * BufferView_pimpl.h:
8530 * BufferView_pimpl.C:
8537 * text2.C: use key_state/mouse_state
8539 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8541 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8544 * chset.C: change include order
8545 (loadFile): use boost regex and get rid of LRegex and LSubstring
8547 * Makefile.am (BOOST_LIBS): new variable
8550 * LaTeX.C: change include order.
8551 (scanAuxFile): use boost regex and get rid of LRegex and
8555 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8560 * FontInfo.C: moved to frontends/xforms/
8563 * FontLoader.C: moved into frontends for GUIIzation
8568 * lyxfunc.C: changes from above
8570 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8572 * LColor.C: remove spurious X include
8574 * BufferView_pimpl.C:
8579 * text2.C: move font metrics to frontends/
8581 2002-05-24 Juergen Vigna <jug@sad.it>
8583 * undo_funcs.C (textHandleUndo): fix the cursor selection after
8584 setting the undo_cursor.
8586 * ParagraphParameters.h: include local includes first.
8588 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8590 * BufferView_pimpl.C:
8591 * BufferView_pimpl.h:
8595 * screen.C: move WorkArea into frontends/
8601 * BufferView2.C: move LyXScreen into frontends/
8605 * lyx_gui.C: move lyxlookup into frontends/xforms/
8607 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8610 * BufferView_pimpl.C:
8620 * bufferview_funcs.C:
8633 * vc-backend.C: move LyX/XFormsView into frontends/
8635 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8647 * text2.C: move Painter to frontends/
8649 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8651 * buffer.C: comment out some some code that depend upon lyx_format
8654 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8655 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8657 * buffer.h (NO_COMPABILITY): turn off compability
8659 * ColorHandler.C: include scoped_array.hpp
8661 * font.C: Use more specific smart_ptr header.
8664 * ShareContainer.h: ditto
8668 * BufferView_pimpl.h: ditto
8669 * ColorHandler.h: ditto
8671 * kbmap.C (defkey): change call to shared_ptr::reset
8673 2002-05-21 Juergen Vigna <jug@sad.it>
8675 * buffer.C (insertErtContents): fix to insert ert asis if it is
8676 non empty. Skip it completely if it contains only whitespaces.
8678 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
8680 * BufferView_pimpl.C:
8681 * BufferView2.C: clear selection on paste (bug 393)
8683 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8685 * DepTable.C: include ctime
8687 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
8689 * buffer.C (latexParagraphs): Add new argument (moving_arg).
8691 2002-05-14 Juergen Vigna <jug@sad.it>
8693 * text.C (breakParagraph): fixed function to honor the keepempty
8694 layout in the right maner and also to permit the right breaking
8695 algorithm on empty or non empyt keepempty paragraphs.
8697 * paragraph.C (breakParagraph): we have to check also if the par
8698 is really empty (!size()) for isempty otherwise we do the wrong
8701 2002-05-10 Juergen Vigna <jug@sad.it>
8703 * buffer.[Ch] : The following are only changes to the ert
8704 compatibility read reading old LaTeX layout and font stuff and
8705 convert it to ERTInsets.
8707 * buffer.h: added isErtInset().
8709 * buffer.C (struct ErtComp): add a fromlayout bool to check
8710 if we're inside a LaTeX layout.
8711 (isErtInset): new helper function.
8712 (insertErtContents): look for other ert insets before this one
8713 and insert the contents there, so that we don't have subsequent
8714 ERT insets with nothing between them. This way we create only one
8715 inset with multiple paragraphs. Also check if we don't insert only
8716 spaces ' ' as they are ignored anyway afterwards in the .tex file
8717 so if we have only spaces we will ignore this latex part in the
8719 (parseSingleLyXformat2Token \\layout): better compatibility when
8720 reading layout-latex stuff.
8721 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8723 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8724 stuff after reading the inset only get the information back from
8727 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
8729 * buffer.C (makeLaTeXFile): Put language options after loading babel.
8731 * LaTeXFeatures.C (getBabelOptions): New method.
8733 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8735 * BufferView_pimpl.C (Dispatch): work around missing argument for
8738 2002-05-08 Juergen Vigna <jug@sad.it>
8740 * text.C (leftMargin): handle paragraph leftindent.
8742 * paragraph.C (writeFile): write the new \\leftindent tag.
8743 (validate): handle leftindent code.
8744 (TeXEnvironment): handle paragraphleftindent code again.
8746 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8748 * buffer.C (parseSingleLyXformat2Token): added compatibility code
8749 for paragrap_extra indent code and new token \\leftindent.
8750 (latexParagraphs): handle the leftindent as environment.
8752 * ParameterStruct.h: added leftindent support.
8754 * ParagraphParameters.C (leftIndent): added support functions for
8755 the paragraph left indent.
8757 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8760 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
8762 * paragraph.C (isRightToLeftPar): Return false for a paragraph
8765 * text.C (computeBidiTables): No bidi in insetERT.
8767 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8770 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8772 * version.C.in: pre 5
8774 2002-05-02 José Matos <jamatos@fep.up.pt>
8775 * buffer.C (makeDocBookFile): white space changes, add newline to
8777 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8779 * tabular.C (docBook): fix typo.
8781 2002-05-03 Juergen Vigna <jug@sad.it>
8783 * screen.C (drawFromTo): recalculate the rowpointer if we had a
8784 change in LyXText as we can not be sure it was not freed.
8785 (drawOneRow): remove unused code.
8787 * text.C (drawInset): redo the calculation of the need_break_row as
8788 it could have a row which was already freed.
8789 (draw): look at the return value of drawInset and return false if
8790 it also returned false.
8791 (paintRowText): look at the return value of draw and return false if
8792 it also returned false.
8794 * lyxtext.h: added bool return type to drawInset() and draw() so that
8795 if we have a change in the row so that the rowbreak has to be redone
8796 we abort drawing as it will be called again.
8798 2002-05-02 Juergen Vigna <jug@sad.it>
8800 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8801 a change in the maintext also if we're inside an inset.
8802 (Dispatch): set the cursor again after a break line and after the
8803 screen has been updated as it could be we're in a different row.
8805 * text2.C (fixCursorAfterDelete): check to make sure we don't request
8806 to set the cursor behind the pargraph with > size().
8807 (setCursor): check also for the same paragraph when checking where
8808 to put the cursor if we have a NFR inset.
8810 * buffer.C (parseSingleLyXformat2Token): move the compatibility
8811 parts of layout read further up as it still was in the wrong
8814 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8816 * screen.C (drawFromTo): change sine fullRebreak always return
8819 * buffer.C (parseSingleLyXformat2Token): reindent some
8821 * BufferView_pimpl.C (update): change since fullRebreak always
8823 (Dispatch): git rid of the last hardcoded "Standard"s.
8825 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
8827 * text2.[Ch] (fullRebreak): make it return void now that we always
8830 2002-04-30 Juergen Vigna <jug@sad.it>
8832 * buffer.C (parseSingleLyXformat2Token): reset the font before the
8833 ert compatibility check for "latex" layout.
8835 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
8837 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8838 minipages: use col% instead of p%, and also use the current font.
8839 (makeLaTeXFile): Fix use babel condition.
8840 (parseSingleLyXformat2Token): Correct font when reading old floats.
8842 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
8844 * BufferView_pimpl.C (Dispatch): Check that float type exists when
8845 inserting list of floats.
8847 2002-04-25 Herbert Voss <voss@lyx.org>
8849 * MenuBackend.C (expand): don't add the graphics extensions to the
8852 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8854 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8855 non-existing layout, do not complain if it was the default layout
8856 of the original class (bug #342)
8858 2002-04-24 Juergen Vigna <jug@sad.it>
8860 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8861 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8863 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
8865 * buffer.C (getBibkeyList): If using \bibliography, return the
8866 option field with the reference itself. Enables us to provide natbib
8867 support when using \bibliography.
8869 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
8871 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8873 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8874 natbib is provided by the LaTeX class.
8876 2002-04-23 Juergen Vigna <jug@sad.it>
8878 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8881 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8883 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8885 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8887 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8888 ensuremath around textordmasculine, textordfeminine and
8891 2002-04-19 Juergen Vigna <jug@sad.it>
8893 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8894 reinitializing the buffer otherwise row-dimensions may be wrong.
8895 (update): reset also the selection cursors if they do exits otherwise
8896 their x/y positions may be wrong.
8898 * text2.C (cursorDown): don't enter the inset if we came from a row
8899 above and are one row over the inset.
8901 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8902 really leaving an inset.
8904 2002-04-18 Juergen Vigna <jug@sad.it>
8906 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8907 of the selected paragraph does not have the selected layout also if
8910 * text2.C (setLayout): fixed bug which did not change last selected
8913 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8914 changed the read and substituted \\end_float with \\end_inset!
8916 * BufferView_pimpl.C (cursorPrevious):
8917 (cursorNext): fixed to make it work with rows heigher than the work
8918 area without moving the cursor only the draw of the row.
8919 (workAreaMotionNotify): fix jumping over high rows.
8921 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8923 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8926 2002-04-16 Juergen Vigna <jug@sad.it>
8928 * text2.C (setCursor): set also the irow().
8929 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8931 (cursorDown): support for locking an inset if the x_fix value goes
8932 inside it. That way I can transverse insets too with cursor up/down.
8934 * lyxrow.h: added irow helper function same as other (i) functions.
8936 * BufferView_pimpl.C (cursorPrevious):
8937 (cursorNext): fixed for insets!
8939 2002-04-15 Juergen Vigna <jug@sad.it>
8941 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8942 position otherwise it is wrong in some cases.
8944 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8945 inside the inset before the call.
8947 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
8949 * buffer.[Ch] (getBibkeyList): make it const.
8951 2002-04-12 Juergen Vigna <jug@sad.it>
8953 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8955 * text2.C (getCursorX): new helper function
8956 (setCursor): compute also ix_
8957 (setCursorFromCoordinates): set also ix.
8959 * lyxcursor.h: added ix_ and helper functions.
8961 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8963 * buffer.C (insertStringAsLines): dont break paragraph if the this
8964 paragraph is inside an inset which does not permit it!
8966 * text.C (breakParagraph): honor keepempty flag and break the paragraph
8967 also with no chars on this paragraph.
8968 (paintRowText): only paint stuff if it's inside the workarea!
8970 * paragraph.C (breakParagraph): honor keepempty flag and break the
8971 paragraph always below not above.
8973 * BufferView2.C (unlockInset): update the paragraph layout on inset
8974 unlock as we changed paragraph in such a case.
8976 * lyxfind.C (LyXFind): clear the former selection if not found!
8978 * text2.C (insertInset): freeze Undo after setUndo so that it is not
8979 again called in insertChar().
8981 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8982 an inset which uses the whole row!
8983 (rightMargin): ditto.
8984 (insertChar): force a rebreak if we inserted an inset!
8986 2002-03-28 Herbert Voss <voss@lyx.org>
8988 * lyxlength.[Ch]: add inBP() to get the right PS-point
8989 units (BigPoint). With inPixels we have rounding errors
8991 2002-04-11 Juergen Vigna <jug@sad.it>
8993 * text2.C (setCursorFromCoordinates): set iy to the right value.
8994 (setCursor): add check if row->previous exists!
8996 * buffer.C (parseSingleLyXformat2Token): reset font after read of
8997 an old float_type as this was the case in the old code!
8999 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9001 * BufferView2.C (showLockedInsetCursor): use iy
9002 (fitLockedInsetCursor): ditto
9004 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9005 locked insets as there we have the right value now.
9007 * lyxcursor.C: added iy_ variable and iy functions to set to the
9008 baseline of cursor-y of the locked inset.
9010 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9011 (setCursor): fixed for insets which need a full row.
9013 * text.C (rowLastPrintable): don't ignore the last space when before
9014 an inset which needs a full row.
9015 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9016 as last character of a row when before a inset which needs a full row.
9018 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9020 * version.C.in: update date
9022 * text2.C (fullRebreak): try to always return true and see what
9025 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9027 * MenuBackend.C (expand): use Floating::listName
9029 * FloatList.C (FloatList): add listName argument to the built-in
9032 * Floating.[Ch]: add listName member, which is the 'List of XXX'
9033 text associated with the float.
9035 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9037 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9039 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9041 * ShareContainer.h: add a couple of missing typenames.
9043 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
9045 * lyxrc.C (getDescription): use _() correctly rather than N_().
9047 2002-03-28 Herbert Voss <voss@lyx.org>
9049 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9050 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9052 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9054 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9055 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9057 2002-03-29 Juergen Vigna <jug@sad.it>
9059 * lyxfunc.C (dispatch): add a missing fitCursor call.
9061 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9062 it was scrolled by a cursor move, so return the bool status.
9064 * BufferView.C (fitCursor): return the bool flag also to the outside
9065 world as this is needed.
9067 * screen.C (toggleToggle): don't subtract the offset if it's positive.
9069 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9070 call the edit() as it is not needed (and wrong) IMO.
9071 (workAreaButtonPress): set the screen_first variable before evt.
9072 unlock the inset as this may change screen_first and then we have
9073 a wrong y position for the click!
9075 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9077 * MenuBackend.C (expand): another translation that I missed
9079 2002-03-28 Juergen Vigna <jug@sad.it>
9081 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9083 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9085 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9087 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9089 * MenuBackend.C (expand): fix export/view/update when there is no
9092 2002-03-27 Herbert Voss <voss@lyx.org>
9094 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9097 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9099 * bufferview_funcs.C (currentState): only show paragraph number
9100 for is DEVEL_VERSION is set.
9102 * lyxfunc.C (dispatch): put warning in INFO channel
9104 * MenuBackend.C (expand): translate the name of floats
9106 * FloatList.C (FloatList): mark the float names for translation
9108 * converter.C (convert): use LibScriptSearch
9110 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9112 * MenuBackend.C (defaults): fix default menu (we might as well get
9115 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9117 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9120 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9122 * lyxvc.C: reorder includes.
9124 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
9126 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9129 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9131 * CutAndPaste.C: change layouts earlier on paste
9132 to avoid crashing when calling getFont()
9134 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9136 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9139 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9141 * WorkArea.C: remove 'Pending' debug message.
9143 * most files: ws cleanup
9145 * buffer.[Ch]: ws changes
9147 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9149 2002-03-21 Juergen Vigna <jug@sad.it>
9151 * tabular.C (SetMultiColumn): collapse also the contents of the
9152 cells and set the last border right. Added a Buffer const * param.
9154 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9156 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9159 2002-03-19 Juergen Vigna <jug@sad.it>
9161 * text2.C (clearSelection): reset also xsel_cache.
9163 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9164 where it needs to be called (John tells us to do so too :)
9165 (selectionLost): reset sel_cache.
9167 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9169 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9171 * text2.C (setCursorIntern): put debuging code in INSETS channel
9173 2002-03-19 André Pönitz <poenitz@gmx.net>
9175 * lyxfunc.C: tiny whitespace change
9177 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9179 * ToolbarDefaults.C (init):
9180 * LyXAction.C (init):
9182 * BufferView_pimpl.C (Dispatch):
9183 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9185 2002-03-19 Allan Rae <rae@lyx.org>
9187 * exporter.C (Export): removeAutoInsets before doing anything else.
9188 While I've just introduced a dependency on BufferView this really is
9189 the best place to clean the buffer otherwise you need to cleanup in
9190 a dozen places before calling export or cleanup in a dozen functions
9193 * converter.C (runLaTeX):
9194 (scanLog): Better handling of removeAutoInsets and screen updates.
9196 * lyxfunc.C (dispatch): small whitespace changes
9198 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9200 * WorkArea.C (C_WorkAreaEvent): return a value.
9201 (event_cb): return 1 if we handled the event, 0 otherwise.
9203 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9205 2002-03-18 Juergen Vigna <jug@sad.it>
9207 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9208 (GetAdditionalWidth): ditto.
9212 * BufferView2.C (copy): use getLyXText() so that we do it inside an
9213 inset if we're there actually (probably not used right now but this
9214 is the direction to go for unifying code).
9215 (paste): disable code to clear the selection.
9217 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9218 inside an InsetText and move the check further up as it is in the
9221 * text2.C (pasteSelection): set a selection over the pasted text.
9223 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
9225 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9226 and libgraphics to build on Cygwin.
9228 2002-03-15 Juergen Vigna <jug@sad.it>
9230 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9231 inserting an Inset into the paragraph. I know this is not the best
9232 fix but we already use current_view in CutAndPaste so we will remove
9233 all of it's using at the same time.
9235 * buffer.C (sgmlError): deactivated function till it is rewritten in
9236 the right mode, now it can create problems.
9238 * paragraph.C (isLineSeparator): check if getInset returns != 0,
9239 before accessing it.
9241 2002-03-14 Juergen Vigna <jug@sad.it>
9243 * undo_funcs.C (textHandleUndo): do the right thing when updating
9244 the inset after the undo/redo.
9246 * text2.C (setCursor): just some testcode for #44 not ready yet.
9248 * undo_funcs.C (textHandleUndo): set the next() and previous()
9249 pointers of the paragraph to 0 before deleting otherwise we have
9250 problems with the Paragraph::[destructor].
9252 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9253 on a paragraph insertion.
9255 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9257 * buffer.C (asciiParagraph): use += operator for char append to
9260 * paragraph.C (getFontSettings): compare >= not just >
9261 (highestFontInRange): ditto
9264 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9266 * paragraph.C: change several algorithm to be more appripriate for
9267 the problem domain. This is lookip in FontList and in the InsetList.
9269 2002-03-13 André Pönitz <poenitz@gmx.net>
9272 * LyXAction.C: remove unused LFUN_MATH_MACROARG
9274 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
9279 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9281 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9283 * Painter.C (display): anon helper function, adjust code for this
9285 (pixmap): remove function.
9287 * Painter.h: remove private display variable.
9289 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9291 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
9293 * WorkArea.[Ch]: remove figinset_canvas cruft.
9295 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9297 * lyxtextclass.C (operator): add one item cache optimization.
9299 * bufferlist.h: doxy changes
9301 * bufferlist.C: ws changes
9303 * DepTable.[Ch] (ext_exist): place const in the right spot.
9305 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9307 (workAreaExpose): call resizeInsets when the with BufferView changes.
9308 (Dispatch): adjust for protectedBlank removal
9309 (specialChar): call updateInset if the insert went ok.
9311 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9312 specialChar instead.
9314 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9316 * BufferView.h: doxy change
9318 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9320 * lyxtextclass.C (operator[]): remove non-const version
9321 (defaultLayout): remove non-const version
9323 2002-03-12 Juergen Vigna <jug@sad.it>
9325 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9326 did resize the LyXText too.
9328 * buffer.C (readLyXformat2): set layout information on newly allocated
9331 * tabular.C (OldFormatRead): set layout information on the paragraph.
9333 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9335 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9337 2002-03-11 Juergen Vigna <jug@sad.it>
9339 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9341 (resizeCurrentBuffer): force also the insets to resize themselfes.
9342 (moveCursorUpdate): fixed up for InsetText.
9344 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
9347 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9348 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9349 value of Dialogs::tooltipsEnabled().
9350 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9352 2002-03-08 Juergen Vigna <jug@sad.it>
9354 * BufferView_pimpl.C (updateInset): update inset inside inset also
9355 if it isn't inside theLockingInset().
9357 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9359 * buffer.C (asciiParagraph): redo some of the word and line length
9361 (getLists): look for Caption instead of caption.
9363 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9365 * buffer.C (Buffer): initialize niceFile to true
9368 (makeDocBookFile): make sure niceFile is true on exit
9370 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9372 * buffer.C (makeLaTeXFile): escape ~ in \input@path
9374 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
9376 * LyXSendto.C: remove.
9377 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9378 * lyx_gui.C: remove now-redundant comment.
9379 * ColorHandler.h: remove forward declaration of class WorkArea.
9380 * lyxfunc.C: remove #include "WorkArea.h".
9382 2002-03-07 Juergen Vigna <jug@sad.it>
9384 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9385 got moved away with the DEPM and also set the inset_owner always
9386 right which before could have been omitted.
9388 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9390 * buffer.C (parseSingleLyXformat2Token): use default layout is the
9391 wanted layout is not found.
9393 2002-03-07 Juergen Vigna <jug@sad.it>
9395 * CutAndPaste.C (cutSelection): another layout settings forgotten.
9397 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9399 * paragraph.C (breakParagraph): use default layout not layout of
9401 (Paragraph): clear ParagraphParameters.
9403 2002-03-06 Juergen Vigna <jug@sad.it>
9405 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9406 otherwise it would not be a valid lenght. Fixed a special case in
9407 the minipage compatibility read where we end the document with a
9410 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9411 was set as it could be 0 for InsetTexts first entry.
9413 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9415 * paragraph.C (writeFile): if layout is empty write out
9416 defaultLayoutName().
9418 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9419 file without named layout we set layout to defaultLayoutName().
9421 2002-03-06 Juergen Vigna <jug@sad.it>
9423 * CutAndPaste.C (copySelection): set layout for new paragraph.
9425 * text.C (prepareToPrint): leave ERT inset left aligned
9426 (leftMargin): don't indent paragraphs inside ERT insets
9428 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9430 * paragraph.C (breakParagraph): dont call clear do the work manually
9432 * paragraph.[Ch] (clear): remove function
9434 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9436 * paragraph.C (Paragraph): dont call clear, the work has already
9439 * lyxtextclass.C (operator): assert if n is empty
9441 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9442 work manually instead.
9444 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9446 * BufferView_pimpl.C: protect selectionLost against text == 0
9448 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9450 * text.C (breakParagraph): fix a setting layout to '0' problem.
9452 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9454 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9455 final location of file, for the included files, and graphics.
9457 2002-03-05 Juergen Vigna <jug@sad.it>
9459 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9461 2002-03-04 Juergen Vigna <jug@sad.it>
9463 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9465 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9466 last column of multicolumn cells.
9467 (SetWidthOfMulticolCell): recalculate NMC and real columns.
9469 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
9471 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9472 file if it doesn't go to a temporary file.
9474 * buffer.C (sgmlOpenTag):
9475 (sgmlCloseTag): remove extra newline insertion.
9477 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9479 * text.C (getRowNearY): comment out debug msg
9481 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9483 * text2.C: first -> first_y
9485 * text.C (getRowNearY): add some attemts at a possible
9486 optimization, not working.
9488 * tabular.[Ch]: add BufferParams to several function so that newly
9489 created paragraph can be initialized to he default layotu for the
9492 * tabular-old.C (ReadOld): add buf->params to call of Init
9494 * screen.C: rename text->first to text->first_y
9496 * paragraph.C (breakParagraph): always set layout in the broken
9499 * lyxtextclass.C (Read): remove lowercase
9502 (delete_layout): ditto
9504 * lyxtext.h: rename first -> first_y
9506 * lyxlayout.C (Read): remove lowercase
9509 (obsoleted_by): ditto
9511 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9513 * buffer.C (insertErtContents): add params are to InsetERT
9514 (parseSingleLyXformat2Token): add code to check if a paragraphs
9515 layout really exist.
9516 (parseSingleLyXformat2Token): add params to several inset
9518 (asciiParagraph): remove lowercase, do the layout comparisons with
9521 * BufferView_pimpl.C (cursorNext): first -> first_y
9522 (resizeCurrentBuffer): first -> first_y
9523 (updateScrollbar): first -> first_y
9524 (scrollCB): first -> first_y
9525 (workAreaMotionNotify): first -> first_y
9526 (workAreaButtonPress): first -> first_y
9527 (checkInsetHit): first -> first_y
9528 (cursorPrevious): first -> first_y
9529 (cursorNext): first -> first_y
9530 (Dispatch): add buffer_->params to severl inset contructors
9532 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9534 * lyxlayout.C (Read): remove some debug info that I forgot.
9536 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9537 clean up the code slightly.
9538 (makeLinuxDocFile): ditto
9539 (makeDocBookFile): ditto
9541 * text2.C: layout as string
9543 * text.C: layout as string
9545 * paragraph_pimpl.C: layout as string
9547 * paragraph.[Ch]: layout as string
9549 * lyxtextclasslist.[Ch]: layout as string
9551 * lyxtextclass.[Ch]: layout as string
9553 * lyxtext.h: layout as string
9555 * lyxlayout.[Ch]: layout as string
9557 * lyx_cb.C: layout as string
9559 * bufferview_funcs.C: layout as string
9561 * bufferparams.C: layout as string
9563 * buffer.C: layout as string
9565 * LyXView.[Ch]: layout as string
9567 * LaTeXFeatures.[Ch]: layout as string
9569 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9571 * BufferView_pimpl.C: change current_layout to string, remove
9576 (workAreaButtonRelease): layout as string
9578 * BufferView2.C (unlockInset): adjust
9580 * vspace.C (asLatexCommand): use an explict temp variable.
9582 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9584 * Makefile.am: use FRONTEND_*
9586 2002-03-01 Juergen Vigna <jug@sad.it>
9588 * tabular.C (SetWidthOfMulticolCell): changed to something better
9589 I hope but still work in progress.
9590 (recalculateMulticolumnsOfColumn): renamed function from
9591 recalculateMulticolCells as it is more appropriate now.
9592 (SetWidthOfCell): calculate multicols better.
9594 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9596 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9598 * lyxfunc.C (processKeySym): print sequence also if it is
9599 `deleted' (complete)
9601 * kbsequence.C (print): print sequence even if it is deleted
9602 (complete would be a better word, actually).
9604 * lyxfunc.C (dispatch): print complete options after a prefix key
9606 * vspace.C (asLatexCommand): rewrite in a slightly different form.
9608 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
9610 * text2.C (setCharFont): eliminate setCharFont code duplication.
9612 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9614 * BufferView_pimpl.C (Dispatch): remove bogus handling of
9615 LFUN_TABULAR_FEATURE (bug #177)
9617 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
9619 * Makefile.am: remove figure.h
9621 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
9623 * Bufferview_pimpl.C:
9635 * text2.C: remove #include "lyx_gui_misc.h".
9637 * LaTeX.C: added #include <cstdio>
9639 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9641 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9642 that the paragraph following this one can have.
9644 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9646 * vspace.C (asLatexCommand): fix bogus gcc warning
9648 * Makefile.am (lyx_SOURCES): remove vms_defines.h
9650 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
9652 * text2.C (setLayout): get rid of redundant code
9654 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
9656 * text2.C (incDepth): make sure depth cannot be increased beyond
9659 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
9661 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9662 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9664 * PainterBase.h (image):
9665 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9668 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9672 * BufferView_pimpl.C:
9673 * BufferView_pimpl.h:
9693 * sp_spell.C: remove fig inset, and the crap house of
9694 cards that follows it
9696 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9702 * nt_defines.h: move .h into support/
9704 * vms_defines.h: remove
9706 * WorkArea.C: add space in debug output
9710 * buffer.C: add WITH_WARNINGS
9714 * bufferlist.C: s/retrive/retrieve/, add docs
9725 * lyxgui.C: add ID to X error handler
9727 * lyxtestclass.c: fix typo
9729 2002-02-26 Juergen Vigna <jug@sad.it>
9731 * tabular_funcs.C (write_attribute): changed so that some default
9732 attributes are not written at all.
9733 (getTokenValue): set default values before trying to read the
9734 value so we have the return value always set as default if we don't
9735 find the token we search for.
9737 * tabular.C (Write): write bools as bools not as strings!
9739 2002-02-22 Juergen Vigna <jug@sad.it>
9741 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9742 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9744 * text.C (leftMargin): don't add an indent for paragraphs inside
9745 tabular cells (fix #208).
9747 2002-02-21 José Matos <jamatos@fep.up.pt>
9749 * tabular.C (docBook): fixed support for long tables.
9751 2002-02-20 Juergen Vigna <jug@sad.it>
9753 * text2.C (getFont): get the drawing font of the Inset if this
9754 paragraph is inside an inset (only important for InsetERT for now).
9756 * buffer.C (insertErtContents): use new lanugage params in ERT
9759 * CutAndPaste.C: commenting out seemingly uneeded code.
9761 2002-02-19 Allan Rae <rae@lyx.org>
9763 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9764 Iterators might be simple to use but they also get invalidated.
9765 (removeAutoInsets): renamed saved cursor tracking variables and added
9766 some comments to clarify what everything does.
9768 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
9775 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9776 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9779 * vc-backend.h: remove #include "support/syscall.h"
9783 * converter.C: rearrange #includes in Lars' approved fashion.
9785 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9786 forward declare class Timeout in the header file.
9788 * XFormsView.C: changes due to the above.
9790 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9793 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9794 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9796 2002-02-18 José Matos <jamatos@fep.up.pt>
9798 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9801 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9803 * a lot of small ws changes
9804 * add a lot of using std::XXX
9805 * use std construcs some places where approp.
9806 * use some exisint stuff from lyxfunctional where approp.
9807 * Make file changes to use partial linking (lets test this now...)
9809 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9813 remove #include "support/syscontr.h" as it's redundant. Always has been.
9821 change Systemcalls::System to Systemcalls::Wait and
9822 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9823 No change of functionality, just reflects the stripped down Systemcalls
9826 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9828 * debug.[Ch]: add a GRAPHICS type to the enum.
9830 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9832 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9834 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9837 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9839 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9840 match the changes below.
9842 * text2.C (toggleInset): if there is not editable inset at cursor
9843 position, try to see if cursor is _inside_ a collapsable inset
9846 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9848 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9849 document menu has a nice checkbox
9851 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9853 * lyxlength.C (asLatexString): change PW to output as percent of
9856 * lengthcommon.C: change '%' to 't%'
9858 * lyxfunc.C (dispatch): a few comments from Martin
9860 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
9864 * BufferView_pimpl.h:
9865 * BufferView_pimpl.C: clear our selection when X tells us we've lost
9868 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9870 * vspace.C (inPixels): fix compiler warning
9872 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9874 * lyxfunc.C (getStatus): fix status message for disabled commands.
9876 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
9878 * BufferView_pimpl.C: fix crash on close buffer
9879 during selection (#227)
9881 2002-01-27 Herbert Voss <voss@lyx.org>
9883 * buffer.C: link old Figure to new graphic inset
9885 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
9887 * FontLoader.C (getFontinfo): Change the latex font names in order
9888 to match the names of type1inst.
9890 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9892 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9894 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9897 (remove_files_with_extension): ditto
9898 (remove_file): ditto
9901 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9902 document is smaller than the work area height. Do not initialize
9903 static variables to 0.
9905 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9907 * lyx_gui.C (init): give the toolbar tooltips a normal font.
9909 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9910 LFUN_LAYOUT_PARAGRAPHS.
9912 * tabular.C (GetCellFromInset): new method. Finds an inset in a
9913 tabular. It is possible to provide a possible cell, which will
9914 typically be the actcell from the corresponding insettabular
9916 * lyxfunc.C (getStatus): small cleanup; disable
9917 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9920 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9922 * tabular.C (Validate): remove broken optimization (fixes bug #201)
9924 * paragraph.C (startTeXParParams):
9925 (endTeXParParams): new methods. The LaTeX code to
9926 start/end paragraph formatting
9927 (simpleTeXOnePar): call startTeXParParams also when paragraph is
9928 empty (fixes bug #200)
9930 * vspace.C (inPixels): adapt to the change below
9931 (inPixels): [later] more cleanups (remove unused variables)
9933 * lyxlength.C (inPixels): change to use a width and a height as
9936 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9938 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9939 Replaced with \paperwidth
9941 * DepTable.C (insert): add std:: qualifier
9943 2002-01-18 Allan Rae <rae@lyx.org>
9945 * text2.C (removeRow): add comment. Should other refresh_?? vars be
9948 * text.C (drawInset): Turned out I didn't know enough about how
9949 rebreaking worked. This fixes most of the redraw problems. I see
9950 an occasional cursor trail when a line is broken now and the cursor
9951 placement can seem out by a few pixels also after a rebreak.
9953 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9955 * buffer.C (parseSingleLyXformat2Token): update because minipage
9956 width is now a LyXLength
9958 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9960 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9963 2002-01-17 Juergen Vigna <jug@sad.it>
9965 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9967 * BufferView2.C (lockInset): call edit() so that theLockingInset()
9968 is set correctly and the inset is updated correctly.
9970 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9972 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9973 the beginning of the loop.
9975 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
9977 * lyxrc.C: improve help for use_scalable_fonts
9979 2002-01-17 Allan Rae <rae@lyx.org>
9981 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9983 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9985 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9986 make sure to set their inset_owner to the right value (bug #171)
9988 2001-12-12 Ben Stanley <bds02@uow.edu.au>
9991 * DepTable.C: Implement mtime checking to reduce time spent doing
9994 2002-01-16 Juergen Vigna <jug@sad.it>
9996 * tabular.C (GetAdditionalHeight): one of error fixed.
9998 * lyxrc.C (output): small fix in writing use_pspell.
10000 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
10002 * sp_base.h: #include LString.h
10004 2002-01-16 Allan Rae <rae@lyx.org>
10006 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
10007 Can someone check this please?
10009 * text.C (drawInset): It was possible that p.row would be removed by
10010 breakAgainOneRow upsetting a few other settings. There may be another
10011 small tweak possible by setting need_break_row = 0 when p.row has been
10012 removed but I don't know enough about the logic here.
10014 2002-01-15 Allan Rae <rae@lyx.org>
10016 * text.C (insertChar): removed conditional truism.
10018 * BufferView2.C (removeAutoInsets): More tweaks.
10019 cur_par_prev could be a stray pointer. Check for trailing empty line
10020 in case last line was cur_par and only had an error inset on it.
10022 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10024 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10027 * vc-backend.C (most methods):
10028 * exporter.C (Export):
10029 * converter.C (convert):
10031 * LyXSendto.C (SendtoApplyCB):
10032 * lyxfunc.C (dispatch):
10036 * lyx_cb.C (AutoSave):
10038 * BufferView_pimpl.C (MenuInsertLyXFile):
10039 * buffer.C (runChktex): use Buffer::filePath().
10041 * buffer.h: rename filename to filename_; rename filepath to
10042 filepath_ and make it private
10043 (filePath): new method
10045 * buffer.C (writeFile): use fileName()
10048 * lyx_main.C (init): fix starting of LyX when the binary is a
10049 link from so,ewhere else.
10051 * minibuffer.C: include <cctype> for isprint
10053 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10055 * buffer.C (parseSingleLyXformat2Token): changes associated with the
10056 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10057 name clash with InsetCollapsable's width function.
10059 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10061 * lastfiles.C: include <iterator>
10063 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10065 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10068 * buffer.C (makeLaTeXFile): ditto.
10069 Also make loop operation more transparent.
10071 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10073 * ToolbarDefaults.C: remove trailing comma closing namespace.
10075 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10077 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10080 * trans.C (Load): comment out unused variable, allowed.
10082 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10084 * minibuffer.[Ch] (append_char): new method to recieve input from the
10085 drop-down completion browser. If a key was pressed, then recieve this
10086 char and append it to the existing string.
10087 (peek_event): modify the positioning data passed to the completion
10088 browser so that it can be placed above the minibuffer rather than below.
10089 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10091 * LyXAction.C (init): alloe error-next for readonly documents.
10093 * BufferView2.C (ChangeRefsIfUnique): use standard version of
10096 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10098 * bufferlist.C (readFile): create the buffer _after_ checking that
10101 * lyxfunc.C (verboseDispatch): fix handling of arguments
10103 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10105 * lyxrc.C: use string::erase() instead of initializing to "".
10108 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10110 * BufferView_pimpl.h:
10111 * BufferView_pimpl.C:
10114 * text2.C: tell X when we have made a selection for copying
10116 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10118 * BufferView_pimpl.C (MenuInsertLyXFile):
10119 * lyxfunc.C (menuNew):
10121 (doImport): add shortcuts to directory buttons
10123 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10126 * lyxfunc.C (setStatusMessage):
10127 (getStatusMessage): new methods
10128 (getStatus):use setStatusMessage instead of setErrorMessage
10129 (dispatch): when function is disabled, set error message here
10130 [instead of in getStatus previously]
10132 * BufferView_pimpl.C (workAreaButtonRelease): update
10133 toolbar/menubar here too.
10135 2002-01-13 Allan Rae <rae@lyx.org>
10137 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10138 Now seems indestructible. Remaining task is to audit all other
10139 code affected by deleteEmptyParagraphMechanism. One small quirk
10140 left is that an empty document with an error in the preamble can
10141 be made to report an error but no error box appears. I don't know
10143 (removeAutoInsets): Improved comments.
10145 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10148 * Thesaurus.C: update for Aiksaurus 0.14
10150 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10152 * text2.C (firstParagraph): removed member function, all uses
10153 replaces with ownerParagraph
10154 (redoParagraphs): here
10155 (updateInset): here
10156 (toggleAppendix): here
10157 * BufferView2.C (insertErrors): here
10158 (setCursorFromRow): here
10160 2002-01-13 Allan Rae <rae@lyx.org>
10162 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10163 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10164 There is still a way to segfault this although you may have to do this
10165 multiple times: Have an InsetERT with an unknown command in it.
10166 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10167 <down-arrow>, <Enter> again, View->DVI, BANG!
10169 * text2.C (setCursor):
10170 (deleteEmptyParagraphMechanism):
10171 * lyxtext.h (setCursor):
10172 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10173 Making use of the return value may help fix other bugs.
10175 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10177 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10179 * LyXView.C (updateMenubar): call MenuBar::update here
10180 (updateToolbar): but not here
10181 (showState): do not update toolbar/menubar
10183 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10184 should need to care about that.
10186 * lyxfunc.C (verboseDispatch): simplify a bit
10187 (getStatus): have a version which takes a pseudoaction, and
10188 another which requires a (kb_action,string).
10190 * LyXAction.C (retrieveActionArg): make it work also when action
10191 is not a pseudo-action.
10192 (getActionName): simplify a bit
10195 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10197 * lyxfunc.C (verboseDispatch): new families of methods with
10198 several ways to specify a command and a bool to indicate whether
10199 the command name and shortcut should be displayed in minibuffer
10200 (eventually, we could extend that to a finer bitmask like
10201 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10202 (dispatch): the pristine dispatch command which just, well,
10203 dispatchs! Note it still sets its result to minibuffer; I'm not
10206 * lyxfunc.h: remove setHintMessage
10208 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10210 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10212 * BufferView_pimpl.C (specialChar): delete new inset if we have
10213 not been able to insert it.
10215 * kbmap.C: revert to using int instead of kb_action, since all we
10216 are dealing with is pseudo-actions.
10218 * LyXAction.C (searchActionArg): change to return int instead of
10219 kb_action, since the result is a pseudoaction.
10221 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
10223 * buffer.C (insertErtContents): Fix (partially) the font bug.
10225 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10227 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10228 as the other one is broken on my machine!
10230 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
10233 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10235 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
10237 * lyxrc.[Ch]: change names and descriptions of popup font variables to
10238 reflect their actual use. Provide compatibility code for older lyxrc
10241 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10243 change names of popup font variables in line with the changes to lyxrc.C
10245 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10247 * buffer.C (asciiParagraph): avoid outputing a word twice after
10250 * lyxrc.C (getDescription): document that document_path and
10251 template_path can be empty.
10253 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10255 * LaTeXFeatures.C (getMacros):
10256 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10258 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10260 * LaTeXFeatures.C (useFloat): require "float" here instead of in
10262 (getPackages): rename feature "floats" to "float". Use an array to
10263 iterate over 'simple' features (i.e. just a \usepackage). Add
10264 handling of "amsmath" (renamed from "amsstyle").
10266 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
10268 * LaTeXFeatures.C (require): Prevent duplicate entries in the
10271 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
10273 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10274 FuncStaus::FuncStatus & FuncStaus::some_method().
10276 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
10278 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10279 of the func_satus stuff. Edited and massaged in various ways by
10282 * lyxfunc.C (getStatus): use FuncStatus
10284 2002-01-08 Juergen Vigna <jug@sad.it>
10286 * text.C (nextBreakPoint): use function Inset::isChar().
10288 * paragraph.C (TeXOnePar): use function
10289 Inset::forceDefaultParagraphs.
10291 * buffer.C (latexParagraphs): use function
10292 Inset::forceDefaultParagraphs.
10294 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10296 * lyx_gui.C (init): set the style of the menu popups to
10297 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10299 2002-01-07 Juergen Vigna <jug@sad.it>
10301 * text.C (setHeightOfRow): small fix
10302 (prepareToPrint): don't look at alignment if we don't have the place
10305 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10307 * box.C: New file. Move the Box methods and functions out of box.h,
10308 following Lars' suggestion.
10310 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10312 * box.h: #include "support/LOstream.h", needed for inlined function.
10315 * lyxtextclasslist.C: added some using std declarations.
10317 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
10319 * box.h: make signed dimensions to allow insets wider than
10320 the screen (bug #162)
10322 * BufferView_pimpl.C: add some insetHit debug
10324 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
10326 * vc-backend.C: add FIXME
10328 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10330 * lyxfunc.C (getStatus): enable code for showing math font status
10333 2002-01-07 Juergen Vigna <jug@sad.it>
10335 * text.C (nextBreakPoint): removed debug output not needed anymore.
10337 2002-01-06 Juergen Vigna <jug@sad.it>
10339 * text.C (nextBreakPoint): fixed up this function we had this bug
10340 since ever but now hopefully we break row better.
10341 (insertChar): we have to check if an inset is the next char as it
10342 could now happen that a large inset is causing a break.
10344 2002-01-05 Juergen Vigna <jug@sad.it>
10346 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10347 if it doesn't like to be drawed.
10349 2002-01-04 Juergen Vigna <jug@sad.it>
10351 * BufferView2.C (lockInset): forgot to set a cursor.
10353 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10355 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
10357 * FormMathsPanel.C:
10360 * form_maths_panel.C:
10361 * form_maths_panel.h:
10362 * form_maths_panel.fd: implemented sub- and super- buttons in math
10365 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10366 (or ^ space) to be used as in TeX (req'd by André).
10368 * lyxfunc.C: Allow ^ and _ again to be used both as
10369 super/subscript (mathed) and as themselves (in text).
10371 2002-01-03 Allan Rae <rae@lyx.org>
10373 * LyXView.C (updateWindowTitle): Setup a short icon title of either
10374 "LyX" or the filename of the current buffer if it has one. This is a
10375 modified form of John Levon's patch.
10377 * XFormsView.C (setWindowTitle): also set icon title.
10379 * LyXView.h (setWindowTitle): signature changed.
10380 * XFormsView.h (setWindowTitle): ditto.
10382 2002-01-02 Juergen Vigna <jug@sad.it>
10384 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10386 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10388 * screen.C (topCursorVisible): introduce a temp var for
10389 text->cursor.row(), handle the case where this row is null. (kindo
10392 * text2.C (setCursor): add a couple of asserts.
10394 * paragraph.h (inset_iterator): add -> operator
10396 * paragraph.[Ch] (autoDeleteInsets): remove member function
10398 * BufferView2.C (removeAutoInsets): rewrite to handle the old
10399 cursor pos correctly and handle inset deletion by itself.
10400 (insertErrors): move iterator declaration out of for expression
10402 * lyxtextclass.C: add <algorithm>
10404 * Makefile.am: added the new files to sources, removed layout.C
10406 * layout.C: removed file
10408 * layout.h: remove LYX_DUMMY_LAYOUT
10410 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10414 * lyxtextclass.[Ch]:
10415 * lyxtextclasslist.[Ch]: new files
10417 * include order changes to a lot of files, also changes because of
10420 2001-12-27 Juergen Vigna <jug@sad.it>
10422 * buffer.C (asciiParagraph): more fixes.
10424 * tabular.C (ascii): make ascii export support export of only the
10425 data separated by a column-delimiter.
10426 (ascii): better support for ascii export.
10428 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10430 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10432 * tabular_funcs.C: use a "using std::getline" instead of the
10433 previous fix from Angus (necessary for cxx + lyxstring)
10435 2001-12-24 Juergen Vigna <jug@sad.it>
10437 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10439 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10440 problems. First check a minipage also if we have some ert-contents
10441 (not only on par->size(), second set the right depth of the paragraph
10442 on the relink to the root-paragraph-list!
10444 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10445 which then did not anymore update the main paragraphs on undo/redo!
10447 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10449 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10450 code. Support all font-changing funcs (even those which are not in
10451 menu currently). Support for reporting font settings in
10452 mathed (disabled until Andre provides a function on mathed's side).
10454 * func_status.h (toggle): small helper function to set toggle
10457 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
10459 * tabular_funcs.C: getline -> std::getline
10461 2001-12-21 Juergen Vigna <jug@sad.it>
10463 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10464 accessed and could be 0 (I couldn't generate this but it seems
10467 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10469 * tabular_funcs.C: add LIstream.h, move write_attribute to..
10470 * tabular_funcs.h: here and include iosfwd
10472 2001-12-20 Juergen Vigna <jug@sad.it>
10474 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10475 inside inset but undo_par was.
10477 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10479 * Thesaurus.C: always include <config.h> in sources.
10483 * box.h: do not include <config.h> in header files
10485 * text.C (paintLastRow): remove unused variable
10487 * text.C (transformChar):
10489 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10491 * Painter.C (text):
10492 * font.C (width): rewrite to use uppercase() instead of
10495 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10497 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
10499 * lyxfind.C: clean up of find failure position change
10501 2001-12-20 Juergen Vigna <jug@sad.it>
10503 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10505 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10506 (TeXRow): added to LaTeX a single tabular row.
10507 (TeXLongtableHeaderFooter): added to output LT-h/f data.
10508 (Latex): simplified and finally good LT-h/f support.
10509 (various_functions): just small adaptions for LT-h/f support.
10511 * tabular_funcs.[hC]: added and moved here all not classfunctions
10514 2001-12-19 Juergen Vigna <jug@sad.it>
10516 * tabular.[Ch]: better support for longtabular options (not finished
10519 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10521 * text.C (paintLastRow): use the label font instead of the font of
10522 the last character to compute the size of *_BOX. This makes more
10523 sense and avoids a crash with empty paragraphs.
10524 Use Painter::rectangle to draw EMPTY_BOX.
10526 2001-12-19 Juergen Vigna <jug@sad.it>
10528 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10529 the paragraphs if the replaced paragraph is not the first one!
10530 Tried to delete not used paragraphs but does not work yet so for
10531 now it's inside #ifdef's and by default off!
10533 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10535 * MenuBackend.C: include "lyx_main.h" instead of declaring
10536 lastfiles (actually was declared as LastFiles* instead of a
10539 2001-12-17 Juergen Vigna <jug@sad.it>
10541 * tabular.C (AppendColumn): applied John's fix
10543 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
10547 * BufferView_pimpl.h:
10548 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10551 * box.h: new start of class for above
10553 * lyxfunc.C: ignore space-only minibuffer dispatches.
10554 Show the command name when it doesn't exist
10556 * minibuffer.C: don't add empty lines to the history
10558 * minibuffer.C: add a space on dropdown completion
10560 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
10562 * text.C: fix line above/below drawing in insets
10564 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10566 * lyxlength.C (LyXLength): Initialize private variables.
10568 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
10570 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10571 when inserting error insets.
10573 2001-12-13 Juergen Vigna <jug@sad.it>
10575 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10576 actually sometimes the before-paragraph.
10577 (setUndo): don't clear the redostack if we're not actually undoing!
10579 2001-12-06 Juergen Vigna <jug@sad.it>
10581 * undo_funcs.C (textHandleUndo): well after John's hint I got here
10582 and fixed redoing of main paragraph, so we can use it now ;)
10584 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10586 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10588 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10591 2001-12-13 André Pönitz <poenitz@gmx.net>
10594 * undo_func.C: minor cleanup
10596 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10598 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10599 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10600 font in urw-fonts package which is marked as -urw-fontspecific and
10601 does not work (incidentally, changing the encoding in the
10602 fonts.dir of this package to -adobe-fontspecific fixes the
10605 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10606 is a crash when undoing first paragraph (Juergen, please take a
10607 look). THis does not mean the undo fix is wrong, just that it
10610 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10611 the (Paragraph*) version when needed instead of duplicating the
10614 * text.C (workWidth): use Inset::parOwner to find out where the
10615 inset has been inserted. This is a huge performance gain for large
10616 documents with lots of insets. If Inset::parOwner is not set, fall
10617 back on the brute force method
10619 * paragraph_pimpl.C (insertInset):
10620 * paragraph.C (Paragraph):
10621 (cutIntoMinibuffer): set parOwner of insets when
10622 inserting/removing them
10624 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10626 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
10632 * mathed/formulabase.C:
10633 * mathed/math_cursor.[Ch]:
10634 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10637 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10639 * lyxlength.[Ch] (operator!=): new function
10641 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10643 * text.C (workWidth): use Inset::parOwner to find out where the
10644 inset has been inserted. This is a huge performance gain for large
10645 documents with lots of insets. If Inset::parOwner is not set, fall
10646 back on the brute force method
10648 * paragraph_pimpl.C (insertInset):
10649 * paragraph.C (Paragraph):
10650 (cutIntoMinibuffer): set parOwner of insets when
10651 inserting/removing them
10653 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10655 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10657 * tabular-old.C (getTokenValue):
10658 * tabular.C (getTokenValue):
10659 (write_attribute): new versions for LyXLength
10660 (everywhere): adjust the use of widths
10662 * tabular.h: change the type of widths from string to LyXLength
10664 2001-12-11 Ben Stanley <bds02@uow.edu.au>
10666 * paragraph.C: fixed missing line number count when exporting
10667 Environments to LaTeX file
10669 * buffer.C: added informational message for checking line numbers.
10671 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10673 * text2.C (deleteEmptyParagraphMechanism): if there is only one
10674 paragraph, do the 'double space' part, but not the 'empty
10677 * text.C (workWidth): small optimization
10678 (getLengthMarkerHeight): use minimal size for negative lengths.
10680 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
10682 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10684 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10686 2001-12-11 André Pönitz <poenitz@gmx.net>
10689 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10691 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10693 * text2.C: keep selection on a setFont()
10695 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10697 * lyx_cb.C: another bv->text misuse, from insert label
10699 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10702 * kbsequence.C: re-instate nmodifier mask
10704 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
10706 * lyx_main.h: make lyxGUI private.
10708 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10710 * lyxfind.C: place the cursor correctly on failed search
10712 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10714 * text.C (getLengthMarkerHeight): for small heights, the arrows
10715 are not always on top/bottom of the text
10716 (drawLengthMarker): smaller arrows; take the left margin in
10717 account; draw also vfills.
10719 (paintLastRow): remove special code for vfill and standard spaces,
10720 since everything is handled in drawLengthMarker now.
10722 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10724 * buffer.C (insertErtContents): try to handle font and language
10725 interaction a bit better.g
10727 * ColorHandler.C (updateColor): change the hash to cover the whole
10728 LColor enum, ws cleanup
10729 (getGCLinepars): ditto
10730 (getGCLinepars): only lookup in the linecache once.
10732 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
10734 * iterators.C (operator++): Make the iterator more robust
10736 * BufferView2.C (removeAutoInsets): Use paragraph iterators
10738 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10740 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10743 * text.C: better added space drawing
10745 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10748 * BufferView2.C: fix layout combo update on inset unlock
10750 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10752 * Makefile.am: don't compile unused files
10754 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10758 * LyXAction.C: remove old LFUN_LAYOUTNO
10760 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10762 * paragraph_pimpl.h:
10763 * paragraph_pimpl.C: isTextAt() doesn't need font param
10765 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10768 * lyxlex.C: little cleanup
10770 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10772 * BufferView_pimpl.C: fix insertAscii for insets
10774 2001-12-05 Juergen Vigna <jug@sad.it>
10776 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10777 set the right font on the "multi" paragraph paste!
10779 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10785 * lyxlength.C: remove out-commented code.
10787 * BufferView_pimpl:
10801 * vc-backend.C: change "while(" to "while ("
10803 * lyxlength.[Ch]: add zero function to check if length is zero or
10805 * lyxgluelength.C: use it
10807 2001-12-05 Allan Rae <rae@lyx.org>
10809 * lyxlength.C: Attempted a fix for the abs(int) header selection.
10810 Works for 2.95.3, from what I understand of Garst's reports this should
10811 work for other g++ versions. We're screwed if the abs(int) definition
10812 changed between bugfix releases of gcc.
10814 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10816 * text.C: fix chapter label offset !
10818 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10821 * text.C: fix hfill at end of line, clean up
10823 2001-12-04 Juergen Vigna <jug@sad.it>
10825 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10826 that we force an update of the inset and it's owners if neccessary.
10828 2001-12-03 Juergen Vigna <jug@sad.it>
10830 * text.C (rowLast): simplified code
10832 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10834 * lyxfunc.C: fix show options on timeout
10836 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10838 * screen.C (topCursorVisible): scroll half a page when the cursor
10839 reached top of bottom of screen
10841 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
10843 * minibuffer.C: deactivate on loss of focus
10845 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10847 * vspace.[Ch] (operator!=): add operator.
10849 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
10851 * BufferView_pimpl.C: refuse to open an inset when
10852 there's a selection.
10854 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
10856 * BufferView_pimpl.C: allow to click on RHS of full row insets
10858 2001-11-30 Juergen Vigna <jug@sad.it>
10860 * tabular.C (LyXTabular): add a same_id to set the same id's in the
10861 insets for undo reasons.
10863 2001-11-28 André Pönitz <poenitz@gmx.net>
10865 * vspace.[Ch]: cosmetical changes
10867 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10877 * kbsequence.C: part re-write of old kb code
10880 * WorkArea.C: remove Lgb_bug_find_hack
10882 2001-11-30 José Matos <jamatos@fep.up.pt>
10884 * buffer.C (makeDocBookFile): add a comment to point a hack.
10885 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10886 Fixed a double write of labels.
10888 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10891 * LaTeX.h Fixed bug in LaTeX class where it would not
10892 re-run latex if no depfiles were changed, but the .dvi was removed.
10894 2001-11-28 André Pönitz <poenitz@gmx.net>
10896 * all the files from the change on 2001/11/26:
10897 use lyx::layout_type instead of LyXTextClass::size_type
10898 use lyx::textclass_type instead of LyXTextClassList::size_type
10900 2001-11-29 Juergen Vigna <jug@sad.it>
10902 * text.C: added support for paragraph::isFreeSpacing()
10904 * buffer.C: same as above
10906 * paragraph.h: inserted isFreeSpacing() function to enable
10907 FreeSpacing inside InsetERT.
10909 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10910 of the paragraph's in the cut/copy buffer to 0!
10912 * text2.C (removeRow): remove the assert as it can!
10914 * lyxtext.h: added helper function firstRow returning firstrow and
10915 made firstrow private again.
10917 * BufferView2.C (lockInset): don't relock if we're already locked!
10919 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10920 the only paragraph.
10921 (removeRow): added Assert::(firstrow)
10923 * debug.C: forgot to add INSETTEXT here.
10925 2001-11-28 Juergen Vigna <jug@sad.it>
10927 * sp_spell.C (initialize): changed error text to more general
10928 spellchecker command use (not only ispell!)
10930 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10932 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10934 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10936 * vspace.C: initialise lyxgluelength on failure
10938 2001-11-28 Allan Rae <rae@lyx.org>
10940 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10941 declaration & definition that looks like a function declaration.
10943 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10945 * BufferView2.C (copy):
10946 (copyEnvironment): do not clear the selection when doing a copy.
10948 * text.C (paintFirstRow): compilation fix
10950 2001-11-27 Ben Stanley <bds02@uow.edu.au>
10952 * tabular.C (Latex): correct line count when writing latex.
10954 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
10956 * paragraph_pimpl.h:
10957 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10960 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10964 * LColor.C: change vfillline->added_space
10966 * text.C: add markers and text for added space
10968 * vspace.C: fix comment
10970 2001-11-28 André Pönitz <poenitz@gmx.net>
10972 * paragraph.C: whitespace changes
10973 * all the other files from the change on 2001/11/26:
10974 change *::pos_type into lyx::pos_type
10976 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
10978 * buffer.C (parseSingleLyXformat2Token): Set the language to the
10979 language of the document when inserting error insets.
10981 2001-11-26 André Pönitz <poenitz@gmx.net>
10983 * BufferView_pimpl.[Ch]:
10991 * paragraph_pimpl.[Ch]:
10994 * text2.C: reduce header dependencies, introduce type for positions
10996 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10998 * <various>: change to use Alert.h
11000 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
11002 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11003 when encountering an unknown token.
11004 (readLyXformat2): Show an error message if there were unknown tokens.
11006 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
11009 * BufferView_pimpl.C:
11013 * text2.C: use par->isInset()
11015 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11017 * paragraph_pimpl.h:
11018 * paragraph_pimpl.C: cleanup
11020 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11022 * text2.C (removeRow):
11023 * text.C (setHeightOfRow): remove useless (and costly) call to
11026 2001-11-20 Allan Rae <rae@lyx.org>
11028 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11029 Now need Inset*::checkInsertChar() to return true for appropriate
11030 cases so that the characters in the minibuffer will actually be
11033 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11035 * text.C: change the order of the includes.
11036 (workWidth): initialize it at once.
11037 (workWidth): make maxw unsigned
11038 (setHeightOfRow): remove unused variable (inset)
11039 (selectSelectedWord): remove unused variable (inset)
11040 (paintRowText): fix drawing of hfill characters, and clean up a bit.
11042 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11044 * lyxserver.C (emergencyCleanup): do not try to close pipes if
11045 server is not running.
11047 (closeConnection): add debug info when server is disabled.
11049 * ColorHandler.C (getGCForeground): send debug message to GUI
11052 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11054 * kbmap.C (bind): modify because return conventions of
11055 kb_sequence::parse have changed.
11057 * kbsequence.C (parse): only ignore spaces and not any stupid
11058 control character. This avoids tests like s[i] <= ' ', which are
11059 guaranteed to fail with 8bit characters and signed chars.
11060 Change return code to string::npos when there have been no error
11061 (0 was a bad idea when error is at first character)
11063 2001-11-14 José Matos <jamatos@fep.up.pt>
11066 * buffer.C (simpleDocBookOnePar): removed unused argument.
11068 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11070 * text.C (selectNextWordToSpellcheck): do not test explicitely for
11071 insets which are part of a word. Paragraph::isLetter takes care of
11072 that now. Use Paragraph::isInset to identify insets.
11073 (selectSelectedWord): do not test for hyphenation break.
11075 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11076 that protected spaces are considered as spaces.
11078 * paragraph.C (isLetter): cleanup the code for ispell extras; use
11081 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
11084 * lyxserver.C: fix it. and small cleanup.
11086 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11088 * BufferView_pimpl.C: use inline helpers
11091 * LaTeXFeatures.C: fix typos
11094 * Spacing.C: move spacing_string into class
11096 * ToolbarDefaults.C: move stuff into namespace anon
11098 * layout.h: update enum
11100 * lyxfunc.C: use better debug
11102 * minibuffer.h: fix typo
11106 * WorkArea.C: add and use Debug::WORKAREA
11110 * text2.C: code re-organisation, inline helpers
11112 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
11114 * Layout.C: replaced a few cases of std::vector.size() == 0 with
11115 std::vector.empty().
11117 2001-11-09 Allan Rae <rae@lyx.org>
11119 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11120 '\n's after tables. Tabular and ERT inset work now makes this no
11123 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11126 * minibuffer.C: fix crash, improve drop-down completion
11128 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11131 * lyxserver.C: invalidate fd's when doing endPipe()
11133 2001-11-08 José Matos <jamatos@fep.up.pt>
11135 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11136 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11139 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11141 2001-11-07 José Matos <jamatos@fep.up.pt>
11144 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11147 * buffer.C (sgmlOpenTag):
11148 * buffer.C (sgmlCloseTag): removed debug info.
11150 * buffer.h (sgmlOpenTag):
11151 * buffer.h (sgmlCloseTag): made public.
11153 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11155 * buffer.C (saveParamsAsDefaults):
11156 * lyx_cb.C (MenuLayoutSave): remove
11158 * LyXAction.C (init):
11160 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11162 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11164 * buffer.C (setPaperStuff): removed from here...
11166 * bufferparams.C (setPaperStuff): ... and moved there.
11168 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11172 * XFormsView.C: add support for drop-down completion
11174 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11176 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11179 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11181 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11184 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11186 * lyx_main.C: change ref to known bugs
11188 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11190 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11191 to work around older babel problems.
11193 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11195 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11197 2001-10-24 Juergen Vigna <jug@sad.it>
11199 * tabular-old.C (ReadOld): below variable changes reflected.
11201 * tabular.[Ch]: added ltType struct for longtable header/footer
11202 defines and changed all instances where they are used. Added
11203 future support for double top/bottom rows.
11205 2001-10-24 José Matos <jamatos@fep.up.pt>
11207 * buffer.h (docbookHandleCaption):
11208 * buffer.C (docbookHandleCaption): removed unused function.
11209 (makeDocBookFile): moved docbook supported version to v4.1.
11211 2001-10-24 José Matos <jamatos@fep.up.pt>
11214 * tabular.C (docbookRow): new function to export docbook code of a row.
11215 (DocBook): now honors the longtable flags.
11217 2001-10-23 José Matos <jamatos@fep.up.pt>
11220 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11221 of the lyx defined sgml entities used in a docbook/linuxdoc document.
11223 * buffer.C (makeLinuxDocFile):
11224 (makeDocBookFile): reworked the preamble, more clean, and with
11225 support for lyx defined entities. Changed the document declaration
11226 to be more XML friendly.
11228 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11229 if we need to output XML that should be done with a filter.
11231 2001-10-22 Juergen Vigna <jug@sad.it>
11233 * sp_pspell.h (class PSpell): add alive function needed in the
11234 controller to see if the spellchecker could be started.
11236 2001-10-22 Juergen Vigna <jug@sad.it>
11238 * buffer.C (insertStringAsLines): modify the font for inserting
11239 chars in certain conditions by calling checkInsertChar(font).
11241 2001-10-19 Juergen Vigna <jug@sad.it>
11243 * text.C (workWidth): use getRow instead of wrong algorithm.
11244 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11246 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
11251 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11253 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11255 * text.C (workWidth): do not search for the exact row when
11256 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11257 optimization for big documents.
11259 2001-10-18 Juergen Vigna <jug@sad.it>
11261 * text.C (workWidth): new function with added Inset * parameter.
11263 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11265 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11267 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11268 change return type of getColumnNearX.
11271 * text.C (changeRegionCase): use uppercase/lowercase instead of
11274 (rightMargin): simplify code by factoring out the uses of
11279 (appendParagraph): use Paragraph::size_type
11281 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11283 * vspace.C (asLatexString): add a missing break
11285 2001-10-15 Herbert Voss <voss@perce.de>
11287 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11289 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11291 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11294 2001-10-10 André Pönitz <poenitz@gmx.net>
11296 * lyxfunc.C: removed greek_kb_flag.
11298 2001-10-10 Herbert Voss <voss@perce.de>
11300 * lyx_main.C: delete global string help_lyxdir.
11302 2001-10-09 Herbert Voss <voss@perce.de>
11304 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11306 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11308 * lyx_main.C: added global string help_lyxdir.
11310 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11312 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
11314 * lyxrc.C (set_font_norm_type): support iso8859-4
11316 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
11318 * LaTeX.C (deplog): add another regex for MikTeX
11320 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
11322 * lyxrc.C (set_font_norm_type): support iso8859-3
11324 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11326 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11328 * LaTeXFeatures.C: remove special case of french and index
11330 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11331 before \begin{document}). This solves several incompatibilities.
11333 2001-10-03 Garst Reese <reese@isn.net>
11335 * lyx_cb.C: change CheckTex error msg.
11337 2001-10-03 José Matos <jamatos@fep.up.pt>
11339 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11341 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11343 * .cvsignore: update
11345 * lyx_main.C (commandLineVersionInfo): use new style version info.
11347 * buffer.C (writeFile):
11349 (makeLinuxDocFile):
11350 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11352 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11354 * version.h: update to use stuff in version.C
11356 * version.C.in: new file. Contains version information determined
11357 at compile time. This is a merging of version.h and
11360 2001-10-03 Juergen Vigna <jug@sad.it>
11362 * BufferView_pimpl.C (update): don't change "dirty" status in
11365 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
11367 * WorkArea.C (c-tor): re-position version string slightly.
11369 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
11371 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11372 revert to previous code.
11374 WorkArea.[Ch]: (show, destroySplash): methods removed.
11376 WorkArea.C: rework code so that it's an amalgam of the codes before and
11377 after the splash screen was moved to WorkArea.
11379 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11382 * vspace.C (inPixels):
11385 * buffer.C (insertStringAsLines):
11386 (asciiParagraph): fix types to be large enough
11388 * lyxlex_pimpl.h: change member status from short to int
11390 * layout.h: fix type of endlabeltype
11393 * kbsequence.C (parse): change return type to string::size_type
11395 * LaTeX.C (updateBibtexDependencies): comment out unneeded
11398 * Bullet.C (bulletSize):
11399 (bulletEntry): do not use short ints as parameters
11401 * BufferView2.C (insertLyXFile): change a char to an int.
11403 * WorkArea.C (WorkArea): remove unneeded floats in computation
11405 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
11407 * buffer.C (asciiParagraph): Treat '\\' as other chars.
11409 * paragraph.C (asString): Do not ignore newline/hfill chars when
11410 copying to the clipboard.
11412 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
11414 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11415 after a multi-line inset.
11417 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
11419 * paragraph.C (validate): Set NeedLyXFootnoteCode
11421 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11423 * lyxfont.C (LyXSizeNames): changed increase-error to increase
11424 and decrease-error to decrease.
11426 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11428 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11429 it more readable (should be equivalent)
11431 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
11433 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11435 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11437 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11438 of a cursor (row, etc.) after a character has been deleted
11439 (deleteEmptyParagraphMechanism): call the method above on _all_
11440 cursors held by the LyXText when a double space has been
11443 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11445 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11447 (resizeCurrentBuff): remove code to destroy the old splash dialog.
11449 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11450 background. Use greyOut() and the new show() methods to toggle between
11451 the foreground and background. Add code to remove the splash after
11452 its initial showing.
11454 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11455 (create_forms): no longer call Dialogs::showSplash.
11457 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11459 * .cvsignore: add version_info.h
11461 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11463 * version_info.h.in: new file
11465 * Makefile.am: add version_info.h.in
11467 * lyx_main.C (commandLineVersionInfo): use version_info defined in
11468 version_info.h instead of VERSION_INFO
11470 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
11472 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11473 The ERT inset now returns string().
11475 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
11477 * lyxtext.h, text.C (selectNextWord): renamed as
11478 selectNextWordToSpellcheck.
11480 * text.C (selectNextWordToSpellcheck): Modified to not select
11481 words inside an ERT inset.
11483 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11485 * lyx_cb.C (MenuLayoutSave): change a bit the question
11487 * sp_base.h: include <sys/types.h>
11489 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
11491 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11493 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
11495 * several files: fix typos in user-visible strings
11497 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11499 * text2.C (pasteSelection): do not set the selection, since it
11500 will be cleared later. Actually, the intent was to fix the way the
11501 selection was set, but I figured rmoving the code was just as good.
11503 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
11505 * FontLoader.C (available): Check if font is available without
11508 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11510 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11512 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
11514 * lyxrc.[Ch]: added display_graphics variable and associated code.
11516 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11518 * bufferparams.C (hasClassDefaults): new method. Returns true if
11519 the buffer parameters correspond to known class defaults
11521 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
11523 * XFormsView.C (show): set minimum size to the main window.
11525 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11527 * text2.C (copySelection):
11529 * lyxfind.C (LyXReplace):
11530 * BufferView_pimpl.C (Dispatch): pass the correct flag to
11531 LyXText::selectionAsString.
11533 * paragraph.C (asString): add "label" argument to the second form
11535 * text2.C (selectionAsString): add "label" argument and pass it to
11536 Paragraph::asString.
11538 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11540 * lyx_main.C (commandLineHelp): remove version information
11542 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
11544 * lyx_main.C: add -version commandline option
11546 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11548 * paragraph.h: make the optional constructor arg required instead.
11549 some modifications to other files because of this.
11551 * minibuffer.C (C_MiniBuffer_peek_event): make it static
11553 * lyxserver.C (C_LyXComm_callback): make it static
11555 * lyx_main.C (error_handler): make it static
11557 * lyx_gui.C (LyX_XErrHandler): make it static
11559 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11561 * WorkArea.C: make the extern "C" methods static.
11563 * Makefile.am (lyx_LDADD): simplify
11565 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11567 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11568 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11570 * LyXAction.C (init):
11571 * lyxfunc.C (dispatch): associated code removal.
11573 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11575 * lyxfont.h (isSymbolFont): shut off warning
11577 * text.C (setHeightOfRow):
11578 (getVisibleRow): fix crash with empty paragraphs which have a
11581 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
11583 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11586 2001-09-04 José Matos <jamatos@fep.up.pt>
11589 * tabular.C (docbook): rename docBook method to docbook.
11591 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11593 * Makefile.am: add dependencies to main.o.
11595 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
11597 * FontLoader.C (available): Return false if !lyxrc.use_gui
11599 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
11601 * FontInfo.C (query):
11602 * converter.C (view):
11603 * importer.C (Import):
11604 * exporter.C (Export): Can not -> cannot.
11606 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
11608 * BufferView_pimpl.C: allow to create index inset even if
11611 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11613 * buffer.C (getLists): replace boost::tie code with an explicit pair
11614 as boost::tie can break some compilers.
11616 * iterators.h: Added a std:: declaration to the return type of
11619 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
11621 * lyxrc.C: add help for view_dvi_paper_option, default to safe
11624 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
11626 * iterators.[Ch]: New files. Provide paragraph iterators.
11628 * buffer.C (changeLanguage): Use paragraph iterators.
11629 (isMultiLingual): ditto
11631 * BufferView2.C (ChangeInsets): Use paragraph iterators.
11633 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
11635 * FontLoader.C: Support for cmr font.
11637 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
11639 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11640 (available): New method.
11642 * FontInfo.C (getFontname): Use scalable fonts even when
11643 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11646 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11648 * converter.C (Formats::view): reverted! Incorrect fix.
11650 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11652 * converter.C (Formats::view): only output the -paper option
11653 if the dvi viewer is xdvi, thereby fixing bug #233429.
11655 2001-08-23 Herbert Voss <voss@perce>
11657 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11659 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
11661 * Spacing.h (Spacing): Set space to Default on in the default
11664 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
11666 * vc-backend.h (RCS::versionString): add RCS to version
11667 (CVS::versionString): add CVS to version
11669 * vc-backend.C (scanMaster): do not add CVS to version.
11670 (scanMaster): do not add RCS to version
11672 * lyxvc.C (versionString): new method
11674 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11676 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11678 * Spacing.C (set): initialize fval
11680 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
11682 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11685 2001-08-16 Juergen Vigna <jug@sad.it>
11687 * lyxfunc.C (dispatch): implemented the new FINISHED states.
11689 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11691 * BufferView_pimpl.C:
11694 * text2.C: setParagraph takes linespacing now
11696 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
11698 * LyxAction.C: add internal LFUN_CITATION_INSERT
11700 * LyXView.C: actually apply fix
11702 * bufferlist.C: fix open non-existent file
11704 * lyxfind.C: fix indentation
11706 * lyxfunc.C: remove unneeded assert, fix typo
11708 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11710 * MenuBackend.C: use "Floatname List"
11712 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
11714 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11715 when converting LaTeX layout to insetERT.
11716 Generate a non-collapsed float when reading old float
11718 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11720 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11723 2001-08-13 Juergen Vigna <jug@sad.it>
11725 * text.C (fill): return 0 instead of 20 as this seems to be the more
11728 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11730 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11733 2001-08-13 Juergen Vigna <jug@sad.it>
11735 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11737 (SearchBackward): comment out the unlocking of the inset_owner this
11738 should not be needed!
11740 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
11742 * Many files: Remove inherit_language, and add latex_language
11744 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11745 collapsible insets.
11747 2001-08-10 Juergen Vigna <jug@sad.it>
11749 * text.C (prepareToPrint): fixed hfill-width in draw!
11751 * BufferView2.C (selectLastWord): save the selection cursor as this
11752 now is cleared in the function LyXText::clearSelection!
11754 2001-08-08 Juergen Vigna <jug@sad.it>
11756 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11757 BACKSPACE type functions.
11759 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11760 is only cutted from the document but not put in the cut-buffer, where
11761 still the old stuff should be.
11763 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11765 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11767 * tabular.C (SetWidthOfCell): fixed special case where the width
11769 (LeftLine): handle '|' in align_special.
11771 (LeftAlreadyDrawed): ditto
11772 (SetWidthOfCell): ditto
11774 2001-08-07 Juergen Vigna <jug@sad.it>
11776 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11778 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11780 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11781 * lyxlex.[hC]: ditto
11783 2001-08-06 Juergen Vigna <jug@sad.it>
11785 * text.C (getVisibleRow): fix up row clearing a bit.
11787 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11789 * minibuffer.C: make sure the X server sees the changes in the input.
11791 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11793 * paragraph.C (getFont): split into...
11794 (getLabelFont): this
11795 (getLayoutFont): and this
11796 * paragraph_pimpl.C (realizeFont): calling this
11798 * text2.C (getFont): split into...
11799 (getLayoutFont): this
11800 (getLabelFont): and this
11801 (realizeFont): all three calling this
11803 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11806 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11808 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11810 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
11812 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11813 layouts from the Quote inset insertion.
11815 2001-08-03 Juergen Vigna <jug@sad.it>
11817 * BufferView_pimpl.C (update): do the fitCursor only at the end!
11819 * screen.C (drawFromTo): don't call fitcursor here and do the loop
11820 only if status not is already CHANGED_IN_DRAW (second level).
11822 * text.C (draw): don't set the need_break_row when inside an
11825 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11827 * buffer.C (parseSingleLyXformat2Token): handle more latex
11830 * bufferview_funcs.[hC]: change function names to
11831 begin with small char, adjust other files.
11833 2001-08-02 André Pönitz <poenitz@gmx.net>
11836 BufferView_pimpl.C: remove broken special code for math-greek
11838 2001-08-02 Juergen Vigna <jug@sad.it>
11840 * BufferView_pimpl.C (update): redone this function so that we
11841 update the text again if there was a CHANGE_IN_DRAW.
11843 * screen.C (cursorToggle): removed LyXText parameter and recoded.
11844 (drawFromTo): added a new internal bool which is used by draw() and
11846 (general): some cursor drawing problems fixed.
11848 2001-08-01 Juergen Vigna <jug@sad.it>
11850 * lyxfind.C (LyXFind): fixed
11851 (SearchForward): ditto
11852 (SearchBackward): ditto
11854 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11855 spurius drawing of the cursor in the main area.
11857 * text2.C (status): small fix which could lead to a segfault!
11858 (clearSelection): remove unneeded BufferView param.
11860 2001-08-01 André Pönitz <poenitz@gmx.net>
11862 * lyxfunc.C: small change due to changed mathed interface
11864 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11866 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11868 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
11870 * lyxfunc.c: fail gracefully if file doesn't exist
11875 * BufferView_pimpl.C: IsDirWriteable() proto changed
11877 * LyXView.C: fix updateWindowTitle() to store the last title
11879 2001-07-31 Juergen Vigna <jug@sad.it>
11881 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11882 the font (wrong since using of Paragraph::highestFontInRange).
11884 * paragraph.C (highestFontInRange): added a default_size parameter.
11886 * text.C (getVisibleRow): minor clear row changes (still not perfect).
11887 (setHeightOfRow): reformat
11889 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11891 * converter.[hC] + affected files: move to (inital-char)lowercase
11894 * ParagraphParameters.C (ParagraphParameters): remove commented code
11896 * PainterBase.[Ch]: remove commented code
11898 * LaTeXFeatures.h: add "bool floats" for float.sty
11900 * LaTeXFeatures.C (LaTeXFeatures): init floats
11901 (require): handle float
11902 (getPackages): do it with floats
11904 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11906 * BufferView_pimpl.C (Dispatch): improve handling of
11907 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11909 * commandtags.h: #include lyxfont.h here temporarily to avoid
11912 * bufferlist.h: include LString.h here.
11914 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11916 * text2.C (getStringToIndex): new method.
11918 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
11920 * *: Reduced header file dependencies all over.
11922 2001-07-30 Baruch Even <baruch@lyx.org>
11924 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11926 2001-07-29 Baruch Even <baruch@lyx.org>
11928 * buffer.C (readInset): Changed GRAPHICS to Graphics.
11930 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11932 * ParameterStruct.h (endif): add a default constructor to make
11933 sure that all variables is initialized.
11935 * ParagraphParameters.C (ParagraphParameters): adjust
11937 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11939 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11940 index; also, check that there is something to index, and that it
11941 does not span over several paragraphs.
11942 (doubleClick): use WHOLE_WORD_STRICT for double click.
11944 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11946 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11949 2001-07-26 Baruch Even <baruch@lyx.org>
11951 * buffer.C (readInset): Changed to call up InsetGraphics when reading
11952 an InsetFig figure, backwards compatible reading of old figure code.
11954 2001-07-27 Juergen Vigna <jug@sad.it>
11956 * text2.C: font.realize function adaption.
11958 * text.C (draw): add a warnings lyxerr text if needed.
11960 * layout.C: font.realize function adaption.
11962 * language.C: add inherit_language and implement it's handlings
11964 * bufferview_funcs.C (StyleReset): remove language parameter from
11965 font creation (should be language_inherit now).
11967 * bufferparams.C (writeFile): handle ignore_language.
11969 * paragraph.C (getFontSettings): the language has to be resolved
11970 otherwise we have problems in LyXFont!
11972 * lyxfont.C (lyxWriteChanges): added document_language parameter
11973 (update): removed unneeded language parameter
11975 * paragraph.C (validate): fixed wrong output of color-package when
11976 using interface colors for certain fonts in certain environments,
11977 which should not seen as that on the final output.
11979 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
11981 * BufferView_pimpl.C:
11986 * LyXAction.C: add thesaurus support
11989 * lyxfind.C: add "once" parameter, for thesaurus, to not
11990 move to the next match
11992 2001-07-26 Juergen Vigna <jug@sad.it>
11994 * lyxfont.C (realize): honor ignore_language too!
11997 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11999 * text.C (draw): one place more for ignore_language to not draw
12002 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
12004 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12006 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12008 * buffer.C (parseSingleLyXformat2Token): a more general fix for
12009 the minipage conversion problem.
12011 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12013 * buffer.C (parseSingleLyXformat2Token): check minipage if we
12016 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12018 * BufferView.h: don't forward declare WorkArea
12020 * BufferView.C: don't include WorkArea.h
12022 2001-07-25 André Pönitz <poenitz@gmx.net>
12026 * lyxfunc.C: new LFUN 'math-space'
12028 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12030 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12032 * text2.C (toggleInset): call open/close
12034 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12036 * lyxfunc.C (dispatch): add debug for the disabled case
12038 * font.C (buttonText): make similar to rectText
12040 * buffer.C (readInset): comment out parsing of insetlist and
12043 * PainterBase.C (rectText): small correction
12045 * BufferView_pimpl.C: comment out insettheorem and insetlist
12046 * LyXAction.C: ditto
12047 * commandtags.h: ditto
12049 2001-07-24 Juergen Vigna <jug@sad.it>
12051 * text.C (draw): honor the ignore_language.
12053 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12055 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12057 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12060 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12062 * lyxtext.h: remove unused (and unimplemented) methods
12064 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12066 * text.C (getVisibleRow): honor background color
12069 * Painter.h: remove default color argument for fillRectangle
12071 * text.C (backgroundColor): new method
12073 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12075 * text.C (getVisibleRow): adjust
12077 * font.[Ch] (rectText): new method, metrics
12078 (buttonText): new method, metrics
12080 * PainterBase.[hC]: make rectText and buttonText always draw and take
12083 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12085 * ToolbarDefaults.C (read):
12086 * MenuBackend.C (read): allow escaping in all strings
12088 * BufferView_pimpl.C (insertAndEditInset): new method.
12089 (Dispatch): use insertAndEditInset whenever appropriate.
12091 * BufferView_pimpl.C (insertNote): removed
12093 * BufferView_pimpl.C (smartQuote): new method, moved from
12094 BufferView; if an insetquote cannot be inserted, insert a '"'
12097 * BufferView2.C: remove insertCorrectQuote();
12099 * lyxfunc.C (getStatus): Add support for all remaingin
12100 inset-insert lfuns.
12102 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12104 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12105 command (necessary to pass " as parameter of self-insert.
12107 * text.C (selectWordWhenUnderCursor):
12108 (selectWord): add word_location parameter
12109 (selectWordWhenUnderCursor): same + remove special code for word
12111 (selectNextWord): use kind() to guess type of insetspecialchar,
12114 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12115 (insertErtContents): create ert insets as collapsed.
12116 (readInset): better compatibility code for Info inset.
12118 2001-07-20 Juergen Vigna <jug@sad.it>
12120 * lyxfunc.C (dispatch): use always LyXFind now!
12122 * text2.C (init): add a reinit flag so that the LyXText can be
12123 reinited instead of deleted and reallocated (used in InsetText).
12125 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12131 2001-07-18 Juergen Vigna <jug@sad.it>
12133 * text.C (selectNextWord): handle insets inside inset by calling
12134 always the bv->text functions so that we can go up the_locking_inset!
12136 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12137 in strange locations when inside an inset!
12139 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12140 handling to include insets.
12142 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12144 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12146 * LyXAction.C (init):
12148 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12149 LIGATURE_BREAK, since the name is so stupid.
12151 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12153 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12156 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12158 * sp_form.[Ch]: remove.
12160 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12162 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12165 * src/buffer.C (readInset): ditto.
12167 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12169 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12170 menuSeparator(), endOfSentenceDot(), ldots() and
12171 hyphenationPoint(), which are therefore removed.
12172 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12174 * LyXAction.C (init):
12175 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12177 * paragraph.C (getWord): removed.
12179 * BufferView_pimpl.C (Dispatch): use last word or selection for
12180 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12182 * lyx_main.C (queryUserLyXDir): do not ask before creating
12183 user_dir, except if it has been named explicitely.
12185 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12187 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12188 a document of zero size.
12190 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12192 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12193 approriately in the c-tor and in require().
12194 (getPackages): output the appropriate LaTeX for natbib support.
12196 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12197 variables "use_natbib" and "use_numerical_citations" when reading the
12199 (readInset): read the various natbib cite commands.
12200 (validate): white-space change.
12202 * bufferparams.[Ch]: new variables "bool use_natbib" and
12203 "bool use_numerical_citations".
12204 (writeFile): output them in the LyX file.
12206 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12208 * lyxfunc.C (getStatus): add support for all the inset insertion
12211 * text2.C (insertInset):
12212 * paragraph.C (insetAllowed):
12213 * BufferView_pimpl.C (insertInset): update to take in account the
12214 renaming of insertInsetAllowed
12216 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12218 * text2.C (getInset): new method. returns inset at cursor position.
12220 * BufferView_pimpl.C (Dispatch): changes because of this.
12222 * LyXAction.C (init): rename open-stuff to inset-toggle.
12224 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12226 * text2.C (toggleInset): renamed from openStuff; use
12229 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
12231 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12233 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12235 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
12237 * buffer.C (readLyXformat2): Add filename to the error dialog
12239 2001-07-18 Juergen Vigna <jug@sad.it>
12241 * tabular.C (GetCellNumber): put an assert here instead of the check!
12243 2001-07-17 Juergen Vigna <jug@sad.it>
12245 * BufferView_pimpl.C (toggleSelection): adapted too.
12247 * text.C (selectNextWord): adapted for use with insets.
12248 (selectSelectedWord): ditto
12250 2001-07-17 Juergen Vigna <jug@sad.it>
12252 * sp_spell.C (PSpell): fix initialitation order.
12254 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12256 * paragraph.C: spacing
12258 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
12260 * sp_spell.C: repair language selection for pspell
12262 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12264 * lyxfunc.h: change more methods to begin with lower char.
12266 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
12268 * buffer.C (parseSingleLyXformat2Token): Generate error insets
12269 for unknown layouts.
12271 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
12273 * buffer.C (readLyXformat2): Generate an error dialog if there are
12276 2001-07-16 Juergen Vigna <jug@sad.it>
12278 * sp_spell.C: always compile ISpell part.
12280 * lyxrc.C: added use_pspell entry and it's handling.
12282 2001-07-13 Juergen Vigna <jug@sad.it>
12284 * sp_spell.C: removed double includes.
12286 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
12288 Consistent use of Lsstream.h:
12289 * Lsstream.h: added using std::stringstream for consistencies sake.
12291 * buffer.C: removed using std::stringstream
12293 * lyxfont.C (stateText):
12294 * paragraph.C (asString):
12295 * text.C (selectNextWord, selectSelectedWord):
12296 * text2.C (setCounter):
12297 * vspace.C (asString, asLatexString):
12298 std::ostringstream -> ostringstream.
12300 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12302 * LyXAction.C: add LFUN_HELP_ABOUTLYX
12303 * commandtags.h: add LFUN_HELP_ABOUTLYX
12304 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12306 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12308 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12310 * lyx_gui_misc.C: remove spellchecker
12311 * lyxfunc.C: showSpellchecker
12313 * sp_ispell.h: added
12314 * sp_pspell.h: added
12315 * sp_spell.C: added
12316 * sp_form.[Ch]: removed
12317 * spellchecker.[Ch]: removed
12319 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
12321 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12323 (simpleTeXSpecialChars): Simply print the input character without
12324 any special translation if pass_thru is set.
12326 * layout.h: Added bool pass_thru to layout class for being able to
12327 implement pass through of a paragraph for Literate Programming.
12329 * layout.C: add LT_PASS_THRU to LayoutTags enum.
12330 * layout.C (LyXLayout): set pass_thru to flase in constructor.
12331 * layout.C (Read): add "passthru" to list of layout tags and add
12332 code to set the pass_thru boolean when it is read.
12334 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12336 * trans_decl.h: remove allowed from KmodInfo
12338 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12339 remove allowed code
12342 * paragraph_pimpl.C (erase): use boost::prior
12344 * Painter.C (text): use data() instead of c_str() when length is
12346 * WorkArea.C (putClipboard): ditto
12347 * font.h (width): ditto
12349 * BufferView2.C: use it-> instead of (*it). for iterators
12351 * paragraph_pimpl.C: ditto
12352 * paragraph.C: ditto
12353 * minibuffer.C: ditto
12354 * language.C: ditto
12356 * encoding.C: ditto
12357 * counters.C: ditto
12358 * converter.C: ditto
12360 * Variables.C: ditto
12361 * TextCache.C: ditto
12362 * MenuBackend.C: ditto
12363 * LyXAction.C: ditto
12365 * FloatList.C: ditto
12366 * DepTable.C: ditto
12367 * ColorHandler.C (LyXColorHandler): ditto
12369 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12371 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12373 * text2.C (openStuff): reintroduce this method (which had been
12374 nuked in NEW_INSETS frenzy).
12376 * lyxfunc.C (Dispatch): when an action has not been handled, use
12377 its name in the error message, not its number.
12379 * paragraph.C (inInset): change method name to begin with lowercase.
12382 * text2.C: updates because of this.
12384 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12386 * ToolbarDefaults.C (add): add spaces in error message
12388 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12390 * buffer.C (readLyXformat2): initialize the ert comp. variables.
12391 (readLyXformat2): rename return_par to first_par, use lyxlex's
12392 pushToken and remove the manual push handling.
12393 (parseSingleLyXformat2Token): add another ert comp. variable:
12394 in_tabular, rename return_par to first_par. handle newlines better
12396 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12398 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12400 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12402 * text2.C (getParFromID): removed
12404 * buffer.C (getParFromID): new method moved form lyxtext.
12405 * BufferView2.C (insertErrors): adjust
12406 (setCursorFromRow): adjust
12407 * BufferView_pimpl.C (restorePosition): adjust
12408 * lyxfunc.C (Dispatch): adjust
12409 * undo_funcs.C (textUndo): adjust
12411 (textHandleUndo): adjust
12412 (textHandleUndo): adjust
12414 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12416 * buffer.C: up' the LYX_FORMAT
12418 * lyxfont.h: turn NO_LATEX on as default
12420 * buffer.C (insertErtContents): new methods of tex style compability.
12421 (parseSingleLyXformat2Token): use it several places.
12422 * tabular.C (OldFormatRead): and here
12424 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12426 * text2.C: remove some commented code.
12429 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12430 * trans.C: changes because of the above.
12432 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
12434 * text2.C (setCounter): Fix counters bug with bibliography layout.
12436 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12438 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12439 own member functions
12440 (simpleTeXSpecialChars): ditto
12442 2001-07-06 Juergen Vigna <jug@sad.it>
12444 * a lot of files: changed the access to LyXText::status and the
12445 call of undo-functions.
12447 * undo.[Ch]: added a inset_id to the undo informations.
12449 * undo_funcs.[Ch]: added and moved here all undo functions.
12451 * lyxtext.h: give the status enum a weight, made status_ a private
12452 variable and made accessor functions for it, removed the whole bunch
12453 of undo-functions as they are now in their own file, make some
12454 functions publically available. Added function ownerParagraph with
12457 * paragraph.[Ch]: added "bool same_ids" to the constructor,
12458 made InInset() a const function, added getParFromID() function.
12460 * buffer.[Ch]: added const version for inset_iterator functions,
12461 added getInsetFromID() function.
12463 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12464 changed undo functions for new version.
12466 2001-07-05 Juergen Vigna <jug@sad.it>
12468 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12469 unknow mechanism does not call the proper constructor but only this
12470 one also if I request the other!?
12472 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12474 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12476 * text2.C (LyXText): use initialization lists.
12478 * lyxtext.h (Selection): initialize set_ and mark_
12479 (init): remove method
12481 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
12483 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12485 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12487 * screen.[Ch]: change method names to begin with lowercase
12489 * BufferView_pimpl.C (updateScrollbar): simplify further and
12490 hopefully make it a bit faster.
12492 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12494 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12495 calling directly xforms functions.
12497 * Painter.C (Painter):
12498 * lyx_cb.C (MenuWrite):
12499 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12502 * lyx_gui.C: remove bogus guiruntime extern declaration.
12504 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12506 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12508 (redoDrawingOfParagraph): ditto
12509 (redoParagraphs): ditto
12510 (cutSelection): don't create a object for CutAndPaste use the
12511 static method directly
12512 (pasteSelection): ditto
12514 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12517 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12519 * modifications to some other files because of this.
12521 * Makefile.am (lyx_SOURCES): add XFormsView
12523 * XFormsView.[Ch]: new files
12525 * LyXView.[Ch]: make LyXView a base class for the gui handling for
12526 the main window. Move the gui dependent stuff to XFormsView
12528 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12530 * tabular.C (GetCellInset): update cur_cell also in the row/col
12531 version of this function.
12533 * lyxfunc.C: no need to include figure_form.h here.
12539 * lyxvc.C: no need to include forms.h here.
12541 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12543 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12545 * lyxfunc.C (Dispatch):
12547 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12548 constructor argument.
12550 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12552 * paragraph.C (Paragraph): dont't clear, and just set layout.
12553 (makeSameLayout): use params's copy contructor.
12555 * ParagraphParameters.[Ch] (makeSame): delete method
12557 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
12559 * Variables.[Ch]: fix indentation, rename set to isSet
12561 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12563 * lyxfunc.C (Dispatch): fix typo
12565 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12567 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12570 * bufferlist.C: include assert.h for emergencyWrite().
12572 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12574 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12575 give up at last (bug #425202) !
12577 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
12583 * spellchecker.C: strip spellchecker options and bring up
12584 preferences tab instead
12586 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12588 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12589 the istringstream constructor
12591 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12593 * paragraph.C (getLayout): fix return value
12595 * paragraph.h: do not declare getLayout as inline.
12597 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12599 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12601 * lyxcursor.h (operator<): new func
12602 (operator>): new func
12603 (operator>=): new func
12604 (operator<=): new func
12606 * text.C (changeCase): use selection.start and selection.end
12607 (changeRegionCase): require from to be <= to. Require par to be a
12610 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12612 2001-06-27 Juergen Vigna <jug@sad.it>
12614 * text.C (cursorLeftOneWord): changed to return the cursor and added
12615 overlay with BufferView * parameter which calls this one.
12617 (selectWord): use new getWord function.
12618 (changeCase): renamed from changeWordCase as and extended to work
12619 also on selections.
12621 * lyxtext.h: added enum word_location
12623 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12624 changeCase as this operates now also on selections.
12626 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
12628 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12630 * many files: send debug output to Debug::INFO instead of
12633 * converter.C (View):
12635 (Move): send debug output to Debug::FILES instead of console.
12637 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
12639 * lyxfunc.C (getStatus): use func_status
12641 * func_status.h: new header, describing the results of
12642 LyXFunc::getStatus;
12644 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12647 2001-06-25 The LyX Project <jug@sad.it>
12649 * buffer.C (sgmlOpenTag):
12651 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
12653 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12655 * text2.C: remove some dead code
12657 * tabular.C (GetCellInset): store the last cell checked (gotten)
12659 * tabular.h: add the helper for the speedup
12661 * lyxtext.h: remove some dead code
12663 2001-06-26 The LyX Project <Asger>
12665 * paragraph.C: Change export to LaTeX of alignment to
12666 \begin{center} and family for better roundtrip work with reLyX.
12668 * Tune the math drawing a bit.
12670 2001-06-25 The LyX Project <Asger>
12672 * LColor.C (LColor): New color for math background. New color
12675 2001-06-25 The LyX Project <jug@sad.it>
12677 * lyxfunc.C (MenuNew): remove extra check for .lyx file
12679 * lyxfunc.C (Open):
12680 * bufferlist.C (newFile): do not restrict to files ending with
12683 * BufferView_pimpl.C (MenuInsertLyXFile):
12685 2001-06-24 The LyX Project <jug@sad.it>
12687 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12690 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12692 * lyxtext.h: rename most methods to begin with a small char.
12693 Lots of changes because of this.
12695 * paragraph.C (Paragraph): do not call fitToSize
12696 (erase): call Pimpl::erase
12697 (insertChar): call Pimpl::insertChar
12698 (insertInset): call Pipl::insertInset
12699 (breakParagraph): do not call fitToSize
12700 (breakParagraphConservative): do not call fitToSize
12701 (fitToSize): remove method
12703 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12705 2001-06-24 The LyX Project <Asger>
12707 * Fix Qt compilation^2
12709 2001-06-24 The LyX Project <jug@sad.it>
12711 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12712 depthHook(getDepth()-1).
12715 * ParagraphParameters.h:
12716 * ParameterStruct.h: change type of depth to unsigned int ==
12717 depth_type. Many adaptations to other files before of that.
12719 2001-06-24 The LyX Project <Asger>
12721 * Fix Qt compilation.
12723 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12725 * paragraph.h: renamed several methods to begin with small letter.
12726 several changes to many parts of the code because of this.
12728 2001-06-23 The LyX Project <jug@sad.it>
12730 * text2.C (InsertStringAsLines): renamed from InsertStringA;
12731 rewritten to discard all double spaces when KeepEmpty is off
12732 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12733 to only handle newlines but not fiddle with spaces and friends.
12735 * lyxfunc.C (MenuNew): when doing 'new from template', use
12736 template_path as default directory
12738 2001-06-23 The LyX Project <Asger>
12740 * Clean-up of header file includes all over
12741 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12743 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12745 * paragraph.h: renamed from lyxparagraph.h
12747 2001-06-23 Asger <lyx@violet.home.sad.it>
12749 * Buffer.h: Removed Buffer::resize
12750 * BufferList.h: Removed BufferList::resize
12751 * LyXView.h: Added LyXView::resize. This way, we will only reflow
12752 the document lazily when we change the width, or the font settings.
12754 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12756 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12758 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12760 * buffer.h: remove out of date comment
12762 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12765 * screen.C: fix "theoretical" GC leak
12767 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12769 * LaTeX.C (scanAuxFile):
12770 (deplog): remove trailing \r when reading stream (useful under
12773 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
12775 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12776 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12777 and BufferView::theLockingInset(Inset*), so should use them and not
12778 access bv_->text->the_locking_inset directly.
12780 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12782 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12785 * tex-defs.h: remove old unused file
12787 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
12789 * BufferView_pimpl.C: fix typo, remove minibuffer message
12790 when buffer has loaded
12792 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12794 * lyxfunc.C (Dispatch): use stringstream
12795 (MenuNew): use stringstream
12796 (Open): use stringstream
12798 * importer.C (Import): use stringstream
12800 * bufferview_funcs.C (CurrentState): use stringstream
12802 * LaTeX.C (run): use stringstream
12804 * BufferView_pimpl.C (savePosition): use stringstream
12805 (restorePosition): use stringstream
12806 (MenuInsertLyXFile): use stringstream
12808 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
12821 * vspace.C: removed // -*- C++ -*- as first line.
12824 * version.h: added // -*- C++ -*- as first line.
12826 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12828 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12830 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12833 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12835 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12838 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12840 * gettext.C: include LString.h even when --disable-nls is on.
12842 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
12844 * converter.h (Get): changed argument type from int to
12845 FormatList::size_type to avoid unnecessary conversion.
12847 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12850 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12852 * gettext.h: include LString.h even when --disable-nls is on.
12854 2001-06-07 Juergen Vigna <jug@sad.it>
12856 * text.C (BreakAgain): subst spaces with tabs.
12858 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12859 (resizeInsetsLyXText): set force on resizeLyXText.
12861 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12863 * gettext.h (gettext_init):
12864 (locale_init): use a real definition instead of a macro
12866 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12868 * Bufferview_pimpl.C:
12870 * LColor.C: further lcolor tidies
12872 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12874 * BufferView_pimpl.C (updateScrollbar): simplify.
12876 * BufferView2.C: don't include insets/insetinfo.h, change
12877 prototype for insertInset and call the Pimpl version. let
12878 updateInset call Pimpl version.
12880 * BufferView.h: move inset_slept to BufferView::Pimpl, move
12881 gotoInset to BufferView::Pimpl
12883 2001-06-01 Juergen Vigna <jug@sad.it>
12885 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12886 inside a LockingInset (is the update needed at all?).
12888 2001-05-31 Juergen Vigna <jug@sad.it>
12890 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12891 here not the old one otherwise how should we compare it afterwards
12894 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12899 * FontInfo.C: bring C functions into global namespace when
12902 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12904 * LString.h: make sure config.h has been loaded before LString.h.
12906 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12907 (one for each char read by EatLine!).
12909 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12912 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12914 * paragraph.C (BreakParagraph): set the inset_owner in the new par
12915 to the same as the par we break from
12917 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
12919 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12921 * MenuBackend.C (expand): also create menu entries for wide
12922 versions of the floats.
12924 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12926 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12928 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12929 frontends/Makefile.am
12935 * tabular.C (getTokenValue): add std::
12937 * tabular-old.C (getTokenValue): add std::
12938 (getTokenValue): ditto
12939 (getTokenValue): ditto
12941 * screen.C (ToggleSelection): adjust
12943 * lyxtext.h: put selection cursors inside a Selection struct.
12945 * lyxfunc.C (moveCursorUpdate): adjust
12947 * lyxfont.C (latexWriteStartChanges): add std::
12949 * lyxfind.C: adjust
12951 * font.h: delete with(char const *, LyXFont const &)
12953 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12955 * FontInfo.C (getFontname): add std::
12957 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12958 (workAreaButtonPress): adjust
12959 (tripleClick): adjust
12961 (moveCursorUpdate): adjust
12964 * BufferView2.C (gotoInset): adjust
12966 2001-05-30 Juergen Vigna <jug@sad.it>
12968 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12969 to check pspell I add this as default as I now have new pspell
12970 libraries and they seem to use this.
12972 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12974 * text2.C (CutSelection): make the cursor valid before the call to
12977 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12979 * kbsequence.C (parse): de-uglify a bit the parsing code, which
12980 relied on 0 terminated strings and other horrors. Bug found due to
12981 the new assert in lyxstring!
12983 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12986 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12988 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12991 * lyxfunc.C (processKeySym): change method of getting to the
12994 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12995 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12996 * BufferView_pimpl.[Ch]: here as private methods.
12998 2001-05-28 Juergen Vigna <jug@sad.it>
13000 * text.C (SetHeightOfRow): added the update() call again as it is
13001 needed to initialize inset dimensions!
13003 2001-05-16 Juergen Vigna <jug@sad.it>
13005 * text2.C (SetCharFont): Add new function with BufferView * and
13006 bool toggleall parameters for setting insets internal fonts.
13007 (SetFont): Freeze the undo as we may change fonts in Insets and
13008 all this change should be inside only one Undo!
13010 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13011 setting font's in insets as for them we have the SetFont function!
13013 2001-05-15 Juergen Vigna <jug@sad.it>
13015 * text2.C (ClearSelection): to be sure we REALLY don't have any
13018 * tabular.C (TeXCellPreamble): fixed the left border problem for
13021 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
13023 * LaTeX.C (deplog): Make sure that the main .tex file is in the
13026 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13028 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13029 LFUN_BREAKPARAGRAPH.
13031 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13032 help test to "internal only", similar for LFUN_INSERT_URL
13034 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13035 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13036 auto_region_delete and deadkeys.
13038 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
13041 * LColor.C: remove some dead entries, tidy a little
13043 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13045 * lyxfunc.C (processKeySym): comment the Escape handling, remove
13047 (Dispatch): implement LFUN_ESCAPE
13049 * commandtags.h: add LFUN_ESCAPE
13051 * LyXAction.C (init): add entry for LFUN_ESCAPE
13053 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13054 Remove commented code.
13055 (insertNote): moved here
13056 (open_new_inset): moved here
13058 * BufferView[2].[Ch]: move insertNote and open_new_inset to
13061 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13063 * kbmap.C (findbinding): clean it up and make it work correctly.
13065 * lyx_main.C (init): do not pass argc and argv as parameters
13067 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
13069 * buffer.C: fix path for OS/2 & Win32
13073 * lyx_main.C: Added os:: class.
13075 * os2_defines.h: update
13077 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13079 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13080 better by trying again with reduced state.
13082 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13084 * lyxrc.C (read): print error about invalid key sequence only when
13085 debugging (because not all latinX keysyms are known to some X
13088 * kbsequence.C (getiso): add a few std:: qualifiers
13089 (getiso): comment out extra return statement.
13091 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
13093 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13095 (Dispatch): enhance the accent inset a bit. (not perfect)
13097 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13099 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13101 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13103 * bufferlist.C (emergencyWrite): fix assert() call
13105 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
13107 * text.C (InsertChar): Added trivial patch to only send the "you
13108 can not do multiple spaces this way" message once during a
13111 2001-05-08 Baruch Even <baruch@lyx.org>
13113 * Makefile.am: Changed order of libraries to get LyX to link properly
13114 with the gnome frontend.
13116 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13118 * LaTeXFeatures.h: add a std:: qualifier
13120 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13122 * paragraph.C (String): use stringstream
13124 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13126 * paragraph.C (writeFile): remove footflag arg
13128 * buffer.C (makeLaTeXFile): use stringstream
13129 (latexParagraphs): remove footnot gurba
13131 * LaTeXFeatures.C (getPackages): use stringstream
13132 (getMacros): likewise
13133 (getTClassPreamble): likewise
13134 (getFloatDefinitions): new method
13136 * paragraph.C (writeFile): reindent
13139 * WorkArea.h: revert the xpos + etc changes.
13141 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13143 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13145 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13146 (pasteSelection): likewise
13147 * text2.C (CreateUndo): likewise
13149 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13151 * minibuffer.C (peek_event): temporarily reduce the functionality
13152 of the minibuffer (to allow args on lfuns)
13154 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13155 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13157 * buffer.C (readInset): add compability reading of old float
13158 lists, add reading of new style float list.
13159 (readInset): avoid reevaluation of inscmd.getCmdName()
13160 (getLists): reindent
13162 * MenuBackend.C (MenuItem): implement parsing of
13163 md_floatlistinsert and md_floatinsert.
13164 (expand::LastFiles): move initalizaton of iterators out of loop,
13165 avoid reevaluation.
13166 (expand::Documents): introduce typdedef vector<string> Strings,
13168 (expand::ExportFormats): introduce typedef vector<Format const *>
13169 Formats, and use it.
13170 (expand): implement FloatListInsert and FloatInsert.
13172 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13173 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13174 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13176 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13178 (Dispatch::LFUN_FLOAT_LIST): implement
13180 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13182 * LaTeX.C (run): Fix problem with --export code.
13184 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13186 * BufferView.[Ch] (workarea): removed.
13187 (getClipboard) new method; wrapper for workarea()->getClipboard()
13189 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13192 * WorkArea.h (width, height, xpos, ypos): These methods all
13193 returned the dimensions of the work_area sub-area of WorkArea,
13194 resulting in a position error if the WorkArea were resized. Now
13195 return the dimensions of the entire WorkArea.
13197 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13199 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13201 * LaTeX.C (deplog): correct the syntax of regex reg1
13203 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13205 * undo.C: remove !NEW_INSETS cruft
13207 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13209 * text2.C: remove !NEW_INSETS cruft
13211 * text.C: remove !NEW_INSETS cruft
13213 * tabular.C: remove !NEW_INSETS cruft
13215 * spellchecker.C: remove !NEW_INSETS cruft
13217 * lyxtext.h: remove !NEW_INSETS cruft
13219 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13221 * lyxfunc.C: remove !NEW_INSETS cruft
13223 * lyxfind.C: remove !NEW_INSETS cruft
13225 * lyx_cb.C: remove !NEW_INSETS cruft
13227 * figureForm.C: remove !NEW_INSETS cruft
13229 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13231 * buffer.[Ch]: remove !NEW_INSETS cruft
13233 * ToolbarDefaults.C: remove !NEW_INSETS cruft
13235 * CutAndPaste.C: remove !NEW_INSETS cruft
13237 * BufferView_pimpl.C: remove !NEW_INSETS cruft
13239 * BufferView2.C: remove !NEW_INSETS cruft
13241 * BufferView.h: remove !NEW_INSETS cruft
13243 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13245 * Lsstream.h: include LString.h before the sstream headers to
13246 fix problem with gcc 2.95.3 and lyxstring
13248 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13250 * lyx_main.C: add using directives when needed for C functions
13251 declared in std:: namespace.
13253 2001-04-27 Juergen Vigna <jug@sad.it>
13255 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13256 (SetHeightOfRow): comment out the update call should not be needed!
13258 2001-04-13 Juergen Vigna <jug@sad.it>
13260 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13261 (LyXTabular): tried to minimize operator= operations (and realized
13262 hopfully Lars wish).
13264 2001-04-27 Juergen Vigna <jug@sad.it>
13266 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13268 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13270 * lyxfunc.C (Dispatch): hack to make listof algorithm work
13272 * buffer.C (readInset): hack to make listof algorithm work
13274 * BufferView_pimpl.C: hack to make listof algorithm work
13276 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13278 * LyXAction.C: removed all !NEW_INSETS cruft
13279 (init): moved lfun_item in method
13281 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13283 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13285 * BufferView2.C (theLockingInset): white space.
13287 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13289 * minibuffer.C: include <iostream>
13291 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13293 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13295 * commandtags.h: add LFUN_TRANSPOSE_CHARS
13297 * text.[Ch] (TransposeChars): new method
13299 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13301 * call message directly through LyXView instead of through LyXFunc
13302 * BufferView2.C: adjust
13303 * BufferView_pimpl.C: adjust
13304 * FontLoader.C: adjust
13306 * bufferview_funcs.C: adjust
13307 * converter.C: adjust
13308 * figureForm.C: adjust
13309 * importer.C: adjust
13311 * lyx_gui_misc.C: adjust
13312 * lyxfunc.C: adjust
13315 + more files in subdirs
13317 * lyxparagraph.h (size): move up int file
13320 * adjust all uses of Assert to lyx::Assert.
13322 * BufferView2.C (ChangeCitationsIfUnique): adjust for
13323 lyxfunctional in namespace lyx
13324 * layout.C (hasLayout): ditto
13327 (delete_layout): ditto
13328 (NumberOfClass): ditto
13329 * converter.C (GetFormat): ditto
13334 * bufferlist.C (getFileNames): ditto
13335 (emergencyWriteAll): ditto
13338 * MenuBackend.C (hasSubmenu): ditto
13341 * BufferView_pimpl.C (getInsetByCode): ditto
13343 2001-04-18 Juergen Vigna <jug@sad.it>
13345 * vspace.C (asLatexString): fixed the 100% problem.
13347 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13349 * lyxfunc.C (Dispatch):
13351 * minibuffer.h: add a few std:: qualifiers
13353 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13355 * minibuffer.[Ch]: reimplement so that commands is initiated and
13356 run from lyxfunc, simplified som handling, and made the completion
13357 and history code for complete. wip.
13359 * lyxfunc.C (processKeySym): call message
13360 (miniDispatch): new temporary method
13361 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13362 (LFUN_MESSAGE): implement
13363 (LFUN_MESSAGE_PUSH): implement
13364 (LFUN_MESSAGE_POP): implement
13365 (initMiniBuffer): the initial/defualt minibuffer message.
13367 * lyxfont.[Ch]: inline some more getters
13369 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13371 * lyx_gui_misc.[Ch] (WriteStatus): remove method
13373 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13374 (AutoSave): use LFUN_MESSAGE
13375 (Reconfigure): ditto
13377 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13379 * figureForm.C: use LFUN_MESSAGE
13381 * converter.C (runLaTeX): use LFUN_MESSAGE
13383 * bufferview_funcs.C: use LFUN_MESSAGE
13385 (changeDepth): ditto
13387 * bufferparams.h: use boost::
13389 * bufferlist.h: inherit privately from noncopyable
13391 * bufferlist.C (loadLyXFile): remove some commented code.
13393 * buffer.C (runChktex): use LFUN_MESSAGE
13395 * ShareContainer.h: inherit privately from noncopyable
13397 * ParagraphParameters.[hC] (depth): inline it.
13399 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13401 (message): new method
13402 (messagePush): ditto
13403 (messagePop): ditto
13404 (show): init minibuffer
13405 (showState): direct call
13407 * LaTeX.[Ch]: inherit privately from noncopyable
13408 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13409 instead of WriteStatus.
13411 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13413 * BufferView_pimpl.C (buffer): don't init minibuffer
13414 (workAreaButtonPress): use LFUN_MESSAGE
13415 (workAreaButtonRelease): ditto
13416 (savePosition): ditto
13417 (restorePosition): ditto
13418 (MenuInsertLyXFile): ditto
13419 (workAreaExpose): don't init minibuffer
13420 (update): remove commented code, simplify
13422 * BufferView2.C (openStuff): use LFUN_MESSAGE
13423 (toggleFloat): ditto
13426 (copyEnvironment): ditto
13427 (pasteEnvironment): ditto
13432 (updateInset): remove some commented code
13434 * lastfiles.h: inherit privately from noncopyable
13437 * lyx_main.h: ditto
13439 * lyxlex_pimpl.h: ditto
13441 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13442 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13443 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13445 * LyXAction.h: inherit privately from noncopyable, add methods
13446 func_begin, func_end, returning iterators to the func map.
13448 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13449 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13450 (func_begin): new method
13451 (func_end): new method
13453 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13455 (copySelection): ditto
13456 (pasteSelection): ditto
13458 * BufferView.C: whitespace change
13459 * BufferView.h: inherit privately from noncopyable
13461 2001-04-16 Allan Rae <rae@lyx.org>
13463 * tabular-old.C (l_getline):
13464 * spellchecker.C (sc_check_word):
13465 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13466 an unrecognised preprocessor directive. So ensure they're wrapped.
13468 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
13470 * src/exporter.C (Export): Give an error message when path to file
13473 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
13475 * LaTeX.C (deplog): Always check that foundfile exists.
13477 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13480 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13482 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13484 * tabular.[Ch] (getLabelList): implement new method
13486 * minibuffer.h: comment ouf setTiimer
13488 * minibuffer.C (ExecutingCB): constify res
13489 (peek_event): constify s
13490 (Set): constify ntext
13491 (Init): constify nicename
13493 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13495 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13496 (savePosition): use two params to Minibuffer::Set
13497 (restorePosition): ditto
13499 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13501 * lyx_main.C: include language.h
13503 * Makefile.am (lyx_main.o): add language.h
13505 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13511 * CutAndPaste.C: include gettext.h
13513 * lyxfont.h: remove old hack with ON and OFF.
13516 * lyxfont.h: do not include language.h...
13521 * bufferview_funcs.C:
13527 * paragraph.C: ... but do it here instead
13529 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13531 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13533 * tabular.C: small reformat
13535 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13538 (BreakParagraph): ditto
13539 (SetOnlyLayout): ditto
13542 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13545 * lastfiles.C: removed most using decl, add std:: where needed
13547 * buffer.C: ws changes
13549 * MenuBackend.C (class compare_format): put into anon namespace
13550 (expand): constify label, names, action, action2
13553 * text.C (SingleWidth): constify font
13554 (IsBoundary): constify rtl2
13555 (GetVisibleRow): constify ww
13557 * LaTeX.C (deplog): constify logfile
13559 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13561 (workAreaExpose): constify widthChange, heightChange
13563 * lyxrow.C (par): moved
13566 * lyxrow.h: as inlines here
13568 * lyxfont.h (shape): moved from lyxfont.C
13569 (emph): moved from lyxfont.C
13571 * lyxfont.C (LyXFont): use initialization list for all
13573 (shape): move to lyxfont.h as inline
13574 (emph): move to lyxfont.h as inline
13577 2001-04-04 Juergen Vigna <jug@sad.it>
13579 * vspace.C: had to include stdio.h for use of sscanf
13581 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
13584 * BufferView_pimpl.h: remove xforms cruft. Both classes are
13585 independent of xforms.
13587 2001-04-02 Juergen Vigna <jug@sad.it>
13589 * spellchecker.C: fixed namespace placing!
13591 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
13593 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13594 the LyXParagraph * is 0.
13596 2001-03-29 Juergen Vigna <jug@sad.it>
13598 * vspace.C: added support for %, c%, p%, l%.
13599 (stringFromUnit): added helper function.
13600 (asLatexString): changed to give right results for the %-values.
13602 * buffer.C: convert the widthp in a width%.
13604 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
13606 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13609 * figureForm.[Ch]: stripped the FD_from_figure manipulation
13610 code out of lux_cb.[Ch], ready for its (imminent?) removal.
13612 * lyx_cb.[Ch]: see above.
13614 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13618 * lyx.[Ch]: replaced by figure_form.[Ch].
13622 * lyxfunc.C: changed headers associated with above changes.
13624 2001-03-27 Juergen Vigna <jug@sad.it>
13626 * BufferView_pimpl.C: set the temporary cursor right!
13628 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
13630 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13632 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
13634 * LString.h: removed "using std::getline"!
13636 * BufferView_pimpl.C (Dispatch): changes due to changes in
13637 InsetInclude::Params.
13639 * buffer.C (tag_name): removed redundant break statements as they were
13640 producing lots of warnings with my compiler.
13642 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13644 * LString.h: add "using std::getline" when using the real <string>.
13646 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
13648 * buffer.C: removed bitset usage.
13649 PAR_TAG moved to an anonymous name space.
13650 (tag_name): new funtion, also in the anonymous namespace.
13651 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13652 (makeDocBookFile): clean code. Completed transition from string arrays
13654 (SimpleDocBookOnePar): code clean.
13656 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13658 * tabular.C: add some comments.
13660 2001-03-22 Juergen Vigna <jug@sad.it>
13662 * buffer.C (parseSingleLyXformat2Token): redone the minipage
13663 compatibility read a bit and fixed bug with minipage in different
13666 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
13668 * buffer.C (pop_tag): removed.
13669 (push_tag): removed.
13670 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13671 array replaced with vector. Added support for CDATA sections.
13672 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13674 (makeDocBookFile): XML conformant declaration of CDATA section,
13675 fixed bug related to <emphasis> in the first paragraph char.
13676 (sgmlOpenTag): exclude empty tags.
13677 (sgmlCloseTag): ditto.
13679 * buffer.h (pop_tag): removed.
13680 (push_tag): removed.
13682 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
13684 * language.h (Languages): added size_type and size().
13686 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13688 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13689 response on compability reading of minipages. One probliem is that
13690 the old usage of minipages was «flertydig»
13692 * several files here and in subdirs: don't use static at file
13693 scope use anon namespaces instead.
13695 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
13697 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13698 LaTeX output. This is necessary for Literate document
13701 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13703 * buffer.C: insert hfill when needed.
13705 * tabular.C (l_getline): use string::erase, small whitespace change.
13707 * BufferView_pimpl.C: try the anon namespace.
13708 * WorkArea.C: ditto
13710 2001-03-16 Juergen Vigna <jug@sad.it>
13712 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13713 otherwise it won't open options-dialogs.
13715 * buffer.C: honor pextraWidth(p) on converting minipages.
13717 * tabular.C (l_getline): changed the functions to strip trailing \r.
13719 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
13721 * BufferView_pimpl.C:
13722 * minibuffer..C: added "using SigC::slot" declaration.
13724 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13726 * lyxlex_pimpl.h: noncopyable is in namespace boost.
13732 * paragraph.C: ditto
13734 * lyxtext.h: NO_PEXTRA
13736 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13738 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13739 * ParameterStruct.h: ditto
13740 * ParagraphParameters.h: ditto
13741 * lyxparagraph.h: ditto
13743 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13745 * buffer.C: add compability for minipage alignment.
13746 (latexParagraphs): remove unwanted pextra check.
13748 * several files: remove CXX_WORKING_NAMESPACES
13750 * buffer.C (pop_tag): tie is in namespace boost
13752 * BufferView.h: noncopyable is in namespace boost
13754 * lyx_main.h: ditto
13757 * lastfiles.h: ditto
13758 * bufferlist.h: ditto
13759 * ShareContainer.h: ditto
13761 * LyXAction.h: ditto
13764 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13766 * Merging changes from BRANCH_MVC back into HEAD.
13768 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13770 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
13772 * BufferView_pimpl.C: change from intl.C
13776 * Makefile.am: move combox.*
13782 * intl.C: remove dialog (covered by prefs)
13784 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13786 * lyxfunc.C (Dispatch): removed redundant break statement.
13788 2001-03-14 Juergen Vigna <jug@sad.it>
13790 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13792 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13794 * buffer.C: add hack to fix compability reading of minipages.
13796 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
13798 * buffer.C (getLists): Cleanup.
13800 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13802 * lyxfont.C (update): don't honor toggleall on font size.
13804 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
13808 * Makefile.am: moved to frontends/xforms/
13812 * BufferView_pimpl.C: changes for moved mathpanel
13814 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13816 * gettext.h: fix gettext_init() in --disable-nls
13818 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13820 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13822 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
13825 * lyx.h: strip external form
13827 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13829 * BufferView_pimpl.C: add comment, destroySplash()
13831 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13833 * BufferView_pimpl.C:
13837 * lyxfunc.C: use re-worked insetinclude
13839 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13841 * buffer.C: add using std::stringstream.
13843 * lyx_cb.C: readd using std::ios.
13845 * buffer.C: add using std::map.
13847 * BufferView_pimpl.C: add using std::vector.
13849 * ShareContainer.h: add std:: to swap.
13851 * buffer.h: add some typedefs
13852 * buffer.C (getLists): use them
13853 (getLists): renamed from getTocList.
13854 add a counter for the different float types and use it in the
13856 (getLists): use the same counter for the NEW_INSETS and the "non"
13859 * lyx_cb.h: remove unused items, includes, using etc.
13861 * ShareContainer.h: remove some commented code, add more comments
13862 and "documentation".
13864 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13866 * buffer.C (getTocList): make the list also when NEW_INSETS is
13869 * buffer.h: remove TocType
13871 * buffer.C (getTocList): change to return a map<string,
13872 vector<TocItem> >, implement for dynamic number of list.
13874 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13875 * text2.C (PasteSelection): adjust
13876 * CutAndPaste.C (pasteSelection): adjust
13878 * FloatList.C (FloatList): update from the new_insets branch.
13879 * Floating.[Ch]: ditto
13880 * LaTeXFeatures.C: ditto
13882 * lyxlex_pimpl.C: ditto
13884 * paragraph.C (Last): remove when NEW_INSETS is defined.
13886 * other file: changes because of the above.
13888 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13890 * lyxparagraph.h: rename next to next_, previous to previous_,
13891 make them private for NEW_INSETS. Rename Next() to next(),
13892 Previous() to previous().
13894 * other files: changes because of the above.
13896 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
13899 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13902 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13904 * main.C (main): pass lyx_localedir to gettext_init().
13906 * gettext.h: remove locale_init and gettext_init macros
13908 * gettext.C (locale_init): new function
13909 (gettext_init): new function
13911 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13914 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
13916 * Moved credits to frontends:
13917 * credits.[Ch]: removed
13918 * credits_form.[Ch]: removed
13919 * lyx_gui_misc.C: remove credits stuff
13922 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13924 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13926 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13927 unneeded destructor.
13929 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13930 a standalone pointer again.
13932 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13934 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
13940 * ToolbarDefaults.C:
13949 * BufferView_pimpl.C: use new file dialog in GUII
13952 * lyx_cb.C: remove LayoutsCB to Toolbar
13954 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13956 * ShareContainer.h (get): add std:: qualifier
13958 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13960 * ShareContainer.h: define a proper ShareContainer::value_type
13961 type (and use typename to please compaq cxx)
13963 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13965 * lyxparagraph.h: move serveral local vars to
13966 ParameterStruct/ParagraphParameters., use ShareContainer in
13967 FontTable., make vars in FontTable private and add getter and
13970 * paragraph.C: changes because of the above.
13972 * lyxfont.h: remove copy constructor and copy assignment. (the
13973 default ones is ok), move number inside FontBits. move inlines to
13976 * lyxfont.C: add number to initializaton of statics, move several
13977 inlines here. constify several local vars. some whitespace
13978 cleanup. Dont hide outerscope variables.
13980 * Spacing.h: add two new constructors to match the set methods.
13982 * ShareContainer.h: new file, will perhaps be moved to support
13984 * ParameterStruct.h: new file
13986 * ParagraphParameters.h: new file
13988 * ParagraphParameters.C: new file
13990 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13991 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13993 * BufferView_pimpl.C: ParagraphParameter changes.
13994 * buffer.C: Likewise.
13995 * bufferview_funcs.C: Likewise.
13996 * text.C: Likewise.
13997 * text2.C: Likewise.
13999 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14001 * lyxfind.C (LyXReplace): do not redefine default argument in
14003 (IsStringInText): ditto
14004 (SearchForward): ditto
14005 (SearchBackward): ditto
14007 2001-03-06 Juergen Vigna <jug@sad.it>
14009 * lyxfind.C (IsStringInText): put parentes around expressions.
14011 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
14013 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14015 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
14017 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14019 * stl_string_fwd.h: add comment
14021 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14024 * tabular.C: remove unused DocBook methods
14030 killed DO_USE_DEFAULT_LANGUAGE
14032 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14034 * lyx_gui.C: do not include language.h.
14036 * bufferview_funcs.C (ToggleAndShow): do not provide optional
14037 arguments in function implementation.
14039 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14041 * BufferView_pimpl.C: add <ctime>
14043 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14045 * BufferView_pimpl.C: add using std::find_if
14047 2001-02-27 José Matos <jamatos@fep.up.pt>
14049 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14052 2001-02-11 José Matos <jamatos@fep.up.pt>
14054 * buffer.C (makeDocBookFile): command styles now have a parameter as
14055 "title" by default.
14057 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
14059 * layout_forms.[Ch]: removed
14060 * lyx_cb.[Ch]: out character
14061 * lyx_gui.C: out character
14062 * lyx_gui_misc.C: out character
14063 * bufferview_funcs.C: : out character,
14064 added toggleall as parameter in ToggleAndShow
14066 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
14068 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14070 * text2.C (SetCurrentFont): Disable number property at boundary.
14072 2001-02-26 Juergen Vigna <jug@sad.it>
14074 * lyxfunc.C (getStatus): added a string argument override function so
14075 that this is correctly called from LyXFunc::Dispatch if it contains a
14076 do_not_use_argument which is used!
14077 (Dispatch): added check for "custom" export and call appropriate func.
14079 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
14081 * lyxrc.C: Add language_command_local, language_use_babel and
14082 language_global_options.
14084 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14086 * buffer.C (makeLaTeXFile): Use language_use_babel and
14087 language_global_options.
14089 2001-02-23 Juergen Vigna <jug@sad.it>
14091 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14092 which works with LyXText and putted it inside BufferView. Here now we
14093 only call for that part the BufferView::Dispatch() function.
14095 * BufferView.C (Dispatch): added.
14097 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14098 functions which needs to use a LyXText over from LyXFunc.
14099 (MenuInsertLyXFile): added
14100 (getInsetByCode): added
14101 (moveCursorUpdate): added
14102 (static TEXT): added
14104 2001-02-22 Juergen Vigna <jug@sad.it>
14106 * BufferView_pimpl.C (update): call a status update to see if LyXText
14109 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14111 * vc-backend.C (revert): implement for CVS
14112 (getLog): implement for CVS
14114 2001-02-20 Juergen Vigna <jug@sad.it>
14116 * text2.C (ClearSelection): added BufferView param for inset_owner call
14118 * lyxfunc.C (TEXT): added this function and use it instead of
14119 directly owner->view()-text of getLyXText().
14121 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
14123 * src/layout_forms.C: out preamble
14124 * src/layout_forms.h: out preamble
14125 * src/lyx_cb.C: out preamble
14126 * src/lyx_cb.h: out preamble
14127 * src/lyx_gui.C: out preamble
14128 * src/lyx_gui_misc.C: out preamble
14129 * src/lyxfunc.C: connect with guii preamble
14131 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14133 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14135 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14137 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14138 whether to run bibtex.
14140 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14142 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14144 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14146 * Makefile.am (lyx_SOURCES): removed bibforms.h
14148 * vspace.h: doxygen
14150 * text.C (GetVisibleRow): make several local vars const
14152 * tabular.C: small cleanup.
14154 * lyxserver.C (callback): use compare instead of strncmp
14156 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14157 inlines to after class or to paragraph.C
14159 * lyxfont.h: remove friend operator!=
14161 * converter.h: move friend bool operator< to non friend and after
14164 * combox.h: small cleanup
14166 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14167 to inlines after class def.
14169 * buffer.C (pop_tag): use string operations instead of strcmp
14171 * bmtable.c: doxygen, small cleanup
14173 * LaTeX.h: remove friend operator==
14175 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14187 * BufferView_pimpl.C:
14188 * BufferView.[Ch]: remove cruft
14190 2001-02-14 Juergen Vigna <jug@sad.it>
14192 * lyxfunc.C: removed #if 0 unused code
14194 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14196 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14198 * text2.C (SetSelection): added a BufferView * parameter
14200 2001-02-13 Juergen Vigna <jug@sad.it>
14202 * lyxfunc.C (Dispatch): fixed protected blank problem.
14203 * BufferView2.C (protectedBlank): added LyxText * parameter.
14205 * tabular.C (AppendRow): forgot to set row_info of newly added row.
14206 (AppendColumn): same as above for column_info.
14208 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14209 (moveCursorUpdate): use a LyXText param for support of InsetText.
14211 * BufferView_pimpl.C (doubleClick): added support for InsetText.
14212 (tripleClick): ditto
14214 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14216 * BufferView_pimpl.C (update): added LyXText param to honor insets.
14218 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14220 * text2.C (SetSelection): set correct update status if inset_owner
14221 (ToggleFree): ditto
14223 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
14225 * tabular.C: remove some commented code.
14227 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
14229 * BufferView_pimpl.C: call hideSplash()
14231 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14234 * bibforms.h: remove
14237 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14238 add LFUN_CHILD_CREATE
14240 * counters.h: fix tiny typo
14245 * lyx.C: move splash to frontends/xforms/
14247 * lyx_gui_misc.C: move Include and Bibform to frontends
14249 * lyxvc.h: clarify comment
14251 * vspace.C: tiny housekeeping
14253 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
14255 * text.C (PrepareToPrint): RTL Fix.
14257 * paragraph.C (GetUChar): New method.
14258 (String): Use GetUChar.
14260 * buffer.C (asciiParagraph): Use GetUChar.
14262 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
14264 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14266 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
14269 * buffer.C: rename to getLogName(), handle
14270 build log / latex log nicely
14272 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14275 * MenuBackend.h: remove support for reference menuitem type.
14277 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
14279 * BufferView_pimpl.C: housekeeping
14280 * BufferView_pimpl.h:
14285 * minibuffer.h: move Timeout GUI-I
14287 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
14289 * lyxrc.C (read): Update converters data-structures.
14291 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
14293 * LaTeX.h (operator!=): add operator != for Aux_Info
14295 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
14297 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14299 * LaTeXLog.C: deleted, useful code moved to Buffer
14302 * buffer.C: new function getLatexLogName()
14308 * lyxfunc.C: use frontends for LaTeX and VC logs
14310 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14312 * LaTeX.h: yet another std:: that Allan forgot.
14314 * Variables.C (set): renamed from isset(), because this clashes
14315 with some HP-UX macros (grr).
14317 2001-02-06 Allan Rae <rae@lyx.org>
14319 * LaTeX.h: Another bug fix. Missing std:: this time.
14321 2001-02-04 Allan Rae <rae@lyx.org>
14323 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14324 floats problem. I've left it commented out because it's not quite
14325 correct. It should also test that the current object is a table or
14326 figure inset. But I haven't gotten around to figuring out how to do
14327 that. I *think* it'll be something like: "table" == inset.type()
14329 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14332 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
14334 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14335 all the citation/databases/styles in the auxilary file.
14336 (run): Rerun latex if there was a babel language error.
14338 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
14340 * text.C (Backspace): Preserve the font when changing newline char
14342 (BreakParagraph): If the cursor is before a space, delete the space.
14344 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14346 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
14348 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14349 new argument (code).
14350 (ChangeCitationsIfUnique): New method.
14352 * paragraph.C (GetPositionOfInset): Handle bibkey.
14354 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14356 * BufferView_pimpl.h: change type of Position::par_pos to
14357 LyXParagraph::size_type.
14359 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
14361 * BufferView_pimpl.C (savePosition, restorePosition): Write
14362 messages to minibuffer.
14364 2001-01-28 José Matos <jamatos@fep.up.pt>
14366 * buffer.C (makeDocBookFile): adds support for document language.
14367 A silly restriction on the name of LatexCommand types where removed.
14368 Added support for CDATA sections, allows to chars unescaped, used
14369 among others in code, to avoid escape < and >.
14371 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14373 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14374 saved positions instrad of a stack. Furthermore, a position is
14375 stored using paragraph id/paragraph position.
14377 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14378 Remove LFUN_REF_BACK.
14380 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14382 * converter.C (dvipdfm_options): New method.
14384 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
14386 * vspace.C (isValidLength): Fix for empty input string.
14388 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14390 * LyXAction.C (init): change description of LFUN_FIGURE to
14393 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14395 * LaTeX.C: add using directive
14397 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14399 * MenuBackend.C (expand): Fix the sorting of the formats.
14401 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
14403 * lyx_main.C: tiny error message fix
14405 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14407 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14408 calling fl_initialize(). This fixes the problem with ',' as
14409 decimal separator in text files.
14411 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14413 * trans.C (process): Fix the keymap bug.
14415 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
14417 * LaTeX.C (scanAuxFiles): New method. Provides support for
14418 multiple bibliographies (when using the bibtopic/bibunits pacakges).
14419 (scanLogFile) Scan for "run BibTeX" messages.
14421 * buffer.C (makeLaTeXFile): Do not load the ae package when using
14422 OT1 font encoding. Also, load the aecompl package if the ae
14425 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14427 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14429 * texrow.C (increasePos): turn two error messages into debug
14432 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
14434 * LaTeX.C (scanAux): Handle the \@input macro.
14435 (runBibTeX): Use scanAux().
14437 * language.C (latex_options_): New field.
14439 * LaTeXFeatures.C (getMacros): Add language macros.
14441 * buffer.C (makeLaTeXFile): Small fix.
14443 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14445 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14447 * text2.C: add a using directive.
14449 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
14454 * lyxfunc.C: kill LyXBell.
14456 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
14458 * text.C (IsBoundary): Remove the error message
14460 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14462 * lyxrc.C (setDefaults): Correct initialization value for
14465 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
14467 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14470 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14471 and GotoNextNote().
14473 * src/LyXAction.C: Added reference-next.
14475 * text.C (InsertChar): Use contains instead of strchr.
14477 * lyx_cb.C (MenuInsertLabel): Enable default value code.
14479 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
14481 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14482 alignment commands (when needed).
14484 * text.C (InsertChar): Add ':' to number separator chars.