1 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
3 * iterators.C: Remove the pimple, move the needed structures to
4 the header file. Create accessor for the positions stack.
5 (asPosIterator): remove function
7 * PosIterator.C (PosIterator): move constructors to top of file
8 (PosIterator): reimplement the constructor taking a ParIterator in
10 (setFrom): new function
11 (operator!=): inline it
13 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
15 * lyxfind.C (replaceAll): use std::advance
17 * iterators.h: inherit from std::iterator.
19 * PosIterator.C (advance, distance): remove
20 * PosIterator.h: interit from std::iterator.
22 2004-01-26 André Pönitz <poenitz@gmx.net>
25 * BufferView_pimpl.[Ch]:
42 * paragraph_funcs.[Ch]:
43 * paragraph_pimpl.[Ch]:
49 * text3.C: more IU: dumps most of the rest of the mathcursor
50 implementation into cursor.[Ch]; "globalize" a bit of it.
52 2004-01-25 Angus Leeming <leeming@lyx.org>
54 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
56 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
58 * LaTeXFeatures.h: add nice_ and nice() const
59 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
61 2004-01-20 André Pönitz <poenitz@gmx.net>
79 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
80 LCursor and mathcursor parts to LCursor and InsetBase.
82 2004-01-15 André Pönitz <poenitz@gmx.net>
84 * cursor_slice.[Ch]: add a few covienience functions
86 * funcrequest.[Ch]: remove BufferView * member
95 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
97 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
99 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
100 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
102 2004-01-13 André Pönitz <poenitz@gmx.net>
105 * lyxtext.h: hide cursor and selection anchor behind accessor function
108 * BufferView_pimpl.[Ch]:
110 * bufferview_funcs.C:
120 * cursor_slice.[Ch]: some integer type changes for inset unification
122 * lyxcursor.[hC]: remove, it's CursorSlice now.
125 * BufferView_pimpl.[Ch]:
126 * bufferview_funcs.C:
132 * textcursor.[Ch]: adjust
134 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
136 * text2.C (undoSpan): add and use
137 * text.C (breakParagraph): use undoSpan (fix bug 578)
140 2004-01-08 Angus Leeming <leeming@lyx.org>
142 * BufferView_pimpl.C (MenuInsertLyXFile):
143 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
144 * lyxfunc.C (menuNew, open, doImport):
145 FileFilterList change to the FileDialog open and save functions.
147 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
149 * ShareContainer.h: make isEqual and isUnique adaptable
151 * CutAndPaste.C: make resetOwnerAndChanges adaptable
153 2004-01-07 Angus Leeming <leeming@lyx.org>
156 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
158 * BufferView_pimpl.C (dispatch): act on these LFUNs.
160 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
161 functions replacing find, replace and replaceAll.
163 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
164 LFUN_WORDFIND(FORWARD|BACKWARD).
166 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
168 * text.C (breakParagraph): remove an outdated #warning
170 2004-01-07 André Pönitz <poenitz@gmx.net>
172 * lyxfind.C: somewhat clearer logic
174 * text.C: prevent crash in cursorX on unitialized row cache
176 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
178 * lyxcursor.[Ch] (operator>): add
179 * textcursor.C (selStart, selEnd): use std::min and std::max
181 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
183 * Chktex.C: include boost/format.hpp
185 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
187 * InsetList.C: replace functor MathcIt with adaptable functor
189 (insetIterator): modify accordingly
191 * BranchList.h: move the BranchNamesEqual functor here from...
192 * BranchList.C: ... to here
194 * BranchList.C: new BranchListEqual fuctor, use it. Remove
196 (add): replace a finding loop with std::find_if.
198 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
200 * output_docbook.C: moving LatexParam functionality into
203 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
205 * buffer.C: increment format to 229.
207 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
210 * lyx_sty.[Ch]: remove minipageindent_def
216 * text3.C: remove LFUN_INSET_MINIPAGE
218 2003-12-28 Angus Leeming <leeming@lyx.org>
220 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
222 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
224 * text2.C (setParagraph): fix off-by-one crash
226 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
228 * output_docbook.C: header stuff for AGU
230 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
232 * text2.C (redoCursor): remove
235 * BufferView_pimpl.C: remove calls to redoCursor and
236 setCursor(cursor.par(), cursor.pos()) all around
238 2003-12-15 Angus Leeming <leeming@lyx.org>
240 * buffer.C: up the format to 228.
242 2003-12-15 André Pönitz <poenitz@gmx.net>
244 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
249 * BufferView_pimpl.C:
258 2003-12-15 Angus Leeming <leeming@lyx.org>
260 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
261 than getFromGUIName to manipulate the color.
263 2003-12-14 Angus Leeming <leeming@lyx.org>
265 * BranchList.[Ch]: minimize the API.
266 (Branch::getBranch, getColor): now return a 'const &'.
267 (Branch::setSelected) now returns a bool set to true if the
268 selection status changes.
269 (BranchList::clear, size, getColor, setColor, setSelected,
270 allBranches, allSelected, separator): removed.
271 (BranchList::find): new functions, returning the Branch with
273 (BranchList::add, remove): return a bool indicating that
274 the operation was successful.
276 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
277 new InsetBranch::isBranchSlected member function.
279 * LColor.[Ch]: mimimize the API.
280 (fill): renamed as addColor and made private.
281 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
282 versions of these functions taking a string arg have been removed.
284 * bufferparams.C (readToken):
285 * lyxfunc.C (dispatch):
286 * lyxrc.C (read): changes due to the altered BranchList and
289 * factory.C (createInset, readInset): changes due to altered
292 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
295 * lyxfunc.C: remove insetminipage. "minipage-insert"
296 now produces a frameless minipage box inset.
298 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
300 * textcursor.[Ch] (selStart,selEnd): add new methods
301 remove selection::start, end, use LyXCursor::operator<
302 * lyxcursor.[Ch] (operator<): add
303 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
304 * BufferView.[Ch] (unsetXSel): add
305 * text2.C (clearSelection): use unsetXSel,adjust
308 * rowpainter.C: adjust
309 * bufferview_funcs.C (put_selection_at): adjust
311 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
313 * BufferView_pimpl.C: small coord. correction
315 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
317 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
318 dragging over the splash screen.
320 2003-12-11 Angus Leeming <leeming@lyx.org>
322 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
323 as it is now handled in LyXText::dispatch.
325 * text3.C (doInsertInset): remove a level of nesting.
327 2003-12-11 Angus Leeming <leeming@lyx.org>
329 * factory.C (createInset): changes due to the changed interface to
330 InsetCommandMailer::string2params.
332 2003-12-10 Angus Leeming <leeming@lyx.org>
334 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
335 'dialog-show-new-inset <inset name>'
337 2003-12-10 Angus Leeming <leeming@lyx.org>
339 * buffer.C: up the format to 227.
341 * factory.C: the box inset is now identified simply by 'Box'.
343 2003-12-10 Angus Leeming <leeming@lyx.org>
345 * buffer.C: up the format to 226.
347 * factory.C: the note inset is now identified simply by 'Note'.
349 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
351 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
352 when a pit is enough. Standarize a couple of loops.
354 2003-12-05 Angus Leeming <leeming@lyx.org>
356 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
357 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
358 data to the re-worked "log" dialog.
360 2003-12-03 André Pönitz <poenitz@gmx.net>
368 * text2.C: use Inset::getText instead of Inset::getParagraph
370 2003-12-03 André Pönitz <poenitz@gmx.net>
374 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
375 InsetText::read() as LyXText::read()
377 2003-12-02 Angus Leeming <leeming@lyx.org>
379 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
380 type. Add a comment in the implementation that the function uses
381 the stream's bad() function rather than fail() as the std::streams
384 2003-12-02 André Pönitz <poenitz@gmx.net>
386 * lyxlex.[Ch]: make interface more similar to std::stream
388 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
390 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
392 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
394 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
396 * vspace.[Ch]: remove VSpace::NONE
398 2003-12-01 André Pönitz <poenitz@gmx.net>
401 * lyxtext.h: move ParagraphList member to LyXText
402 rename LyXText::ownerParagraphs to LyXText::paragraph
405 * bufferview_funcs.C:
415 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
417 * undo.C: fix cursor positioning
419 2003-12-01 John Levon <levon@movementarian.org>
421 * BufferView_pimpl.C: fix a crash on exit with
424 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
426 * BranchList.C: fix setSelected() method.
428 2003-11-28 André Pönitz <poenitz@gmx.net>
430 * ParagraphParameters.[Ch]:
431 * ParameterStruct.h: remove space above/below from Paragraph to
434 * BufferView_pimpl.C:
446 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
448 * factory.C: Syntax change for CharStyles
450 2003-11-28 André Pönitz <poenitz@gmx.net>
455 * buffer.[Ch]: move LyXText member
457 2003-11-28 André Pönitz <poenitz@gmx.net>
459 * BufferView.[Ch]: make LyXText * text a private member
461 * BufferView_pimpl.C:
472 * output_plaintext.C: cleanup
474 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
477 * lyxtextclass.[Ch]: parametrize SGML document header
479 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
482 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
485 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
487 * text2.C (setFont): rework using PosIterator (no more recursive)
488 (setCharFont): no more needed
489 (setLayout): no more selection cursors fiddling (done by redoCursor)
490 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
491 destroy remaining ones)
493 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
495 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
497 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
500 * text3.C: adjust + re-allow multi par depth changes
501 * textcursor.C: simplify a bit
503 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
509 * src/output_docbook.C:
510 * src/output_latex.C:
515 * src/text2.C: Introducing a number of tags parametrizing various
516 XML formats that we may want to support
518 2003-11-25 André Pönitz <poenitz@gmx.net>
520 * InsetList.[Ch] (begein, end): inline as suggested by profiler
522 * lyxtext.h (leftMargin/rightMargin): simplify interface
529 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
531 * lyxfunc.C (dispatch): propogate the bibtex databases from the
532 master file to any child files. Fixes bug 546.
534 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
536 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
538 2003-11-24 André Pönitz <poenitz@gmx.net>
540 * rowpainter.C: simplification
542 * text2.C (updateCounters): remove call to redoParagraph on
543 changed labels as this is far too expensive.
545 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
547 * converter.C (convert): fix a crash: this function gets
548 called with buffer == 0 from importer code.
550 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
552 * text3.C (cursorPrevious): make sure that we do not compare
553 iterators form different containers.
556 * rowpainter.C (paintSelection): make sure that we do not compare
557 iterators from different containers.
559 * text3.C (dispatch): [PRIOR] make sure that we do not compare
560 iterators from different ParagraphList containers.
563 * text2.C (LyXText): change order of initialization slightly
564 (operator=): new function. copy all variables except cache_par_
565 (moveUp): make sure that we do not compare iterators from
566 different ParagraphList constainers.
569 * text.C (firstPar): new function
570 (lastPar): new function
571 (endPar): new function
573 * lyxtext.h: move things around and group public functions, public
574 variables, private functions, private variables
576 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
578 * factory.C: change call to InsetERT constructor to avoid
579 additional invocation of method status
580 * text2.C (toggleInset): remove redundant update() call
581 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
582 instead of a Bufferview pointer
584 2003-11-21 André Pönitz <poenitz@gmx.net>
586 * rowpainter.C: simplification
588 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
590 * text3.C (dispatch): make possible to extend a word/row selection
593 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
595 * lyxtext.h: x0_,y0_ -> xo_,yo_
596 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
597 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
598 * rowpainter.C (paintRows): paint full paragraphs
600 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
602 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
605 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
607 * lyxtext.h: add x0_, y0_
608 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
609 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
611 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
613 * text2.C (setCursorIntern): move the x_target update here *
614 * text3.C: change some bv() to true/false in calls to
615 cursorUp/Down/Right/Left
616 * cursor.C: use helper function.
618 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
620 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
621 * paragraph_funcs.[Ch]: correct comment
622 * rowpainter.C: do not paint selections away from bv->cursor()
623 Fix a long standing selection painting bug.
624 * text3.C: generalize mouse-selection code to LyXTexts other that
626 * textcursor.C: do not use y coords if we can use par offsets
628 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
630 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
631 cursor position after e.g. inset insert)
633 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
635 * lyxfind.C (replace): adjust to locking removal + some
638 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
640 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
643 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
646 * output_docbook.C: XML sanitation: new layout
647 parameters InnerTag and CommandDepth
649 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
651 * BufferView_pimpl.C:
653 * text3.C: Fix the insertion and modification of button-style
656 2003-11-13 André Pönitz <poenitz@gmx.net>
658 * InsetList.[Ch]: remove deleteLyXText
660 * paragraph.[Ch]: cache beginOfBody position
665 * text3.C: remove superfluous update() calls
669 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
671 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
672 * BufferView.C (fitLockedInsetCursor): remove
673 * cursor.[Ch] (getDim): add
674 * text.C (getRowNearY): add faster version
675 * text3.C: remove some update calls
677 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
689 * text3.C: The Character Style /XML short element patch.
691 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
694 * factory.C: Small step to solving 'unable to insert some insets'
697 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
699 * cursor.[Ch] (updatePos): new function for updating the y
700 position of the tip inset
701 * bufferview_funcs.C (put_selection_at):
702 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
704 2003-11-11 André Pönitz <poenitz@gmx.net>
706 * text.C: remove big comment on invalid Paragraph pointers as it is
709 2003-11-11 André Pönitz <poenitz@gmx.net>
711 * text_funcs.[Ch]: merge with ...
719 * Makefile.am: remove text_funcs.[Ch]
721 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
723 * cursor.C (getPos): return absolute cached y coord
725 * BufferView_pimpl.C (fitCursor): new simplistic code
726 (workAreaDispatch): add a fitCursor call
728 2003-11-10 André Pönitz <poenitz@gmx.net>
731 * BufferView_pimpl.[Ch]: merge update() and updateInset()
733 2003-11-10 André Pönitz <poenitz@gmx.net>
735 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
736 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
737 indicate that the cursor needs to leave an inset
739 * lyxtext.h: remove inset locking
741 * cursor.[Ch]: re-implement functionality provided by inset locking
744 * BufferView_pimpl.[Ch]:
746 * bufferview_funcs.[Ch]:
758 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
760 * PosIterator.[Ch]: replace the stack with a vector, add inset
762 * iterators.[C]: adjust
764 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
766 * lyxfind.C (replaceAll): mark the buffer dirty if something was
768 * paragraph_funcs.C (readParToken): put the correct id in the
769 error item, not the id of the top paragraph
771 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
773 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
774 * bufferview_funcs.C (put_selection_at): use the above
776 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
778 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
780 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
783 * output_plaintext.h:
785 * output_docbook.h: add #include statements
787 2003-11-05 José Matos <jamatos@lyx.org>
789 * output_docbook.[Ch]:
791 * output_linuxdoc.[Ch]:
792 * output_plaintext.[Ch]: New files for output formats.
793 * output.[Ch]: New file for helper functions.
796 * paragraph_funcs.[Ch]: output functions moved to new files.
798 * outputparams.h: rename of latexrunparams.h
806 * paragraph_funcs.[Ch]:
807 * paragraph_pimpl.[Ch]:
808 * tabular.[Ch]: rename ascii to plaintext
809 and LatexRunParams to OutputParams.
811 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
813 * iterators.[Ch] (text): require bv argument
814 * undo.C (recordUndo):
815 * lyxfunc.C (dispatch):
816 * bufferview_funcs.C (put_selection_at): adjust
818 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
820 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
822 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
824 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
827 2003-11-04 André Pönitz <poenitz@gmx.net>
829 * cursor.[Ch]: restructure
832 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
834 * iterators.[Ch] (asCursor): remove
836 * lfuns.h: remove LFUN_INSET_EDIT
842 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
844 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
846 * lyxfind.[Ch]: complete overhaul
847 * BufferView_pimpl.C:
849 * paragraph.[Ch] (insert): add
851 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
855 * text.C: remove dead spellcheck code
857 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
859 * dispatchresult.h: add a val setter
861 * cursor.C (dispatch): use a tempvar for data_[i]
863 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
865 * PosIterator.[Ch]: compile fix
867 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
869 * text.C (cursorPar): deactivate the cursor cache
871 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
873 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
875 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
877 * text3.C (dispatch): adjust for new DisptchResult semantics.
879 * lyxfunc.C (dispatch): handle update when return from
880 Cursor::dispatch, adjust for new DispatchResult semantics.
882 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
883 DispatchResult(true) mean to not update. Add class functions for
884 setting dispatched and update, as well as reading.
886 * cursor.C (dispatch): don't handle update here
888 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
890 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
891 * trans_mgr.C: adjust
893 * paragraph_funcs.C (readParToken): exception safety
895 * lyxvc.h: store the vcs pointer in a scoped_ptr
898 * lyxsocket.C (serverCallback): exception safety
900 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
902 * ispell.C (clone): make it return a auto_ptr
904 * factory.C (createInset): exception safety
905 (readInset): exception safety
907 * bufferlist.C (newBuffer): exception safety
909 * Thesaurus.C (Thesaurus): use initialization for aik_
911 * MenuBackend.C (expandToc): exception safety.
913 2003-11-03 André Pönitz <poenitz@gmx.net>
917 * bufferview_funcs.C: remove getInsetFromId()
920 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
926 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
928 * PosIterator.C (distance, advance): new
929 * bufferview_funcs.[Ch] (put_selection_at): new
930 * iterators.[Ch] (lockPath): new
932 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
934 * iterators.[Ch] (asPosIterator): added
935 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
936 * PosIterator.[Ch]: added
938 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
942 * cursor.C (dispatch):
943 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
945 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
946 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
947 contructor, add a class function dispatched. Remove operator>=
949 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
951 * debug.C: only use the default constructor for debugstream
954 * main.C (main): include debug.h and setup the lyxerr streambuf
957 2003-10-31 José Matos <jamatos@lyx.org>
959 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
961 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
962 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
963 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
964 * paragraph_pimpl.C (simpleTeXSpecialC):
965 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
966 add LatexRunParams argument.
968 * exporter.C (Export): change call accordingly.
970 * latexrunparams.h: add new member to take care of the other backends.
971 2003-10-30 José Matos <jamatos@lyx.org>
973 * buffer.C (makeLinuxDocFile, makeDocBookFile):
974 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
975 factorise code for paragraph output.
977 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
980 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
982 * text3.C (dispatch):
983 * lyxfunc.C (dispatch):
984 * cursor.C (dispatch):
985 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
987 * dispatchresult.h: make the dispatch_result_t ctor explicit
989 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
992 * buffer.C: small refactoring of docbook stuff
994 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
996 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
999 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1001 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1002 operator dispatch_result_t, and operators for == != and >=
1004 * cursor.C (dispatch): adjust for operator dispatch_result_t
1005 removal. comment out call to update
1007 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1009 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1017 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1020 * dispatchresult.h: new file, DispatchResult broken out of
1023 * Makefile.am (lyx_SOURCES): add dispatchresult.h
1025 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1027 * text.C (rowBreakPoint): put a hack inside #if 0
1029 2003-10-28 André Pönitz <poenitz@gmx.net>
1033 * paragraph_funcs.C:
1036 * text2.C: general cleanup (lots of small stuff)
1038 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1040 * text2.C (cursorEnd): simple fix to the "end key goes to one
1041 before the end on last row" bug
1043 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1045 * text.C (backspace): fix the "zombie characters"
1047 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1049 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1051 2003-10-27 André Pönitz <poenitz@gmx.net>
1053 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1055 * factory.C: handle new InsetPagebreak, InsetLine
1057 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1058 and move handling into new InsetPagebreak, InsetLine
1060 * BufferView_pimpl.C:
1062 * ParagraphParameters.C:
1063 * ParameterStruct.h:
1068 * paragraph_funcs.C:
1069 * paragraph_pimpl.C:
1075 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1078 * lyxrow_funcs.[Ch]:
1084 * text3.C: remove lastPos uses in favour of Row::endpos
1086 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1088 * undo.C (performUndoOrRedo): fix two crashes by setting a
1089 cursor by hand and reordering some calls. Use bv->lockInset instead
1090 of inset->edit because the latter loses cursor information
1092 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
1094 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1096 (rowBreakPoint): fix width. change point to point + 1.
1097 Add a missing check.
1099 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
1102 * lyxfunc.C: fix (at least partly) the problems
1103 with the Nav menu and headers inside branch insets
1106 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
1108 * paragraph.C (getChar): add strong asserts
1110 * lyxrow_funcs.C (lastPos): remove hideous hack
1112 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1113 (fill): adjust to that (avoid an infinite loop)
1115 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1117 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1119 2003-10-23 André Pönitz <poenitz@gmx.net>
1121 * RowList_fwd.h: change list<> to vector<> to gain speed
1122 after suggestion from Alfredo
1124 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1126 * lyxtext.h: move the bidi stuff from here...
1129 * Bidi.[Ch]: ... to here
1131 2003-10-23 André Pönitz <poenitz@gmx.net>
1134 * text.C (isLastRow, isFirstRow): new functions
1136 * paragraph.h: new width cache member
1138 * rowpainter.C: replace RowList::iterator with Row & where possible
1140 * lyxfunc.C: replace several view()->text with a single call
1142 * toc.C: fix 'unused' warning
1144 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1146 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1147 when woring with stream::pos_type
1148 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1150 2003-10-22 André Pönitz <poenitz@gmx.net>
1153 * text.C: use Row & instead of RowList::iterator
1155 * lyxrow.h: rename end() to endpos()
1161 2003-10-22 Angus Leeming <leeming@lyx.org>
1163 * buffer.[Ch] (fully_loaded): new member function, returning true
1164 only when the file has been loaded fully.
1165 Used to prevent the premature generation of previews and by the
1166 citation inset to prevent computation of the natbib-style label.
1168 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1169 templates are all set up.
1171 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1173 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
1175 * text.C: fixed an "oops" in the "is a bit silly"
1178 2003-10-21 André Pönitz <poenitz@gmx.net>
1180 * FuncStatus.[Ch]: small stuff, whitespace
1182 * lyxfont.[Ch]: operator<<() for debug reasons
1186 * lyxtext.h: whitespace, spelling
1188 * paragraph.C: naming of variables
1191 * text2.C: small stuff
1194 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1196 * text.C: (1) finish off the inset display() work;
1197 (2) fix the "is a bit silly" bug (accessing char
1200 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1202 * text.C: re-introduce display() for insets, fixing the
1203 various bugs (stretch of line above, math inset
1206 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1208 * text.C (rightMargin): remove spurious semicolon
1210 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1213 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1215 * text3.C: fix one crash due to wrong cursor def
1217 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1219 * vc-backend.C (scanMaster): make the regex static
1221 * LaTeX.C (scanAuxFile): make the regexs static
1223 * text3.C (doInsertInset, dispatch, dispatch):
1224 * text2.C (cursorUp, cursorDown):
1225 * text.C (selectNextWordToSpellcheck):
1226 * BufferView_pimpl.C (dispatch):
1227 * lyxfunc.C (dispatch): localDispatch -> dispatch
1229 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1231 * lyxsocket.C: include <cerrno>
1233 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1235 * lyxfunc.C (dispatch): remove textcache stuff
1237 * bufferlist.C (release): remove textcache stuff
1240 * TextCache.C: delete file
1241 * TextCache.h: delete file
1243 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1245 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1246 delete of the bv_->text.
1247 (resizeCurrentBuffer): remove texcache stuff
1248 (workAreaResize): ditto
1250 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1252 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1255 2003-10-16 André Pönitz <poenitz@gmx.net>
1262 * text3.C: speed up by storing y positions per paragraph plus per-row
1263 offset instead of having a 'full' y position in the row.
1265 2003-10-15 André Pönitz <poenitz@gmx.net>
1269 * undo.[Ch]: make undo aware of inner insets
1271 2003-10-14 Angus Leeming <leeming@lyx.org>
1273 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1274 static member functions LyX::ref() and LyX::cref.
1275 (lastfiles): new accessor functions for the new lastfiles_ member var.
1276 (addLyXView, views_): add a new LyXView to the list of views_.
1277 (updateInset): loop over all LyXViews to call their own updateInset
1278 member function, returning a pointer to the Buffer owning the inset.
1280 * BufferView_pimpl.C (loadLyXFile):
1281 * MenuBackend.C (expandLastfiles):
1282 * bufferlist.C (MenuWrite, QuitLyX):
1283 lastfiles is no longer a global variable.
1284 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1286 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1287 static function. Access through LyX::cref().emergencyCleanup().
1289 2003-10-14 André Pönitz <poenitz@gmx.net>
1291 * iterators.[Ch]: new direct access to innermost LyXText and Inset
1293 * undo.[Ch]: restoring part of 'undo in insets'
1296 * undo_funcs.[Ch]: merge with undo.[Ch]
1298 * tabular.C: small cleansing stuff
1300 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
1302 * paragraph_funcs.C (readParToken): report unknown insets as error
1303 boxes. Use the outer paragraph as location (also for unknown
1306 * factory.C (readInset): do not abort on reading an unknown inset.
1307 Eat it and return 0.
1309 2003-10-13 Angus Leeming <leeming@lyx.org>
1311 * lyx_main.C (LyX): remove call to setDisplayTranslator().
1313 * lyxrc.C: displayTranslator is now a function,
1314 declared in GraphicsTypes.h.
1316 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1318 * format.C: new placeholder $$a to pass the socket address.
1320 * bufferlist.[Ch]: new function getBufferFromTmp.
1322 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1323 files in the temporary dir.
1325 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1327 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1329 * Makefile.am: add lyxsocket.[Ch].
1331 * lyx_main.C (error_handler): handle SIGPIPE.
1333 2003-10-13 André Pönitz <poenitz@gmx.net>
1335 * BufferView_pimpl.C:
1340 * undo_funcs.[Ch]: use paroffset_type instead of
1341 ParagraphList::iterators to prevent multiple conversion
1342 (and get a more robust interface)
1344 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1346 * lyxfunc.C (dispatch): RESULT -> dispatch_result
1348 * text3.C (dispatch): ditto
1350 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1352 * LaTeX.C (handleFoundFile): move the static to smaller scope,
1353 move the onlyfile, use onlyfile instead of foundfile in a couple
1356 * DepTable.C (update): flush the error stream a bit more
1358 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1360 * lyxserver.C (callback): adjust
1362 * lyxfunc.C (getStatus): add a missing brace in commented code
1363 (ensureBufferClean): reindent
1364 (dispatch): delete version taking a string
1366 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1368 * LaTeX.C (deplog): move found file handlig from here...
1369 (handleFoundFile): .. to new function here.
1370 (deplog): make sure to discover several files mentioned on the
1373 2003-10-10 André Pönitz <poenitz@gmx.net>
1380 * text3.C: fix some of the tabular crashes
1382 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1384 * MenuBackend.C (binding): put debug message into Debug::KBMAP
1386 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1388 2003-10-09 André Pönitz <poenitz@gmx.net>
1390 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1393 * BufferView_pimpl.C:
1394 * bufferview_funcs.C:
1405 * undo_funcs.C: adjust
1407 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1409 * text2.C (incrementItemDepth): new function, use a backtracking
1410 algorithm to discover the correct item depth.
1411 (resetEnumCounterIfNeeded): new function, use a backtracking
1412 algorithm to discover if counter reset is needed.
1413 (setCounter): use them. Simplify a bit. Add different labels for
1414 different item depths for itemize.
1416 * paragraph.C (Paragraph): remove initialization of enumdepth
1419 * paragraph.h: get rid of enumdepth, and use itemdepth both for
1420 enumerate and itemize. Change the type of itemdepth to signed char.
1422 2003-10-08 André Pönitz <poenitz@gmx.net>
1424 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1429 * tabular.[Ch]: fix crash after 'row-insert'
1431 2003-10-08 Angus Leeming <leeming@lyx.org>
1433 Fix doxygen warnings.
1435 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1436 Remove CutAndPaste:: prefix from header file declaration.
1438 * LColor.h (fill): remove LColor:: prefix from declaration.
1440 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1441 use lyx::depth_type rather than Paragraph::depth_type so that
1442 header file and .C file match.
1444 * converter.h (intToFormat): remove Converters:: prefix from declaration.
1446 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1447 * aspell.C: \file aspell_local.C -> \file aspell.C
1448 * gettext.C: \file gettext.C -> \file src/gettext.C
1449 * gettext.h: \file gettext.h -> \file src/gettext.h
1450 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1451 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1452 * text.C: \file text.C -> \file src/text.C
1454 * toc.C: move comment so that doxygen is not confused.
1456 2003-10-07 Angus Leeming <leeming@lyx.org>
1458 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1460 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1463 * aspell_local.h: add forgotten std::string's.
1465 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1472 * text3.C: The Box patch. Fancybox support, minipage, parbox
1474 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1480 * ParagraphParameters.h:
1490 * lyxtextclasslist.h:
1493 * paragraph_pimpl.C:
1494 * textcursor.h: add <string> and other small fixes to make Lars'
1495 std::string patch compile with STLport.
1497 2003-10-06 Angus Leeming <leeming@lyx.org>
1499 * LColor.h: Add missing #include <string>.
1501 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1503 * All most all file in all subdirs: Make <string> be the prefered
1504 way of getting to std::string, add using declarations.
1506 2003-10-06 André Pönitz <poenitz@gmx.net>
1508 * metricsinfo.C: initialize LyXFont before changing attribute.
1509 (fixes the 'math in \emph is upright' bug)
1511 2003-10-06 André Pönitz <poenitz@gmx.net>
1513 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1515 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
1518 * paragraph_pimpl.C: Small fixes to build using STLport
1520 2003-10-02 André Pönitz <poenitz@gmx.net>
1523 * text3.C: move handling of LFUN_DEPTH *; fix #1360
1525 2003-10-01 André Pönitz <poenitz@gmx.net>
1527 * factory.C: assert early
1529 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1531 * lyx_main.C: remove the global debug object
1533 * debug.h: adjust for new debugstream
1535 * debug.C: adjust for new debugstream and keep the global debug
1538 2003-09-22 Angus Leeming <leeming@lyx.org>
1540 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1541 of g++ which otherwise complain that the scoped_ptr destructor can't delete
1542 an incomplete class LyXFont.
1544 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1546 * factory.C: bug fix in branches
1548 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1550 * lyxfunc.C (processKeySym): adjust
1552 (dispatch): change arg name from ev to func, adjust
1553 (sendDispatchMessage): ditto
1555 * lyx_main.C (defaultKeyBindings): adjust keybindings
1556 (deadKeyBindings): ditto
1558 * kbsequence.C (addkey): return a FuncRequest
1560 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1562 * kbmap.C (bind): take a FuncRequest as arg, adjust
1565 (defkey): change to take a FuncRequest as arg, adjust
1566 (findbinding): take a FuncRequest as arg, adjust.
1568 * funcrequest.h (operator=): added
1570 * funcrequest.C (FuncRequest): default kb_action changed from
1571 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1573 * buffer.C (dispatch): simplify
1574 (dispatch): adjust to take a FuncRequest as arg, adjust
1576 * boost.C (assertion_failed): change assertion message slightly
1578 * ToolbarBackend.C (read): simplify
1580 * MenuBackend.C (binding): adjust call to findbinding, add a
1581 message if no binding is found.
1583 (expandToc): correct by adding a empty FuncRequest
1585 * LyXAction.C: include <boost/assert.hpp>
1586 (isPseudoAction): delete function
1587 (LookupFunc): change name to...
1588 (lookupFunc): this. change return type to FuncRequest.
1589 (getActionName): take kb_action as arg, simplify
1590 (funcHasFlag): add an assert, simplify.
1592 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1594 * toc.C (action): return a FuncRequest, simplify
1596 * lyxfunc.C (processKeySym): adjust
1597 (getStatus): delete version that takes an int.
1599 (dispatch): delete version that takes action as int
1601 (sendDispatchMessage): simplify and adjust
1603 * funcrequest.C (getArg): take unsigned int as arg
1605 * ToolbarBackend.C (read): adjust
1606 (add): delete version that takes func as a string.
1607 (getIton): take a FuncRequest as arg
1609 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1612 * MenuBackend.C (MenuItem): add a new construct that only takes a
1613 Kind, simplify the constructor use for submenus.
1615 (expandLastfiles): adjust
1616 (expandDocuments): adjust
1617 (expandFormats): adjust
1618 (expandFloatListInsert): adjust
1619 (expandFloatInsert): adjust
1620 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1622 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1623 Remove class variables lyx_pseudo_map and lyx_arg_map
1625 * LyXAction.C (searchActionArg): delete function
1626 (getPseudoAction): delete function
1627 (retrieveActionArg): delete function
1628 (LookupFunc): make it return kb_action, simplify.
1629 (getActionName): simplify
1631 * factory.C (createInset): fix new bug
1633 2003-09-19 Angus Leeming <leeming@lyx.org>
1635 * CutAndPaste.C (pasteSelection): remove fudge used to set the
1636 masterFilename_ parameter in the include inset.
1638 * factory.C (createInset): changes due to the changes to InsetInclude.
1640 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1642 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1644 2003-09-18 Angus Leeming <leeming@lyx.org>
1647 * BufferView.C: pass the buffer when calling Inset::getLabelList,
1648 Inset::fillWithBibKeys.
1649 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1651 2003-09-18 Angus Leeming <leeming@lyx.org>
1653 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1655 (ctor): pass and store a 'Buffer const &'
1656 (buffer): new member function.
1658 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1659 '*this' to the LaTeXFeatures ctor.
1661 2003-09-18 Angus Leeming <leeming@lyx.org>
1667 * text.C: rename EnumLColor as LColor_color.
1669 2003-09-18 Angus Leeming <leeming@lyx.org>
1671 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1672 remove #include "insets/insetbase.h" from cursor.h.
1674 2003-09-18 Angus Leeming <leeming@lyx.org>
1676 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1677 InsetOld_code to remove #include "inset.h".
1679 * iterators.C: add #include "insets/inset.h"
1681 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
1683 * BufferView.C: remove more locking stuff that apparently doesn't
1684 do anything sensible.
1686 2003-09-16 André Pönitz <poenitz@gmx.net>
1689 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1692 2003-09-16 Angus Leeming <leeming@lyx.org>
1694 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1696 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1699 * paragraph.h: remove #include "lyxfont.h". Forward declare
1702 2003-09-16 Angus Leeming <leeming@lyx.org>
1704 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1705 of support/textutils.h.
1706 (isWord): move the contents of support/textutils.h's IsWordChar here.
1712 * text2.C: add #include "paragraph.h".
1715 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1717 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1723 * LaTeX.C: use namespace alias for lyx::support::os
1725 2003-09-16 Angus Leeming <leeming@lyx.org>
1728 * bufferview_funcs.C:
1731 * paragraph_pimpl.C:
1733 * text.C: add #include "LColor.h".
1735 2003-09-16 Angus Leeming <leeming@lyx.org>
1737 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1738 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1740 Store the FontBits::color variable as an int rather than as an
1741 LColor::colorso that we can move LColor.h out of the lyxfont.h header
1744 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1745 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1746 string calls together.
1748 * lyxrc.C: add #include "LColor.h".
1750 2003-09-15 Angus Leeming <leeming@lyx.org>
1752 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1755 2003-09-15 Angus Leeming <leeming@lyx.org>
1757 * LColor.h: add an EnumLColor wrapper for LColor::color.
1759 * lyxfont.[Ch] (color, setColor, realColor):
1760 * lyxtext.h, text.C (backgroundColor):
1761 pass EnumLColor args to/from the functions, rather than LColor::color
1765 * lyxtext.h: forward declare EnumLColor.
1767 * lyx_main.C: add #include "LColor.h".
1769 2003-09-15 Angus Leeming <leeming@lyx.org>
1771 * .cvsignore: add lyx-gtk.
1773 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1778 * ParagraphParameters.C
1782 * bufferview_funcs.C
1792 * vc-backend.C: remove usage of STRCONV
1794 2003-09-15 Angus Leeming <leeming@lyx.org>
1796 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1797 explicitly define the color passed to the painter.
1799 2003-09-15 Angus Leeming <leeming@lyx.org>
1801 * bufferparams.C (BufferParams): reorder member initializers to avoid
1804 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
1806 * CutAndPaste.C (pasteSelection): remove an outdated #warning
1807 * text.C (updateRowPositions): remove an unusual nop
1809 2003-09-12 André Pönitz <poenitz@gmx.net>
1811 * BufferView_pimpl.C:
1820 * Counters.[Ch]: finish the 'automatic counters' job
1822 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1824 * aspell.C: include <boost/assert.cpp> (compile fix)
1826 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
1828 * boost.C (assertion_failed): use lyx::support::abort instead of
1831 2003-09-10 Angus Leeming <leeming@lyx.org>
1833 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1834 with their _fwd progeny.
1836 2003-09-09 Angus Leeming <leeming@lyx.org>
1838 134 files throughtout the source tree: replace 'using namespace abc;'
1839 directives with the appropriate 'using abc::xyz;' declarations.
1841 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1843 * boost.C (emergencyCleanup): moved here from LAssert.c
1844 (assertion_failed): new function, called by BOOST_ASSERT
1846 * several files: change Assert to BOOST_ASSERT
1848 2003-09-09 Angus Leeming <leeming@lyx.org>
1850 * buffer.[Ch]: Add an Impl class and move Buffer's member
1851 variables into it. As a result move several header files out of
1854 Add header files to lots of .C files all over the tree as a result.
1856 2003-09-09 Angus Leeming <leeming@lyx.org>
1858 * buffer.[Ch]: make Buffer's member variables private. Add
1861 Lots of changes all over the tree as a result.
1863 2003-09-08 Angus Leeming <leeming@lyx.org>
1865 * graph.C: #include <config.h>.
1867 2003-09-08 Angus Leeming <leeming@lyx.org>
1871 * BufferView_pimpl.C:
1900 * toc.C: remove redundant using directives.
1902 2003-09-07 Angus Leeming <leeming@lyx.org>
1904 * LaTeXFeatures.h: remove #include "support/types.h".
1905 * ToolbarBackend.h: remove #include <algorithm>.
1906 * changes.h: remove #include <ctime>.
1907 * debug.h: remove #include <iosfwd>.
1908 * graph.h: remove #include "support/std_string.h".
1909 * lyx_main.h: remove #include <csignal>.
1910 * lyxlex_pimpl.h: remove #include <fstream>.
1911 * sgml.h: remove #include <algorithm>, <utility>.
1912 * toc.h: remove #include "support/std_ostream.h".
1913 Add #include <iosfwd>.
1915 2003-09-07 Angus Leeming <leeming@lyx.org>
1917 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1919 * converter.h: forward declare LatexRunParams.
1920 * encoding.h: remove #include "lyxrc.h".
1921 * lyxtext.h: remove #include "LColor.h".
1922 * lyxtextclass.h: remove #include "support/types.h".
1923 * trans.h: remove #include "tex-accent.h".
1924 * trans_mgr.h: remove #include "tex-accent.h".
1925 * insets/inset.h: remove #include "support/types.h", <vector>.
1926 * insets/insetcollapsable.h: remove #include "LColor.h".
1927 * insets/insetinclude.h: remove #include "dimension.h".
1928 * insets/insetlatexaccent.h: remove #include "dimension.h".
1929 * insets/insetoptarg.h:: remove #include "insettext.h".
1930 * insets/insettext.h: remove #include "dimension.h",
1931 <boost/shared_ptr.hpp>
1933 * insets/renderers.h: add #include "dimension.h".
1934 * insets/updatableinset.h: add #include "support/types.h".
1936 * many .C files: Associated changes.
1938 2003-09-06 Angus Leeming <leeming@lyx.org>
1940 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1941 one, inside testInvariant.
1943 * PrinterParams.C: new file.
1944 * PrinterParams.[Ch]: move the function bodies out of line.
1946 2003-09-06 Angus Leeming <leeming@lyx.org>
1948 * ParagraphParameters.h: forward declare ParameterStruct rather than
1949 including its header file.
1950 (depth): moved out-of-line.
1952 2003-09-06 Angus Leeming <leeming@lyx.org>
1954 * BufferView_pimpl.h:
1957 * lyxfunc.h: forward declare LyXKeySym rather than
1958 #include "frontends/LyXKeySym.h".
1960 * BufferView_pimpl.C:
1963 * lyxfunc.C: associated changes.
1965 2003-09-06 Angus Leeming <leeming@lyx.org>
1967 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1968 As a result, can remove the #include "insets/inset.h" from BufferView.h
1970 2003-09-06 Angus Leeming <leeming@lyx.org>
1972 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1973 As a result, can remove the #include "insets/inset.h" from BufferView.h
1975 2003-09-06 Angus Leeming <leeming@lyx.org>
1981 * bufferview_funcs.C:
1982 * BufferView_pimpl.C:
1987 * ParagraphParameters.C:
1992 * frontends/controllers/ControlDocument.C:
1993 * insets/insetcaption.C: rearrange the #includes into some sort of
1996 * buffer.h: remove #includes ErrorList.h, undo.h
1998 2003-09-06 Angus Leeming <leeming@lyx.org>
2000 * support/types.h: add a 'depth_type' typedef, used to store the
2001 nesting depth of a paragraph.
2004 * ParameterStruct.h: use this lyx::depth_type typedef rather than
2005 defining explicitly.
2008 * paragraph_funcs.h:
2009 * ParagraphParameters.h:
2010 * sgml.h: use lyx::depth_type rather than Paragraph or
2011 ParameterStruct's depth_type.
2014 * paragraph_funcs.h: no need to #include paragraph.h anymore.
2017 * BufferView_pimpl.C:
2019 * ParagraphParameters.C:
2022 * bufferview_funcs.C:
2029 * frontends/LyXView.C:
2030 * frontends/controllers/ControlDocument.C:
2031 * frontends/controllers/ControlErrorList.C:
2032 * insets/insetbibitem.C:
2033 * insets/insetbranch.C:
2034 * insets/insetcaption.C:
2035 * insets/insetcollapsable.C:
2036 * insets/insetenv.C:
2037 * insets/insetert.C:
2038 * insets/insetfloat.C:
2039 * insets/insetfoot.C:
2040 * insets/insetfootlike.C:
2041 * insets/insetnewline.C:
2042 * insets/insetquotes.C:
2043 * insets/insettabular.C:
2044 * insets/insettext.C:
2045 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2047 * frontends/controllers/ControlChanges.C: #include "changes.h".
2049 2003-09-06 Angus Leeming <leeming@lyx.org>
2051 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2052 than #including paragraph.h.
2055 * RowList.h: deleted. Superfluous.
2065 * insets/insettext.h: use ParagraphList_fwd.h rather than
2068 * paragraph.h: don't forward declare ParagraphList.
2071 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2072 rather than ParagraphList.h. paragraph.h is still needed for the
2073 Paragraph::depth_type parameters.
2075 * textcursor.h: enable it to compile stand-alone in light of the
2078 * bufferview_funcs.C:
2090 * frontends/controllers/ControlParagraph.C:
2091 * frontends/controllers/ControlTabular.C:
2092 * insets/insetmarginal.C:
2093 * insets/insetminipage.C:
2094 * insets/insetnote.C:
2095 * insets/insetoptarg.C: add header files needed to compile again.
2097 2003-09-06 Angus Leeming <leeming@lyx.org>
2099 * RowList_fwd.h: new file, forward-declaring Row rather than
2100 #including lyxrow.h.
2105 * insets/insettext.h: use it instead of RowList.h
2107 * bufferview_funcs.C:
2114 * text3.C: #include "RowList.h".
2116 2003-09-05 Angus Leeming <leeming@lyx.org>
2118 * factory.C (createInset):
2119 * vspace.C (c-tor): replace sscanf call with an istringstream.
2120 * ispell.C: re-add missing HP/UX headers.
2121 * lyxserver.C: re-add missing os2 headers.
2123 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
2132 * text3.C: re-add missing system headers, needed for 2.95.2.
2134 2003-09-05 Angus Leeming <leeming@lyx.org>
2136 Changes most place everywhere due to the removal of using directives
2137 from support/std_sstream.h.
2139 2003-09-05 Angus Leeming <leeming@lyx.org>
2141 Replace LString.h with support/std_string.h,
2142 Lsstream.h with support/std_sstream.h,
2143 support/LIstream.h with support/std_istream.h,
2144 support/LOstream.h with support/std_ostream.h.
2146 Changes resulting throughout the tree.
2148 2003-09-05 Angus Leeming <leeming@lyx.org>
2150 * sgml.h: ensure that the header file can be compiled stand-alone.
2151 * *.C: strip out redundant #includes. (320 in total.)
2153 2003-09-04 Angus Leeming <leeming@lyx.org>
2155 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2156 here (from getPackages).
2158 * debug.[Ch]: add a new EXTERNAL tag.
2160 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2162 * text2.C (cursorEnd): simplify
2164 (getColumnNearX): adjust
2166 * text.C (computeBidiTables): adjust
2169 * rowpainter.C (paintChars): adjust
2170 (paintSelection): adjust
2171 (paintChangeBar): adjust
2174 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2176 (numberOfSeparators): adjust
2178 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2184 * text3.C: Restricts the mouse click functionality
2185 of insets like bibtex, include, toc and floatlist to the visible
2186 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2187 up the dialogs. Cursor has to be in front of the inset (i.e.
2188 start of row) for this to function.
2190 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2192 * bufferview_funcs.C (currentState): output row information
2194 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2196 * bufferview_funcs.C (currentState): output paragraph position
2198 2003-09-04 Angus Leeming <leeming@lyx.org>
2200 * FloatList.h: move out #include "Floating.h".
2201 * LaTeX.h: move out #include "DepTable.h".
2202 * LyXAction.h: move out #include "funcrequest.h".
2203 * buffer.h: move out #include "author.h", "iterators.h".
2204 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2205 * lyx_main.h: move out #include "errorlist.h".
2206 * lyxfunc.h: move out #include "FuncStatus.h".
2207 * lyxtext: move out #include "lyxcursor.h".
2208 * paragraph_pimpl.h: move out #include "counters.h".
2210 2003-09-03 Angus Leeming <leeming@lyx.org>
2212 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2213 preamble_snippets list, enabling us to add snippets to the preamble
2214 only if the snippet was not there already.
2216 2003-09-04 Angus Leeming <leeming@lyx.org>
2218 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2220 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2222 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2225 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2227 * BranchList.C: point fix, earlier forgotten
2229 2003-09-02 Angus Leeming <leeming@lyx.org>
2231 * box.C (contains): renamed from 'contained' after a fantastic
2234 2003-09-02 John Levon <levon@movementarian.org>
2240 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2242 2003-09-02 John Levon <levon@movementarian.org>
2244 * text2.C: simplification of cursorEnd(), including partial
2247 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2249 * buffer.C (readFile): add a space
2251 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
2253 * BufferView_pimpl.C (update): remove bogus fitCursor() call
2255 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2257 * buffer.C (readFile): new function, take a filename and a
2258 ParagraphList::iterator
2260 (readFile): adjust, make it private. don't use setStream, make
2261 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2262 always contain the filename.
2264 * BufferView.C (insertLyXFile): simplify and make it work for
2267 2003-08-30 John Levon <levon@movementarian.org>
2269 * Makefile.am: fix dist (from Kayvan)
2271 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2273 * most files: change to use const Buffer refs
2275 2003-08-27 André Pönitz <poenitz@gmx.net>
2277 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2278 on top of ownerPar().
2280 2003-08-27 John Levon <levon@movementarian.org>
2282 * funcrequest.C: properly initialise POD members
2284 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2286 * lyxtext.h (top_y): move top_y from here
2291 * BufferView_pimpl.[Ch]: to here
2292 * frontends/screen.C:
2293 * insets/insettabular.C:
2294 * insets/insettext.C: adjust
2295 * rowpainter.[Ch] (paintRows): remove LyXText & argument
2297 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2300 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2302 2003-08-26 André Pönitz <poenitz@gmx.net>
2304 * paragraph_func.[Ch] (outerPar): new function
2307 * paragraph_funcs.C:
2308 * paragraph_funcs.h:
2309 * paragraph_pimpl.C:
2310 * text2.C: remove Inset::par_owner
2312 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2317 * text2.C: eliminates the needFullRow/display() stuff
2318 altogether, putting the logic in metrics/draw in the insets.
2320 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
2322 * text2.C (redoParagraphInternal, redoParagraphs):
2323 * text.C (redoParagraph): add a call to updateRowPositions at the
2324 end of each 'metrics-like' call. Remove all others.
2325 (getRow): remove the 'y-computing' version.
2326 (getRowNearY): do not compute nor return the real y. Solve the
2327 'y < 0' problem and simplify.
2329 2003-08-22 Angus Leeming <leeming@lyx.org>
2331 * *.[Ch]: clean-up of licence and author blurbs.
2332 Also move config.h out of a few .h files and into a few .C files.
2334 2003-08-22 André Pönitz <poenitz@gmx.net>
2336 * lyxrow.[Ch]: add x_ and *fill_ members
2341 * text2.C: adjust/remove prepareToPrint() calls
2343 2003-08-22 André Pönitz <poenitz@gmx.net>
2345 * lyxrow.[Ch]: add end_ member
2347 * lyxrow_funcs.C: use LyXRow::end_
2349 * lyxtext.h (singleWidth): add LyXFont parameter
2352 * text2.C: adjust LyXText::singleWidth() calls
2354 * text.C (redoParagraph): simplify row breaking logic
2357 2003-08-19 André Pönitz <poenitz@gmx.net>
2359 * funcrequest.C: initialize button_ member
2362 * rowpainter.[Ch]: interface consolidation
2364 2003-08-18 André Pönitz <poenitz@gmx.net>
2367 * BufferView_pimpl.C:
2369 * paragraph_funcs.C:
2371 * text3.C: remove LyXScreen::draw() and fitCursor calls
2373 * BranchList.h: remove spurious semicolons
2375 * MenuBackend.C: fix branchlist related crash
2377 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2385 * bufferparams.[Ch]:
2389 * text3.C: implements the 'branch inset'
2390 idea. This allows the output of various versions of a document
2391 from a single source version, selectively outputing or suppressing
2392 output of parts of the text.
2393 This implementation contains a 'branch list editor' in a separate
2394 tab of the document settings dialog. Branches are user definable
2395 and have a "display colour" to distinguish them on-screen.
2397 ColorHandler was somewhat cleaned up.
2398 (1) make possible a dynamically growing LColor list by allowing
2399 the graphic context cache to grow along (vector);
2400 (2) eliminate an IMHO unnecessary step in colour allocation.
2402 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
2404 * BufferView_pimpl.C: compile fix
2406 2003-08-15 André Pönitz <poenitz@gmx.net>
2408 * rowpainter.C: remove extra metrics calls
2410 * lyxtext.h: merge the two constructors into a single one,
2411 pass reference to owner's par list
2413 * BufferView_pimpl.C:
2417 2003-08-15 André Pönitz <poenitz@gmx.net>
2419 * lyxrow_funcs.[Ch]:
2422 * paragraph_funcs.C:
2427 * text_funcs.C: split LyXText::rowlist_ into individual
2428 Paragraph::rows_ chunks
2431 * BufferView_pimpl.[Ch]:
2434 * text3.C: remove toggleSelection()
2436 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2438 * bufferlist.C: beautify two alerts (shorter text of buttons)
2439 * buffer.C: Remove redundant ' ' from message
2441 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2442 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2443 rename VALIGN_CENTER to VALIGN_MIDDLE
2445 2003-08-11 André Pönitz <poenitz@gmx.net>
2447 * lyxtext.h (getPar):
2448 * text.C: new function
2450 2003-08-11 André Pönitz <poenitz@gmx.net>
2453 * tracer.[Ch]: remove unneeded files
2455 * InsetList.[Ch]: remove resizeInsetsLyXText()
2460 * text3.C: merge insertParagraphs() and appendParagraph()
2461 remove breakAgain(), update()
2463 * BufferView_pimpl.[Ch]:
2464 * bufferview_funcs.[Ch]:
2468 * tabular.C: adjust after text & InsetList changes.
2470 2003-08-08 André Pönitz <poenitz@gmx.net>
2472 * text.C (insertChar, backspace): replace rowlist fiddling
2473 with rebreak of full par
2476 * text.C (breakAgainOneRow, redoHeightOfParagraph,
2477 checkParagraph, updateInset): removed
2479 2003-08-07 André Pönitz <poenitz@gmx.net>
2482 * text3.C: merge some LFUN handlers, remove dead code
2484 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2486 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2488 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
2490 * text2.C (DEPM): fix part of bug 1255 and 1256
2492 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2494 * BufferView_pimpl.C (workAreaDispatch): change to use
2495 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2496 that are no mouse related.
2498 2003-08-05 André Pönitz <poenitz@gmx.net>
2501 * BufferView_pimpl.[Ch]:
2502 * bufferview_funcs.C:
2504 * text3.C: rip out "deep update"
2506 * textcursor.[Ch] (last_sel_cursor): remove unused member
2508 2003-08-04 André Pönitz <poenitz@gmx.net>
2511 * BufferView_pimpl.[Ch]:
2512 * ParagraphParameters.C:
2513 * bufferview_funcs.C:
2519 * text3.C: replace "complicated" BufferView::update(...) calls with
2522 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2524 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
2526 * Makefile.am (lyx_SOURCES): add paper.h
2528 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2530 * Makefile.am: move things around so that both lyx-qt and
2531 lyx-xforms can be built (according to --with-frontend). Then lyx
2532 is a symbolic link to lyx-[firstfrontend]
2534 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2536 * Always use std::endl with lyxerr
2538 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
2540 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2542 2003-08-01 André Pönitz <poenitz@gmx.net>
2545 * BufferView_pimpl.[Ch]:
2547 * text3.C: merge BufferView::repaint() and BufferView::update()
2549 2003-08-01 José Matos <jamatos@lyx.org>
2551 * buffer.[Ch]: file_format is no longer a buffer data element.
2553 2003-08-01 André Pönitz <poenitz@gmx.net>
2558 * text2.C: make redoParagraph more independent of current cursor
2560 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2562 * text2.C: remove unneeded members
2564 2003-07-30 André Pönitz <poenitz@gmx.net>
2566 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2568 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2569 create a single function...
2571 * paragraph_funcs.C (moveItem): ... here.
2574 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2576 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2578 * LColor.[Ch]: Add comment and greyedout logical colors.
2580 2003-07-30 André Pönitz <poenitz@gmx.net>
2582 * tabular.C: don't use Assert too heavily. This crashes where it
2585 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
2587 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2588 is disabled (bug 1232)
2590 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2592 * factory.C: limited 'arg' scope
2594 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2596 * factory.C: fixed Note submenu issues
2598 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2600 * factory.C: submenu for Note/Comment/Greyedout
2602 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
2605 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2607 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2610 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2611 greyedout. Patch provided by Jürgen Spitzmüller.
2613 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2615 * kbmap.C (read): fix error message when reading bind files
2617 2003-07-29 Angus Leeming <leeming@lyx.org>
2619 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2620 certainly does not do what it purports to do. I am doing it, and
2621 us, a favour by killing it.
2623 2003-07-28 José Matos <jamatos@lyx.org>
2625 * buffer.C (readBody, do_writeFile):
2626 * paragraph.C(readParagraph): \end_document replaces \the_end.
2628 2003-07-29 André Pönitz <poenitz@gmx.net>
2631 * BufferView_pimpl.[Ch]:
2635 * textcursor.[Ch]: remove toggleToggle & Co
2637 2003-07-28 José Matos <jamatos@fep.up.pt>
2639 * buffer.C (readParagraph):
2640 * params_func (readParToken, readParagraph):
2641 * paragraph.C (write): \layout -> \begin_layout.
2643 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2645 * lyxlex_pimpl.C (setFile): clean up slightly.
2647 * bufferparams.h: add compressed var
2649 * buffer_funcs.C (readFile): adjust for LyXLex change
2650 (newFile): ditto + simplify
2652 * buffer.C (writeFile): handle writing of compressed files
2654 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2655 Check if the file is compressed and set a bufferparm if so.
2657 * Makefile.am (lyx_LDADD): remove explicit -lz
2659 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2661 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2662 makeDocBookFile): put the real LyX version in the first line of
2666 * version.C.in: remove lyx_docversion
2668 * tabular.C (write_attribute): add a template-based version to
2669 write enums properly
2671 2003-07-28 André Pönitz <poenitz@gmx.net>
2676 * text3.C: use doubles again for x-coordinates. They are needed.
2678 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2680 * messages.C (getLocaleDir): use lyx_localedir()
2682 * lyxlex_pimpl.C (setFile): compress stuff
2684 * buffer.C (writeFile): add some compression stuff
2685 (do_writeFile): new func, dont call expliti close... will this
2688 * Makefile.am (lyx_LDADD): add -lz
2690 2003-07-28 José Matos <jamatos@fep.up.pt>
2692 * buffer.C: increment file format.
2693 * paragraph_funcs (readParagraph, readParToken):
2694 * paragraph.C (readParagraph): add \end_layout.
2696 2003-07-27 Angus Leeming <leeming@lyx.org>
2698 * Makefile.am: remove special casing for configure-time setting of
2699 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2701 * lyx_main.C (init): remove all Jean-Marc's magic setting of
2702 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2704 2003-07-26 André Pönitz <poenitz@gmx.net>
2706 * paragraph_func.[Ch]:
2707 * paragraph.C (realizeFont): inline it whereever it is used
2712 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2715 2003-07-26 André Pönitz <poenitz@gmx.net>
2719 * text2.C: get rid of LyXText::need_break_row
2721 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2723 * toc.[Ch]: put namespace toc inside namespace lyx
2725 * MenuBackend.C (expandToc2): adjust for lyx::toc
2728 * lyxfunc.C (dispatch): adjust for lyx::find
2730 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2731 lyx::find instead. Reorganize a bit.
2732 (LyXReplace): rename to replace
2733 (LyXFind): rename to find
2735 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2738 2003-07-26 André Pönitz <poenitz@gmx.net>
2740 * text.C (setHeightOfRow): restrict scope of temporary variable
2742 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
2743 code (never has been used?)
2745 2003-07-27 Asger Alstrup <alstrup@local>
2747 * text.C (fill): Optimise algorithm to exploit that we can reuse
2748 the LyXFont for many characters.
2749 (setHeightOfRow): Same thing.
2750 (rowBreakPoint): Same thing.
2752 2003-07-26 Asger Alstrup <alstrup@local>
2754 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2756 * text.C (singleWidth): Spurious font copying in hot-spot
2757 singleWidth avoided. Reorder tests for arabic for efficiency.
2759 * text.C (fill): handle empty paragraphs better.
2761 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2764 * encoding.h: add includes
2766 * lyxrc.C: remove reading of bind files
2768 * lyx_main.C (init): setup bindings and menus only if we have a
2771 * kbmap.C (read): new method. Do the actual reading of bind
2774 * converter.C (dvipdfm_options):
2777 (output): adapt PAPER_* enums.
2779 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2781 * bufferparams.h: remove paper-related enums from there
2783 * paper.h: New file. A trivial header file to hold paper-related
2784 enums. It should later expand to contain many paper-related
2787 * lyxrc.C: declare extern displayTranslator
2789 2003-07-27 José Matos <jamatos@fep.up.pt>
2791 * tabular.[Ch] (linuxdoc): add support for tables and figures
2794 2003-07-27 José Matos <jamatos@fep.up.pt>
2796 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2797 consistency in both functions.
2798 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2800 2003-07-26 Asger Alstrup <alstrup@local>
2802 * rowpainter.C (paintRows): Change algorithm to work directly on
2803 the insets rather than asking every character in the document
2804 whether its an inset.
2806 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
2808 * buffer.C (openFileWrite): factorize some code
2810 2003-07-26 Angus Leeming <leeming@lyx.org>
2813 * lyx_main.[Ch]: replace occurances of system_tempdir with
2816 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2818 * rename Inset to InsetOld
2820 2003-07-25 Asger Alstrup <alstrup@diku.dk>
2822 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2823 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2824 which I think is a bit clearer. EDIT is gone, since it was
2825 premature optimisation, and broken for mathed anyway.
2826 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2827 with cursor positioning in insets as well (math insets still do not
2828 work, but that's a different story anyway.) It mysteriously
2829 crashes sometimes with undo in the first paragraph, but I'm fairly
2830 confident that this is a compiler bug.
2832 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2834 * paragraph.C (Paragraph): adjust for new clone return type
2836 (copyIntoMinibuffer): ditto
2838 2003-07-25 Asger Alstrup <alstrup@lyx.org>
2840 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2841 by not having a special case, and always doing a full rebreak of
2842 the document after undo.
2844 2003-07-23 Angus Leeming <leeming@lyx.org>
2846 * factory.C (createInset): InsetExternal::setParams now takes a
2849 2003-07-23 Angus Leeming <leeming@lyx.org>
2851 * factory.C (createInset): changed interface to the external and
2852 graphics mailers' string2params functions.
2854 2003-07-23 Angus Leeming <leeming@lyx.org>
2856 * factory.C (createInset): pass a
2857 Buffer const * parameter to InsetExternalMailer's string2params.
2859 2003-07-22 John Levon <levon@movementarian.org>
2861 * Thesaurus.h: include the right aiksaurus header
2863 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2865 * MenuBackend.C (expand): check menu shortcuts unconditionally
2867 2003-07-21 Angus Leeming <leeming@lyx.org>
2869 * factory.C (createInset): pass a
2870 buffer_path parameter to InsetGraphicsMailer's string2params.
2872 2003-07-21 Angus Leeming <leeming@lyx.org>
2874 * BufferView_pimpl.C (buffer):
2877 * lyxfunc.C (dispatch):
2878 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2879 rather than the grfx shortcut.
2881 2003-07-21 André Pönitz <poenitz@gmx.net>
2883 * rowpainter.C: remove unused variables
2886 * tabular_funcs.h: move to tabular.C
2887 * Makefile.am: adjust
2889 * tabular.[Ch]: basic optical cleaning
2891 * author.h: pass references, not values
2893 2003-07-18 André Pönitz <poenitz@gmx.net>
2901 * text3.C: two-phase drawing for InsetText and InsetTabular
2902 some float -> int changes.
2904 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2906 * lyx_main.C: fix the fix
2908 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2910 * lyx_main.C: fix a crash in batch mode if no files specified
2913 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
2915 * format.[Ch] (papersize): moved to BufferParams
2916 * converter.[Ch] (dvips_options): moved to BufferParams
2917 (dvipdfm_options): moved to anon namespace
2918 * bufferparams.[Ch]: added above functions.
2920 2003-07-17 André Pönitz <poenitz@gmx.net>
2924 * text2.C: don't call inset->update() anymore
2926 * metricsinfo.[Ch]: add convenience constructor
2928 2003-07-16 André Pönitz <poenitz@gmx.net>
2933 * text2.C: replace the LyXCursor::irow_ member with
2934 on-demand computation of the value
2936 2003-07-16 John Levon <levon@movementarian.org>
2938 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2940 2003-07-15 André Pönitz <poenitz@gmx.net>
2943 * text2.C: remove no more needed refresh_row
2945 2003-07-15 André Pönitz <poenitz@gmx.net>
2950 * text3.C: refresh_status tristate -> need_update bool
2952 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2954 * lyxtext.h (init): remove reinit argument (act as if always true)
2955 * text2.C: adjust to that
2957 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2959 * bufferview_funcs.[Ch]: introduce function replaceSelection()
2960 * text3.C: use it to delete selections in some cases
2961 (bugs 441, 673, 702, 954).
2963 2003-07-14 André Pönitz <poenitz@gmx.net>
2965 * rowpainter.[Ch]: reduce interface
2967 2003-07-14 André Pönitz <poenitz@gmx.net>
2969 * BufferView_pimpl.C:
2970 * text2.C: adjust after removing unused BufferView * argument
2972 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
2974 * text2.C (init): fix a crash fired on resize
2976 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
2978 * buffer.[Ch]: added new closing signal
2979 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2980 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2981 BufferView::Pimpl via the closing the signal
2983 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
2985 * buffer.[Ch]: take out all bv-related from buffer
2987 * BufferView_pimpl.[Ch]: connect to new signals
2988 * CutAndPaste.C: removed useless asserts
2989 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2992 * lyxfunc.C: moved view-related funciontality from vc here
2993 * paragraph.C: removed outdated comments
2996 2003-07-10 André Pönitz <poenitz@gmx.net>
2998 * BufferView_pimpl.C:
3002 * text2.C: remove InsetText::InnerCache, clean up consequences
3004 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3006 * ispell.C: fix two typos in error messages
3008 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
3010 * Extend Note inset to other forms of annotation like Comment
3011 and Greyedout. Right button click gives dialog.
3013 Files modified or added (+):
3017 * ControlNote.[Ch] +
3019 * Makefile.am in frontends/xforms, frontends/xforms/forms,
3020 frontends/controllers
3024 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3026 * aspell.C: add missing namespace lyx::support
3028 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
3030 * BufferView.[Ch] (newFile): Add
3031 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3032 * LaTeX.[Ch] (message): added this signal and use it
3033 * buffer.[Ch] (busy, message): added these signals and use them
3034 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3038 * importer.C: use buffer signals instead of direct bv calling
3039 * lyx_cb.[Ch] (ShowMessage): removed
3042 * paragraph_funcs.C:
3043 * text2.C: use buffer signals
3045 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3047 * introduce namespace lyx::graphics
3049 2003-07-02 André Pönitz <poenitz@gmx.net>
3051 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3053 2003-07-01 André Pönitz <poenitz@gmx.net>
3060 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3061 text*.C to text_func.C
3063 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3065 * introduce namespace lyx::support
3067 2003-06-30 André Pönitz <poenitz@gmx.net>
3072 * text.C: re-enable --with-included-string
3074 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3076 * textcursor.C: add <config.h>
3078 * text.C (getWord): remove const from word_location arg
3080 * lyxvc.C (getLogFile): fix const type order
3082 * lyxtext.h: remove const from word_location arg, add arg name
3084 * lyxlayout.h: currect type on labeltype.
3086 * importer.C: correct \file
3088 * converter.C (intToFormat): use std:: on ret val, ws changes
3090 * bufferlist.h: correct \file
3092 * buffer.C (makeLinuxDocFile): fix const type order
3093 (makeDocBookFile): ditto
3094 (fillWithBibKeys): use std:: on stdlib args.
3096 * CutAndPaste.C: fix authors.
3097 (availableSelections): use std:: on return vector
3099 2003-06-27 André Pönitz <poenitz@gmx.net>
3101 * BufferView_pimpl.C:
3102 * bufferview_funcs.C:
3110 * text3.C: remove LyXCursor::row_ member
3113 * text.C: rename fullRebreak() to partialRebreak() and implement
3114 a fullRebreak() that really bereks fully
3116 * textcursor.h: new struct for cursor-related data
3118 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
3120 * lyx_main.C (LyX): get full path of document loaded on the
3123 2003-06-26 André Pönitz <poenitz@gmx.net>
3125 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3126 remove unused/broken operator>,<,>=.
3128 * text.C: remove only use of broken operator<= in an Assert().
3130 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3132 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3133 moved errorlist_.clear to showErrorList
3135 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3137 * converter.C (scanLog, runLaTeX):
3138 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3139 move the bv->showErrorList call to the callers
3140 * lyxfunc.C: i.e. here...
3142 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3143 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3144 namespace, the second to...
3145 * buffer_funcs (BufferFormat, parseErrors): added
3146 * errorlist.C (ErrorList(TeXErrors const &)): removed
3148 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3150 * ToolbarBackend.C (getIcon): complain when icon cannot be found
3152 2003-06-24 "Garst R. Reese" <reese@isn.net>
3156 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3158 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3160 * version.C.in: change docversion to 1.4
3162 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
3164 * buffer.C: fix a bug just introduced
3166 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3168 * buffer.[Ch]: added the parseError signal and use it, removed
3170 * BufferView.[Ch] (addError): moved to ...
3171 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3172 to the Buffer::parseError signal to catch (guess what) parse errors
3173 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3175 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3177 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3178 ability to create a buffer and to return an existing one from
3179 the list. Moved these functions to...
3180 * buffer_funcs.[Ch]: added
3181 * BufferView.[Ch] (loadLyXFile): added
3182 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3183 job removed from bufferlist::loadLyXFile.
3184 * buffer.C (setReadOnly): make it work without view
3185 (i.e added an if (users))
3187 2003-06-19 Angus Leeming <leeming@lyx.org>
3190 * LyXAction.C (init):
3191 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3192 with LFUN_DIALOG_SHOW <name> <data>.
3194 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3196 * CutAndPaste.C (availableSelections): small compilation fix for
3197 ancient (gcc 2.9x) compilers
3199 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3201 * text3.C (cursorNext): add tmp var
3203 * text2.C (updateCounters): for function calling out of for clause
3204 (replaceSelectionWithString): ditto
3205 (insertStringAsParagraphs): ditto
3206 (getColumnNearX): add tmp var
3207 (setCursorFromCoordinates): add tmp var
3208 (cursorDownParagraph): add tmp var
3209 (deleteEmptyParagraphMechanism): add tmp var
3211 * text.C (insertChar): add tmp var
3213 * rowpainter.C (paintDepthBar): add tmp var
3215 * CutAndPaste.C (availableSelections): potentially check all
3216 paragraphs in a cut to fill the shown strings.
3218 2003-06-18 André Pönitz <poenitz@gmx.net>
3220 * kbmap.[Ch]: use vector<> instead of list<>
3222 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3224 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3225 pasteSelection with index
3227 * text2.C (pasteSelection): modify, call pasteSelection with index
3229 * paragraph.C (asString): reimplement version with no interval to
3230 call the one with interval.
3232 * lyxtext.h: add index arg to pasteSelection
3234 * MenuBackend.C (MenuItem): handle PasteRecent
3235 (Menu::read::Menutags): add md_pasterecent
3237 (expandPasteRecent): new function
3240 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3242 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3244 (availableSelections): new function
3246 2003-06-17 Angus Leeming <leeming@lyx.org>
3248 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3250 2003-06-17 Angus Leeming <leeming@lyx.org>
3253 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3255 * lyxfunc.C (dispatch): invoke it.
3257 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3259 * iterators.C (operator++, ParPosition): reintroduce some
3260 const_cast for the benefit of older compilers.
3262 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3264 * text3.C (dispatch): do not modify clipboard when doing
3265 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3266 LFUN_DELETE_SKIP on a selection selection
3268 2003-06-16 André Pönitz <poenitz@gmx.net>
3274 * tabular.[Ch]: IU of clone() and getLabelList();
3276 2003-06-13 André Pönitz <poenitz@gmx.net>
3278 * tabular.h: compactification
3280 2003-06-12 André Pönitz <poenitz@gmx.net>
3284 * tabular_funcs.h: some renaming plus whitespace
3286 2003-06-12 André Pönitz <poenitz@gmx.net>
3289 * BufferView_pimpl.C:
3295 * toc.C: Return a Paragraph & for ParIterator::operator*()
3297 2003-06-11 John Levon <levon@movementarian.org>
3301 * ToolbarBackend.C: add "Toolbars" section and
3304 2003-06-10 Angus Leeming <leeming@lyx.org>
3307 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3309 * lyxfunc.C (dispatch): invoke it.
3311 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3313 * main.C: protect <ios> with HAVE_IOS
3314 (main): protect sync_with_stdio with HAVE_IOS
3316 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3318 * text2.C (cutSelection): adjust
3319 (pasteSelection): adjust
3321 * messages.C: handle get of empty string
3323 * main.C (main): use sync_with_stdio(false)
3325 * lyxfunc.C (dispatch): adjust
3327 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3328 (WriteAs): remove unneeded BufferView arg.
3330 * bufferparams.h: use correct types on papersize, papersize2 and
3333 * bufferparams.C (readToken): adjust for type
3334 (writeLaTeX): add missing cases to switch.
3336 * bufferlist.C (quitWriteBuffer): adjust
3339 * buffer.C (asciiParagraph): remove some commented code.
3341 * CutAndPaste.C: remove current_view extern variable.
3342 (cutSelection): add BufferParams arg.
3343 (eraseSelection): add BufferParams arg.
3344 (pasteSelection): add Buffer const & arg
3346 2003-06-07 John Levon <levon@movementarian.org>
3349 * paragraph_funcs.C:
3350 * paragraph_pimpl.C:
3354 * paragraph.C: allow InsetERT to freely space lines,
3355 and some consolidation of code
3357 2003-06-06 José Matos <jamatos@fep.up.pt>
3359 * buffer.C (makeDocBookFile): fix bug #821
3361 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3363 * BufferView_pimpl.C (dispatch): use Dialogs::visible
3365 2003-06-04 Angus Leeming <leeming@lyx.org>
3367 * buffer.C: bump format to 224.
3369 2003-06-05 André Pönitz <poenitz@gmx.net>
3371 * text2.C (redoParagraphs): remove two const_cast<>
3373 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3375 * ParagraphList.h: remove last remnants of NO_STD_LIST
3377 2003-06-03 Angus Leeming <leeming@lyx.org>
3379 * factory.C (createInset): small change to the way InsetExternal's params
3382 2003-06-04 André Pönitz <poenitz@gmx.net>
3384 * buffer.h: use Undo directly instead of shared_ptr<Undo>
3386 * paragraph_pimpl.h:
3387 * paragraph.[Ch]: some Inset -> UpdatableInset changes
3389 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3391 * undo_funcs.C: make some simple cases of undo work again
3393 2003-06-03 John Levon <levon@movementarian.org>
3395 * ispell.C: HPUX doesn't have sys/select.h
3398 2003-06-03 John Levon <levon@movementarian.org>
3400 * CutAndPaste.C: update tabular and include inset
3405 * paragraph.C: remove owningBuffer(), don't pass Buffer
3408 * factory.C: insetGraphicsParams changed
3410 2003-06-02 John Levon <levon@movementarian.org>
3416 * text3.C: remove insetparent
3418 2003-06-02 John Levon <levon@movementarian.org>
3421 * buffer.C: fix inset_iterator.end(), move out of line
3424 2003-06-01 John Levon <levon@movementarian.org>
3426 * text3.C: use a proper cut/paste when doing inset
3427 insert (from Jürgen Spitzmüller)
3429 2003-06-01 John Levon <levon@movementarian.org>
3431 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3433 2003-05-30 André Pönitz <poenitz@gmx.net>
3435 * rowpainter.C: unify second drawing phase
3437 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3439 * trans_mgr.C: remove one case of current_view
3441 * text2.C (cursorBottom): delete NO_STD_LIST stuff
3443 * paragraph_funcs.h: remove paragraph.h include
3445 * paragraph.h: delete NO_STD_LIST stuff
3447 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3449 * buffer.h: remove paragraph.h include
3451 * ParagraphList.C: delete file
3453 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3455 * toc.C (getTocList): adjust
3457 * paragraph_pimpl.C (validate): adjust
3459 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3461 * paragraph.C (Paragraph): adjust
3462 (getPositionOfInset): use const_iterator, adjust
3463 (bibitem): use const_iterator, adjust
3464 (setInsetOwner): adjust
3466 * iterators.C (operator++): adjust
3468 * InsetList.[Ch]: Replace selfmade iterator with standard
3469 vector::iterator also introduce const_iterator. Remove getPos,
3470 getInset and setInset from InsetTable. Adjust accordingly.
3472 * BufferView.C (lockInset): adjust
3473 (ChangeInsets): adjust
3475 * tabular.[Ch]: delete commented same_id functions
3477 2003-05-28 John Levon <levon@movementarian.org>
3479 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3481 2003-05-28 André Pönitz <poenitz@gmx.net>
3483 * metricsinfo.[Ch]: remove 'fullredraw' member
3485 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
3487 * lyxtextclass.C (operator): remove caching.
3489 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3493 * text2.C (cursorBottom): adjust
3494 (setCounter): use ParagraphList::find, adjust
3496 * text.C (workWidth): use ParagraphList::find, adjust
3498 * lyxcursor.C (LyXCursor): adjust
3500 * buffer.C (inset_iterator): adjust
3502 * ParagraphList.h: make iterator(value_type) private, make
3503 ParagraphList a friend of iterator.
3505 * ParagraphList.C (find): new function
3507 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3509 2003-05-27 André Pönitz <poenitz@gmx.net>
3511 * dimension.[Ch]: a -> asc, d -> des, w -> wid
3513 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3515 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3517 2003-05-26 John Levon <levon@movementarian.org>
3519 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3521 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3523 * remove same_id from function signatures, adjust.
3525 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3527 * undo_funcs.C (createUndo): use the id functions directly, adjust.
3529 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3531 * paragraph.C (Paragraph): get rid of same_ids parameter
3533 * ParagraphList.C (insert): adjust
3536 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3538 * paragraph_funcs.C (breakParagraph): adjust
3539 (breakParagraphConservative): adjust
3541 * buffer.C (readParagraph): adjust
3543 * ParagraphList.C (insert): take a reference instead of a pointer
3546 * paragraph.[Ch] (id): new function
3548 * bufferlist.C (newFile): adjust
3550 * ParagraphList.C (ParagraphList): adjust
3552 (push_back): take a reference instead of a pointer.
3554 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3556 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3559 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3560 set else use old code.
3562 * ParagraphList.C: remove all NO_NEXT code and only compile this
3563 code of NO_STD_LIST is set.
3565 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3567 * BufferView_pimpl.C:
3577 * graphics/GraphicsConverter.C:
3578 * graphics/PreviewLoader.C: header adjustment
3580 2003-05-23 Angus Leeming <leeming@lyx.org>
3582 * LaTeXFeatures.[Ch] (useBabel): new method.
3583 * bufferparams.C (writeLaTeX): use it.
3585 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3587 * ParagraphList.h (set): remove unused function.
3589 2003-05-23 André Pönitz <poenitz@gmx.net>
3592 * BufferView_pimpl.C:
3596 * undo_funcs.C: setUndo reworked
3598 * iterators.[Ch]: add access to topmost ParagraphList
3600 * lyxtext.[Ch] (workWidth): add a const
3602 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3604 * texrow.[Ch] (increasePos): remove function
3605 * exporter.C (export): removed unused var and outdated comment
3607 2003-05-23 Angus Leeming <leeming@lyx.org>
3609 * latexrunparams.h: rename fragile as moving_arg.
3610 * paragraph.C (simpleTeXOnePar): ditto.
3611 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3613 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3615 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3617 (textUndoOrRedo): comment out a currently unused var.
3619 * paragraph.h (NO_NEXT): enable NO_NEXT
3621 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3623 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3625 * exporter.C (Export): adjust for removeAutoInsets removal.
3627 * buffer.C (runChktex): adjust for removeAutoInsets removal.
3629 * LyXAction.C (init): remove LFUN_REMOVEERRORS
3631 * BufferView.[Ch] (removeAutoInsets): delete function
3633 2003-05-22 Angus Leeming <leeming@lyx.org>
3635 * latexrunparams.h: add a free_spacing variable.
3637 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3638 to pass moving_arg, as the data is stored in runparams.fragile.
3640 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3641 to Inset::latexOptional or to simpleTeXOnePar.
3643 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3644 free_spacing arg to Inset::latexOptional.
3646 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3649 2003-05-22 Angus Leeming <leeming@lyx.org>
3651 * latexrunparams.h: add fragile and use_babel variables.
3653 * bufferparams.[Ch] (writeLaTeX): return use_babel.
3654 * buffer.C (makeLaTeXFile): store this returned value in
3655 runparams.use_babel, thus passing it to the inset::latex methods.
3657 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3658 simpleTeXSpecialChars as it is now stored in runparams.fragile.
3660 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3661 longer has a fragile arg, as it is stored in runparams.fragile.
3663 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3664 moving_arg parameter as the data is stored in runparams.fragile.
3666 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3667 a fragile parameter as the data is stored in runparams.fragile.
3669 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3671 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3673 2003-05-22 Angus Leeming <leeming@lyx.org>
3675 * latexrunparams.h: add a 'bool nice' which defaults to false.
3677 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3678 now encapsulated within runparams.
3680 * bufferlist.C (updateIncludedTeXfiles):
3681 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3683 2003-05-22 Angus Leeming <leeming@lyx.org>
3685 * latexrunparams.h: new file containing struct LatexRunParams.
3686 * Makefile.am: add new file.
3688 * LaTeX.[Ch] (c-tor, run):
3689 * buffer.[Ch] (makeLaTeXFile):
3690 * bufferlist.[Ch] (updateIncludedTeXfiles):
3691 * converter.C (convert, scanLog):
3692 * converter.[Ch] (runLaTeX):
3693 * exporter.C (Export):
3694 * paragraph.[Ch] (simpleTeXOnePar):
3695 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3696 * paragraph_funcs.[Ch] (latexParagraphs):
3697 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3698 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3699 pass around a LatexRunParams parameter.
3701 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3703 * paragraph.[Ch]: remove unused constructor
3705 * ParagraphList.C (erase): new function, taking two iterators
3707 2003-05-22 André Pönitz <poenitz@gmx.net>
3709 * undo_funcs.C: remove duplicated code
3711 * iterator.[Ch]: operator=
3713 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3715 * tabular.C (SetMultiColumn): ws changes
3717 * rowpainter.C (paintFirst): get rid of a ->previous
3719 * lyx_cb.C (getPossibleLabel): parlist simplification
3721 * BufferView.C (ChangeInsets): simplify slightly.
3723 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3725 * LyXAction.C: new lfun space-insert, kill protected-space-insert
3726 * lfuns.h: new LFUN_SPACE
3727 * lyxfunc.C: protected space has a new lfun
3728 * paragraph_funcs.C: read new space insets
3730 * factory.C: handle new space insets
3732 2003-05-22 André Pönitz <poenitz@gmx.net>
3735 * BufferView_pimpl.C:
3738 * undo_funcs.C: return a ParIterator from getParFromID.
3740 * iterators.[Ch]: add two const's
3742 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3744 * toc.C (getTocList): adjust
3746 * iterators.[Ch]: rework for parlist
3748 * buffer.C (par_iterator_begin): adjust
3749 (par_iterator_end): adjust
3751 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3753 * BufferView.C (removeAutoInsets): adjust
3754 (ChangeInsets): adjust
3756 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
3758 * text.C (top_y): fix bug 1110
3760 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
3762 * errorlist.[Ch]: added
3765 * BufferView_pimpl.C:
3766 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3769 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3771 * Makefile.am: ensure that lyx is relinked upon changes to the
3772 various "convenience" libs.
3774 2003-05-20 Angus Leeming <leeming@lyx.org>
3776 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3777 files are compiled in alphabetical order again.
3779 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3781 2003-05-19 Angus Leeming <leeming@lyx.org>
3783 * gettext.[Ch]: remove "char const * _(char const *)".
3785 2003-05-19 André Pönitz <poenitz@gmx.net>
3787 * dimension.[Ch]: promote from mathed/dimension.[Ch]
3796 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3798 2003-05-19 André Pönitz <poenitz@gmx.net>
3802 * lyxtextclass.[Ch]:
3804 * paragraph_funcs.[Ch]:
3806 * text3.C: more insetenv work
3808 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
3810 * ParagraphParameters.C (params2string): small bug fixed
3812 2003-05-16 André Pönitz <poenitz@gmx.net>
3815 * bufferview_funcs.C: patch from Kornel Benko to prevent
3816 crash when _(...) is called twice in a statement
3818 2003-05-16 André Pönitz <poenitz@gmx.net>
3825 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3827 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
3829 * lyx_main.C (init): remove spurious static_cast
3831 2003-05-14 André Pönitz <poenitz@gmx.net>
3833 * BufferView.C: fix format string
3835 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
3837 * BufferView.[Ch] (insertErrors): removed
3838 * BufferView.[Ch] (showErrorList): added
3839 * buffer.C (runChkTeX):
3840 * converter.C (scanLog): call showErrorList instead of inserterrors
3842 2003-05-13 André Pönitz <poenitz@gmx.net>
3844 * BufferView_pimpl.C:
3846 * bufferview_func.C:
3853 * tabular_funcs.h: tostr() from its own header
3855 * ParagraphParameters.C:
3860 * text3.C: STRCONV()
3862 2003-05-12 André Pönitz <poenitz@gmx.net>
3865 * BufferView_pimpl.C:
3869 * ParagraphParameters.C:
3873 * bufferview_funcs.C:
3886 * paragraph_funcs.C:
3890 * text3.C: boost::format -> bformat all over the place
3893 2003-05-09 André Pönitz <poenitz@gmx.net>
3895 * LColor.[Ch]: Pimpl the #include <map> away
3897 2003-05-09 John Levon <levon@movementarian.org>
3899 * bufferlist.C: never remove emergency saves
3901 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3903 * Makefile.am: better lib building
3905 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3907 * texrow.[Ch]: remove dependency on Paragraph and just store a id
3909 * paragraph_pimpl.C (simpleTeXBlanks): adjust
3910 (simpleTeXSpecialChars): adjust
3911 (simpleTeXSpecialChars): adjust
3912 * paragraph.C (simpleTeXOnePar): adjust
3913 * buffer.C (makeLaTeXFile): adjust
3915 * Makefile.am (BOOST_LIBS): allow boost as system lib.
3917 * text2.C (changeDepth): parlist cleanup
3918 (getColumnNearX): ditto
3920 * rowpainter.C (getLabelFont): parlist cleanup
3922 * bufferlist.C (newFile): parlist cleanup
3924 * CutAndPaste.C (eraseSelection): parlist cleanup
3926 * BufferView_pimpl.C (trackChanges): parlist cleanup
3929 * BufferView.C (lockInset): parlist cleanup.
3930 (ChangeInsets): ditto
3932 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3934 * CutAndPaste.h: Update file header.
3936 * CutAndPaste.C: Update file header.
3937 Store the parts cut out of the Document in a limited_stack.
3938 (copySelection): adjust
3939 (pasteSelection): new function, takes the index in the limited stack.
3940 (nrOfParagraphs): adjust
3941 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3942 simplify error inset insertion.
3943 (checkPastePossible): adjust
3945 2003-05-06 John Levon <levon@movementarian.org>
3947 * text2.C: don't cast wrap inset to float
3949 2003-05-05 André Pönitz <poenitz@gmx.net>
3952 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3954 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3955 few naked Paragraph *.
3957 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
3959 * bufferparams.C: Output warning if a document with missing
3960 TeX document class is loaded
3961 * exporter.C: Disable TeX exports if the document class is missing
3964 * lyxtextclasslist.C: Handle new textclass.lst format; new method
3965 isTeXClassAvailable()
3967 2003-05-03 John Levon <levon@movementarian.org>
3970 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3971 explicit cursor show/hide
3973 * BufferView_pimpl.h:
3974 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3975 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3977 * lyxfunc.C: hide cursor before dispatching.
3982 * text3.C: remove explicit cursor hides
3984 2003-05-02 André Pönitz <poenitz@gmx.net>
3986 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3989 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3992 * text2.C: tiny whitespace
3994 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3996 * undo_funcs.C: almost only ws changes.
3998 * ParagraphList.C (splice): just return if pl is empty.
4000 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4002 * ParagraphList.C (splice): new function.
4004 * CutAndPaste.C (pasteSelection): use it
4006 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4008 * CutAndPaste.C (pasteSelection): remove the last next and
4009 previous from this file.
4011 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4013 * CutAndPaste.C (pasteSelection): more clean up, user proper
4014 ParagraphList functions for pasteing.
4016 * ParagraphList.C (insert): new function, three arg insert
4018 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4020 * ParagraphList.C (insert): new function, three arg insert
4022 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4025 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4027 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4029 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4031 * CutAndPaste.C (pasteSelection): remove some unneeded code.
4033 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4035 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4036 (copySelection): clean up a bit.
4037 (pasteSelection): use make_pair
4039 * ParagraphList.C (ParagraphList): implement copy constructor
4040 (operator=): implement, base on copy constructor.
4043 * paragraph.C (erase): return a bool
4045 * paragraph_pimpl.C (erasePos): remove function, move contents...
4046 (erase): ... here. Return a bool.
4047 (erase): call erase instead of erasePos.
4049 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
4051 * ParagraphList.h: define PitPosPair
4052 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4053 ParagraphList, fix a bug on pasting multiple pars
4054 * text2.C: change interface to C&P
4056 2003-04-30 André Pönitz <poenitz@gmx.net>
4058 * undo_func.C: revert part of yesterday's patch 2
4060 2003-04-30 John Levon <levon@movementarian.org>
4062 * LColor.C: s/tabular/table/
4064 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4066 * text3.C (dispatch): do not convert iterator -> pointer
4067 * undo_funcs.C (setCursorParUndo): ditto
4068 * text_funcs.C (transposeChars): ditto
4070 * text2.C (setLayout): ws changes only
4072 * text.C (breakParagraph): do not convert iterator -> pointer
4074 (acceptChange): ditto
4075 (rejectChange): ditto
4080 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4083 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4085 * text3.C (gotoInset): YABG (yet another bad getChar)
4087 2003-04-29 André Pönitz <poenitz@gmx.net>
4089 * paragraph.h: make operator= private unimplemented as long as
4092 * ParagraphList.C: whitespace
4095 * paragraph_pimpl.[Ch]:
4096 * paragraph_funcs.C:
4098 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
4101 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4103 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4105 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4106 * paragraph.[Ch] (erase):
4107 * paragraph_pimpl.[Ch] (erase): change return type and value
4108 * text2.C (cutSelection): some rework
4110 2003-04-28 John Levon <levon@movementarian.org>
4112 * bufferlist.C: changes for unsaved changes dialog
4114 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4116 * bufferlist.C (newFile): set language (messages_) for new
4119 * buffer.C (readFile): ws changes only.
4121 2003-04-28 André Pönitz <poenitz@gmx.net>
4126 * BufferView_pimpl.C:
4127 * BufferView.C: getParFromID related ParagraphList::iterator changes
4129 2003-04-28 André Pönitz <poenitz@gmx.net>
4131 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4134 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4136 * messages.C: remove one more localedir class variable.
4138 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4140 * messages.C (getLocaleDir): singleton generation function
4142 (Messages): add a default constructor.
4144 * main.C (main): do not setup localedir here, do not call
4147 * gettext.C (_): use it.
4148 (gettext_init): delete funciton
4150 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4152 * gettext.C (getLyXMessages): new singleton generating function.
4154 * buffer.C (updateDocLang): adjust
4156 * Makefile.am (messages.o): add target
4157 (main.o): remove target
4159 2003-04-27 John Levon <levon@movementarian.org>
4164 * lyxvc.C: specify cancel button in Alert::prompt
4166 2003-04-26 John Levon <levon@movementarian.org>
4171 * LyXAction.C: add LFUN_INSET_SETTINGS
4173 * lyxfunc.C: don't enable tabular-feature when there's
4174 just any locking inset
4176 2003-04-26 John Levon <levon@movementarian.org>
4178 * bufferlist.C: re-add Cancel to buffer close question
4180 * lyxfunc.C: fix import UI a bit
4182 2003-04-25 John Levon <levon@movementarian.org>
4184 * gettext.C: remove the broken asserts for now
4186 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4188 * messages.C: make case where setlocale cannot comply work better.
4190 * buffer.C (updateDocLang): new function
4191 (changeLanguage): use it
4194 * text2.C (setCounter): use B_ a bit.
4196 * lyxlayout.C (Read): be sure to trim the label strings.
4198 * messages.C (Messages): fix typo in comment
4200 * buffer.C (readFile): set message_ after file is loaded.
4201 (makeDocBookFile): remove double return
4202 (changeLanguage): reset message_ upon language change.
4203 (B_): new func, use this to get translated buffer strings.
4205 * main.C: add myself and Jean Marc as authors.
4207 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4209 * messages.[hC]: pimplify Messages, and three different pimpls to be
4210 used in different circumstances.
4212 * gettext.[Ch]: change for use with new message code.
4214 2003-04-24 André Pönitz <poenitz@gmx.net>
4216 * factory.C: support for eqref
4218 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4220 * messages.[Ch]: add missing char
4222 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4224 * messages.[Ch]: New files
4226 2003-04-18 John Levon <levon@movementarian.org>
4230 * BufferView_pimpl.C:
4234 * text2.C: remove layout-copy/paste (bug 778)
4236 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4238 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4240 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4242 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4243 if they succeed. Act accordingly.
4245 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4247 * text2.C (setCharFont): adjust
4248 (setCounter): adjust
4249 (insertStringAsLines): adjust
4251 * text.C (leftMargin): adjust
4252 (setHeightOfRow): adjust
4254 * rowpainter.C (paintFirst): adjust
4257 * paragraph_funcs.C (depthHook): ParagraphList::iterators
4259 (isFirstInSequence): ditto
4260 (getEndLabel): ditto
4263 * paragraph.C (getParLanguage): comment out some hard stuff.
4265 * buffer.C (insertStringAsLines): take a ParagraphList as arg
4267 (simpleDocBookOnePar): ditto
4268 (makeDocBookFile): use ParagraphList::iterator
4270 * CutAndPaste.C (pasteSelection): adjust
4272 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4274 * text2.C (getFont): adjust
4275 (getLayoutFont): adjust
4276 (getLabelFont): adjust
4278 * paragraph_funcs.C (TeXOnePar): adjust
4280 * buffer.C (simpleLinuxDocOnePar): adjust
4281 (simpleDocBookOnePar): adjust
4283 * CutAndPaste.C (pasteSelection): adjust
4285 * BufferView.C (getEncoding): adjust
4287 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4289 2003-04-16 John Levon <levon@movementarian.org>
4291 * lyxfind.C: use parlist stuff for search/changes
4293 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4295 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4297 * text2.C (deleteEmptyParagraphMechanism): adjust
4299 * text2.[Ch] (ownerParagraph): delete func (both of them
4301 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4303 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4305 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4307 * ParagraphList.C: prepare for NO_NEXT
4309 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4311 * text2.C (getFont): adjust
4312 (getLayoutFont): adjust
4313 (getLabelFont): adjust
4315 * paragraph.C (getFont): adjust
4316 (getLabelFont): adjust
4317 (getLayoutFont): adjust
4319 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4321 2003-04-15 John Levon <levon@movementarian.org>
4325 * lyx_main.C: handle Include in .ui files
4327 2003-04-15 John Levon <levon@movementarian.org>
4329 * MenuBackend.C: make the doc files length shorter
4332 * ToolbarBackend.C: handle toolbar placement flags,
4335 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4337 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4340 * paragraph_funcs.C (TeXOnePar): adjust
4342 * paragraph.C (getLabelFont): add outerfont arg, adjust
4343 (getLayoutFont): ditto
4344 (simpleTeXOnePar): adjust
4346 * paragraph_pimpl.C (realizeFont): delete func
4348 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
4350 * text2.C (beforeFullRowInset): added a bad getchar check, removed
4351 row argument, constify cur argument.
4353 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4355 * text2.C (getFont): adjust
4356 (getLayoutFont): adjust
4357 (getLabelFont): adjust
4359 * paragraph_funcs.C (TeXOnePar): adjust
4360 (outerFont): new func...
4361 (realizeFont): ...moved out from here, changed this to facilitate
4364 * paragraph.C (getFont): take outerfont as arg, adjust
4365 (simpleTeXOnePar): add outerfont arg, adjust
4367 * buffer.C (simpleLinuxDocOnePar): adjust
4368 (simpleDocBookOnePar): adjust
4370 * CutAndPaste.C (pasteSelection): adjust
4372 * BufferView.C (getEncoding): adjust
4374 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4376 * text2.C (setCharFont): adjust
4377 (setCounter): adjust
4379 * text.C (leftMargin): adjust
4380 (setHeightOfRow): adjust
4382 * rowpainter.C (paintFirst): adjust
4385 * paragraph_pimpl.C (realizeFont): adjust
4387 * paragraph.C (isFirstInSequence): move from here...
4388 * paragraph_funcs.C (isFirstInSequence): ...to here
4390 * paragraph.C (outerHook): move from here...
4391 * paragraph_funcs.C (outerHook): ...to here
4393 * paragraph.C (depthHook): move from here...
4394 * paragraph_funcs.C (depthHook): ...to here
4396 * paragraph.C (getEndLabel): move from here...
4397 * paragraph_funcs.C (getEndLabel): ...to here
4399 * text2.C (realizeFont): move from here...
4400 * paragraph_funcs.C (realizeFont): ...to here
4402 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4404 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4406 2003-04-14 Angus Leeming <leeming@lyx.org>
4408 * LColor.[Ch]: scrap LColor mathcursor.
4410 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4412 * lyxlex.[Ch] (text): delete function
4413 * trans.C (Load): adjust
4414 * paragraph_funcs.C (readParToken): adjust
4416 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4418 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4419 vector<char> instead of a char[].
4421 * lyxlex_pimpl.C (getString): adjust
4423 (lex): use getString
4427 * lyxlex.C (text): use pimpl_->getString()
4431 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4433 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4434 (makeFontEntriesLayoutSpecific): temp var for par.size()
4435 (setLayout): temp var for ownerParagraphs().end()
4436 (fullRebreak): temp var for rows().end()
4437 (selectionAsString): temp var for boost::next(startpit), realize
4438 that the while really is a regular for loop.
4439 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4440 setCursor in one place.
4441 (setParagraph): temp vr for ownerParagraphs().end()
4442 (updateCounters): make the while loop a for loop
4443 (cutSelection): temp var for ownerParagraphs().end()
4444 (updateInset): make the do {} while() a regular for loop
4445 (getCursorX): use temp vars
4446 (setCurrentFont): use temp vars
4447 (getColumnNearX): use temp vars
4449 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4451 * text.C (transformChar): use temp var for getChar
4452 (computeBidiTables): use temp var for row->par()
4453 (fill): move temp vars for row->par() and pit->layout() earlier in
4455 (labelFill): use temp var for row->par()
4456 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4457 asc and desc, realize that pit never changes and that firstpit is
4458 just a duplicate and not needed. Exchange rit->par() with pit in a
4460 (breakAgain): use a temp var for boost::next(rit)
4461 (breakAgainOneRow): ditto
4462 (breakParagraph): use a temp var for rows().begin()
4463 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4464 (cursorRightOneWord): use temp var for cursor.par() and
4465 cursor.pos(), remove usage of tmpcursor.
4466 (cursorLeftOneWord): use temp var for cursor.par() and
4467 cursor.pos() only set cur at end of function.
4469 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4471 * text.C, text2.C: exchange all usage of Paragraph::next with
4472 boost::next(ParagraphList::iterator)
4474 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4476 * text2.C (cursorTop): simplify implementation
4477 (cursorBottom): ditto
4478 (setParagraph): use ParagraphList::iterator
4479 (setCurrentFont): adjust
4480 (getColumnNearX): adjust
4481 (cursorRight): adjust
4482 (cursorLeft): remove usage of Paragraph::previous
4483 (cursorUpParagraph): ditto
4484 (deleteEmptyParagraphMechanism): slight cleanup
4486 * text.C (isBoundary): take a Paragraph const & instead of a
4488 (addressBreakPoint): ditto
4489 (leftMargin): remove usage of Paragraph::previous.
4490 (setHeightOfRow): ditto
4491 (cursorLeftOneWord): ditto
4492 (selectNextWordToSpellcheck): ditto
4495 (breakParagraph): remove one usage of Paragraph::next
4496 (redoParagraph): ditto
4497 (acceptChange): ditto
4498 (insertChar): adjust
4499 (rowBreakPoint): adjust
4501 * bufferview_funcs.C (toggleAndShow): adjust
4503 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
4505 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4506 methods to access it.
4508 * text.C: Added updateRowPositions to compute all row positions.
4509 Make top_y and getRowNearY() to use the cached y position
4511 2003-04-11 John Levon <levon@movementarian.org>
4513 * text.C (rowBreakPoint): reintroduce the labelEnd
4514 checks, code copied from the row fill stuff. Deep voodoo.
4516 * text.C (fill): add a comment and debugging for the
4519 2003-04-11 John Levon <levon@movementarian.org>
4521 * text.C: make sure fullrow insets get wrapped to the next line,
4522 even when they're in a manual label
4524 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4526 * text2.C (insertParagraph): make it take ParagraphList::iterator
4528 (setLayout): make it return ParagraphList::iterator
4529 (redoParagraphs): ditto
4531 (checkParagraph): ditto
4533 * text.C (getRow): make getrow take ParagraphList::iterator as arg
4535 * text2.C: adjust several funcs.
4536 (realizeFont): take a ParagraphList::iterator as arg.
4537 (getLayoutFont): ditto
4538 (getLabelFont): ditto
4539 (setCharFont): ditto
4541 * text.C: adjust several funcs.
4543 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4545 * text.C (selectNextWordToSpellcheck): don't accidentally
4548 2003-04-10 John Levon <levon@movementarian.org>
4550 * ToolbarBackend.C (getIcon): special handling for
4553 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4555 * text2.C (cursorRight): a getChar assert fixed
4557 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4559 * text2.C (getFont): change to take a ParagraphList::iterator
4560 instead of Paragraph*
4561 Adjust several functions.
4563 * text.C (transformChar): change to take a ParagraphList::iterator
4564 instead of Paragraph*
4565 (singleWidth): ditto
4566 Adjust several functions.
4568 * rowpainter.C: adjust several functions
4569 * rowpainter.h:store a ParagraphList::iterator and not a
4573 2003-04-09 John Levon <levon@movementarian.org>
4578 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4579 and the "help" bits as well
4581 2003-04-09 John Levon <levon@movementarian.org>
4584 * ToolbarBackend.C: allow multiple toolbars
4586 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4588 * undo_funcs.C (setCursorParUndo): adjust
4590 * text_funcs.C (transposeChars): adjust
4592 * text3.C (gotoNextInset): adjust
4595 * text2.C (setLayout): adjust
4596 (changeDepth): adjust
4598 (redoParagraphs): adjust
4599 (selectionAsString): adjust
4600 (setParagraph): adjust
4601 (insertInset): adjust
4602 (cutSelection): adjust
4603 (copySelection): adjust
4604 (pasteSelection): adjust
4605 (insertStringAsLines): adjust
4606 (updateInset): adjust
4607 (setCursor): change to take a ParagraphList::iterator parameter
4608 (setCursorIntern): change to take a ParagraphList::iterator parameter
4609 (setCurrentFont): adjust
4610 (cursorLeft): adjust
4611 (cursorRight): adjust
4612 (deleteEmptyParagraphMechanism): adjust
4614 * text.C (breakParagraph): adjust
4615 (insertChar): adjust
4616 (acceptChange): adjust
4617 (rejectChange): adjust
4618 (selectNextWordToSpellcheck): adjust
4619 (changeCase): adjust
4623 * lyxfind.C (SearchForward): adjust
4624 (SearchBackward): adjust
4625 (nextChange): adjust
4627 * lyxcursor.C (par): adjust
4629 * lyxcursor.h: store a ParagraphList::iterator instead of a
4632 * lyx_cb.C (getPossibleLabel): adjust
4634 * bufferview_funcs.C (toggleAndShow): adjust
4636 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4639 * BufferView.C (removeAutoInsets): adjust
4640 (lockedInsetStoreUndo): adjust
4642 2003-04-09 John Levon <levon@movementarian.org>
4644 * ToolbarBackend.C: try icon without argument
4645 if with argument fails
4647 2003-04-08 John Levon <levon@movementarian.org>
4650 * ToolbarBackend.C: add getIcon(), handle tooltip,
4651 and change from "Icon" to "Item".
4653 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4655 * BufferView.C (lockInset): another bad getchar crunched
4657 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4659 * text2.C (changeDepth): do not setUndo on test_only (make undo work
4662 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
4664 * lyxfind.C (searchForward, searchBackwards): bug 782
4666 2003-04-07 John Levon <levon@movementarian.org>
4668 * paragraph.C: remove dead comment
4670 * text.C: remove troublesome depth-fiddling code
4671 in leftMargin() and rightMargin() (bug 1017)
4673 * text.C: fix breaking of rows in nested lists
4676 * text2.C (updateCounters): fix up depth values
4679 2003-04-07 John Levon <levon@movementarian.org>
4681 * BufferView_pimpl.C: clear message when doc finishes resizing,
4682 and after a mouse event
4684 * lyxfunc.C: clear message after exiting inset
4686 2003-04-07 John Levon <levon@movementarian.org>
4688 * bufferview_funcs.C: show math status not outside
4689 status in the statusbar
4691 2003-04-07 John Levon <levon@movementarian.org>
4693 * lyxfunc.C: note status changed after a depth change
4695 2003-04-04 Angus Leeming <leeming@lyx.org>
4697 * LaTeX.h: move AuxInfo operator==, != out of line.
4698 Remove LaTeX virtual destructor; nothing derives from it.
4699 Move operator()() out of public area and rename it startscript().
4700 Change protected for private.
4702 2003-04-04 Angus Leeming <leeming@lyx.org>
4705 * text2.C: remove unneeded #includes.
4707 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4709 * text2.C (dEPM): fix the heigth of the next row
4711 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4713 * text.C: squashed an invalid getChar requester + some ws changes
4715 2003-04-03 John Levon <levon@movementarian.org>
4717 * bufferview_funcs.h:
4718 * bufferview_funcs.C:
4721 * text2.C: make getStatus work for the env depth lfuns
4723 2003-04-03 John Levon <levon@movementarian.org>
4725 * bufferview_funcs.h:
4726 * bufferview_funcs.C:
4729 * text2.C: parlistize decDepth(), by merging it with incDepth()
4731 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4733 * lyxrow.h: store a ParagraphList::iterator instead of a
4734 Paragraph* and adjust other class functions to suit.
4736 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4739 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4741 * text2.C (setCursor): do not anchor to cursor row for the time being
4743 2003-04-02 John Levon <levon@movementarian.org>
4750 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4752 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4754 * paragraph.h: make ParagraphList and ParagraphList::iterator
4755 friends of Paragraph.
4757 * buffer.C (makeLinuxDocFile): move towards ParagraphList
4759 * ParagraphList.C: Use the private next_ and previous_ from
4762 2003-04-01 John Levon <levon@movementarian.org>
4766 * Makefile.am: rename, remove defaults gunk
4769 * MenuBackend.C: remove defaults gunk
4772 * Languages.C: remove defaults gunk
4775 * lyx_main.C: error out if files couldn't be found.
4777 2003-04-02 John Levon <levon@movementarian.org>
4779 * text2.C: make incDepth() use parlist
4781 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4783 * undo_funcs.C (firstUndoParagraph): adjust
4785 * text3.C (gotoInset): adjust
4786 (dispatch): adjust, and rewrite loop.
4788 * text2.C (init): adjust, and rewrite loop.
4789 (redoParagraphs): adjust
4790 (updateInset): adjust, and rewrite loop.
4791 (deleteEmptyParagraphMechanism): adjust
4793 * tabular.C (LyXTabular): adjust
4794 (SetMultiColumn): adjust
4797 * lyxtext.[Ch] (ownerParagraph): delete function
4798 (ownerParagraphs): new function returns a ParagraphList.
4800 * BufferView.C (removeAutoInsets): adjust
4801 (insertErrors): adjust
4802 (setCursorFromRow): adjust
4804 2003-04-01 Angus Leeming <leeming@lyx.org>
4806 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4809 2003-04-02 John Levon <levon@movementarian.org>
4815 * text_funcs.C: make transposeChars a free function
4817 * lyxrow_funcs.C: remove wrong comment
4819 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4822 * rowpainter.C: adjust
4827 * lyxrow_funcs. [Ch]: new files
4829 * lyxrow.[Ch]: remove next and previous pointers
4830 (next,previous): remove accessor functions
4831 (isParEnd): move to lyxrow_funcs
4832 (lastPos): move to lyxrow_funcs
4833 (nextRowIsAllInset): move to lyxrow_funcs
4834 (lastPrintablePos): move to lyxrow_funcs
4835 (numberOfSeparators): move to lyxrow_funcs
4836 (numberOfHfills): move to lyxrow_funcs
4837 (numberOfLabelHfills): move to lyxrow_funcs
4838 (hfillExpansion): move to lyxrow_funcs
4842 * bufferview_funcs.C (toggleAndShow): adjust
4844 * RowList.h: Remove class RowList from file leave just a
4847 * RowList.C: delete file
4849 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4852 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4854 * text3.C (cursorPrevious): adjust
4855 (cursorNext): adjust
4858 * text2.C (redoHeightOfParagraph): adjust
4859 (redoDrawingOfParagraph): adjust
4862 * text.C (breakParagraph): adjust
4863 (insertChar): adjust
4866 * rowpainter.C (RowPainter): adjust
4867 (leftMargin): simplify and adjust
4868 (most rowpainter functions): adjust.
4870 * rowpainter.h: store the row as RowList::iterator not as Row*
4872 * lyxcursor.C (row): taka RowList::iterator as arg
4875 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4878 2003-04-01 Angus Leeming <leeming@lyx.org>
4880 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4881 stuff like bool Bool.
4883 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4885 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4888 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4890 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4893 * lyxtext.h (rows): drop one version and leve a const variant that
4894 returns a RowList::iterator.
4896 2003-03-31 Angus Leeming <leeming@lyx.org>
4898 * text.C (fill): ensure that the signature is the same as that in the
4901 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4903 * text2.C (redoParagraphs): adjust
4904 (updateCounters): adjust
4905 (checkParagraph): adjust
4906 (getColumnNearX): adjust and reformat a bit.
4908 * text.C (top_y): adjust
4910 (leftMargin): adjust
4911 (prepareToPrint): adjust
4913 (getRowNearY): adjust
4915 * lyxtext.h: make rowlist_ mutable.
4917 * RowList.h: add const_iterator
4918 * RowList.C: adjust for RowList::const_iterator.
4920 * text2.C (getCursorX): make it take a RowList::iterator as arg,
4923 2003-03-31 John Levon <levon@movementarian.org>
4926 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4928 * lyx_main.C: set default fonts from using lyx_gui funcs
4930 * exporter.C: pdf_mode moved from lyxrc
4933 * lyxfunc.C: changes from above
4935 2003-03-31 John Levon <levon@movementarian.org>
4937 * lyx_main.C: fix to the last fix
4939 2003-03-31 John Levon <levon@movementarian.org>
4941 * bufferlist.C: "Load original" -> "Load Original"
4947 * format.C: more Alert cleanups
4949 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4951 * text2.C (removeParagraph): make it take a RowList::iterator as
4953 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4954 (postRowPaint): make it take a RowList::iterator as arg, adjust.
4956 * text.C (anchor_row): make it take a RowList::iterator as arg,
4958 (computeBidiTables): make it take a const reference to Row instead
4959 of Row pointer, adjust.
4960 (leftMargin): make it take a RowList::iterator as arg, adjust.
4961 (rowBreakPoint): adjust
4962 (breakAgainOneRow): make it take a RowList::iterator as arg,
4964 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4966 * bufferview_funcs.C (toggleAndShow): adjust
4968 2003-03-30 John Levon <levon@movementarian.org>
4972 * boost-inst.C: moved to support
4974 * several files: changes as a result
4976 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4978 * text2.C (LyXText): adjust.
4980 (removeRow): make it take a RowList::iterator as arg, adjust.
4981 (fullRebreak): adjust
4982 (deleteEmptyParagraphMechanism): adjust
4983 (clearPaint): adjust
4986 * text.C (top_y): adjust
4987 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4988 (breakAgain): make it take a RowList::iterator as arg, adjust.
4989 (breakParagraph): adjust
4990 (insertChar): adjust
4993 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4994 need_break_row, and refresh_row.
4996 * text3.C (dispatch): adjust
4998 * text2.C (checkParagraph): adjust
5000 (setCursorFromCoordinates): adjust
5002 * text.C (top_y): adjust
5004 (getRow): make it return a RowList::iterator, adjust
5005 (getRowNearY): make it return a RowList::iterator, adjust
5007 * text2.C (init): adjust
5008 (insertRow): remove function
5009 (insertParagraph): adjust
5010 (redoParagraphs): adjust
5011 (fullRebreak): adjust
5012 (updateCounters): adjust
5014 * text.C (top_y): rewrite to use RowList iterators.
5016 (setHeightOfRow): rewrite to sue RowList iterators.
5017 (appendParagraph): adjust
5018 (breakAgain): adjust
5019 (breakAgainOneRow): adjust
5020 (breakParagraph): adjust
5022 (getRowNearY): adjust, and remove commented code.
5024 * lyxtext.h (firstRow): delete function
5025 (lastRow): delete function
5026 (rows): new function (const and non-const versions.)
5027 (insertRow): delete function
5029 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5031 2003-03-29 John Levon <levon@movementarian.org>
5033 * BufferView_pimpl.C: always update scrollbar top
5034 because pasting text when we're anchored could mean we
5035 miss an update altogether
5037 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5039 * text2.C (init): use rowlist_.end() and not 0.
5040 (insertRow): change to take a RowList::iterator as arg, adjust
5042 (insertParagraph): change to take a RowList::iterator as arg,
5044 (redoParagraphs): remove some debug msgs.
5046 * text.C (appendParagraph): change to take a RowList::iterator
5047 arg, adjust for this.
5048 (breakAgain): add an assert
5049 (breakAgainOneRow): ditto
5051 2003-03-29 John Levon <levon@movementarian.org>
5053 * text2.C: do not clear selection after inc/decDepth
5056 2003-03-29 John Levon <levon@movementarian.org>
5059 * buffer.C: fix broken strerrors according to Lars
5061 2003-03-29 John Levon <levon@movementarian.org>
5063 * converters.C: more Alert cleanups
5065 2003-03-29 John Levon <levon@movementarian.org>
5067 * bufferview_funcs.C: remove pointless Alert
5069 * buffer.C: fix confusing error message when
5070 a template is chmoded 000
5072 2003-03-29 John Levon <levon@movementarian.org>
5076 * BufferView_pimpl.C: Alert fixes
5080 * tabular-old.C: remove unused table compat reading
5082 2003-03-29 John Levon <levon@movementarian.org>
5087 * lyx_cb.C: more Alert cleanups
5089 * lyxfunc.C: don't allow chktex if not latex document
5091 2003-03-29 John Levon <levon@movementarian.org>
5095 * buffer.C: warnings pushed down from support/,
5098 2003-03-29 John Levon <levon@movementarian.org>
5100 * lyxfunc.C: safety check for C-r (revert)
5102 2003-03-29 John Levon <levon@movementarian.org>
5105 * bufferlist.C: several UI fixes using Alert::prompt.
5106 Fix the pointless looping quit code. Fix stupid revert
5111 * lyx_cb.C: use Alert::prompt
5113 * lyx_main.C: remove a silly question
5115 * lyxfunc.C: remove a couple of silly questions,
5118 2003-03-28 John Levon <levon@movementarian.org>
5120 * text2.C: fix bug 974 (End on empty par)
5122 2003-03-28 John Levon <levon@movementarian.org>
5124 * BufferView_pimpl.C:
5126 * lfuns.h: remove do-nothing math greek lfuns
5128 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5130 * lyxgluelength.h (isValidGlueLength): add default arg on
5131 parameter 2. Remove default arg from friend in class.
5133 * lyxlength.h (isValidLength): add default arg on parameter 2.
5134 Remove default arg from friend in class.
5136 * text2.C (LyXText): adjust, initialize refresh_row.
5140 (insertParagraph): adjst
5141 (redoParagraphs): adjust
5142 (fullRebreak): adjust
5143 (updateCounters): adjust
5144 (deleteEmptyParagraphMechanism): first attempt at fixing a
5147 * text.C (top_y): adjust
5148 (setHeightOfRow): adjust
5150 (getRowNearY): adjust
5152 * lyxtext.h: include RowList.h
5153 (~LyXText): not needed anymore, deleted.
5154 (firstRow): modify for RowList
5155 (lastRow): new function
5156 Delete firstrow and lastrow class variables, add a Rowlist
5157 rowlist_ class variable.
5159 * lyxrow.C (lastPos): use empty() and not !size() to check if a
5162 * RowList.C (insert): fix case where it == begin().
5164 2003-03-26 Angus Leeming <leeming@lyx.org>
5166 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5167 the thesaurus dialog.
5169 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5171 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5173 * RowList.[Ch]: new files
5175 * ParagraphList.C (erase): handle the case where it == begin
5178 2003-03-25 John Levon <levon@movementarian.org>
5182 * aspell.C: add new aspell support
5185 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5188 2003-03-25 Angus Leeming <leeming@lyx.org>
5191 * LyXAction.C (init): new LFUN_INSET_INSERT.
5193 * BufferView_pimpl.C (dispatch): split out part of the
5194 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5196 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5199 2003-03-25 Angus Leeming <leeming@lyx.org>
5201 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5203 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5206 * text3.C: remove useless row->height(0)
5208 2003-03-25 John Levon <levon@movementarian.org>
5212 * text3.C: rename the refreshing stuff to better names
5214 2003-03-24 John Levon <levon@movementarian.org>
5216 * BufferView_pimpl.h:
5217 * BufferView_pimpl.C: update layout choice on a mouse
5220 2003-03-23 John Levon <levon@movementarian.org>
5222 * Makefile.am: fix commandtags.h reference
5224 2003-03-22 John Levon <levon@movementarian.org>
5226 * BufferView_pimpl.C:
5231 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5233 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5236 * text.C: take the rtl methods out of line
5238 2003-03-21 André Pönitz <poenitz@gmx.net>
5240 * metricsinfo.[Ch]: new files containing structures to be passed around
5241 during the two-phase-drawing...
5243 2003-03-21 André Pönitz <poenitz@gmx.net>
5245 * lyxtextclass.C: read 'environment' tag.
5247 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5249 * text2.C (removeRow): fix bug 964
5251 2003-03-20 John Levon <levon@movementarian.org>
5255 * text2.C: paint cleanups. Inset::update() dropped font
5258 2003-03-19 John Levon <levon@movementarian.org>
5260 * lyxfunc.C: only fitcursor/markDirty if available()
5262 2003-03-19 John Levon <levon@movementarian.org>
5264 * commandtags.h: rename to ...
5266 * lfuns.h: ... this, and renumber / cleanup
5268 2003-03-19 John Levon <levon@movementarian.org>
5270 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5271 fit the cursor after an lfun
5275 * BufferView_pimpl.h:
5276 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5278 * LyXAction.C: layout-character should have ReadOnly
5280 * ParagraphParameters.C:
5282 * bufferview_funcs.C:
5289 * undo_funcs.C: changes from above
5291 2003-03-18 John Levon <levon@movementarian.org>
5293 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5294 remove it from update()
5296 * lyxfunc.C: update layout choice after an lfun
5298 * text3.C: remove extra updateLayoutChoice()s
5300 2003-03-18 John Levon <levon@movementarian.org>
5302 * text.C: top_y change means full repaint, fix
5303 a drawing bug with cursor movement
5305 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5309 * text2.C: anchor row on setCursor
5311 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5313 * lyxtext.h: remove almost all mutable keywords
5316 * text3.C: remove const keywords accordingly
5318 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5320 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5322 (TeXEnvironment): ditto
5325 2003-03-17 John Levon <levon@movementarian.org>
5327 * text.C (rowBreakPoint): remove attempt to fix displayed
5328 math insets inside a manual label
5330 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5332 * lyxtext.h: remove BufferView* as first arg from almost all class
5334 * other files: adjust.
5336 2003-03-17 John Levon <levon@movementarian.org>
5340 * text2.C: more paint cleanups
5342 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5345 * rowpainter.C: remove "smart" background painting code
5347 2003-03-16 John Levon <levon@movementarian.org>
5352 * text3.C: add helper functions for setting refresh_row/y
5354 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
5356 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5357 newline inset which *can* get inserted in the pass_thru layouts.
5358 This is primarily for literate documents.
5360 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
5362 * buffer.C: increment LYX_FORMAT to 223
5364 2003-03-14 André Pönitz <poenitz@gmx.net>
5366 * textclass.h: prepare for environment handling, ws changes
5367 * lyxlayout.C: read latexheader and latexfooter tags
5369 2003-03-14 John Levon <levon@movementarian.org>
5371 * text2.C: rewrite ::status() a bit
5373 2003-03-13 John Levon <levon@movementarian.org>
5375 * lyxtext.h: add some docs
5377 2003-03-13 John Levon <levon@movementarian.org>
5382 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5384 2003-03-13 John Levon <levon@movementarian.org>
5386 * text3.C: fix appendix redrawing
5388 2003-03-13 John Levon <levon@movementarian.org>
5390 * text.C (setHeightOfRow):
5392 * rowpainter.C: make appendix mark have the text
5393 "Appendix" so the user knows what it is
5396 * LColor.C: s/appendixline/appendix/ from above
5398 2003-03-13 John Levon <levon@movementarian.org>
5400 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5402 * text.C: fix a getChar(pos) bug properly
5404 2003-03-13 Angus Leeming <leeming@lyx.org>
5407 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5408 Probably only temporary. Let's see how things pan out.
5410 * BufferView.C (unlockInset):
5411 * BufferView_pimpl.C (fitCursor):
5412 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5414 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5415 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5417 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5418 new functions that convert ParagraphParameters to and from a string.
5420 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5421 BufferView::Pimpl's dispatch.
5422 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5424 2003-03-13 André Pönitz <poenitz@gmx.net>
5428 * factory.C: make it aware of InsetEnv
5430 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5432 * text2.C (setCursor): never ask for one past last
5433 (setCursor): add some debugging messages.
5435 * text.C (singleWidth): never ask for one past last
5436 (singleWidth): ditto
5438 (rightMargin): ditto
5439 (rowBreakPoint): ditto
5440 (setHeightOfRow): ditto
5441 (prepareToPrint): ditto
5443 * rowpainter.C (paintBackground): never ask for one past last
5444 (paintText): never ask for one past last
5446 * paragraph_pimpl.C (getChar): make the assert stricter, never
5447 allow the one past last pos to be taken
5449 * paragraph.C (getChar): ws changes only
5451 * lyxrow.C (nextRowIsAllInset): never ask for one past last
5452 (numberOfSeparators): ditto
5453 (numberOfHfills): ditto
5455 2003-03-12 John Levon <levon@movementarian.org>
5461 * paragraph_funcs.C: fix per-buffer authorlists
5463 2003-03-12 John Levon <levon@movementarian.org>
5465 * text.C: fix newline in right address
5467 2003-03-12 Angus Leeming <leeming@lyx.org>
5469 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5470 duplicate those in LyXFunc::dispatch.
5474 * ToolbarDefaults.C:
5475 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5476 Add LFUN_FONTFREE_UPDATE.
5478 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5479 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5481 * bufferview_func.[Ch]: several new functions to facilliate
5482 transfer of data to and from the character dialog.
5484 2003-03-12 John Levon <levon@movementarian.org>
5489 * paragraph_funcs.C:
5490 * paragraph_pimpl.C:
5494 * text3.C: remove META_NEWLINE in favour of an inset
5497 * rowpainter.C: remove paintNewline (done by inset)
5499 2003-03-12 John Levon <levon@movementarian.org>
5501 * paragraph_pimpl.C: complain about bad getChar()s
5502 for a while at least
5504 2003-03-12 John Levon <levon@movementarian.org>
5507 * buffer.C: move paragraph read into a separate function,
5508 a little renaming to reflect that.
5511 * bufferparams.C: remove the author_ids map, not necessary now
5514 * factory.C: moved Buffer::readInset to here
5516 * paragraph_funcs.h:
5517 * paragraph_funcs.C: readParagraph free function moved from
5520 * tabular.C: name change
5522 2003-03-12 John Levon <levon@movementarian.org>
5525 * ParagraphParameters.C: move par params input to
5528 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5529 behave like a normal read from the stream wrt reading
5530 a line vs. a \\token
5532 2003-03-12 John Levon <levon@movementarian.org>
5535 * ParagraphParameters.h:
5536 * ParagraphParameters.C: move output code to a
5539 2003-03-12 John Levon <levon@movementarian.org>
5541 * BufferView.C (insertLyXFile):
5544 * tabular.C: use a parlist iterator for creating the
5547 2003-03-12 John Levon <levon@movementarian.org>
5549 * buffer.C: make current_change static local not
5552 2003-03-12 John Levon <levon@movementarian.org>
5554 * buffer.C: fix insertStringAsLines for change tracking
5556 2003-03-12 John Levon <levon@movementarian.org>
5563 * bufferparams.C: move author list into params. Rename some
5564 functions. Move the header reading into a separate token
5565 loop. Move the header token reading into BufferParams.
5567 2003-03-12 John Levon <levon@movementarian.org>
5569 * changes.C: put debug inside lyxerr.debugging() checks
5571 2003-03-11 André Pönitz <poenitz@gmx.net>
5573 * factory.C: make it aware of InsetHFill
5575 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5577 * buffer.C (latexParagraphs): move function from here...
5578 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5581 2003-03-10 Angus Leeming <leeming@lyx.org>
5583 * LyXAction.C (init): fix bug in poplating array with multiple entries
5584 with the same LFUN (spotted by JMarc).
5586 2003-03-10 John Levon <levon@movementarian.org>
5589 * text2.C: move getColumnNearX() near its
5592 2003-03-10 John Levon <levon@movementarian.org>
5594 * text.C: fix break before a minipage
5596 2003-03-10 John Levon <levon@movementarian.org>
5598 * text.C: fix the last commit
5600 2003-03-09 John Levon <levon@movementarian.org>
5604 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5605 bug 365 (don't break before insets unless needed). Don't
5606 return a value > last under any circumstances.
5608 2003-03-09 Angus Leeming <leeming@lyx.org>
5610 * BufferView_pimpl.C (trackChanges, dispatch): call
5611 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5613 2003-03-09 Angus Leeming <leeming@lyx.org>
5615 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5616 than Dialogs::showAboutlyx().
5618 2003-03-09 Angus Leeming <leeming@lyx.org>
5620 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5621 than Dialogs::showTabularCreate().
5623 2003-03-09 John Levon <levon@movementarian.org>
5627 * text2.C: 3rd arg to nextBreakPoint was always the same.
5630 2003-03-08 John Levon <levon@movementarian.org>
5637 * text2.C: Remove the "main" bit from the "main body"
5640 2003-03-08 John Levon <levon@movementarian.org>
5642 * text.C (leftMargin): The left margin of an empty
5643 manual label paragraph should not include the label width
5646 * text.C (prepareToPrint): don't attempt to measure hfills
5647 for empty manual label paragraphs - the answer should be 0
5649 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5651 * CutAndPaste.C: remove commented code and reindent.
5653 2003-03-08 John Levon <levon@movementarian.org>
5656 * lyxfunc.C: move reloadBuffer()
5659 * BufferView.C: to here
5661 * lyxvc.C: add comment
5664 * vc-backend.C: call bv->reload() to avoid
5665 getStatus() check on MENURELOAD
5667 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
5669 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5670 to an old format .dep file.
5672 2003-03-07 Angus Leeming <leeming@lyx.org>
5674 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5675 when the LFUN_MOUSE_RELEASE should have been handled by
5676 inset->localDispatch.
5678 2003-03-07 Angus Leeming <leeming@lyx.org>
5680 * BufferView_pimpl.C (dispatch):
5681 * LyXAction.C (init):
5682 * ToolbarDefaults.C (init):
5684 * lyxfunc.C (getStatus):
5685 remove LFUN_INSET_GRAPHICS.
5687 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5689 2003-03-07 Angus Leeming <leeming@lyx.org>
5692 * LyXAction.C (init):
5693 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5695 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5698 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5700 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5701 localDispatch method LFUN_INSET_DIALOG_UPDATE.
5703 2003-03-07 Angus Leeming <leeming@lyx.org>
5705 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5708 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5710 * ParagraphList.C (front): new function
5713 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
5715 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5716 and top_row_offset_. removed var first_y.
5718 * text2.C (LyXText, removeRow):
5720 * BufferView_pimpl.C:
5721 use these methods instead of using first_y
5723 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5725 * text2.C (pasteSelection): adjust for checkPastePossible
5727 * CutAndPaste.C: remove Paragraph * buf and replace with
5728 ParagraphList paragraphs.
5729 (DeleteBuffer): delete
5730 (cutSelection): change the tc type to textclass_type
5731 (copySelection): change the tc type to textclass_type
5732 (copySelection): adjust for ParagraphList
5733 (pasteSelection): change the tc type to textclass_type
5734 (pasteSelection): adjust for Paragraphlist
5735 (nrOfParagraphs): simplify for ParagraphList
5736 (checkPastePossible): simplify for ParagraphList
5737 (checkPastePossible): remove unused arg
5739 * ParagraphList.C (insert): handle the case where there are no
5742 * CutAndPaste.h: make CutAndPaste a namespace.
5744 * text3.C (dispatch): adjust
5746 * text.C (breakParagraph): add a ParagraphList as arg
5748 * paragraph_funcs.C (breakParagraph): change to take a
5749 BufferParams and a ParagraphList as args.
5750 (breakParagraphConservative): ditto
5751 (mergeParagraph): ditto
5752 (TeXDeeper): add a ParagraphList arg
5753 (TeXEnvironment): ditto
5756 * buffer.C (readLyXformat2): adjust
5757 (insertStringAsLines): adjust
5758 (latexParagraphs): adjust
5760 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5761 (cutSelection): adjust
5762 (pasteSelection): adjust
5764 * BufferView_pimpl.C (insertInset): adjust
5766 2003-03-05 Angus Leeming <leeming@lyx.org>
5769 * LyXAction.C (init):
5770 * BufferView_pimpl.C (dispatch):
5771 * lyxfunc.C (getStatus):
5772 remove LFUN_CHILD_INSERT.
5774 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5776 2003-03-05 Angus Leeming <leeming@lyx.org>
5779 * LyXAction.C (init):
5780 * src/factory.C (createInset):
5781 * lyxfunc.C (getStatus):
5782 * text3.C (dispatch):
5783 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5785 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5787 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5789 * ParagraphList.C (insert): handle insert right before end()
5790 (erase): fix cases where it can be first or last paragraph.
5792 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5794 * paragraph_funcs.C (TeXEnvironment): remove all usage of
5795 Paragraph::next and Paragraph::previous
5798 * text.C (breakParagraph): adjust
5800 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5801 BufferParams& as arg.
5802 (breakParagraph): use ParagraphList::insert
5803 (breakParagraphConservative): take a Buffer* instead of a
5804 BufferParams& as arg.
5805 (breakParagraphConservative): use ParagraphList::insert.
5807 * buffer.C (insertStringAsLines): un-const it
5808 (insertStringAsLines): adjust
5810 * ParagraphList.C (insert): new function
5812 * CutAndPaste.C (pasteSelection): adjust
5814 * text.C (backspace): adjust
5816 * tabular.C (SetMultiColumn): adjust
5818 * CutAndPaste.C (cutSelection): adjust
5819 (pasteSelection): adjust
5821 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5822 Buffer const * as arg
5824 * ParagraphList.C (erase): new function
5825 * paragraph_funcs.C (mergeParagraph): use it
5826 (mergeParagraph): make it take a Buffer* instead of a
5827 BufferParams* as arg
5829 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5831 (breakParagraphConservative): ditto
5833 * paragraph.h: remove the breakParagraph friend
5835 * paragraph.C (eraseIntern): new function
5836 (setChange): new function
5838 * paragraph_funcs.C (mergeParagraph): make it take a
5839 ParagraphList::iterator instead of a Paragraph *, adjust
5842 * paragraph.h: move an #endif so that the change tracking stuff
5843 also works in the NO_NEXT case.
5845 2003-03-04 Angus Leeming <leeming@lyx.org>
5848 * LyXAction.C: new LFUN_INSET_MODIFY.
5850 * BufferView_pimpl.C (dispatch): if an inset is found to be open
5851 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5853 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5855 * several files: ws changes only
5857 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5858 (TeXEnvironment): ditto
5861 * buffer.C (makeLaTeXFile): adjust
5862 (latexParagraphs): make it take ParagraphList::iterator as args
5864 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5866 * buffer.C (latexParagraphs): adjust
5868 * paragraph.C (TeXOnePar): move function...
5869 (optArgInset): move function...
5870 (TeXEnvironment): move function...
5871 * paragraph_pimpl.C (TeXDeeper): move function...
5872 * paragraph_funcs.C: ...here
5874 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5876 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5878 * buffer.C (readInset): remove compability code for old Figure and
5881 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5883 * buffer.C: ws changes
5886 * BufferView_pimpl.C: ditto
5889 * bufferlist.h: ditto
5893 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
5895 * converter.[Ch]: split into itself +
5898 * Makefile.am: += graph.[Ch] + format.[Ch]
5905 * lyxrc.C: added #include "format.h"
5907 2003-02-27 Angus Leeming <leeming@lyx.org>
5909 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5912 * factory.C (createInset): add "label" to the factory.
5914 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5915 string and do no more.
5917 2003-02-27 Angus Leeming <leeming@lyx.org>
5920 * LyXAction.C (init):
5921 * factory.C (createInset):
5922 * BufferView_pimpl.C (dispatch):
5923 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5925 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5927 * lyxfunc.C (dispatch):
5928 * text3.C (dispatch): pass name to params2string.
5930 2003-02-26 Angus Leeming <leeming@lyx.org>
5932 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5934 Rearrange the ~includes. Strip out the unnecessary ones.
5936 * factory.C (createInset): reformat.
5937 create new insets for the various LFUN_XYZ_APPLY lfuns.
5939 2003-02-26 John Levon <levon@movementarian.org>
5942 * lyxrow.C: add isParStart,isParEnd helpers
5944 * paragraph.h: make isInserted/DeletedText take refs
5946 * paragraph_funcs.h:
5947 * paragraph_funcs.C: remove #if 0'd code
5952 * text.C: use lyxrow helpers above.
5953 Move draw and paint routines to RowPainter.
5954 Make several methods use refs not pointers.
5955 Make backgroundColor() const.
5956 Add markChangeInDraw(), isInInset().
5957 Merge changeRegionCase into changeCase.
5958 Make workWidth() shouldn't-happen code into an Assert.
5961 * rowpainter.C: new class for painting a row.
5964 * vspace.C: make inPixels take a ref
5966 2003-02-26 Angus Leeming <leeming@lyx.org>
5968 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5971 2003-02-25 John Levon <levon@movementarian.org>
5973 * ispell.C: give the forked command a more accurate name
5975 2003-02-22 John Levon <levon@movementarian.org>
5978 * toc.C: make TocItem store an id not a Paragraph *
5981 2003-02-21 Angus Leeming <leeming@lyx.org>
5983 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5984 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5985 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5986 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5987 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5988 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5990 * BufferView_pimpl.C (dispatch):
5991 * LyXAction.C (init):
5992 * factory.C (createInset):
5993 * lyxfunc.C (getStatus, dispatch):
5994 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5996 2003-02-21 Angus Leeming <leeming@lyx.org>
5998 * BufferView_pimpl.C (MenuInsertLyXFile):
5999 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6000 * lyxfunc.C (menuNew, open, doImport):
6001 no longer pass a LyXView & to fileDlg.
6003 2003-02-21 Angus Leeming <leeming@lyx.org>
6005 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6006 * LyXAction.C: change, BIBKEY to BIBITEM.
6007 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6008 Change InsetBibKey to InsetBibitem.
6009 Change BIBKEY_CODE to BIBITEM_CODE.
6010 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6011 * factory.C: replace insetbib.h with insetbibitem.h.
6012 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6013 * paragraph.C: replace insetbib.h with insetbibitem.h.
6014 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6015 Change bibkey() to bibitem().
6016 * text.C: remove insetbib.h.
6017 * text2.C: replace insetbib.h with insetbibitem.h.
6018 change bibkey() to bibitem().
6019 * text3.C: remove insetbib.h.
6020 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6022 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6024 * lyxrc.C (output): enclose user email in quotes (in case there are
6027 2003-02-18 John Levon <levon@movementarian.org>
6029 * buffer.h: add std::
6031 2003-02-17 John Levon <levon@movementarian.org>
6037 * pspell.C: reworking. Especially in ispell, a large
6038 number of clean ups and bug fixes.
6040 * lyxfunc.C: fix revert to behave sensibly
6042 2003-02-17 André Pönitz <poenitz@gmx.net>
6045 * commandtags.h: new LFUN_INSERT_BIBKEY
6055 * paragraph_func.C: remove special bibkey handling
6057 2003-02-17 John Levon <levon@movementarian.org>
6059 * text.C (Delete): fix case where delete at the end of
6060 the very first paragraph would not merge the pars
6062 2003-02-17 John Levon <levon@movementarian.org>
6064 * lyxrow.C: fix lastPrintablePos()
6066 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6068 * bufferparams.C (writeLaTeX): add a std:here
6070 * buffer.C: and remove a using directive there
6072 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6074 * buffer.C (makeLaTeXFile): move the code that generates the
6077 * bufferparams.C (writeLaTeX): ... in this new method
6079 * LaTeXFeatures.C (getEncodingSet): make const
6080 (getLanguages): make const
6082 * MenuBackend.C (binding): returns the binding associated to this
6084 (add): sets the status of each item by calling getStatus. Adds
6086 (read): add support for OptSubMenu
6087 (expand): remove extra separator at the end of expanded menu
6089 2003-02-15 John Levon <levon@movementarian.org>
6092 * BufferView_pimpl.C:
6094 * bufferlist.C: remove pointless BufferStorage bloat. Remove
6095 inset code that had no actual effect. Remove unneeded status
6098 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6100 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6103 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
6105 * text.C (drawLengthMarker): also draw an arrow marker for
6106 symbolic lengths (medskip...)
6108 2003-02-14 John Levon <levon@movementarian.org>
6111 * tabular.C: better method names
6113 2003-02-14 John Levon <levon@movementarian.org>
6115 * BufferView_pimpl.C:
6120 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6121 it's a more accurate name. Remove some pointless uses.
6123 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6125 * text2.C (LyXText): change order of initilizers to shut off
6128 2003-02-14 John Levon <levon@movementarian.org>
6130 * buffer.C: use ParIterator for getParFromID()
6134 * paragraph_pimpl.h:
6135 * paragraph_pimpl.C: remove unused getParFromID()
6137 2003-02-14 John Levon <levon@movementarian.org>
6139 * buffer.C: remove some very old #if 0'd parse code
6141 2003-02-13 John Levon <levon@movementarian.org>
6145 * text2.C: move hfillExpansion(), numberOfSeparators(),
6146 rowLast(), rowLastPrintable(), numberofHfills(),
6147 numberOfLabelHfills() ...
6150 * lyxrow.C: ... to member functions here.
6155 * text.C: remove LyXText::beginningOfMainBody(), and call
6156 p->beginningOfMainBody() directly. Move the check for
6157 LABEL_MANUAL into the latter.
6164 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6170 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6171 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6173 2003-02-13 John Levon <levon@movementarian.org>
6175 * CutAndPaste.C: remove debug
6177 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6179 * paragraph.C (asString): remove two unused variables
6181 * lyxtextclass.C (readTitleType):
6183 (LyXTextClass): handle new members titletype_ and titlename_
6185 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6187 2003-02-09 John Levon <levon@movementarian.org>
6190 * buffer.C: replace hand-coded list with a map for the dep clean
6192 2003-02-08 John Levon <levon@movementarian.org>
6194 * LaTeX.C: consolidate code into showRunMessage() helper
6196 2003-02-08 John Levon <levon@movementarian.org>
6201 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6202 and pass the size in explicitly
6204 * BufferView_pimpl.h:
6205 * BufferView_pimpl.C:
6207 * BufferView.C: add getCurrentChange()
6209 * BufferView_pimpl.h:
6210 * BufferView_pimpl.C: handle change lfuns
6212 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6213 for changes. Mark pasted paragraphs as new.
6215 * support/lyxtime.h:
6216 * support/lyxtime.C:
6217 * DepTable.C: abstract time_t as lyx::time_type
6220 * LColor.C: add colours for new text, deleted text, changebars
6222 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6223 package use "usenames" option.
6227 * LyXAction.C: add change lfuns
6231 * author.C: author handling
6234 * buffer.C: add a per-buffer author list, with first entry as
6235 current author. Handle new .lyx tokens for change tracking. Output
6236 author list to .lyx file. Output dvipost stuff to .tex preamble.
6237 Bump lyx format to 222.
6240 * bufferlist.C: add setCurrentAuthor() to reset current author details
6244 * bufferparams.C: add param for tracking
6246 * bufferview_funcs.C: output change info in minibuffer
6250 * changes.C: add change-tracking structure
6253 * debug.C: add CHANGES debug flag
6256 * lyxfind.C: add code for finding the next change piece
6259 * lyxrc.C: add user_name and user_email
6262 * lyxrow.C: add a metric for the top of the text line
6265 * text.C: implement accept/rejectChange()
6268 * text.C: paint changebars. Paint new/deleted text in the chosen
6269 colours. Strike through deleted text.
6273 * paragraph_pimpl.h:
6274 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6275 in the current change to the insert functions. Rework erase to
6276 mark text as deleted, adding an eraseIntern() and a range-based
6277 erase(). Implement per-paragraph change lookup and
6280 * paragraph_funcs.C: Fixup paste for change tracking.
6282 * tabular.C: mark added row/columns as new.
6284 * text.C: fix rowLast() to never return -1. Don't allow
6285 spellchecking of deleted text. Track transpose changes. Don't
6286 allow paragraph break or merge where appropriate.
6288 * text2.C: leave cursor at end of selection after a cut.
6290 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6292 * text.C (getLengthMarkerHeight):
6293 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6294 visible on screen too.
6296 2003-02-07 John Levon <levon@movementarian.org>
6298 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6300 2003-02-05 Angus Leeming <leeming@lyx.org>
6302 * lyxserver.C (read_ready): revert my patch of 11 September last year
6303 as it sends PC cpu through the roof. Presumably this means that
6304 the lyxserver will no longer run on an Alpha...
6306 2003-01-30 Angus Leeming <leeming@lyx.org>
6308 * factory.C (createInset): create an InsetCommandParam of type "index"
6309 and use it to 'do the right thing'.
6311 * text2.C (getStringToIndex): ensure that cursor position is always
6312 reset to the reset_cursor position.
6314 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6316 * lyxfunc.C (getStatus): "buffer-export custom" should never be
6319 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
6323 * lyxfunc.C: Output messages with identical spelling, punctuation,
6326 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
6328 * MenuBackend.C (expandFormats): List only viewable export formats
6331 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6334 * lyxfunc.C (getStatus): Make sure that formats other than
6335 "fax" can also be disabled
6337 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6339 * text3.C (dispatch): put the lfuns that insert insets in 3
6340 groups, and call doInsertInset with appropriate arguments.
6341 (doInsertInset): new function, that creates an inset and inserts
6342 it according to some boolean parameters.
6344 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6346 * buffer.C (readFile): remember to pass on 'par' when calling
6347 readFile recursively.
6349 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6351 * MenuBackend.C (expandFormats): add "..." to import formats.
6353 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
6355 * paragraph.C (asString): Remove XForms RTL hacks.
6357 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
6358 * buffer.C: fix typo
6360 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6362 * Makefile.am (LIBS): delete var
6363 (lyx_LDADD): add @LIBS@ here instead.
6365 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
6367 * Clarify the meaning of "wheel mouse jump"
6369 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6371 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6374 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6376 * importer.C (Loaders): do not preallocate 3 elements in the
6377 vector, since one ends up with 6 elements otherwise
6379 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6381 * DepTable.C (write): write the file name as last element of the
6382 .dep file (because it may contain spaces)
6383 (read): read info in the right order
6385 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6387 * paragraph_pimpl.C (simpleTeXBlanks):
6388 (simpleTeXSpecialChars):
6389 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6391 * tabular.C (latex): add some missing case statements. Reindent.
6393 * MenuBackend.C (expandToc): remove unused variable.
6395 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
6404 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6407 2003-01-05 John Levon <levon@movementarian.org>
6410 * BufferView.C: add getEncoding()
6413 * kbsequence.C: do not store last keypress
6416 * lyxfunc.C: store last keypress here instead. Pass encoding
6419 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6421 * lyx_main.C (init): remove annoying error message when following
6422 symbolic links (bug #780)
6424 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6426 * text.C (insertChar):
6427 * lyxrc.C (getDescription): remove extra spaces
6429 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6431 * lyxrc.C (getDescription): remove extra spaces
6433 2002-12-20 John Levon <levon@movementarian.org>
6435 * text3.C: hack fix for page up/down across tall rows
6437 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6439 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6442 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6444 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6445 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6446 thesaurus is not compiled in
6448 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
6450 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
6452 2002-12-16 Angus Leeming <leeming@lyx.org>
6455 * lyx_main.C (init): remove override_x_deadkeys stuff.
6457 2002-12-12 John Levon <levon@movementarian.org>
6459 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6460 insert. Only remove shift modifier under strict
6463 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6465 * MenuBackend.C (expandToc): fix crash.
6467 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6469 * MenuBackend.C (expandToc): gettext on float names.
6471 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6473 * lyxlength.[Ch]: set default unit to UNIT_NONE,
6474 implement bool empty() [bug 490]
6476 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6478 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6480 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6482 * several files: ws changes
6484 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6486 * text2.C (setCounter): clean up a bit, use boost.format.
6487 (updateCounters): initialize par upon declaration.
6489 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6490 if the layout exists. We do not just store the layout any more.
6491 (SwitchLayoutsBetweenClasses): use boost.format
6493 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6495 * converter.C (convert): if from and to files are the same, use a
6496 temporary files as intermediary
6498 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6501 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6503 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
6505 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6507 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6509 * tabular.C (asciiPrintCell): use string(size, char) instead of
6512 * sgml.C (openTag): fix order of arguments to string constructor
6515 * lyxfunc.C (dispatch): use boost.format
6517 * lots of files: change "c" -> 'c'
6519 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
6521 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6523 2002-11-25 Angus Leeming <leeming@lyx.org>
6525 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6527 * lyx_main.C (init): compile fix.
6529 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6531 * lyx_cb.C (start): boost.formatify
6532 do not include <iostream>
6534 * lengthcommon.C: ws only
6536 * boost-inst.C,BoostFormat.h: add more explict instantations
6538 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6540 * lots of files: handle USE_BOOST_FORMAT
6542 2002-11-21 John Levon <levon@movementarian.org>
6544 * pspell.C: fix compile
6546 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6548 * lyxfunc.C (dispatch): use boost::format
6552 * lyxfont.C (stateText): use boost::format
6554 * lyx_main.C (LyX): use boost::format
6556 (queryUserLyXDir): ditto
6559 (typedef boost::function): use the recommened syntax.
6561 * importer.C (Import): use boost::format
6563 * debug.C (showLevel): use boost::format
6565 * converter.C (view): use boost::format
6570 * bufferview_funcs.C (currentState): use boost::format
6572 * bufferlist.C (emergencyWrite): use boost::format
6574 * buffer.C (readLyXformat2): use boost::format
6575 (parseSingleLyXformat2Token): ditto
6577 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6579 * LaTeX.C (run): use boost::format
6581 * Chktex.C (scanLogFile): use boost::format
6583 * BufferView_pimpl.C (savePosition): use boost::format
6584 (restorePosition): ditto
6585 (MenuInsertLyXFile): ditto
6587 * BoostFormat.h: help file for explicit instation.
6589 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
6591 * tabular.C (latex): Support for block alignment in fixed width
6594 2002-11-17 John Levon <levon@movementarian.org>
6596 * BufferView_pimpl.C:
6598 * lyxfunc.C: split filedialog into open/save
6600 2002-11-08 Juergen Vigna <jug@sad.it>
6602 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6603 by my last patch (hopefully).
6605 2002-11-08 John Levon <levon@movementarian.org>
6614 * toc.C: ParConstIterator, and use it (from Lars)
6616 2002-11-07 Ben Stanley <bds02@uow.edu.au>
6618 * lyxtextclass.[Ch]: revise and add doxygen comments
6620 2002-11-07 John Levon <levon@movementarian.org>
6622 * text.C: fix progress value for spellchecker
6624 * toc.C: fix navigate menu for insetwrap inside minipage
6626 * paragraph_funcs.C: added FIXME for suspect code
6628 2002-11-07 John Levon <levon@movementarian.org>
6630 * BufferView_pimpl.C: fix redrawing of insets
6633 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6635 * text2.C (updateCounters): fix bug 668
6637 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
6639 * text3.C (dispatch): Do not make the buffer dirty when moving the
6642 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6644 * vc-backend.C: STRCONV
6647 * text2.C (setCounter): STRCONV
6649 * paragraph.C (asString): STRCONV
6651 * lyxlength.C (asString): STRCONV
6652 (asLatexString): ditto
6654 * lyxgluelength.C (asString): STRCONV
6655 (asLatexString): ditto
6657 * lyxfunc.C (dispatch): STRCONV
6660 * lyxfont.C (stateText): STRCONV
6662 * importer.C (Import): STRCONV
6664 * counters.C (labelItem): STRCONV
6665 (numberLabel): ditto
6666 (numberLabel): remove unused ostringstream o
6671 * bufferview_funcs.C (currentState): STRCONV
6673 * buffer.C (readFile): STRCONV
6674 (asciiParagraph): ditto
6675 (makeLaTeXFile): ditto
6677 * Spacing.C (writeEnvirBegin): STRCONV
6679 * LaTeXFeatures.C (getLanguages): STRCONV
6680 (getPackages): ditto
6682 (getBabelOptions): ditto
6683 (getTClassPreamble): ditto
6684 (getLyXSGMLEntities): ditto
6685 (getIncludedFiles): ditto
6689 (scanAuxFile): ditto
6692 * LString.h: add the STRCONV macros
6694 * BufferView_pimpl.C (savePosition): STRCONV
6695 (restorePosition): ditto
6696 (MenuInsertLyXFile): ditto
6698 * vc-backend.C (scanMaster): change from submatch[...] to
6701 * funcrequest.C: include config.h
6703 * factory.C: include config.h
6705 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6707 * box.C: include config.h
6709 * LaTeX.C (scanAuxFile): change from submatch[...] to
6713 2002-10-25 Angus Leeming <leeming@lyx.org>
6715 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6717 * ispell.[Ch] (setError): new method.
6718 * ispell.C (c-tor): move out child process into new class LaunchIspell.
6719 Use setError() insetead of goto END.
6721 * lyx_cb.C (AutoSave): move out child process into new class
6724 2002-10-30 John Levon <levon@movementarian.org>
6726 * text3.C: make start appendix undoable
6728 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
6730 * lyxlength.C (inPixels): Fix returned value.
6732 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6735 2002-10-24 Angus Leeming <leeming@lyx.org>
6737 * lyxgluelength.h: no need to forward declare BufferParams
6738 or BufferView, so don't.
6740 2002-10-21 John Levon <levon@movementarian.org>
6742 * BufferView.C: menuUndo ->undo, redo
6744 * BufferView.h: document, remove dead, make some methods private
6746 * paragraph_funcs.h:
6747 * paragraph_funcs.C:
6748 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6753 * sgml.C: move sgml open/close tag into sgml.C
6755 * bufferview_funcs.h: unused prototype
6758 * lyxfunc.C: remove unused
6761 * text.C: remove unused
6763 2002-10-21 John Levon <levon@movementarian.org>
6767 * BufferView_pimpl.h:
6768 * BufferView_pimpl.C: fix mouse wheel handling based on
6769 patch from Darren Freeman
6771 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
6773 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6775 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
6777 * lyxlength.C (inPixels): Fix hanfling of negative length.
6778 Fix LyXLength::MU case.
6780 2002-10-16 John Levon <levon@movementarian.org>
6782 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6784 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6786 * converter.C (view): add support for $$i (file name) and $$p
6787 (file path) for the viewer command. If $$i is not specified, then
6788 it is appended to the command (for compatibility with old syntax)
6790 2002-10-14 Juergen Vigna <jug@sad.it>
6792 * undo_funcs.C (textHandleUndo): alter the order in which the
6793 new undopar is added to the LyXText, as we have to set first
6794 the right prev/next and then add it as otherwise the rebuild of
6795 LyXText is not correct. Also reset the cursor to the right paragraph,
6796 with this IMO we could remove the hack in "redoParagraphs()".
6798 2002-10-09 Angus Leeming <leeming@lyx.org>
6800 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6801 to turn off an optimisation if a new inset is to be inserted.
6803 2002-10-11 André Pönitz <poenitz@gmx.net>
6805 * lyxtext.h: make some functions public to allow access
6806 from inset/lyxtext for handling LFUN_PRIOR/NEXT
6808 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6810 * text3.C (dispatch): when changing layout, avoid an infinite loop
6813 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6815 * lyxrc.C (read): treat a viewer or converter command of "none" as
6818 * MenuBackend.C (expandFormats): for an update, also allow the
6819 formats that are not viewable
6821 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6822 script if it is newer than the lyxrc.defaults in user directory
6824 2002-10-07 André Pönitz <poenitz@gmx.net>
6826 * text.C: Vitaly Lipatov's small i18n fix
6828 2002-09-25 Angus Leeming <leeming@lyx.org>
6830 * ispell.h: doxygen fix.
6832 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
6834 * buffer.h (readFile): Add a new argument to the method, to allow
6835 reading of old-format templates.
6837 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
6839 * toc.C (getTocList): Get TOC from InsetWrap.
6841 2002-09-16 John Levon <levon@movementarian.org>
6843 * lyxfunc.C: check tabular for cut/copy too
6845 2002-09-12 John Levon <levon@movementarian.org>
6850 * factory.C: add header
6852 * paragraph_funcs.h:
6853 * paragraph_funcs.C: cleanup
6855 2002-09-11 John Levon <levon@movementarian.org>
6857 * PrinterParams.h: odd/even default to true
6859 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
6861 * PrinterParams.h: update printer parameters for new xforms dialog
6863 2002-09-11 Angus Leeming <leeming@lyx.org>
6865 * lyxserver.C (read_ready): re-write to make it more transparent
6866 and to make it work in coherent fashion under Tru64 Unix.
6868 2002-09-11 André Pönitz <poenitz@gmx.net>
6872 * text3.C: implement LFUN_WORDSEL
6874 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6876 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6877 make floatlist_ a boost::shared_ptr<FloatList>
6879 * lyxtextclass.C: include FloatList.h
6880 (LyXTextClass): initialize floatlist_
6881 (TextClassTags): add TC_NOFLOAT
6882 (Read): match "nofloat" to TC_NOFLOAT and use it.
6883 (readFloat): modify call to floatlist_
6887 * FloatList.[Ch] (FloatList): remove commented out float
6889 (erase): new function
6891 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6893 * MenuBackend.C (expandToc): fix crash when there is no document
6896 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
6898 * many files: Add insetwrap.
6900 2002-09-09 John Levon <levon@movementarian.org>
6902 * text2.C: remove confusing and awkward depth wraparound
6904 2002-09-09 John Levon <levon@movementarian.org>
6906 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6909 * buffer.C: remove getIncludeonlyList()
6912 * lyxfunc.C: remove headers
6914 2002-09-09 Juergen Vigna <jug@sad.it>
6916 * text.C (getColumnNearX): fix form Michael this is most
6917 probably a cut&paste bug.
6919 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6921 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6923 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6924 references, ws changes.
6926 * text2.C (init): update counters after init
6927 (insertParagraph): no need to set counter on idividual paragraphs.
6928 (setCounter): access the counters object in the textclass object
6929 on in the buffer object.
6930 (updateCounters): ditto
6932 * lyxtextclass.C: include counters.h, add variable ctrs_ as
6933 shared_ptr<Counters> to avoid loading counters.h in all
6935 (LyXTextClass): initialize ctrs_
6936 (TextClassTags): add TC_COUNTER, and ...
6937 (Read): use it here.
6938 (CounterTags): new tags
6939 (readCounter): new function
6940 (counters): new funtion
6941 (defaultLayoutName): return a const reference
6943 * counters.C (Counters): remove contructor
6944 (newCounter): remove a couple of unneeded statements.
6945 (newCounter): simplify a bit.
6946 (numberLabel): some small formatting changes.
6948 * buffer.[Ch]: remove all traces of counters, move the Counters
6949 object to the LyXTextClass.
6951 2002-09-06 Alain Castera <castera@in2p3.fr>
6953 * tabular.C: uses \tabularnewline; uses >{...} construct from array
6954 package to set the horizontal alignment on fixed width columns.
6957 * lyx_sty.h: added tabularnewline macro def.
6959 * LaTeXFeatures.C: added NeedTabularnewline macro feature
6961 2002-09-06 John Levon <levon@movementarian.org>
6963 * LyXAction.C: tooltips for sub/superscript
6965 * MenuBackend.C: a bit more verbose
6967 * lyxfunc.C: tiny clean
6969 * undo_funcs.C: document undo_frozen
6971 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6973 * counters.C (Counters): add missing algorithm counter.
6975 * text2.C (setCounter): lookup the counter with layouts latexname
6976 instead of by section number.
6977 (setCounter): use a hackish way to lookup the correct enum
6979 a float name->type change
6980 reset enum couners with counter name directly instead of depth value.
6982 * counters.C (Counters): remove the push_backs, change to use the
6983 float type not the float name.
6984 (labelItem): remove unused string, float name->type change
6986 * counters.h: don't include vector, loose the enums and sects vectors
6988 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6990 * lyxtextclass.C (TextClassTags): add TC_FLOAT
6991 (Read): add float->TC_FLOAT to textclassTags
6992 (Read): and handle it in the switch
6993 (readFloat): new function
6995 * FloatList.C (FloatList): comment out the hardcoded float
6998 * lyxlayout.h: ws change.
7000 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
7002 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7004 2002-09-03 Angus Leeming <leeming@lyx.org>
7006 * BufferView_pimpl.h: qualified name is not allowed in member
7007 declaration: WorkArea & Pimpl::workarea() const;
7009 * factory.C: added using std::endl directive.
7011 * text3.C: added using std::find and std::vector directives.
7013 2002-08-29 André Pönitz <poenitz@gmx.net>
7016 * text2.C: remove unused member number_of_rows
7019 * BufferView2.C: remove file, move contents to...
7020 * BufferView.C: ... here
7022 * BufferView_pimpl.C:
7023 * factory.C: move more inset creation to factory
7025 * vspace.C: avoid direct usage of LyXText, ws changes
7028 don't provide direct access to WorkArea, use two simple
7029 acessors haveSelction() and workHeight() instead
7032 2002-08-29 John Levon <levon@movementarian.org>
7034 * BufferView_pimpl.C (dispatch): do not continue when
7037 2002-08-28 André Pönitz <poenitz@gmx.net>
7039 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7042 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7044 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
7046 * buffer.C: increment LYX_FORMAT to 221
7048 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7049 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7051 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7053 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7055 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7057 * factory.C (createInset): use LyXTextClass::floats
7059 * MenuBackend.C (expandFloatListInsert):
7060 (expandFloatInsert):
7063 * text2.C (setCounter):
7065 * LaTeXFeatures.C (useFloat):
7066 (getFloatDefinitions):
7068 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7070 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7071 floatlist_, with accessor floats().
7073 * FloatList.h: remove global FloatList
7075 2002-08-26 André Pönitz <poenitz@gmx.net>
7077 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7081 * BufferView_pimpl.C:
7082 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7084 2002-08-25 John Levon <levon@movementarian.org>
7086 * LyXAction.C: fix margin note description
7088 2002-08-24 John Levon <levon@movementarian.org>
7092 * bufferview_funcs.C:
7094 * undo_funcs.C: cleanups
7096 * lyxfunc.C: disable CUT/COPY when no selection
7098 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
7100 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7101 in "enum UNIT"; e.g. PTW for Percent of TextWidth
7103 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7104 Add backward compatibility to "mono", "gray" and "no".
7106 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
7108 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7109 (and file_format >= 200).
7111 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7113 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7115 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7117 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7119 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
7121 * BufferView_pimpl.C:
7128 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7129 inset and code to make it work with the paragraph code. The inset
7130 can be anywhere in the paragraph, but will only do the expected
7131 thing in LaTeX if the layout file contains the parameter line
7133 (or more generally, a nonzero value) for that layout.
7135 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7137 * paragraph.h: remove the declaration of undefined counters class
7140 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
7142 * text2.C (setCounter): fixed enumeration mis-count as reported by
7143 Dr. Richard Hawkins.
7145 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7147 * paragraph_funcs.h: remove some unneeded includes
7149 * text.C (backspace): pasteParagraph now in global scipe
7151 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7152 (pasteSelection): ditto
7154 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7155 * paragraph_funcs.C (pasteParagraph): ... here
7157 2002-08-20 André Pönitz <poenitz@gmx.net>
7159 * commandtags.h: new LFUNs for swapping/copying table row/colums
7162 * lyxfunc.C: support for new lfuns
7164 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7167 * buffer.[Ch]: remove NO_COMPABILITY stuff
7169 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
7171 * boost.C (throw_exception): new file, with helper function for
7172 boost compiled without exceptions.
7177 * ParameterStruct.h:
7178 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7180 * bufferlist.C (emergencyWriteAll): use boost bind
7182 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7184 * text.C: include paragraph_funcs.h
7185 (breakParagraph): breakParagraph is now in global scope
7187 * paragraph_funcs.[Ch]: new files
7189 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7192 * buffer.C: include paragraph_funcs.h
7193 (insertStringAsLines): breakParagraph is now in global scope
7195 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7198 * CutAndPaste.C: include paragraph_funcs.h
7199 (cutSelection): breakParagraphConservative is now in global scope
7200 (pasteSelection): ditto
7202 * buffer.h: declare oprator== and operator!= for
7203 Buffer::inset_iterator
7205 * bufferlist.C (emergencyWrite): don't use fmt(...)
7207 * text3.C: add using std::endl
7209 * BufferView.C (moveCursorUpdate): remove default arg
7211 2002-08-20 André Pönitz <poenitz@gmx.net>
7213 * buffer.[Ch]: move inline functions to .C
7216 * BufferView_pimpl.C:
7218 * buffer.[Ch]: use improved inset_iterator
7221 * paragraph.[Ch]: write one paragraph at a time
7223 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7225 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7226 style if style is not specified.
7228 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7230 * text2.C (setCounter): when searching for right label for a
7231 caption, make sure to recurse to parent insets (so that a caption
7232 in a minipage in a figure float works) (bug #568)
7234 2002-08-20 André Pönitz <poenitz@gmx.net>
7236 * text3.C: new file for LyXText::dispatch() and helpers
7238 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7240 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7242 2002-08-19 André Pönitz <poenitz@gmx.net>
7245 * text.C: new LyXText::dispatch()
7247 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7249 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7251 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7253 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7256 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7258 * Makefile.am: use $(variables) instead of @substitutions@
7260 2002-08-15 André Pönitz <poenitz@gmx.net>
7263 * BufferView_pimpl.C: streamlining mathed <-> outer world
7267 * LyXAction.C: remove unused LFUN_MATH
7269 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7271 * paragraph.[Ch]: add some NO_NEXT ifdefs.
7273 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7275 * paragraph.C (Paragraph): reformat a bit
7276 (cutIntoMinibuffer): use builtin InsetList function instad of
7280 * buffer.C: include boost/bind.hpp, add using std::for_each
7281 (writeFileAscii): use ParagraphList iterators
7282 (validate): use for_each for validate traversal of paragraphs
7283 (getBibkeyList): use ParagraphList iterators
7284 (resizeInsets): use for_each to resizeInsetsLyXText for all
7286 (getParFromID): use ParagraphList iterators
7288 * BufferView2.C (lockInset): use paragraph list and iterators
7290 2002-08-14 John Levon <levon@movementarian.org>
7292 * lyxserver.C: remove spurious xforms include
7294 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7296 * lyxfunc.C (getStatus): disable math-extern outside of math mode
7298 2002-08-13 André Pönitz <poenitz@gmx.net>
7301 * lyxfunc.C: further cleaning
7303 2002-08-13 André Pönitz <poenitz@gmx.net>
7305 * funcrequest.h: new constructor
7307 * funcrequest.C: move stuff here from .h
7310 * BufferView_pimpl.C:
7313 * lyxfunc.C: subsequent changes
7315 * lyxfunc.h: new view() member function
7317 * lyxfunc.C: subsequent changes
7319 2002-08-13 Angus Leeming <leeming@lyx.org>
7322 * BufferView_pimpl.C:
7330 changes due to the changed LyXView interface that now returns references
7331 to member variables not pointers.
7333 2002-08-13 Angus Leeming <leeming@lyx.org>
7335 * WordLangTuple (word, lang_code): return references to strings,
7340 * lyxtext.h: forward-declare WordLangTuple.
7345 * text.C: #include "WordLangTuple.h".
7348 * text.C: (selectNextWordToSpellcheck): constify return type.
7350 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
7356 * paragraph_pimpl.h:
7359 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7361 Made updateCounter always count from start of buffer, and removed
7362 second argument (par).
7363 Reverted floats number display to '#'. Perhaps I'll try again when the
7364 code base is sanitized a bit.
7366 2002-08-12 Angus Leeming <leeming@lyx.org>
7368 * buffer.[Ch] (getLabelList): constify.
7370 2002-08-07 André Pönitz <poenitz@gmx.net>
7372 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7374 * funcrequest.h: extension to keep mouse (x,y) position
7376 2002-08-12 Juergen Vigna <jug@sad.it>
7378 * BufferView2.C (insertErrors): forbid undo when inserting error
7381 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7383 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7385 * ParagraphList.[Ch]: new files
7387 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7389 * BufferView2.C (lockInset): ParagraphList changes
7392 * bufferlist.C: ditto
7396 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7398 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7399 unused class variable counter_,
7401 * paragraph.[Ch] (getFirstCounter): delete unused function
7403 * counters.C: include LAssert.h
7404 (reset): add a new function with no arg, change other version to
7405 not have def. arg and to not allow empty arg.
7407 * text2.C (setCounter): remove empty arg from call to Counters::reset
7409 2002-08-11 John Levon <levon@movementarian.org>
7411 * Makefile.am: add WordLangTuple.h
7413 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7415 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7416 lyxfunc.C lyxlex_pimpl.C: ws changes only.
7418 * insets/insettext.C: InsetList changes
7420 * graphics/GraphicsSupport.C (operator()): InsetList changes
7422 * toc.C (getTocList): InsetList changes
7424 * paragraph_pimpl.[Ch]: InsetList changes
7426 * paragraph.[Ch]: InsetList changes
7428 * buffer.C (inset_iterator): InsetList changes
7429 (setParagraph): ditto
7430 * buffer.h (inset_iterator): ditto
7431 * iterators.C (operator++): ditto
7432 * iterators.h: ditto
7434 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7436 * InsetList.[Ch]: new files, most InsetList handling moved out of
7439 * BufferView2.C (removeAutoInsets): InsetList changes
7441 (ChangeInsets): ditto
7443 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7445 * paragraph_pimpl.h (empty): new function
7447 * paragraph.[Ch] (empty): new function
7449 * other files: use the new Paragraph::empty function
7451 2002-08-09 John Levon <levon@movementarian.org>
7453 * lyxtext.h: remove unused refresh_height
7455 2002-08-09 John Levon <levon@movementarian.org>
7462 * paragraph.C: move sgml char escaping out of paragraph
7465 * paragraph.C: remove id setter
7469 * paragraph_pimpl.C: remove dead tex_code_break_column
7471 * bufferview_funcs.C: small cleanup
7473 * lyxfunc.C: remove dead proto
7475 * lyxtext.h: make some stuff private. Remove some dead stuff.
7477 * lyxgluelength.C: make as[LyX]String() readable
7479 2002-08-08 John Levon <levon@movementarian.org>
7484 * ToolbarDefaults.C:
7487 * toc.C: lyxaction cleanup
7489 2002-08-08 John Levon <levon@movementarian.org>
7491 * BufferView2.C: small cleanup
7494 * lyxfind.C: move unnecessary header into the .C
7496 2002-08-08 John Levon <levon@movementarian.org>
7498 * funcrequest.h: just tedious nonsense
7501 * lyx_main.C: cleanups
7504 * vspace.C: remove dead header lyx_main.h
7506 2002-08-07 Angus Leeming <leeming@lyx.org>
7509 * paragraph_pimpl.h:
7510 Forward declare class Counters in paragraph.h by moving the ctrs member
7511 variable into Paragraph::Pimpl.
7512 (counters): new method, returning a reference to pimpl_->ctrs.
7514 * text2.C: ensuing changes.
7516 2002-08-07 John Levon <levon@movementarian.org>
7518 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7520 * BufferView_pimpl.C: announce X selection on double/triple
7523 * lyx_main.C: use correct bool in batch dispatch
7525 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7527 2002-08-07 André Pönitz <poenitz@gmx.net>
7529 * funcrequest.h: new class to wrap a kb_action and its argument
7532 * BufferView_pimpl[Ch]:
7536 * lyxrc.C: subsequent changes
7539 2002-08-07 John Levon <levon@movementarian.org>
7541 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7542 document options change.
7544 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7549 * makefile.am: move counters functionality over from
7550 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7552 2002-08-06 John Levon <levon@movementarian.org>
7554 * WordLangTuple.h: new file for word + language code tuple
7565 * BufferView2.C: use WordLangTuple
7568 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7570 2002-08-06 John Levon <levon@movementarian.org>
7572 * lyx_main.C: fix cmdline batch handling
7574 2002-08-06 André Pönitz <poenitz@gmx.net>
7576 * lyxrc.C: set default for show_banner to true
7578 2002-08-06 John Levon <levon@movementarian.org>
7580 * pspell.C: fix a crash, and allow new aspell to work
7582 2002-08-06 John Levon <levon@movementarian.org>
7585 * kbmap.C: small cleanup
7588 * vspace.C: add const
7590 2002-08-05 John Levon <levon@movementarian.org>
7592 * LyXAction.C: back to tabular-insert
7594 2002-08-04 John Levon <levon@movementarian.org>
7597 * BufferView.C: cosmetic change
7599 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7609 * BufferView2.C: purge all "Lyx" not "LyX" strings
7612 * lyxcursor.C: attempt to add some documentation
7617 * ToolbarDefaults.C:
7618 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7619 merge with LFUN_TABULAR_INSERT
7626 * pspell.C: split up i/pspell implementations into separate
7627 files, many cleanups
7629 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7631 * text2.C: some cleanup
7633 * lyxfunc.C: don't check for isp_command == "none" any more, it
7634 didn't make any sense
7636 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7641 * makefile.am: move counters functionality over
7642 from text2.C/paragraph.[Ch] to counters.[Ch], and
7644 2002-08-02 John Levon <levon@movementarian.org>
7646 * buffer.C: s/lyxconvert/lyx2lyx/
7648 2002-08-02 Angus Leeming <leeming@lyx.org>
7650 * lyxlex.C: revert John's change as it breaks reading of the user
7653 2002-08-02 Angus Leeming <leeming@lyx.org>
7655 * importer.C (Import):
7656 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7657 changes due to LyXView::view() now returning a boost::shared_ptr.
7659 2002-08-02 John Levon <levon@movementarian.org>
7661 * lyxlex.C: small cleanup
7663 2002-08-02 John Levon <levon@movementarian.org>
7665 * text2.C (status): small cleanup, no logic change
7667 2002-08-01 John Levon <levon@movementarian.org>
7670 * buffer.C (writeFile): don't output alerts, caller
7674 * lyx_cb.C: from above
7676 * lyxfunc.C: allow to open non-existent files
7678 2002-07-31 John Levon <levon@movementarian.org>
7680 * lyxserver.C: don't let incidental errors get
7683 2002-07-30 John Levon <levon@movementarian.org>
7685 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7687 2002-07-30 John Levon <levon@movementarian.org>
7690 * lyxserver.C: remove I/O callback too
7692 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7694 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7697 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7699 * many files: strip,frontStrip -> trim,ltrim,rtrim
7701 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7703 * PrinterParams.h: remove extern containsOnly, and include
7704 support/lstrings.h instead.
7706 * LaTeX.C (scanAuxFile): modify because of strip changes
7708 * buffer.C (makeLaTeXFile): ditto
7709 * bufferparams.C (writeFile): ditt
7710 * lyxfont.C (stateText): ditto
7711 * lyxserver.C (read_ready): ditto
7712 * vc-backend.C (scanMaster): ditto
7714 * BufferView_pimpl.h: ws changes
7716 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7718 2002-07-26 André Pönitz <poenitz@gmx.net>
7720 * kb_sequence.C: remove unnedred usings
7722 2002-07-26 Juergen Vigna <jug@sad.it>
7724 * lyxfind.C (LyXReplace): we have to check better if the returned
7725 text is not of theLockingInset()->getLockingInset().
7727 2002-07-25 Juergen Vigna <jug@sad.it>
7729 * lyxfind.C (LyXReplace): don't replace if we don't get the
7732 * undo_funcs.C (createUndo): remove debugging code.
7734 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
7736 * buffer.C (parseSingleLyXformat2Token): Use default placement
7737 when reading old floats.
7739 * FloatList.C (FloatList): Change the default placement of figure
7740 and tables to "tbp".
7742 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
7744 * MenuBackend.C: using std::max
7746 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7748 * MenuBackend.C (expandToc):
7749 (expandToc2): code moved from xforms menu frontend. It is now
7750 generic and TOCs are transparent to menu frontends.
7752 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7754 * toc.C (getTocList): protect against buf=0
7756 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7757 Menu as first parameter. Now, this calls itself recursively to
7758 expand a whole tree (this will be useful for TOC handling)
7759 (expandFloatInsert): remove 'wide' version of floats
7761 * MenuBackend.h (submenuname): returns the name of the submenu.
7762 (submenu): returns the submenu itself, provided it has been
7763 created by MenuBackend::expand
7765 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7767 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7768 insets which have noFontChange == true. (bug #172)
7770 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7772 * BufferView_pimpl.C: add connection objects and use them...
7775 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7777 * MenuBackend.C (expandLastfiles):
7780 (expandFloatListInsert):
7781 (expandFloatInsert):
7782 (expand): split expand in parts
7784 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7786 * lyx_gui.C: use lyx_gui::exit()
7788 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7790 * LyXAction.C: show the failing pseudo action
7792 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
7794 * buffer.C (readFile): Run the lyxconvert script in order to read
7797 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7801 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7803 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7807 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7809 2002-07-22 Herbert Voss <voss@lyx.org>
7812 * lyxlength.[Ch]: add support for the vertical lengths
7814 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
7816 * toc.[Ch]: std:: fixes
7818 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7820 * lyxrc.C: do not include lyx_main.h
7822 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7828 * BufferView2.C: include "lyxlex.h"
7831 * bufferparams.h: do not #include "lyxlex.h"
7833 * lyxtextclasslist.C (Add): remove method
7834 (classlist): renamed to classlist_
7836 * paragraph_pimpl.C:
7840 * bufferview_funcs.C:
7845 * toc.C (getTocList): use BufferParams::getLyXTextClass
7847 * toc.C (getTocList): use InsetFloat::addToToc
7849 * toc.[Ch]: new files, containing helper functions to handle table
7852 * lyxfunc.C (dispatch): no need to remove spaces around command
7854 (getStatus): handle LFUN_SEQUENCE by returning the status of the
7855 first command of the sequence; it is not very clever, but I do not
7856 have a better idea, actually
7858 * LyXAction.C (LookupFunc): make sure to remove space at the
7859 beginning and end of the command
7861 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7863 * MenuBackend.C (getMenubar): new method: return the menubar of
7865 (read): treat differently reading of menu and menubar (in
7866 particular, the menubar has no name now)
7867 (Menu::menubar): remove
7869 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7872 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7874 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7875 a bibitem inset in a RTL paragraph.
7877 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
7879 * paragraph_pimpl.C: constify
7881 * BufferView_pimpl.C:
7883 * lyxfunc.C: fix dispatch in a nicer way
7885 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7887 * lyxfunc.C (dispatch):
7888 * BufferView_pimpl.C:
7889 * BufferView_pimpl.h:
7891 * BufferView.h: rename Dispatch() to dispatch()
7893 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7895 * lyxlayout.C (Read): honor DependsOn tag
7897 * lyxlayout.[Ch] (depends_on): new method
7899 * version.C.in: update lyx_docversion
7901 * LaTeXFeatures.C (getMacros): only define \LyX when needed
7903 * paragraph.C (validate): remove from here...
7904 * paragraph_pimpl.C (validate): ... and move here
7905 (isTextAt): make it const
7907 * buffer.C (getLists): ws cleanup
7909 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7911 * language.C (read): Use iso8859-1 encoding in latex_lang
7912 (this prevents LyX from crashing when using iso10646-1 encoding).
7914 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7916 * text2.C (toggleInset): if cursor is inside an inset, close the
7917 inset and leave cursor _after_ it
7919 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7921 * lyxfunc.C: move minibuffer completion handling out of here
7923 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7925 * BufferView_pimpl.C:
7926 * LaTeX.C: fix dispatch calls
7928 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
7930 * text.C (drawChars): Fix Arabic text rendering.
7932 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
7936 * lyxfunc.C: remove message-push/pop
7940 * lyxfunc.C: rationalise some code by removing verboseDispatch
7941 in favour of a bool argument to dispatch()
7943 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7945 * lyx_main.C (init): make sure to read symlinks as absolute paths
7947 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7950 * lyxfunc.C: no need for commandshortcut to be a member
7952 2002-07-15 André Pönitz <poenitz@gmx.net>
7954 * converter.C: add support for $$s (scripts from lib/scripts dir)
7955 * lyx_main.C: white space
7957 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7961 * lyxrc.C: remove second exit confirmation
7963 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7968 * BufferView_pimpl.h:
7969 * BufferView_pimpl.C:
7970 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7972 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7974 * MenuBackend.C (expand): add numeric shortcuts to document menu
7976 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7978 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7980 * lyxfont.C (setLyXFamily):
7987 * buffer.C (asciiParagraph): use ascii_lowercase
7989 2002-07-15 Mike Fabian <mfabian@suse.de>
7991 * lyxlex_pimpl.C (search_kw):
7992 * lyxlex.C (getLongString):
7993 * converter.h (operator<):
7994 * converter.C (operator<):
7995 * buffer.C (parseSingleLyXformat2Token):
7997 * ToolbarDefaults.C (read):
7998 * MenuBackend.C (checkShortcuts):
8000 * LColor.C (getFromGUIName):
8001 (getFromLyXName): use the compare_ascii_no_case instead of
8002 compare_no_case, because in turkish, 'i' is not the lowercase
8003 version of 'I', and thus turkish locale breaks parsing of tags.
8005 2002-07-16 Angus Leeming <leeming@lyx.org>
8007 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8008 now takes a Buffer const & argument.
8010 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
8012 * BufferView.C (resize): check there's a buffer to resize
8014 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
8016 * lyxfunc.C: remove dead code
8019 * lyxserver.C: use lyx_guii::set_read_callback
8021 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
8023 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8024 an inset in a RTL paragraph.
8026 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8028 * lyxfunc.C: repaint after a font size update
8030 2002-07-15 André Pönitz <poenitz@gmx.net>
8032 * lyxlength.C: inBP should be able to return negative values
8034 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8036 * lyxfunc.C: use lyx_gui::update_fonts()
8038 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8040 * lyxfunc.C: use lyx_gui::update_color()
8042 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8048 * lyxrc.C: remove file->new asks for name option, and let
8049 buffer-new take an argument
8051 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8053 * BufferView_pimpl.C: remove unneeded extra repaint()
8055 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
8057 * LyXAction.C: allow command-sequence with NoBuffer
8059 * lyxfunc.C: don't insist on trailing ';' for command-sequence
8061 2002-07-10 Angus Leeming <leeming@lyx.org>
8063 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8065 2002-07-09 Angus Leeming <leeming@lyx.org>
8067 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8069 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8071 * lengthcommon.h: whitespace
8073 * lyxfunc.C: update scrollbar after goto paragraph
8075 * lyxtext.h: factor out page break drawing, and fix it so
8076 page break/added space paints as selected nicely
8078 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8080 * BufferView_pimpl.C: add FIXMEs, clean up a little
8082 2002-07-09 André Pönitz <poenitz@gmx.net>
8084 * lyxfont.[Ch]: support for wasy symbols
8086 2002-07-08 André Pönitz <poenitz@gmx.net>
8088 * BufferView_pimpl.C: apply John's patch for #93.
8090 2002-07-05 Angus Leeming <leeming@lyx.org>
8092 * BufferView_pimpl.C (buffer): generate previews if desired.
8094 * LColor.h: add "preview" to the color enum.
8096 * LColor.C (LColor): add a corresponding entry to the items array.
8098 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8101 2002-07-05 Angus Leeming <leeming@lyx.org>
8103 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8104 The body of the code is now in the method that is passed an ostream &
8105 rather than a file name.
8106 Pass an additional only_preamble parameter, useful for the forthcoming
8109 2002-07-03 André Pönitz <poenitz@gmx.net>
8111 * lyxfunc.C: simplify getStatus() a bit for math stuff
8113 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8115 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8117 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8119 * text.C (changeRegionCase): do not change case of all the
8120 document when region ends at paragraph end (bug #461)
8122 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8124 * paragraph.C (startTeXParParams):
8125 (endTeXParParams): add \protect when necessary
8127 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8129 * BufferView_pimpl.C (workAreaExpose): remove warning
8131 2002-06-27 Angus Leeming <leeming@lyx.org>
8133 * Makefile.am: add lyxlayout_ptr_fwd.h.
8135 2002-06-26 André Pönitz <poenitz@gmx.net>
8137 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8139 2002-06-25 Angus Leeming <leeming@lyx.org>
8141 * lyxfunc.C (dispatch): Comment out the call to
8142 grfx::GCache::changeDisplay. The method no longer exists now that the
8143 pixmap generation part of the graphics loader has been moved into
8146 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8148 * text2.C: layout as layout
8150 * text.C: layout as layout
8152 * tabular.C (OldFormatRead): layout as layout
8154 * paragraph_pimpl.C (TeXDeeper): layout as layout
8155 (realizeFont): layout as layout
8157 * paragraph.C (writeFile): layout as layout
8158 (validate): layout as layout
8159 (getFont): layout as layout
8160 (getLabelFont): layout as layout
8161 (getLayoutFont): layout as layout
8162 (breakParagraph): layout as layout
8163 (stripLeadingSpaces): layout as layout
8164 (getEndLabel): layout as layout
8165 (getMaxDepthAfter): layout as layout
8166 (applyLayout): layout as layout
8167 (TeXOnePar): layout as layout
8168 (simpleTeXOnePar): layout as layout
8169 (TeXEnvironment): layout as layout
8170 (layout): layout as layout
8171 (layout): layout as layout
8173 * lyxtextclass.C (compare_name): new functor to work with
8174 shared_ptr, layout as layout
8175 (Read): layout as layout
8176 (hasLayout): layout as layout
8177 (operator): layout as layout
8178 (delete_layout): layout as layout
8179 (defaultLayout): layout as layout
8181 * lyxlayout_ptr_fwd.h: new file
8183 * lyxlayout.C (Read): layout as layout
8185 * lyx_cb.C (MenuInsertLabel): layout as layout
8187 * bufferlist.C (newFile): layout as layout
8189 * buffer.C (readLyXformat2): layout as layout
8190 (parseSingleLyXformat2Token): layout as layout
8191 (insertStringAsLines): layout as layout
8192 (asciiParagraph): layout as layout
8193 (latexParagraphs): layout as layout
8194 (makeLinuxDocFile): layout as layout
8195 (simpleLinuxDocOnePar): layout as layout
8196 (makeDocBookFile): layout as layout
8197 (simpleDocBookOnePar): layout as layout
8198 (getLists): layout as layout
8200 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8202 * CutAndPaste.C (cutSelection): layout as layout
8203 (pasteSelection): layout as layout
8204 (SwitchLayoutsBetweenClasses): layout as layout
8206 * BufferView_pimpl.C (Dispatch): layout as layout
8207 (smartQuote): layout as layout
8209 * BufferView2.C (unlockInset): layout as layout
8211 2002-06-24 André Pönitz <poenitz@gmx.net>
8213 * lyxfunc.C: fix #487
8215 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8219 * lyxfunc.C: remove display_shortcuts, show_banner
8221 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8223 * Buffer_pimpl.C: oops, update on resize
8225 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8232 * BufferView.C: use repaint()
8234 * BufferView_pimpl.h:
8235 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8236 as it's a clearer description. Remove superfluous
8239 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8241 * text.C: fix bug 488. Not ideal, but getting
8242 getWord() to work properly for the insets that
8243 matter is more difficult ...
8245 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8247 * BufferView_pimpl.C:
8250 * lyxfunc.C: remove the six million index lyxfuncs to just
8251 one, and DTRT (bug 458)
8253 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8257 * BufferView_pimpl.h:
8258 * BufferView_pimpl.C: clean up resize() stuff,
8259 and unnecessary updateScreen()s
8261 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8265 * BufferView_pimpl.h:
8266 * BufferView_pimpl.C:
8269 * minibuffer.C: remove focus management of workarea,
8270 not needed. Use screen's greyOut()
8272 2002-06-17 Herbert Voss <voss@lyx.org>
8274 * converter.C: (convert) do not post a message, when converting
8275 fails, let the calling function decide what to do in this case
8277 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
8279 * lyxfunc.C: tidy up a little
8281 2002-06-16 <alstrup@diku.dk>
8283 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8284 Got rid of FORMS_H_LOCATION include. Now we are
8287 2002-06-15 LyX Development team <lyx@rilke>
8289 * buffer.[Ch] (sgmlOpenTag):
8290 (sgmlCloseTag): Added support for avoiding pernicious mixed
8291 content. Return number of lines written.
8294 (makeDocBookFile): Fixed calls to sgml*Tag.
8295 Simple white space clean.
8297 (simpleDocBookOnePar): Simple white space clean.
8299 * tabular.[Ch] (docBook): Renamed to docbook and got another
8300 argument to related with the pernicious mixed content.
8302 (docbookRow): Fixed calls for docbook inset method.
8304 2002-06-15 Lyx Development team <larsbj@birdstep.com>
8306 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8307 so it's X11 independent.
8311 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8313 2002-06-15 Lyx Development team <lyx@electronia>
8315 * intl.h: Renamed getTrans to getTransManager.
8317 2002-06-14 Angus Leeming <leeming@lyx.org>
8319 * Makefile.am: nuke forgotten stl_string_fwd.h.
8321 2002-06-12 Angus Leeming <leeming@lyx.org>
8323 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8325 2002-06-13 Angus Leeming <leeming@lyx.org>
8328 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8330 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
8332 * kbmap.C (getiso): add support for cyrillic and greek
8334 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8338 * BufferView_pimpl.h:
8339 * BufferView_pimpl.C: move bogus scrolling logic
8342 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8345 * BufferView_pimpl.C: view->resize() change
8347 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8349 * BufferView_pimpl.C: topCursorVisible
8352 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8356 * lyx_gui.C: move to frontends/
8360 * lyx_main.C: changes from above
8362 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8369 * lyx_main.C: minor tidy
8371 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8373 * BufferView_pimpl.h:
8374 * BufferView_pimpl.C:
8376 * BufferView.C: make painter() const,
8379 * BufferView2.C: use screen() accessor
8382 * lyx_main.C: some minor cleanup
8384 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8386 * BufferView_pimpl.h:
8387 * BufferView_pimpl.C: remove enter/leaveView,
8390 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8395 * BufferView_pimpl.h:
8396 * BufferView_pimpl.C: only construct screen once,
8399 * lyxrc.C: remove pointless comment
8401 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8404 * BufferView.C: remove active() and belowMouse()
8406 * BufferView_pimpl.h:
8407 * BufferView_pimpl.C: use workarea() not workarea_,
8408 and make it use a scoped_ptr instead
8410 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8412 * lyx_gui.C: add debug message on BadWindow
8414 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8416 * sp_spell.C: fdopen is not part of the C++ standard.
8418 * paragraph.C (InsetIterator): use >= instead of ==
8420 2002-06-07 Angus Leeming <leeming@lyx.org>
8422 Fixes needed to compile with Compaq cxx 6.5.
8423 * BufferView_pimpl.C:
8430 * lyxtextclasslist.C:
8435 all c-library variables have been moved into namespace std. Wrap
8436 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8441 Add a using std::abs declaration.
8443 * kbmap.h (modifier_pair):
8444 * paragraph.h (InsetTable, InsetList):
8445 * lyxfont.h (FontBits):
8446 type definition made public.
8448 * bufferlist.C (emergencyWriteAll): the compiler complains that
8449 there is more than one possible lyx::class_fun template to choose from.
8450 I re-named the void specialisation as lyx::void_class_fun.
8452 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8454 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8455 the compiler is is unable to find tostr in write_attribute.
8457 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8459 * buffer.C (sgmlError): hide #warning
8461 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8463 * xtl/*: get rid of xtl, which is not in use anyway
8465 * LyXAction.C (init):
8466 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8467 were unimplemented xtl experimentation
8469 2002-06-04 André Pönitz <poenitz@gmx.net>
8471 * lyxfunc.C: disable array operation on simple formulae
8473 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
8475 * converter.C: constify a bit
8477 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
8479 * lyx_gui.C: check xforms version correctly
8481 2002-04-30 Herbert Voss <voss@lyx.org>
8483 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8486 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
8488 * lyxvc.C: fix bug 416 (make sure buffer is saved before
8489 attempt to register it with a VCS)
8491 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8493 * lyx_main.C (init): honor variables LYX_DIR_13x and
8496 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8500 * lyx_main.C: fix a crash on bad command line,
8501 and give a useful exit status on error
8503 * lyxfunc.C (doImport): allow -i lyx to work
8505 2002-03-30 André Pönitz <poenitz@gmx.net>
8507 * lyxfunc.C: mathed font changes
8509 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8524 * trans_mgr.h: srcdocs, and some minor cleanups
8526 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8528 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8529 call getFont all the time)
8531 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8533 * switch from SigC signals to boost::signals
8535 2002-05-29 André Pönitz <poenitz@gmx.net>
8537 * paragraph_pimpl.C (getChar): don't call size() too often...
8539 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8541 * paragraph_pimpl.C (insertChar): do not try to update tables when
8542 appending (pos == size())
8544 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8545 in order to reduce drastically the number of comparisons needed to
8546 parse a large document
8548 2002-05-29 André Pönitz <poenitz@gmx.net>
8554 * textclasslist.[Ch]:
8555 * sp_ispell.h: whitespace change
8557 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8559 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8560 lyxaction directly now.
8562 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
8566 * lyxvc.C: remove unused headers
8568 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8575 * undo_funcs.C: some cleanups. Use shared_ptr
8576 and a template for the undo stacks.
8578 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8580 * BufferView_pimpl.h:
8581 * BufferView_pimpl.C:
8588 * text2.C: use key_state/mouse_state
8590 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8592 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8595 * chset.C: change include order
8596 (loadFile): use boost regex and get rid of LRegex and LSubstring
8598 * Makefile.am (BOOST_LIBS): new variable
8601 * LaTeX.C: change include order.
8602 (scanAuxFile): use boost regex and get rid of LRegex and
8606 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8611 * FontInfo.C: moved to frontends/xforms/
8614 * FontLoader.C: moved into frontends for GUIIzation
8619 * lyxfunc.C: changes from above
8621 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8623 * LColor.C: remove spurious X include
8625 * BufferView_pimpl.C:
8630 * text2.C: move font metrics to frontends/
8632 2002-05-24 Juergen Vigna <jug@sad.it>
8634 * undo_funcs.C (textHandleUndo): fix the cursor selection after
8635 setting the undo_cursor.
8637 * ParagraphParameters.h: include local includes first.
8639 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8641 * BufferView_pimpl.C:
8642 * BufferView_pimpl.h:
8646 * screen.C: move WorkArea into frontends/
8652 * BufferView2.C: move LyXScreen into frontends/
8656 * lyx_gui.C: move lyxlookup into frontends/xforms/
8658 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8661 * BufferView_pimpl.C:
8671 * bufferview_funcs.C:
8684 * vc-backend.C: move LyX/XFormsView into frontends/
8686 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8698 * text2.C: move Painter to frontends/
8700 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8702 * buffer.C: comment out some some code that depend upon lyx_format
8705 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8706 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8708 * buffer.h (NO_COMPABILITY): turn off compability
8710 * ColorHandler.C: include scoped_array.hpp
8712 * font.C: Use more specific smart_ptr header.
8715 * ShareContainer.h: ditto
8719 * BufferView_pimpl.h: ditto
8720 * ColorHandler.h: ditto
8722 * kbmap.C (defkey): change call to shared_ptr::reset
8724 2002-05-21 Juergen Vigna <jug@sad.it>
8726 * buffer.C (insertErtContents): fix to insert ert asis if it is
8727 non empty. Skip it completely if it contains only whitespaces.
8729 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
8731 * BufferView_pimpl.C:
8732 * BufferView2.C: clear selection on paste (bug 393)
8734 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8736 * DepTable.C: include ctime
8738 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
8740 * buffer.C (latexParagraphs): Add new argument (moving_arg).
8742 2002-05-14 Juergen Vigna <jug@sad.it>
8744 * text.C (breakParagraph): fixed function to honor the keepempty
8745 layout in the right maner and also to permit the right breaking
8746 algorithm on empty or non empyt keepempty paragraphs.
8748 * paragraph.C (breakParagraph): we have to check also if the par
8749 is really empty (!size()) for isempty otherwise we do the wrong
8752 2002-05-10 Juergen Vigna <jug@sad.it>
8754 * buffer.[Ch] : The following are only changes to the ert
8755 compatibility read reading old LaTeX layout and font stuff and
8756 convert it to ERTInsets.
8758 * buffer.h: added isErtInset().
8760 * buffer.C (struct ErtComp): add a fromlayout bool to check
8761 if we're inside a LaTeX layout.
8762 (isErtInset): new helper function.
8763 (insertErtContents): look for other ert insets before this one
8764 and insert the contents there, so that we don't have subsequent
8765 ERT insets with nothing between them. This way we create only one
8766 inset with multiple paragraphs. Also check if we don't insert only
8767 spaces ' ' as they are ignored anyway afterwards in the .tex file
8768 so if we have only spaces we will ignore this latex part in the
8770 (parseSingleLyXformat2Token \\layout): better compatibility when
8771 reading layout-latex stuff.
8772 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8774 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8775 stuff after reading the inset only get the information back from
8778 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
8780 * buffer.C (makeLaTeXFile): Put language options after loading babel.
8782 * LaTeXFeatures.C (getBabelOptions): New method.
8784 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8786 * BufferView_pimpl.C (Dispatch): work around missing argument for
8789 2002-05-08 Juergen Vigna <jug@sad.it>
8791 * text.C (leftMargin): handle paragraph leftindent.
8793 * paragraph.C (writeFile): write the new \\leftindent tag.
8794 (validate): handle leftindent code.
8795 (TeXEnvironment): handle paragraphleftindent code again.
8797 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8799 * buffer.C (parseSingleLyXformat2Token): added compatibility code
8800 for paragrap_extra indent code and new token \\leftindent.
8801 (latexParagraphs): handle the leftindent as environment.
8803 * ParameterStruct.h: added leftindent support.
8805 * ParagraphParameters.C (leftIndent): added support functions for
8806 the paragraph left indent.
8808 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8811 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
8813 * paragraph.C (isRightToLeftPar): Return false for a paragraph
8816 * text.C (computeBidiTables): No bidi in insetERT.
8818 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8821 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8823 * version.C.in: pre 5
8825 2002-05-02 José Matos <jamatos@fep.up.pt>
8826 * buffer.C (makeDocBookFile): white space changes, add newline to
8828 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8830 * tabular.C (docBook): fix typo.
8832 2002-05-03 Juergen Vigna <jug@sad.it>
8834 * screen.C (drawFromTo): recalculate the rowpointer if we had a
8835 change in LyXText as we can not be sure it was not freed.
8836 (drawOneRow): remove unused code.
8838 * text.C (drawInset): redo the calculation of the need_break_row as
8839 it could have a row which was already freed.
8840 (draw): look at the return value of drawInset and return false if
8841 it also returned false.
8842 (paintRowText): look at the return value of draw and return false if
8843 it also returned false.
8845 * lyxtext.h: added bool return type to drawInset() and draw() so that
8846 if we have a change in the row so that the rowbreak has to be redone
8847 we abort drawing as it will be called again.
8849 2002-05-02 Juergen Vigna <jug@sad.it>
8851 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8852 a change in the maintext also if we're inside an inset.
8853 (Dispatch): set the cursor again after a break line and after the
8854 screen has been updated as it could be we're in a different row.
8856 * text2.C (fixCursorAfterDelete): check to make sure we don't request
8857 to set the cursor behind the pargraph with > size().
8858 (setCursor): check also for the same paragraph when checking where
8859 to put the cursor if we have a NFR inset.
8861 * buffer.C (parseSingleLyXformat2Token): move the compatibility
8862 parts of layout read further up as it still was in the wrong
8865 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8867 * screen.C (drawFromTo): change sine fullRebreak always return
8870 * buffer.C (parseSingleLyXformat2Token): reindent some
8872 * BufferView_pimpl.C (update): change since fullRebreak always
8874 (Dispatch): git rid of the last hardcoded "Standard"s.
8876 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
8878 * text2.[Ch] (fullRebreak): make it return void now that we always
8881 2002-04-30 Juergen Vigna <jug@sad.it>
8883 * buffer.C (parseSingleLyXformat2Token): reset the font before the
8884 ert compatibility check for "latex" layout.
8886 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
8888 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8889 minipages: use col% instead of p%, and also use the current font.
8890 (makeLaTeXFile): Fix use babel condition.
8891 (parseSingleLyXformat2Token): Correct font when reading old floats.
8893 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
8895 * BufferView_pimpl.C (Dispatch): Check that float type exists when
8896 inserting list of floats.
8898 2002-04-25 Herbert Voss <voss@lyx.org>
8900 * MenuBackend.C (expand): don't add the graphics extensions to the
8903 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8905 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8906 non-existing layout, do not complain if it was the default layout
8907 of the original class (bug #342)
8909 2002-04-24 Juergen Vigna <jug@sad.it>
8911 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8912 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8914 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
8916 * buffer.C (getBibkeyList): If using \bibliography, return the
8917 option field with the reference itself. Enables us to provide natbib
8918 support when using \bibliography.
8920 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
8922 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8924 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8925 natbib is provided by the LaTeX class.
8927 2002-04-23 Juergen Vigna <jug@sad.it>
8929 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8932 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8934 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8936 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8938 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8939 ensuremath around textordmasculine, textordfeminine and
8942 2002-04-19 Juergen Vigna <jug@sad.it>
8944 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8945 reinitializing the buffer otherwise row-dimensions may be wrong.
8946 (update): reset also the selection cursors if they do exits otherwise
8947 their x/y positions may be wrong.
8949 * text2.C (cursorDown): don't enter the inset if we came from a row
8950 above and are one row over the inset.
8952 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8953 really leaving an inset.
8955 2002-04-18 Juergen Vigna <jug@sad.it>
8957 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8958 of the selected paragraph does not have the selected layout also if
8961 * text2.C (setLayout): fixed bug which did not change last selected
8964 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8965 changed the read and substituted \\end_float with \\end_inset!
8967 * BufferView_pimpl.C (cursorPrevious):
8968 (cursorNext): fixed to make it work with rows heigher than the work
8969 area without moving the cursor only the draw of the row.
8970 (workAreaMotionNotify): fix jumping over high rows.
8972 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8974 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8977 2002-04-16 Juergen Vigna <jug@sad.it>
8979 * text2.C (setCursor): set also the irow().
8980 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8982 (cursorDown): support for locking an inset if the x_fix value goes
8983 inside it. That way I can transverse insets too with cursor up/down.
8985 * lyxrow.h: added irow helper function same as other (i) functions.
8987 * BufferView_pimpl.C (cursorPrevious):
8988 (cursorNext): fixed for insets!
8990 2002-04-15 Juergen Vigna <jug@sad.it>
8992 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8993 position otherwise it is wrong in some cases.
8995 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8996 inside the inset before the call.
8998 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
9000 * buffer.[Ch] (getBibkeyList): make it const.
9002 2002-04-12 Juergen Vigna <jug@sad.it>
9004 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9006 * text2.C (getCursorX): new helper function
9007 (setCursor): compute also ix_
9008 (setCursorFromCoordinates): set also ix.
9010 * lyxcursor.h: added ix_ and helper functions.
9012 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9014 * buffer.C (insertStringAsLines): dont break paragraph if the this
9015 paragraph is inside an inset which does not permit it!
9017 * text.C (breakParagraph): honor keepempty flag and break the paragraph
9018 also with no chars on this paragraph.
9019 (paintRowText): only paint stuff if it's inside the workarea!
9021 * paragraph.C (breakParagraph): honor keepempty flag and break the
9022 paragraph always below not above.
9024 * BufferView2.C (unlockInset): update the paragraph layout on inset
9025 unlock as we changed paragraph in such a case.
9027 * lyxfind.C (LyXFind): clear the former selection if not found!
9029 * text2.C (insertInset): freeze Undo after setUndo so that it is not
9030 again called in insertChar().
9032 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9033 an inset which uses the whole row!
9034 (rightMargin): ditto.
9035 (insertChar): force a rebreak if we inserted an inset!
9037 2002-03-28 Herbert Voss <voss@lyx.org>
9039 * lyxlength.[Ch]: add inBP() to get the right PS-point
9040 units (BigPoint). With inPixels we have rounding errors
9042 2002-04-11 Juergen Vigna <jug@sad.it>
9044 * text2.C (setCursorFromCoordinates): set iy to the right value.
9045 (setCursor): add check if row->previous exists!
9047 * buffer.C (parseSingleLyXformat2Token): reset font after read of
9048 an old float_type as this was the case in the old code!
9050 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9052 * BufferView2.C (showLockedInsetCursor): use iy
9053 (fitLockedInsetCursor): ditto
9055 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9056 locked insets as there we have the right value now.
9058 * lyxcursor.C: added iy_ variable and iy functions to set to the
9059 baseline of cursor-y of the locked inset.
9061 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9062 (setCursor): fixed for insets which need a full row.
9064 * text.C (rowLastPrintable): don't ignore the last space when before
9065 an inset which needs a full row.
9066 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9067 as last character of a row when before a inset which needs a full row.
9069 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9071 * version.C.in: update date
9073 * text2.C (fullRebreak): try to always return true and see what
9076 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9078 * MenuBackend.C (expand): use Floating::listName
9080 * FloatList.C (FloatList): add listName argument to the built-in
9083 * Floating.[Ch]: add listName member, which is the 'List of XXX'
9084 text associated with the float.
9086 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9088 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9090 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9092 * ShareContainer.h: add a couple of missing typenames.
9094 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
9096 * lyxrc.C (getDescription): use _() correctly rather than N_().
9098 2002-03-28 Herbert Voss <voss@lyx.org>
9100 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9101 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9103 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9105 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9106 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9108 2002-03-29 Juergen Vigna <jug@sad.it>
9110 * lyxfunc.C (dispatch): add a missing fitCursor call.
9112 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9113 it was scrolled by a cursor move, so return the bool status.
9115 * BufferView.C (fitCursor): return the bool flag also to the outside
9116 world as this is needed.
9118 * screen.C (toggleToggle): don't subtract the offset if it's positive.
9120 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9121 call the edit() as it is not needed (and wrong) IMO.
9122 (workAreaButtonPress): set the screen_first variable before evt.
9123 unlock the inset as this may change screen_first and then we have
9124 a wrong y position for the click!
9126 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9128 * MenuBackend.C (expand): another translation that I missed
9130 2002-03-28 Juergen Vigna <jug@sad.it>
9132 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9134 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9136 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9138 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9140 * MenuBackend.C (expand): fix export/view/update when there is no
9143 2002-03-27 Herbert Voss <voss@lyx.org>
9145 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9148 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9150 * bufferview_funcs.C (currentState): only show paragraph number
9151 for is DEVEL_VERSION is set.
9153 * lyxfunc.C (dispatch): put warning in INFO channel
9155 * MenuBackend.C (expand): translate the name of floats
9157 * FloatList.C (FloatList): mark the float names for translation
9159 * converter.C (convert): use LibScriptSearch
9161 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9163 * MenuBackend.C (defaults): fix default menu (we might as well get
9166 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9168 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9171 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9173 * lyxvc.C: reorder includes.
9175 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
9177 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9180 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9182 * CutAndPaste.C: change layouts earlier on paste
9183 to avoid crashing when calling getFont()
9185 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9187 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9190 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9192 * WorkArea.C: remove 'Pending' debug message.
9194 * most files: ws cleanup
9196 * buffer.[Ch]: ws changes
9198 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9200 2002-03-21 Juergen Vigna <jug@sad.it>
9202 * tabular.C (SetMultiColumn): collapse also the contents of the
9203 cells and set the last border right. Added a Buffer const * param.
9205 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9207 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9210 2002-03-19 Juergen Vigna <jug@sad.it>
9212 * text2.C (clearSelection): reset also xsel_cache.
9214 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9215 where it needs to be called (John tells us to do so too :)
9216 (selectionLost): reset sel_cache.
9218 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9220 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9222 * text2.C (setCursorIntern): put debuging code in INSETS channel
9224 2002-03-19 André Pönitz <poenitz@gmx.net>
9226 * lyxfunc.C: tiny whitespace change
9228 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9230 * ToolbarDefaults.C (init):
9231 * LyXAction.C (init):
9233 * BufferView_pimpl.C (Dispatch):
9234 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9236 2002-03-19 Allan Rae <rae@lyx.org>
9238 * exporter.C (Export): removeAutoInsets before doing anything else.
9239 While I've just introduced a dependency on BufferView this really is
9240 the best place to clean the buffer otherwise you need to cleanup in
9241 a dozen places before calling export or cleanup in a dozen functions
9244 * converter.C (runLaTeX):
9245 (scanLog): Better handling of removeAutoInsets and screen updates.
9247 * lyxfunc.C (dispatch): small whitespace changes
9249 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9251 * WorkArea.C (C_WorkAreaEvent): return a value.
9252 (event_cb): return 1 if we handled the event, 0 otherwise.
9254 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9256 2002-03-18 Juergen Vigna <jug@sad.it>
9258 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9259 (GetAdditionalWidth): ditto.
9263 * BufferView2.C (copy): use getLyXText() so that we do it inside an
9264 inset if we're there actually (probably not used right now but this
9265 is the direction to go for unifying code).
9266 (paste): disable code to clear the selection.
9268 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9269 inside an InsetText and move the check further up as it is in the
9272 * text2.C (pasteSelection): set a selection over the pasted text.
9274 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
9276 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9277 and libgraphics to build on Cygwin.
9279 2002-03-15 Juergen Vigna <jug@sad.it>
9281 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9282 inserting an Inset into the paragraph. I know this is not the best
9283 fix but we already use current_view in CutAndPaste so we will remove
9284 all of it's using at the same time.
9286 * buffer.C (sgmlError): deactivated function till it is rewritten in
9287 the right mode, now it can create problems.
9289 * paragraph.C (isLineSeparator): check if getInset returns != 0,
9290 before accessing it.
9292 2002-03-14 Juergen Vigna <jug@sad.it>
9294 * undo_funcs.C (textHandleUndo): do the right thing when updating
9295 the inset after the undo/redo.
9297 * text2.C (setCursor): just some testcode for #44 not ready yet.
9299 * undo_funcs.C (textHandleUndo): set the next() and previous()
9300 pointers of the paragraph to 0 before deleting otherwise we have
9301 problems with the Paragraph::[destructor].
9303 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9304 on a paragraph insertion.
9306 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9308 * buffer.C (asciiParagraph): use += operator for char append to
9311 * paragraph.C (getFontSettings): compare >= not just >
9312 (highestFontInRange): ditto
9315 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9317 * paragraph.C: change several algorithm to be more appripriate for
9318 the problem domain. This is lookip in FontList and in the InsetList.
9320 2002-03-13 André Pönitz <poenitz@gmx.net>
9323 * LyXAction.C: remove unused LFUN_MATH_MACROARG
9325 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
9330 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9332 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9334 * Painter.C (display): anon helper function, adjust code for this
9336 (pixmap): remove function.
9338 * Painter.h: remove private display variable.
9340 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9342 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
9344 * WorkArea.[Ch]: remove figinset_canvas cruft.
9346 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9348 * lyxtextclass.C (operator): add one item cache optimization.
9350 * bufferlist.h: doxy changes
9352 * bufferlist.C: ws changes
9354 * DepTable.[Ch] (ext_exist): place const in the right spot.
9356 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9358 (workAreaExpose): call resizeInsets when the with BufferView changes.
9359 (Dispatch): adjust for protectedBlank removal
9360 (specialChar): call updateInset if the insert went ok.
9362 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9363 specialChar instead.
9365 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9367 * BufferView.h: doxy change
9369 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9371 * lyxtextclass.C (operator[]): remove non-const version
9372 (defaultLayout): remove non-const version
9374 2002-03-12 Juergen Vigna <jug@sad.it>
9376 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9377 did resize the LyXText too.
9379 * buffer.C (readLyXformat2): set layout information on newly allocated
9382 * tabular.C (OldFormatRead): set layout information on the paragraph.
9384 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9386 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9388 2002-03-11 Juergen Vigna <jug@sad.it>
9390 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9392 (resizeCurrentBuffer): force also the insets to resize themselfes.
9393 (moveCursorUpdate): fixed up for InsetText.
9395 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
9398 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9399 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9400 value of Dialogs::tooltipsEnabled().
9401 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9403 2002-03-08 Juergen Vigna <jug@sad.it>
9405 * BufferView_pimpl.C (updateInset): update inset inside inset also
9406 if it isn't inside theLockingInset().
9408 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9410 * buffer.C (asciiParagraph): redo some of the word and line length
9412 (getLists): look for Caption instead of caption.
9414 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9416 * buffer.C (Buffer): initialize niceFile to true
9419 (makeDocBookFile): make sure niceFile is true on exit
9421 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9423 * buffer.C (makeLaTeXFile): escape ~ in \input@path
9425 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
9427 * LyXSendto.C: remove.
9428 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9429 * lyx_gui.C: remove now-redundant comment.
9430 * ColorHandler.h: remove forward declaration of class WorkArea.
9431 * lyxfunc.C: remove #include "WorkArea.h".
9433 2002-03-07 Juergen Vigna <jug@sad.it>
9435 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9436 got moved away with the DEPM and also set the inset_owner always
9437 right which before could have been omitted.
9439 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9441 * buffer.C (parseSingleLyXformat2Token): use default layout is the
9442 wanted layout is not found.
9444 2002-03-07 Juergen Vigna <jug@sad.it>
9446 * CutAndPaste.C (cutSelection): another layout settings forgotten.
9448 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9450 * paragraph.C (breakParagraph): use default layout not layout of
9452 (Paragraph): clear ParagraphParameters.
9454 2002-03-06 Juergen Vigna <jug@sad.it>
9456 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9457 otherwise it would not be a valid lenght. Fixed a special case in
9458 the minipage compatibility read where we end the document with a
9461 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9462 was set as it could be 0 for InsetTexts first entry.
9464 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9466 * paragraph.C (writeFile): if layout is empty write out
9467 defaultLayoutName().
9469 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9470 file without named layout we set layout to defaultLayoutName().
9472 2002-03-06 Juergen Vigna <jug@sad.it>
9474 * CutAndPaste.C (copySelection): set layout for new paragraph.
9476 * text.C (prepareToPrint): leave ERT inset left aligned
9477 (leftMargin): don't indent paragraphs inside ERT insets
9479 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9481 * paragraph.C (breakParagraph): dont call clear do the work manually
9483 * paragraph.[Ch] (clear): remove function
9485 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9487 * paragraph.C (Paragraph): dont call clear, the work has already
9490 * lyxtextclass.C (operator): assert if n is empty
9492 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9493 work manually instead.
9495 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9497 * BufferView_pimpl.C: protect selectionLost against text == 0
9499 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9501 * text.C (breakParagraph): fix a setting layout to '0' problem.
9503 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9505 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9506 final location of file, for the included files, and graphics.
9508 2002-03-05 Juergen Vigna <jug@sad.it>
9510 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9512 2002-03-04 Juergen Vigna <jug@sad.it>
9514 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9516 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9517 last column of multicolumn cells.
9518 (SetWidthOfMulticolCell): recalculate NMC and real columns.
9520 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
9522 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9523 file if it doesn't go to a temporary file.
9525 * buffer.C (sgmlOpenTag):
9526 (sgmlCloseTag): remove extra newline insertion.
9528 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9530 * text.C (getRowNearY): comment out debug msg
9532 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9534 * text2.C: first -> first_y
9536 * text.C (getRowNearY): add some attemts at a possible
9537 optimization, not working.
9539 * tabular.[Ch]: add BufferParams to several function so that newly
9540 created paragraph can be initialized to he default layotu for the
9543 * tabular-old.C (ReadOld): add buf->params to call of Init
9545 * screen.C: rename text->first to text->first_y
9547 * paragraph.C (breakParagraph): always set layout in the broken
9550 * lyxtextclass.C (Read): remove lowercase
9553 (delete_layout): ditto
9555 * lyxtext.h: rename first -> first_y
9557 * lyxlayout.C (Read): remove lowercase
9560 (obsoleted_by): ditto
9562 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9564 * buffer.C (insertErtContents): add params are to InsetERT
9565 (parseSingleLyXformat2Token): add code to check if a paragraphs
9566 layout really exist.
9567 (parseSingleLyXformat2Token): add params to several inset
9569 (asciiParagraph): remove lowercase, do the layout comparisons with
9572 * BufferView_pimpl.C (cursorNext): first -> first_y
9573 (resizeCurrentBuffer): first -> first_y
9574 (updateScrollbar): first -> first_y
9575 (scrollCB): first -> first_y
9576 (workAreaMotionNotify): first -> first_y
9577 (workAreaButtonPress): first -> first_y
9578 (checkInsetHit): first -> first_y
9579 (cursorPrevious): first -> first_y
9580 (cursorNext): first -> first_y
9581 (Dispatch): add buffer_->params to severl inset contructors
9583 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9585 * lyxlayout.C (Read): remove some debug info that I forgot.
9587 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9588 clean up the code slightly.
9589 (makeLinuxDocFile): ditto
9590 (makeDocBookFile): ditto
9592 * text2.C: layout as string
9594 * text.C: layout as string
9596 * paragraph_pimpl.C: layout as string
9598 * paragraph.[Ch]: layout as string
9600 * lyxtextclasslist.[Ch]: layout as string
9602 * lyxtextclass.[Ch]: layout as string
9604 * lyxtext.h: layout as string
9606 * lyxlayout.[Ch]: layout as string
9608 * lyx_cb.C: layout as string
9610 * bufferview_funcs.C: layout as string
9612 * bufferparams.C: layout as string
9614 * buffer.C: layout as string
9616 * LyXView.[Ch]: layout as string
9618 * LaTeXFeatures.[Ch]: layout as string
9620 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9622 * BufferView_pimpl.C: change current_layout to string, remove
9627 (workAreaButtonRelease): layout as string
9629 * BufferView2.C (unlockInset): adjust
9631 * vspace.C (asLatexCommand): use an explict temp variable.
9633 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9635 * Makefile.am: use FRONTEND_*
9637 2002-03-01 Juergen Vigna <jug@sad.it>
9639 * tabular.C (SetWidthOfMulticolCell): changed to something better
9640 I hope but still work in progress.
9641 (recalculateMulticolumnsOfColumn): renamed function from
9642 recalculateMulticolCells as it is more appropriate now.
9643 (SetWidthOfCell): calculate multicols better.
9645 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9647 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9649 * lyxfunc.C (processKeySym): print sequence also if it is
9650 `deleted' (complete)
9652 * kbsequence.C (print): print sequence even if it is deleted
9653 (complete would be a better word, actually).
9655 * lyxfunc.C (dispatch): print complete options after a prefix key
9657 * vspace.C (asLatexCommand): rewrite in a slightly different form.
9659 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
9661 * text2.C (setCharFont): eliminate setCharFont code duplication.
9663 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9665 * BufferView_pimpl.C (Dispatch): remove bogus handling of
9666 LFUN_TABULAR_FEATURE (bug #177)
9668 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
9670 * Makefile.am: remove figure.h
9672 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
9674 * Bufferview_pimpl.C:
9686 * text2.C: remove #include "lyx_gui_misc.h".
9688 * LaTeX.C: added #include <cstdio>
9690 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9692 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9693 that the paragraph following this one can have.
9695 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9697 * vspace.C (asLatexCommand): fix bogus gcc warning
9699 * Makefile.am (lyx_SOURCES): remove vms_defines.h
9701 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
9703 * text2.C (setLayout): get rid of redundant code
9705 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
9707 * text2.C (incDepth): make sure depth cannot be increased beyond
9710 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
9712 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9713 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9715 * PainterBase.h (image):
9716 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9719 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9723 * BufferView_pimpl.C:
9724 * BufferView_pimpl.h:
9744 * sp_spell.C: remove fig inset, and the crap house of
9745 cards that follows it
9747 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9753 * nt_defines.h: move .h into support/
9755 * vms_defines.h: remove
9757 * WorkArea.C: add space in debug output
9761 * buffer.C: add WITH_WARNINGS
9765 * bufferlist.C: s/retrive/retrieve/, add docs
9776 * lyxgui.C: add ID to X error handler
9778 * lyxtestclass.c: fix typo
9780 2002-02-26 Juergen Vigna <jug@sad.it>
9782 * tabular_funcs.C (write_attribute): changed so that some default
9783 attributes are not written at all.
9784 (getTokenValue): set default values before trying to read the
9785 value so we have the return value always set as default if we don't
9786 find the token we search for.
9788 * tabular.C (Write): write bools as bools not as strings!
9790 2002-02-22 Juergen Vigna <jug@sad.it>
9792 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9793 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9795 * text.C (leftMargin): don't add an indent for paragraphs inside
9796 tabular cells (fix #208).
9798 2002-02-21 José Matos <jamatos@fep.up.pt>
9800 * tabular.C (docBook): fixed support for long tables.
9802 2002-02-20 Juergen Vigna <jug@sad.it>
9804 * text2.C (getFont): get the drawing font of the Inset if this
9805 paragraph is inside an inset (only important for InsetERT for now).
9807 * buffer.C (insertErtContents): use new lanugage params in ERT
9810 * CutAndPaste.C: commenting out seemingly uneeded code.
9812 2002-02-19 Allan Rae <rae@lyx.org>
9814 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9815 Iterators might be simple to use but they also get invalidated.
9816 (removeAutoInsets): renamed saved cursor tracking variables and added
9817 some comments to clarify what everything does.
9819 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
9826 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9827 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9830 * vc-backend.h: remove #include "support/syscall.h"
9834 * converter.C: rearrange #includes in Lars' approved fashion.
9836 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9837 forward declare class Timeout in the header file.
9839 * XFormsView.C: changes due to the above.
9841 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9844 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9845 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9847 2002-02-18 José Matos <jamatos@fep.up.pt>
9849 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9852 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9854 * a lot of small ws changes
9855 * add a lot of using std::XXX
9856 * use std construcs some places where approp.
9857 * use some exisint stuff from lyxfunctional where approp.
9858 * Make file changes to use partial linking (lets test this now...)
9860 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9864 remove #include "support/syscontr.h" as it's redundant. Always has been.
9872 change Systemcalls::System to Systemcalls::Wait and
9873 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9874 No change of functionality, just reflects the stripped down Systemcalls
9877 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9879 * debug.[Ch]: add a GRAPHICS type to the enum.
9881 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9883 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9885 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9888 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9890 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9891 match the changes below.
9893 * text2.C (toggleInset): if there is not editable inset at cursor
9894 position, try to see if cursor is _inside_ a collapsable inset
9897 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9899 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9900 document menu has a nice checkbox
9902 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9904 * lyxlength.C (asLatexString): change PW to output as percent of
9907 * lengthcommon.C: change '%' to 't%'
9909 * lyxfunc.C (dispatch): a few comments from Martin
9911 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
9915 * BufferView_pimpl.h:
9916 * BufferView_pimpl.C: clear our selection when X tells us we've lost
9919 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9921 * vspace.C (inPixels): fix compiler warning
9923 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9925 * lyxfunc.C (getStatus): fix status message for disabled commands.
9927 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
9929 * BufferView_pimpl.C: fix crash on close buffer
9930 during selection (#227)
9932 2002-01-27 Herbert Voss <voss@lyx.org>
9934 * buffer.C: link old Figure to new graphic inset
9936 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
9938 * FontLoader.C (getFontinfo): Change the latex font names in order
9939 to match the names of type1inst.
9941 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9943 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9945 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9948 (remove_files_with_extension): ditto
9949 (remove_file): ditto
9952 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9953 document is smaller than the work area height. Do not initialize
9954 static variables to 0.
9956 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9958 * lyx_gui.C (init): give the toolbar tooltips a normal font.
9960 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9961 LFUN_LAYOUT_PARAGRAPHS.
9963 * tabular.C (GetCellFromInset): new method. Finds an inset in a
9964 tabular. It is possible to provide a possible cell, which will
9965 typically be the actcell from the corresponding insettabular
9967 * lyxfunc.C (getStatus): small cleanup; disable
9968 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9971 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9973 * tabular.C (Validate): remove broken optimization (fixes bug #201)
9975 * paragraph.C (startTeXParParams):
9976 (endTeXParParams): new methods. The LaTeX code to
9977 start/end paragraph formatting
9978 (simpleTeXOnePar): call startTeXParParams also when paragraph is
9979 empty (fixes bug #200)
9981 * vspace.C (inPixels): adapt to the change below
9982 (inPixels): [later] more cleanups (remove unused variables)
9984 * lyxlength.C (inPixels): change to use a width and a height as
9987 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9989 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9990 Replaced with \paperwidth
9992 * DepTable.C (insert): add std:: qualifier
9994 2002-01-18 Allan Rae <rae@lyx.org>
9996 * text2.C (removeRow): add comment. Should other refresh_?? vars be
9999 * text.C (drawInset): Turned out I didn't know enough about how
10000 rebreaking worked. This fixes most of the redraw problems. I see
10001 an occasional cursor trail when a line is broken now and the cursor
10002 placement can seem out by a few pixels also after a rebreak.
10004 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10006 * buffer.C (parseSingleLyXformat2Token): update because minipage
10007 width is now a LyXLength
10009 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10011 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10014 2002-01-17 Juergen Vigna <jug@sad.it>
10016 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10018 * BufferView2.C (lockInset): call edit() so that theLockingInset()
10019 is set correctly and the inset is updated correctly.
10021 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10023 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10024 the beginning of the loop.
10026 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
10028 * lyxrc.C: improve help for use_scalable_fonts
10030 2002-01-17 Allan Rae <rae@lyx.org>
10032 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10034 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10036 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10037 make sure to set their inset_owner to the right value (bug #171)
10039 2001-12-12 Ben Stanley <bds02@uow.edu.au>
10042 * DepTable.C: Implement mtime checking to reduce time spent doing
10045 2002-01-16 Juergen Vigna <jug@sad.it>
10047 * tabular.C (GetAdditionalHeight): one of error fixed.
10049 * lyxrc.C (output): small fix in writing use_pspell.
10051 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
10053 * sp_base.h: #include LString.h
10055 2002-01-16 Allan Rae <rae@lyx.org>
10057 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
10058 Can someone check this please?
10060 * text.C (drawInset): It was possible that p.row would be removed by
10061 breakAgainOneRow upsetting a few other settings. There may be another
10062 small tweak possible by setting need_break_row = 0 when p.row has been
10063 removed but I don't know enough about the logic here.
10065 2002-01-15 Allan Rae <rae@lyx.org>
10067 * text.C (insertChar): removed conditional truism.
10069 * BufferView2.C (removeAutoInsets): More tweaks.
10070 cur_par_prev could be a stray pointer. Check for trailing empty line
10071 in case last line was cur_par and only had an error inset on it.
10073 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10075 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10078 * vc-backend.C (most methods):
10079 * exporter.C (Export):
10080 * converter.C (convert):
10082 * LyXSendto.C (SendtoApplyCB):
10083 * lyxfunc.C (dispatch):
10087 * lyx_cb.C (AutoSave):
10089 * BufferView_pimpl.C (MenuInsertLyXFile):
10090 * buffer.C (runChktex): use Buffer::filePath().
10092 * buffer.h: rename filename to filename_; rename filepath to
10093 filepath_ and make it private
10094 (filePath): new method
10096 * buffer.C (writeFile): use fileName()
10099 * lyx_main.C (init): fix starting of LyX when the binary is a
10100 link from so,ewhere else.
10102 * minibuffer.C: include <cctype> for isprint
10104 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10106 * buffer.C (parseSingleLyXformat2Token): changes associated with the
10107 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10108 name clash with InsetCollapsable's width function.
10110 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10112 * lastfiles.C: include <iterator>
10114 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10116 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10119 * buffer.C (makeLaTeXFile): ditto.
10120 Also make loop operation more transparent.
10122 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10124 * ToolbarDefaults.C: remove trailing comma closing namespace.
10126 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10128 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10131 * trans.C (Load): comment out unused variable, allowed.
10133 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10135 * minibuffer.[Ch] (append_char): new method to recieve input from the
10136 drop-down completion browser. If a key was pressed, then recieve this
10137 char and append it to the existing string.
10138 (peek_event): modify the positioning data passed to the completion
10139 browser so that it can be placed above the minibuffer rather than below.
10140 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10142 * LyXAction.C (init): alloe error-next for readonly documents.
10144 * BufferView2.C (ChangeRefsIfUnique): use standard version of
10147 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10149 * bufferlist.C (readFile): create the buffer _after_ checking that
10152 * lyxfunc.C (verboseDispatch): fix handling of arguments
10154 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10156 * lyxrc.C: use string::erase() instead of initializing to "".
10159 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10161 * BufferView_pimpl.h:
10162 * BufferView_pimpl.C:
10165 * text2.C: tell X when we have made a selection for copying
10167 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10169 * BufferView_pimpl.C (MenuInsertLyXFile):
10170 * lyxfunc.C (menuNew):
10172 (doImport): add shortcuts to directory buttons
10174 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10177 * lyxfunc.C (setStatusMessage):
10178 (getStatusMessage): new methods
10179 (getStatus):use setStatusMessage instead of setErrorMessage
10180 (dispatch): when function is disabled, set error message here
10181 [instead of in getStatus previously]
10183 * BufferView_pimpl.C (workAreaButtonRelease): update
10184 toolbar/menubar here too.
10186 2002-01-13 Allan Rae <rae@lyx.org>
10188 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10189 Now seems indestructible. Remaining task is to audit all other
10190 code affected by deleteEmptyParagraphMechanism. One small quirk
10191 left is that an empty document with an error in the preamble can
10192 be made to report an error but no error box appears. I don't know
10194 (removeAutoInsets): Improved comments.
10196 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10199 * Thesaurus.C: update for Aiksaurus 0.14
10201 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10203 * text2.C (firstParagraph): removed member function, all uses
10204 replaces with ownerParagraph
10205 (redoParagraphs): here
10206 (updateInset): here
10207 (toggleAppendix): here
10208 * BufferView2.C (insertErrors): here
10209 (setCursorFromRow): here
10211 2002-01-13 Allan Rae <rae@lyx.org>
10213 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10214 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10215 There is still a way to segfault this although you may have to do this
10216 multiple times: Have an InsetERT with an unknown command in it.
10217 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10218 <down-arrow>, <Enter> again, View->DVI, BANG!
10220 * text2.C (setCursor):
10221 (deleteEmptyParagraphMechanism):
10222 * lyxtext.h (setCursor):
10223 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10224 Making use of the return value may help fix other bugs.
10226 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10228 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10230 * LyXView.C (updateMenubar): call MenuBar::update here
10231 (updateToolbar): but not here
10232 (showState): do not update toolbar/menubar
10234 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10235 should need to care about that.
10237 * lyxfunc.C (verboseDispatch): simplify a bit
10238 (getStatus): have a version which takes a pseudoaction, and
10239 another which requires a (kb_action,string).
10241 * LyXAction.C (retrieveActionArg): make it work also when action
10242 is not a pseudo-action.
10243 (getActionName): simplify a bit
10246 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10248 * lyxfunc.C (verboseDispatch): new families of methods with
10249 several ways to specify a command and a bool to indicate whether
10250 the command name and shortcut should be displayed in minibuffer
10251 (eventually, we could extend that to a finer bitmask like
10252 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10253 (dispatch): the pristine dispatch command which just, well,
10254 dispatchs! Note it still sets its result to minibuffer; I'm not
10257 * lyxfunc.h: remove setHintMessage
10259 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10261 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10263 * BufferView_pimpl.C (specialChar): delete new inset if we have
10264 not been able to insert it.
10266 * kbmap.C: revert to using int instead of kb_action, since all we
10267 are dealing with is pseudo-actions.
10269 * LyXAction.C (searchActionArg): change to return int instead of
10270 kb_action, since the result is a pseudoaction.
10272 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
10274 * buffer.C (insertErtContents): Fix (partially) the font bug.
10276 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10278 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10279 as the other one is broken on my machine!
10281 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
10284 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10286 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
10288 * lyxrc.[Ch]: change names and descriptions of popup font variables to
10289 reflect their actual use. Provide compatibility code for older lyxrc
10292 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10294 change names of popup font variables in line with the changes to lyxrc.C
10296 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10298 * buffer.C (asciiParagraph): avoid outputing a word twice after
10301 * lyxrc.C (getDescription): document that document_path and
10302 template_path can be empty.
10304 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10306 * LaTeXFeatures.C (getMacros):
10307 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10309 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10311 * LaTeXFeatures.C (useFloat): require "float" here instead of in
10313 (getPackages): rename feature "floats" to "float". Use an array to
10314 iterate over 'simple' features (i.e. just a \usepackage). Add
10315 handling of "amsmath" (renamed from "amsstyle").
10317 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
10319 * LaTeXFeatures.C (require): Prevent duplicate entries in the
10322 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
10324 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10325 FuncStaus::FuncStatus & FuncStaus::some_method().
10327 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
10329 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10330 of the func_satus stuff. Edited and massaged in various ways by
10333 * lyxfunc.C (getStatus): use FuncStatus
10335 2002-01-08 Juergen Vigna <jug@sad.it>
10337 * text.C (nextBreakPoint): use function Inset::isChar().
10339 * paragraph.C (TeXOnePar): use function
10340 Inset::forceDefaultParagraphs.
10342 * buffer.C (latexParagraphs): use function
10343 Inset::forceDefaultParagraphs.
10345 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10347 * lyx_gui.C (init): set the style of the menu popups to
10348 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10350 2002-01-07 Juergen Vigna <jug@sad.it>
10352 * text.C (setHeightOfRow): small fix
10353 (prepareToPrint): don't look at alignment if we don't have the place
10356 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10358 * box.C: New file. Move the Box methods and functions out of box.h,
10359 following Lars' suggestion.
10361 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10363 * box.h: #include "support/LOstream.h", needed for inlined function.
10366 * lyxtextclasslist.C: added some using std declarations.
10368 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
10370 * box.h: make signed dimensions to allow insets wider than
10371 the screen (bug #162)
10373 * BufferView_pimpl.C: add some insetHit debug
10375 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
10377 * vc-backend.C: add FIXME
10379 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10381 * lyxfunc.C (getStatus): enable code for showing math font status
10384 2002-01-07 Juergen Vigna <jug@sad.it>
10386 * text.C (nextBreakPoint): removed debug output not needed anymore.
10388 2002-01-06 Juergen Vigna <jug@sad.it>
10390 * text.C (nextBreakPoint): fixed up this function we had this bug
10391 since ever but now hopefully we break row better.
10392 (insertChar): we have to check if an inset is the next char as it
10393 could now happen that a large inset is causing a break.
10395 2002-01-05 Juergen Vigna <jug@sad.it>
10397 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10398 if it doesn't like to be drawed.
10400 2002-01-04 Juergen Vigna <jug@sad.it>
10402 * BufferView2.C (lockInset): forgot to set a cursor.
10404 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10406 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
10408 * FormMathsPanel.C:
10411 * form_maths_panel.C:
10412 * form_maths_panel.h:
10413 * form_maths_panel.fd: implemented sub- and super- buttons in math
10416 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10417 (or ^ space) to be used as in TeX (req'd by André).
10419 * lyxfunc.C: Allow ^ and _ again to be used both as
10420 super/subscript (mathed) and as themselves (in text).
10422 2002-01-03 Allan Rae <rae@lyx.org>
10424 * LyXView.C (updateWindowTitle): Setup a short icon title of either
10425 "LyX" or the filename of the current buffer if it has one. This is a
10426 modified form of John Levon's patch.
10428 * XFormsView.C (setWindowTitle): also set icon title.
10430 * LyXView.h (setWindowTitle): signature changed.
10431 * XFormsView.h (setWindowTitle): ditto.
10433 2002-01-02 Juergen Vigna <jug@sad.it>
10435 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10437 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10439 * screen.C (topCursorVisible): introduce a temp var for
10440 text->cursor.row(), handle the case where this row is null. (kindo
10443 * text2.C (setCursor): add a couple of asserts.
10445 * paragraph.h (inset_iterator): add -> operator
10447 * paragraph.[Ch] (autoDeleteInsets): remove member function
10449 * BufferView2.C (removeAutoInsets): rewrite to handle the old
10450 cursor pos correctly and handle inset deletion by itself.
10451 (insertErrors): move iterator declaration out of for expression
10453 * lyxtextclass.C: add <algorithm>
10455 * Makefile.am: added the new files to sources, removed layout.C
10457 * layout.C: removed file
10459 * layout.h: remove LYX_DUMMY_LAYOUT
10461 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10465 * lyxtextclass.[Ch]:
10466 * lyxtextclasslist.[Ch]: new files
10468 * include order changes to a lot of files, also changes because of
10471 2001-12-27 Juergen Vigna <jug@sad.it>
10473 * buffer.C (asciiParagraph): more fixes.
10475 * tabular.C (ascii): make ascii export support export of only the
10476 data separated by a column-delimiter.
10477 (ascii): better support for ascii export.
10479 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10481 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10483 * tabular_funcs.C: use a "using std::getline" instead of the
10484 previous fix from Angus (necessary for cxx + lyxstring)
10486 2001-12-24 Juergen Vigna <jug@sad.it>
10488 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10490 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10491 problems. First check a minipage also if we have some ert-contents
10492 (not only on par->size(), second set the right depth of the paragraph
10493 on the relink to the root-paragraph-list!
10495 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10496 which then did not anymore update the main paragraphs on undo/redo!
10498 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10500 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10501 code. Support all font-changing funcs (even those which are not in
10502 menu currently). Support for reporting font settings in
10503 mathed (disabled until Andre provides a function on mathed's side).
10505 * func_status.h (toggle): small helper function to set toggle
10508 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
10510 * tabular_funcs.C: getline -> std::getline
10512 2001-12-21 Juergen Vigna <jug@sad.it>
10514 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10515 accessed and could be 0 (I couldn't generate this but it seems
10518 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10520 * tabular_funcs.C: add LIstream.h, move write_attribute to..
10521 * tabular_funcs.h: here and include iosfwd
10523 2001-12-20 Juergen Vigna <jug@sad.it>
10525 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10526 inside inset but undo_par was.
10528 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10530 * Thesaurus.C: always include <config.h> in sources.
10534 * box.h: do not include <config.h> in header files
10536 * text.C (paintLastRow): remove unused variable
10538 * text.C (transformChar):
10540 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10542 * Painter.C (text):
10543 * font.C (width): rewrite to use uppercase() instead of
10546 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10548 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
10550 * lyxfind.C: clean up of find failure position change
10552 2001-12-20 Juergen Vigna <jug@sad.it>
10554 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10556 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10557 (TeXRow): added to LaTeX a single tabular row.
10558 (TeXLongtableHeaderFooter): added to output LT-h/f data.
10559 (Latex): simplified and finally good LT-h/f support.
10560 (various_functions): just small adaptions for LT-h/f support.
10562 * tabular_funcs.[hC]: added and moved here all not classfunctions
10565 2001-12-19 Juergen Vigna <jug@sad.it>
10567 * tabular.[Ch]: better support for longtabular options (not finished
10570 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10572 * text.C (paintLastRow): use the label font instead of the font of
10573 the last character to compute the size of *_BOX. This makes more
10574 sense and avoids a crash with empty paragraphs.
10575 Use Painter::rectangle to draw EMPTY_BOX.
10577 2001-12-19 Juergen Vigna <jug@sad.it>
10579 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10580 the paragraphs if the replaced paragraph is not the first one!
10581 Tried to delete not used paragraphs but does not work yet so for
10582 now it's inside #ifdef's and by default off!
10584 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10586 * MenuBackend.C: include "lyx_main.h" instead of declaring
10587 lastfiles (actually was declared as LastFiles* instead of a
10590 2001-12-17 Juergen Vigna <jug@sad.it>
10592 * tabular.C (AppendColumn): applied John's fix
10594 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
10598 * BufferView_pimpl.h:
10599 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10602 * box.h: new start of class for above
10604 * lyxfunc.C: ignore space-only minibuffer dispatches.
10605 Show the command name when it doesn't exist
10607 * minibuffer.C: don't add empty lines to the history
10609 * minibuffer.C: add a space on dropdown completion
10611 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
10613 * text.C: fix line above/below drawing in insets
10615 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10617 * lyxlength.C (LyXLength): Initialize private variables.
10619 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
10621 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10622 when inserting error insets.
10624 2001-12-13 Juergen Vigna <jug@sad.it>
10626 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10627 actually sometimes the before-paragraph.
10628 (setUndo): don't clear the redostack if we're not actually undoing!
10630 2001-12-06 Juergen Vigna <jug@sad.it>
10632 * undo_funcs.C (textHandleUndo): well after John's hint I got here
10633 and fixed redoing of main paragraph, so we can use it now ;)
10635 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10637 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10639 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10642 2001-12-13 André Pönitz <poenitz@gmx.net>
10645 * undo_func.C: minor cleanup
10647 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10649 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10650 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10651 font in urw-fonts package which is marked as -urw-fontspecific and
10652 does not work (incidentally, changing the encoding in the
10653 fonts.dir of this package to -adobe-fontspecific fixes the
10656 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10657 is a crash when undoing first paragraph (Juergen, please take a
10658 look). THis does not mean the undo fix is wrong, just that it
10661 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10662 the (Paragraph*) version when needed instead of duplicating the
10665 * text.C (workWidth): use Inset::parOwner to find out where the
10666 inset has been inserted. This is a huge performance gain for large
10667 documents with lots of insets. If Inset::parOwner is not set, fall
10668 back on the brute force method
10670 * paragraph_pimpl.C (insertInset):
10671 * paragraph.C (Paragraph):
10672 (cutIntoMinibuffer): set parOwner of insets when
10673 inserting/removing them
10675 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10677 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
10683 * mathed/formulabase.C:
10684 * mathed/math_cursor.[Ch]:
10685 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10688 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10690 * lyxlength.[Ch] (operator!=): new function
10692 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10694 * text.C (workWidth): use Inset::parOwner to find out where the
10695 inset has been inserted. This is a huge performance gain for large
10696 documents with lots of insets. If Inset::parOwner is not set, fall
10697 back on the brute force method
10699 * paragraph_pimpl.C (insertInset):
10700 * paragraph.C (Paragraph):
10701 (cutIntoMinibuffer): set parOwner of insets when
10702 inserting/removing them
10704 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10706 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10708 * tabular-old.C (getTokenValue):
10709 * tabular.C (getTokenValue):
10710 (write_attribute): new versions for LyXLength
10711 (everywhere): adjust the use of widths
10713 * tabular.h: change the type of widths from string to LyXLength
10715 2001-12-11 Ben Stanley <bds02@uow.edu.au>
10717 * paragraph.C: fixed missing line number count when exporting
10718 Environments to LaTeX file
10720 * buffer.C: added informational message for checking line numbers.
10722 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10724 * text2.C (deleteEmptyParagraphMechanism): if there is only one
10725 paragraph, do the 'double space' part, but not the 'empty
10728 * text.C (workWidth): small optimization
10729 (getLengthMarkerHeight): use minimal size for negative lengths.
10731 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
10733 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10735 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10737 2001-12-11 André Pönitz <poenitz@gmx.net>
10740 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10742 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10744 * text2.C: keep selection on a setFont()
10746 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10748 * lyx_cb.C: another bv->text misuse, from insert label
10750 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10753 * kbsequence.C: re-instate nmodifier mask
10755 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
10757 * lyx_main.h: make lyxGUI private.
10759 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10761 * lyxfind.C: place the cursor correctly on failed search
10763 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10765 * text.C (getLengthMarkerHeight): for small heights, the arrows
10766 are not always on top/bottom of the text
10767 (drawLengthMarker): smaller arrows; take the left margin in
10768 account; draw also vfills.
10770 (paintLastRow): remove special code for vfill and standard spaces,
10771 since everything is handled in drawLengthMarker now.
10773 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10775 * buffer.C (insertErtContents): try to handle font and language
10776 interaction a bit better.g
10778 * ColorHandler.C (updateColor): change the hash to cover the whole
10779 LColor enum, ws cleanup
10780 (getGCLinepars): ditto
10781 (getGCLinepars): only lookup in the linecache once.
10783 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
10785 * iterators.C (operator++): Make the iterator more robust
10787 * BufferView2.C (removeAutoInsets): Use paragraph iterators
10789 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10791 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10794 * text.C: better added space drawing
10796 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10799 * BufferView2.C: fix layout combo update on inset unlock
10801 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10803 * Makefile.am: don't compile unused files
10805 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10809 * LyXAction.C: remove old LFUN_LAYOUTNO
10811 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10813 * paragraph_pimpl.h:
10814 * paragraph_pimpl.C: isTextAt() doesn't need font param
10816 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10819 * lyxlex.C: little cleanup
10821 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10823 * BufferView_pimpl.C: fix insertAscii for insets
10825 2001-12-05 Juergen Vigna <jug@sad.it>
10827 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10828 set the right font on the "multi" paragraph paste!
10830 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10836 * lyxlength.C: remove out-commented code.
10838 * BufferView_pimpl:
10852 * vc-backend.C: change "while(" to "while ("
10854 * lyxlength.[Ch]: add zero function to check if length is zero or
10856 * lyxgluelength.C: use it
10858 2001-12-05 Allan Rae <rae@lyx.org>
10860 * lyxlength.C: Attempted a fix for the abs(int) header selection.
10861 Works for 2.95.3, from what I understand of Garst's reports this should
10862 work for other g++ versions. We're screwed if the abs(int) definition
10863 changed between bugfix releases of gcc.
10865 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10867 * text.C: fix chapter label offset !
10869 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10872 * text.C: fix hfill at end of line, clean up
10874 2001-12-04 Juergen Vigna <jug@sad.it>
10876 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10877 that we force an update of the inset and it's owners if neccessary.
10879 2001-12-03 Juergen Vigna <jug@sad.it>
10881 * text.C (rowLast): simplified code
10883 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10885 * lyxfunc.C: fix show options on timeout
10887 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10889 * screen.C (topCursorVisible): scroll half a page when the cursor
10890 reached top of bottom of screen
10892 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
10894 * minibuffer.C: deactivate on loss of focus
10896 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10898 * vspace.[Ch] (operator!=): add operator.
10900 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
10902 * BufferView_pimpl.C: refuse to open an inset when
10903 there's a selection.
10905 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
10907 * BufferView_pimpl.C: allow to click on RHS of full row insets
10909 2001-11-30 Juergen Vigna <jug@sad.it>
10911 * tabular.C (LyXTabular): add a same_id to set the same id's in the
10912 insets for undo reasons.
10914 2001-11-28 André Pönitz <poenitz@gmx.net>
10916 * vspace.[Ch]: cosmetical changes
10918 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10928 * kbsequence.C: part re-write of old kb code
10931 * WorkArea.C: remove Lgb_bug_find_hack
10933 2001-11-30 José Matos <jamatos@fep.up.pt>
10935 * buffer.C (makeDocBookFile): add a comment to point a hack.
10936 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10937 Fixed a double write of labels.
10939 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10942 * LaTeX.h Fixed bug in LaTeX class where it would not
10943 re-run latex if no depfiles were changed, but the .dvi was removed.
10945 2001-11-28 André Pönitz <poenitz@gmx.net>
10947 * all the files from the change on 2001/11/26:
10948 use lyx::layout_type instead of LyXTextClass::size_type
10949 use lyx::textclass_type instead of LyXTextClassList::size_type
10951 2001-11-29 Juergen Vigna <jug@sad.it>
10953 * text.C: added support for paragraph::isFreeSpacing()
10955 * buffer.C: same as above
10957 * paragraph.h: inserted isFreeSpacing() function to enable
10958 FreeSpacing inside InsetERT.
10960 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10961 of the paragraph's in the cut/copy buffer to 0!
10963 * text2.C (removeRow): remove the assert as it can!
10965 * lyxtext.h: added helper function firstRow returning firstrow and
10966 made firstrow private again.
10968 * BufferView2.C (lockInset): don't relock if we're already locked!
10970 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10971 the only paragraph.
10972 (removeRow): added Assert::(firstrow)
10974 * debug.C: forgot to add INSETTEXT here.
10976 2001-11-28 Juergen Vigna <jug@sad.it>
10978 * sp_spell.C (initialize): changed error text to more general
10979 spellchecker command use (not only ispell!)
10981 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10983 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10985 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10987 * vspace.C: initialise lyxgluelength on failure
10989 2001-11-28 Allan Rae <rae@lyx.org>
10991 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10992 declaration & definition that looks like a function declaration.
10994 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10996 * BufferView2.C (copy):
10997 (copyEnvironment): do not clear the selection when doing a copy.
10999 * text.C (paintFirstRow): compilation fix
11001 2001-11-27 Ben Stanley <bds02@uow.edu.au>
11003 * tabular.C (Latex): correct line count when writing latex.
11005 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
11007 * paragraph_pimpl.h:
11008 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11011 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11015 * LColor.C: change vfillline->added_space
11017 * text.C: add markers and text for added space
11019 * vspace.C: fix comment
11021 2001-11-28 André Pönitz <poenitz@gmx.net>
11023 * paragraph.C: whitespace changes
11024 * all the other files from the change on 2001/11/26:
11025 change *::pos_type into lyx::pos_type
11027 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
11029 * buffer.C (parseSingleLyXformat2Token): Set the language to the
11030 language of the document when inserting error insets.
11032 2001-11-26 André Pönitz <poenitz@gmx.net>
11034 * BufferView_pimpl.[Ch]:
11042 * paragraph_pimpl.[Ch]:
11045 * text2.C: reduce header dependencies, introduce type for positions
11047 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11049 * <various>: change to use Alert.h
11051 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
11053 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11054 when encountering an unknown token.
11055 (readLyXformat2): Show an error message if there were unknown tokens.
11057 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
11060 * BufferView_pimpl.C:
11064 * text2.C: use par->isInset()
11066 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11068 * paragraph_pimpl.h:
11069 * paragraph_pimpl.C: cleanup
11071 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11073 * text2.C (removeRow):
11074 * text.C (setHeightOfRow): remove useless (and costly) call to
11077 2001-11-20 Allan Rae <rae@lyx.org>
11079 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11080 Now need Inset*::checkInsertChar() to return true for appropriate
11081 cases so that the characters in the minibuffer will actually be
11084 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11086 * text.C: change the order of the includes.
11087 (workWidth): initialize it at once.
11088 (workWidth): make maxw unsigned
11089 (setHeightOfRow): remove unused variable (inset)
11090 (selectSelectedWord): remove unused variable (inset)
11091 (paintRowText): fix drawing of hfill characters, and clean up a bit.
11093 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11095 * lyxserver.C (emergencyCleanup): do not try to close pipes if
11096 server is not running.
11098 (closeConnection): add debug info when server is disabled.
11100 * ColorHandler.C (getGCForeground): send debug message to GUI
11103 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11105 * kbmap.C (bind): modify because return conventions of
11106 kb_sequence::parse have changed.
11108 * kbsequence.C (parse): only ignore spaces and not any stupid
11109 control character. This avoids tests like s[i] <= ' ', which are
11110 guaranteed to fail with 8bit characters and signed chars.
11111 Change return code to string::npos when there have been no error
11112 (0 was a bad idea when error is at first character)
11114 2001-11-14 José Matos <jamatos@fep.up.pt>
11117 * buffer.C (simpleDocBookOnePar): removed unused argument.
11119 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11121 * text.C (selectNextWordToSpellcheck): do not test explicitely for
11122 insets which are part of a word. Paragraph::isLetter takes care of
11123 that now. Use Paragraph::isInset to identify insets.
11124 (selectSelectedWord): do not test for hyphenation break.
11126 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11127 that protected spaces are considered as spaces.
11129 * paragraph.C (isLetter): cleanup the code for ispell extras; use
11132 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
11135 * lyxserver.C: fix it. and small cleanup.
11137 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11139 * BufferView_pimpl.C: use inline helpers
11142 * LaTeXFeatures.C: fix typos
11145 * Spacing.C: move spacing_string into class
11147 * ToolbarDefaults.C: move stuff into namespace anon
11149 * layout.h: update enum
11151 * lyxfunc.C: use better debug
11153 * minibuffer.h: fix typo
11157 * WorkArea.C: add and use Debug::WORKAREA
11161 * text2.C: code re-organisation, inline helpers
11163 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
11165 * Layout.C: replaced a few cases of std::vector.size() == 0 with
11166 std::vector.empty().
11168 2001-11-09 Allan Rae <rae@lyx.org>
11170 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11171 '\n's after tables. Tabular and ERT inset work now makes this no
11174 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11177 * minibuffer.C: fix crash, improve drop-down completion
11179 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11182 * lyxserver.C: invalidate fd's when doing endPipe()
11184 2001-11-08 José Matos <jamatos@fep.up.pt>
11186 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11187 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11190 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11192 2001-11-07 José Matos <jamatos@fep.up.pt>
11195 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11198 * buffer.C (sgmlOpenTag):
11199 * buffer.C (sgmlCloseTag): removed debug info.
11201 * buffer.h (sgmlOpenTag):
11202 * buffer.h (sgmlCloseTag): made public.
11204 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11206 * buffer.C (saveParamsAsDefaults):
11207 * lyx_cb.C (MenuLayoutSave): remove
11209 * LyXAction.C (init):
11211 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11213 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11215 * buffer.C (setPaperStuff): removed from here...
11217 * bufferparams.C (setPaperStuff): ... and moved there.
11219 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11223 * XFormsView.C: add support for drop-down completion
11225 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11227 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11230 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11232 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11235 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11237 * lyx_main.C: change ref to known bugs
11239 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11241 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11242 to work around older babel problems.
11244 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11246 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11248 2001-10-24 Juergen Vigna <jug@sad.it>
11250 * tabular-old.C (ReadOld): below variable changes reflected.
11252 * tabular.[Ch]: added ltType struct for longtable header/footer
11253 defines and changed all instances where they are used. Added
11254 future support for double top/bottom rows.
11256 2001-10-24 José Matos <jamatos@fep.up.pt>
11258 * buffer.h (docbookHandleCaption):
11259 * buffer.C (docbookHandleCaption): removed unused function.
11260 (makeDocBookFile): moved docbook supported version to v4.1.
11262 2001-10-24 José Matos <jamatos@fep.up.pt>
11265 * tabular.C (docbookRow): new function to export docbook code of a row.
11266 (DocBook): now honors the longtable flags.
11268 2001-10-23 José Matos <jamatos@fep.up.pt>
11271 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11272 of the lyx defined sgml entities used in a docbook/linuxdoc document.
11274 * buffer.C (makeLinuxDocFile):
11275 (makeDocBookFile): reworked the preamble, more clean, and with
11276 support for lyx defined entities. Changed the document declaration
11277 to be more XML friendly.
11279 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11280 if we need to output XML that should be done with a filter.
11282 2001-10-22 Juergen Vigna <jug@sad.it>
11284 * sp_pspell.h (class PSpell): add alive function needed in the
11285 controller to see if the spellchecker could be started.
11287 2001-10-22 Juergen Vigna <jug@sad.it>
11289 * buffer.C (insertStringAsLines): modify the font for inserting
11290 chars in certain conditions by calling checkInsertChar(font).
11292 2001-10-19 Juergen Vigna <jug@sad.it>
11294 * text.C (workWidth): use getRow instead of wrong algorithm.
11295 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11297 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
11302 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11304 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11306 * text.C (workWidth): do not search for the exact row when
11307 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11308 optimization for big documents.
11310 2001-10-18 Juergen Vigna <jug@sad.it>
11312 * text.C (workWidth): new function with added Inset * parameter.
11314 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11316 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11318 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11319 change return type of getColumnNearX.
11322 * text.C (changeRegionCase): use uppercase/lowercase instead of
11325 (rightMargin): simplify code by factoring out the uses of
11330 (appendParagraph): use Paragraph::size_type
11332 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11334 * vspace.C (asLatexString): add a missing break
11336 2001-10-15 Herbert Voss <voss@perce.de>
11338 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11340 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11342 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11345 2001-10-10 André Pönitz <poenitz@gmx.net>
11347 * lyxfunc.C: removed greek_kb_flag.
11349 2001-10-10 Herbert Voss <voss@perce.de>
11351 * lyx_main.C: delete global string help_lyxdir.
11353 2001-10-09 Herbert Voss <voss@perce.de>
11355 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11357 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11359 * lyx_main.C: added global string help_lyxdir.
11361 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11363 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
11365 * lyxrc.C (set_font_norm_type): support iso8859-4
11367 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
11369 * LaTeX.C (deplog): add another regex for MikTeX
11371 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
11373 * lyxrc.C (set_font_norm_type): support iso8859-3
11375 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11377 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11379 * LaTeXFeatures.C: remove special case of french and index
11381 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11382 before \begin{document}). This solves several incompatibilities.
11384 2001-10-03 Garst Reese <reese@isn.net>
11386 * lyx_cb.C: change CheckTex error msg.
11388 2001-10-03 José Matos <jamatos@fep.up.pt>
11390 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11392 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11394 * .cvsignore: update
11396 * lyx_main.C (commandLineVersionInfo): use new style version info.
11398 * buffer.C (writeFile):
11400 (makeLinuxDocFile):
11401 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11403 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11405 * version.h: update to use stuff in version.C
11407 * version.C.in: new file. Contains version information determined
11408 at compile time. This is a merging of version.h and
11411 2001-10-03 Juergen Vigna <jug@sad.it>
11413 * BufferView_pimpl.C (update): don't change "dirty" status in
11416 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
11418 * WorkArea.C (c-tor): re-position version string slightly.
11420 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
11422 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11423 revert to previous code.
11425 WorkArea.[Ch]: (show, destroySplash): methods removed.
11427 WorkArea.C: rework code so that it's an amalgam of the codes before and
11428 after the splash screen was moved to WorkArea.
11430 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11433 * vspace.C (inPixels):
11436 * buffer.C (insertStringAsLines):
11437 (asciiParagraph): fix types to be large enough
11439 * lyxlex_pimpl.h: change member status from short to int
11441 * layout.h: fix type of endlabeltype
11444 * kbsequence.C (parse): change return type to string::size_type
11446 * LaTeX.C (updateBibtexDependencies): comment out unneeded
11449 * Bullet.C (bulletSize):
11450 (bulletEntry): do not use short ints as parameters
11452 * BufferView2.C (insertLyXFile): change a char to an int.
11454 * WorkArea.C (WorkArea): remove unneeded floats in computation
11456 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
11458 * buffer.C (asciiParagraph): Treat '\\' as other chars.
11460 * paragraph.C (asString): Do not ignore newline/hfill chars when
11461 copying to the clipboard.
11463 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
11465 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11466 after a multi-line inset.
11468 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
11470 * paragraph.C (validate): Set NeedLyXFootnoteCode
11472 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11474 * lyxfont.C (LyXSizeNames): changed increase-error to increase
11475 and decrease-error to decrease.
11477 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11479 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11480 it more readable (should be equivalent)
11482 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
11484 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11486 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11488 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11489 of a cursor (row, etc.) after a character has been deleted
11490 (deleteEmptyParagraphMechanism): call the method above on _all_
11491 cursors held by the LyXText when a double space has been
11494 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11496 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11498 (resizeCurrentBuff): remove code to destroy the old splash dialog.
11500 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11501 background. Use greyOut() and the new show() methods to toggle between
11502 the foreground and background. Add code to remove the splash after
11503 its initial showing.
11505 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11506 (create_forms): no longer call Dialogs::showSplash.
11508 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11510 * .cvsignore: add version_info.h
11512 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11514 * version_info.h.in: new file
11516 * Makefile.am: add version_info.h.in
11518 * lyx_main.C (commandLineVersionInfo): use version_info defined in
11519 version_info.h instead of VERSION_INFO
11521 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
11523 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11524 The ERT inset now returns string().
11526 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
11528 * lyxtext.h, text.C (selectNextWord): renamed as
11529 selectNextWordToSpellcheck.
11531 * text.C (selectNextWordToSpellcheck): Modified to not select
11532 words inside an ERT inset.
11534 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11536 * lyx_cb.C (MenuLayoutSave): change a bit the question
11538 * sp_base.h: include <sys/types.h>
11540 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
11542 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11544 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
11546 * several files: fix typos in user-visible strings
11548 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11550 * text2.C (pasteSelection): do not set the selection, since it
11551 will be cleared later. Actually, the intent was to fix the way the
11552 selection was set, but I figured rmoving the code was just as good.
11554 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
11556 * FontLoader.C (available): Check if font is available without
11559 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11561 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11563 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
11565 * lyxrc.[Ch]: added display_graphics variable and associated code.
11567 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11569 * bufferparams.C (hasClassDefaults): new method. Returns true if
11570 the buffer parameters correspond to known class defaults
11572 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
11574 * XFormsView.C (show): set minimum size to the main window.
11576 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11578 * text2.C (copySelection):
11580 * lyxfind.C (LyXReplace):
11581 * BufferView_pimpl.C (Dispatch): pass the correct flag to
11582 LyXText::selectionAsString.
11584 * paragraph.C (asString): add "label" argument to the second form
11586 * text2.C (selectionAsString): add "label" argument and pass it to
11587 Paragraph::asString.
11589 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11591 * lyx_main.C (commandLineHelp): remove version information
11593 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
11595 * lyx_main.C: add -version commandline option
11597 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11599 * paragraph.h: make the optional constructor arg required instead.
11600 some modifications to other files because of this.
11602 * minibuffer.C (C_MiniBuffer_peek_event): make it static
11604 * lyxserver.C (C_LyXComm_callback): make it static
11606 * lyx_main.C (error_handler): make it static
11608 * lyx_gui.C (LyX_XErrHandler): make it static
11610 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11612 * WorkArea.C: make the extern "C" methods static.
11614 * Makefile.am (lyx_LDADD): simplify
11616 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11618 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11619 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11621 * LyXAction.C (init):
11622 * lyxfunc.C (dispatch): associated code removal.
11624 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11626 * lyxfont.h (isSymbolFont): shut off warning
11628 * text.C (setHeightOfRow):
11629 (getVisibleRow): fix crash with empty paragraphs which have a
11632 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
11634 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11637 2001-09-04 José Matos <jamatos@fep.up.pt>
11640 * tabular.C (docbook): rename docBook method to docbook.
11642 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11644 * Makefile.am: add dependencies to main.o.
11646 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
11648 * FontLoader.C (available): Return false if !lyxrc.use_gui
11650 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
11652 * FontInfo.C (query):
11653 * converter.C (view):
11654 * importer.C (Import):
11655 * exporter.C (Export): Can not -> cannot.
11657 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
11659 * BufferView_pimpl.C: allow to create index inset even if
11662 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11664 * buffer.C (getLists): replace boost::tie code with an explicit pair
11665 as boost::tie can break some compilers.
11667 * iterators.h: Added a std:: declaration to the return type of
11670 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
11672 * lyxrc.C: add help for view_dvi_paper_option, default to safe
11675 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
11677 * iterators.[Ch]: New files. Provide paragraph iterators.
11679 * buffer.C (changeLanguage): Use paragraph iterators.
11680 (isMultiLingual): ditto
11682 * BufferView2.C (ChangeInsets): Use paragraph iterators.
11684 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
11686 * FontLoader.C: Support for cmr font.
11688 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
11690 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11691 (available): New method.
11693 * FontInfo.C (getFontname): Use scalable fonts even when
11694 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11697 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11699 * converter.C (Formats::view): reverted! Incorrect fix.
11701 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11703 * converter.C (Formats::view): only output the -paper option
11704 if the dvi viewer is xdvi, thereby fixing bug #233429.
11706 2001-08-23 Herbert Voss <voss@perce>
11708 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11710 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
11712 * Spacing.h (Spacing): Set space to Default on in the default
11715 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
11717 * vc-backend.h (RCS::versionString): add RCS to version
11718 (CVS::versionString): add CVS to version
11720 * vc-backend.C (scanMaster): do not add CVS to version.
11721 (scanMaster): do not add RCS to version
11723 * lyxvc.C (versionString): new method
11725 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11727 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11729 * Spacing.C (set): initialize fval
11731 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
11733 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11736 2001-08-16 Juergen Vigna <jug@sad.it>
11738 * lyxfunc.C (dispatch): implemented the new FINISHED states.
11740 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11742 * BufferView_pimpl.C:
11745 * text2.C: setParagraph takes linespacing now
11747 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
11749 * LyxAction.C: add internal LFUN_CITATION_INSERT
11751 * LyXView.C: actually apply fix
11753 * bufferlist.C: fix open non-existent file
11755 * lyxfind.C: fix indentation
11757 * lyxfunc.C: remove unneeded assert, fix typo
11759 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11761 * MenuBackend.C: use "Floatname List"
11763 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
11765 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11766 when converting LaTeX layout to insetERT.
11767 Generate a non-collapsed float when reading old float
11769 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11771 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11774 2001-08-13 Juergen Vigna <jug@sad.it>
11776 * text.C (fill): return 0 instead of 20 as this seems to be the more
11779 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11781 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11784 2001-08-13 Juergen Vigna <jug@sad.it>
11786 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11788 (SearchBackward): comment out the unlocking of the inset_owner this
11789 should not be needed!
11791 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
11793 * Many files: Remove inherit_language, and add latex_language
11795 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11796 collapsible insets.
11798 2001-08-10 Juergen Vigna <jug@sad.it>
11800 * text.C (prepareToPrint): fixed hfill-width in draw!
11802 * BufferView2.C (selectLastWord): save the selection cursor as this
11803 now is cleared in the function LyXText::clearSelection!
11805 2001-08-08 Juergen Vigna <jug@sad.it>
11807 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11808 BACKSPACE type functions.
11810 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11811 is only cutted from the document but not put in the cut-buffer, where
11812 still the old stuff should be.
11814 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11816 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11818 * tabular.C (SetWidthOfCell): fixed special case where the width
11820 (LeftLine): handle '|' in align_special.
11822 (LeftAlreadyDrawed): ditto
11823 (SetWidthOfCell): ditto
11825 2001-08-07 Juergen Vigna <jug@sad.it>
11827 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11829 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11831 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11832 * lyxlex.[hC]: ditto
11834 2001-08-06 Juergen Vigna <jug@sad.it>
11836 * text.C (getVisibleRow): fix up row clearing a bit.
11838 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11840 * minibuffer.C: make sure the X server sees the changes in the input.
11842 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11844 * paragraph.C (getFont): split into...
11845 (getLabelFont): this
11846 (getLayoutFont): and this
11847 * paragraph_pimpl.C (realizeFont): calling this
11849 * text2.C (getFont): split into...
11850 (getLayoutFont): this
11851 (getLabelFont): and this
11852 (realizeFont): all three calling this
11854 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11857 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11859 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11861 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
11863 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11864 layouts from the Quote inset insertion.
11866 2001-08-03 Juergen Vigna <jug@sad.it>
11868 * BufferView_pimpl.C (update): do the fitCursor only at the end!
11870 * screen.C (drawFromTo): don't call fitcursor here and do the loop
11871 only if status not is already CHANGED_IN_DRAW (second level).
11873 * text.C (draw): don't set the need_break_row when inside an
11876 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11878 * buffer.C (parseSingleLyXformat2Token): handle more latex
11881 * bufferview_funcs.[hC]: change function names to
11882 begin with small char, adjust other files.
11884 2001-08-02 André Pönitz <poenitz@gmx.net>
11887 BufferView_pimpl.C: remove broken special code for math-greek
11889 2001-08-02 Juergen Vigna <jug@sad.it>
11891 * BufferView_pimpl.C (update): redone this function so that we
11892 update the text again if there was a CHANGE_IN_DRAW.
11894 * screen.C (cursorToggle): removed LyXText parameter and recoded.
11895 (drawFromTo): added a new internal bool which is used by draw() and
11897 (general): some cursor drawing problems fixed.
11899 2001-08-01 Juergen Vigna <jug@sad.it>
11901 * lyxfind.C (LyXFind): fixed
11902 (SearchForward): ditto
11903 (SearchBackward): ditto
11905 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11906 spurius drawing of the cursor in the main area.
11908 * text2.C (status): small fix which could lead to a segfault!
11909 (clearSelection): remove unneeded BufferView param.
11911 2001-08-01 André Pönitz <poenitz@gmx.net>
11913 * lyxfunc.C: small change due to changed mathed interface
11915 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11917 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11919 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
11921 * lyxfunc.c: fail gracefully if file doesn't exist
11926 * BufferView_pimpl.C: IsDirWriteable() proto changed
11928 * LyXView.C: fix updateWindowTitle() to store the last title
11930 2001-07-31 Juergen Vigna <jug@sad.it>
11932 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11933 the font (wrong since using of Paragraph::highestFontInRange).
11935 * paragraph.C (highestFontInRange): added a default_size parameter.
11937 * text.C (getVisibleRow): minor clear row changes (still not perfect).
11938 (setHeightOfRow): reformat
11940 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11942 * converter.[hC] + affected files: move to (inital-char)lowercase
11945 * ParagraphParameters.C (ParagraphParameters): remove commented code
11947 * PainterBase.[Ch]: remove commented code
11949 * LaTeXFeatures.h: add "bool floats" for float.sty
11951 * LaTeXFeatures.C (LaTeXFeatures): init floats
11952 (require): handle float
11953 (getPackages): do it with floats
11955 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11957 * BufferView_pimpl.C (Dispatch): improve handling of
11958 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11960 * commandtags.h: #include lyxfont.h here temporarily to avoid
11963 * bufferlist.h: include LString.h here.
11965 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11967 * text2.C (getStringToIndex): new method.
11969 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
11971 * *: Reduced header file dependencies all over.
11973 2001-07-30 Baruch Even <baruch@lyx.org>
11975 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11977 2001-07-29 Baruch Even <baruch@lyx.org>
11979 * buffer.C (readInset): Changed GRAPHICS to Graphics.
11981 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11983 * ParameterStruct.h (endif): add a default constructor to make
11984 sure that all variables is initialized.
11986 * ParagraphParameters.C (ParagraphParameters): adjust
11988 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11990 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11991 index; also, check that there is something to index, and that it
11992 does not span over several paragraphs.
11993 (doubleClick): use WHOLE_WORD_STRICT for double click.
11995 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11997 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12000 2001-07-26 Baruch Even <baruch@lyx.org>
12002 * buffer.C (readInset): Changed to call up InsetGraphics when reading
12003 an InsetFig figure, backwards compatible reading of old figure code.
12005 2001-07-27 Juergen Vigna <jug@sad.it>
12007 * text2.C: font.realize function adaption.
12009 * text.C (draw): add a warnings lyxerr text if needed.
12011 * layout.C: font.realize function adaption.
12013 * language.C: add inherit_language and implement it's handlings
12015 * bufferview_funcs.C (StyleReset): remove language parameter from
12016 font creation (should be language_inherit now).
12018 * bufferparams.C (writeFile): handle ignore_language.
12020 * paragraph.C (getFontSettings): the language has to be resolved
12021 otherwise we have problems in LyXFont!
12023 * lyxfont.C (lyxWriteChanges): added document_language parameter
12024 (update): removed unneeded language parameter
12026 * paragraph.C (validate): fixed wrong output of color-package when
12027 using interface colors for certain fonts in certain environments,
12028 which should not seen as that on the final output.
12030 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
12032 * BufferView_pimpl.C:
12037 * LyXAction.C: add thesaurus support
12040 * lyxfind.C: add "once" parameter, for thesaurus, to not
12041 move to the next match
12043 2001-07-26 Juergen Vigna <jug@sad.it>
12045 * lyxfont.C (realize): honor ignore_language too!
12048 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12050 * text.C (draw): one place more for ignore_language to not draw
12053 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
12055 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12057 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12059 * buffer.C (parseSingleLyXformat2Token): a more general fix for
12060 the minipage conversion problem.
12062 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12064 * buffer.C (parseSingleLyXformat2Token): check minipage if we
12067 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12069 * BufferView.h: don't forward declare WorkArea
12071 * BufferView.C: don't include WorkArea.h
12073 2001-07-25 André Pönitz <poenitz@gmx.net>
12077 * lyxfunc.C: new LFUN 'math-space'
12079 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12081 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12083 * text2.C (toggleInset): call open/close
12085 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12087 * lyxfunc.C (dispatch): add debug for the disabled case
12089 * font.C (buttonText): make similar to rectText
12091 * buffer.C (readInset): comment out parsing of insetlist and
12094 * PainterBase.C (rectText): small correction
12096 * BufferView_pimpl.C: comment out insettheorem and insetlist
12097 * LyXAction.C: ditto
12098 * commandtags.h: ditto
12100 2001-07-24 Juergen Vigna <jug@sad.it>
12102 * text.C (draw): honor the ignore_language.
12104 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12106 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12108 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12111 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12113 * lyxtext.h: remove unused (and unimplemented) methods
12115 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12117 * text.C (getVisibleRow): honor background color
12120 * Painter.h: remove default color argument for fillRectangle
12122 * text.C (backgroundColor): new method
12124 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12126 * text.C (getVisibleRow): adjust
12128 * font.[Ch] (rectText): new method, metrics
12129 (buttonText): new method, metrics
12131 * PainterBase.[hC]: make rectText and buttonText always draw and take
12134 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12136 * ToolbarDefaults.C (read):
12137 * MenuBackend.C (read): allow escaping in all strings
12139 * BufferView_pimpl.C (insertAndEditInset): new method.
12140 (Dispatch): use insertAndEditInset whenever appropriate.
12142 * BufferView_pimpl.C (insertNote): removed
12144 * BufferView_pimpl.C (smartQuote): new method, moved from
12145 BufferView; if an insetquote cannot be inserted, insert a '"'
12148 * BufferView2.C: remove insertCorrectQuote();
12150 * lyxfunc.C (getStatus): Add support for all remaingin
12151 inset-insert lfuns.
12153 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12155 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12156 command (necessary to pass " as parameter of self-insert.
12158 * text.C (selectWordWhenUnderCursor):
12159 (selectWord): add word_location parameter
12160 (selectWordWhenUnderCursor): same + remove special code for word
12162 (selectNextWord): use kind() to guess type of insetspecialchar,
12165 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12166 (insertErtContents): create ert insets as collapsed.
12167 (readInset): better compatibility code for Info inset.
12169 2001-07-20 Juergen Vigna <jug@sad.it>
12171 * lyxfunc.C (dispatch): use always LyXFind now!
12173 * text2.C (init): add a reinit flag so that the LyXText can be
12174 reinited instead of deleted and reallocated (used in InsetText).
12176 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12182 2001-07-18 Juergen Vigna <jug@sad.it>
12184 * text.C (selectNextWord): handle insets inside inset by calling
12185 always the bv->text functions so that we can go up the_locking_inset!
12187 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12188 in strange locations when inside an inset!
12190 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12191 handling to include insets.
12193 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12195 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12197 * LyXAction.C (init):
12199 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12200 LIGATURE_BREAK, since the name is so stupid.
12202 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12204 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12207 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12209 * sp_form.[Ch]: remove.
12211 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12213 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12216 * src/buffer.C (readInset): ditto.
12218 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12220 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12221 menuSeparator(), endOfSentenceDot(), ldots() and
12222 hyphenationPoint(), which are therefore removed.
12223 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12225 * LyXAction.C (init):
12226 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12228 * paragraph.C (getWord): removed.
12230 * BufferView_pimpl.C (Dispatch): use last word or selection for
12231 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12233 * lyx_main.C (queryUserLyXDir): do not ask before creating
12234 user_dir, except if it has been named explicitely.
12236 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12238 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12239 a document of zero size.
12241 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12243 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12244 approriately in the c-tor and in require().
12245 (getPackages): output the appropriate LaTeX for natbib support.
12247 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12248 variables "use_natbib" and "use_numerical_citations" when reading the
12250 (readInset): read the various natbib cite commands.
12251 (validate): white-space change.
12253 * bufferparams.[Ch]: new variables "bool use_natbib" and
12254 "bool use_numerical_citations".
12255 (writeFile): output them in the LyX file.
12257 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12259 * lyxfunc.C (getStatus): add support for all the inset insertion
12262 * text2.C (insertInset):
12263 * paragraph.C (insetAllowed):
12264 * BufferView_pimpl.C (insertInset): update to take in account the
12265 renaming of insertInsetAllowed
12267 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12269 * text2.C (getInset): new method. returns inset at cursor position.
12271 * BufferView_pimpl.C (Dispatch): changes because of this.
12273 * LyXAction.C (init): rename open-stuff to inset-toggle.
12275 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12277 * text2.C (toggleInset): renamed from openStuff; use
12280 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
12282 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12284 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12286 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
12288 * buffer.C (readLyXformat2): Add filename to the error dialog
12290 2001-07-18 Juergen Vigna <jug@sad.it>
12292 * tabular.C (GetCellNumber): put an assert here instead of the check!
12294 2001-07-17 Juergen Vigna <jug@sad.it>
12296 * BufferView_pimpl.C (toggleSelection): adapted too.
12298 * text.C (selectNextWord): adapted for use with insets.
12299 (selectSelectedWord): ditto
12301 2001-07-17 Juergen Vigna <jug@sad.it>
12303 * sp_spell.C (PSpell): fix initialitation order.
12305 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12307 * paragraph.C: spacing
12309 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
12311 * sp_spell.C: repair language selection for pspell
12313 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12315 * lyxfunc.h: change more methods to begin with lower char.
12317 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
12319 * buffer.C (parseSingleLyXformat2Token): Generate error insets
12320 for unknown layouts.
12322 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
12324 * buffer.C (readLyXformat2): Generate an error dialog if there are
12327 2001-07-16 Juergen Vigna <jug@sad.it>
12329 * sp_spell.C: always compile ISpell part.
12331 * lyxrc.C: added use_pspell entry and it's handling.
12333 2001-07-13 Juergen Vigna <jug@sad.it>
12335 * sp_spell.C: removed double includes.
12337 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
12339 Consistent use of Lsstream.h:
12340 * Lsstream.h: added using std::stringstream for consistencies sake.
12342 * buffer.C: removed using std::stringstream
12344 * lyxfont.C (stateText):
12345 * paragraph.C (asString):
12346 * text.C (selectNextWord, selectSelectedWord):
12347 * text2.C (setCounter):
12348 * vspace.C (asString, asLatexString):
12349 std::ostringstream -> ostringstream.
12351 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12353 * LyXAction.C: add LFUN_HELP_ABOUTLYX
12354 * commandtags.h: add LFUN_HELP_ABOUTLYX
12355 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12357 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12359 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12361 * lyx_gui_misc.C: remove spellchecker
12362 * lyxfunc.C: showSpellchecker
12364 * sp_ispell.h: added
12365 * sp_pspell.h: added
12366 * sp_spell.C: added
12367 * sp_form.[Ch]: removed
12368 * spellchecker.[Ch]: removed
12370 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
12372 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12374 (simpleTeXSpecialChars): Simply print the input character without
12375 any special translation if pass_thru is set.
12377 * layout.h: Added bool pass_thru to layout class for being able to
12378 implement pass through of a paragraph for Literate Programming.
12380 * layout.C: add LT_PASS_THRU to LayoutTags enum.
12381 * layout.C (LyXLayout): set pass_thru to flase in constructor.
12382 * layout.C (Read): add "passthru" to list of layout tags and add
12383 code to set the pass_thru boolean when it is read.
12385 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12387 * trans_decl.h: remove allowed from KmodInfo
12389 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12390 remove allowed code
12393 * paragraph_pimpl.C (erase): use boost::prior
12395 * Painter.C (text): use data() instead of c_str() when length is
12397 * WorkArea.C (putClipboard): ditto
12398 * font.h (width): ditto
12400 * BufferView2.C: use it-> instead of (*it). for iterators
12402 * paragraph_pimpl.C: ditto
12403 * paragraph.C: ditto
12404 * minibuffer.C: ditto
12405 * language.C: ditto
12407 * encoding.C: ditto
12408 * counters.C: ditto
12409 * converter.C: ditto
12411 * Variables.C: ditto
12412 * TextCache.C: ditto
12413 * MenuBackend.C: ditto
12414 * LyXAction.C: ditto
12416 * FloatList.C: ditto
12417 * DepTable.C: ditto
12418 * ColorHandler.C (LyXColorHandler): ditto
12420 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12422 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12424 * text2.C (openStuff): reintroduce this method (which had been
12425 nuked in NEW_INSETS frenzy).
12427 * lyxfunc.C (Dispatch): when an action has not been handled, use
12428 its name in the error message, not its number.
12430 * paragraph.C (inInset): change method name to begin with lowercase.
12433 * text2.C: updates because of this.
12435 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12437 * ToolbarDefaults.C (add): add spaces in error message
12439 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12441 * buffer.C (readLyXformat2): initialize the ert comp. variables.
12442 (readLyXformat2): rename return_par to first_par, use lyxlex's
12443 pushToken and remove the manual push handling.
12444 (parseSingleLyXformat2Token): add another ert comp. variable:
12445 in_tabular, rename return_par to first_par. handle newlines better
12447 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12449 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12451 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12453 * text2.C (getParFromID): removed
12455 * buffer.C (getParFromID): new method moved form lyxtext.
12456 * BufferView2.C (insertErrors): adjust
12457 (setCursorFromRow): adjust
12458 * BufferView_pimpl.C (restorePosition): adjust
12459 * lyxfunc.C (Dispatch): adjust
12460 * undo_funcs.C (textUndo): adjust
12462 (textHandleUndo): adjust
12463 (textHandleUndo): adjust
12465 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12467 * buffer.C: up' the LYX_FORMAT
12469 * lyxfont.h: turn NO_LATEX on as default
12471 * buffer.C (insertErtContents): new methods of tex style compability.
12472 (parseSingleLyXformat2Token): use it several places.
12473 * tabular.C (OldFormatRead): and here
12475 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12477 * text2.C: remove some commented code.
12480 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12481 * trans.C: changes because of the above.
12483 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
12485 * text2.C (setCounter): Fix counters bug with bibliography layout.
12487 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12489 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12490 own member functions
12491 (simpleTeXSpecialChars): ditto
12493 2001-07-06 Juergen Vigna <jug@sad.it>
12495 * a lot of files: changed the access to LyXText::status and the
12496 call of undo-functions.
12498 * undo.[Ch]: added a inset_id to the undo informations.
12500 * undo_funcs.[Ch]: added and moved here all undo functions.
12502 * lyxtext.h: give the status enum a weight, made status_ a private
12503 variable and made accessor functions for it, removed the whole bunch
12504 of undo-functions as they are now in their own file, make some
12505 functions publically available. Added function ownerParagraph with
12508 * paragraph.[Ch]: added "bool same_ids" to the constructor,
12509 made InInset() a const function, added getParFromID() function.
12511 * buffer.[Ch]: added const version for inset_iterator functions,
12512 added getInsetFromID() function.
12514 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12515 changed undo functions for new version.
12517 2001-07-05 Juergen Vigna <jug@sad.it>
12519 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12520 unknow mechanism does not call the proper constructor but only this
12521 one also if I request the other!?
12523 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12525 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12527 * text2.C (LyXText): use initialization lists.
12529 * lyxtext.h (Selection): initialize set_ and mark_
12530 (init): remove method
12532 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
12534 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12536 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12538 * screen.[Ch]: change method names to begin with lowercase
12540 * BufferView_pimpl.C (updateScrollbar): simplify further and
12541 hopefully make it a bit faster.
12543 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12545 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12546 calling directly xforms functions.
12548 * Painter.C (Painter):
12549 * lyx_cb.C (MenuWrite):
12550 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12553 * lyx_gui.C: remove bogus guiruntime extern declaration.
12555 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12557 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12559 (redoDrawingOfParagraph): ditto
12560 (redoParagraphs): ditto
12561 (cutSelection): don't create a object for CutAndPaste use the
12562 static method directly
12563 (pasteSelection): ditto
12565 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12568 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12570 * modifications to some other files because of this.
12572 * Makefile.am (lyx_SOURCES): add XFormsView
12574 * XFormsView.[Ch]: new files
12576 * LyXView.[Ch]: make LyXView a base class for the gui handling for
12577 the main window. Move the gui dependent stuff to XFormsView
12579 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12581 * tabular.C (GetCellInset): update cur_cell also in the row/col
12582 version of this function.
12584 * lyxfunc.C: no need to include figure_form.h here.
12590 * lyxvc.C: no need to include forms.h here.
12592 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12594 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12596 * lyxfunc.C (Dispatch):
12598 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12599 constructor argument.
12601 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12603 * paragraph.C (Paragraph): dont't clear, and just set layout.
12604 (makeSameLayout): use params's copy contructor.
12606 * ParagraphParameters.[Ch] (makeSame): delete method
12608 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
12610 * Variables.[Ch]: fix indentation, rename set to isSet
12612 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12614 * lyxfunc.C (Dispatch): fix typo
12616 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12618 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12621 * bufferlist.C: include assert.h for emergencyWrite().
12623 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12625 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12626 give up at last (bug #425202) !
12628 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
12634 * spellchecker.C: strip spellchecker options and bring up
12635 preferences tab instead
12637 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12639 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12640 the istringstream constructor
12642 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12644 * paragraph.C (getLayout): fix return value
12646 * paragraph.h: do not declare getLayout as inline.
12648 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12650 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12652 * lyxcursor.h (operator<): new func
12653 (operator>): new func
12654 (operator>=): new func
12655 (operator<=): new func
12657 * text.C (changeCase): use selection.start and selection.end
12658 (changeRegionCase): require from to be <= to. Require par to be a
12661 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12663 2001-06-27 Juergen Vigna <jug@sad.it>
12665 * text.C (cursorLeftOneWord): changed to return the cursor and added
12666 overlay with BufferView * parameter which calls this one.
12668 (selectWord): use new getWord function.
12669 (changeCase): renamed from changeWordCase as and extended to work
12670 also on selections.
12672 * lyxtext.h: added enum word_location
12674 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12675 changeCase as this operates now also on selections.
12677 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
12679 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12681 * many files: send debug output to Debug::INFO instead of
12684 * converter.C (View):
12686 (Move): send debug output to Debug::FILES instead of console.
12688 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
12690 * lyxfunc.C (getStatus): use func_status
12692 * func_status.h: new header, describing the results of
12693 LyXFunc::getStatus;
12695 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12698 2001-06-25 The LyX Project <jug@sad.it>
12700 * buffer.C (sgmlOpenTag):
12702 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
12704 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12706 * text2.C: remove some dead code
12708 * tabular.C (GetCellInset): store the last cell checked (gotten)
12710 * tabular.h: add the helper for the speedup
12712 * lyxtext.h: remove some dead code
12714 2001-06-26 The LyX Project <Asger>
12716 * paragraph.C: Change export to LaTeX of alignment to
12717 \begin{center} and family for better roundtrip work with reLyX.
12719 * Tune the math drawing a bit.
12721 2001-06-25 The LyX Project <Asger>
12723 * LColor.C (LColor): New color for math background. New color
12726 2001-06-25 The LyX Project <jug@sad.it>
12728 * lyxfunc.C (MenuNew): remove extra check for .lyx file
12730 * lyxfunc.C (Open):
12731 * bufferlist.C (newFile): do not restrict to files ending with
12734 * BufferView_pimpl.C (MenuInsertLyXFile):
12736 2001-06-24 The LyX Project <jug@sad.it>
12738 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12741 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12743 * lyxtext.h: rename most methods to begin with a small char.
12744 Lots of changes because of this.
12746 * paragraph.C (Paragraph): do not call fitToSize
12747 (erase): call Pimpl::erase
12748 (insertChar): call Pimpl::insertChar
12749 (insertInset): call Pipl::insertInset
12750 (breakParagraph): do not call fitToSize
12751 (breakParagraphConservative): do not call fitToSize
12752 (fitToSize): remove method
12754 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12756 2001-06-24 The LyX Project <Asger>
12758 * Fix Qt compilation^2
12760 2001-06-24 The LyX Project <jug@sad.it>
12762 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12763 depthHook(getDepth()-1).
12766 * ParagraphParameters.h:
12767 * ParameterStruct.h: change type of depth to unsigned int ==
12768 depth_type. Many adaptations to other files before of that.
12770 2001-06-24 The LyX Project <Asger>
12772 * Fix Qt compilation.
12774 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12776 * paragraph.h: renamed several methods to begin with small letter.
12777 several changes to many parts of the code because of this.
12779 2001-06-23 The LyX Project <jug@sad.it>
12781 * text2.C (InsertStringAsLines): renamed from InsertStringA;
12782 rewritten to discard all double spaces when KeepEmpty is off
12783 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12784 to only handle newlines but not fiddle with spaces and friends.
12786 * lyxfunc.C (MenuNew): when doing 'new from template', use
12787 template_path as default directory
12789 2001-06-23 The LyX Project <Asger>
12791 * Clean-up of header file includes all over
12792 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12794 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12796 * paragraph.h: renamed from lyxparagraph.h
12798 2001-06-23 Asger <lyx@violet.home.sad.it>
12800 * Buffer.h: Removed Buffer::resize
12801 * BufferList.h: Removed BufferList::resize
12802 * LyXView.h: Added LyXView::resize. This way, we will only reflow
12803 the document lazily when we change the width, or the font settings.
12805 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12807 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12809 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12811 * buffer.h: remove out of date comment
12813 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12816 * screen.C: fix "theoretical" GC leak
12818 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12820 * LaTeX.C (scanAuxFile):
12821 (deplog): remove trailing \r when reading stream (useful under
12824 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
12826 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12827 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12828 and BufferView::theLockingInset(Inset*), so should use them and not
12829 access bv_->text->the_locking_inset directly.
12831 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12833 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12836 * tex-defs.h: remove old unused file
12838 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
12840 * BufferView_pimpl.C: fix typo, remove minibuffer message
12841 when buffer has loaded
12843 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12845 * lyxfunc.C (Dispatch): use stringstream
12846 (MenuNew): use stringstream
12847 (Open): use stringstream
12849 * importer.C (Import): use stringstream
12851 * bufferview_funcs.C (CurrentState): use stringstream
12853 * LaTeX.C (run): use stringstream
12855 * BufferView_pimpl.C (savePosition): use stringstream
12856 (restorePosition): use stringstream
12857 (MenuInsertLyXFile): use stringstream
12859 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
12872 * vspace.C: removed // -*- C++ -*- as first line.
12875 * version.h: added // -*- C++ -*- as first line.
12877 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12879 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12881 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12884 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12886 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12889 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12891 * gettext.C: include LString.h even when --disable-nls is on.
12893 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
12895 * converter.h (Get): changed argument type from int to
12896 FormatList::size_type to avoid unnecessary conversion.
12898 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12901 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12903 * gettext.h: include LString.h even when --disable-nls is on.
12905 2001-06-07 Juergen Vigna <jug@sad.it>
12907 * text.C (BreakAgain): subst spaces with tabs.
12909 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12910 (resizeInsetsLyXText): set force on resizeLyXText.
12912 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12914 * gettext.h (gettext_init):
12915 (locale_init): use a real definition instead of a macro
12917 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12919 * Bufferview_pimpl.C:
12921 * LColor.C: further lcolor tidies
12923 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12925 * BufferView_pimpl.C (updateScrollbar): simplify.
12927 * BufferView2.C: don't include insets/insetinfo.h, change
12928 prototype for insertInset and call the Pimpl version. let
12929 updateInset call Pimpl version.
12931 * BufferView.h: move inset_slept to BufferView::Pimpl, move
12932 gotoInset to BufferView::Pimpl
12934 2001-06-01 Juergen Vigna <jug@sad.it>
12936 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12937 inside a LockingInset (is the update needed at all?).
12939 2001-05-31 Juergen Vigna <jug@sad.it>
12941 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12942 here not the old one otherwise how should we compare it afterwards
12945 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12950 * FontInfo.C: bring C functions into global namespace when
12953 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12955 * LString.h: make sure config.h has been loaded before LString.h.
12957 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12958 (one for each char read by EatLine!).
12960 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12963 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12965 * paragraph.C (BreakParagraph): set the inset_owner in the new par
12966 to the same as the par we break from
12968 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
12970 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12972 * MenuBackend.C (expand): also create menu entries for wide
12973 versions of the floats.
12975 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12977 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12979 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12980 frontends/Makefile.am
12986 * tabular.C (getTokenValue): add std::
12988 * tabular-old.C (getTokenValue): add std::
12989 (getTokenValue): ditto
12990 (getTokenValue): ditto
12992 * screen.C (ToggleSelection): adjust
12994 * lyxtext.h: put selection cursors inside a Selection struct.
12996 * lyxfunc.C (moveCursorUpdate): adjust
12998 * lyxfont.C (latexWriteStartChanges): add std::
13000 * lyxfind.C: adjust
13002 * font.h: delete with(char const *, LyXFont const &)
13004 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13006 * FontInfo.C (getFontname): add std::
13008 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13009 (workAreaButtonPress): adjust
13010 (tripleClick): adjust
13012 (moveCursorUpdate): adjust
13015 * BufferView2.C (gotoInset): adjust
13017 2001-05-30 Juergen Vigna <jug@sad.it>
13019 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13020 to check pspell I add this as default as I now have new pspell
13021 libraries and they seem to use this.
13023 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13025 * text2.C (CutSelection): make the cursor valid before the call to
13028 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13030 * kbsequence.C (parse): de-uglify a bit the parsing code, which
13031 relied on 0 terminated strings and other horrors. Bug found due to
13032 the new assert in lyxstring!
13034 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13037 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13039 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13042 * lyxfunc.C (processKeySym): change method of getting to the
13045 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13046 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13047 * BufferView_pimpl.[Ch]: here as private methods.
13049 2001-05-28 Juergen Vigna <jug@sad.it>
13051 * text.C (SetHeightOfRow): added the update() call again as it is
13052 needed to initialize inset dimensions!
13054 2001-05-16 Juergen Vigna <jug@sad.it>
13056 * text2.C (SetCharFont): Add new function with BufferView * and
13057 bool toggleall parameters for setting insets internal fonts.
13058 (SetFont): Freeze the undo as we may change fonts in Insets and
13059 all this change should be inside only one Undo!
13061 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13062 setting font's in insets as for them we have the SetFont function!
13064 2001-05-15 Juergen Vigna <jug@sad.it>
13066 * text2.C (ClearSelection): to be sure we REALLY don't have any
13069 * tabular.C (TeXCellPreamble): fixed the left border problem for
13072 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
13074 * LaTeX.C (deplog): Make sure that the main .tex file is in the
13077 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13079 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13080 LFUN_BREAKPARAGRAPH.
13082 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13083 help test to "internal only", similar for LFUN_INSERT_URL
13085 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13086 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13087 auto_region_delete and deadkeys.
13089 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
13092 * LColor.C: remove some dead entries, tidy a little
13094 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13096 * lyxfunc.C (processKeySym): comment the Escape handling, remove
13098 (Dispatch): implement LFUN_ESCAPE
13100 * commandtags.h: add LFUN_ESCAPE
13102 * LyXAction.C (init): add entry for LFUN_ESCAPE
13104 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13105 Remove commented code.
13106 (insertNote): moved here
13107 (open_new_inset): moved here
13109 * BufferView[2].[Ch]: move insertNote and open_new_inset to
13112 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13114 * kbmap.C (findbinding): clean it up and make it work correctly.
13116 * lyx_main.C (init): do not pass argc and argv as parameters
13118 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
13120 * buffer.C: fix path for OS/2 & Win32
13124 * lyx_main.C: Added os:: class.
13126 * os2_defines.h: update
13128 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13130 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13131 better by trying again with reduced state.
13133 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13135 * lyxrc.C (read): print error about invalid key sequence only when
13136 debugging (because not all latinX keysyms are known to some X
13139 * kbsequence.C (getiso): add a few std:: qualifiers
13140 (getiso): comment out extra return statement.
13142 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
13144 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13146 (Dispatch): enhance the accent inset a bit. (not perfect)
13148 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13150 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13152 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13154 * bufferlist.C (emergencyWrite): fix assert() call
13156 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
13158 * text.C (InsertChar): Added trivial patch to only send the "you
13159 can not do multiple spaces this way" message once during a
13162 2001-05-08 Baruch Even <baruch@lyx.org>
13164 * Makefile.am: Changed order of libraries to get LyX to link properly
13165 with the gnome frontend.
13167 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13169 * LaTeXFeatures.h: add a std:: qualifier
13171 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13173 * paragraph.C (String): use stringstream
13175 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13177 * paragraph.C (writeFile): remove footflag arg
13179 * buffer.C (makeLaTeXFile): use stringstream
13180 (latexParagraphs): remove footnot gurba
13182 * LaTeXFeatures.C (getPackages): use stringstream
13183 (getMacros): likewise
13184 (getTClassPreamble): likewise
13185 (getFloatDefinitions): new method
13187 * paragraph.C (writeFile): reindent
13190 * WorkArea.h: revert the xpos + etc changes.
13192 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13194 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13196 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13197 (pasteSelection): likewise
13198 * text2.C (CreateUndo): likewise
13200 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13202 * minibuffer.C (peek_event): temporarily reduce the functionality
13203 of the minibuffer (to allow args on lfuns)
13205 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13206 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13208 * buffer.C (readInset): add compability reading of old float
13209 lists, add reading of new style float list.
13210 (readInset): avoid reevaluation of inscmd.getCmdName()
13211 (getLists): reindent
13213 * MenuBackend.C (MenuItem): implement parsing of
13214 md_floatlistinsert and md_floatinsert.
13215 (expand::LastFiles): move initalizaton of iterators out of loop,
13216 avoid reevaluation.
13217 (expand::Documents): introduce typdedef vector<string> Strings,
13219 (expand::ExportFormats): introduce typedef vector<Format const *>
13220 Formats, and use it.
13221 (expand): implement FloatListInsert and FloatInsert.
13223 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13224 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13225 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13227 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13229 (Dispatch::LFUN_FLOAT_LIST): implement
13231 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13233 * LaTeX.C (run): Fix problem with --export code.
13235 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13237 * BufferView.[Ch] (workarea): removed.
13238 (getClipboard) new method; wrapper for workarea()->getClipboard()
13240 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13243 * WorkArea.h (width, height, xpos, ypos): These methods all
13244 returned the dimensions of the work_area sub-area of WorkArea,
13245 resulting in a position error if the WorkArea were resized. Now
13246 return the dimensions of the entire WorkArea.
13248 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13250 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13252 * LaTeX.C (deplog): correct the syntax of regex reg1
13254 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13256 * undo.C: remove !NEW_INSETS cruft
13258 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13260 * text2.C: remove !NEW_INSETS cruft
13262 * text.C: remove !NEW_INSETS cruft
13264 * tabular.C: remove !NEW_INSETS cruft
13266 * spellchecker.C: remove !NEW_INSETS cruft
13268 * lyxtext.h: remove !NEW_INSETS cruft
13270 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13272 * lyxfunc.C: remove !NEW_INSETS cruft
13274 * lyxfind.C: remove !NEW_INSETS cruft
13276 * lyx_cb.C: remove !NEW_INSETS cruft
13278 * figureForm.C: remove !NEW_INSETS cruft
13280 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13282 * buffer.[Ch]: remove !NEW_INSETS cruft
13284 * ToolbarDefaults.C: remove !NEW_INSETS cruft
13286 * CutAndPaste.C: remove !NEW_INSETS cruft
13288 * BufferView_pimpl.C: remove !NEW_INSETS cruft
13290 * BufferView2.C: remove !NEW_INSETS cruft
13292 * BufferView.h: remove !NEW_INSETS cruft
13294 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13296 * Lsstream.h: include LString.h before the sstream headers to
13297 fix problem with gcc 2.95.3 and lyxstring
13299 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13301 * lyx_main.C: add using directives when needed for C functions
13302 declared in std:: namespace.
13304 2001-04-27 Juergen Vigna <jug@sad.it>
13306 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13307 (SetHeightOfRow): comment out the update call should not be needed!
13309 2001-04-13 Juergen Vigna <jug@sad.it>
13311 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13312 (LyXTabular): tried to minimize operator= operations (and realized
13313 hopfully Lars wish).
13315 2001-04-27 Juergen Vigna <jug@sad.it>
13317 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13319 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13321 * lyxfunc.C (Dispatch): hack to make listof algorithm work
13323 * buffer.C (readInset): hack to make listof algorithm work
13325 * BufferView_pimpl.C: hack to make listof algorithm work
13327 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13329 * LyXAction.C: removed all !NEW_INSETS cruft
13330 (init): moved lfun_item in method
13332 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13334 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13336 * BufferView2.C (theLockingInset): white space.
13338 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13340 * minibuffer.C: include <iostream>
13342 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13344 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13346 * commandtags.h: add LFUN_TRANSPOSE_CHARS
13348 * text.[Ch] (TransposeChars): new method
13350 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13352 * call message directly through LyXView instead of through LyXFunc
13353 * BufferView2.C: adjust
13354 * BufferView_pimpl.C: adjust
13355 * FontLoader.C: adjust
13357 * bufferview_funcs.C: adjust
13358 * converter.C: adjust
13359 * figureForm.C: adjust
13360 * importer.C: adjust
13362 * lyx_gui_misc.C: adjust
13363 * lyxfunc.C: adjust
13366 + more files in subdirs
13368 * lyxparagraph.h (size): move up int file
13371 * adjust all uses of Assert to lyx::Assert.
13373 * BufferView2.C (ChangeCitationsIfUnique): adjust for
13374 lyxfunctional in namespace lyx
13375 * layout.C (hasLayout): ditto
13378 (delete_layout): ditto
13379 (NumberOfClass): ditto
13380 * converter.C (GetFormat): ditto
13385 * bufferlist.C (getFileNames): ditto
13386 (emergencyWriteAll): ditto
13389 * MenuBackend.C (hasSubmenu): ditto
13392 * BufferView_pimpl.C (getInsetByCode): ditto
13394 2001-04-18 Juergen Vigna <jug@sad.it>
13396 * vspace.C (asLatexString): fixed the 100% problem.
13398 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13400 * lyxfunc.C (Dispatch):
13402 * minibuffer.h: add a few std:: qualifiers
13404 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13406 * minibuffer.[Ch]: reimplement so that commands is initiated and
13407 run from lyxfunc, simplified som handling, and made the completion
13408 and history code for complete. wip.
13410 * lyxfunc.C (processKeySym): call message
13411 (miniDispatch): new temporary method
13412 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13413 (LFUN_MESSAGE): implement
13414 (LFUN_MESSAGE_PUSH): implement
13415 (LFUN_MESSAGE_POP): implement
13416 (initMiniBuffer): the initial/defualt minibuffer message.
13418 * lyxfont.[Ch]: inline some more getters
13420 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13422 * lyx_gui_misc.[Ch] (WriteStatus): remove method
13424 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13425 (AutoSave): use LFUN_MESSAGE
13426 (Reconfigure): ditto
13428 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13430 * figureForm.C: use LFUN_MESSAGE
13432 * converter.C (runLaTeX): use LFUN_MESSAGE
13434 * bufferview_funcs.C: use LFUN_MESSAGE
13436 (changeDepth): ditto
13438 * bufferparams.h: use boost::
13440 * bufferlist.h: inherit privately from noncopyable
13442 * bufferlist.C (loadLyXFile): remove some commented code.
13444 * buffer.C (runChktex): use LFUN_MESSAGE
13446 * ShareContainer.h: inherit privately from noncopyable
13448 * ParagraphParameters.[hC] (depth): inline it.
13450 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13452 (message): new method
13453 (messagePush): ditto
13454 (messagePop): ditto
13455 (show): init minibuffer
13456 (showState): direct call
13458 * LaTeX.[Ch]: inherit privately from noncopyable
13459 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13460 instead of WriteStatus.
13462 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13464 * BufferView_pimpl.C (buffer): don't init minibuffer
13465 (workAreaButtonPress): use LFUN_MESSAGE
13466 (workAreaButtonRelease): ditto
13467 (savePosition): ditto
13468 (restorePosition): ditto
13469 (MenuInsertLyXFile): ditto
13470 (workAreaExpose): don't init minibuffer
13471 (update): remove commented code, simplify
13473 * BufferView2.C (openStuff): use LFUN_MESSAGE
13474 (toggleFloat): ditto
13477 (copyEnvironment): ditto
13478 (pasteEnvironment): ditto
13483 (updateInset): remove some commented code
13485 * lastfiles.h: inherit privately from noncopyable
13488 * lyx_main.h: ditto
13490 * lyxlex_pimpl.h: ditto
13492 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13493 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13494 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13496 * LyXAction.h: inherit privately from noncopyable, add methods
13497 func_begin, func_end, returning iterators to the func map.
13499 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13500 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13501 (func_begin): new method
13502 (func_end): new method
13504 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13506 (copySelection): ditto
13507 (pasteSelection): ditto
13509 * BufferView.C: whitespace change
13510 * BufferView.h: inherit privately from noncopyable
13512 2001-04-16 Allan Rae <rae@lyx.org>
13514 * tabular-old.C (l_getline):
13515 * spellchecker.C (sc_check_word):
13516 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13517 an unrecognised preprocessor directive. So ensure they're wrapped.
13519 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
13521 * src/exporter.C (Export): Give an error message when path to file
13524 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
13526 * LaTeX.C (deplog): Always check that foundfile exists.
13528 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13531 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13533 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13535 * tabular.[Ch] (getLabelList): implement new method
13537 * minibuffer.h: comment ouf setTiimer
13539 * minibuffer.C (ExecutingCB): constify res
13540 (peek_event): constify s
13541 (Set): constify ntext
13542 (Init): constify nicename
13544 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13546 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13547 (savePosition): use two params to Minibuffer::Set
13548 (restorePosition): ditto
13550 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13552 * lyx_main.C: include language.h
13554 * Makefile.am (lyx_main.o): add language.h
13556 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13562 * CutAndPaste.C: include gettext.h
13564 * lyxfont.h: remove old hack with ON and OFF.
13567 * lyxfont.h: do not include language.h...
13572 * bufferview_funcs.C:
13578 * paragraph.C: ... but do it here instead
13580 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13582 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13584 * tabular.C: small reformat
13586 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13589 (BreakParagraph): ditto
13590 (SetOnlyLayout): ditto
13593 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13596 * lastfiles.C: removed most using decl, add std:: where needed
13598 * buffer.C: ws changes
13600 * MenuBackend.C (class compare_format): put into anon namespace
13601 (expand): constify label, names, action, action2
13604 * text.C (SingleWidth): constify font
13605 (IsBoundary): constify rtl2
13606 (GetVisibleRow): constify ww
13608 * LaTeX.C (deplog): constify logfile
13610 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13612 (workAreaExpose): constify widthChange, heightChange
13614 * lyxrow.C (par): moved
13617 * lyxrow.h: as inlines here
13619 * lyxfont.h (shape): moved from lyxfont.C
13620 (emph): moved from lyxfont.C
13622 * lyxfont.C (LyXFont): use initialization list for all
13624 (shape): move to lyxfont.h as inline
13625 (emph): move to lyxfont.h as inline
13628 2001-04-04 Juergen Vigna <jug@sad.it>
13630 * vspace.C: had to include stdio.h for use of sscanf
13632 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
13635 * BufferView_pimpl.h: remove xforms cruft. Both classes are
13636 independent of xforms.
13638 2001-04-02 Juergen Vigna <jug@sad.it>
13640 * spellchecker.C: fixed namespace placing!
13642 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
13644 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13645 the LyXParagraph * is 0.
13647 2001-03-29 Juergen Vigna <jug@sad.it>
13649 * vspace.C: added support for %, c%, p%, l%.
13650 (stringFromUnit): added helper function.
13651 (asLatexString): changed to give right results for the %-values.
13653 * buffer.C: convert the widthp in a width%.
13655 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
13657 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13660 * figureForm.[Ch]: stripped the FD_from_figure manipulation
13661 code out of lux_cb.[Ch], ready for its (imminent?) removal.
13663 * lyx_cb.[Ch]: see above.
13665 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13669 * lyx.[Ch]: replaced by figure_form.[Ch].
13673 * lyxfunc.C: changed headers associated with above changes.
13675 2001-03-27 Juergen Vigna <jug@sad.it>
13677 * BufferView_pimpl.C: set the temporary cursor right!
13679 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
13681 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13683 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
13685 * LString.h: removed "using std::getline"!
13687 * BufferView_pimpl.C (Dispatch): changes due to changes in
13688 InsetInclude::Params.
13690 * buffer.C (tag_name): removed redundant break statements as they were
13691 producing lots of warnings with my compiler.
13693 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13695 * LString.h: add "using std::getline" when using the real <string>.
13697 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
13699 * buffer.C: removed bitset usage.
13700 PAR_TAG moved to an anonymous name space.
13701 (tag_name): new funtion, also in the anonymous namespace.
13702 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13703 (makeDocBookFile): clean code. Completed transition from string arrays
13705 (SimpleDocBookOnePar): code clean.
13707 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13709 * tabular.C: add some comments.
13711 2001-03-22 Juergen Vigna <jug@sad.it>
13713 * buffer.C (parseSingleLyXformat2Token): redone the minipage
13714 compatibility read a bit and fixed bug with minipage in different
13717 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
13719 * buffer.C (pop_tag): removed.
13720 (push_tag): removed.
13721 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13722 array replaced with vector. Added support for CDATA sections.
13723 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13725 (makeDocBookFile): XML conformant declaration of CDATA section,
13726 fixed bug related to <emphasis> in the first paragraph char.
13727 (sgmlOpenTag): exclude empty tags.
13728 (sgmlCloseTag): ditto.
13730 * buffer.h (pop_tag): removed.
13731 (push_tag): removed.
13733 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
13735 * language.h (Languages): added size_type and size().
13737 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13739 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13740 response on compability reading of minipages. One probliem is that
13741 the old usage of minipages was «flertydig»
13743 * several files here and in subdirs: don't use static at file
13744 scope use anon namespaces instead.
13746 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
13748 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13749 LaTeX output. This is necessary for Literate document
13752 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13754 * buffer.C: insert hfill when needed.
13756 * tabular.C (l_getline): use string::erase, small whitespace change.
13758 * BufferView_pimpl.C: try the anon namespace.
13759 * WorkArea.C: ditto
13761 2001-03-16 Juergen Vigna <jug@sad.it>
13763 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13764 otherwise it won't open options-dialogs.
13766 * buffer.C: honor pextraWidth(p) on converting minipages.
13768 * tabular.C (l_getline): changed the functions to strip trailing \r.
13770 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
13772 * BufferView_pimpl.C:
13773 * minibuffer..C: added "using SigC::slot" declaration.
13775 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13777 * lyxlex_pimpl.h: noncopyable is in namespace boost.
13783 * paragraph.C: ditto
13785 * lyxtext.h: NO_PEXTRA
13787 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13789 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13790 * ParameterStruct.h: ditto
13791 * ParagraphParameters.h: ditto
13792 * lyxparagraph.h: ditto
13794 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13796 * buffer.C: add compability for minipage alignment.
13797 (latexParagraphs): remove unwanted pextra check.
13799 * several files: remove CXX_WORKING_NAMESPACES
13801 * buffer.C (pop_tag): tie is in namespace boost
13803 * BufferView.h: noncopyable is in namespace boost
13805 * lyx_main.h: ditto
13808 * lastfiles.h: ditto
13809 * bufferlist.h: ditto
13810 * ShareContainer.h: ditto
13812 * LyXAction.h: ditto
13815 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13817 * Merging changes from BRANCH_MVC back into HEAD.
13819 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13821 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
13823 * BufferView_pimpl.C: change from intl.C
13827 * Makefile.am: move combox.*
13833 * intl.C: remove dialog (covered by prefs)
13835 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13837 * lyxfunc.C (Dispatch): removed redundant break statement.
13839 2001-03-14 Juergen Vigna <jug@sad.it>
13841 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13843 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13845 * buffer.C: add hack to fix compability reading of minipages.
13847 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
13849 * buffer.C (getLists): Cleanup.
13851 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13853 * lyxfont.C (update): don't honor toggleall on font size.
13855 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
13859 * Makefile.am: moved to frontends/xforms/
13863 * BufferView_pimpl.C: changes for moved mathpanel
13865 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13867 * gettext.h: fix gettext_init() in --disable-nls
13869 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13871 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13873 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
13876 * lyx.h: strip external form
13878 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13880 * BufferView_pimpl.C: add comment, destroySplash()
13882 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13884 * BufferView_pimpl.C:
13888 * lyxfunc.C: use re-worked insetinclude
13890 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13892 * buffer.C: add using std::stringstream.
13894 * lyx_cb.C: readd using std::ios.
13896 * buffer.C: add using std::map.
13898 * BufferView_pimpl.C: add using std::vector.
13900 * ShareContainer.h: add std:: to swap.
13902 * buffer.h: add some typedefs
13903 * buffer.C (getLists): use them
13904 (getLists): renamed from getTocList.
13905 add a counter for the different float types and use it in the
13907 (getLists): use the same counter for the NEW_INSETS and the "non"
13910 * lyx_cb.h: remove unused items, includes, using etc.
13912 * ShareContainer.h: remove some commented code, add more comments
13913 and "documentation".
13915 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13917 * buffer.C (getTocList): make the list also when NEW_INSETS is
13920 * buffer.h: remove TocType
13922 * buffer.C (getTocList): change to return a map<string,
13923 vector<TocItem> >, implement for dynamic number of list.
13925 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13926 * text2.C (PasteSelection): adjust
13927 * CutAndPaste.C (pasteSelection): adjust
13929 * FloatList.C (FloatList): update from the new_insets branch.
13930 * Floating.[Ch]: ditto
13931 * LaTeXFeatures.C: ditto
13933 * lyxlex_pimpl.C: ditto
13935 * paragraph.C (Last): remove when NEW_INSETS is defined.
13937 * other file: changes because of the above.
13939 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13941 * lyxparagraph.h: rename next to next_, previous to previous_,
13942 make them private for NEW_INSETS. Rename Next() to next(),
13943 Previous() to previous().
13945 * other files: changes because of the above.
13947 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
13950 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13953 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13955 * main.C (main): pass lyx_localedir to gettext_init().
13957 * gettext.h: remove locale_init and gettext_init macros
13959 * gettext.C (locale_init): new function
13960 (gettext_init): new function
13962 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13965 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
13967 * Moved credits to frontends:
13968 * credits.[Ch]: removed
13969 * credits_form.[Ch]: removed
13970 * lyx_gui_misc.C: remove credits stuff
13973 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13975 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13977 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13978 unneeded destructor.
13980 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13981 a standalone pointer again.
13983 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13985 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
13991 * ToolbarDefaults.C:
14000 * BufferView_pimpl.C: use new file dialog in GUII
14003 * lyx_cb.C: remove LayoutsCB to Toolbar
14005 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14007 * ShareContainer.h (get): add std:: qualifier
14009 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14011 * ShareContainer.h: define a proper ShareContainer::value_type
14012 type (and use typename to please compaq cxx)
14014 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14016 * lyxparagraph.h: move serveral local vars to
14017 ParameterStruct/ParagraphParameters., use ShareContainer in
14018 FontTable., make vars in FontTable private and add getter and
14021 * paragraph.C: changes because of the above.
14023 * lyxfont.h: remove copy constructor and copy assignment. (the
14024 default ones is ok), move number inside FontBits. move inlines to
14027 * lyxfont.C: add number to initializaton of statics, move several
14028 inlines here. constify several local vars. some whitespace
14029 cleanup. Dont hide outerscope variables.
14031 * Spacing.h: add two new constructors to match the set methods.
14033 * ShareContainer.h: new file, will perhaps be moved to support
14035 * ParameterStruct.h: new file
14037 * ParagraphParameters.h: new file
14039 * ParagraphParameters.C: new file
14041 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14042 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14044 * BufferView_pimpl.C: ParagraphParameter changes.
14045 * buffer.C: Likewise.
14046 * bufferview_funcs.C: Likewise.
14047 * text.C: Likewise.
14048 * text2.C: Likewise.
14050 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14052 * lyxfind.C (LyXReplace): do not redefine default argument in
14054 (IsStringInText): ditto
14055 (SearchForward): ditto
14056 (SearchBackward): ditto
14058 2001-03-06 Juergen Vigna <jug@sad.it>
14060 * lyxfind.C (IsStringInText): put parentes around expressions.
14062 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
14064 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14066 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
14068 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14070 * stl_string_fwd.h: add comment
14072 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14075 * tabular.C: remove unused DocBook methods
14081 killed DO_USE_DEFAULT_LANGUAGE
14083 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14085 * lyx_gui.C: do not include language.h.
14087 * bufferview_funcs.C (ToggleAndShow): do not provide optional
14088 arguments in function implementation.
14090 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14092 * BufferView_pimpl.C: add <ctime>
14094 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14096 * BufferView_pimpl.C: add using std::find_if
14098 2001-02-27 José Matos <jamatos@fep.up.pt>
14100 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14103 2001-02-11 José Matos <jamatos@fep.up.pt>
14105 * buffer.C (makeDocBookFile): command styles now have a parameter as
14106 "title" by default.
14108 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
14110 * layout_forms.[Ch]: removed
14111 * lyx_cb.[Ch]: out character
14112 * lyx_gui.C: out character
14113 * lyx_gui_misc.C: out character
14114 * bufferview_funcs.C: : out character,
14115 added toggleall as parameter in ToggleAndShow
14117 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
14119 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14121 * text2.C (SetCurrentFont): Disable number property at boundary.
14123 2001-02-26 Juergen Vigna <jug@sad.it>
14125 * lyxfunc.C (getStatus): added a string argument override function so
14126 that this is correctly called from LyXFunc::Dispatch if it contains a
14127 do_not_use_argument which is used!
14128 (Dispatch): added check for "custom" export and call appropriate func.
14130 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
14132 * lyxrc.C: Add language_command_local, language_use_babel and
14133 language_global_options.
14135 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14137 * buffer.C (makeLaTeXFile): Use language_use_babel and
14138 language_global_options.
14140 2001-02-23 Juergen Vigna <jug@sad.it>
14142 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14143 which works with LyXText and putted it inside BufferView. Here now we
14144 only call for that part the BufferView::Dispatch() function.
14146 * BufferView.C (Dispatch): added.
14148 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14149 functions which needs to use a LyXText over from LyXFunc.
14150 (MenuInsertLyXFile): added
14151 (getInsetByCode): added
14152 (moveCursorUpdate): added
14153 (static TEXT): added
14155 2001-02-22 Juergen Vigna <jug@sad.it>
14157 * BufferView_pimpl.C (update): call a status update to see if LyXText
14160 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14162 * vc-backend.C (revert): implement for CVS
14163 (getLog): implement for CVS
14165 2001-02-20 Juergen Vigna <jug@sad.it>
14167 * text2.C (ClearSelection): added BufferView param for inset_owner call
14169 * lyxfunc.C (TEXT): added this function and use it instead of
14170 directly owner->view()-text of getLyXText().
14172 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
14174 * src/layout_forms.C: out preamble
14175 * src/layout_forms.h: out preamble
14176 * src/lyx_cb.C: out preamble
14177 * src/lyx_cb.h: out preamble
14178 * src/lyx_gui.C: out preamble
14179 * src/lyx_gui_misc.C: out preamble
14180 * src/lyxfunc.C: connect with guii preamble
14182 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14184 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14186 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14188 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14189 whether to run bibtex.
14191 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14193 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14195 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14197 * Makefile.am (lyx_SOURCES): removed bibforms.h
14199 * vspace.h: doxygen
14201 * text.C (GetVisibleRow): make several local vars const
14203 * tabular.C: small cleanup.
14205 * lyxserver.C (callback): use compare instead of strncmp
14207 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14208 inlines to after class or to paragraph.C
14210 * lyxfont.h: remove friend operator!=
14212 * converter.h: move friend bool operator< to non friend and after
14215 * combox.h: small cleanup
14217 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14218 to inlines after class def.
14220 * buffer.C (pop_tag): use string operations instead of strcmp
14222 * bmtable.c: doxygen, small cleanup
14224 * LaTeX.h: remove friend operator==
14226 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14238 * BufferView_pimpl.C:
14239 * BufferView.[Ch]: remove cruft
14241 2001-02-14 Juergen Vigna <jug@sad.it>
14243 * lyxfunc.C: removed #if 0 unused code
14245 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14247 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14249 * text2.C (SetSelection): added a BufferView * parameter
14251 2001-02-13 Juergen Vigna <jug@sad.it>
14253 * lyxfunc.C (Dispatch): fixed protected blank problem.
14254 * BufferView2.C (protectedBlank): added LyxText * parameter.
14256 * tabular.C (AppendRow): forgot to set row_info of newly added row.
14257 (AppendColumn): same as above for column_info.
14259 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14260 (moveCursorUpdate): use a LyXText param for support of InsetText.
14262 * BufferView_pimpl.C (doubleClick): added support for InsetText.
14263 (tripleClick): ditto
14265 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14267 * BufferView_pimpl.C (update): added LyXText param to honor insets.
14269 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14271 * text2.C (SetSelection): set correct update status if inset_owner
14272 (ToggleFree): ditto
14274 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
14276 * tabular.C: remove some commented code.
14278 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
14280 * BufferView_pimpl.C: call hideSplash()
14282 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14285 * bibforms.h: remove
14288 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14289 add LFUN_CHILD_CREATE
14291 * counters.h: fix tiny typo
14296 * lyx.C: move splash to frontends/xforms/
14298 * lyx_gui_misc.C: move Include and Bibform to frontends
14300 * lyxvc.h: clarify comment
14302 * vspace.C: tiny housekeeping
14304 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
14306 * text.C (PrepareToPrint): RTL Fix.
14308 * paragraph.C (GetUChar): New method.
14309 (String): Use GetUChar.
14311 * buffer.C (asciiParagraph): Use GetUChar.
14313 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
14315 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14317 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
14320 * buffer.C: rename to getLogName(), handle
14321 build log / latex log nicely
14323 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14326 * MenuBackend.h: remove support for reference menuitem type.
14328 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
14330 * BufferView_pimpl.C: housekeeping
14331 * BufferView_pimpl.h:
14336 * minibuffer.h: move Timeout GUI-I
14338 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
14340 * lyxrc.C (read): Update converters data-structures.
14342 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
14344 * LaTeX.h (operator!=): add operator != for Aux_Info
14346 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
14348 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14350 * LaTeXLog.C: deleted, useful code moved to Buffer
14353 * buffer.C: new function getLatexLogName()
14359 * lyxfunc.C: use frontends for LaTeX and VC logs
14361 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14363 * LaTeX.h: yet another std:: that Allan forgot.
14365 * Variables.C (set): renamed from isset(), because this clashes
14366 with some HP-UX macros (grr).
14368 2001-02-06 Allan Rae <rae@lyx.org>
14370 * LaTeX.h: Another bug fix. Missing std:: this time.
14372 2001-02-04 Allan Rae <rae@lyx.org>
14374 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14375 floats problem. I've left it commented out because it's not quite
14376 correct. It should also test that the current object is a table or
14377 figure inset. But I haven't gotten around to figuring out how to do
14378 that. I *think* it'll be something like: "table" == inset.type()
14380 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14383 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
14385 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14386 all the citation/databases/styles in the auxilary file.
14387 (run): Rerun latex if there was a babel language error.
14389 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
14391 * text.C (Backspace): Preserve the font when changing newline char
14393 (BreakParagraph): If the cursor is before a space, delete the space.
14395 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14397 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
14399 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14400 new argument (code).
14401 (ChangeCitationsIfUnique): New method.
14403 * paragraph.C (GetPositionOfInset): Handle bibkey.
14405 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14407 * BufferView_pimpl.h: change type of Position::par_pos to
14408 LyXParagraph::size_type.
14410 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
14412 * BufferView_pimpl.C (savePosition, restorePosition): Write
14413 messages to minibuffer.
14415 2001-01-28 José Matos <jamatos@fep.up.pt>
14417 * buffer.C (makeDocBookFile): adds support for document language.
14418 A silly restriction on the name of LatexCommand types where removed.
14419 Added support for CDATA sections, allows to chars unescaped, used
14420 among others in code, to avoid escape < and >.
14422 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14424 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14425 saved positions instrad of a stack. Furthermore, a position is
14426 stored using paragraph id/paragraph position.
14428 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14429 Remove LFUN_REF_BACK.
14431 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14433 * converter.C (dvipdfm_options): New method.
14435 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
14437 * vspace.C (isValidLength): Fix for empty input string.
14439 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14441 * LyXAction.C (init): change description of LFUN_FIGURE to
14444 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14446 * LaTeX.C: add using directive
14448 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14450 * MenuBackend.C (expand): Fix the sorting of the formats.
14452 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
14454 * lyx_main.C: tiny error message fix
14456 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14458 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14459 calling fl_initialize(). This fixes the problem with ',' as
14460 decimal separator in text files.
14462 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14464 * trans.C (process): Fix the keymap bug.
14466 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
14468 * LaTeX.C (scanAuxFiles): New method. Provides support for
14469 multiple bibliographies (when using the bibtopic/bibunits pacakges).
14470 (scanLogFile) Scan for "run BibTeX" messages.
14472 * buffer.C (makeLaTeXFile): Do not load the ae package when using
14473 OT1 font encoding. Also, load the aecompl package if the ae
14476 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14478 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14480 * texrow.C (increasePos): turn two error messages into debug
14483 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
14485 * LaTeX.C (scanAux): Handle the \@input macro.
14486 (runBibTeX): Use scanAux().
14488 * language.C (latex_options_): New field.
14490 * LaTeXFeatures.C (getMacros): Add language macros.
14492 * buffer.C (makeLaTeXFile): Small fix.
14494 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14496 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14498 * text2.C: add a using directive.
14500 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
14505 * lyxfunc.C: kill LyXBell.
14507 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
14509 * text.C (IsBoundary): Remove the error message
14511 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14513 * lyxrc.C (setDefaults): Correct initialization value for
14516 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
14518 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14521 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14522 and GotoNextNote().
14524 * src/LyXAction.C: Added reference-next.
14526 * text.C (InsertChar): Use contains instead of strchr.
14528 * lyx_cb.C (MenuInsertLabel): Enable default value code.
14530 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
14532 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14533 alignment commands (when needed).
14535 * text.C (InsertChar): Add ':' to number separator chars.