2 2004-01-15 André Pönitz <poenitz@gmx.net>
4 * cursor_slice.[Ch]: add a few covienience functions
6 * funcrequest.[Ch]: remove BufferView * member
15 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
17 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
19 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
20 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
22 2004-01-13 André Pönitz <poenitz@gmx.net>
25 * lyxtext.h: hide cursor and selection anchor behind accessor function
28 * BufferView_pimpl.[Ch]:
40 * cursor_slice.[Ch]: some integer type changes for inset unification
42 * lyxcursor.[hC]: remove, it's CursorSlice now.
45 * BufferView_pimpl.[Ch]:
52 * textcursor.[Ch]: adjust
54 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
56 * text2.C (undoSpan): add and use
57 * text.C (breakParagraph): use undoSpan (fix bug 578)
60 2004-01-08 Angus Leeming <leeming@lyx.org>
62 * BufferView_pimpl.C (MenuInsertLyXFile):
63 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
64 * lyxfunc.C (menuNew, open, doImport):
65 FileFilterList change to the FileDialog open and save functions.
67 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
69 * ShareContainer.h: make isEqual and isUnique adaptable
71 * CutAndPaste.C: make resetOwnerAndChanges adaptable
73 2004-01-07 Angus Leeming <leeming@lyx.org>
76 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
78 * BufferView_pimpl.C (dispatch): act on these LFUNs.
80 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
81 functions replacing find, replace and replaceAll.
83 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
84 LFUN_WORDFIND(FORWARD|BACKWARD).
86 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
88 * text.C (breakParagraph): remove an outdated #warning
90 2004-01-07 André Pönitz <poenitz@gmx.net>
92 * lyxfind.C: somewhat clearer logic
94 * text.C: prevent crash in cursorX on unitialized row cache
96 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
98 * lyxcursor.[Ch] (operator>): add
99 * textcursor.C (selStart, selEnd): use std::min and std::max
101 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
103 * Chktex.C: include boost/format.hpp
105 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
107 * InsetList.C: replace functor MathcIt with adaptable functor
109 (insetIterator): modify accordingly
111 * BranchList.h: move the BranchNamesEqual functor here from...
112 * BranchList.C: ... to here
114 * BranchList.C: new BranchListEqual fuctor, use it. Remove
116 (add): replace a finding loop with std::find_if.
118 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
120 * output_docbook.C: moving LatexParam functionality into
123 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
125 * buffer.C: increment format to 229.
127 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
130 * lyx_sty.[Ch]: remove minipageindent_def
136 * text3.C: remove LFUN_INSET_MINIPAGE
138 2003-12-28 Angus Leeming <leeming@lyx.org>
140 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
142 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
144 * text2.C (setParagraph): fix off-by-one crash
146 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
148 * output_docbook.C: header stuff for AGU
150 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
152 * text2.C (redoCursor): remove
155 * BufferView_pimpl.C: remove calls to redoCursor and
156 setCursor(cursor.par(), cursor.pos()) all around
158 2003-12-15 Angus Leeming <leeming@lyx.org>
160 * buffer.C: up the format to 228.
162 2003-12-15 André Pönitz <poenitz@gmx.net>
164 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
169 * BufferView_pimpl.C:
178 2003-12-15 Angus Leeming <leeming@lyx.org>
180 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
181 than getFromGUIName to manipulate the color.
183 2003-12-14 Angus Leeming <leeming@lyx.org>
185 * BranchList.[Ch]: minimize the API.
186 (Branch::getBranch, getColor): now return a 'const &'.
187 (Branch::setSelected) now returns a bool set to true if the
188 selection status changes.
189 (BranchList::clear, size, getColor, setColor, setSelected,
190 allBranches, allSelected, separator): removed.
191 (BranchList::find): new functions, returning the Branch with
193 (BranchList::add, remove): return a bool indicating that
194 the operation was successful.
196 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
197 new InsetBranch::isBranchSlected member function.
199 * LColor.[Ch]: mimimize the API.
200 (fill): renamed as addColor and made private.
201 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
202 versions of these functions taking a string arg have been removed.
204 * bufferparams.C (readToken):
205 * lyxfunc.C (dispatch):
206 * lyxrc.C (read): changes due to the altered BranchList and
209 * factory.C (createInset, readInset): changes due to altered
212 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
215 * lyxfunc.C: remove insetminipage. "minipage-insert"
216 now produces a frameless minipage box inset.
218 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
220 * textcursor.[Ch] (selStart,selEnd): add new methods
221 remove selection::start, end, use LyXCursor::operator<
222 * lyxcursor.[Ch] (operator<): add
223 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
224 * BufferView.[Ch] (unsetXSel): add
225 * text2.C (clearSelection): use unsetXSel,adjust
228 * rowpainter.C: adjust
229 * bufferview_funcs.C (put_selection_at): adjust
231 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
233 * BufferView_pimpl.C: small coord. correction
235 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
237 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
238 dragging over the splash screen.
240 2003-12-11 Angus Leeming <leeming@lyx.org>
242 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
243 as it is now handled in LyXText::dispatch.
245 * text3.C (doInsertInset): remove a level of nesting.
247 2003-12-11 Angus Leeming <leeming@lyx.org>
249 * factory.C (createInset): changes due to the changed interface to
250 InsetCommandMailer::string2params.
252 2003-12-10 Angus Leeming <leeming@lyx.org>
254 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
255 'dialog-show-new-inset <inset name>'
257 2003-12-10 Angus Leeming <leeming@lyx.org>
259 * buffer.C: up the format to 227.
261 * factory.C: the box inset is now identified simply by 'Box'.
263 2003-12-10 Angus Leeming <leeming@lyx.org>
265 * buffer.C: up the format to 226.
267 * factory.C: the note inset is now identified simply by 'Note'.
269 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
271 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
272 when a pit is enough. Standarize a couple of loops.
274 2003-12-05 Angus Leeming <leeming@lyx.org>
276 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
277 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
278 data to the re-worked "log" dialog.
280 2003-12-03 André Pönitz <poenitz@gmx.net>
288 * text2.C: use Inset::getText instead of Inset::getParagraph
290 2003-12-03 André Pönitz <poenitz@gmx.net>
294 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
295 InsetText::read() as LyXText::read()
297 2003-12-02 Angus Leeming <leeming@lyx.org>
299 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
300 type. Add a comment in the implementation that the function uses
301 the stream's bad() function rather than fail() as the std::streams
304 2003-12-02 André Pönitz <poenitz@gmx.net>
306 * lyxlex.[Ch]: make interface more similar to std::stream
308 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
310 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
312 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
314 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
316 * vspace.[Ch]: remove VSpace::NONE
318 2003-12-01 André Pönitz <poenitz@gmx.net>
321 * lyxtext.h: move ParagraphList member to LyXText
322 rename LyXText::ownerParagraphs to LyXText::paragraph
325 * bufferview_funcs.C:
335 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
337 * undo.C: fix cursor positioning
339 2003-12-01 John Levon <levon@movementarian.org>
341 * BufferView_pimpl.C: fix a crash on exit with
344 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
346 * BranchList.C: fix setSelected() method.
348 2003-11-28 André Pönitz <poenitz@gmx.net>
350 * ParagraphParameters.[Ch]:
351 * ParameterStruct.h: remove space above/below from Paragraph to
354 * BufferView_pimpl.C:
366 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
368 * factory.C: Syntax change for CharStyles
370 2003-11-28 André Pönitz <poenitz@gmx.net>
375 * buffer.[Ch]: move LyXText member
377 2003-11-28 André Pönitz <poenitz@gmx.net>
379 * BufferView.[Ch]: make LyXText * text a private member
381 * BufferView_pimpl.C:
392 * output_plaintext.C: cleanup
394 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
397 * lyxtextclass.[Ch]: parametrize SGML document header
399 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
402 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
405 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
407 * text2.C (setFont): rework using PosIterator (no more recursive)
408 (setCharFont): no more needed
409 (setLayout): no more selection cursors fiddling (done by redoCursor)
410 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
411 destroy remaining ones)
413 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
415 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
417 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
420 * text3.C: adjust + re-allow multi par depth changes
421 * textcursor.C: simplify a bit
423 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
429 * src/output_docbook.C:
430 * src/output_latex.C:
435 * src/text2.C: Introducing a number of tags parametrizing various
436 XML formats that we may want to support
438 2003-11-25 André Pönitz <poenitz@gmx.net>
440 * InsetList.[Ch] (begein, end): inline as suggested by profiler
442 * lyxtext.h (leftMargin/rightMargin): simplify interface
449 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
451 * lyxfunc.C (dispatch): propogate the bibtex databases from the
452 master file to any child files. Fixes bug 546.
454 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
456 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
458 2003-11-24 André Pönitz <poenitz@gmx.net>
460 * rowpainter.C: simplification
462 * text2.C (updateCounters): remove call to redoParagraph on
463 changed labels as this is far too expensive.
465 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
467 * converter.C (convert): fix a crash: this function gets
468 called with buffer == 0 from importer code.
470 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
472 * text3.C (cursorPrevious): make sure that we do not compare
473 iterators form different containers.
476 * rowpainter.C (paintSelection): make sure that we do not compare
477 iterators from different containers.
479 * text3.C (dispatch): [PRIOR] make sure that we do not compare
480 iterators from different ParagraphList containers.
483 * text2.C (LyXText): change order of initialization slightly
484 (operator=): new function. copy all variables except cache_par_
485 (moveUp): make sure that we do not compare iterators from
486 different ParagraphList constainers.
489 * text.C (firstPar): new function
490 (lastPar): new function
491 (endPar): new function
493 * lyxtext.h: move things around and group public functions, public
494 variables, private functions, private variables
496 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
498 * factory.C: change call to InsetERT constructor to avoid
499 additional invocation of method status
500 * text2.C (toggleInset): remove redundant update() call
501 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
502 instead of a Bufferview pointer
504 2003-11-21 André Pönitz <poenitz@gmx.net>
506 * rowpainter.C: simplification
508 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
510 * text3.C (dispatch): make possible to extend a word/row selection
513 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
515 * lyxtext.h: x0_,y0_ -> xo_,yo_
516 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
517 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
518 * rowpainter.C (paintRows): paint full paragraphs
520 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
522 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
525 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
527 * lyxtext.h: add x0_, y0_
528 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
529 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
531 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
533 * text2.C (setCursorIntern): move the x_target update here *
534 * text3.C: change some bv() to true/false in calls to
535 cursorUp/Down/Right/Left
536 * cursor.C: use helper function.
538 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
540 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
541 * paragraph_funcs.[Ch]: correct comment
542 * rowpainter.C: do not paint selections away from bv->cursor()
543 Fix a long standing selection painting bug.
544 * text3.C: generalize mouse-selection code to LyXTexts other that
546 * textcursor.C: do not use y coords if we can use par offsets
548 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
550 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
551 cursor position after e.g. inset insert)
553 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
555 * lyxfind.C (replace): adjust to locking removal + some
558 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
560 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
563 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
566 * output_docbook.C: XML sanitation: new layout
567 parameters InnerTag and CommandDepth
569 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
571 * BufferView_pimpl.C:
573 * text3.C: Fix the insertion and modification of button-style
576 2003-11-13 André Pönitz <poenitz@gmx.net>
578 * InsetList.[Ch]: remove deleteLyXText
580 * paragraph.[Ch]: cache beginOfBody position
585 * text3.C: remove superfluous update() calls
589 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
591 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
592 * BufferView.C (fitLockedInsetCursor): remove
593 * cursor.[Ch] (getDim): add
594 * text.C (getRowNearY): add faster version
595 * text3.C: remove some update calls
597 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
609 * text3.C: The Character Style /XML short element patch.
611 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
614 * factory.C: Small step to solving 'unable to insert some insets'
617 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
619 * cursor.[Ch] (updatePos): new function for updating the y
620 position of the tip inset
621 * bufferview_funcs.C (put_selection_at):
622 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
624 2003-11-11 André Pönitz <poenitz@gmx.net>
626 * text.C: remove big comment on invalid Paragraph pointers as it is
629 2003-11-11 André Pönitz <poenitz@gmx.net>
631 * text_funcs.[Ch]: merge with ...
639 * Makefile.am: remove text_funcs.[Ch]
641 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
643 * cursor.C (getPos): return absolute cached y coord
645 * BufferView_pimpl.C (fitCursor): new simplistic code
646 (workAreaDispatch): add a fitCursor call
648 2003-11-10 André Pönitz <poenitz@gmx.net>
651 * BufferView_pimpl.[Ch]: merge update() and updateInset()
653 2003-11-10 André Pönitz <poenitz@gmx.net>
655 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
656 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
657 indicate that the cursor needs to leave an inset
659 * lyxtext.h: remove inset locking
661 * cursor.[Ch]: re-implement functionality provided by inset locking
664 * BufferView_pimpl.[Ch]:
666 * bufferview_funcs.[Ch]:
678 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
680 * PosIterator.[Ch]: replace the stack with a vector, add inset
682 * iterators.[C]: adjust
684 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
686 * lyxfind.C (replaceAll): mark the buffer dirty if something was
688 * paragraph_funcs.C (readParToken): put the correct id in the
689 error item, not the id of the top paragraph
691 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
693 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
694 * bufferview_funcs.C (put_selection_at): use the above
696 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
698 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
700 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
703 * output_plaintext.h:
705 * output_docbook.h: add #include statements
707 2003-11-05 José Matos <jamatos@lyx.org>
709 * output_docbook.[Ch]:
711 * output_linuxdoc.[Ch]:
712 * output_plaintext.[Ch]: New files for output formats.
713 * output.[Ch]: New file for helper functions.
716 * paragraph_funcs.[Ch]: output functions moved to new files.
718 * outputparams.h: rename of latexrunparams.h
726 * paragraph_funcs.[Ch]:
727 * paragraph_pimpl.[Ch]:
728 * tabular.[Ch]: rename ascii to plaintext
729 and LatexRunParams to OutputParams.
731 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
733 * iterators.[Ch] (text): require bv argument
734 * undo.C (recordUndo):
735 * lyxfunc.C (dispatch):
736 * bufferview_funcs.C (put_selection_at): adjust
738 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
740 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
742 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
744 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
747 2003-11-04 André Pönitz <poenitz@gmx.net>
749 * cursor.[Ch]: restructure
752 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
754 * iterators.[Ch] (asCursor): remove
756 * lfuns.h: remove LFUN_INSET_EDIT
762 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
764 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
766 * lyxfind.[Ch]: complete overhaul
767 * BufferView_pimpl.C:
769 * paragraph.[Ch] (insert): add
771 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
775 * text.C: remove dead spellcheck code
777 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
779 * dispatchresult.h: add a val setter
781 * cursor.C (dispatch): use a tempvar for data_[i]
783 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
785 * PosIterator.[Ch]: compile fix
787 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
789 * text.C (cursorPar): deactivate the cursor cache
791 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
793 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
795 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
797 * text3.C (dispatch): adjust for new DisptchResult semantics.
799 * lyxfunc.C (dispatch): handle update when return from
800 Cursor::dispatch, adjust for new DispatchResult semantics.
802 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
803 DispatchResult(true) mean to not update. Add class functions for
804 setting dispatched and update, as well as reading.
806 * cursor.C (dispatch): don't handle update here
808 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
810 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
811 * trans_mgr.C: adjust
813 * paragraph_funcs.C (readParToken): exception safety
815 * lyxvc.h: store the vcs pointer in a scoped_ptr
818 * lyxsocket.C (serverCallback): exception safety
820 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
822 * ispell.C (clone): make it return a auto_ptr
824 * factory.C (createInset): exception safety
825 (readInset): exception safety
827 * bufferlist.C (newBuffer): exception safety
829 * Thesaurus.C (Thesaurus): use initialization for aik_
831 * MenuBackend.C (expandToc): exception safety.
833 2003-11-03 André Pönitz <poenitz@gmx.net>
837 * bufferview_funcs.C: remove getInsetFromId()
840 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
846 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
848 * PosIterator.C (distance, advance): new
849 * bufferview_funcs.[Ch] (put_selection_at): new
850 * iterators.[Ch] (lockPath): new
852 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
854 * iterators.[Ch] (asPosIterator): added
855 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
856 * PosIterator.[Ch]: added
858 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
862 * cursor.C (dispatch):
863 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
865 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
866 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
867 contructor, add a class function dispatched. Remove operator>=
869 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
871 * debug.C: only use the default constructor for debugstream
874 * main.C (main): include debug.h and setup the lyxerr streambuf
877 2003-10-31 José Matos <jamatos@lyx.org>
879 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
881 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
882 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
883 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
884 * paragraph_pimpl.C (simpleTeXSpecialC):
885 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
886 add LatexRunParams argument.
888 * exporter.C (Export): change call accordingly.
890 * latexrunparams.h: add new member to take care of the other backends.
891 2003-10-30 José Matos <jamatos@lyx.org>
893 * buffer.C (makeLinuxDocFile, makeDocBookFile):
894 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
895 factorise code for paragraph output.
897 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
900 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
902 * text3.C (dispatch):
903 * lyxfunc.C (dispatch):
904 * cursor.C (dispatch):
905 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
907 * dispatchresult.h: make the dispatch_result_t ctor explicit
909 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
912 * buffer.C: small refactoring of docbook stuff
914 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
916 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
919 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
921 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
922 operator dispatch_result_t, and operators for == != and >=
924 * cursor.C (dispatch): adjust for operator dispatch_result_t
925 removal. comment out call to update
927 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
929 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
937 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
940 * dispatchresult.h: new file, DispatchResult broken out of
943 * Makefile.am (lyx_SOURCES): add dispatchresult.h
945 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
947 * text.C (rowBreakPoint): put a hack inside #if 0
949 2003-10-28 André Pönitz <poenitz@gmx.net>
956 * text2.C: general cleanup (lots of small stuff)
958 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
960 * text2.C (cursorEnd): simple fix to the "end key goes to one
961 before the end on last row" bug
963 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
965 * text.C (backspace): fix the "zombie characters"
967 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
969 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
971 2003-10-27 André Pönitz <poenitz@gmx.net>
973 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
975 * factory.C: handle new InsetPagebreak, InsetLine
977 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
978 and move handling into new InsetPagebreak, InsetLine
980 * BufferView_pimpl.C:
982 * ParagraphParameters.C:
995 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1004 * text3.C: remove lastPos uses in favour of Row::endpos
1006 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1008 * undo.C (performUndoOrRedo): fix two crashes by setting a
1009 cursor by hand and reordering some calls. Use bv->lockInset instead
1010 of inset->edit because the latter loses cursor information
1012 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
1014 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1016 (rowBreakPoint): fix width. change point to point + 1.
1017 Add a missing check.
1019 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
1022 * lyxfunc.C: fix (at least partly) the problems
1023 with the Nav menu and headers inside branch insets
1026 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
1028 * paragraph.C (getChar): add strong asserts
1030 * lyxrow_funcs.C (lastPos): remove hideous hack
1032 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1033 (fill): adjust to that (avoid an infinite loop)
1035 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1037 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1039 2003-10-23 André Pönitz <poenitz@gmx.net>
1041 * RowList_fwd.h: change list<> to vector<> to gain speed
1042 after suggestion from Alfredo
1044 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1046 * lyxtext.h: move the bidi stuff from here...
1049 * Bidi.[Ch]: ... to here
1051 2003-10-23 André Pönitz <poenitz@gmx.net>
1054 * text.C (isLastRow, isFirstRow): new functions
1056 * paragraph.h: new width cache member
1058 * rowpainter.C: replace RowList::iterator with Row & where possible
1060 * lyxfunc.C: replace several view()->text with a single call
1062 * toc.C: fix 'unused' warning
1064 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1066 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1067 when woring with stream::pos_type
1068 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1070 2003-10-22 André Pönitz <poenitz@gmx.net>
1073 * text.C: use Row & instead of RowList::iterator
1075 * lyxrow.h: rename end() to endpos()
1081 2003-10-22 Angus Leeming <leeming@lyx.org>
1083 * buffer.[Ch] (fully_loaded): new member function, returning true
1084 only when the file has been loaded fully.
1085 Used to prevent the premature generation of previews and by the
1086 citation inset to prevent computation of the natbib-style label.
1088 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1089 templates are all set up.
1091 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1093 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
1095 * text.C: fixed an "oops" in the "is a bit silly"
1098 2003-10-21 André Pönitz <poenitz@gmx.net>
1100 * FuncStatus.[Ch]: small stuff, whitespace
1102 * lyxfont.[Ch]: operator<<() for debug reasons
1106 * lyxtext.h: whitespace, spelling
1108 * paragraph.C: naming of variables
1111 * text2.C: small stuff
1114 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1116 * text.C: (1) finish off the inset display() work;
1117 (2) fix the "is a bit silly" bug (accessing char
1120 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1122 * text.C: re-introduce display() for insets, fixing the
1123 various bugs (stretch of line above, math inset
1126 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1128 * text.C (rightMargin): remove spurious semicolon
1130 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1133 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1135 * text3.C: fix one crash due to wrong cursor def
1137 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1139 * vc-backend.C (scanMaster): make the regex static
1141 * LaTeX.C (scanAuxFile): make the regexs static
1143 * text3.C (doInsertInset, dispatch, dispatch):
1144 * text2.C (cursorUp, cursorDown):
1145 * text.C (selectNextWordToSpellcheck):
1146 * BufferView_pimpl.C (dispatch):
1147 * lyxfunc.C (dispatch): localDispatch -> dispatch
1149 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1151 * lyxsocket.C: include <cerrno>
1153 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1155 * lyxfunc.C (dispatch): remove textcache stuff
1157 * bufferlist.C (release): remove textcache stuff
1160 * TextCache.C: delete file
1161 * TextCache.h: delete file
1163 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1165 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1166 delete of the bv_->text.
1167 (resizeCurrentBuffer): remove texcache stuff
1168 (workAreaResize): ditto
1170 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1172 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1175 2003-10-16 André Pönitz <poenitz@gmx.net>
1182 * text3.C: speed up by storing y positions per paragraph plus per-row
1183 offset instead of having a 'full' y position in the row.
1185 2003-10-15 André Pönitz <poenitz@gmx.net>
1189 * undo.[Ch]: make undo aware of inner insets
1191 2003-10-14 Angus Leeming <leeming@lyx.org>
1193 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1194 static member functions LyX::ref() and LyX::cref.
1195 (lastfiles): new accessor functions for the new lastfiles_ member var.
1196 (addLyXView, views_): add a new LyXView to the list of views_.
1197 (updateInset): loop over all LyXViews to call their own updateInset
1198 member function, returning a pointer to the Buffer owning the inset.
1200 * BufferView_pimpl.C (loadLyXFile):
1201 * MenuBackend.C (expandLastfiles):
1202 * bufferlist.C (MenuWrite, QuitLyX):
1203 lastfiles is no longer a global variable.
1204 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1206 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1207 static function. Access through LyX::cref().emergencyCleanup().
1209 2003-10-14 André Pönitz <poenitz@gmx.net>
1211 * iterators.[Ch]: new direct access to innermost LyXText and Inset
1213 * undo.[Ch]: restoring part of 'undo in insets'
1216 * undo_funcs.[Ch]: merge with undo.[Ch]
1218 * tabular.C: small cleansing stuff
1220 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
1222 * paragraph_funcs.C (readParToken): report unknown insets as error
1223 boxes. Use the outer paragraph as location (also for unknown
1226 * factory.C (readInset): do not abort on reading an unknown inset.
1227 Eat it and return 0.
1229 2003-10-13 Angus Leeming <leeming@lyx.org>
1231 * lyx_main.C (LyX): remove call to setDisplayTranslator().
1233 * lyxrc.C: displayTranslator is now a function,
1234 declared in GraphicsTypes.h.
1236 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1238 * format.C: new placeholder $$a to pass the socket address.
1240 * bufferlist.[Ch]: new function getBufferFromTmp.
1242 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1243 files in the temporary dir.
1245 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1247 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1249 * Makefile.am: add lyxsocket.[Ch].
1251 * lyx_main.C (error_handler): handle SIGPIPE.
1253 2003-10-13 André Pönitz <poenitz@gmx.net>
1255 * BufferView_pimpl.C:
1260 * undo_funcs.[Ch]: use paroffset_type instead of
1261 ParagraphList::iterators to prevent multiple conversion
1262 (and get a more robust interface)
1264 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1266 * lyxfunc.C (dispatch): RESULT -> dispatch_result
1268 * text3.C (dispatch): ditto
1270 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1272 * LaTeX.C (handleFoundFile): move the static to smaller scope,
1273 move the onlyfile, use onlyfile instead of foundfile in a couple
1276 * DepTable.C (update): flush the error stream a bit more
1278 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1280 * lyxserver.C (callback): adjust
1282 * lyxfunc.C (getStatus): add a missing brace in commented code
1283 (ensureBufferClean): reindent
1284 (dispatch): delete version taking a string
1286 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1288 * LaTeX.C (deplog): move found file handlig from here...
1289 (handleFoundFile): .. to new function here.
1290 (deplog): make sure to discover several files mentioned on the
1293 2003-10-10 André Pönitz <poenitz@gmx.net>
1300 * text3.C: fix some of the tabular crashes
1302 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1304 * MenuBackend.C (binding): put debug message into Debug::KBMAP
1306 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1308 2003-10-09 André Pönitz <poenitz@gmx.net>
1310 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1313 * BufferView_pimpl.C:
1314 * bufferview_funcs.C:
1325 * undo_funcs.C: adjust
1327 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1329 * text2.C (incrementItemDepth): new function, use a backtracking
1330 algorithm to discover the correct item depth.
1331 (resetEnumCounterIfNeeded): new function, use a backtracking
1332 algorithm to discover if counter reset is needed.
1333 (setCounter): use them. Simplify a bit. Add different labels for
1334 different item depths for itemize.
1336 * paragraph.C (Paragraph): remove initialization of enumdepth
1339 * paragraph.h: get rid of enumdepth, and use itemdepth both for
1340 enumerate and itemize. Change the type of itemdepth to signed char.
1342 2003-10-08 André Pönitz <poenitz@gmx.net>
1344 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1349 * tabular.[Ch]: fix crash after 'row-insert'
1351 2003-10-08 Angus Leeming <leeming@lyx.org>
1353 Fix doxygen warnings.
1355 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1356 Remove CutAndPaste:: prefix from header file declaration.
1358 * LColor.h (fill): remove LColor:: prefix from declaration.
1360 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1361 use lyx::depth_type rather than Paragraph::depth_type so that
1362 header file and .C file match.
1364 * converter.h (intToFormat): remove Converters:: prefix from declaration.
1366 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1367 * aspell.C: \file aspell_local.C -> \file aspell.C
1368 * gettext.C: \file gettext.C -> \file src/gettext.C
1369 * gettext.h: \file gettext.h -> \file src/gettext.h
1370 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1371 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1372 * text.C: \file text.C -> \file src/text.C
1374 * toc.C: move comment so that doxygen is not confused.
1376 2003-10-07 Angus Leeming <leeming@lyx.org>
1378 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1380 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1383 * aspell_local.h: add forgotten std::string's.
1385 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1392 * text3.C: The Box patch. Fancybox support, minipage, parbox
1394 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1400 * ParagraphParameters.h:
1410 * lyxtextclasslist.h:
1413 * paragraph_pimpl.C:
1414 * textcursor.h: add <string> and other small fixes to make Lars'
1415 std::string patch compile with STLport.
1417 2003-10-06 Angus Leeming <leeming@lyx.org>
1419 * LColor.h: Add missing #include <string>.
1421 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1423 * All most all file in all subdirs: Make <string> be the prefered
1424 way of getting to std::string, add using declarations.
1426 2003-10-06 André Pönitz <poenitz@gmx.net>
1428 * metricsinfo.C: initialize LyXFont before changing attribute.
1429 (fixes the 'math in \emph is upright' bug)
1431 2003-10-06 André Pönitz <poenitz@gmx.net>
1433 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1435 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
1438 * paragraph_pimpl.C: Small fixes to build using STLport
1440 2003-10-02 André Pönitz <poenitz@gmx.net>
1443 * text3.C: move handling of LFUN_DEPTH *; fix #1360
1445 2003-10-01 André Pönitz <poenitz@gmx.net>
1447 * factory.C: assert early
1449 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1451 * lyx_main.C: remove the global debug object
1453 * debug.h: adjust for new debugstream
1455 * debug.C: adjust for new debugstream and keep the global debug
1458 2003-09-22 Angus Leeming <leeming@lyx.org>
1460 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1461 of g++ which otherwise complain that the scoped_ptr destructor can't delete
1462 an incomplete class LyXFont.
1464 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1466 * factory.C: bug fix in branches
1468 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1470 * lyxfunc.C (processKeySym): adjust
1472 (dispatch): change arg name from ev to func, adjust
1473 (sendDispatchMessage): ditto
1475 * lyx_main.C (defaultKeyBindings): adjust keybindings
1476 (deadKeyBindings): ditto
1478 * kbsequence.C (addkey): return a FuncRequest
1480 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1482 * kbmap.C (bind): take a FuncRequest as arg, adjust
1485 (defkey): change to take a FuncRequest as arg, adjust
1486 (findbinding): take a FuncRequest as arg, adjust.
1488 * funcrequest.h (operator=): added
1490 * funcrequest.C (FuncRequest): default kb_action changed from
1491 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1493 * buffer.C (dispatch): simplify
1494 (dispatch): adjust to take a FuncRequest as arg, adjust
1496 * boost.C (assertion_failed): change assertion message slightly
1498 * ToolbarBackend.C (read): simplify
1500 * MenuBackend.C (binding): adjust call to findbinding, add a
1501 message if no binding is found.
1503 (expandToc): correct by adding a empty FuncRequest
1505 * LyXAction.C: include <boost/assert.hpp>
1506 (isPseudoAction): delete function
1507 (LookupFunc): change name to...
1508 (lookupFunc): this. change return type to FuncRequest.
1509 (getActionName): take kb_action as arg, simplify
1510 (funcHasFlag): add an assert, simplify.
1512 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1514 * toc.C (action): return a FuncRequest, simplify
1516 * lyxfunc.C (processKeySym): adjust
1517 (getStatus): delete version that takes an int.
1519 (dispatch): delete version that takes action as int
1521 (sendDispatchMessage): simplify and adjust
1523 * funcrequest.C (getArg): take unsigned int as arg
1525 * ToolbarBackend.C (read): adjust
1526 (add): delete version that takes func as a string.
1527 (getIton): take a FuncRequest as arg
1529 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1532 * MenuBackend.C (MenuItem): add a new construct that only takes a
1533 Kind, simplify the constructor use for submenus.
1535 (expandLastfiles): adjust
1536 (expandDocuments): adjust
1537 (expandFormats): adjust
1538 (expandFloatListInsert): adjust
1539 (expandFloatInsert): adjust
1540 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1542 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1543 Remove class variables lyx_pseudo_map and lyx_arg_map
1545 * LyXAction.C (searchActionArg): delete function
1546 (getPseudoAction): delete function
1547 (retrieveActionArg): delete function
1548 (LookupFunc): make it return kb_action, simplify.
1549 (getActionName): simplify
1551 * factory.C (createInset): fix new bug
1553 2003-09-19 Angus Leeming <leeming@lyx.org>
1555 * CutAndPaste.C (pasteSelection): remove fudge used to set the
1556 masterFilename_ parameter in the include inset.
1558 * factory.C (createInset): changes due to the changes to InsetInclude.
1560 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1562 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1564 2003-09-18 Angus Leeming <leeming@lyx.org>
1567 * BufferView.C: pass the buffer when calling Inset::getLabelList,
1568 Inset::fillWithBibKeys.
1569 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1571 2003-09-18 Angus Leeming <leeming@lyx.org>
1573 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1575 (ctor): pass and store a 'Buffer const &'
1576 (buffer): new member function.
1578 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1579 '*this' to the LaTeXFeatures ctor.
1581 2003-09-18 Angus Leeming <leeming@lyx.org>
1587 * text.C: rename EnumLColor as LColor_color.
1589 2003-09-18 Angus Leeming <leeming@lyx.org>
1591 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1592 remove #include "insets/insetbase.h" from cursor.h.
1594 2003-09-18 Angus Leeming <leeming@lyx.org>
1596 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1597 InsetOld_code to remove #include "inset.h".
1599 * iterators.C: add #include "insets/inset.h"
1601 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
1603 * BufferView.C: remove more locking stuff that apparently doesn't
1604 do anything sensible.
1606 2003-09-16 André Pönitz <poenitz@gmx.net>
1609 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1612 2003-09-16 Angus Leeming <leeming@lyx.org>
1614 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1616 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1619 * paragraph.h: remove #include "lyxfont.h". Forward declare
1622 2003-09-16 Angus Leeming <leeming@lyx.org>
1624 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1625 of support/textutils.h.
1626 (isWord): move the contents of support/textutils.h's IsWordChar here.
1632 * text2.C: add #include "paragraph.h".
1635 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1637 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1643 * LaTeX.C: use namespace alias for lyx::support::os
1645 2003-09-16 Angus Leeming <leeming@lyx.org>
1648 * bufferview_funcs.C:
1651 * paragraph_pimpl.C:
1653 * text.C: add #include "LColor.h".
1655 2003-09-16 Angus Leeming <leeming@lyx.org>
1657 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1658 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1660 Store the FontBits::color variable as an int rather than as an
1661 LColor::colorso that we can move LColor.h out of the lyxfont.h header
1664 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1665 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1666 string calls together.
1668 * lyxrc.C: add #include "LColor.h".
1670 2003-09-15 Angus Leeming <leeming@lyx.org>
1672 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1675 2003-09-15 Angus Leeming <leeming@lyx.org>
1677 * LColor.h: add an EnumLColor wrapper for LColor::color.
1679 * lyxfont.[Ch] (color, setColor, realColor):
1680 * lyxtext.h, text.C (backgroundColor):
1681 pass EnumLColor args to/from the functions, rather than LColor::color
1685 * lyxtext.h: forward declare EnumLColor.
1687 * lyx_main.C: add #include "LColor.h".
1689 2003-09-15 Angus Leeming <leeming@lyx.org>
1691 * .cvsignore: add lyx-gtk.
1693 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1698 * ParagraphParameters.C
1702 * bufferview_funcs.C
1712 * vc-backend.C: remove usage of STRCONV
1714 2003-09-15 Angus Leeming <leeming@lyx.org>
1716 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1717 explicitly define the color passed to the painter.
1719 2003-09-15 Angus Leeming <leeming@lyx.org>
1721 * bufferparams.C (BufferParams): reorder member initializers to avoid
1724 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
1726 * CutAndPaste.C (pasteSelection): remove an outdated #warning
1727 * text.C (updateRowPositions): remove an unusual nop
1729 2003-09-12 André Pönitz <poenitz@gmx.net>
1731 * BufferView_pimpl.C:
1740 * Counters.[Ch]: finish the 'automatic counters' job
1742 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1744 * aspell.C: include <boost/assert.cpp> (compile fix)
1746 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
1748 * boost.C (assertion_failed): use lyx::support::abort instead of
1751 2003-09-10 Angus Leeming <leeming@lyx.org>
1753 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1754 with their _fwd progeny.
1756 2003-09-09 Angus Leeming <leeming@lyx.org>
1758 134 files throughtout the source tree: replace 'using namespace abc;'
1759 directives with the appropriate 'using abc::xyz;' declarations.
1761 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1763 * boost.C (emergencyCleanup): moved here from LAssert.c
1764 (assertion_failed): new function, called by BOOST_ASSERT
1766 * several files: change Assert to BOOST_ASSERT
1768 2003-09-09 Angus Leeming <leeming@lyx.org>
1770 * buffer.[Ch]: Add an Impl class and move Buffer's member
1771 variables into it. As a result move several header files out of
1774 Add header files to lots of .C files all over the tree as a result.
1776 2003-09-09 Angus Leeming <leeming@lyx.org>
1778 * buffer.[Ch]: make Buffer's member variables private. Add
1781 Lots of changes all over the tree as a result.
1783 2003-09-08 Angus Leeming <leeming@lyx.org>
1785 * graph.C: #include <config.h>.
1787 2003-09-08 Angus Leeming <leeming@lyx.org>
1791 * BufferView_pimpl.C:
1820 * toc.C: remove redundant using directives.
1822 2003-09-07 Angus Leeming <leeming@lyx.org>
1824 * LaTeXFeatures.h: remove #include "support/types.h".
1825 * ToolbarBackend.h: remove #include <algorithm>.
1826 * changes.h: remove #include <ctime>.
1827 * debug.h: remove #include <iosfwd>.
1828 * graph.h: remove #include "support/std_string.h".
1829 * lyx_main.h: remove #include <csignal>.
1830 * lyxlex_pimpl.h: remove #include <fstream>.
1831 * sgml.h: remove #include <algorithm>, <utility>.
1832 * toc.h: remove #include "support/std_ostream.h".
1833 Add #include <iosfwd>.
1835 2003-09-07 Angus Leeming <leeming@lyx.org>
1837 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1839 * converter.h: forward declare LatexRunParams.
1840 * encoding.h: remove #include "lyxrc.h".
1841 * lyxtext.h: remove #include "LColor.h".
1842 * lyxtextclass.h: remove #include "support/types.h".
1843 * trans.h: remove #include "tex-accent.h".
1844 * trans_mgr.h: remove #include "tex-accent.h".
1845 * insets/inset.h: remove #include "support/types.h", <vector>.
1846 * insets/insetcollapsable.h: remove #include "LColor.h".
1847 * insets/insetinclude.h: remove #include "dimension.h".
1848 * insets/insetlatexaccent.h: remove #include "dimension.h".
1849 * insets/insetoptarg.h:: remove #include "insettext.h".
1850 * insets/insettext.h: remove #include "dimension.h",
1851 <boost/shared_ptr.hpp>
1853 * insets/renderers.h: add #include "dimension.h".
1854 * insets/updatableinset.h: add #include "support/types.h".
1856 * many .C files: Associated changes.
1858 2003-09-06 Angus Leeming <leeming@lyx.org>
1860 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1861 one, inside testInvariant.
1863 * PrinterParams.C: new file.
1864 * PrinterParams.[Ch]: move the function bodies out of line.
1866 2003-09-06 Angus Leeming <leeming@lyx.org>
1868 * ParagraphParameters.h: forward declare ParameterStruct rather than
1869 including its header file.
1870 (depth): moved out-of-line.
1872 2003-09-06 Angus Leeming <leeming@lyx.org>
1874 * BufferView_pimpl.h:
1877 * lyxfunc.h: forward declare LyXKeySym rather than
1878 #include "frontends/LyXKeySym.h".
1880 * BufferView_pimpl.C:
1883 * lyxfunc.C: associated changes.
1885 2003-09-06 Angus Leeming <leeming@lyx.org>
1887 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1888 As a result, can remove the #include "insets/inset.h" from BufferView.h
1890 2003-09-06 Angus Leeming <leeming@lyx.org>
1892 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1893 As a result, can remove the #include "insets/inset.h" from BufferView.h
1895 2003-09-06 Angus Leeming <leeming@lyx.org>
1901 * bufferview_funcs.C:
1902 * BufferView_pimpl.C:
1907 * ParagraphParameters.C:
1912 * frontends/controllers/ControlDocument.C:
1913 * insets/insetcaption.C: rearrange the #includes into some sort of
1916 * buffer.h: remove #includes ErrorList.h, undo.h
1918 2003-09-06 Angus Leeming <leeming@lyx.org>
1920 * support/types.h: add a 'depth_type' typedef, used to store the
1921 nesting depth of a paragraph.
1924 * ParameterStruct.h: use this lyx::depth_type typedef rather than
1925 defining explicitly.
1928 * paragraph_funcs.h:
1929 * ParagraphParameters.h:
1930 * sgml.h: use lyx::depth_type rather than Paragraph or
1931 ParameterStruct's depth_type.
1934 * paragraph_funcs.h: no need to #include paragraph.h anymore.
1937 * BufferView_pimpl.C:
1939 * ParagraphParameters.C:
1942 * bufferview_funcs.C:
1949 * frontends/LyXView.C:
1950 * frontends/controllers/ControlDocument.C:
1951 * frontends/controllers/ControlErrorList.C:
1952 * insets/insetbibitem.C:
1953 * insets/insetbranch.C:
1954 * insets/insetcaption.C:
1955 * insets/insetcollapsable.C:
1956 * insets/insetenv.C:
1957 * insets/insetert.C:
1958 * insets/insetfloat.C:
1959 * insets/insetfoot.C:
1960 * insets/insetfootlike.C:
1961 * insets/insetnewline.C:
1962 * insets/insetquotes.C:
1963 * insets/insettabular.C:
1964 * insets/insettext.C:
1965 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1967 * frontends/controllers/ControlChanges.C: #include "changes.h".
1969 2003-09-06 Angus Leeming <leeming@lyx.org>
1971 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1972 than #including paragraph.h.
1975 * RowList.h: deleted. Superfluous.
1985 * insets/insettext.h: use ParagraphList_fwd.h rather than
1988 * paragraph.h: don't forward declare ParagraphList.
1991 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1992 rather than ParagraphList.h. paragraph.h is still needed for the
1993 Paragraph::depth_type parameters.
1995 * textcursor.h: enable it to compile stand-alone in light of the
1998 * bufferview_funcs.C:
2010 * frontends/controllers/ControlParagraph.C:
2011 * frontends/controllers/ControlTabular.C:
2012 * insets/insetmarginal.C:
2013 * insets/insetminipage.C:
2014 * insets/insetnote.C:
2015 * insets/insetoptarg.C: add header files needed to compile again.
2017 2003-09-06 Angus Leeming <leeming@lyx.org>
2019 * RowList_fwd.h: new file, forward-declaring Row rather than
2020 #including lyxrow.h.
2025 * insets/insettext.h: use it instead of RowList.h
2027 * bufferview_funcs.C:
2034 * text3.C: #include "RowList.h".
2036 2003-09-05 Angus Leeming <leeming@lyx.org>
2038 * factory.C (createInset):
2039 * vspace.C (c-tor): replace sscanf call with an istringstream.
2040 * ispell.C: re-add missing HP/UX headers.
2041 * lyxserver.C: re-add missing os2 headers.
2043 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
2052 * text3.C: re-add missing system headers, needed for 2.95.2.
2054 2003-09-05 Angus Leeming <leeming@lyx.org>
2056 Changes most place everywhere due to the removal of using directives
2057 from support/std_sstream.h.
2059 2003-09-05 Angus Leeming <leeming@lyx.org>
2061 Replace LString.h with support/std_string.h,
2062 Lsstream.h with support/std_sstream.h,
2063 support/LIstream.h with support/std_istream.h,
2064 support/LOstream.h with support/std_ostream.h.
2066 Changes resulting throughout the tree.
2068 2003-09-05 Angus Leeming <leeming@lyx.org>
2070 * sgml.h: ensure that the header file can be compiled stand-alone.
2071 * *.C: strip out redundant #includes. (320 in total.)
2073 2003-09-04 Angus Leeming <leeming@lyx.org>
2075 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2076 here (from getPackages).
2078 * debug.[Ch]: add a new EXTERNAL tag.
2080 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2082 * text2.C (cursorEnd): simplify
2084 (getColumnNearX): adjust
2086 * text.C (computeBidiTables): adjust
2089 * rowpainter.C (paintChars): adjust
2090 (paintSelection): adjust
2091 (paintChangeBar): adjust
2094 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2096 (numberOfSeparators): adjust
2098 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2104 * text3.C: Restricts the mouse click functionality
2105 of insets like bibtex, include, toc and floatlist to the visible
2106 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2107 up the dialogs. Cursor has to be in front of the inset (i.e.
2108 start of row) for this to function.
2110 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2112 * bufferview_funcs.C (currentState): output row information
2114 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2116 * bufferview_funcs.C (currentState): output paragraph position
2118 2003-09-04 Angus Leeming <leeming@lyx.org>
2120 * FloatList.h: move out #include "Floating.h".
2121 * LaTeX.h: move out #include "DepTable.h".
2122 * LyXAction.h: move out #include "funcrequest.h".
2123 * buffer.h: move out #include "author.h", "iterators.h".
2124 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2125 * lyx_main.h: move out #include "errorlist.h".
2126 * lyxfunc.h: move out #include "FuncStatus.h".
2127 * lyxtext: move out #include "lyxcursor.h".
2128 * paragraph_pimpl.h: move out #include "counters.h".
2130 2003-09-03 Angus Leeming <leeming@lyx.org>
2132 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2133 preamble_snippets list, enabling us to add snippets to the preamble
2134 only if the snippet was not there already.
2136 2003-09-04 Angus Leeming <leeming@lyx.org>
2138 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2140 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2142 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2145 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2147 * BranchList.C: point fix, earlier forgotten
2149 2003-09-02 Angus Leeming <leeming@lyx.org>
2151 * box.C (contains): renamed from 'contained' after a fantastic
2154 2003-09-02 John Levon <levon@movementarian.org>
2160 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2162 2003-09-02 John Levon <levon@movementarian.org>
2164 * text2.C: simplification of cursorEnd(), including partial
2167 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2169 * buffer.C (readFile): add a space
2171 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
2173 * BufferView_pimpl.C (update): remove bogus fitCursor() call
2175 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2177 * buffer.C (readFile): new function, take a filename and a
2178 ParagraphList::iterator
2180 (readFile): adjust, make it private. don't use setStream, make
2181 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2182 always contain the filename.
2184 * BufferView.C (insertLyXFile): simplify and make it work for
2187 2003-08-30 John Levon <levon@movementarian.org>
2189 * Makefile.am: fix dist (from Kayvan)
2191 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2193 * most files: change to use const Buffer refs
2195 2003-08-27 André Pönitz <poenitz@gmx.net>
2197 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2198 on top of ownerPar().
2200 2003-08-27 John Levon <levon@movementarian.org>
2202 * funcrequest.C: properly initialise POD members
2204 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2206 * lyxtext.h (top_y): move top_y from here
2211 * BufferView_pimpl.[Ch]: to here
2212 * frontends/screen.C:
2213 * insets/insettabular.C:
2214 * insets/insettext.C: adjust
2215 * rowpainter.[Ch] (paintRows): remove LyXText & argument
2217 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2220 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2222 2003-08-26 André Pönitz <poenitz@gmx.net>
2224 * paragraph_func.[Ch] (outerPar): new function
2227 * paragraph_funcs.C:
2228 * paragraph_funcs.h:
2229 * paragraph_pimpl.C:
2230 * text2.C: remove Inset::par_owner
2232 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2237 * text2.C: eliminates the needFullRow/display() stuff
2238 altogether, putting the logic in metrics/draw in the insets.
2240 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
2242 * text2.C (redoParagraphInternal, redoParagraphs):
2243 * text.C (redoParagraph): add a call to updateRowPositions at the
2244 end of each 'metrics-like' call. Remove all others.
2245 (getRow): remove the 'y-computing' version.
2246 (getRowNearY): do not compute nor return the real y. Solve the
2247 'y < 0' problem and simplify.
2249 2003-08-22 Angus Leeming <leeming@lyx.org>
2251 * *.[Ch]: clean-up of licence and author blurbs.
2252 Also move config.h out of a few .h files and into a few .C files.
2254 2003-08-22 André Pönitz <poenitz@gmx.net>
2256 * lyxrow.[Ch]: add x_ and *fill_ members
2261 * text2.C: adjust/remove prepareToPrint() calls
2263 2003-08-22 André Pönitz <poenitz@gmx.net>
2265 * lyxrow.[Ch]: add end_ member
2267 * lyxrow_funcs.C: use LyXRow::end_
2269 * lyxtext.h (singleWidth): add LyXFont parameter
2272 * text2.C: adjust LyXText::singleWidth() calls
2274 * text.C (redoParagraph): simplify row breaking logic
2277 2003-08-19 André Pönitz <poenitz@gmx.net>
2279 * funcrequest.C: initialize button_ member
2282 * rowpainter.[Ch]: interface consolidation
2284 2003-08-18 André Pönitz <poenitz@gmx.net>
2287 * BufferView_pimpl.C:
2289 * paragraph_funcs.C:
2291 * text3.C: remove LyXScreen::draw() and fitCursor calls
2293 * BranchList.h: remove spurious semicolons
2295 * MenuBackend.C: fix branchlist related crash
2297 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2305 * bufferparams.[Ch]:
2309 * text3.C: implements the 'branch inset'
2310 idea. This allows the output of various versions of a document
2311 from a single source version, selectively outputing or suppressing
2312 output of parts of the text.
2313 This implementation contains a 'branch list editor' in a separate
2314 tab of the document settings dialog. Branches are user definable
2315 and have a "display colour" to distinguish them on-screen.
2317 ColorHandler was somewhat cleaned up.
2318 (1) make possible a dynamically growing LColor list by allowing
2319 the graphic context cache to grow along (vector);
2320 (2) eliminate an IMHO unnecessary step in colour allocation.
2322 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
2324 * BufferView_pimpl.C: compile fix
2326 2003-08-15 André Pönitz <poenitz@gmx.net>
2328 * rowpainter.C: remove extra metrics calls
2330 * lyxtext.h: merge the two constructors into a single one,
2331 pass reference to owner's par list
2333 * BufferView_pimpl.C:
2337 2003-08-15 André Pönitz <poenitz@gmx.net>
2339 * lyxrow_funcs.[Ch]:
2342 * paragraph_funcs.C:
2347 * text_funcs.C: split LyXText::rowlist_ into individual
2348 Paragraph::rows_ chunks
2351 * BufferView_pimpl.[Ch]:
2354 * text3.C: remove toggleSelection()
2356 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2358 * bufferlist.C: beautify two alerts (shorter text of buttons)
2359 * buffer.C: Remove redundant ' ' from message
2361 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2362 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2363 rename VALIGN_CENTER to VALIGN_MIDDLE
2365 2003-08-11 André Pönitz <poenitz@gmx.net>
2367 * lyxtext.h (getPar):
2368 * text.C: new function
2370 2003-08-11 André Pönitz <poenitz@gmx.net>
2373 * tracer.[Ch]: remove unneeded files
2375 * InsetList.[Ch]: remove resizeInsetsLyXText()
2380 * text3.C: merge insertParagraphs() and appendParagraph()
2381 remove breakAgain(), update()
2383 * BufferView_pimpl.[Ch]:
2384 * bufferview_funcs.[Ch]:
2388 * tabular.C: adjust after text & InsetList changes.
2390 2003-08-08 André Pönitz <poenitz@gmx.net>
2392 * text.C (insertChar, backspace): replace rowlist fiddling
2393 with rebreak of full par
2396 * text.C (breakAgainOneRow, redoHeightOfParagraph,
2397 checkParagraph, updateInset): removed
2399 2003-08-07 André Pönitz <poenitz@gmx.net>
2402 * text3.C: merge some LFUN handlers, remove dead code
2404 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2406 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2408 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
2410 * text2.C (DEPM): fix part of bug 1255 and 1256
2412 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2414 * BufferView_pimpl.C (workAreaDispatch): change to use
2415 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2416 that are no mouse related.
2418 2003-08-05 André Pönitz <poenitz@gmx.net>
2421 * BufferView_pimpl.[Ch]:
2422 * bufferview_funcs.C:
2424 * text3.C: rip out "deep update"
2426 * textcursor.[Ch] (last_sel_cursor): remove unused member
2428 2003-08-04 André Pönitz <poenitz@gmx.net>
2431 * BufferView_pimpl.[Ch]:
2432 * ParagraphParameters.C:
2433 * bufferview_funcs.C:
2439 * text3.C: replace "complicated" BufferView::update(...) calls with
2442 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2444 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
2446 * Makefile.am (lyx_SOURCES): add paper.h
2448 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2450 * Makefile.am: move things around so that both lyx-qt and
2451 lyx-xforms can be built (according to --with-frontend). Then lyx
2452 is a symbolic link to lyx-[firstfrontend]
2454 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2456 * Always use std::endl with lyxerr
2458 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
2460 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2462 2003-08-01 André Pönitz <poenitz@gmx.net>
2465 * BufferView_pimpl.[Ch]:
2467 * text3.C: merge BufferView::repaint() and BufferView::update()
2469 2003-08-01 José Matos <jamatos@lyx.org>
2471 * buffer.[Ch]: file_format is no longer a buffer data element.
2473 2003-08-01 André Pönitz <poenitz@gmx.net>
2478 * text2.C: make redoParagraph more independent of current cursor
2480 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2482 * text2.C: remove unneeded members
2484 2003-07-30 André Pönitz <poenitz@gmx.net>
2486 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2488 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2489 create a single function...
2491 * paragraph_funcs.C (moveItem): ... here.
2494 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2496 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2498 * LColor.[Ch]: Add comment and greyedout logical colors.
2500 2003-07-30 André Pönitz <poenitz@gmx.net>
2502 * tabular.C: don't use Assert too heavily. This crashes where it
2505 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
2507 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2508 is disabled (bug 1232)
2510 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2512 * factory.C: limited 'arg' scope
2514 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2516 * factory.C: fixed Note submenu issues
2518 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2520 * factory.C: submenu for Note/Comment/Greyedout
2522 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
2525 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2527 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2530 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2531 greyedout. Patch provided by Jürgen Spitzmüller.
2533 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2535 * kbmap.C (read): fix error message when reading bind files
2537 2003-07-29 Angus Leeming <leeming@lyx.org>
2539 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2540 certainly does not do what it purports to do. I am doing it, and
2541 us, a favour by killing it.
2543 2003-07-28 José Matos <jamatos@lyx.org>
2545 * buffer.C (readBody, do_writeFile):
2546 * paragraph.C(readParagraph): \end_document replaces \the_end.
2548 2003-07-29 André Pönitz <poenitz@gmx.net>
2551 * BufferView_pimpl.[Ch]:
2555 * textcursor.[Ch]: remove toggleToggle & Co
2557 2003-07-28 José Matos <jamatos@fep.up.pt>
2559 * buffer.C (readParagraph):
2560 * params_func (readParToken, readParagraph):
2561 * paragraph.C (write): \layout -> \begin_layout.
2563 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2565 * lyxlex_pimpl.C (setFile): clean up slightly.
2567 * bufferparams.h: add compressed var
2569 * buffer_funcs.C (readFile): adjust for LyXLex change
2570 (newFile): ditto + simplify
2572 * buffer.C (writeFile): handle writing of compressed files
2574 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2575 Check if the file is compressed and set a bufferparm if so.
2577 * Makefile.am (lyx_LDADD): remove explicit -lz
2579 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2581 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2582 makeDocBookFile): put the real LyX version in the first line of
2586 * version.C.in: remove lyx_docversion
2588 * tabular.C (write_attribute): add a template-based version to
2589 write enums properly
2591 2003-07-28 André Pönitz <poenitz@gmx.net>
2596 * text3.C: use doubles again for x-coordinates. They are needed.
2598 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2600 * messages.C (getLocaleDir): use lyx_localedir()
2602 * lyxlex_pimpl.C (setFile): compress stuff
2604 * buffer.C (writeFile): add some compression stuff
2605 (do_writeFile): new func, dont call expliti close... will this
2608 * Makefile.am (lyx_LDADD): add -lz
2610 2003-07-28 José Matos <jamatos@fep.up.pt>
2612 * buffer.C: increment file format.
2613 * paragraph_funcs (readParagraph, readParToken):
2614 * paragraph.C (readParagraph): add \end_layout.
2616 2003-07-27 Angus Leeming <leeming@lyx.org>
2618 * Makefile.am: remove special casing for configure-time setting of
2619 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2621 * lyx_main.C (init): remove all Jean-Marc's magic setting of
2622 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2624 2003-07-26 André Pönitz <poenitz@gmx.net>
2626 * paragraph_func.[Ch]:
2627 * paragraph.C (realizeFont): inline it whereever it is used
2632 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2635 2003-07-26 André Pönitz <poenitz@gmx.net>
2639 * text2.C: get rid of LyXText::need_break_row
2641 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2643 * toc.[Ch]: put namespace toc inside namespace lyx
2645 * MenuBackend.C (expandToc2): adjust for lyx::toc
2648 * lyxfunc.C (dispatch): adjust for lyx::find
2650 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2651 lyx::find instead. Reorganize a bit.
2652 (LyXReplace): rename to replace
2653 (LyXFind): rename to find
2655 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2658 2003-07-26 André Pönitz <poenitz@gmx.net>
2660 * text.C (setHeightOfRow): restrict scope of temporary variable
2662 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
2663 code (never has been used?)
2665 2003-07-27 Asger Alstrup <alstrup@local>
2667 * text.C (fill): Optimise algorithm to exploit that we can reuse
2668 the LyXFont for many characters.
2669 (setHeightOfRow): Same thing.
2670 (rowBreakPoint): Same thing.
2672 2003-07-26 Asger Alstrup <alstrup@local>
2674 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2676 * text.C (singleWidth): Spurious font copying in hot-spot
2677 singleWidth avoided. Reorder tests for arabic for efficiency.
2679 * text.C (fill): handle empty paragraphs better.
2681 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2684 * encoding.h: add includes
2686 * lyxrc.C: remove reading of bind files
2688 * lyx_main.C (init): setup bindings and menus only if we have a
2691 * kbmap.C (read): new method. Do the actual reading of bind
2694 * converter.C (dvipdfm_options):
2697 (output): adapt PAPER_* enums.
2699 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2701 * bufferparams.h: remove paper-related enums from there
2703 * paper.h: New file. A trivial header file to hold paper-related
2704 enums. It should later expand to contain many paper-related
2707 * lyxrc.C: declare extern displayTranslator
2709 2003-07-27 José Matos <jamatos@fep.up.pt>
2711 * tabular.[Ch] (linuxdoc): add support for tables and figures
2714 2003-07-27 José Matos <jamatos@fep.up.pt>
2716 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2717 consistency in both functions.
2718 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2720 2003-07-26 Asger Alstrup <alstrup@local>
2722 * rowpainter.C (paintRows): Change algorithm to work directly on
2723 the insets rather than asking every character in the document
2724 whether its an inset.
2726 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
2728 * buffer.C (openFileWrite): factorize some code
2730 2003-07-26 Angus Leeming <leeming@lyx.org>
2733 * lyx_main.[Ch]: replace occurances of system_tempdir with
2736 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2738 * rename Inset to InsetOld
2740 2003-07-25 Asger Alstrup <alstrup@diku.dk>
2742 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2743 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2744 which I think is a bit clearer. EDIT is gone, since it was
2745 premature optimisation, and broken for mathed anyway.
2746 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2747 with cursor positioning in insets as well (math insets still do not
2748 work, but that's a different story anyway.) It mysteriously
2749 crashes sometimes with undo in the first paragraph, but I'm fairly
2750 confident that this is a compiler bug.
2752 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2754 * paragraph.C (Paragraph): adjust for new clone return type
2756 (copyIntoMinibuffer): ditto
2758 2003-07-25 Asger Alstrup <alstrup@lyx.org>
2760 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2761 by not having a special case, and always doing a full rebreak of
2762 the document after undo.
2764 2003-07-23 Angus Leeming <leeming@lyx.org>
2766 * factory.C (createInset): InsetExternal::setParams now takes a
2769 2003-07-23 Angus Leeming <leeming@lyx.org>
2771 * factory.C (createInset): changed interface to the external and
2772 graphics mailers' string2params functions.
2774 2003-07-23 Angus Leeming <leeming@lyx.org>
2776 * factory.C (createInset): pass a
2777 Buffer const * parameter to InsetExternalMailer's string2params.
2779 2003-07-22 John Levon <levon@movementarian.org>
2781 * Thesaurus.h: include the right aiksaurus header
2783 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2785 * MenuBackend.C (expand): check menu shortcuts unconditionally
2787 2003-07-21 Angus Leeming <leeming@lyx.org>
2789 * factory.C (createInset): pass a
2790 buffer_path parameter to InsetGraphicsMailer's string2params.
2792 2003-07-21 Angus Leeming <leeming@lyx.org>
2794 * BufferView_pimpl.C (buffer):
2797 * lyxfunc.C (dispatch):
2798 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2799 rather than the grfx shortcut.
2801 2003-07-21 André Pönitz <poenitz@gmx.net>
2803 * rowpainter.C: remove unused variables
2806 * tabular_funcs.h: move to tabular.C
2807 * Makefile.am: adjust
2809 * tabular.[Ch]: basic optical cleaning
2811 * author.h: pass references, not values
2813 2003-07-18 André Pönitz <poenitz@gmx.net>
2821 * text3.C: two-phase drawing for InsetText and InsetTabular
2822 some float -> int changes.
2824 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2826 * lyx_main.C: fix the fix
2828 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2830 * lyx_main.C: fix a crash in batch mode if no files specified
2833 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
2835 * format.[Ch] (papersize): moved to BufferParams
2836 * converter.[Ch] (dvips_options): moved to BufferParams
2837 (dvipdfm_options): moved to anon namespace
2838 * bufferparams.[Ch]: added above functions.
2840 2003-07-17 André Pönitz <poenitz@gmx.net>
2844 * text2.C: don't call inset->update() anymore
2846 * metricsinfo.[Ch]: add convenience constructor
2848 2003-07-16 André Pönitz <poenitz@gmx.net>
2853 * text2.C: replace the LyXCursor::irow_ member with
2854 on-demand computation of the value
2856 2003-07-16 John Levon <levon@movementarian.org>
2858 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2860 2003-07-15 André Pönitz <poenitz@gmx.net>
2863 * text2.C: remove no more needed refresh_row
2865 2003-07-15 André Pönitz <poenitz@gmx.net>
2870 * text3.C: refresh_status tristate -> need_update bool
2872 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2874 * lyxtext.h (init): remove reinit argument (act as if always true)
2875 * text2.C: adjust to that
2877 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2879 * bufferview_funcs.[Ch]: introduce function replaceSelection()
2880 * text3.C: use it to delete selections in some cases
2881 (bugs 441, 673, 702, 954).
2883 2003-07-14 André Pönitz <poenitz@gmx.net>
2885 * rowpainter.[Ch]: reduce interface
2887 2003-07-14 André Pönitz <poenitz@gmx.net>
2889 * BufferView_pimpl.C:
2890 * text2.C: adjust after removing unused BufferView * argument
2892 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
2894 * text2.C (init): fix a crash fired on resize
2896 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
2898 * buffer.[Ch]: added new closing signal
2899 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2900 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2901 BufferView::Pimpl via the closing the signal
2903 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
2905 * buffer.[Ch]: take out all bv-related from buffer
2907 * BufferView_pimpl.[Ch]: connect to new signals
2908 * CutAndPaste.C: removed useless asserts
2909 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2912 * lyxfunc.C: moved view-related funciontality from vc here
2913 * paragraph.C: removed outdated comments
2916 2003-07-10 André Pönitz <poenitz@gmx.net>
2918 * BufferView_pimpl.C:
2922 * text2.C: remove InsetText::InnerCache, clean up consequences
2924 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
2926 * ispell.C: fix two typos in error messages
2928 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
2930 * Extend Note inset to other forms of annotation like Comment
2931 and Greyedout. Right button click gives dialog.
2933 Files modified or added (+):
2937 * ControlNote.[Ch] +
2939 * Makefile.am in frontends/xforms, frontends/xforms/forms,
2940 frontends/controllers
2944 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2946 * aspell.C: add missing namespace lyx::support
2948 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
2950 * BufferView.[Ch] (newFile): Add
2951 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2952 * LaTeX.[Ch] (message): added this signal and use it
2953 * buffer.[Ch] (busy, message): added these signals and use them
2954 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2958 * importer.C: use buffer signals instead of direct bv calling
2959 * lyx_cb.[Ch] (ShowMessage): removed
2962 * paragraph_funcs.C:
2963 * text2.C: use buffer signals
2965 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2967 * introduce namespace lyx::graphics
2969 2003-07-02 André Pönitz <poenitz@gmx.net>
2971 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2973 2003-07-01 André Pönitz <poenitz@gmx.net>
2980 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2981 text*.C to text_func.C
2983 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2985 * introduce namespace lyx::support
2987 2003-06-30 André Pönitz <poenitz@gmx.net>
2992 * text.C: re-enable --with-included-string
2994 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2996 * textcursor.C: add <config.h>
2998 * text.C (getWord): remove const from word_location arg
3000 * lyxvc.C (getLogFile): fix const type order
3002 * lyxtext.h: remove const from word_location arg, add arg name
3004 * lyxlayout.h: currect type on labeltype.
3006 * importer.C: correct \file
3008 * converter.C (intToFormat): use std:: on ret val, ws changes
3010 * bufferlist.h: correct \file
3012 * buffer.C (makeLinuxDocFile): fix const type order
3013 (makeDocBookFile): ditto
3014 (fillWithBibKeys): use std:: on stdlib args.
3016 * CutAndPaste.C: fix authors.
3017 (availableSelections): use std:: on return vector
3019 2003-06-27 André Pönitz <poenitz@gmx.net>
3021 * BufferView_pimpl.C:
3022 * bufferview_funcs.C:
3030 * text3.C: remove LyXCursor::row_ member
3033 * text.C: rename fullRebreak() to partialRebreak() and implement
3034 a fullRebreak() that really bereks fully
3036 * textcursor.h: new struct for cursor-related data
3038 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
3040 * lyx_main.C (LyX): get full path of document loaded on the
3043 2003-06-26 André Pönitz <poenitz@gmx.net>
3045 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3046 remove unused/broken operator>,<,>=.
3048 * text.C: remove only use of broken operator<= in an Assert().
3050 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3052 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3053 moved errorlist_.clear to showErrorList
3055 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3057 * converter.C (scanLog, runLaTeX):
3058 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3059 move the bv->showErrorList call to the callers
3060 * lyxfunc.C: i.e. here...
3062 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3063 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3064 namespace, the second to...
3065 * buffer_funcs (BufferFormat, parseErrors): added
3066 * errorlist.C (ErrorList(TeXErrors const &)): removed
3068 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3070 * ToolbarBackend.C (getIcon): complain when icon cannot be found
3072 2003-06-24 "Garst R. Reese" <reese@isn.net>
3076 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3078 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3080 * version.C.in: change docversion to 1.4
3082 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
3084 * buffer.C: fix a bug just introduced
3086 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3088 * buffer.[Ch]: added the parseError signal and use it, removed
3090 * BufferView.[Ch] (addError): moved to ...
3091 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3092 to the Buffer::parseError signal to catch (guess what) parse errors
3093 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3095 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3097 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3098 ability to create a buffer and to return an existing one from
3099 the list. Moved these functions to...
3100 * buffer_funcs.[Ch]: added
3101 * BufferView.[Ch] (loadLyXFile): added
3102 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3103 job removed from bufferlist::loadLyXFile.
3104 * buffer.C (setReadOnly): make it work without view
3105 (i.e added an if (users))
3107 2003-06-19 Angus Leeming <leeming@lyx.org>
3110 * LyXAction.C (init):
3111 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3112 with LFUN_DIALOG_SHOW <name> <data>.
3114 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3116 * CutAndPaste.C (availableSelections): small compilation fix for
3117 ancient (gcc 2.9x) compilers
3119 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3121 * text3.C (cursorNext): add tmp var
3123 * text2.C (updateCounters): for function calling out of for clause
3124 (replaceSelectionWithString): ditto
3125 (insertStringAsParagraphs): ditto
3126 (getColumnNearX): add tmp var
3127 (setCursorFromCoordinates): add tmp var
3128 (cursorDownParagraph): add tmp var
3129 (deleteEmptyParagraphMechanism): add tmp var
3131 * text.C (insertChar): add tmp var
3133 * rowpainter.C (paintDepthBar): add tmp var
3135 * CutAndPaste.C (availableSelections): potentially check all
3136 paragraphs in a cut to fill the shown strings.
3138 2003-06-18 André Pönitz <poenitz@gmx.net>
3140 * kbmap.[Ch]: use vector<> instead of list<>
3142 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3144 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3145 pasteSelection with index
3147 * text2.C (pasteSelection): modify, call pasteSelection with index
3149 * paragraph.C (asString): reimplement version with no interval to
3150 call the one with interval.
3152 * lyxtext.h: add index arg to pasteSelection
3154 * MenuBackend.C (MenuItem): handle PasteRecent
3155 (Menu::read::Menutags): add md_pasterecent
3157 (expandPasteRecent): new function
3160 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3162 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3164 (availableSelections): new function
3166 2003-06-17 Angus Leeming <leeming@lyx.org>
3168 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3170 2003-06-17 Angus Leeming <leeming@lyx.org>
3173 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3175 * lyxfunc.C (dispatch): invoke it.
3177 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3179 * iterators.C (operator++, ParPosition): reintroduce some
3180 const_cast for the benefit of older compilers.
3182 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3184 * text3.C (dispatch): do not modify clipboard when doing
3185 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3186 LFUN_DELETE_SKIP on a selection selection
3188 2003-06-16 André Pönitz <poenitz@gmx.net>
3194 * tabular.[Ch]: IU of clone() and getLabelList();
3196 2003-06-13 André Pönitz <poenitz@gmx.net>
3198 * tabular.h: compactification
3200 2003-06-12 André Pönitz <poenitz@gmx.net>
3204 * tabular_funcs.h: some renaming plus whitespace
3206 2003-06-12 André Pönitz <poenitz@gmx.net>
3209 * BufferView_pimpl.C:
3215 * toc.C: Return a Paragraph & for ParIterator::operator*()
3217 2003-06-11 John Levon <levon@movementarian.org>
3221 * ToolbarBackend.C: add "Toolbars" section and
3224 2003-06-10 Angus Leeming <leeming@lyx.org>
3227 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3229 * lyxfunc.C (dispatch): invoke it.
3231 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3233 * main.C: protect <ios> with HAVE_IOS
3234 (main): protect sync_with_stdio with HAVE_IOS
3236 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3238 * text2.C (cutSelection): adjust
3239 (pasteSelection): adjust
3241 * messages.C: handle get of empty string
3243 * main.C (main): use sync_with_stdio(false)
3245 * lyxfunc.C (dispatch): adjust
3247 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3248 (WriteAs): remove unneeded BufferView arg.
3250 * bufferparams.h: use correct types on papersize, papersize2 and
3253 * bufferparams.C (readToken): adjust for type
3254 (writeLaTeX): add missing cases to switch.
3256 * bufferlist.C (quitWriteBuffer): adjust
3259 * buffer.C (asciiParagraph): remove some commented code.
3261 * CutAndPaste.C: remove current_view extern variable.
3262 (cutSelection): add BufferParams arg.
3263 (eraseSelection): add BufferParams arg.
3264 (pasteSelection): add Buffer const & arg
3266 2003-06-07 John Levon <levon@movementarian.org>
3269 * paragraph_funcs.C:
3270 * paragraph_pimpl.C:
3274 * paragraph.C: allow InsetERT to freely space lines,
3275 and some consolidation of code
3277 2003-06-06 José Matos <jamatos@fep.up.pt>
3279 * buffer.C (makeDocBookFile): fix bug #821
3281 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3283 * BufferView_pimpl.C (dispatch): use Dialogs::visible
3285 2003-06-04 Angus Leeming <leeming@lyx.org>
3287 * buffer.C: bump format to 224.
3289 2003-06-05 André Pönitz <poenitz@gmx.net>
3291 * text2.C (redoParagraphs): remove two const_cast<>
3293 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3295 * ParagraphList.h: remove last remnants of NO_STD_LIST
3297 2003-06-03 Angus Leeming <leeming@lyx.org>
3299 * factory.C (createInset): small change to the way InsetExternal's params
3302 2003-06-04 André Pönitz <poenitz@gmx.net>
3304 * buffer.h: use Undo directly instead of shared_ptr<Undo>
3306 * paragraph_pimpl.h:
3307 * paragraph.[Ch]: some Inset -> UpdatableInset changes
3309 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3311 * undo_funcs.C: make some simple cases of undo work again
3313 2003-06-03 John Levon <levon@movementarian.org>
3315 * ispell.C: HPUX doesn't have sys/select.h
3318 2003-06-03 John Levon <levon@movementarian.org>
3320 * CutAndPaste.C: update tabular and include inset
3325 * paragraph.C: remove owningBuffer(), don't pass Buffer
3328 * factory.C: insetGraphicsParams changed
3330 2003-06-02 John Levon <levon@movementarian.org>
3336 * text3.C: remove insetparent
3338 2003-06-02 John Levon <levon@movementarian.org>
3341 * buffer.C: fix inset_iterator.end(), move out of line
3344 2003-06-01 John Levon <levon@movementarian.org>
3346 * text3.C: use a proper cut/paste when doing inset
3347 insert (from Jürgen Spitzmüller)
3349 2003-06-01 John Levon <levon@movementarian.org>
3351 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3353 2003-05-30 André Pönitz <poenitz@gmx.net>
3355 * rowpainter.C: unify second drawing phase
3357 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3359 * trans_mgr.C: remove one case of current_view
3361 * text2.C (cursorBottom): delete NO_STD_LIST stuff
3363 * paragraph_funcs.h: remove paragraph.h include
3365 * paragraph.h: delete NO_STD_LIST stuff
3367 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3369 * buffer.h: remove paragraph.h include
3371 * ParagraphList.C: delete file
3373 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3375 * toc.C (getTocList): adjust
3377 * paragraph_pimpl.C (validate): adjust
3379 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3381 * paragraph.C (Paragraph): adjust
3382 (getPositionOfInset): use const_iterator, adjust
3383 (bibitem): use const_iterator, adjust
3384 (setInsetOwner): adjust
3386 * iterators.C (operator++): adjust
3388 * InsetList.[Ch]: Replace selfmade iterator with standard
3389 vector::iterator also introduce const_iterator. Remove getPos,
3390 getInset and setInset from InsetTable. Adjust accordingly.
3392 * BufferView.C (lockInset): adjust
3393 (ChangeInsets): adjust
3395 * tabular.[Ch]: delete commented same_id functions
3397 2003-05-28 John Levon <levon@movementarian.org>
3399 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3401 2003-05-28 André Pönitz <poenitz@gmx.net>
3403 * metricsinfo.[Ch]: remove 'fullredraw' member
3405 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
3407 * lyxtextclass.C (operator): remove caching.
3409 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3413 * text2.C (cursorBottom): adjust
3414 (setCounter): use ParagraphList::find, adjust
3416 * text.C (workWidth): use ParagraphList::find, adjust
3418 * lyxcursor.C (LyXCursor): adjust
3420 * buffer.C (inset_iterator): adjust
3422 * ParagraphList.h: make iterator(value_type) private, make
3423 ParagraphList a friend of iterator.
3425 * ParagraphList.C (find): new function
3427 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3429 2003-05-27 André Pönitz <poenitz@gmx.net>
3431 * dimension.[Ch]: a -> asc, d -> des, w -> wid
3433 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3435 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3437 2003-05-26 John Levon <levon@movementarian.org>
3439 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3441 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3443 * remove same_id from function signatures, adjust.
3445 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3447 * undo_funcs.C (createUndo): use the id functions directly, adjust.
3449 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3451 * paragraph.C (Paragraph): get rid of same_ids parameter
3453 * ParagraphList.C (insert): adjust
3456 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3458 * paragraph_funcs.C (breakParagraph): adjust
3459 (breakParagraphConservative): adjust
3461 * buffer.C (readParagraph): adjust
3463 * ParagraphList.C (insert): take a reference instead of a pointer
3466 * paragraph.[Ch] (id): new function
3468 * bufferlist.C (newFile): adjust
3470 * ParagraphList.C (ParagraphList): adjust
3472 (push_back): take a reference instead of a pointer.
3474 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3476 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3479 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3480 set else use old code.
3482 * ParagraphList.C: remove all NO_NEXT code and only compile this
3483 code of NO_STD_LIST is set.
3485 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3487 * BufferView_pimpl.C:
3497 * graphics/GraphicsConverter.C:
3498 * graphics/PreviewLoader.C: header adjustment
3500 2003-05-23 Angus Leeming <leeming@lyx.org>
3502 * LaTeXFeatures.[Ch] (useBabel): new method.
3503 * bufferparams.C (writeLaTeX): use it.
3505 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3507 * ParagraphList.h (set): remove unused function.
3509 2003-05-23 André Pönitz <poenitz@gmx.net>
3512 * BufferView_pimpl.C:
3516 * undo_funcs.C: setUndo reworked
3518 * iterators.[Ch]: add access to topmost ParagraphList
3520 * lyxtext.[Ch] (workWidth): add a const
3522 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3524 * texrow.[Ch] (increasePos): remove function
3525 * exporter.C (export): removed unused var and outdated comment
3527 2003-05-23 Angus Leeming <leeming@lyx.org>
3529 * latexrunparams.h: rename fragile as moving_arg.
3530 * paragraph.C (simpleTeXOnePar): ditto.
3531 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3533 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3535 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3537 (textUndoOrRedo): comment out a currently unused var.
3539 * paragraph.h (NO_NEXT): enable NO_NEXT
3541 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3543 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3545 * exporter.C (Export): adjust for removeAutoInsets removal.
3547 * buffer.C (runChktex): adjust for removeAutoInsets removal.
3549 * LyXAction.C (init): remove LFUN_REMOVEERRORS
3551 * BufferView.[Ch] (removeAutoInsets): delete function
3553 2003-05-22 Angus Leeming <leeming@lyx.org>
3555 * latexrunparams.h: add a free_spacing variable.
3557 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3558 to pass moving_arg, as the data is stored in runparams.fragile.
3560 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3561 to Inset::latexOptional or to simpleTeXOnePar.
3563 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3564 free_spacing arg to Inset::latexOptional.
3566 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3569 2003-05-22 Angus Leeming <leeming@lyx.org>
3571 * latexrunparams.h: add fragile and use_babel variables.
3573 * bufferparams.[Ch] (writeLaTeX): return use_babel.
3574 * buffer.C (makeLaTeXFile): store this returned value in
3575 runparams.use_babel, thus passing it to the inset::latex methods.
3577 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3578 simpleTeXSpecialChars as it is now stored in runparams.fragile.
3580 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3581 longer has a fragile arg, as it is stored in runparams.fragile.
3583 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3584 moving_arg parameter as the data is stored in runparams.fragile.
3586 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3587 a fragile parameter as the data is stored in runparams.fragile.
3589 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3591 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3593 2003-05-22 Angus Leeming <leeming@lyx.org>
3595 * latexrunparams.h: add a 'bool nice' which defaults to false.
3597 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3598 now encapsulated within runparams.
3600 * bufferlist.C (updateIncludedTeXfiles):
3601 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3603 2003-05-22 Angus Leeming <leeming@lyx.org>
3605 * latexrunparams.h: new file containing struct LatexRunParams.
3606 * Makefile.am: add new file.
3608 * LaTeX.[Ch] (c-tor, run):
3609 * buffer.[Ch] (makeLaTeXFile):
3610 * bufferlist.[Ch] (updateIncludedTeXfiles):
3611 * converter.C (convert, scanLog):
3612 * converter.[Ch] (runLaTeX):
3613 * exporter.C (Export):
3614 * paragraph.[Ch] (simpleTeXOnePar):
3615 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3616 * paragraph_funcs.[Ch] (latexParagraphs):
3617 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3618 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3619 pass around a LatexRunParams parameter.
3621 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3623 * paragraph.[Ch]: remove unused constructor
3625 * ParagraphList.C (erase): new function, taking two iterators
3627 2003-05-22 André Pönitz <poenitz@gmx.net>
3629 * undo_funcs.C: remove duplicated code
3631 * iterator.[Ch]: operator=
3633 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3635 * tabular.C (SetMultiColumn): ws changes
3637 * rowpainter.C (paintFirst): get rid of a ->previous
3639 * lyx_cb.C (getPossibleLabel): parlist simplification
3641 * BufferView.C (ChangeInsets): simplify slightly.
3643 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3645 * LyXAction.C: new lfun space-insert, kill protected-space-insert
3646 * lfuns.h: new LFUN_SPACE
3647 * lyxfunc.C: protected space has a new lfun
3648 * paragraph_funcs.C: read new space insets
3650 * factory.C: handle new space insets
3652 2003-05-22 André Pönitz <poenitz@gmx.net>
3655 * BufferView_pimpl.C:
3658 * undo_funcs.C: return a ParIterator from getParFromID.
3660 * iterators.[Ch]: add two const's
3662 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3664 * toc.C (getTocList): adjust
3666 * iterators.[Ch]: rework for parlist
3668 * buffer.C (par_iterator_begin): adjust
3669 (par_iterator_end): adjust
3671 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3673 * BufferView.C (removeAutoInsets): adjust
3674 (ChangeInsets): adjust
3676 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
3678 * text.C (top_y): fix bug 1110
3680 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
3682 * errorlist.[Ch]: added
3685 * BufferView_pimpl.C:
3686 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3689 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3691 * Makefile.am: ensure that lyx is relinked upon changes to the
3692 various "convenience" libs.
3694 2003-05-20 Angus Leeming <leeming@lyx.org>
3696 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3697 files are compiled in alphabetical order again.
3699 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3701 2003-05-19 Angus Leeming <leeming@lyx.org>
3703 * gettext.[Ch]: remove "char const * _(char const *)".
3705 2003-05-19 André Pönitz <poenitz@gmx.net>
3707 * dimension.[Ch]: promote from mathed/dimension.[Ch]
3716 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3718 2003-05-19 André Pönitz <poenitz@gmx.net>
3722 * lyxtextclass.[Ch]:
3724 * paragraph_funcs.[Ch]:
3726 * text3.C: more insetenv work
3728 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
3730 * ParagraphParameters.C (params2string): small bug fixed
3732 2003-05-16 André Pönitz <poenitz@gmx.net>
3735 * bufferview_funcs.C: patch from Kornel Benko to prevent
3736 crash when _(...) is called twice in a statement
3738 2003-05-16 André Pönitz <poenitz@gmx.net>
3745 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3747 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
3749 * lyx_main.C (init): remove spurious static_cast
3751 2003-05-14 André Pönitz <poenitz@gmx.net>
3753 * BufferView.C: fix format string
3755 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
3757 * BufferView.[Ch] (insertErrors): removed
3758 * BufferView.[Ch] (showErrorList): added
3759 * buffer.C (runChkTeX):
3760 * converter.C (scanLog): call showErrorList instead of inserterrors
3762 2003-05-13 André Pönitz <poenitz@gmx.net>
3764 * BufferView_pimpl.C:
3766 * bufferview_func.C:
3773 * tabular_funcs.h: tostr() from its own header
3775 * ParagraphParameters.C:
3780 * text3.C: STRCONV()
3782 2003-05-12 André Pönitz <poenitz@gmx.net>
3785 * BufferView_pimpl.C:
3789 * ParagraphParameters.C:
3793 * bufferview_funcs.C:
3806 * paragraph_funcs.C:
3810 * text3.C: boost::format -> bformat all over the place
3813 2003-05-09 André Pönitz <poenitz@gmx.net>
3815 * LColor.[Ch]: Pimpl the #include <map> away
3817 2003-05-09 John Levon <levon@movementarian.org>
3819 * bufferlist.C: never remove emergency saves
3821 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3823 * Makefile.am: better lib building
3825 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3827 * texrow.[Ch]: remove dependency on Paragraph and just store a id
3829 * paragraph_pimpl.C (simpleTeXBlanks): adjust
3830 (simpleTeXSpecialChars): adjust
3831 (simpleTeXSpecialChars): adjust
3832 * paragraph.C (simpleTeXOnePar): adjust
3833 * buffer.C (makeLaTeXFile): adjust
3835 * Makefile.am (BOOST_LIBS): allow boost as system lib.
3837 * text2.C (changeDepth): parlist cleanup
3838 (getColumnNearX): ditto
3840 * rowpainter.C (getLabelFont): parlist cleanup
3842 * bufferlist.C (newFile): parlist cleanup
3844 * CutAndPaste.C (eraseSelection): parlist cleanup
3846 * BufferView_pimpl.C (trackChanges): parlist cleanup
3849 * BufferView.C (lockInset): parlist cleanup.
3850 (ChangeInsets): ditto
3852 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3854 * CutAndPaste.h: Update file header.
3856 * CutAndPaste.C: Update file header.
3857 Store the parts cut out of the Document in a limited_stack.
3858 (copySelection): adjust
3859 (pasteSelection): new function, takes the index in the limited stack.
3860 (nrOfParagraphs): adjust
3861 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3862 simplify error inset insertion.
3863 (checkPastePossible): adjust
3865 2003-05-06 John Levon <levon@movementarian.org>
3867 * text2.C: don't cast wrap inset to float
3869 2003-05-05 André Pönitz <poenitz@gmx.net>
3872 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3874 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3875 few naked Paragraph *.
3877 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
3879 * bufferparams.C: Output warning if a document with missing
3880 TeX document class is loaded
3881 * exporter.C: Disable TeX exports if the document class is missing
3884 * lyxtextclasslist.C: Handle new textclass.lst format; new method
3885 isTeXClassAvailable()
3887 2003-05-03 John Levon <levon@movementarian.org>
3890 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3891 explicit cursor show/hide
3893 * BufferView_pimpl.h:
3894 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3895 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3897 * lyxfunc.C: hide cursor before dispatching.
3902 * text3.C: remove explicit cursor hides
3904 2003-05-02 André Pönitz <poenitz@gmx.net>
3906 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3909 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3912 * text2.C: tiny whitespace
3914 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3916 * undo_funcs.C: almost only ws changes.
3918 * ParagraphList.C (splice): just return if pl is empty.
3920 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3922 * ParagraphList.C (splice): new function.
3924 * CutAndPaste.C (pasteSelection): use it
3926 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3928 * CutAndPaste.C (pasteSelection): remove the last next and
3929 previous from this file.
3931 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3933 * CutAndPaste.C (pasteSelection): more clean up, user proper
3934 ParagraphList functions for pasteing.
3936 * ParagraphList.C (insert): new function, three arg insert
3938 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3940 * ParagraphList.C (insert): new function, three arg insert
3942 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3945 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3947 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3949 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3951 * CutAndPaste.C (pasteSelection): remove some unneeded code.
3953 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3955 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3956 (copySelection): clean up a bit.
3957 (pasteSelection): use make_pair
3959 * ParagraphList.C (ParagraphList): implement copy constructor
3960 (operator=): implement, base on copy constructor.
3963 * paragraph.C (erase): return a bool
3965 * paragraph_pimpl.C (erasePos): remove function, move contents...
3966 (erase): ... here. Return a bool.
3967 (erase): call erase instead of erasePos.
3969 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
3971 * ParagraphList.h: define PitPosPair
3972 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3973 ParagraphList, fix a bug on pasting multiple pars
3974 * text2.C: change interface to C&P
3976 2003-04-30 André Pönitz <poenitz@gmx.net>
3978 * undo_func.C: revert part of yesterday's patch 2
3980 2003-04-30 John Levon <levon@movementarian.org>
3982 * LColor.C: s/tabular/table/
3984 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3986 * text3.C (dispatch): do not convert iterator -> pointer
3987 * undo_funcs.C (setCursorParUndo): ditto
3988 * text_funcs.C (transposeChars): ditto
3990 * text2.C (setLayout): ws changes only
3992 * text.C (breakParagraph): do not convert iterator -> pointer
3994 (acceptChange): ditto
3995 (rejectChange): ditto
4000 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4003 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4005 * text3.C (gotoInset): YABG (yet another bad getChar)
4007 2003-04-29 André Pönitz <poenitz@gmx.net>
4009 * paragraph.h: make operator= private unimplemented as long as
4012 * ParagraphList.C: whitespace
4015 * paragraph_pimpl.[Ch]:
4016 * paragraph_funcs.C:
4018 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
4021 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4023 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4025 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4026 * paragraph.[Ch] (erase):
4027 * paragraph_pimpl.[Ch] (erase): change return type and value
4028 * text2.C (cutSelection): some rework
4030 2003-04-28 John Levon <levon@movementarian.org>
4032 * bufferlist.C: changes for unsaved changes dialog
4034 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4036 * bufferlist.C (newFile): set language (messages_) for new
4039 * buffer.C (readFile): ws changes only.
4041 2003-04-28 André Pönitz <poenitz@gmx.net>
4046 * BufferView_pimpl.C:
4047 * BufferView.C: getParFromID related ParagraphList::iterator changes
4049 2003-04-28 André Pönitz <poenitz@gmx.net>
4051 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4054 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4056 * messages.C: remove one more localedir class variable.
4058 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4060 * messages.C (getLocaleDir): singleton generation function
4062 (Messages): add a default constructor.
4064 * main.C (main): do not setup localedir here, do not call
4067 * gettext.C (_): use it.
4068 (gettext_init): delete funciton
4070 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4072 * gettext.C (getLyXMessages): new singleton generating function.
4074 * buffer.C (updateDocLang): adjust
4076 * Makefile.am (messages.o): add target
4077 (main.o): remove target
4079 2003-04-27 John Levon <levon@movementarian.org>
4084 * lyxvc.C: specify cancel button in Alert::prompt
4086 2003-04-26 John Levon <levon@movementarian.org>
4091 * LyXAction.C: add LFUN_INSET_SETTINGS
4093 * lyxfunc.C: don't enable tabular-feature when there's
4094 just any locking inset
4096 2003-04-26 John Levon <levon@movementarian.org>
4098 * bufferlist.C: re-add Cancel to buffer close question
4100 * lyxfunc.C: fix import UI a bit
4102 2003-04-25 John Levon <levon@movementarian.org>
4104 * gettext.C: remove the broken asserts for now
4106 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4108 * messages.C: make case where setlocale cannot comply work better.
4110 * buffer.C (updateDocLang): new function
4111 (changeLanguage): use it
4114 * text2.C (setCounter): use B_ a bit.
4116 * lyxlayout.C (Read): be sure to trim the label strings.
4118 * messages.C (Messages): fix typo in comment
4120 * buffer.C (readFile): set message_ after file is loaded.
4121 (makeDocBookFile): remove double return
4122 (changeLanguage): reset message_ upon language change.
4123 (B_): new func, use this to get translated buffer strings.
4125 * main.C: add myself and Jean Marc as authors.
4127 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4129 * messages.[hC]: pimplify Messages, and three different pimpls to be
4130 used in different circumstances.
4132 * gettext.[Ch]: change for use with new message code.
4134 2003-04-24 André Pönitz <poenitz@gmx.net>
4136 * factory.C: support for eqref
4138 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4140 * messages.[Ch]: add missing char
4142 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4144 * messages.[Ch]: New files
4146 2003-04-18 John Levon <levon@movementarian.org>
4150 * BufferView_pimpl.C:
4154 * text2.C: remove layout-copy/paste (bug 778)
4156 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4158 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4160 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4162 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4163 if they succeed. Act accordingly.
4165 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4167 * text2.C (setCharFont): adjust
4168 (setCounter): adjust
4169 (insertStringAsLines): adjust
4171 * text.C (leftMargin): adjust
4172 (setHeightOfRow): adjust
4174 * rowpainter.C (paintFirst): adjust
4177 * paragraph_funcs.C (depthHook): ParagraphList::iterators
4179 (isFirstInSequence): ditto
4180 (getEndLabel): ditto
4183 * paragraph.C (getParLanguage): comment out some hard stuff.
4185 * buffer.C (insertStringAsLines): take a ParagraphList as arg
4187 (simpleDocBookOnePar): ditto
4188 (makeDocBookFile): use ParagraphList::iterator
4190 * CutAndPaste.C (pasteSelection): adjust
4192 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4194 * text2.C (getFont): adjust
4195 (getLayoutFont): adjust
4196 (getLabelFont): adjust
4198 * paragraph_funcs.C (TeXOnePar): adjust
4200 * buffer.C (simpleLinuxDocOnePar): adjust
4201 (simpleDocBookOnePar): adjust
4203 * CutAndPaste.C (pasteSelection): adjust
4205 * BufferView.C (getEncoding): adjust
4207 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4209 2003-04-16 John Levon <levon@movementarian.org>
4211 * lyxfind.C: use parlist stuff for search/changes
4213 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4215 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4217 * text2.C (deleteEmptyParagraphMechanism): adjust
4219 * text2.[Ch] (ownerParagraph): delete func (both of them
4221 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4223 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4225 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4227 * ParagraphList.C: prepare for NO_NEXT
4229 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4231 * text2.C (getFont): adjust
4232 (getLayoutFont): adjust
4233 (getLabelFont): adjust
4235 * paragraph.C (getFont): adjust
4236 (getLabelFont): adjust
4237 (getLayoutFont): adjust
4239 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4241 2003-04-15 John Levon <levon@movementarian.org>
4245 * lyx_main.C: handle Include in .ui files
4247 2003-04-15 John Levon <levon@movementarian.org>
4249 * MenuBackend.C: make the doc files length shorter
4252 * ToolbarBackend.C: handle toolbar placement flags,
4255 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4257 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4260 * paragraph_funcs.C (TeXOnePar): adjust
4262 * paragraph.C (getLabelFont): add outerfont arg, adjust
4263 (getLayoutFont): ditto
4264 (simpleTeXOnePar): adjust
4266 * paragraph_pimpl.C (realizeFont): delete func
4268 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
4270 * text2.C (beforeFullRowInset): added a bad getchar check, removed
4271 row argument, constify cur argument.
4273 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4275 * text2.C (getFont): adjust
4276 (getLayoutFont): adjust
4277 (getLabelFont): adjust
4279 * paragraph_funcs.C (TeXOnePar): adjust
4280 (outerFont): new func...
4281 (realizeFont): ...moved out from here, changed this to facilitate
4284 * paragraph.C (getFont): take outerfont as arg, adjust
4285 (simpleTeXOnePar): add outerfont arg, adjust
4287 * buffer.C (simpleLinuxDocOnePar): adjust
4288 (simpleDocBookOnePar): adjust
4290 * CutAndPaste.C (pasteSelection): adjust
4292 * BufferView.C (getEncoding): adjust
4294 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4296 * text2.C (setCharFont): adjust
4297 (setCounter): adjust
4299 * text.C (leftMargin): adjust
4300 (setHeightOfRow): adjust
4302 * rowpainter.C (paintFirst): adjust
4305 * paragraph_pimpl.C (realizeFont): adjust
4307 * paragraph.C (isFirstInSequence): move from here...
4308 * paragraph_funcs.C (isFirstInSequence): ...to here
4310 * paragraph.C (outerHook): move from here...
4311 * paragraph_funcs.C (outerHook): ...to here
4313 * paragraph.C (depthHook): move from here...
4314 * paragraph_funcs.C (depthHook): ...to here
4316 * paragraph.C (getEndLabel): move from here...
4317 * paragraph_funcs.C (getEndLabel): ...to here
4319 * text2.C (realizeFont): move from here...
4320 * paragraph_funcs.C (realizeFont): ...to here
4322 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4324 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4326 2003-04-14 Angus Leeming <leeming@lyx.org>
4328 * LColor.[Ch]: scrap LColor mathcursor.
4330 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4332 * lyxlex.[Ch] (text): delete function
4333 * trans.C (Load): adjust
4334 * paragraph_funcs.C (readParToken): adjust
4336 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4338 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4339 vector<char> instead of a char[].
4341 * lyxlex_pimpl.C (getString): adjust
4343 (lex): use getString
4347 * lyxlex.C (text): use pimpl_->getString()
4351 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4353 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4354 (makeFontEntriesLayoutSpecific): temp var for par.size()
4355 (setLayout): temp var for ownerParagraphs().end()
4356 (fullRebreak): temp var for rows().end()
4357 (selectionAsString): temp var for boost::next(startpit), realize
4358 that the while really is a regular for loop.
4359 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4360 setCursor in one place.
4361 (setParagraph): temp vr for ownerParagraphs().end()
4362 (updateCounters): make the while loop a for loop
4363 (cutSelection): temp var for ownerParagraphs().end()
4364 (updateInset): make the do {} while() a regular for loop
4365 (getCursorX): use temp vars
4366 (setCurrentFont): use temp vars
4367 (getColumnNearX): use temp vars
4369 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4371 * text.C (transformChar): use temp var for getChar
4372 (computeBidiTables): use temp var for row->par()
4373 (fill): move temp vars for row->par() and pit->layout() earlier in
4375 (labelFill): use temp var for row->par()
4376 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4377 asc and desc, realize that pit never changes and that firstpit is
4378 just a duplicate and not needed. Exchange rit->par() with pit in a
4380 (breakAgain): use a temp var for boost::next(rit)
4381 (breakAgainOneRow): ditto
4382 (breakParagraph): use a temp var for rows().begin()
4383 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4384 (cursorRightOneWord): use temp var for cursor.par() and
4385 cursor.pos(), remove usage of tmpcursor.
4386 (cursorLeftOneWord): use temp var for cursor.par() and
4387 cursor.pos() only set cur at end of function.
4389 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4391 * text.C, text2.C: exchange all usage of Paragraph::next with
4392 boost::next(ParagraphList::iterator)
4394 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4396 * text2.C (cursorTop): simplify implementation
4397 (cursorBottom): ditto
4398 (setParagraph): use ParagraphList::iterator
4399 (setCurrentFont): adjust
4400 (getColumnNearX): adjust
4401 (cursorRight): adjust
4402 (cursorLeft): remove usage of Paragraph::previous
4403 (cursorUpParagraph): ditto
4404 (deleteEmptyParagraphMechanism): slight cleanup
4406 * text.C (isBoundary): take a Paragraph const & instead of a
4408 (addressBreakPoint): ditto
4409 (leftMargin): remove usage of Paragraph::previous.
4410 (setHeightOfRow): ditto
4411 (cursorLeftOneWord): ditto
4412 (selectNextWordToSpellcheck): ditto
4415 (breakParagraph): remove one usage of Paragraph::next
4416 (redoParagraph): ditto
4417 (acceptChange): ditto
4418 (insertChar): adjust
4419 (rowBreakPoint): adjust
4421 * bufferview_funcs.C (toggleAndShow): adjust
4423 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
4425 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4426 methods to access it.
4428 * text.C: Added updateRowPositions to compute all row positions.
4429 Make top_y and getRowNearY() to use the cached y position
4431 2003-04-11 John Levon <levon@movementarian.org>
4433 * text.C (rowBreakPoint): reintroduce the labelEnd
4434 checks, code copied from the row fill stuff. Deep voodoo.
4436 * text.C (fill): add a comment and debugging for the
4439 2003-04-11 John Levon <levon@movementarian.org>
4441 * text.C: make sure fullrow insets get wrapped to the next line,
4442 even when they're in a manual label
4444 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4446 * text2.C (insertParagraph): make it take ParagraphList::iterator
4448 (setLayout): make it return ParagraphList::iterator
4449 (redoParagraphs): ditto
4451 (checkParagraph): ditto
4453 * text.C (getRow): make getrow take ParagraphList::iterator as arg
4455 * text2.C: adjust several funcs.
4456 (realizeFont): take a ParagraphList::iterator as arg.
4457 (getLayoutFont): ditto
4458 (getLabelFont): ditto
4459 (setCharFont): ditto
4461 * text.C: adjust several funcs.
4463 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4465 * text.C (selectNextWordToSpellcheck): don't accidentally
4468 2003-04-10 John Levon <levon@movementarian.org>
4470 * ToolbarBackend.C (getIcon): special handling for
4473 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4475 * text2.C (cursorRight): a getChar assert fixed
4477 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4479 * text2.C (getFont): change to take a ParagraphList::iterator
4480 instead of Paragraph*
4481 Adjust several functions.
4483 * text.C (transformChar): change to take a ParagraphList::iterator
4484 instead of Paragraph*
4485 (singleWidth): ditto
4486 Adjust several functions.
4488 * rowpainter.C: adjust several functions
4489 * rowpainter.h:store a ParagraphList::iterator and not a
4493 2003-04-09 John Levon <levon@movementarian.org>
4498 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4499 and the "help" bits as well
4501 2003-04-09 John Levon <levon@movementarian.org>
4504 * ToolbarBackend.C: allow multiple toolbars
4506 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4508 * undo_funcs.C (setCursorParUndo): adjust
4510 * text_funcs.C (transposeChars): adjust
4512 * text3.C (gotoNextInset): adjust
4515 * text2.C (setLayout): adjust
4516 (changeDepth): adjust
4518 (redoParagraphs): adjust
4519 (selectionAsString): adjust
4520 (setParagraph): adjust
4521 (insertInset): adjust
4522 (cutSelection): adjust
4523 (copySelection): adjust
4524 (pasteSelection): adjust
4525 (insertStringAsLines): adjust
4526 (updateInset): adjust
4527 (setCursor): change to take a ParagraphList::iterator parameter
4528 (setCursorIntern): change to take a ParagraphList::iterator parameter
4529 (setCurrentFont): adjust
4530 (cursorLeft): adjust
4531 (cursorRight): adjust
4532 (deleteEmptyParagraphMechanism): adjust
4534 * text.C (breakParagraph): adjust
4535 (insertChar): adjust
4536 (acceptChange): adjust
4537 (rejectChange): adjust
4538 (selectNextWordToSpellcheck): adjust
4539 (changeCase): adjust
4543 * lyxfind.C (SearchForward): adjust
4544 (SearchBackward): adjust
4545 (nextChange): adjust
4547 * lyxcursor.C (par): adjust
4549 * lyxcursor.h: store a ParagraphList::iterator instead of a
4552 * lyx_cb.C (getPossibleLabel): adjust
4554 * bufferview_funcs.C (toggleAndShow): adjust
4556 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4559 * BufferView.C (removeAutoInsets): adjust
4560 (lockedInsetStoreUndo): adjust
4562 2003-04-09 John Levon <levon@movementarian.org>
4564 * ToolbarBackend.C: try icon without argument
4565 if with argument fails
4567 2003-04-08 John Levon <levon@movementarian.org>
4570 * ToolbarBackend.C: add getIcon(), handle tooltip,
4571 and change from "Icon" to "Item".
4573 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4575 * BufferView.C (lockInset): another bad getchar crunched
4577 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4579 * text2.C (changeDepth): do not setUndo on test_only (make undo work
4582 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
4584 * lyxfind.C (searchForward, searchBackwards): bug 782
4586 2003-04-07 John Levon <levon@movementarian.org>
4588 * paragraph.C: remove dead comment
4590 * text.C: remove troublesome depth-fiddling code
4591 in leftMargin() and rightMargin() (bug 1017)
4593 * text.C: fix breaking of rows in nested lists
4596 * text2.C (updateCounters): fix up depth values
4599 2003-04-07 John Levon <levon@movementarian.org>
4601 * BufferView_pimpl.C: clear message when doc finishes resizing,
4602 and after a mouse event
4604 * lyxfunc.C: clear message after exiting inset
4606 2003-04-07 John Levon <levon@movementarian.org>
4608 * bufferview_funcs.C: show math status not outside
4609 status in the statusbar
4611 2003-04-07 John Levon <levon@movementarian.org>
4613 * lyxfunc.C: note status changed after a depth change
4615 2003-04-04 Angus Leeming <leeming@lyx.org>
4617 * LaTeX.h: move AuxInfo operator==, != out of line.
4618 Remove LaTeX virtual destructor; nothing derives from it.
4619 Move operator()() out of public area and rename it startscript().
4620 Change protected for private.
4622 2003-04-04 Angus Leeming <leeming@lyx.org>
4625 * text2.C: remove unneeded #includes.
4627 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4629 * text2.C (dEPM): fix the heigth of the next row
4631 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4633 * text.C: squashed an invalid getChar requester + some ws changes
4635 2003-04-03 John Levon <levon@movementarian.org>
4637 * bufferview_funcs.h:
4638 * bufferview_funcs.C:
4641 * text2.C: make getStatus work for the env depth lfuns
4643 2003-04-03 John Levon <levon@movementarian.org>
4645 * bufferview_funcs.h:
4646 * bufferview_funcs.C:
4649 * text2.C: parlistize decDepth(), by merging it with incDepth()
4651 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4653 * lyxrow.h: store a ParagraphList::iterator instead of a
4654 Paragraph* and adjust other class functions to suit.
4656 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4659 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4661 * text2.C (setCursor): do not anchor to cursor row for the time being
4663 2003-04-02 John Levon <levon@movementarian.org>
4670 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4672 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4674 * paragraph.h: make ParagraphList and ParagraphList::iterator
4675 friends of Paragraph.
4677 * buffer.C (makeLinuxDocFile): move towards ParagraphList
4679 * ParagraphList.C: Use the private next_ and previous_ from
4682 2003-04-01 John Levon <levon@movementarian.org>
4686 * Makefile.am: rename, remove defaults gunk
4689 * MenuBackend.C: remove defaults gunk
4692 * Languages.C: remove defaults gunk
4695 * lyx_main.C: error out if files couldn't be found.
4697 2003-04-02 John Levon <levon@movementarian.org>
4699 * text2.C: make incDepth() use parlist
4701 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4703 * undo_funcs.C (firstUndoParagraph): adjust
4705 * text3.C (gotoInset): adjust
4706 (dispatch): adjust, and rewrite loop.
4708 * text2.C (init): adjust, and rewrite loop.
4709 (redoParagraphs): adjust
4710 (updateInset): adjust, and rewrite loop.
4711 (deleteEmptyParagraphMechanism): adjust
4713 * tabular.C (LyXTabular): adjust
4714 (SetMultiColumn): adjust
4717 * lyxtext.[Ch] (ownerParagraph): delete function
4718 (ownerParagraphs): new function returns a ParagraphList.
4720 * BufferView.C (removeAutoInsets): adjust
4721 (insertErrors): adjust
4722 (setCursorFromRow): adjust
4724 2003-04-01 Angus Leeming <leeming@lyx.org>
4726 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4729 2003-04-02 John Levon <levon@movementarian.org>
4735 * text_funcs.C: make transposeChars a free function
4737 * lyxrow_funcs.C: remove wrong comment
4739 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4742 * rowpainter.C: adjust
4747 * lyxrow_funcs. [Ch]: new files
4749 * lyxrow.[Ch]: remove next and previous pointers
4750 (next,previous): remove accessor functions
4751 (isParEnd): move to lyxrow_funcs
4752 (lastPos): move to lyxrow_funcs
4753 (nextRowIsAllInset): move to lyxrow_funcs
4754 (lastPrintablePos): move to lyxrow_funcs
4755 (numberOfSeparators): move to lyxrow_funcs
4756 (numberOfHfills): move to lyxrow_funcs
4757 (numberOfLabelHfills): move to lyxrow_funcs
4758 (hfillExpansion): move to lyxrow_funcs
4762 * bufferview_funcs.C (toggleAndShow): adjust
4764 * RowList.h: Remove class RowList from file leave just a
4767 * RowList.C: delete file
4769 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4772 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4774 * text3.C (cursorPrevious): adjust
4775 (cursorNext): adjust
4778 * text2.C (redoHeightOfParagraph): adjust
4779 (redoDrawingOfParagraph): adjust
4782 * text.C (breakParagraph): adjust
4783 (insertChar): adjust
4786 * rowpainter.C (RowPainter): adjust
4787 (leftMargin): simplify and adjust
4788 (most rowpainter functions): adjust.
4790 * rowpainter.h: store the row as RowList::iterator not as Row*
4792 * lyxcursor.C (row): taka RowList::iterator as arg
4795 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4798 2003-04-01 Angus Leeming <leeming@lyx.org>
4800 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4801 stuff like bool Bool.
4803 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4805 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4808 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4810 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4813 * lyxtext.h (rows): drop one version and leve a const variant that
4814 returns a RowList::iterator.
4816 2003-03-31 Angus Leeming <leeming@lyx.org>
4818 * text.C (fill): ensure that the signature is the same as that in the
4821 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4823 * text2.C (redoParagraphs): adjust
4824 (updateCounters): adjust
4825 (checkParagraph): adjust
4826 (getColumnNearX): adjust and reformat a bit.
4828 * text.C (top_y): adjust
4830 (leftMargin): adjust
4831 (prepareToPrint): adjust
4833 (getRowNearY): adjust
4835 * lyxtext.h: make rowlist_ mutable.
4837 * RowList.h: add const_iterator
4838 * RowList.C: adjust for RowList::const_iterator.
4840 * text2.C (getCursorX): make it take a RowList::iterator as arg,
4843 2003-03-31 John Levon <levon@movementarian.org>
4846 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4848 * lyx_main.C: set default fonts from using lyx_gui funcs
4850 * exporter.C: pdf_mode moved from lyxrc
4853 * lyxfunc.C: changes from above
4855 2003-03-31 John Levon <levon@movementarian.org>
4857 * lyx_main.C: fix to the last fix
4859 2003-03-31 John Levon <levon@movementarian.org>
4861 * bufferlist.C: "Load original" -> "Load Original"
4867 * format.C: more Alert cleanups
4869 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4871 * text2.C (removeParagraph): make it take a RowList::iterator as
4873 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4874 (postRowPaint): make it take a RowList::iterator as arg, adjust.
4876 * text.C (anchor_row): make it take a RowList::iterator as arg,
4878 (computeBidiTables): make it take a const reference to Row instead
4879 of Row pointer, adjust.
4880 (leftMargin): make it take a RowList::iterator as arg, adjust.
4881 (rowBreakPoint): adjust
4882 (breakAgainOneRow): make it take a RowList::iterator as arg,
4884 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4886 * bufferview_funcs.C (toggleAndShow): adjust
4888 2003-03-30 John Levon <levon@movementarian.org>
4892 * boost-inst.C: moved to support
4894 * several files: changes as a result
4896 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4898 * text2.C (LyXText): adjust.
4900 (removeRow): make it take a RowList::iterator as arg, adjust.
4901 (fullRebreak): adjust
4902 (deleteEmptyParagraphMechanism): adjust
4903 (clearPaint): adjust
4906 * text.C (top_y): adjust
4907 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4908 (breakAgain): make it take a RowList::iterator as arg, adjust.
4909 (breakParagraph): adjust
4910 (insertChar): adjust
4913 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4914 need_break_row, and refresh_row.
4916 * text3.C (dispatch): adjust
4918 * text2.C (checkParagraph): adjust
4920 (setCursorFromCoordinates): adjust
4922 * text.C (top_y): adjust
4924 (getRow): make it return a RowList::iterator, adjust
4925 (getRowNearY): make it return a RowList::iterator, adjust
4927 * text2.C (init): adjust
4928 (insertRow): remove function
4929 (insertParagraph): adjust
4930 (redoParagraphs): adjust
4931 (fullRebreak): adjust
4932 (updateCounters): adjust
4934 * text.C (top_y): rewrite to use RowList iterators.
4936 (setHeightOfRow): rewrite to sue RowList iterators.
4937 (appendParagraph): adjust
4938 (breakAgain): adjust
4939 (breakAgainOneRow): adjust
4940 (breakParagraph): adjust
4942 (getRowNearY): adjust, and remove commented code.
4944 * lyxtext.h (firstRow): delete function
4945 (lastRow): delete function
4946 (rows): new function (const and non-const versions.)
4947 (insertRow): delete function
4949 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4951 2003-03-29 John Levon <levon@movementarian.org>
4953 * BufferView_pimpl.C: always update scrollbar top
4954 because pasting text when we're anchored could mean we
4955 miss an update altogether
4957 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4959 * text2.C (init): use rowlist_.end() and not 0.
4960 (insertRow): change to take a RowList::iterator as arg, adjust
4962 (insertParagraph): change to take a RowList::iterator as arg,
4964 (redoParagraphs): remove some debug msgs.
4966 * text.C (appendParagraph): change to take a RowList::iterator
4967 arg, adjust for this.
4968 (breakAgain): add an assert
4969 (breakAgainOneRow): ditto
4971 2003-03-29 John Levon <levon@movementarian.org>
4973 * text2.C: do not clear selection after inc/decDepth
4976 2003-03-29 John Levon <levon@movementarian.org>
4979 * buffer.C: fix broken strerrors according to Lars
4981 2003-03-29 John Levon <levon@movementarian.org>
4983 * converters.C: more Alert cleanups
4985 2003-03-29 John Levon <levon@movementarian.org>
4987 * bufferview_funcs.C: remove pointless Alert
4989 * buffer.C: fix confusing error message when
4990 a template is chmoded 000
4992 2003-03-29 John Levon <levon@movementarian.org>
4996 * BufferView_pimpl.C: Alert fixes
5000 * tabular-old.C: remove unused table compat reading
5002 2003-03-29 John Levon <levon@movementarian.org>
5007 * lyx_cb.C: more Alert cleanups
5009 * lyxfunc.C: don't allow chktex if not latex document
5011 2003-03-29 John Levon <levon@movementarian.org>
5015 * buffer.C: warnings pushed down from support/,
5018 2003-03-29 John Levon <levon@movementarian.org>
5020 * lyxfunc.C: safety check for C-r (revert)
5022 2003-03-29 John Levon <levon@movementarian.org>
5025 * bufferlist.C: several UI fixes using Alert::prompt.
5026 Fix the pointless looping quit code. Fix stupid revert
5031 * lyx_cb.C: use Alert::prompt
5033 * lyx_main.C: remove a silly question
5035 * lyxfunc.C: remove a couple of silly questions,
5038 2003-03-28 John Levon <levon@movementarian.org>
5040 * text2.C: fix bug 974 (End on empty par)
5042 2003-03-28 John Levon <levon@movementarian.org>
5044 * BufferView_pimpl.C:
5046 * lfuns.h: remove do-nothing math greek lfuns
5048 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5050 * lyxgluelength.h (isValidGlueLength): add default arg on
5051 parameter 2. Remove default arg from friend in class.
5053 * lyxlength.h (isValidLength): add default arg on parameter 2.
5054 Remove default arg from friend in class.
5056 * text2.C (LyXText): adjust, initialize refresh_row.
5060 (insertParagraph): adjst
5061 (redoParagraphs): adjust
5062 (fullRebreak): adjust
5063 (updateCounters): adjust
5064 (deleteEmptyParagraphMechanism): first attempt at fixing a
5067 * text.C (top_y): adjust
5068 (setHeightOfRow): adjust
5070 (getRowNearY): adjust
5072 * lyxtext.h: include RowList.h
5073 (~LyXText): not needed anymore, deleted.
5074 (firstRow): modify for RowList
5075 (lastRow): new function
5076 Delete firstrow and lastrow class variables, add a Rowlist
5077 rowlist_ class variable.
5079 * lyxrow.C (lastPos): use empty() and not !size() to check if a
5082 * RowList.C (insert): fix case where it == begin().
5084 2003-03-26 Angus Leeming <leeming@lyx.org>
5086 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5087 the thesaurus dialog.
5089 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5091 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5093 * RowList.[Ch]: new files
5095 * ParagraphList.C (erase): handle the case where it == begin
5098 2003-03-25 John Levon <levon@movementarian.org>
5102 * aspell.C: add new aspell support
5105 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5108 2003-03-25 Angus Leeming <leeming@lyx.org>
5111 * LyXAction.C (init): new LFUN_INSET_INSERT.
5113 * BufferView_pimpl.C (dispatch): split out part of the
5114 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5116 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5119 2003-03-25 Angus Leeming <leeming@lyx.org>
5121 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5123 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5126 * text3.C: remove useless row->height(0)
5128 2003-03-25 John Levon <levon@movementarian.org>
5132 * text3.C: rename the refreshing stuff to better names
5134 2003-03-24 John Levon <levon@movementarian.org>
5136 * BufferView_pimpl.h:
5137 * BufferView_pimpl.C: update layout choice on a mouse
5140 2003-03-23 John Levon <levon@movementarian.org>
5142 * Makefile.am: fix commandtags.h reference
5144 2003-03-22 John Levon <levon@movementarian.org>
5146 * BufferView_pimpl.C:
5151 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5153 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5156 * text.C: take the rtl methods out of line
5158 2003-03-21 André Pönitz <poenitz@gmx.net>
5160 * metricsinfo.[Ch]: new files containing structures to be passed around
5161 during the two-phase-drawing...
5163 2003-03-21 André Pönitz <poenitz@gmx.net>
5165 * lyxtextclass.C: read 'environment' tag.
5167 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5169 * text2.C (removeRow): fix bug 964
5171 2003-03-20 John Levon <levon@movementarian.org>
5175 * text2.C: paint cleanups. Inset::update() dropped font
5178 2003-03-19 John Levon <levon@movementarian.org>
5180 * lyxfunc.C: only fitcursor/markDirty if available()
5182 2003-03-19 John Levon <levon@movementarian.org>
5184 * commandtags.h: rename to ...
5186 * lfuns.h: ... this, and renumber / cleanup
5188 2003-03-19 John Levon <levon@movementarian.org>
5190 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5191 fit the cursor after an lfun
5195 * BufferView_pimpl.h:
5196 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5198 * LyXAction.C: layout-character should have ReadOnly
5200 * ParagraphParameters.C:
5202 * bufferview_funcs.C:
5209 * undo_funcs.C: changes from above
5211 2003-03-18 John Levon <levon@movementarian.org>
5213 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5214 remove it from update()
5216 * lyxfunc.C: update layout choice after an lfun
5218 * text3.C: remove extra updateLayoutChoice()s
5220 2003-03-18 John Levon <levon@movementarian.org>
5222 * text.C: top_y change means full repaint, fix
5223 a drawing bug with cursor movement
5225 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5229 * text2.C: anchor row on setCursor
5231 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5233 * lyxtext.h: remove almost all mutable keywords
5236 * text3.C: remove const keywords accordingly
5238 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5240 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5242 (TeXEnvironment): ditto
5245 2003-03-17 John Levon <levon@movementarian.org>
5247 * text.C (rowBreakPoint): remove attempt to fix displayed
5248 math insets inside a manual label
5250 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5252 * lyxtext.h: remove BufferView* as first arg from almost all class
5254 * other files: adjust.
5256 2003-03-17 John Levon <levon@movementarian.org>
5260 * text2.C: more paint cleanups
5262 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5265 * rowpainter.C: remove "smart" background painting code
5267 2003-03-16 John Levon <levon@movementarian.org>
5272 * text3.C: add helper functions for setting refresh_row/y
5274 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
5276 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5277 newline inset which *can* get inserted in the pass_thru layouts.
5278 This is primarily for literate documents.
5280 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
5282 * buffer.C: increment LYX_FORMAT to 223
5284 2003-03-14 André Pönitz <poenitz@gmx.net>
5286 * textclass.h: prepare for environment handling, ws changes
5287 * lyxlayout.C: read latexheader and latexfooter tags
5289 2003-03-14 John Levon <levon@movementarian.org>
5291 * text2.C: rewrite ::status() a bit
5293 2003-03-13 John Levon <levon@movementarian.org>
5295 * lyxtext.h: add some docs
5297 2003-03-13 John Levon <levon@movementarian.org>
5302 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5304 2003-03-13 John Levon <levon@movementarian.org>
5306 * text3.C: fix appendix redrawing
5308 2003-03-13 John Levon <levon@movementarian.org>
5310 * text.C (setHeightOfRow):
5312 * rowpainter.C: make appendix mark have the text
5313 "Appendix" so the user knows what it is
5316 * LColor.C: s/appendixline/appendix/ from above
5318 2003-03-13 John Levon <levon@movementarian.org>
5320 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5322 * text.C: fix a getChar(pos) bug properly
5324 2003-03-13 Angus Leeming <leeming@lyx.org>
5327 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5328 Probably only temporary. Let's see how things pan out.
5330 * BufferView.C (unlockInset):
5331 * BufferView_pimpl.C (fitCursor):
5332 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5334 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5335 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5337 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5338 new functions that convert ParagraphParameters to and from a string.
5340 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5341 BufferView::Pimpl's dispatch.
5342 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5344 2003-03-13 André Pönitz <poenitz@gmx.net>
5348 * factory.C: make it aware of InsetEnv
5350 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5352 * text2.C (setCursor): never ask for one past last
5353 (setCursor): add some debugging messages.
5355 * text.C (singleWidth): never ask for one past last
5356 (singleWidth): ditto
5358 (rightMargin): ditto
5359 (rowBreakPoint): ditto
5360 (setHeightOfRow): ditto
5361 (prepareToPrint): ditto
5363 * rowpainter.C (paintBackground): never ask for one past last
5364 (paintText): never ask for one past last
5366 * paragraph_pimpl.C (getChar): make the assert stricter, never
5367 allow the one past last pos to be taken
5369 * paragraph.C (getChar): ws changes only
5371 * lyxrow.C (nextRowIsAllInset): never ask for one past last
5372 (numberOfSeparators): ditto
5373 (numberOfHfills): ditto
5375 2003-03-12 John Levon <levon@movementarian.org>
5381 * paragraph_funcs.C: fix per-buffer authorlists
5383 2003-03-12 John Levon <levon@movementarian.org>
5385 * text.C: fix newline in right address
5387 2003-03-12 Angus Leeming <leeming@lyx.org>
5389 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5390 duplicate those in LyXFunc::dispatch.
5394 * ToolbarDefaults.C:
5395 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5396 Add LFUN_FONTFREE_UPDATE.
5398 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5399 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5401 * bufferview_func.[Ch]: several new functions to facilliate
5402 transfer of data to and from the character dialog.
5404 2003-03-12 John Levon <levon@movementarian.org>
5409 * paragraph_funcs.C:
5410 * paragraph_pimpl.C:
5414 * text3.C: remove META_NEWLINE in favour of an inset
5417 * rowpainter.C: remove paintNewline (done by inset)
5419 2003-03-12 John Levon <levon@movementarian.org>
5421 * paragraph_pimpl.C: complain about bad getChar()s
5422 for a while at least
5424 2003-03-12 John Levon <levon@movementarian.org>
5427 * buffer.C: move paragraph read into a separate function,
5428 a little renaming to reflect that.
5431 * bufferparams.C: remove the author_ids map, not necessary now
5434 * factory.C: moved Buffer::readInset to here
5436 * paragraph_funcs.h:
5437 * paragraph_funcs.C: readParagraph free function moved from
5440 * tabular.C: name change
5442 2003-03-12 John Levon <levon@movementarian.org>
5445 * ParagraphParameters.C: move par params input to
5448 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5449 behave like a normal read from the stream wrt reading
5450 a line vs. a \\token
5452 2003-03-12 John Levon <levon@movementarian.org>
5455 * ParagraphParameters.h:
5456 * ParagraphParameters.C: move output code to a
5459 2003-03-12 John Levon <levon@movementarian.org>
5461 * BufferView.C (insertLyXFile):
5464 * tabular.C: use a parlist iterator for creating the
5467 2003-03-12 John Levon <levon@movementarian.org>
5469 * buffer.C: make current_change static local not
5472 2003-03-12 John Levon <levon@movementarian.org>
5474 * buffer.C: fix insertStringAsLines for change tracking
5476 2003-03-12 John Levon <levon@movementarian.org>
5483 * bufferparams.C: move author list into params. Rename some
5484 functions. Move the header reading into a separate token
5485 loop. Move the header token reading into BufferParams.
5487 2003-03-12 John Levon <levon@movementarian.org>
5489 * changes.C: put debug inside lyxerr.debugging() checks
5491 2003-03-11 André Pönitz <poenitz@gmx.net>
5493 * factory.C: make it aware of InsetHFill
5495 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5497 * buffer.C (latexParagraphs): move function from here...
5498 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5501 2003-03-10 Angus Leeming <leeming@lyx.org>
5503 * LyXAction.C (init): fix bug in poplating array with multiple entries
5504 with the same LFUN (spotted by JMarc).
5506 2003-03-10 John Levon <levon@movementarian.org>
5509 * text2.C: move getColumnNearX() near its
5512 2003-03-10 John Levon <levon@movementarian.org>
5514 * text.C: fix break before a minipage
5516 2003-03-10 John Levon <levon@movementarian.org>
5518 * text.C: fix the last commit
5520 2003-03-09 John Levon <levon@movementarian.org>
5524 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5525 bug 365 (don't break before insets unless needed). Don't
5526 return a value > last under any circumstances.
5528 2003-03-09 Angus Leeming <leeming@lyx.org>
5530 * BufferView_pimpl.C (trackChanges, dispatch): call
5531 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5533 2003-03-09 Angus Leeming <leeming@lyx.org>
5535 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5536 than Dialogs::showAboutlyx().
5538 2003-03-09 Angus Leeming <leeming@lyx.org>
5540 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5541 than Dialogs::showTabularCreate().
5543 2003-03-09 John Levon <levon@movementarian.org>
5547 * text2.C: 3rd arg to nextBreakPoint was always the same.
5550 2003-03-08 John Levon <levon@movementarian.org>
5557 * text2.C: Remove the "main" bit from the "main body"
5560 2003-03-08 John Levon <levon@movementarian.org>
5562 * text.C (leftMargin): The left margin of an empty
5563 manual label paragraph should not include the label width
5566 * text.C (prepareToPrint): don't attempt to measure hfills
5567 for empty manual label paragraphs - the answer should be 0
5569 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5571 * CutAndPaste.C: remove commented code and reindent.
5573 2003-03-08 John Levon <levon@movementarian.org>
5576 * lyxfunc.C: move reloadBuffer()
5579 * BufferView.C: to here
5581 * lyxvc.C: add comment
5584 * vc-backend.C: call bv->reload() to avoid
5585 getStatus() check on MENURELOAD
5587 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
5589 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5590 to an old format .dep file.
5592 2003-03-07 Angus Leeming <leeming@lyx.org>
5594 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5595 when the LFUN_MOUSE_RELEASE should have been handled by
5596 inset->localDispatch.
5598 2003-03-07 Angus Leeming <leeming@lyx.org>
5600 * BufferView_pimpl.C (dispatch):
5601 * LyXAction.C (init):
5602 * ToolbarDefaults.C (init):
5604 * lyxfunc.C (getStatus):
5605 remove LFUN_INSET_GRAPHICS.
5607 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5609 2003-03-07 Angus Leeming <leeming@lyx.org>
5612 * LyXAction.C (init):
5613 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5615 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5618 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5620 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5621 localDispatch method LFUN_INSET_DIALOG_UPDATE.
5623 2003-03-07 Angus Leeming <leeming@lyx.org>
5625 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5628 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5630 * ParagraphList.C (front): new function
5633 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
5635 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5636 and top_row_offset_. removed var first_y.
5638 * text2.C (LyXText, removeRow):
5640 * BufferView_pimpl.C:
5641 use these methods instead of using first_y
5643 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5645 * text2.C (pasteSelection): adjust for checkPastePossible
5647 * CutAndPaste.C: remove Paragraph * buf and replace with
5648 ParagraphList paragraphs.
5649 (DeleteBuffer): delete
5650 (cutSelection): change the tc type to textclass_type
5651 (copySelection): change the tc type to textclass_type
5652 (copySelection): adjust for ParagraphList
5653 (pasteSelection): change the tc type to textclass_type
5654 (pasteSelection): adjust for Paragraphlist
5655 (nrOfParagraphs): simplify for ParagraphList
5656 (checkPastePossible): simplify for ParagraphList
5657 (checkPastePossible): remove unused arg
5659 * ParagraphList.C (insert): handle the case where there are no
5662 * CutAndPaste.h: make CutAndPaste a namespace.
5664 * text3.C (dispatch): adjust
5666 * text.C (breakParagraph): add a ParagraphList as arg
5668 * paragraph_funcs.C (breakParagraph): change to take a
5669 BufferParams and a ParagraphList as args.
5670 (breakParagraphConservative): ditto
5671 (mergeParagraph): ditto
5672 (TeXDeeper): add a ParagraphList arg
5673 (TeXEnvironment): ditto
5676 * buffer.C (readLyXformat2): adjust
5677 (insertStringAsLines): adjust
5678 (latexParagraphs): adjust
5680 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5681 (cutSelection): adjust
5682 (pasteSelection): adjust
5684 * BufferView_pimpl.C (insertInset): adjust
5686 2003-03-05 Angus Leeming <leeming@lyx.org>
5689 * LyXAction.C (init):
5690 * BufferView_pimpl.C (dispatch):
5691 * lyxfunc.C (getStatus):
5692 remove LFUN_CHILD_INSERT.
5694 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5696 2003-03-05 Angus Leeming <leeming@lyx.org>
5699 * LyXAction.C (init):
5700 * src/factory.C (createInset):
5701 * lyxfunc.C (getStatus):
5702 * text3.C (dispatch):
5703 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5705 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5707 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5709 * ParagraphList.C (insert): handle insert right before end()
5710 (erase): fix cases where it can be first or last paragraph.
5712 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5714 * paragraph_funcs.C (TeXEnvironment): remove all usage of
5715 Paragraph::next and Paragraph::previous
5718 * text.C (breakParagraph): adjust
5720 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5721 BufferParams& as arg.
5722 (breakParagraph): use ParagraphList::insert
5723 (breakParagraphConservative): take a Buffer* instead of a
5724 BufferParams& as arg.
5725 (breakParagraphConservative): use ParagraphList::insert.
5727 * buffer.C (insertStringAsLines): un-const it
5728 (insertStringAsLines): adjust
5730 * ParagraphList.C (insert): new function
5732 * CutAndPaste.C (pasteSelection): adjust
5734 * text.C (backspace): adjust
5736 * tabular.C (SetMultiColumn): adjust
5738 * CutAndPaste.C (cutSelection): adjust
5739 (pasteSelection): adjust
5741 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5742 Buffer const * as arg
5744 * ParagraphList.C (erase): new function
5745 * paragraph_funcs.C (mergeParagraph): use it
5746 (mergeParagraph): make it take a Buffer* instead of a
5747 BufferParams* as arg
5749 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5751 (breakParagraphConservative): ditto
5753 * paragraph.h: remove the breakParagraph friend
5755 * paragraph.C (eraseIntern): new function
5756 (setChange): new function
5758 * paragraph_funcs.C (mergeParagraph): make it take a
5759 ParagraphList::iterator instead of a Paragraph *, adjust
5762 * paragraph.h: move an #endif so that the change tracking stuff
5763 also works in the NO_NEXT case.
5765 2003-03-04 Angus Leeming <leeming@lyx.org>
5768 * LyXAction.C: new LFUN_INSET_MODIFY.
5770 * BufferView_pimpl.C (dispatch): if an inset is found to be open
5771 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5773 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5775 * several files: ws changes only
5777 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5778 (TeXEnvironment): ditto
5781 * buffer.C (makeLaTeXFile): adjust
5782 (latexParagraphs): make it take ParagraphList::iterator as args
5784 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5786 * buffer.C (latexParagraphs): adjust
5788 * paragraph.C (TeXOnePar): move function...
5789 (optArgInset): move function...
5790 (TeXEnvironment): move function...
5791 * paragraph_pimpl.C (TeXDeeper): move function...
5792 * paragraph_funcs.C: ...here
5794 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5796 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5798 * buffer.C (readInset): remove compability code for old Figure and
5801 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5803 * buffer.C: ws changes
5806 * BufferView_pimpl.C: ditto
5809 * bufferlist.h: ditto
5813 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
5815 * converter.[Ch]: split into itself +
5818 * Makefile.am: += graph.[Ch] + format.[Ch]
5825 * lyxrc.C: added #include "format.h"
5827 2003-02-27 Angus Leeming <leeming@lyx.org>
5829 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5832 * factory.C (createInset): add "label" to the factory.
5834 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5835 string and do no more.
5837 2003-02-27 Angus Leeming <leeming@lyx.org>
5840 * LyXAction.C (init):
5841 * factory.C (createInset):
5842 * BufferView_pimpl.C (dispatch):
5843 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5845 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5847 * lyxfunc.C (dispatch):
5848 * text3.C (dispatch): pass name to params2string.
5850 2003-02-26 Angus Leeming <leeming@lyx.org>
5852 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5854 Rearrange the ~includes. Strip out the unnecessary ones.
5856 * factory.C (createInset): reformat.
5857 create new insets for the various LFUN_XYZ_APPLY lfuns.
5859 2003-02-26 John Levon <levon@movementarian.org>
5862 * lyxrow.C: add isParStart,isParEnd helpers
5864 * paragraph.h: make isInserted/DeletedText take refs
5866 * paragraph_funcs.h:
5867 * paragraph_funcs.C: remove #if 0'd code
5872 * text.C: use lyxrow helpers above.
5873 Move draw and paint routines to RowPainter.
5874 Make several methods use refs not pointers.
5875 Make backgroundColor() const.
5876 Add markChangeInDraw(), isInInset().
5877 Merge changeRegionCase into changeCase.
5878 Make workWidth() shouldn't-happen code into an Assert.
5881 * rowpainter.C: new class for painting a row.
5884 * vspace.C: make inPixels take a ref
5886 2003-02-26 Angus Leeming <leeming@lyx.org>
5888 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5891 2003-02-25 John Levon <levon@movementarian.org>
5893 * ispell.C: give the forked command a more accurate name
5895 2003-02-22 John Levon <levon@movementarian.org>
5898 * toc.C: make TocItem store an id not a Paragraph *
5901 2003-02-21 Angus Leeming <leeming@lyx.org>
5903 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5904 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5905 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5906 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5907 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5908 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5910 * BufferView_pimpl.C (dispatch):
5911 * LyXAction.C (init):
5912 * factory.C (createInset):
5913 * lyxfunc.C (getStatus, dispatch):
5914 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5916 2003-02-21 Angus Leeming <leeming@lyx.org>
5918 * BufferView_pimpl.C (MenuInsertLyXFile):
5919 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5920 * lyxfunc.C (menuNew, open, doImport):
5921 no longer pass a LyXView & to fileDlg.
5923 2003-02-21 Angus Leeming <leeming@lyx.org>
5925 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5926 * LyXAction.C: change, BIBKEY to BIBITEM.
5927 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5928 Change InsetBibKey to InsetBibitem.
5929 Change BIBKEY_CODE to BIBITEM_CODE.
5930 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5931 * factory.C: replace insetbib.h with insetbibitem.h.
5932 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5933 * paragraph.C: replace insetbib.h with insetbibitem.h.
5934 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5935 Change bibkey() to bibitem().
5936 * text.C: remove insetbib.h.
5937 * text2.C: replace insetbib.h with insetbibitem.h.
5938 change bibkey() to bibitem().
5939 * text3.C: remove insetbib.h.
5940 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5942 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5944 * lyxrc.C (output): enclose user email in quotes (in case there are
5947 2003-02-18 John Levon <levon@movementarian.org>
5949 * buffer.h: add std::
5951 2003-02-17 John Levon <levon@movementarian.org>
5957 * pspell.C: reworking. Especially in ispell, a large
5958 number of clean ups and bug fixes.
5960 * lyxfunc.C: fix revert to behave sensibly
5962 2003-02-17 André Pönitz <poenitz@gmx.net>
5965 * commandtags.h: new LFUN_INSERT_BIBKEY
5975 * paragraph_func.C: remove special bibkey handling
5977 2003-02-17 John Levon <levon@movementarian.org>
5979 * text.C (Delete): fix case where delete at the end of
5980 the very first paragraph would not merge the pars
5982 2003-02-17 John Levon <levon@movementarian.org>
5984 * lyxrow.C: fix lastPrintablePos()
5986 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5988 * bufferparams.C (writeLaTeX): add a std:here
5990 * buffer.C: and remove a using directive there
5992 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5994 * buffer.C (makeLaTeXFile): move the code that generates the
5997 * bufferparams.C (writeLaTeX): ... in this new method
5999 * LaTeXFeatures.C (getEncodingSet): make const
6000 (getLanguages): make const
6002 * MenuBackend.C (binding): returns the binding associated to this
6004 (add): sets the status of each item by calling getStatus. Adds
6006 (read): add support for OptSubMenu
6007 (expand): remove extra separator at the end of expanded menu
6009 2003-02-15 John Levon <levon@movementarian.org>
6012 * BufferView_pimpl.C:
6014 * bufferlist.C: remove pointless BufferStorage bloat. Remove
6015 inset code that had no actual effect. Remove unneeded status
6018 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6020 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6023 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
6025 * text.C (drawLengthMarker): also draw an arrow marker for
6026 symbolic lengths (medskip...)
6028 2003-02-14 John Levon <levon@movementarian.org>
6031 * tabular.C: better method names
6033 2003-02-14 John Levon <levon@movementarian.org>
6035 * BufferView_pimpl.C:
6040 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6041 it's a more accurate name. Remove some pointless uses.
6043 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6045 * text2.C (LyXText): change order of initilizers to shut off
6048 2003-02-14 John Levon <levon@movementarian.org>
6050 * buffer.C: use ParIterator for getParFromID()
6054 * paragraph_pimpl.h:
6055 * paragraph_pimpl.C: remove unused getParFromID()
6057 2003-02-14 John Levon <levon@movementarian.org>
6059 * buffer.C: remove some very old #if 0'd parse code
6061 2003-02-13 John Levon <levon@movementarian.org>
6065 * text2.C: move hfillExpansion(), numberOfSeparators(),
6066 rowLast(), rowLastPrintable(), numberofHfills(),
6067 numberOfLabelHfills() ...
6070 * lyxrow.C: ... to member functions here.
6075 * text.C: remove LyXText::beginningOfMainBody(), and call
6076 p->beginningOfMainBody() directly. Move the check for
6077 LABEL_MANUAL into the latter.
6084 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6090 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6091 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6093 2003-02-13 John Levon <levon@movementarian.org>
6095 * CutAndPaste.C: remove debug
6097 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6099 * paragraph.C (asString): remove two unused variables
6101 * lyxtextclass.C (readTitleType):
6103 (LyXTextClass): handle new members titletype_ and titlename_
6105 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6107 2003-02-09 John Levon <levon@movementarian.org>
6110 * buffer.C: replace hand-coded list with a map for the dep clean
6112 2003-02-08 John Levon <levon@movementarian.org>
6114 * LaTeX.C: consolidate code into showRunMessage() helper
6116 2003-02-08 John Levon <levon@movementarian.org>
6121 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6122 and pass the size in explicitly
6124 * BufferView_pimpl.h:
6125 * BufferView_pimpl.C:
6127 * BufferView.C: add getCurrentChange()
6129 * BufferView_pimpl.h:
6130 * BufferView_pimpl.C: handle change lfuns
6132 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6133 for changes. Mark pasted paragraphs as new.
6135 * support/lyxtime.h:
6136 * support/lyxtime.C:
6137 * DepTable.C: abstract time_t as lyx::time_type
6140 * LColor.C: add colours for new text, deleted text, changebars
6142 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6143 package use "usenames" option.
6147 * LyXAction.C: add change lfuns
6151 * author.C: author handling
6154 * buffer.C: add a per-buffer author list, with first entry as
6155 current author. Handle new .lyx tokens for change tracking. Output
6156 author list to .lyx file. Output dvipost stuff to .tex preamble.
6157 Bump lyx format to 222.
6160 * bufferlist.C: add setCurrentAuthor() to reset current author details
6164 * bufferparams.C: add param for tracking
6166 * bufferview_funcs.C: output change info in minibuffer
6170 * changes.C: add change-tracking structure
6173 * debug.C: add CHANGES debug flag
6176 * lyxfind.C: add code for finding the next change piece
6179 * lyxrc.C: add user_name and user_email
6182 * lyxrow.C: add a metric for the top of the text line
6185 * text.C: implement accept/rejectChange()
6188 * text.C: paint changebars. Paint new/deleted text in the chosen
6189 colours. Strike through deleted text.
6193 * paragraph_pimpl.h:
6194 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6195 in the current change to the insert functions. Rework erase to
6196 mark text as deleted, adding an eraseIntern() and a range-based
6197 erase(). Implement per-paragraph change lookup and
6200 * paragraph_funcs.C: Fixup paste for change tracking.
6202 * tabular.C: mark added row/columns as new.
6204 * text.C: fix rowLast() to never return -1. Don't allow
6205 spellchecking of deleted text. Track transpose changes. Don't
6206 allow paragraph break or merge where appropriate.
6208 * text2.C: leave cursor at end of selection after a cut.
6210 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6212 * text.C (getLengthMarkerHeight):
6213 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6214 visible on screen too.
6216 2003-02-07 John Levon <levon@movementarian.org>
6218 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6220 2003-02-05 Angus Leeming <leeming@lyx.org>
6222 * lyxserver.C (read_ready): revert my patch of 11 September last year
6223 as it sends PC cpu through the roof. Presumably this means that
6224 the lyxserver will no longer run on an Alpha...
6226 2003-01-30 Angus Leeming <leeming@lyx.org>
6228 * factory.C (createInset): create an InsetCommandParam of type "index"
6229 and use it to 'do the right thing'.
6231 * text2.C (getStringToIndex): ensure that cursor position is always
6232 reset to the reset_cursor position.
6234 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6236 * lyxfunc.C (getStatus): "buffer-export custom" should never be
6239 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
6243 * lyxfunc.C: Output messages with identical spelling, punctuation,
6246 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
6248 * MenuBackend.C (expandFormats): List only viewable export formats
6251 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6254 * lyxfunc.C (getStatus): Make sure that formats other than
6255 "fax" can also be disabled
6257 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6259 * text3.C (dispatch): put the lfuns that insert insets in 3
6260 groups, and call doInsertInset with appropriate arguments.
6261 (doInsertInset): new function, that creates an inset and inserts
6262 it according to some boolean parameters.
6264 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6266 * buffer.C (readFile): remember to pass on 'par' when calling
6267 readFile recursively.
6269 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6271 * MenuBackend.C (expandFormats): add "..." to import formats.
6273 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
6275 * paragraph.C (asString): Remove XForms RTL hacks.
6277 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
6278 * buffer.C: fix typo
6280 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6282 * Makefile.am (LIBS): delete var
6283 (lyx_LDADD): add @LIBS@ here instead.
6285 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
6287 * Clarify the meaning of "wheel mouse jump"
6289 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6291 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6294 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6296 * importer.C (Loaders): do not preallocate 3 elements in the
6297 vector, since one ends up with 6 elements otherwise
6299 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6301 * DepTable.C (write): write the file name as last element of the
6302 .dep file (because it may contain spaces)
6303 (read): read info in the right order
6305 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6307 * paragraph_pimpl.C (simpleTeXBlanks):
6308 (simpleTeXSpecialChars):
6309 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6311 * tabular.C (latex): add some missing case statements. Reindent.
6313 * MenuBackend.C (expandToc): remove unused variable.
6315 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
6324 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6327 2003-01-05 John Levon <levon@movementarian.org>
6330 * BufferView.C: add getEncoding()
6333 * kbsequence.C: do not store last keypress
6336 * lyxfunc.C: store last keypress here instead. Pass encoding
6339 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6341 * lyx_main.C (init): remove annoying error message when following
6342 symbolic links (bug #780)
6344 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6346 * text.C (insertChar):
6347 * lyxrc.C (getDescription): remove extra spaces
6349 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6351 * lyxrc.C (getDescription): remove extra spaces
6353 2002-12-20 John Levon <levon@movementarian.org>
6355 * text3.C: hack fix for page up/down across tall rows
6357 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6359 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6362 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6364 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6365 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6366 thesaurus is not compiled in
6368 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
6370 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
6372 2002-12-16 Angus Leeming <leeming@lyx.org>
6375 * lyx_main.C (init): remove override_x_deadkeys stuff.
6377 2002-12-12 John Levon <levon@movementarian.org>
6379 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6380 insert. Only remove shift modifier under strict
6383 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6385 * MenuBackend.C (expandToc): fix crash.
6387 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6389 * MenuBackend.C (expandToc): gettext on float names.
6391 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6393 * lyxlength.[Ch]: set default unit to UNIT_NONE,
6394 implement bool empty() [bug 490]
6396 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6398 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6400 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6402 * several files: ws changes
6404 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6406 * text2.C (setCounter): clean up a bit, use boost.format.
6407 (updateCounters): initialize par upon declaration.
6409 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6410 if the layout exists. We do not just store the layout any more.
6411 (SwitchLayoutsBetweenClasses): use boost.format
6413 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6415 * converter.C (convert): if from and to files are the same, use a
6416 temporary files as intermediary
6418 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6421 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6423 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
6425 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6427 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6429 * tabular.C (asciiPrintCell): use string(size, char) instead of
6432 * sgml.C (openTag): fix order of arguments to string constructor
6435 * lyxfunc.C (dispatch): use boost.format
6437 * lots of files: change "c" -> 'c'
6439 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
6441 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6443 2002-11-25 Angus Leeming <leeming@lyx.org>
6445 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6447 * lyx_main.C (init): compile fix.
6449 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6451 * lyx_cb.C (start): boost.formatify
6452 do not include <iostream>
6454 * lengthcommon.C: ws only
6456 * boost-inst.C,BoostFormat.h: add more explict instantations
6458 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6460 * lots of files: handle USE_BOOST_FORMAT
6462 2002-11-21 John Levon <levon@movementarian.org>
6464 * pspell.C: fix compile
6466 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6468 * lyxfunc.C (dispatch): use boost::format
6472 * lyxfont.C (stateText): use boost::format
6474 * lyx_main.C (LyX): use boost::format
6476 (queryUserLyXDir): ditto
6479 (typedef boost::function): use the recommened syntax.
6481 * importer.C (Import): use boost::format
6483 * debug.C (showLevel): use boost::format
6485 * converter.C (view): use boost::format
6490 * bufferview_funcs.C (currentState): use boost::format
6492 * bufferlist.C (emergencyWrite): use boost::format
6494 * buffer.C (readLyXformat2): use boost::format
6495 (parseSingleLyXformat2Token): ditto
6497 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6499 * LaTeX.C (run): use boost::format
6501 * Chktex.C (scanLogFile): use boost::format
6503 * BufferView_pimpl.C (savePosition): use boost::format
6504 (restorePosition): ditto
6505 (MenuInsertLyXFile): ditto
6507 * BoostFormat.h: help file for explicit instation.
6509 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
6511 * tabular.C (latex): Support for block alignment in fixed width
6514 2002-11-17 John Levon <levon@movementarian.org>
6516 * BufferView_pimpl.C:
6518 * lyxfunc.C: split filedialog into open/save
6520 2002-11-08 Juergen Vigna <jug@sad.it>
6522 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6523 by my last patch (hopefully).
6525 2002-11-08 John Levon <levon@movementarian.org>
6534 * toc.C: ParConstIterator, and use it (from Lars)
6536 2002-11-07 Ben Stanley <bds02@uow.edu.au>
6538 * lyxtextclass.[Ch]: revise and add doxygen comments
6540 2002-11-07 John Levon <levon@movementarian.org>
6542 * text.C: fix progress value for spellchecker
6544 * toc.C: fix navigate menu for insetwrap inside minipage
6546 * paragraph_funcs.C: added FIXME for suspect code
6548 2002-11-07 John Levon <levon@movementarian.org>
6550 * BufferView_pimpl.C: fix redrawing of insets
6553 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6555 * text2.C (updateCounters): fix bug 668
6557 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
6559 * text3.C (dispatch): Do not make the buffer dirty when moving the
6562 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6564 * vc-backend.C: STRCONV
6567 * text2.C (setCounter): STRCONV
6569 * paragraph.C (asString): STRCONV
6571 * lyxlength.C (asString): STRCONV
6572 (asLatexString): ditto
6574 * lyxgluelength.C (asString): STRCONV
6575 (asLatexString): ditto
6577 * lyxfunc.C (dispatch): STRCONV
6580 * lyxfont.C (stateText): STRCONV
6582 * importer.C (Import): STRCONV
6584 * counters.C (labelItem): STRCONV
6585 (numberLabel): ditto
6586 (numberLabel): remove unused ostringstream o
6591 * bufferview_funcs.C (currentState): STRCONV
6593 * buffer.C (readFile): STRCONV
6594 (asciiParagraph): ditto
6595 (makeLaTeXFile): ditto
6597 * Spacing.C (writeEnvirBegin): STRCONV
6599 * LaTeXFeatures.C (getLanguages): STRCONV
6600 (getPackages): ditto
6602 (getBabelOptions): ditto
6603 (getTClassPreamble): ditto
6604 (getLyXSGMLEntities): ditto
6605 (getIncludedFiles): ditto
6609 (scanAuxFile): ditto
6612 * LString.h: add the STRCONV macros
6614 * BufferView_pimpl.C (savePosition): STRCONV
6615 (restorePosition): ditto
6616 (MenuInsertLyXFile): ditto
6618 * vc-backend.C (scanMaster): change from submatch[...] to
6621 * funcrequest.C: include config.h
6623 * factory.C: include config.h
6625 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6627 * box.C: include config.h
6629 * LaTeX.C (scanAuxFile): change from submatch[...] to
6633 2002-10-25 Angus Leeming <leeming@lyx.org>
6635 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6637 * ispell.[Ch] (setError): new method.
6638 * ispell.C (c-tor): move out child process into new class LaunchIspell.
6639 Use setError() insetead of goto END.
6641 * lyx_cb.C (AutoSave): move out child process into new class
6644 2002-10-30 John Levon <levon@movementarian.org>
6646 * text3.C: make start appendix undoable
6648 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
6650 * lyxlength.C (inPixels): Fix returned value.
6652 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6655 2002-10-24 Angus Leeming <leeming@lyx.org>
6657 * lyxgluelength.h: no need to forward declare BufferParams
6658 or BufferView, so don't.
6660 2002-10-21 John Levon <levon@movementarian.org>
6662 * BufferView.C: menuUndo ->undo, redo
6664 * BufferView.h: document, remove dead, make some methods private
6666 * paragraph_funcs.h:
6667 * paragraph_funcs.C:
6668 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6673 * sgml.C: move sgml open/close tag into sgml.C
6675 * bufferview_funcs.h: unused prototype
6678 * lyxfunc.C: remove unused
6681 * text.C: remove unused
6683 2002-10-21 John Levon <levon@movementarian.org>
6687 * BufferView_pimpl.h:
6688 * BufferView_pimpl.C: fix mouse wheel handling based on
6689 patch from Darren Freeman
6691 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
6693 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6695 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
6697 * lyxlength.C (inPixels): Fix hanfling of negative length.
6698 Fix LyXLength::MU case.
6700 2002-10-16 John Levon <levon@movementarian.org>
6702 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6704 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6706 * converter.C (view): add support for $$i (file name) and $$p
6707 (file path) for the viewer command. If $$i is not specified, then
6708 it is appended to the command (for compatibility with old syntax)
6710 2002-10-14 Juergen Vigna <jug@sad.it>
6712 * undo_funcs.C (textHandleUndo): alter the order in which the
6713 new undopar is added to the LyXText, as we have to set first
6714 the right prev/next and then add it as otherwise the rebuild of
6715 LyXText is not correct. Also reset the cursor to the right paragraph,
6716 with this IMO we could remove the hack in "redoParagraphs()".
6718 2002-10-09 Angus Leeming <leeming@lyx.org>
6720 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6721 to turn off an optimisation if a new inset is to be inserted.
6723 2002-10-11 André Pönitz <poenitz@gmx.net>
6725 * lyxtext.h: make some functions public to allow access
6726 from inset/lyxtext for handling LFUN_PRIOR/NEXT
6728 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6730 * text3.C (dispatch): when changing layout, avoid an infinite loop
6733 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6735 * lyxrc.C (read): treat a viewer or converter command of "none" as
6738 * MenuBackend.C (expandFormats): for an update, also allow the
6739 formats that are not viewable
6741 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6742 script if it is newer than the lyxrc.defaults in user directory
6744 2002-10-07 André Pönitz <poenitz@gmx.net>
6746 * text.C: Vitaly Lipatov's small i18n fix
6748 2002-09-25 Angus Leeming <leeming@lyx.org>
6750 * ispell.h: doxygen fix.
6752 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
6754 * buffer.h (readFile): Add a new argument to the method, to allow
6755 reading of old-format templates.
6757 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
6759 * toc.C (getTocList): Get TOC from InsetWrap.
6761 2002-09-16 John Levon <levon@movementarian.org>
6763 * lyxfunc.C: check tabular for cut/copy too
6765 2002-09-12 John Levon <levon@movementarian.org>
6770 * factory.C: add header
6772 * paragraph_funcs.h:
6773 * paragraph_funcs.C: cleanup
6775 2002-09-11 John Levon <levon@movementarian.org>
6777 * PrinterParams.h: odd/even default to true
6779 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
6781 * PrinterParams.h: update printer parameters for new xforms dialog
6783 2002-09-11 Angus Leeming <leeming@lyx.org>
6785 * lyxserver.C (read_ready): re-write to make it more transparent
6786 and to make it work in coherent fashion under Tru64 Unix.
6788 2002-09-11 André Pönitz <poenitz@gmx.net>
6792 * text3.C: implement LFUN_WORDSEL
6794 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6796 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6797 make floatlist_ a boost::shared_ptr<FloatList>
6799 * lyxtextclass.C: include FloatList.h
6800 (LyXTextClass): initialize floatlist_
6801 (TextClassTags): add TC_NOFLOAT
6802 (Read): match "nofloat" to TC_NOFLOAT and use it.
6803 (readFloat): modify call to floatlist_
6807 * FloatList.[Ch] (FloatList): remove commented out float
6809 (erase): new function
6811 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6813 * MenuBackend.C (expandToc): fix crash when there is no document
6816 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
6818 * many files: Add insetwrap.
6820 2002-09-09 John Levon <levon@movementarian.org>
6822 * text2.C: remove confusing and awkward depth wraparound
6824 2002-09-09 John Levon <levon@movementarian.org>
6826 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6829 * buffer.C: remove getIncludeonlyList()
6832 * lyxfunc.C: remove headers
6834 2002-09-09 Juergen Vigna <jug@sad.it>
6836 * text.C (getColumnNearX): fix form Michael this is most
6837 probably a cut&paste bug.
6839 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6841 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6843 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6844 references, ws changes.
6846 * text2.C (init): update counters after init
6847 (insertParagraph): no need to set counter on idividual paragraphs.
6848 (setCounter): access the counters object in the textclass object
6849 on in the buffer object.
6850 (updateCounters): ditto
6852 * lyxtextclass.C: include counters.h, add variable ctrs_ as
6853 shared_ptr<Counters> to avoid loading counters.h in all
6855 (LyXTextClass): initialize ctrs_
6856 (TextClassTags): add TC_COUNTER, and ...
6857 (Read): use it here.
6858 (CounterTags): new tags
6859 (readCounter): new function
6860 (counters): new funtion
6861 (defaultLayoutName): return a const reference
6863 * counters.C (Counters): remove contructor
6864 (newCounter): remove a couple of unneeded statements.
6865 (newCounter): simplify a bit.
6866 (numberLabel): some small formatting changes.
6868 * buffer.[Ch]: remove all traces of counters, move the Counters
6869 object to the LyXTextClass.
6871 2002-09-06 Alain Castera <castera@in2p3.fr>
6873 * tabular.C: uses \tabularnewline; uses >{...} construct from array
6874 package to set the horizontal alignment on fixed width columns.
6877 * lyx_sty.h: added tabularnewline macro def.
6879 * LaTeXFeatures.C: added NeedTabularnewline macro feature
6881 2002-09-06 John Levon <levon@movementarian.org>
6883 * LyXAction.C: tooltips for sub/superscript
6885 * MenuBackend.C: a bit more verbose
6887 * lyxfunc.C: tiny clean
6889 * undo_funcs.C: document undo_frozen
6891 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6893 * counters.C (Counters): add missing algorithm counter.
6895 * text2.C (setCounter): lookup the counter with layouts latexname
6896 instead of by section number.
6897 (setCounter): use a hackish way to lookup the correct enum
6899 a float name->type change
6900 reset enum couners with counter name directly instead of depth value.
6902 * counters.C (Counters): remove the push_backs, change to use the
6903 float type not the float name.
6904 (labelItem): remove unused string, float name->type change
6906 * counters.h: don't include vector, loose the enums and sects vectors
6908 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6910 * lyxtextclass.C (TextClassTags): add TC_FLOAT
6911 (Read): add float->TC_FLOAT to textclassTags
6912 (Read): and handle it in the switch
6913 (readFloat): new function
6915 * FloatList.C (FloatList): comment out the hardcoded float
6918 * lyxlayout.h: ws change.
6920 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
6922 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6924 2002-09-03 Angus Leeming <leeming@lyx.org>
6926 * BufferView_pimpl.h: qualified name is not allowed in member
6927 declaration: WorkArea & Pimpl::workarea() const;
6929 * factory.C: added using std::endl directive.
6931 * text3.C: added using std::find and std::vector directives.
6933 2002-08-29 André Pönitz <poenitz@gmx.net>
6936 * text2.C: remove unused member number_of_rows
6939 * BufferView2.C: remove file, move contents to...
6940 * BufferView.C: ... here
6942 * BufferView_pimpl.C:
6943 * factory.C: move more inset creation to factory
6945 * vspace.C: avoid direct usage of LyXText, ws changes
6948 don't provide direct access to WorkArea, use two simple
6949 acessors haveSelction() and workHeight() instead
6952 2002-08-29 John Levon <levon@movementarian.org>
6954 * BufferView_pimpl.C (dispatch): do not continue when
6957 2002-08-28 André Pönitz <poenitz@gmx.net>
6959 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6962 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6964 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
6966 * buffer.C: increment LYX_FORMAT to 221
6968 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6969 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6971 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6973 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6975 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6977 * factory.C (createInset): use LyXTextClass::floats
6979 * MenuBackend.C (expandFloatListInsert):
6980 (expandFloatInsert):
6983 * text2.C (setCounter):
6985 * LaTeXFeatures.C (useFloat):
6986 (getFloatDefinitions):
6988 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6990 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6991 floatlist_, with accessor floats().
6993 * FloatList.h: remove global FloatList
6995 2002-08-26 André Pönitz <poenitz@gmx.net>
6997 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7001 * BufferView_pimpl.C:
7002 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7004 2002-08-25 John Levon <levon@movementarian.org>
7006 * LyXAction.C: fix margin note description
7008 2002-08-24 John Levon <levon@movementarian.org>
7012 * bufferview_funcs.C:
7014 * undo_funcs.C: cleanups
7016 * lyxfunc.C: disable CUT/COPY when no selection
7018 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
7020 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7021 in "enum UNIT"; e.g. PTW for Percent of TextWidth
7023 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7024 Add backward compatibility to "mono", "gray" and "no".
7026 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
7028 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7029 (and file_format >= 200).
7031 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7033 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7035 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7037 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7039 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
7041 * BufferView_pimpl.C:
7048 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7049 inset and code to make it work with the paragraph code. The inset
7050 can be anywhere in the paragraph, but will only do the expected
7051 thing in LaTeX if the layout file contains the parameter line
7053 (or more generally, a nonzero value) for that layout.
7055 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7057 * paragraph.h: remove the declaration of undefined counters class
7060 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
7062 * text2.C (setCounter): fixed enumeration mis-count as reported by
7063 Dr. Richard Hawkins.
7065 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7067 * paragraph_funcs.h: remove some unneeded includes
7069 * text.C (backspace): pasteParagraph now in global scipe
7071 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7072 (pasteSelection): ditto
7074 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7075 * paragraph_funcs.C (pasteParagraph): ... here
7077 2002-08-20 André Pönitz <poenitz@gmx.net>
7079 * commandtags.h: new LFUNs for swapping/copying table row/colums
7082 * lyxfunc.C: support for new lfuns
7084 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7087 * buffer.[Ch]: remove NO_COMPABILITY stuff
7089 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
7091 * boost.C (throw_exception): new file, with helper function for
7092 boost compiled without exceptions.
7097 * ParameterStruct.h:
7098 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7100 * bufferlist.C (emergencyWriteAll): use boost bind
7102 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7104 * text.C: include paragraph_funcs.h
7105 (breakParagraph): breakParagraph is now in global scope
7107 * paragraph_funcs.[Ch]: new files
7109 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7112 * buffer.C: include paragraph_funcs.h
7113 (insertStringAsLines): breakParagraph is now in global scope
7115 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7118 * CutAndPaste.C: include paragraph_funcs.h
7119 (cutSelection): breakParagraphConservative is now in global scope
7120 (pasteSelection): ditto
7122 * buffer.h: declare oprator== and operator!= for
7123 Buffer::inset_iterator
7125 * bufferlist.C (emergencyWrite): don't use fmt(...)
7127 * text3.C: add using std::endl
7129 * BufferView.C (moveCursorUpdate): remove default arg
7131 2002-08-20 André Pönitz <poenitz@gmx.net>
7133 * buffer.[Ch]: move inline functions to .C
7136 * BufferView_pimpl.C:
7138 * buffer.[Ch]: use improved inset_iterator
7141 * paragraph.[Ch]: write one paragraph at a time
7143 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7145 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7146 style if style is not specified.
7148 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7150 * text2.C (setCounter): when searching for right label for a
7151 caption, make sure to recurse to parent insets (so that a caption
7152 in a minipage in a figure float works) (bug #568)
7154 2002-08-20 André Pönitz <poenitz@gmx.net>
7156 * text3.C: new file for LyXText::dispatch() and helpers
7158 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7160 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7162 2002-08-19 André Pönitz <poenitz@gmx.net>
7165 * text.C: new LyXText::dispatch()
7167 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7169 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7171 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7173 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7176 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7178 * Makefile.am: use $(variables) instead of @substitutions@
7180 2002-08-15 André Pönitz <poenitz@gmx.net>
7183 * BufferView_pimpl.C: streamlining mathed <-> outer world
7187 * LyXAction.C: remove unused LFUN_MATH
7189 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7191 * paragraph.[Ch]: add some NO_NEXT ifdefs.
7193 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7195 * paragraph.C (Paragraph): reformat a bit
7196 (cutIntoMinibuffer): use builtin InsetList function instad of
7200 * buffer.C: include boost/bind.hpp, add using std::for_each
7201 (writeFileAscii): use ParagraphList iterators
7202 (validate): use for_each for validate traversal of paragraphs
7203 (getBibkeyList): use ParagraphList iterators
7204 (resizeInsets): use for_each to resizeInsetsLyXText for all
7206 (getParFromID): use ParagraphList iterators
7208 * BufferView2.C (lockInset): use paragraph list and iterators
7210 2002-08-14 John Levon <levon@movementarian.org>
7212 * lyxserver.C: remove spurious xforms include
7214 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7216 * lyxfunc.C (getStatus): disable math-extern outside of math mode
7218 2002-08-13 André Pönitz <poenitz@gmx.net>
7221 * lyxfunc.C: further cleaning
7223 2002-08-13 André Pönitz <poenitz@gmx.net>
7225 * funcrequest.h: new constructor
7227 * funcrequest.C: move stuff here from .h
7230 * BufferView_pimpl.C:
7233 * lyxfunc.C: subsequent changes
7235 * lyxfunc.h: new view() member function
7237 * lyxfunc.C: subsequent changes
7239 2002-08-13 Angus Leeming <leeming@lyx.org>
7242 * BufferView_pimpl.C:
7250 changes due to the changed LyXView interface that now returns references
7251 to member variables not pointers.
7253 2002-08-13 Angus Leeming <leeming@lyx.org>
7255 * WordLangTuple (word, lang_code): return references to strings,
7260 * lyxtext.h: forward-declare WordLangTuple.
7265 * text.C: #include "WordLangTuple.h".
7268 * text.C: (selectNextWordToSpellcheck): constify return type.
7270 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
7276 * paragraph_pimpl.h:
7279 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7281 Made updateCounter always count from start of buffer, and removed
7282 second argument (par).
7283 Reverted floats number display to '#'. Perhaps I'll try again when the
7284 code base is sanitized a bit.
7286 2002-08-12 Angus Leeming <leeming@lyx.org>
7288 * buffer.[Ch] (getLabelList): constify.
7290 2002-08-07 André Pönitz <poenitz@gmx.net>
7292 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7294 * funcrequest.h: extension to keep mouse (x,y) position
7296 2002-08-12 Juergen Vigna <jug@sad.it>
7298 * BufferView2.C (insertErrors): forbid undo when inserting error
7301 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7303 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7305 * ParagraphList.[Ch]: new files
7307 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7309 * BufferView2.C (lockInset): ParagraphList changes
7312 * bufferlist.C: ditto
7316 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7318 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7319 unused class variable counter_,
7321 * paragraph.[Ch] (getFirstCounter): delete unused function
7323 * counters.C: include LAssert.h
7324 (reset): add a new function with no arg, change other version to
7325 not have def. arg and to not allow empty arg.
7327 * text2.C (setCounter): remove empty arg from call to Counters::reset
7329 2002-08-11 John Levon <levon@movementarian.org>
7331 * Makefile.am: add WordLangTuple.h
7333 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7335 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7336 lyxfunc.C lyxlex_pimpl.C: ws changes only.
7338 * insets/insettext.C: InsetList changes
7340 * graphics/GraphicsSupport.C (operator()): InsetList changes
7342 * toc.C (getTocList): InsetList changes
7344 * paragraph_pimpl.[Ch]: InsetList changes
7346 * paragraph.[Ch]: InsetList changes
7348 * buffer.C (inset_iterator): InsetList changes
7349 (setParagraph): ditto
7350 * buffer.h (inset_iterator): ditto
7351 * iterators.C (operator++): ditto
7352 * iterators.h: ditto
7354 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7356 * InsetList.[Ch]: new files, most InsetList handling moved out of
7359 * BufferView2.C (removeAutoInsets): InsetList changes
7361 (ChangeInsets): ditto
7363 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7365 * paragraph_pimpl.h (empty): new function
7367 * paragraph.[Ch] (empty): new function
7369 * other files: use the new Paragraph::empty function
7371 2002-08-09 John Levon <levon@movementarian.org>
7373 * lyxtext.h: remove unused refresh_height
7375 2002-08-09 John Levon <levon@movementarian.org>
7382 * paragraph.C: move sgml char escaping out of paragraph
7385 * paragraph.C: remove id setter
7389 * paragraph_pimpl.C: remove dead tex_code_break_column
7391 * bufferview_funcs.C: small cleanup
7393 * lyxfunc.C: remove dead proto
7395 * lyxtext.h: make some stuff private. Remove some dead stuff.
7397 * lyxgluelength.C: make as[LyX]String() readable
7399 2002-08-08 John Levon <levon@movementarian.org>
7404 * ToolbarDefaults.C:
7407 * toc.C: lyxaction cleanup
7409 2002-08-08 John Levon <levon@movementarian.org>
7411 * BufferView2.C: small cleanup
7414 * lyxfind.C: move unnecessary header into the .C
7416 2002-08-08 John Levon <levon@movementarian.org>
7418 * funcrequest.h: just tedious nonsense
7421 * lyx_main.C: cleanups
7424 * vspace.C: remove dead header lyx_main.h
7426 2002-08-07 Angus Leeming <leeming@lyx.org>
7429 * paragraph_pimpl.h:
7430 Forward declare class Counters in paragraph.h by moving the ctrs member
7431 variable into Paragraph::Pimpl.
7432 (counters): new method, returning a reference to pimpl_->ctrs.
7434 * text2.C: ensuing changes.
7436 2002-08-07 John Levon <levon@movementarian.org>
7438 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7440 * BufferView_pimpl.C: announce X selection on double/triple
7443 * lyx_main.C: use correct bool in batch dispatch
7445 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7447 2002-08-07 André Pönitz <poenitz@gmx.net>
7449 * funcrequest.h: new class to wrap a kb_action and its argument
7452 * BufferView_pimpl[Ch]:
7456 * lyxrc.C: subsequent changes
7459 2002-08-07 John Levon <levon@movementarian.org>
7461 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7462 document options change.
7464 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7469 * makefile.am: move counters functionality over from
7470 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7472 2002-08-06 John Levon <levon@movementarian.org>
7474 * WordLangTuple.h: new file for word + language code tuple
7485 * BufferView2.C: use WordLangTuple
7488 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7490 2002-08-06 John Levon <levon@movementarian.org>
7492 * lyx_main.C: fix cmdline batch handling
7494 2002-08-06 André Pönitz <poenitz@gmx.net>
7496 * lyxrc.C: set default for show_banner to true
7498 2002-08-06 John Levon <levon@movementarian.org>
7500 * pspell.C: fix a crash, and allow new aspell to work
7502 2002-08-06 John Levon <levon@movementarian.org>
7505 * kbmap.C: small cleanup
7508 * vspace.C: add const
7510 2002-08-05 John Levon <levon@movementarian.org>
7512 * LyXAction.C: back to tabular-insert
7514 2002-08-04 John Levon <levon@movementarian.org>
7517 * BufferView.C: cosmetic change
7519 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7529 * BufferView2.C: purge all "Lyx" not "LyX" strings
7532 * lyxcursor.C: attempt to add some documentation
7537 * ToolbarDefaults.C:
7538 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7539 merge with LFUN_TABULAR_INSERT
7546 * pspell.C: split up i/pspell implementations into separate
7547 files, many cleanups
7549 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7551 * text2.C: some cleanup
7553 * lyxfunc.C: don't check for isp_command == "none" any more, it
7554 didn't make any sense
7556 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7561 * makefile.am: move counters functionality over
7562 from text2.C/paragraph.[Ch] to counters.[Ch], and
7564 2002-08-02 John Levon <levon@movementarian.org>
7566 * buffer.C: s/lyxconvert/lyx2lyx/
7568 2002-08-02 Angus Leeming <leeming@lyx.org>
7570 * lyxlex.C: revert John's change as it breaks reading of the user
7573 2002-08-02 Angus Leeming <leeming@lyx.org>
7575 * importer.C (Import):
7576 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7577 changes due to LyXView::view() now returning a boost::shared_ptr.
7579 2002-08-02 John Levon <levon@movementarian.org>
7581 * lyxlex.C: small cleanup
7583 2002-08-02 John Levon <levon@movementarian.org>
7585 * text2.C (status): small cleanup, no logic change
7587 2002-08-01 John Levon <levon@movementarian.org>
7590 * buffer.C (writeFile): don't output alerts, caller
7594 * lyx_cb.C: from above
7596 * lyxfunc.C: allow to open non-existent files
7598 2002-07-31 John Levon <levon@movementarian.org>
7600 * lyxserver.C: don't let incidental errors get
7603 2002-07-30 John Levon <levon@movementarian.org>
7605 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7607 2002-07-30 John Levon <levon@movementarian.org>
7610 * lyxserver.C: remove I/O callback too
7612 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7614 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7617 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7619 * many files: strip,frontStrip -> trim,ltrim,rtrim
7621 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7623 * PrinterParams.h: remove extern containsOnly, and include
7624 support/lstrings.h instead.
7626 * LaTeX.C (scanAuxFile): modify because of strip changes
7628 * buffer.C (makeLaTeXFile): ditto
7629 * bufferparams.C (writeFile): ditt
7630 * lyxfont.C (stateText): ditto
7631 * lyxserver.C (read_ready): ditto
7632 * vc-backend.C (scanMaster): ditto
7634 * BufferView_pimpl.h: ws changes
7636 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7638 2002-07-26 André Pönitz <poenitz@gmx.net>
7640 * kb_sequence.C: remove unnedred usings
7642 2002-07-26 Juergen Vigna <jug@sad.it>
7644 * lyxfind.C (LyXReplace): we have to check better if the returned
7645 text is not of theLockingInset()->getLockingInset().
7647 2002-07-25 Juergen Vigna <jug@sad.it>
7649 * lyxfind.C (LyXReplace): don't replace if we don't get the
7652 * undo_funcs.C (createUndo): remove debugging code.
7654 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
7656 * buffer.C (parseSingleLyXformat2Token): Use default placement
7657 when reading old floats.
7659 * FloatList.C (FloatList): Change the default placement of figure
7660 and tables to "tbp".
7662 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
7664 * MenuBackend.C: using std::max
7666 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7668 * MenuBackend.C (expandToc):
7669 (expandToc2): code moved from xforms menu frontend. It is now
7670 generic and TOCs are transparent to menu frontends.
7672 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7674 * toc.C (getTocList): protect against buf=0
7676 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7677 Menu as first parameter. Now, this calls itself recursively to
7678 expand a whole tree (this will be useful for TOC handling)
7679 (expandFloatInsert): remove 'wide' version of floats
7681 * MenuBackend.h (submenuname): returns the name of the submenu.
7682 (submenu): returns the submenu itself, provided it has been
7683 created by MenuBackend::expand
7685 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7687 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7688 insets which have noFontChange == true. (bug #172)
7690 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7692 * BufferView_pimpl.C: add connection objects and use them...
7695 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7697 * MenuBackend.C (expandLastfiles):
7700 (expandFloatListInsert):
7701 (expandFloatInsert):
7702 (expand): split expand in parts
7704 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7706 * lyx_gui.C: use lyx_gui::exit()
7708 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7710 * LyXAction.C: show the failing pseudo action
7712 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
7714 * buffer.C (readFile): Run the lyxconvert script in order to read
7717 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7721 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7723 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7727 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7729 2002-07-22 Herbert Voss <voss@lyx.org>
7732 * lyxlength.[Ch]: add support for the vertical lengths
7734 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
7736 * toc.[Ch]: std:: fixes
7738 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7740 * lyxrc.C: do not include lyx_main.h
7742 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7748 * BufferView2.C: include "lyxlex.h"
7751 * bufferparams.h: do not #include "lyxlex.h"
7753 * lyxtextclasslist.C (Add): remove method
7754 (classlist): renamed to classlist_
7756 * paragraph_pimpl.C:
7760 * bufferview_funcs.C:
7765 * toc.C (getTocList): use BufferParams::getLyXTextClass
7767 * toc.C (getTocList): use InsetFloat::addToToc
7769 * toc.[Ch]: new files, containing helper functions to handle table
7772 * lyxfunc.C (dispatch): no need to remove spaces around command
7774 (getStatus): handle LFUN_SEQUENCE by returning the status of the
7775 first command of the sequence; it is not very clever, but I do not
7776 have a better idea, actually
7778 * LyXAction.C (LookupFunc): make sure to remove space at the
7779 beginning and end of the command
7781 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7783 * MenuBackend.C (getMenubar): new method: return the menubar of
7785 (read): treat differently reading of menu and menubar (in
7786 particular, the menubar has no name now)
7787 (Menu::menubar): remove
7789 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7792 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7794 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7795 a bibitem inset in a RTL paragraph.
7797 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
7799 * paragraph_pimpl.C: constify
7801 * BufferView_pimpl.C:
7803 * lyxfunc.C: fix dispatch in a nicer way
7805 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7807 * lyxfunc.C (dispatch):
7808 * BufferView_pimpl.C:
7809 * BufferView_pimpl.h:
7811 * BufferView.h: rename Dispatch() to dispatch()
7813 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7815 * lyxlayout.C (Read): honor DependsOn tag
7817 * lyxlayout.[Ch] (depends_on): new method
7819 * version.C.in: update lyx_docversion
7821 * LaTeXFeatures.C (getMacros): only define \LyX when needed
7823 * paragraph.C (validate): remove from here...
7824 * paragraph_pimpl.C (validate): ... and move here
7825 (isTextAt): make it const
7827 * buffer.C (getLists): ws cleanup
7829 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7831 * language.C (read): Use iso8859-1 encoding in latex_lang
7832 (this prevents LyX from crashing when using iso10646-1 encoding).
7834 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7836 * text2.C (toggleInset): if cursor is inside an inset, close the
7837 inset and leave cursor _after_ it
7839 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7841 * lyxfunc.C: move minibuffer completion handling out of here
7843 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7845 * BufferView_pimpl.C:
7846 * LaTeX.C: fix dispatch calls
7848 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
7850 * text.C (drawChars): Fix Arabic text rendering.
7852 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
7856 * lyxfunc.C: remove message-push/pop
7860 * lyxfunc.C: rationalise some code by removing verboseDispatch
7861 in favour of a bool argument to dispatch()
7863 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7865 * lyx_main.C (init): make sure to read symlinks as absolute paths
7867 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7870 * lyxfunc.C: no need for commandshortcut to be a member
7872 2002-07-15 André Pönitz <poenitz@gmx.net>
7874 * converter.C: add support for $$s (scripts from lib/scripts dir)
7875 * lyx_main.C: white space
7877 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7881 * lyxrc.C: remove second exit confirmation
7883 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7888 * BufferView_pimpl.h:
7889 * BufferView_pimpl.C:
7890 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7892 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7894 * MenuBackend.C (expand): add numeric shortcuts to document menu
7896 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7898 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7900 * lyxfont.C (setLyXFamily):
7907 * buffer.C (asciiParagraph): use ascii_lowercase
7909 2002-07-15 Mike Fabian <mfabian@suse.de>
7911 * lyxlex_pimpl.C (search_kw):
7912 * lyxlex.C (getLongString):
7913 * converter.h (operator<):
7914 * converter.C (operator<):
7915 * buffer.C (parseSingleLyXformat2Token):
7917 * ToolbarDefaults.C (read):
7918 * MenuBackend.C (checkShortcuts):
7920 * LColor.C (getFromGUIName):
7921 (getFromLyXName): use the compare_ascii_no_case instead of
7922 compare_no_case, because in turkish, 'i' is not the lowercase
7923 version of 'I', and thus turkish locale breaks parsing of tags.
7925 2002-07-16 Angus Leeming <leeming@lyx.org>
7927 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7928 now takes a Buffer const & argument.
7930 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
7932 * BufferView.C (resize): check there's a buffer to resize
7934 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
7936 * lyxfunc.C: remove dead code
7939 * lyxserver.C: use lyx_guii::set_read_callback
7941 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
7943 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7944 an inset in a RTL paragraph.
7946 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7948 * lyxfunc.C: repaint after a font size update
7950 2002-07-15 André Pönitz <poenitz@gmx.net>
7952 * lyxlength.C: inBP should be able to return negative values
7954 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7956 * lyxfunc.C: use lyx_gui::update_fonts()
7958 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7960 * lyxfunc.C: use lyx_gui::update_color()
7962 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7968 * lyxrc.C: remove file->new asks for name option, and let
7969 buffer-new take an argument
7971 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7973 * BufferView_pimpl.C: remove unneeded extra repaint()
7975 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
7977 * LyXAction.C: allow command-sequence with NoBuffer
7979 * lyxfunc.C: don't insist on trailing ';' for command-sequence
7981 2002-07-10 Angus Leeming <leeming@lyx.org>
7983 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7985 2002-07-09 Angus Leeming <leeming@lyx.org>
7987 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7989 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7991 * lengthcommon.h: whitespace
7993 * lyxfunc.C: update scrollbar after goto paragraph
7995 * lyxtext.h: factor out page break drawing, and fix it so
7996 page break/added space paints as selected nicely
7998 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8000 * BufferView_pimpl.C: add FIXMEs, clean up a little
8002 2002-07-09 André Pönitz <poenitz@gmx.net>
8004 * lyxfont.[Ch]: support for wasy symbols
8006 2002-07-08 André Pönitz <poenitz@gmx.net>
8008 * BufferView_pimpl.C: apply John's patch for #93.
8010 2002-07-05 Angus Leeming <leeming@lyx.org>
8012 * BufferView_pimpl.C (buffer): generate previews if desired.
8014 * LColor.h: add "preview" to the color enum.
8016 * LColor.C (LColor): add a corresponding entry to the items array.
8018 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8021 2002-07-05 Angus Leeming <leeming@lyx.org>
8023 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8024 The body of the code is now in the method that is passed an ostream &
8025 rather than a file name.
8026 Pass an additional only_preamble parameter, useful for the forthcoming
8029 2002-07-03 André Pönitz <poenitz@gmx.net>
8031 * lyxfunc.C: simplify getStatus() a bit for math stuff
8033 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8035 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8037 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8039 * text.C (changeRegionCase): do not change case of all the
8040 document when region ends at paragraph end (bug #461)
8042 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8044 * paragraph.C (startTeXParParams):
8045 (endTeXParParams): add \protect when necessary
8047 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8049 * BufferView_pimpl.C (workAreaExpose): remove warning
8051 2002-06-27 Angus Leeming <leeming@lyx.org>
8053 * Makefile.am: add lyxlayout_ptr_fwd.h.
8055 2002-06-26 André Pönitz <poenitz@gmx.net>
8057 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8059 2002-06-25 Angus Leeming <leeming@lyx.org>
8061 * lyxfunc.C (dispatch): Comment out the call to
8062 grfx::GCache::changeDisplay. The method no longer exists now that the
8063 pixmap generation part of the graphics loader has been moved into
8066 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8068 * text2.C: layout as layout
8070 * text.C: layout as layout
8072 * tabular.C (OldFormatRead): layout as layout
8074 * paragraph_pimpl.C (TeXDeeper): layout as layout
8075 (realizeFont): layout as layout
8077 * paragraph.C (writeFile): layout as layout
8078 (validate): layout as layout
8079 (getFont): layout as layout
8080 (getLabelFont): layout as layout
8081 (getLayoutFont): layout as layout
8082 (breakParagraph): layout as layout
8083 (stripLeadingSpaces): layout as layout
8084 (getEndLabel): layout as layout
8085 (getMaxDepthAfter): layout as layout
8086 (applyLayout): layout as layout
8087 (TeXOnePar): layout as layout
8088 (simpleTeXOnePar): layout as layout
8089 (TeXEnvironment): layout as layout
8090 (layout): layout as layout
8091 (layout): layout as layout
8093 * lyxtextclass.C (compare_name): new functor to work with
8094 shared_ptr, layout as layout
8095 (Read): layout as layout
8096 (hasLayout): layout as layout
8097 (operator): layout as layout
8098 (delete_layout): layout as layout
8099 (defaultLayout): layout as layout
8101 * lyxlayout_ptr_fwd.h: new file
8103 * lyxlayout.C (Read): layout as layout
8105 * lyx_cb.C (MenuInsertLabel): layout as layout
8107 * bufferlist.C (newFile): layout as layout
8109 * buffer.C (readLyXformat2): layout as layout
8110 (parseSingleLyXformat2Token): layout as layout
8111 (insertStringAsLines): layout as layout
8112 (asciiParagraph): layout as layout
8113 (latexParagraphs): layout as layout
8114 (makeLinuxDocFile): layout as layout
8115 (simpleLinuxDocOnePar): layout as layout
8116 (makeDocBookFile): layout as layout
8117 (simpleDocBookOnePar): layout as layout
8118 (getLists): layout as layout
8120 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8122 * CutAndPaste.C (cutSelection): layout as layout
8123 (pasteSelection): layout as layout
8124 (SwitchLayoutsBetweenClasses): layout as layout
8126 * BufferView_pimpl.C (Dispatch): layout as layout
8127 (smartQuote): layout as layout
8129 * BufferView2.C (unlockInset): layout as layout
8131 2002-06-24 André Pönitz <poenitz@gmx.net>
8133 * lyxfunc.C: fix #487
8135 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8139 * lyxfunc.C: remove display_shortcuts, show_banner
8141 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8143 * Buffer_pimpl.C: oops, update on resize
8145 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8152 * BufferView.C: use repaint()
8154 * BufferView_pimpl.h:
8155 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8156 as it's a clearer description. Remove superfluous
8159 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8161 * text.C: fix bug 488. Not ideal, but getting
8162 getWord() to work properly for the insets that
8163 matter is more difficult ...
8165 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8167 * BufferView_pimpl.C:
8170 * lyxfunc.C: remove the six million index lyxfuncs to just
8171 one, and DTRT (bug 458)
8173 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8177 * BufferView_pimpl.h:
8178 * BufferView_pimpl.C: clean up resize() stuff,
8179 and unnecessary updateScreen()s
8181 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8185 * BufferView_pimpl.h:
8186 * BufferView_pimpl.C:
8189 * minibuffer.C: remove focus management of workarea,
8190 not needed. Use screen's greyOut()
8192 2002-06-17 Herbert Voss <voss@lyx.org>
8194 * converter.C: (convert) do not post a message, when converting
8195 fails, let the calling function decide what to do in this case
8197 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
8199 * lyxfunc.C: tidy up a little
8201 2002-06-16 <alstrup@diku.dk>
8203 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8204 Got rid of FORMS_H_LOCATION include. Now we are
8207 2002-06-15 LyX Development team <lyx@rilke>
8209 * buffer.[Ch] (sgmlOpenTag):
8210 (sgmlCloseTag): Added support for avoiding pernicious mixed
8211 content. Return number of lines written.
8214 (makeDocBookFile): Fixed calls to sgml*Tag.
8215 Simple white space clean.
8217 (simpleDocBookOnePar): Simple white space clean.
8219 * tabular.[Ch] (docBook): Renamed to docbook and got another
8220 argument to related with the pernicious mixed content.
8222 (docbookRow): Fixed calls for docbook inset method.
8224 2002-06-15 Lyx Development team <larsbj@birdstep.com>
8226 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8227 so it's X11 independent.
8231 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8233 2002-06-15 Lyx Development team <lyx@electronia>
8235 * intl.h: Renamed getTrans to getTransManager.
8237 2002-06-14 Angus Leeming <leeming@lyx.org>
8239 * Makefile.am: nuke forgotten stl_string_fwd.h.
8241 2002-06-12 Angus Leeming <leeming@lyx.org>
8243 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8245 2002-06-13 Angus Leeming <leeming@lyx.org>
8248 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8250 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
8252 * kbmap.C (getiso): add support for cyrillic and greek
8254 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8258 * BufferView_pimpl.h:
8259 * BufferView_pimpl.C: move bogus scrolling logic
8262 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8265 * BufferView_pimpl.C: view->resize() change
8267 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8269 * BufferView_pimpl.C: topCursorVisible
8272 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8276 * lyx_gui.C: move to frontends/
8280 * lyx_main.C: changes from above
8282 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8289 * lyx_main.C: minor tidy
8291 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8293 * BufferView_pimpl.h:
8294 * BufferView_pimpl.C:
8296 * BufferView.C: make painter() const,
8299 * BufferView2.C: use screen() accessor
8302 * lyx_main.C: some minor cleanup
8304 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8306 * BufferView_pimpl.h:
8307 * BufferView_pimpl.C: remove enter/leaveView,
8310 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8315 * BufferView_pimpl.h:
8316 * BufferView_pimpl.C: only construct screen once,
8319 * lyxrc.C: remove pointless comment
8321 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8324 * BufferView.C: remove active() and belowMouse()
8326 * BufferView_pimpl.h:
8327 * BufferView_pimpl.C: use workarea() not workarea_,
8328 and make it use a scoped_ptr instead
8330 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8332 * lyx_gui.C: add debug message on BadWindow
8334 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8336 * sp_spell.C: fdopen is not part of the C++ standard.
8338 * paragraph.C (InsetIterator): use >= instead of ==
8340 2002-06-07 Angus Leeming <leeming@lyx.org>
8342 Fixes needed to compile with Compaq cxx 6.5.
8343 * BufferView_pimpl.C:
8350 * lyxtextclasslist.C:
8355 all c-library variables have been moved into namespace std. Wrap
8356 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8361 Add a using std::abs declaration.
8363 * kbmap.h (modifier_pair):
8364 * paragraph.h (InsetTable, InsetList):
8365 * lyxfont.h (FontBits):
8366 type definition made public.
8368 * bufferlist.C (emergencyWriteAll): the compiler complains that
8369 there is more than one possible lyx::class_fun template to choose from.
8370 I re-named the void specialisation as lyx::void_class_fun.
8372 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8374 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8375 the compiler is is unable to find tostr in write_attribute.
8377 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8379 * buffer.C (sgmlError): hide #warning
8381 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8383 * xtl/*: get rid of xtl, which is not in use anyway
8385 * LyXAction.C (init):
8386 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8387 were unimplemented xtl experimentation
8389 2002-06-04 André Pönitz <poenitz@gmx.net>
8391 * lyxfunc.C: disable array operation on simple formulae
8393 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
8395 * converter.C: constify a bit
8397 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
8399 * lyx_gui.C: check xforms version correctly
8401 2002-04-30 Herbert Voss <voss@lyx.org>
8403 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8406 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
8408 * lyxvc.C: fix bug 416 (make sure buffer is saved before
8409 attempt to register it with a VCS)
8411 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8413 * lyx_main.C (init): honor variables LYX_DIR_13x and
8416 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8420 * lyx_main.C: fix a crash on bad command line,
8421 and give a useful exit status on error
8423 * lyxfunc.C (doImport): allow -i lyx to work
8425 2002-03-30 André Pönitz <poenitz@gmx.net>
8427 * lyxfunc.C: mathed font changes
8429 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8444 * trans_mgr.h: srcdocs, and some minor cleanups
8446 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8448 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8449 call getFont all the time)
8451 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8453 * switch from SigC signals to boost::signals
8455 2002-05-29 André Pönitz <poenitz@gmx.net>
8457 * paragraph_pimpl.C (getChar): don't call size() too often...
8459 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8461 * paragraph_pimpl.C (insertChar): do not try to update tables when
8462 appending (pos == size())
8464 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8465 in order to reduce drastically the number of comparisons needed to
8466 parse a large document
8468 2002-05-29 André Pönitz <poenitz@gmx.net>
8474 * textclasslist.[Ch]:
8475 * sp_ispell.h: whitespace change
8477 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8479 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8480 lyxaction directly now.
8482 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
8486 * lyxvc.C: remove unused headers
8488 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8495 * undo_funcs.C: some cleanups. Use shared_ptr
8496 and a template for the undo stacks.
8498 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8500 * BufferView_pimpl.h:
8501 * BufferView_pimpl.C:
8508 * text2.C: use key_state/mouse_state
8510 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8512 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8515 * chset.C: change include order
8516 (loadFile): use boost regex and get rid of LRegex and LSubstring
8518 * Makefile.am (BOOST_LIBS): new variable
8521 * LaTeX.C: change include order.
8522 (scanAuxFile): use boost regex and get rid of LRegex and
8526 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8531 * FontInfo.C: moved to frontends/xforms/
8534 * FontLoader.C: moved into frontends for GUIIzation
8539 * lyxfunc.C: changes from above
8541 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8543 * LColor.C: remove spurious X include
8545 * BufferView_pimpl.C:
8550 * text2.C: move font metrics to frontends/
8552 2002-05-24 Juergen Vigna <jug@sad.it>
8554 * undo_funcs.C (textHandleUndo): fix the cursor selection after
8555 setting the undo_cursor.
8557 * ParagraphParameters.h: include local includes first.
8559 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8561 * BufferView_pimpl.C:
8562 * BufferView_pimpl.h:
8566 * screen.C: move WorkArea into frontends/
8572 * BufferView2.C: move LyXScreen into frontends/
8576 * lyx_gui.C: move lyxlookup into frontends/xforms/
8578 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8581 * BufferView_pimpl.C:
8591 * bufferview_funcs.C:
8604 * vc-backend.C: move LyX/XFormsView into frontends/
8606 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8618 * text2.C: move Painter to frontends/
8620 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8622 * buffer.C: comment out some some code that depend upon lyx_format
8625 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8626 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8628 * buffer.h (NO_COMPABILITY): turn off compability
8630 * ColorHandler.C: include scoped_array.hpp
8632 * font.C: Use more specific smart_ptr header.
8635 * ShareContainer.h: ditto
8639 * BufferView_pimpl.h: ditto
8640 * ColorHandler.h: ditto
8642 * kbmap.C (defkey): change call to shared_ptr::reset
8644 2002-05-21 Juergen Vigna <jug@sad.it>
8646 * buffer.C (insertErtContents): fix to insert ert asis if it is
8647 non empty. Skip it completely if it contains only whitespaces.
8649 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
8651 * BufferView_pimpl.C:
8652 * BufferView2.C: clear selection on paste (bug 393)
8654 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8656 * DepTable.C: include ctime
8658 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
8660 * buffer.C (latexParagraphs): Add new argument (moving_arg).
8662 2002-05-14 Juergen Vigna <jug@sad.it>
8664 * text.C (breakParagraph): fixed function to honor the keepempty
8665 layout in the right maner and also to permit the right breaking
8666 algorithm on empty or non empyt keepempty paragraphs.
8668 * paragraph.C (breakParagraph): we have to check also if the par
8669 is really empty (!size()) for isempty otherwise we do the wrong
8672 2002-05-10 Juergen Vigna <jug@sad.it>
8674 * buffer.[Ch] : The following are only changes to the ert
8675 compatibility read reading old LaTeX layout and font stuff and
8676 convert it to ERTInsets.
8678 * buffer.h: added isErtInset().
8680 * buffer.C (struct ErtComp): add a fromlayout bool to check
8681 if we're inside a LaTeX layout.
8682 (isErtInset): new helper function.
8683 (insertErtContents): look for other ert insets before this one
8684 and insert the contents there, so that we don't have subsequent
8685 ERT insets with nothing between them. This way we create only one
8686 inset with multiple paragraphs. Also check if we don't insert only
8687 spaces ' ' as they are ignored anyway afterwards in the .tex file
8688 so if we have only spaces we will ignore this latex part in the
8690 (parseSingleLyXformat2Token \\layout): better compatibility when
8691 reading layout-latex stuff.
8692 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8694 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8695 stuff after reading the inset only get the information back from
8698 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
8700 * buffer.C (makeLaTeXFile): Put language options after loading babel.
8702 * LaTeXFeatures.C (getBabelOptions): New method.
8704 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8706 * BufferView_pimpl.C (Dispatch): work around missing argument for
8709 2002-05-08 Juergen Vigna <jug@sad.it>
8711 * text.C (leftMargin): handle paragraph leftindent.
8713 * paragraph.C (writeFile): write the new \\leftindent tag.
8714 (validate): handle leftindent code.
8715 (TeXEnvironment): handle paragraphleftindent code again.
8717 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8719 * buffer.C (parseSingleLyXformat2Token): added compatibility code
8720 for paragrap_extra indent code and new token \\leftindent.
8721 (latexParagraphs): handle the leftindent as environment.
8723 * ParameterStruct.h: added leftindent support.
8725 * ParagraphParameters.C (leftIndent): added support functions for
8726 the paragraph left indent.
8728 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8731 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
8733 * paragraph.C (isRightToLeftPar): Return false for a paragraph
8736 * text.C (computeBidiTables): No bidi in insetERT.
8738 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8741 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8743 * version.C.in: pre 5
8745 2002-05-02 José Matos <jamatos@fep.up.pt>
8746 * buffer.C (makeDocBookFile): white space changes, add newline to
8748 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8750 * tabular.C (docBook): fix typo.
8752 2002-05-03 Juergen Vigna <jug@sad.it>
8754 * screen.C (drawFromTo): recalculate the rowpointer if we had a
8755 change in LyXText as we can not be sure it was not freed.
8756 (drawOneRow): remove unused code.
8758 * text.C (drawInset): redo the calculation of the need_break_row as
8759 it could have a row which was already freed.
8760 (draw): look at the return value of drawInset and return false if
8761 it also returned false.
8762 (paintRowText): look at the return value of draw and return false if
8763 it also returned false.
8765 * lyxtext.h: added bool return type to drawInset() and draw() so that
8766 if we have a change in the row so that the rowbreak has to be redone
8767 we abort drawing as it will be called again.
8769 2002-05-02 Juergen Vigna <jug@sad.it>
8771 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8772 a change in the maintext also if we're inside an inset.
8773 (Dispatch): set the cursor again after a break line and after the
8774 screen has been updated as it could be we're in a different row.
8776 * text2.C (fixCursorAfterDelete): check to make sure we don't request
8777 to set the cursor behind the pargraph with > size().
8778 (setCursor): check also for the same paragraph when checking where
8779 to put the cursor if we have a NFR inset.
8781 * buffer.C (parseSingleLyXformat2Token): move the compatibility
8782 parts of layout read further up as it still was in the wrong
8785 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8787 * screen.C (drawFromTo): change sine fullRebreak always return
8790 * buffer.C (parseSingleLyXformat2Token): reindent some
8792 * BufferView_pimpl.C (update): change since fullRebreak always
8794 (Dispatch): git rid of the last hardcoded "Standard"s.
8796 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
8798 * text2.[Ch] (fullRebreak): make it return void now that we always
8801 2002-04-30 Juergen Vigna <jug@sad.it>
8803 * buffer.C (parseSingleLyXformat2Token): reset the font before the
8804 ert compatibility check for "latex" layout.
8806 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
8808 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8809 minipages: use col% instead of p%, and also use the current font.
8810 (makeLaTeXFile): Fix use babel condition.
8811 (parseSingleLyXformat2Token): Correct font when reading old floats.
8813 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
8815 * BufferView_pimpl.C (Dispatch): Check that float type exists when
8816 inserting list of floats.
8818 2002-04-25 Herbert Voss <voss@lyx.org>
8820 * MenuBackend.C (expand): don't add the graphics extensions to the
8823 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8825 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8826 non-existing layout, do not complain if it was the default layout
8827 of the original class (bug #342)
8829 2002-04-24 Juergen Vigna <jug@sad.it>
8831 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8832 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8834 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
8836 * buffer.C (getBibkeyList): If using \bibliography, return the
8837 option field with the reference itself. Enables us to provide natbib
8838 support when using \bibliography.
8840 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
8842 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8844 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8845 natbib is provided by the LaTeX class.
8847 2002-04-23 Juergen Vigna <jug@sad.it>
8849 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8852 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8854 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8856 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8858 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8859 ensuremath around textordmasculine, textordfeminine and
8862 2002-04-19 Juergen Vigna <jug@sad.it>
8864 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8865 reinitializing the buffer otherwise row-dimensions may be wrong.
8866 (update): reset also the selection cursors if they do exits otherwise
8867 their x/y positions may be wrong.
8869 * text2.C (cursorDown): don't enter the inset if we came from a row
8870 above and are one row over the inset.
8872 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8873 really leaving an inset.
8875 2002-04-18 Juergen Vigna <jug@sad.it>
8877 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8878 of the selected paragraph does not have the selected layout also if
8881 * text2.C (setLayout): fixed bug which did not change last selected
8884 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8885 changed the read and substituted \\end_float with \\end_inset!
8887 * BufferView_pimpl.C (cursorPrevious):
8888 (cursorNext): fixed to make it work with rows heigher than the work
8889 area without moving the cursor only the draw of the row.
8890 (workAreaMotionNotify): fix jumping over high rows.
8892 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8894 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8897 2002-04-16 Juergen Vigna <jug@sad.it>
8899 * text2.C (setCursor): set also the irow().
8900 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8902 (cursorDown): support for locking an inset if the x_fix value goes
8903 inside it. That way I can transverse insets too with cursor up/down.
8905 * lyxrow.h: added irow helper function same as other (i) functions.
8907 * BufferView_pimpl.C (cursorPrevious):
8908 (cursorNext): fixed for insets!
8910 2002-04-15 Juergen Vigna <jug@sad.it>
8912 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8913 position otherwise it is wrong in some cases.
8915 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8916 inside the inset before the call.
8918 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
8920 * buffer.[Ch] (getBibkeyList): make it const.
8922 2002-04-12 Juergen Vigna <jug@sad.it>
8924 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8926 * text2.C (getCursorX): new helper function
8927 (setCursor): compute also ix_
8928 (setCursorFromCoordinates): set also ix.
8930 * lyxcursor.h: added ix_ and helper functions.
8932 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8934 * buffer.C (insertStringAsLines): dont break paragraph if the this
8935 paragraph is inside an inset which does not permit it!
8937 * text.C (breakParagraph): honor keepempty flag and break the paragraph
8938 also with no chars on this paragraph.
8939 (paintRowText): only paint stuff if it's inside the workarea!
8941 * paragraph.C (breakParagraph): honor keepempty flag and break the
8942 paragraph always below not above.
8944 * BufferView2.C (unlockInset): update the paragraph layout on inset
8945 unlock as we changed paragraph in such a case.
8947 * lyxfind.C (LyXFind): clear the former selection if not found!
8949 * text2.C (insertInset): freeze Undo after setUndo so that it is not
8950 again called in insertChar().
8952 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8953 an inset which uses the whole row!
8954 (rightMargin): ditto.
8955 (insertChar): force a rebreak if we inserted an inset!
8957 2002-03-28 Herbert Voss <voss@lyx.org>
8959 * lyxlength.[Ch]: add inBP() to get the right PS-point
8960 units (BigPoint). With inPixels we have rounding errors
8962 2002-04-11 Juergen Vigna <jug@sad.it>
8964 * text2.C (setCursorFromCoordinates): set iy to the right value.
8965 (setCursor): add check if row->previous exists!
8967 * buffer.C (parseSingleLyXformat2Token): reset font after read of
8968 an old float_type as this was the case in the old code!
8970 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8972 * BufferView2.C (showLockedInsetCursor): use iy
8973 (fitLockedInsetCursor): ditto
8975 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8976 locked insets as there we have the right value now.
8978 * lyxcursor.C: added iy_ variable and iy functions to set to the
8979 baseline of cursor-y of the locked inset.
8981 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8982 (setCursor): fixed for insets which need a full row.
8984 * text.C (rowLastPrintable): don't ignore the last space when before
8985 an inset which needs a full row.
8986 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8987 as last character of a row when before a inset which needs a full row.
8989 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8991 * version.C.in: update date
8993 * text2.C (fullRebreak): try to always return true and see what
8996 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8998 * MenuBackend.C (expand): use Floating::listName
9000 * FloatList.C (FloatList): add listName argument to the built-in
9003 * Floating.[Ch]: add listName member, which is the 'List of XXX'
9004 text associated with the float.
9006 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9008 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9010 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9012 * ShareContainer.h: add a couple of missing typenames.
9014 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
9016 * lyxrc.C (getDescription): use _() correctly rather than N_().
9018 2002-03-28 Herbert Voss <voss@lyx.org>
9020 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9021 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9023 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9025 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9026 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9028 2002-03-29 Juergen Vigna <jug@sad.it>
9030 * lyxfunc.C (dispatch): add a missing fitCursor call.
9032 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9033 it was scrolled by a cursor move, so return the bool status.
9035 * BufferView.C (fitCursor): return the bool flag also to the outside
9036 world as this is needed.
9038 * screen.C (toggleToggle): don't subtract the offset if it's positive.
9040 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9041 call the edit() as it is not needed (and wrong) IMO.
9042 (workAreaButtonPress): set the screen_first variable before evt.
9043 unlock the inset as this may change screen_first and then we have
9044 a wrong y position for the click!
9046 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9048 * MenuBackend.C (expand): another translation that I missed
9050 2002-03-28 Juergen Vigna <jug@sad.it>
9052 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9054 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9056 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9058 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9060 * MenuBackend.C (expand): fix export/view/update when there is no
9063 2002-03-27 Herbert Voss <voss@lyx.org>
9065 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9068 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9070 * bufferview_funcs.C (currentState): only show paragraph number
9071 for is DEVEL_VERSION is set.
9073 * lyxfunc.C (dispatch): put warning in INFO channel
9075 * MenuBackend.C (expand): translate the name of floats
9077 * FloatList.C (FloatList): mark the float names for translation
9079 * converter.C (convert): use LibScriptSearch
9081 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9083 * MenuBackend.C (defaults): fix default menu (we might as well get
9086 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9088 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9091 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9093 * lyxvc.C: reorder includes.
9095 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
9097 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9100 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9102 * CutAndPaste.C: change layouts earlier on paste
9103 to avoid crashing when calling getFont()
9105 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9107 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9110 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9112 * WorkArea.C: remove 'Pending' debug message.
9114 * most files: ws cleanup
9116 * buffer.[Ch]: ws changes
9118 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9120 2002-03-21 Juergen Vigna <jug@sad.it>
9122 * tabular.C (SetMultiColumn): collapse also the contents of the
9123 cells and set the last border right. Added a Buffer const * param.
9125 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9127 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9130 2002-03-19 Juergen Vigna <jug@sad.it>
9132 * text2.C (clearSelection): reset also xsel_cache.
9134 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9135 where it needs to be called (John tells us to do so too :)
9136 (selectionLost): reset sel_cache.
9138 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9140 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9142 * text2.C (setCursorIntern): put debuging code in INSETS channel
9144 2002-03-19 André Pönitz <poenitz@gmx.net>
9146 * lyxfunc.C: tiny whitespace change
9148 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9150 * ToolbarDefaults.C (init):
9151 * LyXAction.C (init):
9153 * BufferView_pimpl.C (Dispatch):
9154 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9156 2002-03-19 Allan Rae <rae@lyx.org>
9158 * exporter.C (Export): removeAutoInsets before doing anything else.
9159 While I've just introduced a dependency on BufferView this really is
9160 the best place to clean the buffer otherwise you need to cleanup in
9161 a dozen places before calling export or cleanup in a dozen functions
9164 * converter.C (runLaTeX):
9165 (scanLog): Better handling of removeAutoInsets and screen updates.
9167 * lyxfunc.C (dispatch): small whitespace changes
9169 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9171 * WorkArea.C (C_WorkAreaEvent): return a value.
9172 (event_cb): return 1 if we handled the event, 0 otherwise.
9174 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9176 2002-03-18 Juergen Vigna <jug@sad.it>
9178 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9179 (GetAdditionalWidth): ditto.
9183 * BufferView2.C (copy): use getLyXText() so that we do it inside an
9184 inset if we're there actually (probably not used right now but this
9185 is the direction to go for unifying code).
9186 (paste): disable code to clear the selection.
9188 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9189 inside an InsetText and move the check further up as it is in the
9192 * text2.C (pasteSelection): set a selection over the pasted text.
9194 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
9196 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9197 and libgraphics to build on Cygwin.
9199 2002-03-15 Juergen Vigna <jug@sad.it>
9201 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9202 inserting an Inset into the paragraph. I know this is not the best
9203 fix but we already use current_view in CutAndPaste so we will remove
9204 all of it's using at the same time.
9206 * buffer.C (sgmlError): deactivated function till it is rewritten in
9207 the right mode, now it can create problems.
9209 * paragraph.C (isLineSeparator): check if getInset returns != 0,
9210 before accessing it.
9212 2002-03-14 Juergen Vigna <jug@sad.it>
9214 * undo_funcs.C (textHandleUndo): do the right thing when updating
9215 the inset after the undo/redo.
9217 * text2.C (setCursor): just some testcode for #44 not ready yet.
9219 * undo_funcs.C (textHandleUndo): set the next() and previous()
9220 pointers of the paragraph to 0 before deleting otherwise we have
9221 problems with the Paragraph::[destructor].
9223 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9224 on a paragraph insertion.
9226 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9228 * buffer.C (asciiParagraph): use += operator for char append to
9231 * paragraph.C (getFontSettings): compare >= not just >
9232 (highestFontInRange): ditto
9235 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9237 * paragraph.C: change several algorithm to be more appripriate for
9238 the problem domain. This is lookip in FontList and in the InsetList.
9240 2002-03-13 André Pönitz <poenitz@gmx.net>
9243 * LyXAction.C: remove unused LFUN_MATH_MACROARG
9245 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
9250 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9252 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9254 * Painter.C (display): anon helper function, adjust code for this
9256 (pixmap): remove function.
9258 * Painter.h: remove private display variable.
9260 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9262 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
9264 * WorkArea.[Ch]: remove figinset_canvas cruft.
9266 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9268 * lyxtextclass.C (operator): add one item cache optimization.
9270 * bufferlist.h: doxy changes
9272 * bufferlist.C: ws changes
9274 * DepTable.[Ch] (ext_exist): place const in the right spot.
9276 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9278 (workAreaExpose): call resizeInsets when the with BufferView changes.
9279 (Dispatch): adjust for protectedBlank removal
9280 (specialChar): call updateInset if the insert went ok.
9282 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9283 specialChar instead.
9285 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9287 * BufferView.h: doxy change
9289 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9291 * lyxtextclass.C (operator[]): remove non-const version
9292 (defaultLayout): remove non-const version
9294 2002-03-12 Juergen Vigna <jug@sad.it>
9296 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9297 did resize the LyXText too.
9299 * buffer.C (readLyXformat2): set layout information on newly allocated
9302 * tabular.C (OldFormatRead): set layout information on the paragraph.
9304 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9306 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9308 2002-03-11 Juergen Vigna <jug@sad.it>
9310 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9312 (resizeCurrentBuffer): force also the insets to resize themselfes.
9313 (moveCursorUpdate): fixed up for InsetText.
9315 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
9318 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9319 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9320 value of Dialogs::tooltipsEnabled().
9321 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9323 2002-03-08 Juergen Vigna <jug@sad.it>
9325 * BufferView_pimpl.C (updateInset): update inset inside inset also
9326 if it isn't inside theLockingInset().
9328 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9330 * buffer.C (asciiParagraph): redo some of the word and line length
9332 (getLists): look for Caption instead of caption.
9334 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9336 * buffer.C (Buffer): initialize niceFile to true
9339 (makeDocBookFile): make sure niceFile is true on exit
9341 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9343 * buffer.C (makeLaTeXFile): escape ~ in \input@path
9345 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
9347 * LyXSendto.C: remove.
9348 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9349 * lyx_gui.C: remove now-redundant comment.
9350 * ColorHandler.h: remove forward declaration of class WorkArea.
9351 * lyxfunc.C: remove #include "WorkArea.h".
9353 2002-03-07 Juergen Vigna <jug@sad.it>
9355 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9356 got moved away with the DEPM and also set the inset_owner always
9357 right which before could have been omitted.
9359 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9361 * buffer.C (parseSingleLyXformat2Token): use default layout is the
9362 wanted layout is not found.
9364 2002-03-07 Juergen Vigna <jug@sad.it>
9366 * CutAndPaste.C (cutSelection): another layout settings forgotten.
9368 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9370 * paragraph.C (breakParagraph): use default layout not layout of
9372 (Paragraph): clear ParagraphParameters.
9374 2002-03-06 Juergen Vigna <jug@sad.it>
9376 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9377 otherwise it would not be a valid lenght. Fixed a special case in
9378 the minipage compatibility read where we end the document with a
9381 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9382 was set as it could be 0 for InsetTexts first entry.
9384 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9386 * paragraph.C (writeFile): if layout is empty write out
9387 defaultLayoutName().
9389 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9390 file without named layout we set layout to defaultLayoutName().
9392 2002-03-06 Juergen Vigna <jug@sad.it>
9394 * CutAndPaste.C (copySelection): set layout for new paragraph.
9396 * text.C (prepareToPrint): leave ERT inset left aligned
9397 (leftMargin): don't indent paragraphs inside ERT insets
9399 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9401 * paragraph.C (breakParagraph): dont call clear do the work manually
9403 * paragraph.[Ch] (clear): remove function
9405 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9407 * paragraph.C (Paragraph): dont call clear, the work has already
9410 * lyxtextclass.C (operator): assert if n is empty
9412 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9413 work manually instead.
9415 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9417 * BufferView_pimpl.C: protect selectionLost against text == 0
9419 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9421 * text.C (breakParagraph): fix a setting layout to '0' problem.
9423 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9425 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9426 final location of file, for the included files, and graphics.
9428 2002-03-05 Juergen Vigna <jug@sad.it>
9430 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9432 2002-03-04 Juergen Vigna <jug@sad.it>
9434 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9436 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9437 last column of multicolumn cells.
9438 (SetWidthOfMulticolCell): recalculate NMC and real columns.
9440 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
9442 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9443 file if it doesn't go to a temporary file.
9445 * buffer.C (sgmlOpenTag):
9446 (sgmlCloseTag): remove extra newline insertion.
9448 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9450 * text.C (getRowNearY): comment out debug msg
9452 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9454 * text2.C: first -> first_y
9456 * text.C (getRowNearY): add some attemts at a possible
9457 optimization, not working.
9459 * tabular.[Ch]: add BufferParams to several function so that newly
9460 created paragraph can be initialized to he default layotu for the
9463 * tabular-old.C (ReadOld): add buf->params to call of Init
9465 * screen.C: rename text->first to text->first_y
9467 * paragraph.C (breakParagraph): always set layout in the broken
9470 * lyxtextclass.C (Read): remove lowercase
9473 (delete_layout): ditto
9475 * lyxtext.h: rename first -> first_y
9477 * lyxlayout.C (Read): remove lowercase
9480 (obsoleted_by): ditto
9482 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9484 * buffer.C (insertErtContents): add params are to InsetERT
9485 (parseSingleLyXformat2Token): add code to check if a paragraphs
9486 layout really exist.
9487 (parseSingleLyXformat2Token): add params to several inset
9489 (asciiParagraph): remove lowercase, do the layout comparisons with
9492 * BufferView_pimpl.C (cursorNext): first -> first_y
9493 (resizeCurrentBuffer): first -> first_y
9494 (updateScrollbar): first -> first_y
9495 (scrollCB): first -> first_y
9496 (workAreaMotionNotify): first -> first_y
9497 (workAreaButtonPress): first -> first_y
9498 (checkInsetHit): first -> first_y
9499 (cursorPrevious): first -> first_y
9500 (cursorNext): first -> first_y
9501 (Dispatch): add buffer_->params to severl inset contructors
9503 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9505 * lyxlayout.C (Read): remove some debug info that I forgot.
9507 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9508 clean up the code slightly.
9509 (makeLinuxDocFile): ditto
9510 (makeDocBookFile): ditto
9512 * text2.C: layout as string
9514 * text.C: layout as string
9516 * paragraph_pimpl.C: layout as string
9518 * paragraph.[Ch]: layout as string
9520 * lyxtextclasslist.[Ch]: layout as string
9522 * lyxtextclass.[Ch]: layout as string
9524 * lyxtext.h: layout as string
9526 * lyxlayout.[Ch]: layout as string
9528 * lyx_cb.C: layout as string
9530 * bufferview_funcs.C: layout as string
9532 * bufferparams.C: layout as string
9534 * buffer.C: layout as string
9536 * LyXView.[Ch]: layout as string
9538 * LaTeXFeatures.[Ch]: layout as string
9540 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9542 * BufferView_pimpl.C: change current_layout to string, remove
9547 (workAreaButtonRelease): layout as string
9549 * BufferView2.C (unlockInset): adjust
9551 * vspace.C (asLatexCommand): use an explict temp variable.
9553 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9555 * Makefile.am: use FRONTEND_*
9557 2002-03-01 Juergen Vigna <jug@sad.it>
9559 * tabular.C (SetWidthOfMulticolCell): changed to something better
9560 I hope but still work in progress.
9561 (recalculateMulticolumnsOfColumn): renamed function from
9562 recalculateMulticolCells as it is more appropriate now.
9563 (SetWidthOfCell): calculate multicols better.
9565 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9567 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9569 * lyxfunc.C (processKeySym): print sequence also if it is
9570 `deleted' (complete)
9572 * kbsequence.C (print): print sequence even if it is deleted
9573 (complete would be a better word, actually).
9575 * lyxfunc.C (dispatch): print complete options after a prefix key
9577 * vspace.C (asLatexCommand): rewrite in a slightly different form.
9579 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
9581 * text2.C (setCharFont): eliminate setCharFont code duplication.
9583 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9585 * BufferView_pimpl.C (Dispatch): remove bogus handling of
9586 LFUN_TABULAR_FEATURE (bug #177)
9588 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
9590 * Makefile.am: remove figure.h
9592 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
9594 * Bufferview_pimpl.C:
9606 * text2.C: remove #include "lyx_gui_misc.h".
9608 * LaTeX.C: added #include <cstdio>
9610 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9612 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9613 that the paragraph following this one can have.
9615 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9617 * vspace.C (asLatexCommand): fix bogus gcc warning
9619 * Makefile.am (lyx_SOURCES): remove vms_defines.h
9621 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
9623 * text2.C (setLayout): get rid of redundant code
9625 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
9627 * text2.C (incDepth): make sure depth cannot be increased beyond
9630 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
9632 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9633 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9635 * PainterBase.h (image):
9636 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9639 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9643 * BufferView_pimpl.C:
9644 * BufferView_pimpl.h:
9664 * sp_spell.C: remove fig inset, and the crap house of
9665 cards that follows it
9667 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9673 * nt_defines.h: move .h into support/
9675 * vms_defines.h: remove
9677 * WorkArea.C: add space in debug output
9681 * buffer.C: add WITH_WARNINGS
9685 * bufferlist.C: s/retrive/retrieve/, add docs
9696 * lyxgui.C: add ID to X error handler
9698 * lyxtestclass.c: fix typo
9700 2002-02-26 Juergen Vigna <jug@sad.it>
9702 * tabular_funcs.C (write_attribute): changed so that some default
9703 attributes are not written at all.
9704 (getTokenValue): set default values before trying to read the
9705 value so we have the return value always set as default if we don't
9706 find the token we search for.
9708 * tabular.C (Write): write bools as bools not as strings!
9710 2002-02-22 Juergen Vigna <jug@sad.it>
9712 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9713 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9715 * text.C (leftMargin): don't add an indent for paragraphs inside
9716 tabular cells (fix #208).
9718 2002-02-21 José Matos <jamatos@fep.up.pt>
9720 * tabular.C (docBook): fixed support for long tables.
9722 2002-02-20 Juergen Vigna <jug@sad.it>
9724 * text2.C (getFont): get the drawing font of the Inset if this
9725 paragraph is inside an inset (only important for InsetERT for now).
9727 * buffer.C (insertErtContents): use new lanugage params in ERT
9730 * CutAndPaste.C: commenting out seemingly uneeded code.
9732 2002-02-19 Allan Rae <rae@lyx.org>
9734 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9735 Iterators might be simple to use but they also get invalidated.
9736 (removeAutoInsets): renamed saved cursor tracking variables and added
9737 some comments to clarify what everything does.
9739 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
9746 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9747 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9750 * vc-backend.h: remove #include "support/syscall.h"
9754 * converter.C: rearrange #includes in Lars' approved fashion.
9756 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9757 forward declare class Timeout in the header file.
9759 * XFormsView.C: changes due to the above.
9761 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9764 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9765 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9767 2002-02-18 José Matos <jamatos@fep.up.pt>
9769 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9772 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9774 * a lot of small ws changes
9775 * add a lot of using std::XXX
9776 * use std construcs some places where approp.
9777 * use some exisint stuff from lyxfunctional where approp.
9778 * Make file changes to use partial linking (lets test this now...)
9780 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9784 remove #include "support/syscontr.h" as it's redundant. Always has been.
9792 change Systemcalls::System to Systemcalls::Wait and
9793 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9794 No change of functionality, just reflects the stripped down Systemcalls
9797 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9799 * debug.[Ch]: add a GRAPHICS type to the enum.
9801 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9803 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9805 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9808 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9810 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9811 match the changes below.
9813 * text2.C (toggleInset): if there is not editable inset at cursor
9814 position, try to see if cursor is _inside_ a collapsable inset
9817 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9819 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9820 document menu has a nice checkbox
9822 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9824 * lyxlength.C (asLatexString): change PW to output as percent of
9827 * lengthcommon.C: change '%' to 't%'
9829 * lyxfunc.C (dispatch): a few comments from Martin
9831 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
9835 * BufferView_pimpl.h:
9836 * BufferView_pimpl.C: clear our selection when X tells us we've lost
9839 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9841 * vspace.C (inPixels): fix compiler warning
9843 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9845 * lyxfunc.C (getStatus): fix status message for disabled commands.
9847 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
9849 * BufferView_pimpl.C: fix crash on close buffer
9850 during selection (#227)
9852 2002-01-27 Herbert Voss <voss@lyx.org>
9854 * buffer.C: link old Figure to new graphic inset
9856 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
9858 * FontLoader.C (getFontinfo): Change the latex font names in order
9859 to match the names of type1inst.
9861 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9863 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9865 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9868 (remove_files_with_extension): ditto
9869 (remove_file): ditto
9872 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9873 document is smaller than the work area height. Do not initialize
9874 static variables to 0.
9876 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9878 * lyx_gui.C (init): give the toolbar tooltips a normal font.
9880 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9881 LFUN_LAYOUT_PARAGRAPHS.
9883 * tabular.C (GetCellFromInset): new method. Finds an inset in a
9884 tabular. It is possible to provide a possible cell, which will
9885 typically be the actcell from the corresponding insettabular
9887 * lyxfunc.C (getStatus): small cleanup; disable
9888 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9891 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9893 * tabular.C (Validate): remove broken optimization (fixes bug #201)
9895 * paragraph.C (startTeXParParams):
9896 (endTeXParParams): new methods. The LaTeX code to
9897 start/end paragraph formatting
9898 (simpleTeXOnePar): call startTeXParParams also when paragraph is
9899 empty (fixes bug #200)
9901 * vspace.C (inPixels): adapt to the change below
9902 (inPixels): [later] more cleanups (remove unused variables)
9904 * lyxlength.C (inPixels): change to use a width and a height as
9907 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9909 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9910 Replaced with \paperwidth
9912 * DepTable.C (insert): add std:: qualifier
9914 2002-01-18 Allan Rae <rae@lyx.org>
9916 * text2.C (removeRow): add comment. Should other refresh_?? vars be
9919 * text.C (drawInset): Turned out I didn't know enough about how
9920 rebreaking worked. This fixes most of the redraw problems. I see
9921 an occasional cursor trail when a line is broken now and the cursor
9922 placement can seem out by a few pixels also after a rebreak.
9924 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9926 * buffer.C (parseSingleLyXformat2Token): update because minipage
9927 width is now a LyXLength
9929 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9931 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9934 2002-01-17 Juergen Vigna <jug@sad.it>
9936 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9938 * BufferView2.C (lockInset): call edit() so that theLockingInset()
9939 is set correctly and the inset is updated correctly.
9941 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9943 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9944 the beginning of the loop.
9946 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
9948 * lyxrc.C: improve help for use_scalable_fonts
9950 2002-01-17 Allan Rae <rae@lyx.org>
9952 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9954 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9956 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9957 make sure to set their inset_owner to the right value (bug #171)
9959 2001-12-12 Ben Stanley <bds02@uow.edu.au>
9962 * DepTable.C: Implement mtime checking to reduce time spent doing
9965 2002-01-16 Juergen Vigna <jug@sad.it>
9967 * tabular.C (GetAdditionalHeight): one of error fixed.
9969 * lyxrc.C (output): small fix in writing use_pspell.
9971 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
9973 * sp_base.h: #include LString.h
9975 2002-01-16 Allan Rae <rae@lyx.org>
9977 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
9978 Can someone check this please?
9980 * text.C (drawInset): It was possible that p.row would be removed by
9981 breakAgainOneRow upsetting a few other settings. There may be another
9982 small tweak possible by setting need_break_row = 0 when p.row has been
9983 removed but I don't know enough about the logic here.
9985 2002-01-15 Allan Rae <rae@lyx.org>
9987 * text.C (insertChar): removed conditional truism.
9989 * BufferView2.C (removeAutoInsets): More tweaks.
9990 cur_par_prev could be a stray pointer. Check for trailing empty line
9991 in case last line was cur_par and only had an error inset on it.
9993 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9995 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9998 * vc-backend.C (most methods):
9999 * exporter.C (Export):
10000 * converter.C (convert):
10002 * LyXSendto.C (SendtoApplyCB):
10003 * lyxfunc.C (dispatch):
10007 * lyx_cb.C (AutoSave):
10009 * BufferView_pimpl.C (MenuInsertLyXFile):
10010 * buffer.C (runChktex): use Buffer::filePath().
10012 * buffer.h: rename filename to filename_; rename filepath to
10013 filepath_ and make it private
10014 (filePath): new method
10016 * buffer.C (writeFile): use fileName()
10019 * lyx_main.C (init): fix starting of LyX when the binary is a
10020 link from so,ewhere else.
10022 * minibuffer.C: include <cctype> for isprint
10024 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10026 * buffer.C (parseSingleLyXformat2Token): changes associated with the
10027 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10028 name clash with InsetCollapsable's width function.
10030 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10032 * lastfiles.C: include <iterator>
10034 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10036 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10039 * buffer.C (makeLaTeXFile): ditto.
10040 Also make loop operation more transparent.
10042 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10044 * ToolbarDefaults.C: remove trailing comma closing namespace.
10046 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10048 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10051 * trans.C (Load): comment out unused variable, allowed.
10053 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10055 * minibuffer.[Ch] (append_char): new method to recieve input from the
10056 drop-down completion browser. If a key was pressed, then recieve this
10057 char and append it to the existing string.
10058 (peek_event): modify the positioning data passed to the completion
10059 browser so that it can be placed above the minibuffer rather than below.
10060 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10062 * LyXAction.C (init): alloe error-next for readonly documents.
10064 * BufferView2.C (ChangeRefsIfUnique): use standard version of
10067 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10069 * bufferlist.C (readFile): create the buffer _after_ checking that
10072 * lyxfunc.C (verboseDispatch): fix handling of arguments
10074 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10076 * lyxrc.C: use string::erase() instead of initializing to "".
10079 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10081 * BufferView_pimpl.h:
10082 * BufferView_pimpl.C:
10085 * text2.C: tell X when we have made a selection for copying
10087 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10089 * BufferView_pimpl.C (MenuInsertLyXFile):
10090 * lyxfunc.C (menuNew):
10092 (doImport): add shortcuts to directory buttons
10094 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10097 * lyxfunc.C (setStatusMessage):
10098 (getStatusMessage): new methods
10099 (getStatus):use setStatusMessage instead of setErrorMessage
10100 (dispatch): when function is disabled, set error message here
10101 [instead of in getStatus previously]
10103 * BufferView_pimpl.C (workAreaButtonRelease): update
10104 toolbar/menubar here too.
10106 2002-01-13 Allan Rae <rae@lyx.org>
10108 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10109 Now seems indestructible. Remaining task is to audit all other
10110 code affected by deleteEmptyParagraphMechanism. One small quirk
10111 left is that an empty document with an error in the preamble can
10112 be made to report an error but no error box appears. I don't know
10114 (removeAutoInsets): Improved comments.
10116 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10119 * Thesaurus.C: update for Aiksaurus 0.14
10121 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10123 * text2.C (firstParagraph): removed member function, all uses
10124 replaces with ownerParagraph
10125 (redoParagraphs): here
10126 (updateInset): here
10127 (toggleAppendix): here
10128 * BufferView2.C (insertErrors): here
10129 (setCursorFromRow): here
10131 2002-01-13 Allan Rae <rae@lyx.org>
10133 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10134 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10135 There is still a way to segfault this although you may have to do this
10136 multiple times: Have an InsetERT with an unknown command in it.
10137 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10138 <down-arrow>, <Enter> again, View->DVI, BANG!
10140 * text2.C (setCursor):
10141 (deleteEmptyParagraphMechanism):
10142 * lyxtext.h (setCursor):
10143 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10144 Making use of the return value may help fix other bugs.
10146 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10148 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10150 * LyXView.C (updateMenubar): call MenuBar::update here
10151 (updateToolbar): but not here
10152 (showState): do not update toolbar/menubar
10154 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10155 should need to care about that.
10157 * lyxfunc.C (verboseDispatch): simplify a bit
10158 (getStatus): have a version which takes a pseudoaction, and
10159 another which requires a (kb_action,string).
10161 * LyXAction.C (retrieveActionArg): make it work also when action
10162 is not a pseudo-action.
10163 (getActionName): simplify a bit
10166 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10168 * lyxfunc.C (verboseDispatch): new families of methods with
10169 several ways to specify a command and a bool to indicate whether
10170 the command name and shortcut should be displayed in minibuffer
10171 (eventually, we could extend that to a finer bitmask like
10172 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10173 (dispatch): the pristine dispatch command which just, well,
10174 dispatchs! Note it still sets its result to minibuffer; I'm not
10177 * lyxfunc.h: remove setHintMessage
10179 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10181 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10183 * BufferView_pimpl.C (specialChar): delete new inset if we have
10184 not been able to insert it.
10186 * kbmap.C: revert to using int instead of kb_action, since all we
10187 are dealing with is pseudo-actions.
10189 * LyXAction.C (searchActionArg): change to return int instead of
10190 kb_action, since the result is a pseudoaction.
10192 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
10194 * buffer.C (insertErtContents): Fix (partially) the font bug.
10196 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10198 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10199 as the other one is broken on my machine!
10201 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
10204 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10206 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
10208 * lyxrc.[Ch]: change names and descriptions of popup font variables to
10209 reflect their actual use. Provide compatibility code for older lyxrc
10212 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10214 change names of popup font variables in line with the changes to lyxrc.C
10216 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10218 * buffer.C (asciiParagraph): avoid outputing a word twice after
10221 * lyxrc.C (getDescription): document that document_path and
10222 template_path can be empty.
10224 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10226 * LaTeXFeatures.C (getMacros):
10227 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10229 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10231 * LaTeXFeatures.C (useFloat): require "float" here instead of in
10233 (getPackages): rename feature "floats" to "float". Use an array to
10234 iterate over 'simple' features (i.e. just a \usepackage). Add
10235 handling of "amsmath" (renamed from "amsstyle").
10237 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
10239 * LaTeXFeatures.C (require): Prevent duplicate entries in the
10242 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
10244 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10245 FuncStaus::FuncStatus & FuncStaus::some_method().
10247 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
10249 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10250 of the func_satus stuff. Edited and massaged in various ways by
10253 * lyxfunc.C (getStatus): use FuncStatus
10255 2002-01-08 Juergen Vigna <jug@sad.it>
10257 * text.C (nextBreakPoint): use function Inset::isChar().
10259 * paragraph.C (TeXOnePar): use function
10260 Inset::forceDefaultParagraphs.
10262 * buffer.C (latexParagraphs): use function
10263 Inset::forceDefaultParagraphs.
10265 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10267 * lyx_gui.C (init): set the style of the menu popups to
10268 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10270 2002-01-07 Juergen Vigna <jug@sad.it>
10272 * text.C (setHeightOfRow): small fix
10273 (prepareToPrint): don't look at alignment if we don't have the place
10276 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10278 * box.C: New file. Move the Box methods and functions out of box.h,
10279 following Lars' suggestion.
10281 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10283 * box.h: #include "support/LOstream.h", needed for inlined function.
10286 * lyxtextclasslist.C: added some using std declarations.
10288 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
10290 * box.h: make signed dimensions to allow insets wider than
10291 the screen (bug #162)
10293 * BufferView_pimpl.C: add some insetHit debug
10295 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
10297 * vc-backend.C: add FIXME
10299 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10301 * lyxfunc.C (getStatus): enable code for showing math font status
10304 2002-01-07 Juergen Vigna <jug@sad.it>
10306 * text.C (nextBreakPoint): removed debug output not needed anymore.
10308 2002-01-06 Juergen Vigna <jug@sad.it>
10310 * text.C (nextBreakPoint): fixed up this function we had this bug
10311 since ever but now hopefully we break row better.
10312 (insertChar): we have to check if an inset is the next char as it
10313 could now happen that a large inset is causing a break.
10315 2002-01-05 Juergen Vigna <jug@sad.it>
10317 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10318 if it doesn't like to be drawed.
10320 2002-01-04 Juergen Vigna <jug@sad.it>
10322 * BufferView2.C (lockInset): forgot to set a cursor.
10324 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10326 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
10328 * FormMathsPanel.C:
10331 * form_maths_panel.C:
10332 * form_maths_panel.h:
10333 * form_maths_panel.fd: implemented sub- and super- buttons in math
10336 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10337 (or ^ space) to be used as in TeX (req'd by André).
10339 * lyxfunc.C: Allow ^ and _ again to be used both as
10340 super/subscript (mathed) and as themselves (in text).
10342 2002-01-03 Allan Rae <rae@lyx.org>
10344 * LyXView.C (updateWindowTitle): Setup a short icon title of either
10345 "LyX" or the filename of the current buffer if it has one. This is a
10346 modified form of John Levon's patch.
10348 * XFormsView.C (setWindowTitle): also set icon title.
10350 * LyXView.h (setWindowTitle): signature changed.
10351 * XFormsView.h (setWindowTitle): ditto.
10353 2002-01-02 Juergen Vigna <jug@sad.it>
10355 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10357 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10359 * screen.C (topCursorVisible): introduce a temp var for
10360 text->cursor.row(), handle the case where this row is null. (kindo
10363 * text2.C (setCursor): add a couple of asserts.
10365 * paragraph.h (inset_iterator): add -> operator
10367 * paragraph.[Ch] (autoDeleteInsets): remove member function
10369 * BufferView2.C (removeAutoInsets): rewrite to handle the old
10370 cursor pos correctly and handle inset deletion by itself.
10371 (insertErrors): move iterator declaration out of for expression
10373 * lyxtextclass.C: add <algorithm>
10375 * Makefile.am: added the new files to sources, removed layout.C
10377 * layout.C: removed file
10379 * layout.h: remove LYX_DUMMY_LAYOUT
10381 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10385 * lyxtextclass.[Ch]:
10386 * lyxtextclasslist.[Ch]: new files
10388 * include order changes to a lot of files, also changes because of
10391 2001-12-27 Juergen Vigna <jug@sad.it>
10393 * buffer.C (asciiParagraph): more fixes.
10395 * tabular.C (ascii): make ascii export support export of only the
10396 data separated by a column-delimiter.
10397 (ascii): better support for ascii export.
10399 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10401 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10403 * tabular_funcs.C: use a "using std::getline" instead of the
10404 previous fix from Angus (necessary for cxx + lyxstring)
10406 2001-12-24 Juergen Vigna <jug@sad.it>
10408 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10410 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10411 problems. First check a minipage also if we have some ert-contents
10412 (not only on par->size(), second set the right depth of the paragraph
10413 on the relink to the root-paragraph-list!
10415 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10416 which then did not anymore update the main paragraphs on undo/redo!
10418 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10420 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10421 code. Support all font-changing funcs (even those which are not in
10422 menu currently). Support for reporting font settings in
10423 mathed (disabled until Andre provides a function on mathed's side).
10425 * func_status.h (toggle): small helper function to set toggle
10428 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
10430 * tabular_funcs.C: getline -> std::getline
10432 2001-12-21 Juergen Vigna <jug@sad.it>
10434 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10435 accessed and could be 0 (I couldn't generate this but it seems
10438 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10440 * tabular_funcs.C: add LIstream.h, move write_attribute to..
10441 * tabular_funcs.h: here and include iosfwd
10443 2001-12-20 Juergen Vigna <jug@sad.it>
10445 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10446 inside inset but undo_par was.
10448 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10450 * Thesaurus.C: always include <config.h> in sources.
10454 * box.h: do not include <config.h> in header files
10456 * text.C (paintLastRow): remove unused variable
10458 * text.C (transformChar):
10460 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10462 * Painter.C (text):
10463 * font.C (width): rewrite to use uppercase() instead of
10466 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10468 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
10470 * lyxfind.C: clean up of find failure position change
10472 2001-12-20 Juergen Vigna <jug@sad.it>
10474 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10476 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10477 (TeXRow): added to LaTeX a single tabular row.
10478 (TeXLongtableHeaderFooter): added to output LT-h/f data.
10479 (Latex): simplified and finally good LT-h/f support.
10480 (various_functions): just small adaptions for LT-h/f support.
10482 * tabular_funcs.[hC]: added and moved here all not classfunctions
10485 2001-12-19 Juergen Vigna <jug@sad.it>
10487 * tabular.[Ch]: better support for longtabular options (not finished
10490 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10492 * text.C (paintLastRow): use the label font instead of the font of
10493 the last character to compute the size of *_BOX. This makes more
10494 sense and avoids a crash with empty paragraphs.
10495 Use Painter::rectangle to draw EMPTY_BOX.
10497 2001-12-19 Juergen Vigna <jug@sad.it>
10499 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10500 the paragraphs if the replaced paragraph is not the first one!
10501 Tried to delete not used paragraphs but does not work yet so for
10502 now it's inside #ifdef's and by default off!
10504 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10506 * MenuBackend.C: include "lyx_main.h" instead of declaring
10507 lastfiles (actually was declared as LastFiles* instead of a
10510 2001-12-17 Juergen Vigna <jug@sad.it>
10512 * tabular.C (AppendColumn): applied John's fix
10514 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
10518 * BufferView_pimpl.h:
10519 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10522 * box.h: new start of class for above
10524 * lyxfunc.C: ignore space-only minibuffer dispatches.
10525 Show the command name when it doesn't exist
10527 * minibuffer.C: don't add empty lines to the history
10529 * minibuffer.C: add a space on dropdown completion
10531 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
10533 * text.C: fix line above/below drawing in insets
10535 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10537 * lyxlength.C (LyXLength): Initialize private variables.
10539 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
10541 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10542 when inserting error insets.
10544 2001-12-13 Juergen Vigna <jug@sad.it>
10546 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10547 actually sometimes the before-paragraph.
10548 (setUndo): don't clear the redostack if we're not actually undoing!
10550 2001-12-06 Juergen Vigna <jug@sad.it>
10552 * undo_funcs.C (textHandleUndo): well after John's hint I got here
10553 and fixed redoing of main paragraph, so we can use it now ;)
10555 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10557 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10559 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10562 2001-12-13 André Pönitz <poenitz@gmx.net>
10565 * undo_func.C: minor cleanup
10567 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10569 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10570 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10571 font in urw-fonts package which is marked as -urw-fontspecific and
10572 does not work (incidentally, changing the encoding in the
10573 fonts.dir of this package to -adobe-fontspecific fixes the
10576 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10577 is a crash when undoing first paragraph (Juergen, please take a
10578 look). THis does not mean the undo fix is wrong, just that it
10581 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10582 the (Paragraph*) version when needed instead of duplicating the
10585 * text.C (workWidth): use Inset::parOwner to find out where the
10586 inset has been inserted. This is a huge performance gain for large
10587 documents with lots of insets. If Inset::parOwner is not set, fall
10588 back on the brute force method
10590 * paragraph_pimpl.C (insertInset):
10591 * paragraph.C (Paragraph):
10592 (cutIntoMinibuffer): set parOwner of insets when
10593 inserting/removing them
10595 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10597 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
10603 * mathed/formulabase.C:
10604 * mathed/math_cursor.[Ch]:
10605 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10608 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10610 * lyxlength.[Ch] (operator!=): new function
10612 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
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-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10628 * tabular-old.C (getTokenValue):
10629 * tabular.C (getTokenValue):
10630 (write_attribute): new versions for LyXLength
10631 (everywhere): adjust the use of widths
10633 * tabular.h: change the type of widths from string to LyXLength
10635 2001-12-11 Ben Stanley <bds02@uow.edu.au>
10637 * paragraph.C: fixed missing line number count when exporting
10638 Environments to LaTeX file
10640 * buffer.C: added informational message for checking line numbers.
10642 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10644 * text2.C (deleteEmptyParagraphMechanism): if there is only one
10645 paragraph, do the 'double space' part, but not the 'empty
10648 * text.C (workWidth): small optimization
10649 (getLengthMarkerHeight): use minimal size for negative lengths.
10651 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
10653 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10655 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10657 2001-12-11 André Pönitz <poenitz@gmx.net>
10660 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10662 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10664 * text2.C: keep selection on a setFont()
10666 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10668 * lyx_cb.C: another bv->text misuse, from insert label
10670 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10673 * kbsequence.C: re-instate nmodifier mask
10675 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
10677 * lyx_main.h: make lyxGUI private.
10679 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10681 * lyxfind.C: place the cursor correctly on failed search
10683 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10685 * text.C (getLengthMarkerHeight): for small heights, the arrows
10686 are not always on top/bottom of the text
10687 (drawLengthMarker): smaller arrows; take the left margin in
10688 account; draw also vfills.
10690 (paintLastRow): remove special code for vfill and standard spaces,
10691 since everything is handled in drawLengthMarker now.
10693 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10695 * buffer.C (insertErtContents): try to handle font and language
10696 interaction a bit better.g
10698 * ColorHandler.C (updateColor): change the hash to cover the whole
10699 LColor enum, ws cleanup
10700 (getGCLinepars): ditto
10701 (getGCLinepars): only lookup in the linecache once.
10703 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
10705 * iterators.C (operator++): Make the iterator more robust
10707 * BufferView2.C (removeAutoInsets): Use paragraph iterators
10709 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10711 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10714 * text.C: better added space drawing
10716 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10719 * BufferView2.C: fix layout combo update on inset unlock
10721 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10723 * Makefile.am: don't compile unused files
10725 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10729 * LyXAction.C: remove old LFUN_LAYOUTNO
10731 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10733 * paragraph_pimpl.h:
10734 * paragraph_pimpl.C: isTextAt() doesn't need font param
10736 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10739 * lyxlex.C: little cleanup
10741 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10743 * BufferView_pimpl.C: fix insertAscii for insets
10745 2001-12-05 Juergen Vigna <jug@sad.it>
10747 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10748 set the right font on the "multi" paragraph paste!
10750 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10756 * lyxlength.C: remove out-commented code.
10758 * BufferView_pimpl:
10772 * vc-backend.C: change "while(" to "while ("
10774 * lyxlength.[Ch]: add zero function to check if length is zero or
10776 * lyxgluelength.C: use it
10778 2001-12-05 Allan Rae <rae@lyx.org>
10780 * lyxlength.C: Attempted a fix for the abs(int) header selection.
10781 Works for 2.95.3, from what I understand of Garst's reports this should
10782 work for other g++ versions. We're screwed if the abs(int) definition
10783 changed between bugfix releases of gcc.
10785 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10787 * text.C: fix chapter label offset !
10789 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10792 * text.C: fix hfill at end of line, clean up
10794 2001-12-04 Juergen Vigna <jug@sad.it>
10796 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10797 that we force an update of the inset and it's owners if neccessary.
10799 2001-12-03 Juergen Vigna <jug@sad.it>
10801 * text.C (rowLast): simplified code
10803 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10805 * lyxfunc.C: fix show options on timeout
10807 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10809 * screen.C (topCursorVisible): scroll half a page when the cursor
10810 reached top of bottom of screen
10812 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
10814 * minibuffer.C: deactivate on loss of focus
10816 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10818 * vspace.[Ch] (operator!=): add operator.
10820 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
10822 * BufferView_pimpl.C: refuse to open an inset when
10823 there's a selection.
10825 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
10827 * BufferView_pimpl.C: allow to click on RHS of full row insets
10829 2001-11-30 Juergen Vigna <jug@sad.it>
10831 * tabular.C (LyXTabular): add a same_id to set the same id's in the
10832 insets for undo reasons.
10834 2001-11-28 André Pönitz <poenitz@gmx.net>
10836 * vspace.[Ch]: cosmetical changes
10838 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10848 * kbsequence.C: part re-write of old kb code
10851 * WorkArea.C: remove Lgb_bug_find_hack
10853 2001-11-30 José Matos <jamatos@fep.up.pt>
10855 * buffer.C (makeDocBookFile): add a comment to point a hack.
10856 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10857 Fixed a double write of labels.
10859 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10862 * LaTeX.h Fixed bug in LaTeX class where it would not
10863 re-run latex if no depfiles were changed, but the .dvi was removed.
10865 2001-11-28 André Pönitz <poenitz@gmx.net>
10867 * all the files from the change on 2001/11/26:
10868 use lyx::layout_type instead of LyXTextClass::size_type
10869 use lyx::textclass_type instead of LyXTextClassList::size_type
10871 2001-11-29 Juergen Vigna <jug@sad.it>
10873 * text.C: added support for paragraph::isFreeSpacing()
10875 * buffer.C: same as above
10877 * paragraph.h: inserted isFreeSpacing() function to enable
10878 FreeSpacing inside InsetERT.
10880 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10881 of the paragraph's in the cut/copy buffer to 0!
10883 * text2.C (removeRow): remove the assert as it can!
10885 * lyxtext.h: added helper function firstRow returning firstrow and
10886 made firstrow private again.
10888 * BufferView2.C (lockInset): don't relock if we're already locked!
10890 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10891 the only paragraph.
10892 (removeRow): added Assert::(firstrow)
10894 * debug.C: forgot to add INSETTEXT here.
10896 2001-11-28 Juergen Vigna <jug@sad.it>
10898 * sp_spell.C (initialize): changed error text to more general
10899 spellchecker command use (not only ispell!)
10901 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10903 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10905 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10907 * vspace.C: initialise lyxgluelength on failure
10909 2001-11-28 Allan Rae <rae@lyx.org>
10911 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10912 declaration & definition that looks like a function declaration.
10914 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10916 * BufferView2.C (copy):
10917 (copyEnvironment): do not clear the selection when doing a copy.
10919 * text.C (paintFirstRow): compilation fix
10921 2001-11-27 Ben Stanley <bds02@uow.edu.au>
10923 * tabular.C (Latex): correct line count when writing latex.
10925 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
10927 * paragraph_pimpl.h:
10928 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10931 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10935 * LColor.C: change vfillline->added_space
10937 * text.C: add markers and text for added space
10939 * vspace.C: fix comment
10941 2001-11-28 André Pönitz <poenitz@gmx.net>
10943 * paragraph.C: whitespace changes
10944 * all the other files from the change on 2001/11/26:
10945 change *::pos_type into lyx::pos_type
10947 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
10949 * buffer.C (parseSingleLyXformat2Token): Set the language to the
10950 language of the document when inserting error insets.
10952 2001-11-26 André Pönitz <poenitz@gmx.net>
10954 * BufferView_pimpl.[Ch]:
10962 * paragraph_pimpl.[Ch]:
10965 * text2.C: reduce header dependencies, introduce type for positions
10967 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10969 * <various>: change to use Alert.h
10971 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
10973 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10974 when encountering an unknown token.
10975 (readLyXformat2): Show an error message if there were unknown tokens.
10977 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
10980 * BufferView_pimpl.C:
10984 * text2.C: use par->isInset()
10986 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10988 * paragraph_pimpl.h:
10989 * paragraph_pimpl.C: cleanup
10991 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10993 * text2.C (removeRow):
10994 * text.C (setHeightOfRow): remove useless (and costly) call to
10997 2001-11-20 Allan Rae <rae@lyx.org>
10999 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11000 Now need Inset*::checkInsertChar() to return true for appropriate
11001 cases so that the characters in the minibuffer will actually be
11004 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11006 * text.C: change the order of the includes.
11007 (workWidth): initialize it at once.
11008 (workWidth): make maxw unsigned
11009 (setHeightOfRow): remove unused variable (inset)
11010 (selectSelectedWord): remove unused variable (inset)
11011 (paintRowText): fix drawing of hfill characters, and clean up a bit.
11013 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11015 * lyxserver.C (emergencyCleanup): do not try to close pipes if
11016 server is not running.
11018 (closeConnection): add debug info when server is disabled.
11020 * ColorHandler.C (getGCForeground): send debug message to GUI
11023 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11025 * kbmap.C (bind): modify because return conventions of
11026 kb_sequence::parse have changed.
11028 * kbsequence.C (parse): only ignore spaces and not any stupid
11029 control character. This avoids tests like s[i] <= ' ', which are
11030 guaranteed to fail with 8bit characters and signed chars.
11031 Change return code to string::npos when there have been no error
11032 (0 was a bad idea when error is at first character)
11034 2001-11-14 José Matos <jamatos@fep.up.pt>
11037 * buffer.C (simpleDocBookOnePar): removed unused argument.
11039 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11041 * text.C (selectNextWordToSpellcheck): do not test explicitely for
11042 insets which are part of a word. Paragraph::isLetter takes care of
11043 that now. Use Paragraph::isInset to identify insets.
11044 (selectSelectedWord): do not test for hyphenation break.
11046 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11047 that protected spaces are considered as spaces.
11049 * paragraph.C (isLetter): cleanup the code for ispell extras; use
11052 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
11055 * lyxserver.C: fix it. and small cleanup.
11057 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11059 * BufferView_pimpl.C: use inline helpers
11062 * LaTeXFeatures.C: fix typos
11065 * Spacing.C: move spacing_string into class
11067 * ToolbarDefaults.C: move stuff into namespace anon
11069 * layout.h: update enum
11071 * lyxfunc.C: use better debug
11073 * minibuffer.h: fix typo
11077 * WorkArea.C: add and use Debug::WORKAREA
11081 * text2.C: code re-organisation, inline helpers
11083 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
11085 * Layout.C: replaced a few cases of std::vector.size() == 0 with
11086 std::vector.empty().
11088 2001-11-09 Allan Rae <rae@lyx.org>
11090 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11091 '\n's after tables. Tabular and ERT inset work now makes this no
11094 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11097 * minibuffer.C: fix crash, improve drop-down completion
11099 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11102 * lyxserver.C: invalidate fd's when doing endPipe()
11104 2001-11-08 José Matos <jamatos@fep.up.pt>
11106 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11107 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11110 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11112 2001-11-07 José Matos <jamatos@fep.up.pt>
11115 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11118 * buffer.C (sgmlOpenTag):
11119 * buffer.C (sgmlCloseTag): removed debug info.
11121 * buffer.h (sgmlOpenTag):
11122 * buffer.h (sgmlCloseTag): made public.
11124 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11126 * buffer.C (saveParamsAsDefaults):
11127 * lyx_cb.C (MenuLayoutSave): remove
11129 * LyXAction.C (init):
11131 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11133 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11135 * buffer.C (setPaperStuff): removed from here...
11137 * bufferparams.C (setPaperStuff): ... and moved there.
11139 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11143 * XFormsView.C: add support for drop-down completion
11145 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11147 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11150 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11152 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11155 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11157 * lyx_main.C: change ref to known bugs
11159 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11161 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11162 to work around older babel problems.
11164 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11166 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11168 2001-10-24 Juergen Vigna <jug@sad.it>
11170 * tabular-old.C (ReadOld): below variable changes reflected.
11172 * tabular.[Ch]: added ltType struct for longtable header/footer
11173 defines and changed all instances where they are used. Added
11174 future support for double top/bottom rows.
11176 2001-10-24 José Matos <jamatos@fep.up.pt>
11178 * buffer.h (docbookHandleCaption):
11179 * buffer.C (docbookHandleCaption): removed unused function.
11180 (makeDocBookFile): moved docbook supported version to v4.1.
11182 2001-10-24 José Matos <jamatos@fep.up.pt>
11185 * tabular.C (docbookRow): new function to export docbook code of a row.
11186 (DocBook): now honors the longtable flags.
11188 2001-10-23 José Matos <jamatos@fep.up.pt>
11191 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11192 of the lyx defined sgml entities used in a docbook/linuxdoc document.
11194 * buffer.C (makeLinuxDocFile):
11195 (makeDocBookFile): reworked the preamble, more clean, and with
11196 support for lyx defined entities. Changed the document declaration
11197 to be more XML friendly.
11199 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11200 if we need to output XML that should be done with a filter.
11202 2001-10-22 Juergen Vigna <jug@sad.it>
11204 * sp_pspell.h (class PSpell): add alive function needed in the
11205 controller to see if the spellchecker could be started.
11207 2001-10-22 Juergen Vigna <jug@sad.it>
11209 * buffer.C (insertStringAsLines): modify the font for inserting
11210 chars in certain conditions by calling checkInsertChar(font).
11212 2001-10-19 Juergen Vigna <jug@sad.it>
11214 * text.C (workWidth): use getRow instead of wrong algorithm.
11215 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11217 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
11222 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11224 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11226 * text.C (workWidth): do not search for the exact row when
11227 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11228 optimization for big documents.
11230 2001-10-18 Juergen Vigna <jug@sad.it>
11232 * text.C (workWidth): new function with added Inset * parameter.
11234 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11236 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11238 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11239 change return type of getColumnNearX.
11242 * text.C (changeRegionCase): use uppercase/lowercase instead of
11245 (rightMargin): simplify code by factoring out the uses of
11250 (appendParagraph): use Paragraph::size_type
11252 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11254 * vspace.C (asLatexString): add a missing break
11256 2001-10-15 Herbert Voss <voss@perce.de>
11258 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11260 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11262 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11265 2001-10-10 André Pönitz <poenitz@gmx.net>
11267 * lyxfunc.C: removed greek_kb_flag.
11269 2001-10-10 Herbert Voss <voss@perce.de>
11271 * lyx_main.C: delete global string help_lyxdir.
11273 2001-10-09 Herbert Voss <voss@perce.de>
11275 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11277 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11279 * lyx_main.C: added global string help_lyxdir.
11281 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11283 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
11285 * lyxrc.C (set_font_norm_type): support iso8859-4
11287 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
11289 * LaTeX.C (deplog): add another regex for MikTeX
11291 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
11293 * lyxrc.C (set_font_norm_type): support iso8859-3
11295 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11297 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11299 * LaTeXFeatures.C: remove special case of french and index
11301 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11302 before \begin{document}). This solves several incompatibilities.
11304 2001-10-03 Garst Reese <reese@isn.net>
11306 * lyx_cb.C: change CheckTex error msg.
11308 2001-10-03 José Matos <jamatos@fep.up.pt>
11310 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11312 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11314 * .cvsignore: update
11316 * lyx_main.C (commandLineVersionInfo): use new style version info.
11318 * buffer.C (writeFile):
11320 (makeLinuxDocFile):
11321 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11323 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11325 * version.h: update to use stuff in version.C
11327 * version.C.in: new file. Contains version information determined
11328 at compile time. This is a merging of version.h and
11331 2001-10-03 Juergen Vigna <jug@sad.it>
11333 * BufferView_pimpl.C (update): don't change "dirty" status in
11336 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
11338 * WorkArea.C (c-tor): re-position version string slightly.
11340 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
11342 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11343 revert to previous code.
11345 WorkArea.[Ch]: (show, destroySplash): methods removed.
11347 WorkArea.C: rework code so that it's an amalgam of the codes before and
11348 after the splash screen was moved to WorkArea.
11350 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11353 * vspace.C (inPixels):
11356 * buffer.C (insertStringAsLines):
11357 (asciiParagraph): fix types to be large enough
11359 * lyxlex_pimpl.h: change member status from short to int
11361 * layout.h: fix type of endlabeltype
11364 * kbsequence.C (parse): change return type to string::size_type
11366 * LaTeX.C (updateBibtexDependencies): comment out unneeded
11369 * Bullet.C (bulletSize):
11370 (bulletEntry): do not use short ints as parameters
11372 * BufferView2.C (insertLyXFile): change a char to an int.
11374 * WorkArea.C (WorkArea): remove unneeded floats in computation
11376 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
11378 * buffer.C (asciiParagraph): Treat '\\' as other chars.
11380 * paragraph.C (asString): Do not ignore newline/hfill chars when
11381 copying to the clipboard.
11383 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
11385 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11386 after a multi-line inset.
11388 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
11390 * paragraph.C (validate): Set NeedLyXFootnoteCode
11392 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11394 * lyxfont.C (LyXSizeNames): changed increase-error to increase
11395 and decrease-error to decrease.
11397 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11399 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11400 it more readable (should be equivalent)
11402 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
11404 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11406 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11408 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11409 of a cursor (row, etc.) after a character has been deleted
11410 (deleteEmptyParagraphMechanism): call the method above on _all_
11411 cursors held by the LyXText when a double space has been
11414 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11416 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11418 (resizeCurrentBuff): remove code to destroy the old splash dialog.
11420 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11421 background. Use greyOut() and the new show() methods to toggle between
11422 the foreground and background. Add code to remove the splash after
11423 its initial showing.
11425 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11426 (create_forms): no longer call Dialogs::showSplash.
11428 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11430 * .cvsignore: add version_info.h
11432 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11434 * version_info.h.in: new file
11436 * Makefile.am: add version_info.h.in
11438 * lyx_main.C (commandLineVersionInfo): use version_info defined in
11439 version_info.h instead of VERSION_INFO
11441 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
11443 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11444 The ERT inset now returns string().
11446 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
11448 * lyxtext.h, text.C (selectNextWord): renamed as
11449 selectNextWordToSpellcheck.
11451 * text.C (selectNextWordToSpellcheck): Modified to not select
11452 words inside an ERT inset.
11454 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11456 * lyx_cb.C (MenuLayoutSave): change a bit the question
11458 * sp_base.h: include <sys/types.h>
11460 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
11462 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11464 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
11466 * several files: fix typos in user-visible strings
11468 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11470 * text2.C (pasteSelection): do not set the selection, since it
11471 will be cleared later. Actually, the intent was to fix the way the
11472 selection was set, but I figured rmoving the code was just as good.
11474 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
11476 * FontLoader.C (available): Check if font is available without
11479 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11481 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11483 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
11485 * lyxrc.[Ch]: added display_graphics variable and associated code.
11487 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11489 * bufferparams.C (hasClassDefaults): new method. Returns true if
11490 the buffer parameters correspond to known class defaults
11492 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
11494 * XFormsView.C (show): set minimum size to the main window.
11496 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11498 * text2.C (copySelection):
11500 * lyxfind.C (LyXReplace):
11501 * BufferView_pimpl.C (Dispatch): pass the correct flag to
11502 LyXText::selectionAsString.
11504 * paragraph.C (asString): add "label" argument to the second form
11506 * text2.C (selectionAsString): add "label" argument and pass it to
11507 Paragraph::asString.
11509 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11511 * lyx_main.C (commandLineHelp): remove version information
11513 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
11515 * lyx_main.C: add -version commandline option
11517 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11519 * paragraph.h: make the optional constructor arg required instead.
11520 some modifications to other files because of this.
11522 * minibuffer.C (C_MiniBuffer_peek_event): make it static
11524 * lyxserver.C (C_LyXComm_callback): make it static
11526 * lyx_main.C (error_handler): make it static
11528 * lyx_gui.C (LyX_XErrHandler): make it static
11530 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11532 * WorkArea.C: make the extern "C" methods static.
11534 * Makefile.am (lyx_LDADD): simplify
11536 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11538 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11539 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11541 * LyXAction.C (init):
11542 * lyxfunc.C (dispatch): associated code removal.
11544 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11546 * lyxfont.h (isSymbolFont): shut off warning
11548 * text.C (setHeightOfRow):
11549 (getVisibleRow): fix crash with empty paragraphs which have a
11552 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
11554 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11557 2001-09-04 José Matos <jamatos@fep.up.pt>
11560 * tabular.C (docbook): rename docBook method to docbook.
11562 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11564 * Makefile.am: add dependencies to main.o.
11566 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
11568 * FontLoader.C (available): Return false if !lyxrc.use_gui
11570 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
11572 * FontInfo.C (query):
11573 * converter.C (view):
11574 * importer.C (Import):
11575 * exporter.C (Export): Can not -> cannot.
11577 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
11579 * BufferView_pimpl.C: allow to create index inset even if
11582 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11584 * buffer.C (getLists): replace boost::tie code with an explicit pair
11585 as boost::tie can break some compilers.
11587 * iterators.h: Added a std:: declaration to the return type of
11590 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
11592 * lyxrc.C: add help for view_dvi_paper_option, default to safe
11595 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
11597 * iterators.[Ch]: New files. Provide paragraph iterators.
11599 * buffer.C (changeLanguage): Use paragraph iterators.
11600 (isMultiLingual): ditto
11602 * BufferView2.C (ChangeInsets): Use paragraph iterators.
11604 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
11606 * FontLoader.C: Support for cmr font.
11608 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
11610 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11611 (available): New method.
11613 * FontInfo.C (getFontname): Use scalable fonts even when
11614 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11617 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11619 * converter.C (Formats::view): reverted! Incorrect fix.
11621 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11623 * converter.C (Formats::view): only output the -paper option
11624 if the dvi viewer is xdvi, thereby fixing bug #233429.
11626 2001-08-23 Herbert Voss <voss@perce>
11628 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11630 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
11632 * Spacing.h (Spacing): Set space to Default on in the default
11635 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
11637 * vc-backend.h (RCS::versionString): add RCS to version
11638 (CVS::versionString): add CVS to version
11640 * vc-backend.C (scanMaster): do not add CVS to version.
11641 (scanMaster): do not add RCS to version
11643 * lyxvc.C (versionString): new method
11645 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11647 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11649 * Spacing.C (set): initialize fval
11651 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
11653 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11656 2001-08-16 Juergen Vigna <jug@sad.it>
11658 * lyxfunc.C (dispatch): implemented the new FINISHED states.
11660 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11662 * BufferView_pimpl.C:
11665 * text2.C: setParagraph takes linespacing now
11667 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
11669 * LyxAction.C: add internal LFUN_CITATION_INSERT
11671 * LyXView.C: actually apply fix
11673 * bufferlist.C: fix open non-existent file
11675 * lyxfind.C: fix indentation
11677 * lyxfunc.C: remove unneeded assert, fix typo
11679 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11681 * MenuBackend.C: use "Floatname List"
11683 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
11685 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11686 when converting LaTeX layout to insetERT.
11687 Generate a non-collapsed float when reading old float
11689 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11691 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11694 2001-08-13 Juergen Vigna <jug@sad.it>
11696 * text.C (fill): return 0 instead of 20 as this seems to be the more
11699 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11701 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11704 2001-08-13 Juergen Vigna <jug@sad.it>
11706 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11708 (SearchBackward): comment out the unlocking of the inset_owner this
11709 should not be needed!
11711 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
11713 * Many files: Remove inherit_language, and add latex_language
11715 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11716 collapsible insets.
11718 2001-08-10 Juergen Vigna <jug@sad.it>
11720 * text.C (prepareToPrint): fixed hfill-width in draw!
11722 * BufferView2.C (selectLastWord): save the selection cursor as this
11723 now is cleared in the function LyXText::clearSelection!
11725 2001-08-08 Juergen Vigna <jug@sad.it>
11727 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11728 BACKSPACE type functions.
11730 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11731 is only cutted from the document but not put in the cut-buffer, where
11732 still the old stuff should be.
11734 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11736 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11738 * tabular.C (SetWidthOfCell): fixed special case where the width
11740 (LeftLine): handle '|' in align_special.
11742 (LeftAlreadyDrawed): ditto
11743 (SetWidthOfCell): ditto
11745 2001-08-07 Juergen Vigna <jug@sad.it>
11747 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11749 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11751 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11752 * lyxlex.[hC]: ditto
11754 2001-08-06 Juergen Vigna <jug@sad.it>
11756 * text.C (getVisibleRow): fix up row clearing a bit.
11758 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11760 * minibuffer.C: make sure the X server sees the changes in the input.
11762 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11764 * paragraph.C (getFont): split into...
11765 (getLabelFont): this
11766 (getLayoutFont): and this
11767 * paragraph_pimpl.C (realizeFont): calling this
11769 * text2.C (getFont): split into...
11770 (getLayoutFont): this
11771 (getLabelFont): and this
11772 (realizeFont): all three calling this
11774 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11777 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11779 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11781 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
11783 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11784 layouts from the Quote inset insertion.
11786 2001-08-03 Juergen Vigna <jug@sad.it>
11788 * BufferView_pimpl.C (update): do the fitCursor only at the end!
11790 * screen.C (drawFromTo): don't call fitcursor here and do the loop
11791 only if status not is already CHANGED_IN_DRAW (second level).
11793 * text.C (draw): don't set the need_break_row when inside an
11796 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11798 * buffer.C (parseSingleLyXformat2Token): handle more latex
11801 * bufferview_funcs.[hC]: change function names to
11802 begin with small char, adjust other files.
11804 2001-08-02 André Pönitz <poenitz@gmx.net>
11807 BufferView_pimpl.C: remove broken special code for math-greek
11809 2001-08-02 Juergen Vigna <jug@sad.it>
11811 * BufferView_pimpl.C (update): redone this function so that we
11812 update the text again if there was a CHANGE_IN_DRAW.
11814 * screen.C (cursorToggle): removed LyXText parameter and recoded.
11815 (drawFromTo): added a new internal bool which is used by draw() and
11817 (general): some cursor drawing problems fixed.
11819 2001-08-01 Juergen Vigna <jug@sad.it>
11821 * lyxfind.C (LyXFind): fixed
11822 (SearchForward): ditto
11823 (SearchBackward): ditto
11825 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11826 spurius drawing of the cursor in the main area.
11828 * text2.C (status): small fix which could lead to a segfault!
11829 (clearSelection): remove unneeded BufferView param.
11831 2001-08-01 André Pönitz <poenitz@gmx.net>
11833 * lyxfunc.C: small change due to changed mathed interface
11835 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11837 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11839 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
11841 * lyxfunc.c: fail gracefully if file doesn't exist
11846 * BufferView_pimpl.C: IsDirWriteable() proto changed
11848 * LyXView.C: fix updateWindowTitle() to store the last title
11850 2001-07-31 Juergen Vigna <jug@sad.it>
11852 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11853 the font (wrong since using of Paragraph::highestFontInRange).
11855 * paragraph.C (highestFontInRange): added a default_size parameter.
11857 * text.C (getVisibleRow): minor clear row changes (still not perfect).
11858 (setHeightOfRow): reformat
11860 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11862 * converter.[hC] + affected files: move to (inital-char)lowercase
11865 * ParagraphParameters.C (ParagraphParameters): remove commented code
11867 * PainterBase.[Ch]: remove commented code
11869 * LaTeXFeatures.h: add "bool floats" for float.sty
11871 * LaTeXFeatures.C (LaTeXFeatures): init floats
11872 (require): handle float
11873 (getPackages): do it with floats
11875 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11877 * BufferView_pimpl.C (Dispatch): improve handling of
11878 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11880 * commandtags.h: #include lyxfont.h here temporarily to avoid
11883 * bufferlist.h: include LString.h here.
11885 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11887 * text2.C (getStringToIndex): new method.
11889 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
11891 * *: Reduced header file dependencies all over.
11893 2001-07-30 Baruch Even <baruch@lyx.org>
11895 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11897 2001-07-29 Baruch Even <baruch@lyx.org>
11899 * buffer.C (readInset): Changed GRAPHICS to Graphics.
11901 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11903 * ParameterStruct.h (endif): add a default constructor to make
11904 sure that all variables is initialized.
11906 * ParagraphParameters.C (ParagraphParameters): adjust
11908 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11910 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11911 index; also, check that there is something to index, and that it
11912 does not span over several paragraphs.
11913 (doubleClick): use WHOLE_WORD_STRICT for double click.
11915 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11917 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11920 2001-07-26 Baruch Even <baruch@lyx.org>
11922 * buffer.C (readInset): Changed to call up InsetGraphics when reading
11923 an InsetFig figure, backwards compatible reading of old figure code.
11925 2001-07-27 Juergen Vigna <jug@sad.it>
11927 * text2.C: font.realize function adaption.
11929 * text.C (draw): add a warnings lyxerr text if needed.
11931 * layout.C: font.realize function adaption.
11933 * language.C: add inherit_language and implement it's handlings
11935 * bufferview_funcs.C (StyleReset): remove language parameter from
11936 font creation (should be language_inherit now).
11938 * bufferparams.C (writeFile): handle ignore_language.
11940 * paragraph.C (getFontSettings): the language has to be resolved
11941 otherwise we have problems in LyXFont!
11943 * lyxfont.C (lyxWriteChanges): added document_language parameter
11944 (update): removed unneeded language parameter
11946 * paragraph.C (validate): fixed wrong output of color-package when
11947 using interface colors for certain fonts in certain environments,
11948 which should not seen as that on the final output.
11950 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
11952 * BufferView_pimpl.C:
11957 * LyXAction.C: add thesaurus support
11960 * lyxfind.C: add "once" parameter, for thesaurus, to not
11961 move to the next match
11963 2001-07-26 Juergen Vigna <jug@sad.it>
11965 * lyxfont.C (realize): honor ignore_language too!
11968 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11970 * text.C (draw): one place more for ignore_language to not draw
11973 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
11975 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11977 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11979 * buffer.C (parseSingleLyXformat2Token): a more general fix for
11980 the minipage conversion problem.
11982 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11984 * buffer.C (parseSingleLyXformat2Token): check minipage if we
11987 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11989 * BufferView.h: don't forward declare WorkArea
11991 * BufferView.C: don't include WorkArea.h
11993 2001-07-25 André Pönitz <poenitz@gmx.net>
11997 * lyxfunc.C: new LFUN 'math-space'
11999 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12001 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12003 * text2.C (toggleInset): call open/close
12005 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12007 * lyxfunc.C (dispatch): add debug for the disabled case
12009 * font.C (buttonText): make similar to rectText
12011 * buffer.C (readInset): comment out parsing of insetlist and
12014 * PainterBase.C (rectText): small correction
12016 * BufferView_pimpl.C: comment out insettheorem and insetlist
12017 * LyXAction.C: ditto
12018 * commandtags.h: ditto
12020 2001-07-24 Juergen Vigna <jug@sad.it>
12022 * text.C (draw): honor the ignore_language.
12024 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12026 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12028 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12031 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12033 * lyxtext.h: remove unused (and unimplemented) methods
12035 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12037 * text.C (getVisibleRow): honor background color
12040 * Painter.h: remove default color argument for fillRectangle
12042 * text.C (backgroundColor): new method
12044 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12046 * text.C (getVisibleRow): adjust
12048 * font.[Ch] (rectText): new method, metrics
12049 (buttonText): new method, metrics
12051 * PainterBase.[hC]: make rectText and buttonText always draw and take
12054 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12056 * ToolbarDefaults.C (read):
12057 * MenuBackend.C (read): allow escaping in all strings
12059 * BufferView_pimpl.C (insertAndEditInset): new method.
12060 (Dispatch): use insertAndEditInset whenever appropriate.
12062 * BufferView_pimpl.C (insertNote): removed
12064 * BufferView_pimpl.C (smartQuote): new method, moved from
12065 BufferView; if an insetquote cannot be inserted, insert a '"'
12068 * BufferView2.C: remove insertCorrectQuote();
12070 * lyxfunc.C (getStatus): Add support for all remaingin
12071 inset-insert lfuns.
12073 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12075 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12076 command (necessary to pass " as parameter of self-insert.
12078 * text.C (selectWordWhenUnderCursor):
12079 (selectWord): add word_location parameter
12080 (selectWordWhenUnderCursor): same + remove special code for word
12082 (selectNextWord): use kind() to guess type of insetspecialchar,
12085 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12086 (insertErtContents): create ert insets as collapsed.
12087 (readInset): better compatibility code for Info inset.
12089 2001-07-20 Juergen Vigna <jug@sad.it>
12091 * lyxfunc.C (dispatch): use always LyXFind now!
12093 * text2.C (init): add a reinit flag so that the LyXText can be
12094 reinited instead of deleted and reallocated (used in InsetText).
12096 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12102 2001-07-18 Juergen Vigna <jug@sad.it>
12104 * text.C (selectNextWord): handle insets inside inset by calling
12105 always the bv->text functions so that we can go up the_locking_inset!
12107 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12108 in strange locations when inside an inset!
12110 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12111 handling to include insets.
12113 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12115 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12117 * LyXAction.C (init):
12119 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12120 LIGATURE_BREAK, since the name is so stupid.
12122 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12124 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12127 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12129 * sp_form.[Ch]: remove.
12131 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12133 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12136 * src/buffer.C (readInset): ditto.
12138 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12140 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12141 menuSeparator(), endOfSentenceDot(), ldots() and
12142 hyphenationPoint(), which are therefore removed.
12143 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12145 * LyXAction.C (init):
12146 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12148 * paragraph.C (getWord): removed.
12150 * BufferView_pimpl.C (Dispatch): use last word or selection for
12151 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12153 * lyx_main.C (queryUserLyXDir): do not ask before creating
12154 user_dir, except if it has been named explicitely.
12156 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12158 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12159 a document of zero size.
12161 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12163 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12164 approriately in the c-tor and in require().
12165 (getPackages): output the appropriate LaTeX for natbib support.
12167 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12168 variables "use_natbib" and "use_numerical_citations" when reading the
12170 (readInset): read the various natbib cite commands.
12171 (validate): white-space change.
12173 * bufferparams.[Ch]: new variables "bool use_natbib" and
12174 "bool use_numerical_citations".
12175 (writeFile): output them in the LyX file.
12177 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12179 * lyxfunc.C (getStatus): add support for all the inset insertion
12182 * text2.C (insertInset):
12183 * paragraph.C (insetAllowed):
12184 * BufferView_pimpl.C (insertInset): update to take in account the
12185 renaming of insertInsetAllowed
12187 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12189 * text2.C (getInset): new method. returns inset at cursor position.
12191 * BufferView_pimpl.C (Dispatch): changes because of this.
12193 * LyXAction.C (init): rename open-stuff to inset-toggle.
12195 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12197 * text2.C (toggleInset): renamed from openStuff; use
12200 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
12202 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12204 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12206 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
12208 * buffer.C (readLyXformat2): Add filename to the error dialog
12210 2001-07-18 Juergen Vigna <jug@sad.it>
12212 * tabular.C (GetCellNumber): put an assert here instead of the check!
12214 2001-07-17 Juergen Vigna <jug@sad.it>
12216 * BufferView_pimpl.C (toggleSelection): adapted too.
12218 * text.C (selectNextWord): adapted for use with insets.
12219 (selectSelectedWord): ditto
12221 2001-07-17 Juergen Vigna <jug@sad.it>
12223 * sp_spell.C (PSpell): fix initialitation order.
12225 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12227 * paragraph.C: spacing
12229 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
12231 * sp_spell.C: repair language selection for pspell
12233 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12235 * lyxfunc.h: change more methods to begin with lower char.
12237 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
12239 * buffer.C (parseSingleLyXformat2Token): Generate error insets
12240 for unknown layouts.
12242 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
12244 * buffer.C (readLyXformat2): Generate an error dialog if there are
12247 2001-07-16 Juergen Vigna <jug@sad.it>
12249 * sp_spell.C: always compile ISpell part.
12251 * lyxrc.C: added use_pspell entry and it's handling.
12253 2001-07-13 Juergen Vigna <jug@sad.it>
12255 * sp_spell.C: removed double includes.
12257 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
12259 Consistent use of Lsstream.h:
12260 * Lsstream.h: added using std::stringstream for consistencies sake.
12262 * buffer.C: removed using std::stringstream
12264 * lyxfont.C (stateText):
12265 * paragraph.C (asString):
12266 * text.C (selectNextWord, selectSelectedWord):
12267 * text2.C (setCounter):
12268 * vspace.C (asString, asLatexString):
12269 std::ostringstream -> ostringstream.
12271 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12273 * LyXAction.C: add LFUN_HELP_ABOUTLYX
12274 * commandtags.h: add LFUN_HELP_ABOUTLYX
12275 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12277 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12279 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12281 * lyx_gui_misc.C: remove spellchecker
12282 * lyxfunc.C: showSpellchecker
12284 * sp_ispell.h: added
12285 * sp_pspell.h: added
12286 * sp_spell.C: added
12287 * sp_form.[Ch]: removed
12288 * spellchecker.[Ch]: removed
12290 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
12292 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12294 (simpleTeXSpecialChars): Simply print the input character without
12295 any special translation if pass_thru is set.
12297 * layout.h: Added bool pass_thru to layout class for being able to
12298 implement pass through of a paragraph for Literate Programming.
12300 * layout.C: add LT_PASS_THRU to LayoutTags enum.
12301 * layout.C (LyXLayout): set pass_thru to flase in constructor.
12302 * layout.C (Read): add "passthru" to list of layout tags and add
12303 code to set the pass_thru boolean when it is read.
12305 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12307 * trans_decl.h: remove allowed from KmodInfo
12309 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12310 remove allowed code
12313 * paragraph_pimpl.C (erase): use boost::prior
12315 * Painter.C (text): use data() instead of c_str() when length is
12317 * WorkArea.C (putClipboard): ditto
12318 * font.h (width): ditto
12320 * BufferView2.C: use it-> instead of (*it). for iterators
12322 * paragraph_pimpl.C: ditto
12323 * paragraph.C: ditto
12324 * minibuffer.C: ditto
12325 * language.C: ditto
12327 * encoding.C: ditto
12328 * counters.C: ditto
12329 * converter.C: ditto
12331 * Variables.C: ditto
12332 * TextCache.C: ditto
12333 * MenuBackend.C: ditto
12334 * LyXAction.C: ditto
12336 * FloatList.C: ditto
12337 * DepTable.C: ditto
12338 * ColorHandler.C (LyXColorHandler): ditto
12340 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12342 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12344 * text2.C (openStuff): reintroduce this method (which had been
12345 nuked in NEW_INSETS frenzy).
12347 * lyxfunc.C (Dispatch): when an action has not been handled, use
12348 its name in the error message, not its number.
12350 * paragraph.C (inInset): change method name to begin with lowercase.
12353 * text2.C: updates because of this.
12355 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12357 * ToolbarDefaults.C (add): add spaces in error message
12359 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12361 * buffer.C (readLyXformat2): initialize the ert comp. variables.
12362 (readLyXformat2): rename return_par to first_par, use lyxlex's
12363 pushToken and remove the manual push handling.
12364 (parseSingleLyXformat2Token): add another ert comp. variable:
12365 in_tabular, rename return_par to first_par. handle newlines better
12367 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12369 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12371 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12373 * text2.C (getParFromID): removed
12375 * buffer.C (getParFromID): new method moved form lyxtext.
12376 * BufferView2.C (insertErrors): adjust
12377 (setCursorFromRow): adjust
12378 * BufferView_pimpl.C (restorePosition): adjust
12379 * lyxfunc.C (Dispatch): adjust
12380 * undo_funcs.C (textUndo): adjust
12382 (textHandleUndo): adjust
12383 (textHandleUndo): adjust
12385 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12387 * buffer.C: up' the LYX_FORMAT
12389 * lyxfont.h: turn NO_LATEX on as default
12391 * buffer.C (insertErtContents): new methods of tex style compability.
12392 (parseSingleLyXformat2Token): use it several places.
12393 * tabular.C (OldFormatRead): and here
12395 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12397 * text2.C: remove some commented code.
12400 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12401 * trans.C: changes because of the above.
12403 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
12405 * text2.C (setCounter): Fix counters bug with bibliography layout.
12407 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12409 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12410 own member functions
12411 (simpleTeXSpecialChars): ditto
12413 2001-07-06 Juergen Vigna <jug@sad.it>
12415 * a lot of files: changed the access to LyXText::status and the
12416 call of undo-functions.
12418 * undo.[Ch]: added a inset_id to the undo informations.
12420 * undo_funcs.[Ch]: added and moved here all undo functions.
12422 * lyxtext.h: give the status enum a weight, made status_ a private
12423 variable and made accessor functions for it, removed the whole bunch
12424 of undo-functions as they are now in their own file, make some
12425 functions publically available. Added function ownerParagraph with
12428 * paragraph.[Ch]: added "bool same_ids" to the constructor,
12429 made InInset() a const function, added getParFromID() function.
12431 * buffer.[Ch]: added const version for inset_iterator functions,
12432 added getInsetFromID() function.
12434 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12435 changed undo functions for new version.
12437 2001-07-05 Juergen Vigna <jug@sad.it>
12439 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12440 unknow mechanism does not call the proper constructor but only this
12441 one also if I request the other!?
12443 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12445 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12447 * text2.C (LyXText): use initialization lists.
12449 * lyxtext.h (Selection): initialize set_ and mark_
12450 (init): remove method
12452 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
12454 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12456 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12458 * screen.[Ch]: change method names to begin with lowercase
12460 * BufferView_pimpl.C (updateScrollbar): simplify further and
12461 hopefully make it a bit faster.
12463 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12465 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12466 calling directly xforms functions.
12468 * Painter.C (Painter):
12469 * lyx_cb.C (MenuWrite):
12470 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12473 * lyx_gui.C: remove bogus guiruntime extern declaration.
12475 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12477 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12479 (redoDrawingOfParagraph): ditto
12480 (redoParagraphs): ditto
12481 (cutSelection): don't create a object for CutAndPaste use the
12482 static method directly
12483 (pasteSelection): ditto
12485 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12488 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12490 * modifications to some other files because of this.
12492 * Makefile.am (lyx_SOURCES): add XFormsView
12494 * XFormsView.[Ch]: new files
12496 * LyXView.[Ch]: make LyXView a base class for the gui handling for
12497 the main window. Move the gui dependent stuff to XFormsView
12499 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12501 * tabular.C (GetCellInset): update cur_cell also in the row/col
12502 version of this function.
12504 * lyxfunc.C: no need to include figure_form.h here.
12510 * lyxvc.C: no need to include forms.h here.
12512 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12514 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12516 * lyxfunc.C (Dispatch):
12518 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12519 constructor argument.
12521 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12523 * paragraph.C (Paragraph): dont't clear, and just set layout.
12524 (makeSameLayout): use params's copy contructor.
12526 * ParagraphParameters.[Ch] (makeSame): delete method
12528 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
12530 * Variables.[Ch]: fix indentation, rename set to isSet
12532 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12534 * lyxfunc.C (Dispatch): fix typo
12536 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12538 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12541 * bufferlist.C: include assert.h for emergencyWrite().
12543 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12545 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12546 give up at last (bug #425202) !
12548 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
12554 * spellchecker.C: strip spellchecker options and bring up
12555 preferences tab instead
12557 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12559 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12560 the istringstream constructor
12562 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12564 * paragraph.C (getLayout): fix return value
12566 * paragraph.h: do not declare getLayout as inline.
12568 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12570 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12572 * lyxcursor.h (operator<): new func
12573 (operator>): new func
12574 (operator>=): new func
12575 (operator<=): new func
12577 * text.C (changeCase): use selection.start and selection.end
12578 (changeRegionCase): require from to be <= to. Require par to be a
12581 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12583 2001-06-27 Juergen Vigna <jug@sad.it>
12585 * text.C (cursorLeftOneWord): changed to return the cursor and added
12586 overlay with BufferView * parameter which calls this one.
12588 (selectWord): use new getWord function.
12589 (changeCase): renamed from changeWordCase as and extended to work
12590 also on selections.
12592 * lyxtext.h: added enum word_location
12594 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12595 changeCase as this operates now also on selections.
12597 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
12599 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12601 * many files: send debug output to Debug::INFO instead of
12604 * converter.C (View):
12606 (Move): send debug output to Debug::FILES instead of console.
12608 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
12610 * lyxfunc.C (getStatus): use func_status
12612 * func_status.h: new header, describing the results of
12613 LyXFunc::getStatus;
12615 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12618 2001-06-25 The LyX Project <jug@sad.it>
12620 * buffer.C (sgmlOpenTag):
12622 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
12624 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12626 * text2.C: remove some dead code
12628 * tabular.C (GetCellInset): store the last cell checked (gotten)
12630 * tabular.h: add the helper for the speedup
12632 * lyxtext.h: remove some dead code
12634 2001-06-26 The LyX Project <Asger>
12636 * paragraph.C: Change export to LaTeX of alignment to
12637 \begin{center} and family for better roundtrip work with reLyX.
12639 * Tune the math drawing a bit.
12641 2001-06-25 The LyX Project <Asger>
12643 * LColor.C (LColor): New color for math background. New color
12646 2001-06-25 The LyX Project <jug@sad.it>
12648 * lyxfunc.C (MenuNew): remove extra check for .lyx file
12650 * lyxfunc.C (Open):
12651 * bufferlist.C (newFile): do not restrict to files ending with
12654 * BufferView_pimpl.C (MenuInsertLyXFile):
12656 2001-06-24 The LyX Project <jug@sad.it>
12658 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12661 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12663 * lyxtext.h: rename most methods to begin with a small char.
12664 Lots of changes because of this.
12666 * paragraph.C (Paragraph): do not call fitToSize
12667 (erase): call Pimpl::erase
12668 (insertChar): call Pimpl::insertChar
12669 (insertInset): call Pipl::insertInset
12670 (breakParagraph): do not call fitToSize
12671 (breakParagraphConservative): do not call fitToSize
12672 (fitToSize): remove method
12674 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12676 2001-06-24 The LyX Project <Asger>
12678 * Fix Qt compilation^2
12680 2001-06-24 The LyX Project <jug@sad.it>
12682 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12683 depthHook(getDepth()-1).
12686 * ParagraphParameters.h:
12687 * ParameterStruct.h: change type of depth to unsigned int ==
12688 depth_type. Many adaptations to other files before of that.
12690 2001-06-24 The LyX Project <Asger>
12692 * Fix Qt compilation.
12694 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12696 * paragraph.h: renamed several methods to begin with small letter.
12697 several changes to many parts of the code because of this.
12699 2001-06-23 The LyX Project <jug@sad.it>
12701 * text2.C (InsertStringAsLines): renamed from InsertStringA;
12702 rewritten to discard all double spaces when KeepEmpty is off
12703 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12704 to only handle newlines but not fiddle with spaces and friends.
12706 * lyxfunc.C (MenuNew): when doing 'new from template', use
12707 template_path as default directory
12709 2001-06-23 The LyX Project <Asger>
12711 * Clean-up of header file includes all over
12712 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12714 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12716 * paragraph.h: renamed from lyxparagraph.h
12718 2001-06-23 Asger <lyx@violet.home.sad.it>
12720 * Buffer.h: Removed Buffer::resize
12721 * BufferList.h: Removed BufferList::resize
12722 * LyXView.h: Added LyXView::resize. This way, we will only reflow
12723 the document lazily when we change the width, or the font settings.
12725 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12727 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12729 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12731 * buffer.h: remove out of date comment
12733 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12736 * screen.C: fix "theoretical" GC leak
12738 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12740 * LaTeX.C (scanAuxFile):
12741 (deplog): remove trailing \r when reading stream (useful under
12744 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
12746 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12747 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12748 and BufferView::theLockingInset(Inset*), so should use them and not
12749 access bv_->text->the_locking_inset directly.
12751 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12753 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12756 * tex-defs.h: remove old unused file
12758 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
12760 * BufferView_pimpl.C: fix typo, remove minibuffer message
12761 when buffer has loaded
12763 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12765 * lyxfunc.C (Dispatch): use stringstream
12766 (MenuNew): use stringstream
12767 (Open): use stringstream
12769 * importer.C (Import): use stringstream
12771 * bufferview_funcs.C (CurrentState): use stringstream
12773 * LaTeX.C (run): use stringstream
12775 * BufferView_pimpl.C (savePosition): use stringstream
12776 (restorePosition): use stringstream
12777 (MenuInsertLyXFile): use stringstream
12779 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
12792 * vspace.C: removed // -*- C++ -*- as first line.
12795 * version.h: added // -*- C++ -*- as first line.
12797 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12799 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12801 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12804 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12806 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12809 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12811 * gettext.C: include LString.h even when --disable-nls is on.
12813 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
12815 * converter.h (Get): changed argument type from int to
12816 FormatList::size_type to avoid unnecessary conversion.
12818 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12821 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12823 * gettext.h: include LString.h even when --disable-nls is on.
12825 2001-06-07 Juergen Vigna <jug@sad.it>
12827 * text.C (BreakAgain): subst spaces with tabs.
12829 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12830 (resizeInsetsLyXText): set force on resizeLyXText.
12832 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12834 * gettext.h (gettext_init):
12835 (locale_init): use a real definition instead of a macro
12837 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12839 * Bufferview_pimpl.C:
12841 * LColor.C: further lcolor tidies
12843 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12845 * BufferView_pimpl.C (updateScrollbar): simplify.
12847 * BufferView2.C: don't include insets/insetinfo.h, change
12848 prototype for insertInset and call the Pimpl version. let
12849 updateInset call Pimpl version.
12851 * BufferView.h: move inset_slept to BufferView::Pimpl, move
12852 gotoInset to BufferView::Pimpl
12854 2001-06-01 Juergen Vigna <jug@sad.it>
12856 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12857 inside a LockingInset (is the update needed at all?).
12859 2001-05-31 Juergen Vigna <jug@sad.it>
12861 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12862 here not the old one otherwise how should we compare it afterwards
12865 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12870 * FontInfo.C: bring C functions into global namespace when
12873 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12875 * LString.h: make sure config.h has been loaded before LString.h.
12877 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12878 (one for each char read by EatLine!).
12880 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12883 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12885 * paragraph.C (BreakParagraph): set the inset_owner in the new par
12886 to the same as the par we break from
12888 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
12890 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12892 * MenuBackend.C (expand): also create menu entries for wide
12893 versions of the floats.
12895 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12897 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12899 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12900 frontends/Makefile.am
12906 * tabular.C (getTokenValue): add std::
12908 * tabular-old.C (getTokenValue): add std::
12909 (getTokenValue): ditto
12910 (getTokenValue): ditto
12912 * screen.C (ToggleSelection): adjust
12914 * lyxtext.h: put selection cursors inside a Selection struct.
12916 * lyxfunc.C (moveCursorUpdate): adjust
12918 * lyxfont.C (latexWriteStartChanges): add std::
12920 * lyxfind.C: adjust
12922 * font.h: delete with(char const *, LyXFont const &)
12924 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12926 * FontInfo.C (getFontname): add std::
12928 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12929 (workAreaButtonPress): adjust
12930 (tripleClick): adjust
12932 (moveCursorUpdate): adjust
12935 * BufferView2.C (gotoInset): adjust
12937 2001-05-30 Juergen Vigna <jug@sad.it>
12939 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12940 to check pspell I add this as default as I now have new pspell
12941 libraries and they seem to use this.
12943 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12945 * text2.C (CutSelection): make the cursor valid before the call to
12948 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12950 * kbsequence.C (parse): de-uglify a bit the parsing code, which
12951 relied on 0 terminated strings and other horrors. Bug found due to
12952 the new assert in lyxstring!
12954 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12957 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12959 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12962 * lyxfunc.C (processKeySym): change method of getting to the
12965 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12966 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12967 * BufferView_pimpl.[Ch]: here as private methods.
12969 2001-05-28 Juergen Vigna <jug@sad.it>
12971 * text.C (SetHeightOfRow): added the update() call again as it is
12972 needed to initialize inset dimensions!
12974 2001-05-16 Juergen Vigna <jug@sad.it>
12976 * text2.C (SetCharFont): Add new function with BufferView * and
12977 bool toggleall parameters for setting insets internal fonts.
12978 (SetFont): Freeze the undo as we may change fonts in Insets and
12979 all this change should be inside only one Undo!
12981 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12982 setting font's in insets as for them we have the SetFont function!
12984 2001-05-15 Juergen Vigna <jug@sad.it>
12986 * text2.C (ClearSelection): to be sure we REALLY don't have any
12989 * tabular.C (TeXCellPreamble): fixed the left border problem for
12992 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
12994 * LaTeX.C (deplog): Make sure that the main .tex file is in the
12997 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12999 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13000 LFUN_BREAKPARAGRAPH.
13002 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13003 help test to "internal only", similar for LFUN_INSERT_URL
13005 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13006 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13007 auto_region_delete and deadkeys.
13009 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
13012 * LColor.C: remove some dead entries, tidy a little
13014 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13016 * lyxfunc.C (processKeySym): comment the Escape handling, remove
13018 (Dispatch): implement LFUN_ESCAPE
13020 * commandtags.h: add LFUN_ESCAPE
13022 * LyXAction.C (init): add entry for LFUN_ESCAPE
13024 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13025 Remove commented code.
13026 (insertNote): moved here
13027 (open_new_inset): moved here
13029 * BufferView[2].[Ch]: move insertNote and open_new_inset to
13032 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13034 * kbmap.C (findbinding): clean it up and make it work correctly.
13036 * lyx_main.C (init): do not pass argc and argv as parameters
13038 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
13040 * buffer.C: fix path for OS/2 & Win32
13044 * lyx_main.C: Added os:: class.
13046 * os2_defines.h: update
13048 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13050 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13051 better by trying again with reduced state.
13053 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13055 * lyxrc.C (read): print error about invalid key sequence only when
13056 debugging (because not all latinX keysyms are known to some X
13059 * kbsequence.C (getiso): add a few std:: qualifiers
13060 (getiso): comment out extra return statement.
13062 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
13064 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13066 (Dispatch): enhance the accent inset a bit. (not perfect)
13068 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13070 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13072 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13074 * bufferlist.C (emergencyWrite): fix assert() call
13076 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
13078 * text.C (InsertChar): Added trivial patch to only send the "you
13079 can not do multiple spaces this way" message once during a
13082 2001-05-08 Baruch Even <baruch@lyx.org>
13084 * Makefile.am: Changed order of libraries to get LyX to link properly
13085 with the gnome frontend.
13087 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13089 * LaTeXFeatures.h: add a std:: qualifier
13091 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13093 * paragraph.C (String): use stringstream
13095 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13097 * paragraph.C (writeFile): remove footflag arg
13099 * buffer.C (makeLaTeXFile): use stringstream
13100 (latexParagraphs): remove footnot gurba
13102 * LaTeXFeatures.C (getPackages): use stringstream
13103 (getMacros): likewise
13104 (getTClassPreamble): likewise
13105 (getFloatDefinitions): new method
13107 * paragraph.C (writeFile): reindent
13110 * WorkArea.h: revert the xpos + etc changes.
13112 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13114 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13116 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13117 (pasteSelection): likewise
13118 * text2.C (CreateUndo): likewise
13120 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13122 * minibuffer.C (peek_event): temporarily reduce the functionality
13123 of the minibuffer (to allow args on lfuns)
13125 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13126 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13128 * buffer.C (readInset): add compability reading of old float
13129 lists, add reading of new style float list.
13130 (readInset): avoid reevaluation of inscmd.getCmdName()
13131 (getLists): reindent
13133 * MenuBackend.C (MenuItem): implement parsing of
13134 md_floatlistinsert and md_floatinsert.
13135 (expand::LastFiles): move initalizaton of iterators out of loop,
13136 avoid reevaluation.
13137 (expand::Documents): introduce typdedef vector<string> Strings,
13139 (expand::ExportFormats): introduce typedef vector<Format const *>
13140 Formats, and use it.
13141 (expand): implement FloatListInsert and FloatInsert.
13143 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13144 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13145 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13147 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13149 (Dispatch::LFUN_FLOAT_LIST): implement
13151 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13153 * LaTeX.C (run): Fix problem with --export code.
13155 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13157 * BufferView.[Ch] (workarea): removed.
13158 (getClipboard) new method; wrapper for workarea()->getClipboard()
13160 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13163 * WorkArea.h (width, height, xpos, ypos): These methods all
13164 returned the dimensions of the work_area sub-area of WorkArea,
13165 resulting in a position error if the WorkArea were resized. Now
13166 return the dimensions of the entire WorkArea.
13168 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13170 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13172 * LaTeX.C (deplog): correct the syntax of regex reg1
13174 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13176 * undo.C: remove !NEW_INSETS cruft
13178 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13180 * text2.C: remove !NEW_INSETS cruft
13182 * text.C: remove !NEW_INSETS cruft
13184 * tabular.C: remove !NEW_INSETS cruft
13186 * spellchecker.C: remove !NEW_INSETS cruft
13188 * lyxtext.h: remove !NEW_INSETS cruft
13190 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13192 * lyxfunc.C: remove !NEW_INSETS cruft
13194 * lyxfind.C: remove !NEW_INSETS cruft
13196 * lyx_cb.C: remove !NEW_INSETS cruft
13198 * figureForm.C: remove !NEW_INSETS cruft
13200 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13202 * buffer.[Ch]: remove !NEW_INSETS cruft
13204 * ToolbarDefaults.C: remove !NEW_INSETS cruft
13206 * CutAndPaste.C: remove !NEW_INSETS cruft
13208 * BufferView_pimpl.C: remove !NEW_INSETS cruft
13210 * BufferView2.C: remove !NEW_INSETS cruft
13212 * BufferView.h: remove !NEW_INSETS cruft
13214 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13216 * Lsstream.h: include LString.h before the sstream headers to
13217 fix problem with gcc 2.95.3 and lyxstring
13219 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13221 * lyx_main.C: add using directives when needed for C functions
13222 declared in std:: namespace.
13224 2001-04-27 Juergen Vigna <jug@sad.it>
13226 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13227 (SetHeightOfRow): comment out the update call should not be needed!
13229 2001-04-13 Juergen Vigna <jug@sad.it>
13231 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13232 (LyXTabular): tried to minimize operator= operations (and realized
13233 hopfully Lars wish).
13235 2001-04-27 Juergen Vigna <jug@sad.it>
13237 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13239 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13241 * lyxfunc.C (Dispatch): hack to make listof algorithm work
13243 * buffer.C (readInset): hack to make listof algorithm work
13245 * BufferView_pimpl.C: hack to make listof algorithm work
13247 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13249 * LyXAction.C: removed all !NEW_INSETS cruft
13250 (init): moved lfun_item in method
13252 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13254 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13256 * BufferView2.C (theLockingInset): white space.
13258 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13260 * minibuffer.C: include <iostream>
13262 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13264 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13266 * commandtags.h: add LFUN_TRANSPOSE_CHARS
13268 * text.[Ch] (TransposeChars): new method
13270 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13272 * call message directly through LyXView instead of through LyXFunc
13273 * BufferView2.C: adjust
13274 * BufferView_pimpl.C: adjust
13275 * FontLoader.C: adjust
13277 * bufferview_funcs.C: adjust
13278 * converter.C: adjust
13279 * figureForm.C: adjust
13280 * importer.C: adjust
13282 * lyx_gui_misc.C: adjust
13283 * lyxfunc.C: adjust
13286 + more files in subdirs
13288 * lyxparagraph.h (size): move up int file
13291 * adjust all uses of Assert to lyx::Assert.
13293 * BufferView2.C (ChangeCitationsIfUnique): adjust for
13294 lyxfunctional in namespace lyx
13295 * layout.C (hasLayout): ditto
13298 (delete_layout): ditto
13299 (NumberOfClass): ditto
13300 * converter.C (GetFormat): ditto
13305 * bufferlist.C (getFileNames): ditto
13306 (emergencyWriteAll): ditto
13309 * MenuBackend.C (hasSubmenu): ditto
13312 * BufferView_pimpl.C (getInsetByCode): ditto
13314 2001-04-18 Juergen Vigna <jug@sad.it>
13316 * vspace.C (asLatexString): fixed the 100% problem.
13318 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13320 * lyxfunc.C (Dispatch):
13322 * minibuffer.h: add a few std:: qualifiers
13324 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13326 * minibuffer.[Ch]: reimplement so that commands is initiated and
13327 run from lyxfunc, simplified som handling, and made the completion
13328 and history code for complete. wip.
13330 * lyxfunc.C (processKeySym): call message
13331 (miniDispatch): new temporary method
13332 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13333 (LFUN_MESSAGE): implement
13334 (LFUN_MESSAGE_PUSH): implement
13335 (LFUN_MESSAGE_POP): implement
13336 (initMiniBuffer): the initial/defualt minibuffer message.
13338 * lyxfont.[Ch]: inline some more getters
13340 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13342 * lyx_gui_misc.[Ch] (WriteStatus): remove method
13344 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13345 (AutoSave): use LFUN_MESSAGE
13346 (Reconfigure): ditto
13348 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13350 * figureForm.C: use LFUN_MESSAGE
13352 * converter.C (runLaTeX): use LFUN_MESSAGE
13354 * bufferview_funcs.C: use LFUN_MESSAGE
13356 (changeDepth): ditto
13358 * bufferparams.h: use boost::
13360 * bufferlist.h: inherit privately from noncopyable
13362 * bufferlist.C (loadLyXFile): remove some commented code.
13364 * buffer.C (runChktex): use LFUN_MESSAGE
13366 * ShareContainer.h: inherit privately from noncopyable
13368 * ParagraphParameters.[hC] (depth): inline it.
13370 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13372 (message): new method
13373 (messagePush): ditto
13374 (messagePop): ditto
13375 (show): init minibuffer
13376 (showState): direct call
13378 * LaTeX.[Ch]: inherit privately from noncopyable
13379 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13380 instead of WriteStatus.
13382 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13384 * BufferView_pimpl.C (buffer): don't init minibuffer
13385 (workAreaButtonPress): use LFUN_MESSAGE
13386 (workAreaButtonRelease): ditto
13387 (savePosition): ditto
13388 (restorePosition): ditto
13389 (MenuInsertLyXFile): ditto
13390 (workAreaExpose): don't init minibuffer
13391 (update): remove commented code, simplify
13393 * BufferView2.C (openStuff): use LFUN_MESSAGE
13394 (toggleFloat): ditto
13397 (copyEnvironment): ditto
13398 (pasteEnvironment): ditto
13403 (updateInset): remove some commented code
13405 * lastfiles.h: inherit privately from noncopyable
13408 * lyx_main.h: ditto
13410 * lyxlex_pimpl.h: ditto
13412 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13413 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13414 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13416 * LyXAction.h: inherit privately from noncopyable, add methods
13417 func_begin, func_end, returning iterators to the func map.
13419 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13420 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13421 (func_begin): new method
13422 (func_end): new method
13424 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13426 (copySelection): ditto
13427 (pasteSelection): ditto
13429 * BufferView.C: whitespace change
13430 * BufferView.h: inherit privately from noncopyable
13432 2001-04-16 Allan Rae <rae@lyx.org>
13434 * tabular-old.C (l_getline):
13435 * spellchecker.C (sc_check_word):
13436 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13437 an unrecognised preprocessor directive. So ensure they're wrapped.
13439 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
13441 * src/exporter.C (Export): Give an error message when path to file
13444 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
13446 * LaTeX.C (deplog): Always check that foundfile exists.
13448 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13451 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13453 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13455 * tabular.[Ch] (getLabelList): implement new method
13457 * minibuffer.h: comment ouf setTiimer
13459 * minibuffer.C (ExecutingCB): constify res
13460 (peek_event): constify s
13461 (Set): constify ntext
13462 (Init): constify nicename
13464 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13466 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13467 (savePosition): use two params to Minibuffer::Set
13468 (restorePosition): ditto
13470 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13472 * lyx_main.C: include language.h
13474 * Makefile.am (lyx_main.o): add language.h
13476 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13482 * CutAndPaste.C: include gettext.h
13484 * lyxfont.h: remove old hack with ON and OFF.
13487 * lyxfont.h: do not include language.h...
13492 * bufferview_funcs.C:
13498 * paragraph.C: ... but do it here instead
13500 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13502 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13504 * tabular.C: small reformat
13506 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13509 (BreakParagraph): ditto
13510 (SetOnlyLayout): ditto
13513 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13516 * lastfiles.C: removed most using decl, add std:: where needed
13518 * buffer.C: ws changes
13520 * MenuBackend.C (class compare_format): put into anon namespace
13521 (expand): constify label, names, action, action2
13524 * text.C (SingleWidth): constify font
13525 (IsBoundary): constify rtl2
13526 (GetVisibleRow): constify ww
13528 * LaTeX.C (deplog): constify logfile
13530 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13532 (workAreaExpose): constify widthChange, heightChange
13534 * lyxrow.C (par): moved
13537 * lyxrow.h: as inlines here
13539 * lyxfont.h (shape): moved from lyxfont.C
13540 (emph): moved from lyxfont.C
13542 * lyxfont.C (LyXFont): use initialization list for all
13544 (shape): move to lyxfont.h as inline
13545 (emph): move to lyxfont.h as inline
13548 2001-04-04 Juergen Vigna <jug@sad.it>
13550 * vspace.C: had to include stdio.h for use of sscanf
13552 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
13555 * BufferView_pimpl.h: remove xforms cruft. Both classes are
13556 independent of xforms.
13558 2001-04-02 Juergen Vigna <jug@sad.it>
13560 * spellchecker.C: fixed namespace placing!
13562 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
13564 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13565 the LyXParagraph * is 0.
13567 2001-03-29 Juergen Vigna <jug@sad.it>
13569 * vspace.C: added support for %, c%, p%, l%.
13570 (stringFromUnit): added helper function.
13571 (asLatexString): changed to give right results for the %-values.
13573 * buffer.C: convert the widthp in a width%.
13575 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
13577 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13580 * figureForm.[Ch]: stripped the FD_from_figure manipulation
13581 code out of lux_cb.[Ch], ready for its (imminent?) removal.
13583 * lyx_cb.[Ch]: see above.
13585 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13589 * lyx.[Ch]: replaced by figure_form.[Ch].
13593 * lyxfunc.C: changed headers associated with above changes.
13595 2001-03-27 Juergen Vigna <jug@sad.it>
13597 * BufferView_pimpl.C: set the temporary cursor right!
13599 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
13601 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13603 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
13605 * LString.h: removed "using std::getline"!
13607 * BufferView_pimpl.C (Dispatch): changes due to changes in
13608 InsetInclude::Params.
13610 * buffer.C (tag_name): removed redundant break statements as they were
13611 producing lots of warnings with my compiler.
13613 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13615 * LString.h: add "using std::getline" when using the real <string>.
13617 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
13619 * buffer.C: removed bitset usage.
13620 PAR_TAG moved to an anonymous name space.
13621 (tag_name): new funtion, also in the anonymous namespace.
13622 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13623 (makeDocBookFile): clean code. Completed transition from string arrays
13625 (SimpleDocBookOnePar): code clean.
13627 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13629 * tabular.C: add some comments.
13631 2001-03-22 Juergen Vigna <jug@sad.it>
13633 * buffer.C (parseSingleLyXformat2Token): redone the minipage
13634 compatibility read a bit and fixed bug with minipage in different
13637 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
13639 * buffer.C (pop_tag): removed.
13640 (push_tag): removed.
13641 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13642 array replaced with vector. Added support for CDATA sections.
13643 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13645 (makeDocBookFile): XML conformant declaration of CDATA section,
13646 fixed bug related to <emphasis> in the first paragraph char.
13647 (sgmlOpenTag): exclude empty tags.
13648 (sgmlCloseTag): ditto.
13650 * buffer.h (pop_tag): removed.
13651 (push_tag): removed.
13653 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
13655 * language.h (Languages): added size_type and size().
13657 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13659 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13660 response on compability reading of minipages. One probliem is that
13661 the old usage of minipages was «flertydig»
13663 * several files here and in subdirs: don't use static at file
13664 scope use anon namespaces instead.
13666 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
13668 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13669 LaTeX output. This is necessary for Literate document
13672 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13674 * buffer.C: insert hfill when needed.
13676 * tabular.C (l_getline): use string::erase, small whitespace change.
13678 * BufferView_pimpl.C: try the anon namespace.
13679 * WorkArea.C: ditto
13681 2001-03-16 Juergen Vigna <jug@sad.it>
13683 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13684 otherwise it won't open options-dialogs.
13686 * buffer.C: honor pextraWidth(p) on converting minipages.
13688 * tabular.C (l_getline): changed the functions to strip trailing \r.
13690 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
13692 * BufferView_pimpl.C:
13693 * minibuffer..C: added "using SigC::slot" declaration.
13695 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13697 * lyxlex_pimpl.h: noncopyable is in namespace boost.
13703 * paragraph.C: ditto
13705 * lyxtext.h: NO_PEXTRA
13707 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13709 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13710 * ParameterStruct.h: ditto
13711 * ParagraphParameters.h: ditto
13712 * lyxparagraph.h: ditto
13714 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13716 * buffer.C: add compability for minipage alignment.
13717 (latexParagraphs): remove unwanted pextra check.
13719 * several files: remove CXX_WORKING_NAMESPACES
13721 * buffer.C (pop_tag): tie is in namespace boost
13723 * BufferView.h: noncopyable is in namespace boost
13725 * lyx_main.h: ditto
13728 * lastfiles.h: ditto
13729 * bufferlist.h: ditto
13730 * ShareContainer.h: ditto
13732 * LyXAction.h: ditto
13735 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13737 * Merging changes from BRANCH_MVC back into HEAD.
13739 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13741 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
13743 * BufferView_pimpl.C: change from intl.C
13747 * Makefile.am: move combox.*
13753 * intl.C: remove dialog (covered by prefs)
13755 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13757 * lyxfunc.C (Dispatch): removed redundant break statement.
13759 2001-03-14 Juergen Vigna <jug@sad.it>
13761 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13763 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13765 * buffer.C: add hack to fix compability reading of minipages.
13767 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
13769 * buffer.C (getLists): Cleanup.
13771 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13773 * lyxfont.C (update): don't honor toggleall on font size.
13775 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
13779 * Makefile.am: moved to frontends/xforms/
13783 * BufferView_pimpl.C: changes for moved mathpanel
13785 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13787 * gettext.h: fix gettext_init() in --disable-nls
13789 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13791 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13793 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
13796 * lyx.h: strip external form
13798 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13800 * BufferView_pimpl.C: add comment, destroySplash()
13802 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13804 * BufferView_pimpl.C:
13808 * lyxfunc.C: use re-worked insetinclude
13810 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13812 * buffer.C: add using std::stringstream.
13814 * lyx_cb.C: readd using std::ios.
13816 * buffer.C: add using std::map.
13818 * BufferView_pimpl.C: add using std::vector.
13820 * ShareContainer.h: add std:: to swap.
13822 * buffer.h: add some typedefs
13823 * buffer.C (getLists): use them
13824 (getLists): renamed from getTocList.
13825 add a counter for the different float types and use it in the
13827 (getLists): use the same counter for the NEW_INSETS and the "non"
13830 * lyx_cb.h: remove unused items, includes, using etc.
13832 * ShareContainer.h: remove some commented code, add more comments
13833 and "documentation".
13835 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13837 * buffer.C (getTocList): make the list also when NEW_INSETS is
13840 * buffer.h: remove TocType
13842 * buffer.C (getTocList): change to return a map<string,
13843 vector<TocItem> >, implement for dynamic number of list.
13845 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13846 * text2.C (PasteSelection): adjust
13847 * CutAndPaste.C (pasteSelection): adjust
13849 * FloatList.C (FloatList): update from the new_insets branch.
13850 * Floating.[Ch]: ditto
13851 * LaTeXFeatures.C: ditto
13853 * lyxlex_pimpl.C: ditto
13855 * paragraph.C (Last): remove when NEW_INSETS is defined.
13857 * other file: changes because of the above.
13859 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13861 * lyxparagraph.h: rename next to next_, previous to previous_,
13862 make them private for NEW_INSETS. Rename Next() to next(),
13863 Previous() to previous().
13865 * other files: changes because of the above.
13867 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
13870 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13873 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13875 * main.C (main): pass lyx_localedir to gettext_init().
13877 * gettext.h: remove locale_init and gettext_init macros
13879 * gettext.C (locale_init): new function
13880 (gettext_init): new function
13882 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13885 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
13887 * Moved credits to frontends:
13888 * credits.[Ch]: removed
13889 * credits_form.[Ch]: removed
13890 * lyx_gui_misc.C: remove credits stuff
13893 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13895 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13897 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13898 unneeded destructor.
13900 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13901 a standalone pointer again.
13903 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13905 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
13911 * ToolbarDefaults.C:
13920 * BufferView_pimpl.C: use new file dialog in GUII
13923 * lyx_cb.C: remove LayoutsCB to Toolbar
13925 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13927 * ShareContainer.h (get): add std:: qualifier
13929 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13931 * ShareContainer.h: define a proper ShareContainer::value_type
13932 type (and use typename to please compaq cxx)
13934 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13936 * lyxparagraph.h: move serveral local vars to
13937 ParameterStruct/ParagraphParameters., use ShareContainer in
13938 FontTable., make vars in FontTable private and add getter and
13941 * paragraph.C: changes because of the above.
13943 * lyxfont.h: remove copy constructor and copy assignment. (the
13944 default ones is ok), move number inside FontBits. move inlines to
13947 * lyxfont.C: add number to initializaton of statics, move several
13948 inlines here. constify several local vars. some whitespace
13949 cleanup. Dont hide outerscope variables.
13951 * Spacing.h: add two new constructors to match the set methods.
13953 * ShareContainer.h: new file, will perhaps be moved to support
13955 * ParameterStruct.h: new file
13957 * ParagraphParameters.h: new file
13959 * ParagraphParameters.C: new file
13961 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13962 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13964 * BufferView_pimpl.C: ParagraphParameter changes.
13965 * buffer.C: Likewise.
13966 * bufferview_funcs.C: Likewise.
13967 * text.C: Likewise.
13968 * text2.C: Likewise.
13970 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13972 * lyxfind.C (LyXReplace): do not redefine default argument in
13974 (IsStringInText): ditto
13975 (SearchForward): ditto
13976 (SearchBackward): ditto
13978 2001-03-06 Juergen Vigna <jug@sad.it>
13980 * lyxfind.C (IsStringInText): put parentes around expressions.
13982 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
13984 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13986 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
13988 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13990 * stl_string_fwd.h: add comment
13992 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13995 * tabular.C: remove unused DocBook methods
14001 killed DO_USE_DEFAULT_LANGUAGE
14003 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14005 * lyx_gui.C: do not include language.h.
14007 * bufferview_funcs.C (ToggleAndShow): do not provide optional
14008 arguments in function implementation.
14010 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14012 * BufferView_pimpl.C: add <ctime>
14014 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14016 * BufferView_pimpl.C: add using std::find_if
14018 2001-02-27 José Matos <jamatos@fep.up.pt>
14020 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14023 2001-02-11 José Matos <jamatos@fep.up.pt>
14025 * buffer.C (makeDocBookFile): command styles now have a parameter as
14026 "title" by default.
14028 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
14030 * layout_forms.[Ch]: removed
14031 * lyx_cb.[Ch]: out character
14032 * lyx_gui.C: out character
14033 * lyx_gui_misc.C: out character
14034 * bufferview_funcs.C: : out character,
14035 added toggleall as parameter in ToggleAndShow
14037 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
14039 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14041 * text2.C (SetCurrentFont): Disable number property at boundary.
14043 2001-02-26 Juergen Vigna <jug@sad.it>
14045 * lyxfunc.C (getStatus): added a string argument override function so
14046 that this is correctly called from LyXFunc::Dispatch if it contains a
14047 do_not_use_argument which is used!
14048 (Dispatch): added check for "custom" export and call appropriate func.
14050 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
14052 * lyxrc.C: Add language_command_local, language_use_babel and
14053 language_global_options.
14055 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14057 * buffer.C (makeLaTeXFile): Use language_use_babel and
14058 language_global_options.
14060 2001-02-23 Juergen Vigna <jug@sad.it>
14062 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14063 which works with LyXText and putted it inside BufferView. Here now we
14064 only call for that part the BufferView::Dispatch() function.
14066 * BufferView.C (Dispatch): added.
14068 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14069 functions which needs to use a LyXText over from LyXFunc.
14070 (MenuInsertLyXFile): added
14071 (getInsetByCode): added
14072 (moveCursorUpdate): added
14073 (static TEXT): added
14075 2001-02-22 Juergen Vigna <jug@sad.it>
14077 * BufferView_pimpl.C (update): call a status update to see if LyXText
14080 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14082 * vc-backend.C (revert): implement for CVS
14083 (getLog): implement for CVS
14085 2001-02-20 Juergen Vigna <jug@sad.it>
14087 * text2.C (ClearSelection): added BufferView param for inset_owner call
14089 * lyxfunc.C (TEXT): added this function and use it instead of
14090 directly owner->view()-text of getLyXText().
14092 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
14094 * src/layout_forms.C: out preamble
14095 * src/layout_forms.h: out preamble
14096 * src/lyx_cb.C: out preamble
14097 * src/lyx_cb.h: out preamble
14098 * src/lyx_gui.C: out preamble
14099 * src/lyx_gui_misc.C: out preamble
14100 * src/lyxfunc.C: connect with guii preamble
14102 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14104 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14106 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14108 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14109 whether to run bibtex.
14111 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14113 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14115 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14117 * Makefile.am (lyx_SOURCES): removed bibforms.h
14119 * vspace.h: doxygen
14121 * text.C (GetVisibleRow): make several local vars const
14123 * tabular.C: small cleanup.
14125 * lyxserver.C (callback): use compare instead of strncmp
14127 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14128 inlines to after class or to paragraph.C
14130 * lyxfont.h: remove friend operator!=
14132 * converter.h: move friend bool operator< to non friend and after
14135 * combox.h: small cleanup
14137 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14138 to inlines after class def.
14140 * buffer.C (pop_tag): use string operations instead of strcmp
14142 * bmtable.c: doxygen, small cleanup
14144 * LaTeX.h: remove friend operator==
14146 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14158 * BufferView_pimpl.C:
14159 * BufferView.[Ch]: remove cruft
14161 2001-02-14 Juergen Vigna <jug@sad.it>
14163 * lyxfunc.C: removed #if 0 unused code
14165 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14167 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14169 * text2.C (SetSelection): added a BufferView * parameter
14171 2001-02-13 Juergen Vigna <jug@sad.it>
14173 * lyxfunc.C (Dispatch): fixed protected blank problem.
14174 * BufferView2.C (protectedBlank): added LyxText * parameter.
14176 * tabular.C (AppendRow): forgot to set row_info of newly added row.
14177 (AppendColumn): same as above for column_info.
14179 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14180 (moveCursorUpdate): use a LyXText param for support of InsetText.
14182 * BufferView_pimpl.C (doubleClick): added support for InsetText.
14183 (tripleClick): ditto
14185 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14187 * BufferView_pimpl.C (update): added LyXText param to honor insets.
14189 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14191 * text2.C (SetSelection): set correct update status if inset_owner
14192 (ToggleFree): ditto
14194 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
14196 * tabular.C: remove some commented code.
14198 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
14200 * BufferView_pimpl.C: call hideSplash()
14202 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14205 * bibforms.h: remove
14208 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14209 add LFUN_CHILD_CREATE
14211 * counters.h: fix tiny typo
14216 * lyx.C: move splash to frontends/xforms/
14218 * lyx_gui_misc.C: move Include and Bibform to frontends
14220 * lyxvc.h: clarify comment
14222 * vspace.C: tiny housekeeping
14224 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
14226 * text.C (PrepareToPrint): RTL Fix.
14228 * paragraph.C (GetUChar): New method.
14229 (String): Use GetUChar.
14231 * buffer.C (asciiParagraph): Use GetUChar.
14233 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
14235 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14237 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
14240 * buffer.C: rename to getLogName(), handle
14241 build log / latex log nicely
14243 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14246 * MenuBackend.h: remove support for reference menuitem type.
14248 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
14250 * BufferView_pimpl.C: housekeeping
14251 * BufferView_pimpl.h:
14256 * minibuffer.h: move Timeout GUI-I
14258 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
14260 * lyxrc.C (read): Update converters data-structures.
14262 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
14264 * LaTeX.h (operator!=): add operator != for Aux_Info
14266 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
14268 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14270 * LaTeXLog.C: deleted, useful code moved to Buffer
14273 * buffer.C: new function getLatexLogName()
14279 * lyxfunc.C: use frontends for LaTeX and VC logs
14281 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14283 * LaTeX.h: yet another std:: that Allan forgot.
14285 * Variables.C (set): renamed from isset(), because this clashes
14286 with some HP-UX macros (grr).
14288 2001-02-06 Allan Rae <rae@lyx.org>
14290 * LaTeX.h: Another bug fix. Missing std:: this time.
14292 2001-02-04 Allan Rae <rae@lyx.org>
14294 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14295 floats problem. I've left it commented out because it's not quite
14296 correct. It should also test that the current object is a table or
14297 figure inset. But I haven't gotten around to figuring out how to do
14298 that. I *think* it'll be something like: "table" == inset.type()
14300 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14303 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
14305 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14306 all the citation/databases/styles in the auxilary file.
14307 (run): Rerun latex if there was a babel language error.
14309 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
14311 * text.C (Backspace): Preserve the font when changing newline char
14313 (BreakParagraph): If the cursor is before a space, delete the space.
14315 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14317 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
14319 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14320 new argument (code).
14321 (ChangeCitationsIfUnique): New method.
14323 * paragraph.C (GetPositionOfInset): Handle bibkey.
14325 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14327 * BufferView_pimpl.h: change type of Position::par_pos to
14328 LyXParagraph::size_type.
14330 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
14332 * BufferView_pimpl.C (savePosition, restorePosition): Write
14333 messages to minibuffer.
14335 2001-01-28 José Matos <jamatos@fep.up.pt>
14337 * buffer.C (makeDocBookFile): adds support for document language.
14338 A silly restriction on the name of LatexCommand types where removed.
14339 Added support for CDATA sections, allows to chars unescaped, used
14340 among others in code, to avoid escape < and >.
14342 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14344 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14345 saved positions instrad of a stack. Furthermore, a position is
14346 stored using paragraph id/paragraph position.
14348 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14349 Remove LFUN_REF_BACK.
14351 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14353 * converter.C (dvipdfm_options): New method.
14355 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
14357 * vspace.C (isValidLength): Fix for empty input string.
14359 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14361 * LyXAction.C (init): change description of LFUN_FIGURE to
14364 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14366 * LaTeX.C: add using directive
14368 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14370 * MenuBackend.C (expand): Fix the sorting of the formats.
14372 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
14374 * lyx_main.C: tiny error message fix
14376 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14378 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14379 calling fl_initialize(). This fixes the problem with ',' as
14380 decimal separator in text files.
14382 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14384 * trans.C (process): Fix the keymap bug.
14386 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
14388 * LaTeX.C (scanAuxFiles): New method. Provides support for
14389 multiple bibliographies (when using the bibtopic/bibunits pacakges).
14390 (scanLogFile) Scan for "run BibTeX" messages.
14392 * buffer.C (makeLaTeXFile): Do not load the ae package when using
14393 OT1 font encoding. Also, load the aecompl package if the ae
14396 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14398 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14400 * texrow.C (increasePos): turn two error messages into debug
14403 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
14405 * LaTeX.C (scanAux): Handle the \@input macro.
14406 (runBibTeX): Use scanAux().
14408 * language.C (latex_options_): New field.
14410 * LaTeXFeatures.C (getMacros): Add language macros.
14412 * buffer.C (makeLaTeXFile): Small fix.
14414 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14416 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14418 * text2.C: add a using directive.
14420 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
14425 * lyxfunc.C: kill LyXBell.
14427 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
14429 * text.C (IsBoundary): Remove the error message
14431 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14433 * lyxrc.C (setDefaults): Correct initialization value for
14436 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
14438 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14441 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14442 and GotoNextNote().
14444 * src/LyXAction.C: Added reference-next.
14446 * text.C (InsertChar): Use contains instead of strchr.
14448 * lyx_cb.C (MenuInsertLabel): Enable default value code.
14450 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
14452 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14453 alignment commands (when needed).
14455 * text.C (InsertChar): Add ':' to number separator chars.