2 2004-02-20 André Pönitz <poenitz@gmx.net>
4 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
6 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
8 * text2.C (setCursorFromCoordinates): switch to absolute coords
11 * text3.C (dispatch): adjust
13 2004-02-16 André Pönitz <poenitz@gmx.net>
15 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
18 * cursor_slice.[Ch]: remove unneeded acessor function
20 * lyxtext.h: rename rtl() to isRTL()
29 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
31 * rowpainter.C (paintSelection): coord fix
33 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
35 * Spacing.C: compile fix
37 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
39 * cursor.C (dispatch): restore current_ before returning
41 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
43 * text2.C (cursorUp, cursorDown): fix coords
46 2004-02-12 André Pönitz <poenitz@gmx.net>
51 * text3.C: add LCursor & parameter to most cursor movement functions
52 remove usage of LyXText::cursorRow() and cursorPar()
54 * cursor.[Ch]: add textRow() needed members
60 * BufferView_pimpl.C: adjust
62 2004-02-11 André Pönitz <poenitz@gmx.net>
66 * BufferView_pimpl.C: shift undo/redo handling
68 * cursor.[Ch]: fix mathed crash
71 * lyxtext.h: move selectionAsText to LCursor
79 * rowpainter.C: fix excessive drawing
81 2004-02-06 André Pönitz <poenitz@gmx.net>
84 * BufferView_pimpl.[Ch]:
85 * text3.C: move some text specific LFUN handling
87 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
89 * text3.C (checkInsetHit): adjust coords
90 * text2.C (getColumnNearX): adjust coords
92 * text.C (getRowNearY): add two asserts
94 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
97 * format.C: add using std::distance to compile on gcc 2.95/stlport
99 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
101 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
103 2004-02-04 André Pönitz <poenitz@gmx.net>
105 * BufferView.[Ch] (insertInset):
106 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
111 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
113 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
114 on the default clause of the switch
115 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
116 wasn't catched by LCursor::dispatch
118 2004-02-03 André Pönitz <poenitz@gmx.net>
121 * cursor.[Ch]: some additional asserts
123 * undo.[Ch]: remove LyXText dependency in interface
127 * lyxtext.h (firstPar, lastPar): remove dead functions
132 * paragraph.[Ch]: adjust
134 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
136 * lyxfind.C (find): fix argument order in call to ::find
138 2004-02-02 André Pönitz <poenitz@gmx.net>
140 * cursor.[Ch]: remove direct access to anchor
142 * text.C: remove findText() hack
144 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
146 * iterators.[Ch] (lockPath): remove in favour of...
147 * BufferView.[Ch] (setCursor): this addition
148 * BufferView.C (putSelectionAt): adjust
149 * undo.C (performUndoOrRedo): adjust
150 * lyxfunc.C (dispatch): adjust
152 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
154 * iterators.C (lockPath): add a missing slice
155 * undo.C (performUndoOrRedo): remove redundant positioning code
157 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
159 * vc-backend.C (scanMaster): ";" -> ';'
161 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
163 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
166 * lyxtextclass.C (compare_name): rename to...
167 (LayoutNamesEqual): ...this
169 * lyxlex_pimpl.C (compare_tags): inherit from
170 std::binary_function, put back into anon namespace
172 * lyxfind.C (MatchString): inherig from std::binary_function
173 (findChange): use empty() istead of !size()
175 * format.C (FormatNamesEqual): new functor
182 * converter.C (compare_Converter): rename to...
183 (ConverterEqual): ...this, and fixup a bit.
184 (getConverter): use it, and make function const
185 (getNumber): use it, and make function const
189 * bufferlist.C: add using boost::bind
191 * MenuBackend.C (MenuNamesEqual): new functor
192 (hasMenu): use it, and make function const
193 (hasSubmenu): use nested bind to get rid of compare_memfun.
195 2004-01-30 André Pönitz <poenitz@gmx.net>
197 * BufferView_pimpl.C:
208 * text3.C: move some of the edit(x,y) handling to the insets
209 some coordinate changes.
211 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
213 * text.C: add using statements for std::advance and std::distance
215 * paragraph.C: add using statement for std::distance
217 * lyxfind.C: add using statement for std::advance
219 * cursor.C (region): remove std:: from swap
220 (openable): use nucleus in stead of operator->
222 * BufferView.C: add using statements for std::distance and std::swap
224 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
226 * iterators.C: Remove the pimple, move the needed structures to
227 the header file. Create accessor for the positions stack.
228 (asPosIterator): remove function
230 * PosIterator.C (PosIterator): move constructors to top of file
231 (PosIterator): reimplement the constructor taking a ParIterator in
233 (setFrom): new function
234 (operator!=): inline it
236 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
238 * lyxfind.C (replaceAll): use std::advance
240 * iterators.h: inherit from std::iterator.
242 * PosIterator.C (advance, distance): remove
243 * PosIterator.h: interit from std::iterator.
245 2004-01-26 André Pönitz <poenitz@gmx.net>
248 * BufferView_pimpl.[Ch]:
252 * bufferview_funcs.C:
263 * output_plaintext.C:
265 * paragraph_funcs.[Ch]:
266 * paragraph_pimpl.[Ch]:
272 * text3.C: more IU: dumps most of the rest of the mathcursor
273 implementation into cursor.[Ch]; "globalize" a bit of it.
275 2004-01-25 Angus Leeming <leeming@lyx.org>
277 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
279 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
281 * LaTeXFeatures.h: add nice_ and nice() const
282 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
284 2004-01-20 André Pönitz <poenitz@gmx.net>
287 * BufferView_pimpl.C:
289 * bufferview_funcs.C:
302 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
303 LCursor and mathcursor parts to LCursor and InsetBase.
305 2004-01-15 André Pönitz <poenitz@gmx.net>
307 * cursor_slice.[Ch]: add a few covienience functions
309 * funcrequest.[Ch]: remove BufferView * member
311 * BufferView_pimpl.C:
318 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
320 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
322 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
323 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
325 2004-01-13 André Pönitz <poenitz@gmx.net>
328 * lyxtext.h: hide cursor and selection anchor behind accessor function
331 * BufferView_pimpl.[Ch]:
333 * bufferview_funcs.C:
343 * cursor_slice.[Ch]: some integer type changes for inset unification
345 * lyxcursor.[hC]: remove, it's CursorSlice now.
348 * BufferView_pimpl.[Ch]:
349 * bufferview_funcs.C:
355 * textcursor.[Ch]: adjust
357 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
359 * text2.C (undoSpan): add and use
360 * text.C (breakParagraph): use undoSpan (fix bug 578)
363 2004-01-08 Angus Leeming <leeming@lyx.org>
365 * BufferView_pimpl.C (MenuInsertLyXFile):
366 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
367 * lyxfunc.C (menuNew, open, doImport):
368 FileFilterList change to the FileDialog open and save functions.
370 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
372 * ShareContainer.h: make isEqual and isUnique adaptable
374 * CutAndPaste.C: make resetOwnerAndChanges adaptable
376 2004-01-07 Angus Leeming <leeming@lyx.org>
379 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
381 * BufferView_pimpl.C (dispatch): act on these LFUNs.
383 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
384 functions replacing find, replace and replaceAll.
386 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
387 LFUN_WORDFIND(FORWARD|BACKWARD).
389 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
391 * text.C (breakParagraph): remove an outdated #warning
393 2004-01-07 André Pönitz <poenitz@gmx.net>
395 * lyxfind.C: somewhat clearer logic
397 * text.C: prevent crash in cursorX on unitialized row cache
399 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
401 * lyxcursor.[Ch] (operator>): add
402 * textcursor.C (selStart, selEnd): use std::min and std::max
404 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
406 * Chktex.C: include boost/format.hpp
408 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
410 * InsetList.C: replace functor MathcIt with adaptable functor
412 (insetIterator): modify accordingly
414 * BranchList.h: move the BranchNamesEqual functor here from...
415 * BranchList.C: ... to here
417 * BranchList.C: new BranchListEqual fuctor, use it. Remove
419 (add): replace a finding loop with std::find_if.
421 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
423 * output_docbook.C: moving LatexParam functionality into
426 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
428 * buffer.C: increment format to 229.
430 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
433 * lyx_sty.[Ch]: remove minipageindent_def
439 * text3.C: remove LFUN_INSET_MINIPAGE
441 2003-12-28 Angus Leeming <leeming@lyx.org>
443 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
445 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
447 * text2.C (setParagraph): fix off-by-one crash
449 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
451 * output_docbook.C: header stuff for AGU
453 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
455 * text2.C (redoCursor): remove
458 * BufferView_pimpl.C: remove calls to redoCursor and
459 setCursor(cursor.par(), cursor.pos()) all around
461 2003-12-15 Angus Leeming <leeming@lyx.org>
463 * buffer.C: up the format to 228.
465 2003-12-15 André Pönitz <poenitz@gmx.net>
467 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
472 * BufferView_pimpl.C:
481 2003-12-15 Angus Leeming <leeming@lyx.org>
483 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
484 than getFromGUIName to manipulate the color.
486 2003-12-14 Angus Leeming <leeming@lyx.org>
488 * BranchList.[Ch]: minimize the API.
489 (Branch::getBranch, getColor): now return a 'const &'.
490 (Branch::setSelected) now returns a bool set to true if the
491 selection status changes.
492 (BranchList::clear, size, getColor, setColor, setSelected,
493 allBranches, allSelected, separator): removed.
494 (BranchList::find): new functions, returning the Branch with
496 (BranchList::add, remove): return a bool indicating that
497 the operation was successful.
499 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
500 new InsetBranch::isBranchSlected member function.
502 * LColor.[Ch]: mimimize the API.
503 (fill): renamed as addColor and made private.
504 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
505 versions of these functions taking a string arg have been removed.
507 * bufferparams.C (readToken):
508 * lyxfunc.C (dispatch):
509 * lyxrc.C (read): changes due to the altered BranchList and
512 * factory.C (createInset, readInset): changes due to altered
515 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
518 * lyxfunc.C: remove insetminipage. "minipage-insert"
519 now produces a frameless minipage box inset.
521 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
523 * textcursor.[Ch] (selStart,selEnd): add new methods
524 remove selection::start, end, use LyXCursor::operator<
525 * lyxcursor.[Ch] (operator<): add
526 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
527 * BufferView.[Ch] (unsetXSel): add
528 * text2.C (clearSelection): use unsetXSel,adjust
531 * rowpainter.C: adjust
532 * bufferview_funcs.C (put_selection_at): adjust
534 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
536 * BufferView_pimpl.C: small coord. correction
538 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
540 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
541 dragging over the splash screen.
543 2003-12-11 Angus Leeming <leeming@lyx.org>
545 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
546 as it is now handled in LyXText::dispatch.
548 * text3.C (doInsertInset): remove a level of nesting.
550 2003-12-11 Angus Leeming <leeming@lyx.org>
552 * factory.C (createInset): changes due to the changed interface to
553 InsetCommandMailer::string2params.
555 2003-12-10 Angus Leeming <leeming@lyx.org>
557 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
558 'dialog-show-new-inset <inset name>'
560 2003-12-10 Angus Leeming <leeming@lyx.org>
562 * buffer.C: up the format to 227.
564 * factory.C: the box inset is now identified simply by 'Box'.
566 2003-12-10 Angus Leeming <leeming@lyx.org>
568 * buffer.C: up the format to 226.
570 * factory.C: the note inset is now identified simply by 'Note'.
572 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
574 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
575 when a pit is enough. Standarize a couple of loops.
577 2003-12-05 Angus Leeming <leeming@lyx.org>
579 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
580 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
581 data to the re-worked "log" dialog.
583 2003-12-03 André Pönitz <poenitz@gmx.net>
591 * text2.C: use Inset::getText instead of Inset::getParagraph
593 2003-12-03 André Pönitz <poenitz@gmx.net>
597 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
598 InsetText::read() as LyXText::read()
600 2003-12-02 Angus Leeming <leeming@lyx.org>
602 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
603 type. Add a comment in the implementation that the function uses
604 the stream's bad() function rather than fail() as the std::streams
607 2003-12-02 André Pönitz <poenitz@gmx.net>
609 * lyxlex.[Ch]: make interface more similar to std::stream
611 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
613 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
615 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
617 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
619 * vspace.[Ch]: remove VSpace::NONE
621 2003-12-01 André Pönitz <poenitz@gmx.net>
624 * lyxtext.h: move ParagraphList member to LyXText
625 rename LyXText::ownerParagraphs to LyXText::paragraph
628 * bufferview_funcs.C:
638 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
640 * undo.C: fix cursor positioning
642 2003-12-01 John Levon <levon@movementarian.org>
644 * BufferView_pimpl.C: fix a crash on exit with
647 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
649 * BranchList.C: fix setSelected() method.
651 2003-11-28 André Pönitz <poenitz@gmx.net>
653 * ParagraphParameters.[Ch]:
654 * ParameterStruct.h: remove space above/below from Paragraph to
657 * BufferView_pimpl.C:
669 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
671 * factory.C: Syntax change for CharStyles
673 2003-11-28 André Pönitz <poenitz@gmx.net>
678 * buffer.[Ch]: move LyXText member
680 2003-11-28 André Pönitz <poenitz@gmx.net>
682 * BufferView.[Ch]: make LyXText * text a private member
684 * BufferView_pimpl.C:
695 * output_plaintext.C: cleanup
697 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
700 * lyxtextclass.[Ch]: parametrize SGML document header
702 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
705 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
708 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
710 * text2.C (setFont): rework using PosIterator (no more recursive)
711 (setCharFont): no more needed
712 (setLayout): no more selection cursors fiddling (done by redoCursor)
713 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
714 destroy remaining ones)
716 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
718 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
720 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
723 * text3.C: adjust + re-allow multi par depth changes
724 * textcursor.C: simplify a bit
726 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
732 * src/output_docbook.C:
733 * src/output_latex.C:
738 * src/text2.C: Introducing a number of tags parametrizing various
739 XML formats that we may want to support
741 2003-11-25 André Pönitz <poenitz@gmx.net>
743 * InsetList.[Ch] (begein, end): inline as suggested by profiler
745 * lyxtext.h (leftMargin/rightMargin): simplify interface
752 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
754 * lyxfunc.C (dispatch): propogate the bibtex databases from the
755 master file to any child files. Fixes bug 546.
757 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
759 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
761 2003-11-24 André Pönitz <poenitz@gmx.net>
763 * rowpainter.C: simplification
765 * text2.C (updateCounters): remove call to redoParagraph on
766 changed labels as this is far too expensive.
768 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
770 * converter.C (convert): fix a crash: this function gets
771 called with buffer == 0 from importer code.
773 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
775 * text3.C (cursorPrevious): make sure that we do not compare
776 iterators form different containers.
779 * rowpainter.C (paintSelection): make sure that we do not compare
780 iterators from different containers.
782 * text3.C (dispatch): [PRIOR] make sure that we do not compare
783 iterators from different ParagraphList containers.
786 * text2.C (LyXText): change order of initialization slightly
787 (operator=): new function. copy all variables except cache_par_
788 (moveUp): make sure that we do not compare iterators from
789 different ParagraphList constainers.
792 * text.C (firstPar): new function
793 (lastPar): new function
794 (endPar): new function
796 * lyxtext.h: move things around and group public functions, public
797 variables, private functions, private variables
799 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
801 * factory.C: change call to InsetERT constructor to avoid
802 additional invocation of method status
803 * text2.C (toggleInset): remove redundant update() call
804 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
805 instead of a Bufferview pointer
807 2003-11-21 André Pönitz <poenitz@gmx.net>
809 * rowpainter.C: simplification
811 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
813 * text3.C (dispatch): make possible to extend a word/row selection
816 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
818 * lyxtext.h: x0_,y0_ -> xo_,yo_
819 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
820 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
821 * rowpainter.C (paintRows): paint full paragraphs
823 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
825 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
828 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
830 * lyxtext.h: add x0_, y0_
831 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
832 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
834 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
836 * text2.C (setCursorIntern): move the x_target update here *
837 * text3.C: change some bv() to true/false in calls to
838 cursorUp/Down/Right/Left
839 * cursor.C: use helper function.
841 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
843 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
844 * paragraph_funcs.[Ch]: correct comment
845 * rowpainter.C: do not paint selections away from bv->cursor()
846 Fix a long standing selection painting bug.
847 * text3.C: generalize mouse-selection code to LyXTexts other that
849 * textcursor.C: do not use y coords if we can use par offsets
851 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
853 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
854 cursor position after e.g. inset insert)
856 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
858 * lyxfind.C (replace): adjust to locking removal + some
861 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
863 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
866 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
869 * output_docbook.C: XML sanitation: new layout
870 parameters InnerTag and CommandDepth
872 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
874 * BufferView_pimpl.C:
876 * text3.C: Fix the insertion and modification of button-style
879 2003-11-13 André Pönitz <poenitz@gmx.net>
881 * InsetList.[Ch]: remove deleteLyXText
883 * paragraph.[Ch]: cache beginOfBody position
888 * text3.C: remove superfluous update() calls
892 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
894 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
895 * BufferView.C (fitLockedInsetCursor): remove
896 * cursor.[Ch] (getDim): add
897 * text.C (getRowNearY): add faster version
898 * text3.C: remove some update calls
900 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
912 * text3.C: The Character Style /XML short element patch.
914 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
917 * factory.C: Small step to solving 'unable to insert some insets'
920 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
922 * cursor.[Ch] (updatePos): new function for updating the y
923 position of the tip inset
924 * bufferview_funcs.C (put_selection_at):
925 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
927 2003-11-11 André Pönitz <poenitz@gmx.net>
929 * text.C: remove big comment on invalid Paragraph pointers as it is
932 2003-11-11 André Pönitz <poenitz@gmx.net>
934 * text_funcs.[Ch]: merge with ...
942 * Makefile.am: remove text_funcs.[Ch]
944 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
946 * cursor.C (getPos): return absolute cached y coord
948 * BufferView_pimpl.C (fitCursor): new simplistic code
949 (workAreaDispatch): add a fitCursor call
951 2003-11-10 André Pönitz <poenitz@gmx.net>
954 * BufferView_pimpl.[Ch]: merge update() and updateInset()
956 2003-11-10 André Pönitz <poenitz@gmx.net>
958 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
959 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
960 indicate that the cursor needs to leave an inset
962 * lyxtext.h: remove inset locking
964 * cursor.[Ch]: re-implement functionality provided by inset locking
967 * BufferView_pimpl.[Ch]:
969 * bufferview_funcs.[Ch]:
981 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
983 * PosIterator.[Ch]: replace the stack with a vector, add inset
985 * iterators.[C]: adjust
987 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
989 * lyxfind.C (replaceAll): mark the buffer dirty if something was
991 * paragraph_funcs.C (readParToken): put the correct id in the
992 error item, not the id of the top paragraph
994 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
996 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
997 * bufferview_funcs.C (put_selection_at): use the above
999 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1001 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1003 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1005 * output_linuxdoc.h:
1006 * output_plaintext.h:
1008 * output_docbook.h: add #include statements
1010 2003-11-05 José Matos <jamatos@lyx.org>
1012 * output_docbook.[Ch]:
1013 * output_latex.[Ch]:
1014 * output_linuxdoc.[Ch]:
1015 * output_plaintext.[Ch]: New files for output formats.
1016 * output.[Ch]: New file for helper functions.
1019 * paragraph_funcs.[Ch]: output functions moved to new files.
1021 * outputparams.h: rename of latexrunparams.h
1029 * paragraph_funcs.[Ch]:
1030 * paragraph_pimpl.[Ch]:
1031 * tabular.[Ch]: rename ascii to plaintext
1032 and LatexRunParams to OutputParams.
1034 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1036 * iterators.[Ch] (text): require bv argument
1037 * undo.C (recordUndo):
1038 * lyxfunc.C (dispatch):
1039 * bufferview_funcs.C (put_selection_at): adjust
1041 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
1043 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1045 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1047 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1050 2003-11-04 André Pönitz <poenitz@gmx.net>
1052 * cursor.[Ch]: restructure
1055 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1057 * iterators.[Ch] (asCursor): remove
1059 * lfuns.h: remove LFUN_INSET_EDIT
1065 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1067 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1069 * lyxfind.[Ch]: complete overhaul
1070 * BufferView_pimpl.C:
1072 * paragraph.[Ch] (insert): add
1074 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1078 * text.C: remove dead spellcheck code
1080 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1082 * dispatchresult.h: add a val setter
1084 * cursor.C (dispatch): use a tempvar for data_[i]
1086 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1088 * PosIterator.[Ch]: compile fix
1090 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1092 * text.C (cursorPar): deactivate the cursor cache
1094 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1096 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1098 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1100 * text3.C (dispatch): adjust for new DisptchResult semantics.
1102 * lyxfunc.C (dispatch): handle update when return from
1103 Cursor::dispatch, adjust for new DispatchResult semantics.
1105 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1106 DispatchResult(true) mean to not update. Add class functions for
1107 setting dispatched and update, as well as reading.
1109 * cursor.C (dispatch): don't handle update here
1111 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1113 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1114 * trans_mgr.C: adjust
1116 * paragraph_funcs.C (readParToken): exception safety
1118 * lyxvc.h: store the vcs pointer in a scoped_ptr
1121 * lyxsocket.C (serverCallback): exception safety
1123 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1125 * ispell.C (clone): make it return a auto_ptr
1127 * factory.C (createInset): exception safety
1128 (readInset): exception safety
1130 * bufferlist.C (newBuffer): exception safety
1132 * Thesaurus.C (Thesaurus): use initialization for aik_
1134 * MenuBackend.C (expandToc): exception safety.
1136 2003-11-03 André Pönitz <poenitz@gmx.net>
1140 * bufferview_funcs.C: remove getInsetFromId()
1143 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1149 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1151 * PosIterator.C (distance, advance): new
1152 * bufferview_funcs.[Ch] (put_selection_at): new
1153 * iterators.[Ch] (lockPath): new
1155 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
1157 * iterators.[Ch] (asPosIterator): added
1158 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1159 * PosIterator.[Ch]: added
1161 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1165 * cursor.C (dispatch):
1166 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1168 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1169 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1170 contructor, add a class function dispatched. Remove operator>=
1172 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1174 * debug.C: only use the default constructor for debugstream
1177 * main.C (main): include debug.h and setup the lyxerr streambuf
1180 2003-10-31 José Matos <jamatos@lyx.org>
1182 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1184 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1185 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1186 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1187 * paragraph_pimpl.C (simpleTeXSpecialC):
1188 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1189 add LatexRunParams argument.
1191 * exporter.C (Export): change call accordingly.
1193 * latexrunparams.h: add new member to take care of the other backends.
1194 2003-10-30 José Matos <jamatos@lyx.org>
1196 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1197 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1198 factorise code for paragraph output.
1200 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1203 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1205 * text3.C (dispatch):
1206 * lyxfunc.C (dispatch):
1207 * cursor.C (dispatch):
1208 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1210 * dispatchresult.h: make the dispatch_result_t ctor explicit
1212 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1215 * buffer.C: small refactoring of docbook stuff
1217 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1219 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1222 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1224 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1225 operator dispatch_result_t, and operators for == != and >=
1227 * cursor.C (dispatch): adjust for operator dispatch_result_t
1228 removal. comment out call to update
1230 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1232 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1240 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1243 * dispatchresult.h: new file, DispatchResult broken out of
1246 * Makefile.am (lyx_SOURCES): add dispatchresult.h
1248 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1250 * text.C (rowBreakPoint): put a hack inside #if 0
1252 2003-10-28 André Pönitz <poenitz@gmx.net>
1256 * paragraph_funcs.C:
1259 * text2.C: general cleanup (lots of small stuff)
1261 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1263 * text2.C (cursorEnd): simple fix to the "end key goes to one
1264 before the end on last row" bug
1266 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1268 * text.C (backspace): fix the "zombie characters"
1270 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1272 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1274 2003-10-27 André Pönitz <poenitz@gmx.net>
1276 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1278 * factory.C: handle new InsetPagebreak, InsetLine
1280 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1281 and move handling into new InsetPagebreak, InsetLine
1283 * BufferView_pimpl.C:
1285 * ParagraphParameters.C:
1286 * ParameterStruct.h:
1291 * paragraph_funcs.C:
1292 * paragraph_pimpl.C:
1298 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1301 * lyxrow_funcs.[Ch]:
1307 * text3.C: remove lastPos uses in favour of Row::endpos
1309 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1311 * undo.C (performUndoOrRedo): fix two crashes by setting a
1312 cursor by hand and reordering some calls. Use bv->lockInset instead
1313 of inset->edit because the latter loses cursor information
1315 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
1317 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1319 (rowBreakPoint): fix width. change point to point + 1.
1320 Add a missing check.
1322 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
1325 * lyxfunc.C: fix (at least partly) the problems
1326 with the Nav menu and headers inside branch insets
1329 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
1331 * paragraph.C (getChar): add strong asserts
1333 * lyxrow_funcs.C (lastPos): remove hideous hack
1335 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1336 (fill): adjust to that (avoid an infinite loop)
1338 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1340 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1342 2003-10-23 André Pönitz <poenitz@gmx.net>
1344 * RowList_fwd.h: change list<> to vector<> to gain speed
1345 after suggestion from Alfredo
1347 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1349 * lyxtext.h: move the bidi stuff from here...
1352 * Bidi.[Ch]: ... to here
1354 2003-10-23 André Pönitz <poenitz@gmx.net>
1357 * text.C (isLastRow, isFirstRow): new functions
1359 * paragraph.h: new width cache member
1361 * rowpainter.C: replace RowList::iterator with Row & where possible
1363 * lyxfunc.C: replace several view()->text with a single call
1365 * toc.C: fix 'unused' warning
1367 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1369 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1370 when woring with stream::pos_type
1371 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1373 2003-10-22 André Pönitz <poenitz@gmx.net>
1376 * text.C: use Row & instead of RowList::iterator
1378 * lyxrow.h: rename end() to endpos()
1384 2003-10-22 Angus Leeming <leeming@lyx.org>
1386 * buffer.[Ch] (fully_loaded): new member function, returning true
1387 only when the file has been loaded fully.
1388 Used to prevent the premature generation of previews and by the
1389 citation inset to prevent computation of the natbib-style label.
1391 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1392 templates are all set up.
1394 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1396 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
1398 * text.C: fixed an "oops" in the "is a bit silly"
1401 2003-10-21 André Pönitz <poenitz@gmx.net>
1403 * FuncStatus.[Ch]: small stuff, whitespace
1405 * lyxfont.[Ch]: operator<<() for debug reasons
1409 * lyxtext.h: whitespace, spelling
1411 * paragraph.C: naming of variables
1414 * text2.C: small stuff
1417 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1419 * text.C: (1) finish off the inset display() work;
1420 (2) fix the "is a bit silly" bug (accessing char
1423 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1425 * text.C: re-introduce display() for insets, fixing the
1426 various bugs (stretch of line above, math inset
1429 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1431 * text.C (rightMargin): remove spurious semicolon
1433 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1436 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1438 * text3.C: fix one crash due to wrong cursor def
1440 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1442 * vc-backend.C (scanMaster): make the regex static
1444 * LaTeX.C (scanAuxFile): make the regexs static
1446 * text3.C (doInsertInset, dispatch, dispatch):
1447 * text2.C (cursorUp, cursorDown):
1448 * text.C (selectNextWordToSpellcheck):
1449 * BufferView_pimpl.C (dispatch):
1450 * lyxfunc.C (dispatch): localDispatch -> dispatch
1452 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1454 * lyxsocket.C: include <cerrno>
1456 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1458 * lyxfunc.C (dispatch): remove textcache stuff
1460 * bufferlist.C (release): remove textcache stuff
1463 * TextCache.C: delete file
1464 * TextCache.h: delete file
1466 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1468 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1469 delete of the bv_->text.
1470 (resizeCurrentBuffer): remove texcache stuff
1471 (workAreaResize): ditto
1473 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1475 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1478 2003-10-16 André Pönitz <poenitz@gmx.net>
1485 * text3.C: speed up by storing y positions per paragraph plus per-row
1486 offset instead of having a 'full' y position in the row.
1488 2003-10-15 André Pönitz <poenitz@gmx.net>
1492 * undo.[Ch]: make undo aware of inner insets
1494 2003-10-14 Angus Leeming <leeming@lyx.org>
1496 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1497 static member functions LyX::ref() and LyX::cref.
1498 (lastfiles): new accessor functions for the new lastfiles_ member var.
1499 (addLyXView, views_): add a new LyXView to the list of views_.
1500 (updateInset): loop over all LyXViews to call their own updateInset
1501 member function, returning a pointer to the Buffer owning the inset.
1503 * BufferView_pimpl.C (loadLyXFile):
1504 * MenuBackend.C (expandLastfiles):
1505 * bufferlist.C (MenuWrite, QuitLyX):
1506 lastfiles is no longer a global variable.
1507 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1509 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1510 static function. Access through LyX::cref().emergencyCleanup().
1512 2003-10-14 André Pönitz <poenitz@gmx.net>
1514 * iterators.[Ch]: new direct access to innermost LyXText and Inset
1516 * undo.[Ch]: restoring part of 'undo in insets'
1519 * undo_funcs.[Ch]: merge with undo.[Ch]
1521 * tabular.C: small cleansing stuff
1523 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
1525 * paragraph_funcs.C (readParToken): report unknown insets as error
1526 boxes. Use the outer paragraph as location (also for unknown
1529 * factory.C (readInset): do not abort on reading an unknown inset.
1530 Eat it and return 0.
1532 2003-10-13 Angus Leeming <leeming@lyx.org>
1534 * lyx_main.C (LyX): remove call to setDisplayTranslator().
1536 * lyxrc.C: displayTranslator is now a function,
1537 declared in GraphicsTypes.h.
1539 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1541 * format.C: new placeholder $$a to pass the socket address.
1543 * bufferlist.[Ch]: new function getBufferFromTmp.
1545 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1546 files in the temporary dir.
1548 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1550 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1552 * Makefile.am: add lyxsocket.[Ch].
1554 * lyx_main.C (error_handler): handle SIGPIPE.
1556 2003-10-13 André Pönitz <poenitz@gmx.net>
1558 * BufferView_pimpl.C:
1563 * undo_funcs.[Ch]: use paroffset_type instead of
1564 ParagraphList::iterators to prevent multiple conversion
1565 (and get a more robust interface)
1567 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1569 * lyxfunc.C (dispatch): RESULT -> dispatch_result
1571 * text3.C (dispatch): ditto
1573 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1575 * LaTeX.C (handleFoundFile): move the static to smaller scope,
1576 move the onlyfile, use onlyfile instead of foundfile in a couple
1579 * DepTable.C (update): flush the error stream a bit more
1581 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1583 * lyxserver.C (callback): adjust
1585 * lyxfunc.C (getStatus): add a missing brace in commented code
1586 (ensureBufferClean): reindent
1587 (dispatch): delete version taking a string
1589 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1591 * LaTeX.C (deplog): move found file handlig from here...
1592 (handleFoundFile): .. to new function here.
1593 (deplog): make sure to discover several files mentioned on the
1596 2003-10-10 André Pönitz <poenitz@gmx.net>
1603 * text3.C: fix some of the tabular crashes
1605 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1607 * MenuBackend.C (binding): put debug message into Debug::KBMAP
1609 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1611 2003-10-09 André Pönitz <poenitz@gmx.net>
1613 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1616 * BufferView_pimpl.C:
1617 * bufferview_funcs.C:
1628 * undo_funcs.C: adjust
1630 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1632 * text2.C (incrementItemDepth): new function, use a backtracking
1633 algorithm to discover the correct item depth.
1634 (resetEnumCounterIfNeeded): new function, use a backtracking
1635 algorithm to discover if counter reset is needed.
1636 (setCounter): use them. Simplify a bit. Add different labels for
1637 different item depths for itemize.
1639 * paragraph.C (Paragraph): remove initialization of enumdepth
1642 * paragraph.h: get rid of enumdepth, and use itemdepth both for
1643 enumerate and itemize. Change the type of itemdepth to signed char.
1645 2003-10-08 André Pönitz <poenitz@gmx.net>
1647 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1652 * tabular.[Ch]: fix crash after 'row-insert'
1654 2003-10-08 Angus Leeming <leeming@lyx.org>
1656 Fix doxygen warnings.
1658 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1659 Remove CutAndPaste:: prefix from header file declaration.
1661 * LColor.h (fill): remove LColor:: prefix from declaration.
1663 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1664 use lyx::depth_type rather than Paragraph::depth_type so that
1665 header file and .C file match.
1667 * converter.h (intToFormat): remove Converters:: prefix from declaration.
1669 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1670 * aspell.C: \file aspell_local.C -> \file aspell.C
1671 * gettext.C: \file gettext.C -> \file src/gettext.C
1672 * gettext.h: \file gettext.h -> \file src/gettext.h
1673 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1674 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1675 * text.C: \file text.C -> \file src/text.C
1677 * toc.C: move comment so that doxygen is not confused.
1679 2003-10-07 Angus Leeming <leeming@lyx.org>
1681 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1683 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1686 * aspell_local.h: add forgotten std::string's.
1688 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1695 * text3.C: The Box patch. Fancybox support, minipage, parbox
1697 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1703 * ParagraphParameters.h:
1713 * lyxtextclasslist.h:
1716 * paragraph_pimpl.C:
1717 * textcursor.h: add <string> and other small fixes to make Lars'
1718 std::string patch compile with STLport.
1720 2003-10-06 Angus Leeming <leeming@lyx.org>
1722 * LColor.h: Add missing #include <string>.
1724 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1726 * All most all file in all subdirs: Make <string> be the prefered
1727 way of getting to std::string, add using declarations.
1729 2003-10-06 André Pönitz <poenitz@gmx.net>
1731 * metricsinfo.C: initialize LyXFont before changing attribute.
1732 (fixes the 'math in \emph is upright' bug)
1734 2003-10-06 André Pönitz <poenitz@gmx.net>
1736 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1738 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
1741 * paragraph_pimpl.C: Small fixes to build using STLport
1743 2003-10-02 André Pönitz <poenitz@gmx.net>
1746 * text3.C: move handling of LFUN_DEPTH *; fix #1360
1748 2003-10-01 André Pönitz <poenitz@gmx.net>
1750 * factory.C: assert early
1752 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1754 * lyx_main.C: remove the global debug object
1756 * debug.h: adjust for new debugstream
1758 * debug.C: adjust for new debugstream and keep the global debug
1761 2003-09-22 Angus Leeming <leeming@lyx.org>
1763 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1764 of g++ which otherwise complain that the scoped_ptr destructor can't delete
1765 an incomplete class LyXFont.
1767 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1769 * factory.C: bug fix in branches
1771 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1773 * lyxfunc.C (processKeySym): adjust
1775 (dispatch): change arg name from ev to func, adjust
1776 (sendDispatchMessage): ditto
1778 * lyx_main.C (defaultKeyBindings): adjust keybindings
1779 (deadKeyBindings): ditto
1781 * kbsequence.C (addkey): return a FuncRequest
1783 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1785 * kbmap.C (bind): take a FuncRequest as arg, adjust
1788 (defkey): change to take a FuncRequest as arg, adjust
1789 (findbinding): take a FuncRequest as arg, adjust.
1791 * funcrequest.h (operator=): added
1793 * funcrequest.C (FuncRequest): default kb_action changed from
1794 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1796 * buffer.C (dispatch): simplify
1797 (dispatch): adjust to take a FuncRequest as arg, adjust
1799 * boost.C (assertion_failed): change assertion message slightly
1801 * ToolbarBackend.C (read): simplify
1803 * MenuBackend.C (binding): adjust call to findbinding, add a
1804 message if no binding is found.
1806 (expandToc): correct by adding a empty FuncRequest
1808 * LyXAction.C: include <boost/assert.hpp>
1809 (isPseudoAction): delete function
1810 (LookupFunc): change name to...
1811 (lookupFunc): this. change return type to FuncRequest.
1812 (getActionName): take kb_action as arg, simplify
1813 (funcHasFlag): add an assert, simplify.
1815 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1817 * toc.C (action): return a FuncRequest, simplify
1819 * lyxfunc.C (processKeySym): adjust
1820 (getStatus): delete version that takes an int.
1822 (dispatch): delete version that takes action as int
1824 (sendDispatchMessage): simplify and adjust
1826 * funcrequest.C (getArg): take unsigned int as arg
1828 * ToolbarBackend.C (read): adjust
1829 (add): delete version that takes func as a string.
1830 (getIton): take a FuncRequest as arg
1832 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1835 * MenuBackend.C (MenuItem): add a new construct that only takes a
1836 Kind, simplify the constructor use for submenus.
1838 (expandLastfiles): adjust
1839 (expandDocuments): adjust
1840 (expandFormats): adjust
1841 (expandFloatListInsert): adjust
1842 (expandFloatInsert): adjust
1843 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1845 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1846 Remove class variables lyx_pseudo_map and lyx_arg_map
1848 * LyXAction.C (searchActionArg): delete function
1849 (getPseudoAction): delete function
1850 (retrieveActionArg): delete function
1851 (LookupFunc): make it return kb_action, simplify.
1852 (getActionName): simplify
1854 * factory.C (createInset): fix new bug
1856 2003-09-19 Angus Leeming <leeming@lyx.org>
1858 * CutAndPaste.C (pasteSelection): remove fudge used to set the
1859 masterFilename_ parameter in the include inset.
1861 * factory.C (createInset): changes due to the changes to InsetInclude.
1863 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1865 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1867 2003-09-18 Angus Leeming <leeming@lyx.org>
1870 * BufferView.C: pass the buffer when calling Inset::getLabelList,
1871 Inset::fillWithBibKeys.
1872 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1874 2003-09-18 Angus Leeming <leeming@lyx.org>
1876 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1878 (ctor): pass and store a 'Buffer const &'
1879 (buffer): new member function.
1881 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1882 '*this' to the LaTeXFeatures ctor.
1884 2003-09-18 Angus Leeming <leeming@lyx.org>
1890 * text.C: rename EnumLColor as LColor_color.
1892 2003-09-18 Angus Leeming <leeming@lyx.org>
1894 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1895 remove #include "insets/insetbase.h" from cursor.h.
1897 2003-09-18 Angus Leeming <leeming@lyx.org>
1899 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1900 InsetOld_code to remove #include "inset.h".
1902 * iterators.C: add #include "insets/inset.h"
1904 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
1906 * BufferView.C: remove more locking stuff that apparently doesn't
1907 do anything sensible.
1909 2003-09-16 André Pönitz <poenitz@gmx.net>
1912 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1915 2003-09-16 Angus Leeming <leeming@lyx.org>
1917 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1919 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1922 * paragraph.h: remove #include "lyxfont.h". Forward declare
1925 2003-09-16 Angus Leeming <leeming@lyx.org>
1927 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1928 of support/textutils.h.
1929 (isWord): move the contents of support/textutils.h's IsWordChar here.
1935 * text2.C: add #include "paragraph.h".
1938 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1940 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1946 * LaTeX.C: use namespace alias for lyx::support::os
1948 2003-09-16 Angus Leeming <leeming@lyx.org>
1951 * bufferview_funcs.C:
1954 * paragraph_pimpl.C:
1956 * text.C: add #include "LColor.h".
1958 2003-09-16 Angus Leeming <leeming@lyx.org>
1960 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1961 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1963 Store the FontBits::color variable as an int rather than as an
1964 LColor::colorso that we can move LColor.h out of the lyxfont.h header
1967 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1968 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1969 string calls together.
1971 * lyxrc.C: add #include "LColor.h".
1973 2003-09-15 Angus Leeming <leeming@lyx.org>
1975 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1978 2003-09-15 Angus Leeming <leeming@lyx.org>
1980 * LColor.h: add an EnumLColor wrapper for LColor::color.
1982 * lyxfont.[Ch] (color, setColor, realColor):
1983 * lyxtext.h, text.C (backgroundColor):
1984 pass EnumLColor args to/from the functions, rather than LColor::color
1988 * lyxtext.h: forward declare EnumLColor.
1990 * lyx_main.C: add #include "LColor.h".
1992 2003-09-15 Angus Leeming <leeming@lyx.org>
1994 * .cvsignore: add lyx-gtk.
1996 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2001 * ParagraphParameters.C
2005 * bufferview_funcs.C
2015 * vc-backend.C: remove usage of STRCONV
2017 2003-09-15 Angus Leeming <leeming@lyx.org>
2019 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2020 explicitly define the color passed to the painter.
2022 2003-09-15 Angus Leeming <leeming@lyx.org>
2024 * bufferparams.C (BufferParams): reorder member initializers to avoid
2027 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
2029 * CutAndPaste.C (pasteSelection): remove an outdated #warning
2030 * text.C (updateRowPositions): remove an unusual nop
2032 2003-09-12 André Pönitz <poenitz@gmx.net>
2034 * BufferView_pimpl.C:
2043 * Counters.[Ch]: finish the 'automatic counters' job
2045 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2047 * aspell.C: include <boost/assert.cpp> (compile fix)
2049 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2051 * boost.C (assertion_failed): use lyx::support::abort instead of
2054 2003-09-10 Angus Leeming <leeming@lyx.org>
2056 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2057 with their _fwd progeny.
2059 2003-09-09 Angus Leeming <leeming@lyx.org>
2061 134 files throughtout the source tree: replace 'using namespace abc;'
2062 directives with the appropriate 'using abc::xyz;' declarations.
2064 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2066 * boost.C (emergencyCleanup): moved here from LAssert.c
2067 (assertion_failed): new function, called by BOOST_ASSERT
2069 * several files: change Assert to BOOST_ASSERT
2071 2003-09-09 Angus Leeming <leeming@lyx.org>
2073 * buffer.[Ch]: Add an Impl class and move Buffer's member
2074 variables into it. As a result move several header files out of
2077 Add header files to lots of .C files all over the tree as a result.
2079 2003-09-09 Angus Leeming <leeming@lyx.org>
2081 * buffer.[Ch]: make Buffer's member variables private. Add
2084 Lots of changes all over the tree as a result.
2086 2003-09-08 Angus Leeming <leeming@lyx.org>
2088 * graph.C: #include <config.h>.
2090 2003-09-08 Angus Leeming <leeming@lyx.org>
2094 * BufferView_pimpl.C:
2123 * toc.C: remove redundant using directives.
2125 2003-09-07 Angus Leeming <leeming@lyx.org>
2127 * LaTeXFeatures.h: remove #include "support/types.h".
2128 * ToolbarBackend.h: remove #include <algorithm>.
2129 * changes.h: remove #include <ctime>.
2130 * debug.h: remove #include <iosfwd>.
2131 * graph.h: remove #include "support/std_string.h".
2132 * lyx_main.h: remove #include <csignal>.
2133 * lyxlex_pimpl.h: remove #include <fstream>.
2134 * sgml.h: remove #include <algorithm>, <utility>.
2135 * toc.h: remove #include "support/std_ostream.h".
2136 Add #include <iosfwd>.
2138 2003-09-07 Angus Leeming <leeming@lyx.org>
2140 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2142 * converter.h: forward declare LatexRunParams.
2143 * encoding.h: remove #include "lyxrc.h".
2144 * lyxtext.h: remove #include "LColor.h".
2145 * lyxtextclass.h: remove #include "support/types.h".
2146 * trans.h: remove #include "tex-accent.h".
2147 * trans_mgr.h: remove #include "tex-accent.h".
2148 * insets/inset.h: remove #include "support/types.h", <vector>.
2149 * insets/insetcollapsable.h: remove #include "LColor.h".
2150 * insets/insetinclude.h: remove #include "dimension.h".
2151 * insets/insetlatexaccent.h: remove #include "dimension.h".
2152 * insets/insetoptarg.h:: remove #include "insettext.h".
2153 * insets/insettext.h: remove #include "dimension.h",
2154 <boost/shared_ptr.hpp>
2156 * insets/renderers.h: add #include "dimension.h".
2157 * insets/updatableinset.h: add #include "support/types.h".
2159 * many .C files: Associated changes.
2161 2003-09-06 Angus Leeming <leeming@lyx.org>
2163 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2164 one, inside testInvariant.
2166 * PrinterParams.C: new file.
2167 * PrinterParams.[Ch]: move the function bodies out of line.
2169 2003-09-06 Angus Leeming <leeming@lyx.org>
2171 * ParagraphParameters.h: forward declare ParameterStruct rather than
2172 including its header file.
2173 (depth): moved out-of-line.
2175 2003-09-06 Angus Leeming <leeming@lyx.org>
2177 * BufferView_pimpl.h:
2180 * lyxfunc.h: forward declare LyXKeySym rather than
2181 #include "frontends/LyXKeySym.h".
2183 * BufferView_pimpl.C:
2186 * lyxfunc.C: associated changes.
2188 2003-09-06 Angus Leeming <leeming@lyx.org>
2190 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2191 As a result, can remove the #include "insets/inset.h" from BufferView.h
2193 2003-09-06 Angus Leeming <leeming@lyx.org>
2195 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2196 As a result, can remove the #include "insets/inset.h" from BufferView.h
2198 2003-09-06 Angus Leeming <leeming@lyx.org>
2204 * bufferview_funcs.C:
2205 * BufferView_pimpl.C:
2210 * ParagraphParameters.C:
2215 * frontends/controllers/ControlDocument.C:
2216 * insets/insetcaption.C: rearrange the #includes into some sort of
2219 * buffer.h: remove #includes ErrorList.h, undo.h
2221 2003-09-06 Angus Leeming <leeming@lyx.org>
2223 * support/types.h: add a 'depth_type' typedef, used to store the
2224 nesting depth of a paragraph.
2227 * ParameterStruct.h: use this lyx::depth_type typedef rather than
2228 defining explicitly.
2231 * paragraph_funcs.h:
2232 * ParagraphParameters.h:
2233 * sgml.h: use lyx::depth_type rather than Paragraph or
2234 ParameterStruct's depth_type.
2237 * paragraph_funcs.h: no need to #include paragraph.h anymore.
2240 * BufferView_pimpl.C:
2242 * ParagraphParameters.C:
2245 * bufferview_funcs.C:
2252 * frontends/LyXView.C:
2253 * frontends/controllers/ControlDocument.C:
2254 * frontends/controllers/ControlErrorList.C:
2255 * insets/insetbibitem.C:
2256 * insets/insetbranch.C:
2257 * insets/insetcaption.C:
2258 * insets/insetcollapsable.C:
2259 * insets/insetenv.C:
2260 * insets/insetert.C:
2261 * insets/insetfloat.C:
2262 * insets/insetfoot.C:
2263 * insets/insetfootlike.C:
2264 * insets/insetnewline.C:
2265 * insets/insetquotes.C:
2266 * insets/insettabular.C:
2267 * insets/insettext.C:
2268 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2270 * frontends/controllers/ControlChanges.C: #include "changes.h".
2272 2003-09-06 Angus Leeming <leeming@lyx.org>
2274 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2275 than #including paragraph.h.
2278 * RowList.h: deleted. Superfluous.
2288 * insets/insettext.h: use ParagraphList_fwd.h rather than
2291 * paragraph.h: don't forward declare ParagraphList.
2294 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2295 rather than ParagraphList.h. paragraph.h is still needed for the
2296 Paragraph::depth_type parameters.
2298 * textcursor.h: enable it to compile stand-alone in light of the
2301 * bufferview_funcs.C:
2313 * frontends/controllers/ControlParagraph.C:
2314 * frontends/controllers/ControlTabular.C:
2315 * insets/insetmarginal.C:
2316 * insets/insetminipage.C:
2317 * insets/insetnote.C:
2318 * insets/insetoptarg.C: add header files needed to compile again.
2320 2003-09-06 Angus Leeming <leeming@lyx.org>
2322 * RowList_fwd.h: new file, forward-declaring Row rather than
2323 #including lyxrow.h.
2328 * insets/insettext.h: use it instead of RowList.h
2330 * bufferview_funcs.C:
2337 * text3.C: #include "RowList.h".
2339 2003-09-05 Angus Leeming <leeming@lyx.org>
2341 * factory.C (createInset):
2342 * vspace.C (c-tor): replace sscanf call with an istringstream.
2343 * ispell.C: re-add missing HP/UX headers.
2344 * lyxserver.C: re-add missing os2 headers.
2346 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
2355 * text3.C: re-add missing system headers, needed for 2.95.2.
2357 2003-09-05 Angus Leeming <leeming@lyx.org>
2359 Changes most place everywhere due to the removal of using directives
2360 from support/std_sstream.h.
2362 2003-09-05 Angus Leeming <leeming@lyx.org>
2364 Replace LString.h with support/std_string.h,
2365 Lsstream.h with support/std_sstream.h,
2366 support/LIstream.h with support/std_istream.h,
2367 support/LOstream.h with support/std_ostream.h.
2369 Changes resulting throughout the tree.
2371 2003-09-05 Angus Leeming <leeming@lyx.org>
2373 * sgml.h: ensure that the header file can be compiled stand-alone.
2374 * *.C: strip out redundant #includes. (320 in total.)
2376 2003-09-04 Angus Leeming <leeming@lyx.org>
2378 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2379 here (from getPackages).
2381 * debug.[Ch]: add a new EXTERNAL tag.
2383 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2385 * text2.C (cursorEnd): simplify
2387 (getColumnNearX): adjust
2389 * text.C (computeBidiTables): adjust
2392 * rowpainter.C (paintChars): adjust
2393 (paintSelection): adjust
2394 (paintChangeBar): adjust
2397 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2399 (numberOfSeparators): adjust
2401 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2407 * text3.C: Restricts the mouse click functionality
2408 of insets like bibtex, include, toc and floatlist to the visible
2409 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2410 up the dialogs. Cursor has to be in front of the inset (i.e.
2411 start of row) for this to function.
2413 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2415 * bufferview_funcs.C (currentState): output row information
2417 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2419 * bufferview_funcs.C (currentState): output paragraph position
2421 2003-09-04 Angus Leeming <leeming@lyx.org>
2423 * FloatList.h: move out #include "Floating.h".
2424 * LaTeX.h: move out #include "DepTable.h".
2425 * LyXAction.h: move out #include "funcrequest.h".
2426 * buffer.h: move out #include "author.h", "iterators.h".
2427 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2428 * lyx_main.h: move out #include "errorlist.h".
2429 * lyxfunc.h: move out #include "FuncStatus.h".
2430 * lyxtext: move out #include "lyxcursor.h".
2431 * paragraph_pimpl.h: move out #include "counters.h".
2433 2003-09-03 Angus Leeming <leeming@lyx.org>
2435 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2436 preamble_snippets list, enabling us to add snippets to the preamble
2437 only if the snippet was not there already.
2439 2003-09-04 Angus Leeming <leeming@lyx.org>
2441 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2443 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2445 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2448 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2450 * BranchList.C: point fix, earlier forgotten
2452 2003-09-02 Angus Leeming <leeming@lyx.org>
2454 * box.C (contains): renamed from 'contained' after a fantastic
2457 2003-09-02 John Levon <levon@movementarian.org>
2463 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2465 2003-09-02 John Levon <levon@movementarian.org>
2467 * text2.C: simplification of cursorEnd(), including partial
2470 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2472 * buffer.C (readFile): add a space
2474 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
2476 * BufferView_pimpl.C (update): remove bogus fitCursor() call
2478 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2480 * buffer.C (readFile): new function, take a filename and a
2481 ParagraphList::iterator
2483 (readFile): adjust, make it private. don't use setStream, make
2484 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2485 always contain the filename.
2487 * BufferView.C (insertLyXFile): simplify and make it work for
2490 2003-08-30 John Levon <levon@movementarian.org>
2492 * Makefile.am: fix dist (from Kayvan)
2494 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2496 * most files: change to use const Buffer refs
2498 2003-08-27 André Pönitz <poenitz@gmx.net>
2500 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2501 on top of ownerPar().
2503 2003-08-27 John Levon <levon@movementarian.org>
2505 * funcrequest.C: properly initialise POD members
2507 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2509 * lyxtext.h (top_y): move top_y from here
2514 * BufferView_pimpl.[Ch]: to here
2515 * frontends/screen.C:
2516 * insets/insettabular.C:
2517 * insets/insettext.C: adjust
2518 * rowpainter.[Ch] (paintRows): remove LyXText & argument
2520 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2523 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2525 2003-08-26 André Pönitz <poenitz@gmx.net>
2527 * paragraph_func.[Ch] (outerPar): new function
2530 * paragraph_funcs.C:
2531 * paragraph_funcs.h:
2532 * paragraph_pimpl.C:
2533 * text2.C: remove Inset::par_owner
2535 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2540 * text2.C: eliminates the needFullRow/display() stuff
2541 altogether, putting the logic in metrics/draw in the insets.
2543 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
2545 * text2.C (redoParagraphInternal, redoParagraphs):
2546 * text.C (redoParagraph): add a call to updateRowPositions at the
2547 end of each 'metrics-like' call. Remove all others.
2548 (getRow): remove the 'y-computing' version.
2549 (getRowNearY): do not compute nor return the real y. Solve the
2550 'y < 0' problem and simplify.
2552 2003-08-22 Angus Leeming <leeming@lyx.org>
2554 * *.[Ch]: clean-up of licence and author blurbs.
2555 Also move config.h out of a few .h files and into a few .C files.
2557 2003-08-22 André Pönitz <poenitz@gmx.net>
2559 * lyxrow.[Ch]: add x_ and *fill_ members
2564 * text2.C: adjust/remove prepareToPrint() calls
2566 2003-08-22 André Pönitz <poenitz@gmx.net>
2568 * lyxrow.[Ch]: add end_ member
2570 * lyxrow_funcs.C: use LyXRow::end_
2572 * lyxtext.h (singleWidth): add LyXFont parameter
2575 * text2.C: adjust LyXText::singleWidth() calls
2577 * text.C (redoParagraph): simplify row breaking logic
2580 2003-08-19 André Pönitz <poenitz@gmx.net>
2582 * funcrequest.C: initialize button_ member
2585 * rowpainter.[Ch]: interface consolidation
2587 2003-08-18 André Pönitz <poenitz@gmx.net>
2590 * BufferView_pimpl.C:
2592 * paragraph_funcs.C:
2594 * text3.C: remove LyXScreen::draw() and fitCursor calls
2596 * BranchList.h: remove spurious semicolons
2598 * MenuBackend.C: fix branchlist related crash
2600 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2608 * bufferparams.[Ch]:
2612 * text3.C: implements the 'branch inset'
2613 idea. This allows the output of various versions of a document
2614 from a single source version, selectively outputing or suppressing
2615 output of parts of the text.
2616 This implementation contains a 'branch list editor' in a separate
2617 tab of the document settings dialog. Branches are user definable
2618 and have a "display colour" to distinguish them on-screen.
2620 ColorHandler was somewhat cleaned up.
2621 (1) make possible a dynamically growing LColor list by allowing
2622 the graphic context cache to grow along (vector);
2623 (2) eliminate an IMHO unnecessary step in colour allocation.
2625 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
2627 * BufferView_pimpl.C: compile fix
2629 2003-08-15 André Pönitz <poenitz@gmx.net>
2631 * rowpainter.C: remove extra metrics calls
2633 * lyxtext.h: merge the two constructors into a single one,
2634 pass reference to owner's par list
2636 * BufferView_pimpl.C:
2640 2003-08-15 André Pönitz <poenitz@gmx.net>
2642 * lyxrow_funcs.[Ch]:
2645 * paragraph_funcs.C:
2650 * text_funcs.C: split LyXText::rowlist_ into individual
2651 Paragraph::rows_ chunks
2654 * BufferView_pimpl.[Ch]:
2657 * text3.C: remove toggleSelection()
2659 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2661 * bufferlist.C: beautify two alerts (shorter text of buttons)
2662 * buffer.C: Remove redundant ' ' from message
2664 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2665 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2666 rename VALIGN_CENTER to VALIGN_MIDDLE
2668 2003-08-11 André Pönitz <poenitz@gmx.net>
2670 * lyxtext.h (getPar):
2671 * text.C: new function
2673 2003-08-11 André Pönitz <poenitz@gmx.net>
2676 * tracer.[Ch]: remove unneeded files
2678 * InsetList.[Ch]: remove resizeInsetsLyXText()
2683 * text3.C: merge insertParagraphs() and appendParagraph()
2684 remove breakAgain(), update()
2686 * BufferView_pimpl.[Ch]:
2687 * bufferview_funcs.[Ch]:
2691 * tabular.C: adjust after text & InsetList changes.
2693 2003-08-08 André Pönitz <poenitz@gmx.net>
2695 * text.C (insertChar, backspace): replace rowlist fiddling
2696 with rebreak of full par
2699 * text.C (breakAgainOneRow, redoHeightOfParagraph,
2700 checkParagraph, updateInset): removed
2702 2003-08-07 André Pönitz <poenitz@gmx.net>
2705 * text3.C: merge some LFUN handlers, remove dead code
2707 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2709 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2711 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
2713 * text2.C (DEPM): fix part of bug 1255 and 1256
2715 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2717 * BufferView_pimpl.C (workAreaDispatch): change to use
2718 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2719 that are no mouse related.
2721 2003-08-05 André Pönitz <poenitz@gmx.net>
2724 * BufferView_pimpl.[Ch]:
2725 * bufferview_funcs.C:
2727 * text3.C: rip out "deep update"
2729 * textcursor.[Ch] (last_sel_cursor): remove unused member
2731 2003-08-04 André Pönitz <poenitz@gmx.net>
2734 * BufferView_pimpl.[Ch]:
2735 * ParagraphParameters.C:
2736 * bufferview_funcs.C:
2742 * text3.C: replace "complicated" BufferView::update(...) calls with
2745 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2747 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
2749 * Makefile.am (lyx_SOURCES): add paper.h
2751 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2753 * Makefile.am: move things around so that both lyx-qt and
2754 lyx-xforms can be built (according to --with-frontend). Then lyx
2755 is a symbolic link to lyx-[firstfrontend]
2757 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2759 * Always use std::endl with lyxerr
2761 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
2763 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2765 2003-08-01 André Pönitz <poenitz@gmx.net>
2768 * BufferView_pimpl.[Ch]:
2770 * text3.C: merge BufferView::repaint() and BufferView::update()
2772 2003-08-01 José Matos <jamatos@lyx.org>
2774 * buffer.[Ch]: file_format is no longer a buffer data element.
2776 2003-08-01 André Pönitz <poenitz@gmx.net>
2781 * text2.C: make redoParagraph more independent of current cursor
2783 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2785 * text2.C: remove unneeded members
2787 2003-07-30 André Pönitz <poenitz@gmx.net>
2789 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2791 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2792 create a single function...
2794 * paragraph_funcs.C (moveItem): ... here.
2797 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2799 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2801 * LColor.[Ch]: Add comment and greyedout logical colors.
2803 2003-07-30 André Pönitz <poenitz@gmx.net>
2805 * tabular.C: don't use Assert too heavily. This crashes where it
2808 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
2810 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2811 is disabled (bug 1232)
2813 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2815 * factory.C: limited 'arg' scope
2817 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2819 * factory.C: fixed Note submenu issues
2821 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2823 * factory.C: submenu for Note/Comment/Greyedout
2825 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
2828 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2830 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2833 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2834 greyedout. Patch provided by Jürgen Spitzmüller.
2836 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2838 * kbmap.C (read): fix error message when reading bind files
2840 2003-07-29 Angus Leeming <leeming@lyx.org>
2842 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2843 certainly does not do what it purports to do. I am doing it, and
2844 us, a favour by killing it.
2846 2003-07-28 José Matos <jamatos@lyx.org>
2848 * buffer.C (readBody, do_writeFile):
2849 * paragraph.C(readParagraph): \end_document replaces \the_end.
2851 2003-07-29 André Pönitz <poenitz@gmx.net>
2854 * BufferView_pimpl.[Ch]:
2858 * textcursor.[Ch]: remove toggleToggle & Co
2860 2003-07-28 José Matos <jamatos@fep.up.pt>
2862 * buffer.C (readParagraph):
2863 * params_func (readParToken, readParagraph):
2864 * paragraph.C (write): \layout -> \begin_layout.
2866 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2868 * lyxlex_pimpl.C (setFile): clean up slightly.
2870 * bufferparams.h: add compressed var
2872 * buffer_funcs.C (readFile): adjust for LyXLex change
2873 (newFile): ditto + simplify
2875 * buffer.C (writeFile): handle writing of compressed files
2877 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2878 Check if the file is compressed and set a bufferparm if so.
2880 * Makefile.am (lyx_LDADD): remove explicit -lz
2882 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2884 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2885 makeDocBookFile): put the real LyX version in the first line of
2889 * version.C.in: remove lyx_docversion
2891 * tabular.C (write_attribute): add a template-based version to
2892 write enums properly
2894 2003-07-28 André Pönitz <poenitz@gmx.net>
2899 * text3.C: use doubles again for x-coordinates. They are needed.
2901 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2903 * messages.C (getLocaleDir): use lyx_localedir()
2905 * lyxlex_pimpl.C (setFile): compress stuff
2907 * buffer.C (writeFile): add some compression stuff
2908 (do_writeFile): new func, dont call expliti close... will this
2911 * Makefile.am (lyx_LDADD): add -lz
2913 2003-07-28 José Matos <jamatos@fep.up.pt>
2915 * buffer.C: increment file format.
2916 * paragraph_funcs (readParagraph, readParToken):
2917 * paragraph.C (readParagraph): add \end_layout.
2919 2003-07-27 Angus Leeming <leeming@lyx.org>
2921 * Makefile.am: remove special casing for configure-time setting of
2922 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2924 * lyx_main.C (init): remove all Jean-Marc's magic setting of
2925 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2927 2003-07-26 André Pönitz <poenitz@gmx.net>
2929 * paragraph_func.[Ch]:
2930 * paragraph.C (realizeFont): inline it whereever it is used
2935 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2938 2003-07-26 André Pönitz <poenitz@gmx.net>
2942 * text2.C: get rid of LyXText::need_break_row
2944 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2946 * toc.[Ch]: put namespace toc inside namespace lyx
2948 * MenuBackend.C (expandToc2): adjust for lyx::toc
2951 * lyxfunc.C (dispatch): adjust for lyx::find
2953 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2954 lyx::find instead. Reorganize a bit.
2955 (LyXReplace): rename to replace
2956 (LyXFind): rename to find
2958 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2961 2003-07-26 André Pönitz <poenitz@gmx.net>
2963 * text.C (setHeightOfRow): restrict scope of temporary variable
2965 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
2966 code (never has been used?)
2968 2003-07-27 Asger Alstrup <alstrup@local>
2970 * text.C (fill): Optimise algorithm to exploit that we can reuse
2971 the LyXFont for many characters.
2972 (setHeightOfRow): Same thing.
2973 (rowBreakPoint): Same thing.
2975 2003-07-26 Asger Alstrup <alstrup@local>
2977 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2979 * text.C (singleWidth): Spurious font copying in hot-spot
2980 singleWidth avoided. Reorder tests for arabic for efficiency.
2982 * text.C (fill): handle empty paragraphs better.
2984 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2987 * encoding.h: add includes
2989 * lyxrc.C: remove reading of bind files
2991 * lyx_main.C (init): setup bindings and menus only if we have a
2994 * kbmap.C (read): new method. Do the actual reading of bind
2997 * converter.C (dvipdfm_options):
3000 (output): adapt PAPER_* enums.
3002 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3004 * bufferparams.h: remove paper-related enums from there
3006 * paper.h: New file. A trivial header file to hold paper-related
3007 enums. It should later expand to contain many paper-related
3010 * lyxrc.C: declare extern displayTranslator
3012 2003-07-27 José Matos <jamatos@fep.up.pt>
3014 * tabular.[Ch] (linuxdoc): add support for tables and figures
3017 2003-07-27 José Matos <jamatos@fep.up.pt>
3019 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3020 consistency in both functions.
3021 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3023 2003-07-26 Asger Alstrup <alstrup@local>
3025 * rowpainter.C (paintRows): Change algorithm to work directly on
3026 the insets rather than asking every character in the document
3027 whether its an inset.
3029 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
3031 * buffer.C (openFileWrite): factorize some code
3033 2003-07-26 Angus Leeming <leeming@lyx.org>
3036 * lyx_main.[Ch]: replace occurances of system_tempdir with
3039 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3041 * rename Inset to InsetOld
3043 2003-07-25 Asger Alstrup <alstrup@diku.dk>
3045 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3046 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3047 which I think is a bit clearer. EDIT is gone, since it was
3048 premature optimisation, and broken for mathed anyway.
3049 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3050 with cursor positioning in insets as well (math insets still do not
3051 work, but that's a different story anyway.) It mysteriously
3052 crashes sometimes with undo in the first paragraph, but I'm fairly
3053 confident that this is a compiler bug.
3055 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3057 * paragraph.C (Paragraph): adjust for new clone return type
3059 (copyIntoMinibuffer): ditto
3061 2003-07-25 Asger Alstrup <alstrup@lyx.org>
3063 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3064 by not having a special case, and always doing a full rebreak of
3065 the document after undo.
3067 2003-07-23 Angus Leeming <leeming@lyx.org>
3069 * factory.C (createInset): InsetExternal::setParams now takes a
3072 2003-07-23 Angus Leeming <leeming@lyx.org>
3074 * factory.C (createInset): changed interface to the external and
3075 graphics mailers' string2params functions.
3077 2003-07-23 Angus Leeming <leeming@lyx.org>
3079 * factory.C (createInset): pass a
3080 Buffer const * parameter to InsetExternalMailer's string2params.
3082 2003-07-22 John Levon <levon@movementarian.org>
3084 * Thesaurus.h: include the right aiksaurus header
3086 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3088 * MenuBackend.C (expand): check menu shortcuts unconditionally
3090 2003-07-21 Angus Leeming <leeming@lyx.org>
3092 * factory.C (createInset): pass a
3093 buffer_path parameter to InsetGraphicsMailer's string2params.
3095 2003-07-21 Angus Leeming <leeming@lyx.org>
3097 * BufferView_pimpl.C (buffer):
3100 * lyxfunc.C (dispatch):
3101 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3102 rather than the grfx shortcut.
3104 2003-07-21 André Pönitz <poenitz@gmx.net>
3106 * rowpainter.C: remove unused variables
3109 * tabular_funcs.h: move to tabular.C
3110 * Makefile.am: adjust
3112 * tabular.[Ch]: basic optical cleaning
3114 * author.h: pass references, not values
3116 2003-07-18 André Pönitz <poenitz@gmx.net>
3124 * text3.C: two-phase drawing for InsetText and InsetTabular
3125 some float -> int changes.
3127 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3129 * lyx_main.C: fix the fix
3131 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3133 * lyx_main.C: fix a crash in batch mode if no files specified
3136 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
3138 * format.[Ch] (papersize): moved to BufferParams
3139 * converter.[Ch] (dvips_options): moved to BufferParams
3140 (dvipdfm_options): moved to anon namespace
3141 * bufferparams.[Ch]: added above functions.
3143 2003-07-17 André Pönitz <poenitz@gmx.net>
3147 * text2.C: don't call inset->update() anymore
3149 * metricsinfo.[Ch]: add convenience constructor
3151 2003-07-16 André Pönitz <poenitz@gmx.net>
3156 * text2.C: replace the LyXCursor::irow_ member with
3157 on-demand computation of the value
3159 2003-07-16 John Levon <levon@movementarian.org>
3161 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3163 2003-07-15 André Pönitz <poenitz@gmx.net>
3166 * text2.C: remove no more needed refresh_row
3168 2003-07-15 André Pönitz <poenitz@gmx.net>
3173 * text3.C: refresh_status tristate -> need_update bool
3175 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3177 * lyxtext.h (init): remove reinit argument (act as if always true)
3178 * text2.C: adjust to that
3180 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3182 * bufferview_funcs.[Ch]: introduce function replaceSelection()
3183 * text3.C: use it to delete selections in some cases
3184 (bugs 441, 673, 702, 954).
3186 2003-07-14 André Pönitz <poenitz@gmx.net>
3188 * rowpainter.[Ch]: reduce interface
3190 2003-07-14 André Pönitz <poenitz@gmx.net>
3192 * BufferView_pimpl.C:
3193 * text2.C: adjust after removing unused BufferView * argument
3195 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
3197 * text2.C (init): fix a crash fired on resize
3199 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
3201 * buffer.[Ch]: added new closing signal
3202 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3203 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3204 BufferView::Pimpl via the closing the signal
3206 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
3208 * buffer.[Ch]: take out all bv-related from buffer
3210 * BufferView_pimpl.[Ch]: connect to new signals
3211 * CutAndPaste.C: removed useless asserts
3212 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3215 * lyxfunc.C: moved view-related funciontality from vc here
3216 * paragraph.C: removed outdated comments
3219 2003-07-10 André Pönitz <poenitz@gmx.net>
3221 * BufferView_pimpl.C:
3225 * text2.C: remove InsetText::InnerCache, clean up consequences
3227 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3229 * ispell.C: fix two typos in error messages
3231 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
3233 * Extend Note inset to other forms of annotation like Comment
3234 and Greyedout. Right button click gives dialog.
3236 Files modified or added (+):
3240 * ControlNote.[Ch] +
3242 * Makefile.am in frontends/xforms, frontends/xforms/forms,
3243 frontends/controllers
3247 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3249 * aspell.C: add missing namespace lyx::support
3251 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
3253 * BufferView.[Ch] (newFile): Add
3254 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3255 * LaTeX.[Ch] (message): added this signal and use it
3256 * buffer.[Ch] (busy, message): added these signals and use them
3257 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3261 * importer.C: use buffer signals instead of direct bv calling
3262 * lyx_cb.[Ch] (ShowMessage): removed
3265 * paragraph_funcs.C:
3266 * text2.C: use buffer signals
3268 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3270 * introduce namespace lyx::graphics
3272 2003-07-02 André Pönitz <poenitz@gmx.net>
3274 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3276 2003-07-01 André Pönitz <poenitz@gmx.net>
3283 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3284 text*.C to text_func.C
3286 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3288 * introduce namespace lyx::support
3290 2003-06-30 André Pönitz <poenitz@gmx.net>
3295 * text.C: re-enable --with-included-string
3297 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3299 * textcursor.C: add <config.h>
3301 * text.C (getWord): remove const from word_location arg
3303 * lyxvc.C (getLogFile): fix const type order
3305 * lyxtext.h: remove const from word_location arg, add arg name
3307 * lyxlayout.h: currect type on labeltype.
3309 * importer.C: correct \file
3311 * converter.C (intToFormat): use std:: on ret val, ws changes
3313 * bufferlist.h: correct \file
3315 * buffer.C (makeLinuxDocFile): fix const type order
3316 (makeDocBookFile): ditto
3317 (fillWithBibKeys): use std:: on stdlib args.
3319 * CutAndPaste.C: fix authors.
3320 (availableSelections): use std:: on return vector
3322 2003-06-27 André Pönitz <poenitz@gmx.net>
3324 * BufferView_pimpl.C:
3325 * bufferview_funcs.C:
3333 * text3.C: remove LyXCursor::row_ member
3336 * text.C: rename fullRebreak() to partialRebreak() and implement
3337 a fullRebreak() that really bereks fully
3339 * textcursor.h: new struct for cursor-related data
3341 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
3343 * lyx_main.C (LyX): get full path of document loaded on the
3346 2003-06-26 André Pönitz <poenitz@gmx.net>
3348 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3349 remove unused/broken operator>,<,>=.
3351 * text.C: remove only use of broken operator<= in an Assert().
3353 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3355 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3356 moved errorlist_.clear to showErrorList
3358 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3360 * converter.C (scanLog, runLaTeX):
3361 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3362 move the bv->showErrorList call to the callers
3363 * lyxfunc.C: i.e. here...
3365 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3366 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3367 namespace, the second to...
3368 * buffer_funcs (BufferFormat, parseErrors): added
3369 * errorlist.C (ErrorList(TeXErrors const &)): removed
3371 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3373 * ToolbarBackend.C (getIcon): complain when icon cannot be found
3375 2003-06-24 "Garst R. Reese" <reese@isn.net>
3379 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3381 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3383 * version.C.in: change docversion to 1.4
3385 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
3387 * buffer.C: fix a bug just introduced
3389 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3391 * buffer.[Ch]: added the parseError signal and use it, removed
3393 * BufferView.[Ch] (addError): moved to ...
3394 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3395 to the Buffer::parseError signal to catch (guess what) parse errors
3396 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3398 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3400 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3401 ability to create a buffer and to return an existing one from
3402 the list. Moved these functions to...
3403 * buffer_funcs.[Ch]: added
3404 * BufferView.[Ch] (loadLyXFile): added
3405 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3406 job removed from bufferlist::loadLyXFile.
3407 * buffer.C (setReadOnly): make it work without view
3408 (i.e added an if (users))
3410 2003-06-19 Angus Leeming <leeming@lyx.org>
3413 * LyXAction.C (init):
3414 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3415 with LFUN_DIALOG_SHOW <name> <data>.
3417 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3419 * CutAndPaste.C (availableSelections): small compilation fix for
3420 ancient (gcc 2.9x) compilers
3422 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3424 * text3.C (cursorNext): add tmp var
3426 * text2.C (updateCounters): for function calling out of for clause
3427 (replaceSelectionWithString): ditto
3428 (insertStringAsParagraphs): ditto
3429 (getColumnNearX): add tmp var
3430 (setCursorFromCoordinates): add tmp var
3431 (cursorDownParagraph): add tmp var
3432 (deleteEmptyParagraphMechanism): add tmp var
3434 * text.C (insertChar): add tmp var
3436 * rowpainter.C (paintDepthBar): add tmp var
3438 * CutAndPaste.C (availableSelections): potentially check all
3439 paragraphs in a cut to fill the shown strings.
3441 2003-06-18 André Pönitz <poenitz@gmx.net>
3443 * kbmap.[Ch]: use vector<> instead of list<>
3445 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3447 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3448 pasteSelection with index
3450 * text2.C (pasteSelection): modify, call pasteSelection with index
3452 * paragraph.C (asString): reimplement version with no interval to
3453 call the one with interval.
3455 * lyxtext.h: add index arg to pasteSelection
3457 * MenuBackend.C (MenuItem): handle PasteRecent
3458 (Menu::read::Menutags): add md_pasterecent
3460 (expandPasteRecent): new function
3463 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3465 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3467 (availableSelections): new function
3469 2003-06-17 Angus Leeming <leeming@lyx.org>
3471 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3473 2003-06-17 Angus Leeming <leeming@lyx.org>
3476 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3478 * lyxfunc.C (dispatch): invoke it.
3480 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3482 * iterators.C (operator++, ParPosition): reintroduce some
3483 const_cast for the benefit of older compilers.
3485 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3487 * text3.C (dispatch): do not modify clipboard when doing
3488 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3489 LFUN_DELETE_SKIP on a selection selection
3491 2003-06-16 André Pönitz <poenitz@gmx.net>
3497 * tabular.[Ch]: IU of clone() and getLabelList();
3499 2003-06-13 André Pönitz <poenitz@gmx.net>
3501 * tabular.h: compactification
3503 2003-06-12 André Pönitz <poenitz@gmx.net>
3507 * tabular_funcs.h: some renaming plus whitespace
3509 2003-06-12 André Pönitz <poenitz@gmx.net>
3512 * BufferView_pimpl.C:
3518 * toc.C: Return a Paragraph & for ParIterator::operator*()
3520 2003-06-11 John Levon <levon@movementarian.org>
3524 * ToolbarBackend.C: add "Toolbars" section and
3527 2003-06-10 Angus Leeming <leeming@lyx.org>
3530 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3532 * lyxfunc.C (dispatch): invoke it.
3534 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3536 * main.C: protect <ios> with HAVE_IOS
3537 (main): protect sync_with_stdio with HAVE_IOS
3539 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3541 * text2.C (cutSelection): adjust
3542 (pasteSelection): adjust
3544 * messages.C: handle get of empty string
3546 * main.C (main): use sync_with_stdio(false)
3548 * lyxfunc.C (dispatch): adjust
3550 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3551 (WriteAs): remove unneeded BufferView arg.
3553 * bufferparams.h: use correct types on papersize, papersize2 and
3556 * bufferparams.C (readToken): adjust for type
3557 (writeLaTeX): add missing cases to switch.
3559 * bufferlist.C (quitWriteBuffer): adjust
3562 * buffer.C (asciiParagraph): remove some commented code.
3564 * CutAndPaste.C: remove current_view extern variable.
3565 (cutSelection): add BufferParams arg.
3566 (eraseSelection): add BufferParams arg.
3567 (pasteSelection): add Buffer const & arg
3569 2003-06-07 John Levon <levon@movementarian.org>
3572 * paragraph_funcs.C:
3573 * paragraph_pimpl.C:
3577 * paragraph.C: allow InsetERT to freely space lines,
3578 and some consolidation of code
3580 2003-06-06 José Matos <jamatos@fep.up.pt>
3582 * buffer.C (makeDocBookFile): fix bug #821
3584 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3586 * BufferView_pimpl.C (dispatch): use Dialogs::visible
3588 2003-06-04 Angus Leeming <leeming@lyx.org>
3590 * buffer.C: bump format to 224.
3592 2003-06-05 André Pönitz <poenitz@gmx.net>
3594 * text2.C (redoParagraphs): remove two const_cast<>
3596 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3598 * ParagraphList.h: remove last remnants of NO_STD_LIST
3600 2003-06-03 Angus Leeming <leeming@lyx.org>
3602 * factory.C (createInset): small change to the way InsetExternal's params
3605 2003-06-04 André Pönitz <poenitz@gmx.net>
3607 * buffer.h: use Undo directly instead of shared_ptr<Undo>
3609 * paragraph_pimpl.h:
3610 * paragraph.[Ch]: some Inset -> UpdatableInset changes
3612 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3614 * undo_funcs.C: make some simple cases of undo work again
3616 2003-06-03 John Levon <levon@movementarian.org>
3618 * ispell.C: HPUX doesn't have sys/select.h
3621 2003-06-03 John Levon <levon@movementarian.org>
3623 * CutAndPaste.C: update tabular and include inset
3628 * paragraph.C: remove owningBuffer(), don't pass Buffer
3631 * factory.C: insetGraphicsParams changed
3633 2003-06-02 John Levon <levon@movementarian.org>
3639 * text3.C: remove insetparent
3641 2003-06-02 John Levon <levon@movementarian.org>
3644 * buffer.C: fix inset_iterator.end(), move out of line
3647 2003-06-01 John Levon <levon@movementarian.org>
3649 * text3.C: use a proper cut/paste when doing inset
3650 insert (from Jürgen Spitzmüller)
3652 2003-06-01 John Levon <levon@movementarian.org>
3654 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3656 2003-05-30 André Pönitz <poenitz@gmx.net>
3658 * rowpainter.C: unify second drawing phase
3660 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3662 * trans_mgr.C: remove one case of current_view
3664 * text2.C (cursorBottom): delete NO_STD_LIST stuff
3666 * paragraph_funcs.h: remove paragraph.h include
3668 * paragraph.h: delete NO_STD_LIST stuff
3670 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3672 * buffer.h: remove paragraph.h include
3674 * ParagraphList.C: delete file
3676 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3678 * toc.C (getTocList): adjust
3680 * paragraph_pimpl.C (validate): adjust
3682 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3684 * paragraph.C (Paragraph): adjust
3685 (getPositionOfInset): use const_iterator, adjust
3686 (bibitem): use const_iterator, adjust
3687 (setInsetOwner): adjust
3689 * iterators.C (operator++): adjust
3691 * InsetList.[Ch]: Replace selfmade iterator with standard
3692 vector::iterator also introduce const_iterator. Remove getPos,
3693 getInset and setInset from InsetTable. Adjust accordingly.
3695 * BufferView.C (lockInset): adjust
3696 (ChangeInsets): adjust
3698 * tabular.[Ch]: delete commented same_id functions
3700 2003-05-28 John Levon <levon@movementarian.org>
3702 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3704 2003-05-28 André Pönitz <poenitz@gmx.net>
3706 * metricsinfo.[Ch]: remove 'fullredraw' member
3708 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
3710 * lyxtextclass.C (operator): remove caching.
3712 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3716 * text2.C (cursorBottom): adjust
3717 (setCounter): use ParagraphList::find, adjust
3719 * text.C (workWidth): use ParagraphList::find, adjust
3721 * lyxcursor.C (LyXCursor): adjust
3723 * buffer.C (inset_iterator): adjust
3725 * ParagraphList.h: make iterator(value_type) private, make
3726 ParagraphList a friend of iterator.
3728 * ParagraphList.C (find): new function
3730 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3732 2003-05-27 André Pönitz <poenitz@gmx.net>
3734 * dimension.[Ch]: a -> asc, d -> des, w -> wid
3736 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3738 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3740 2003-05-26 John Levon <levon@movementarian.org>
3742 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3744 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3746 * remove same_id from function signatures, adjust.
3748 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3750 * undo_funcs.C (createUndo): use the id functions directly, adjust.
3752 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3754 * paragraph.C (Paragraph): get rid of same_ids parameter
3756 * ParagraphList.C (insert): adjust
3759 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3761 * paragraph_funcs.C (breakParagraph): adjust
3762 (breakParagraphConservative): adjust
3764 * buffer.C (readParagraph): adjust
3766 * ParagraphList.C (insert): take a reference instead of a pointer
3769 * paragraph.[Ch] (id): new function
3771 * bufferlist.C (newFile): adjust
3773 * ParagraphList.C (ParagraphList): adjust
3775 (push_back): take a reference instead of a pointer.
3777 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3779 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3782 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3783 set else use old code.
3785 * ParagraphList.C: remove all NO_NEXT code and only compile this
3786 code of NO_STD_LIST is set.
3788 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3790 * BufferView_pimpl.C:
3800 * graphics/GraphicsConverter.C:
3801 * graphics/PreviewLoader.C: header adjustment
3803 2003-05-23 Angus Leeming <leeming@lyx.org>
3805 * LaTeXFeatures.[Ch] (useBabel): new method.
3806 * bufferparams.C (writeLaTeX): use it.
3808 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3810 * ParagraphList.h (set): remove unused function.
3812 2003-05-23 André Pönitz <poenitz@gmx.net>
3815 * BufferView_pimpl.C:
3819 * undo_funcs.C: setUndo reworked
3821 * iterators.[Ch]: add access to topmost ParagraphList
3823 * lyxtext.[Ch] (workWidth): add a const
3825 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3827 * texrow.[Ch] (increasePos): remove function
3828 * exporter.C (export): removed unused var and outdated comment
3830 2003-05-23 Angus Leeming <leeming@lyx.org>
3832 * latexrunparams.h: rename fragile as moving_arg.
3833 * paragraph.C (simpleTeXOnePar): ditto.
3834 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3836 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3838 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3840 (textUndoOrRedo): comment out a currently unused var.
3842 * paragraph.h (NO_NEXT): enable NO_NEXT
3844 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3846 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3848 * exporter.C (Export): adjust for removeAutoInsets removal.
3850 * buffer.C (runChktex): adjust for removeAutoInsets removal.
3852 * LyXAction.C (init): remove LFUN_REMOVEERRORS
3854 * BufferView.[Ch] (removeAutoInsets): delete function
3856 2003-05-22 Angus Leeming <leeming@lyx.org>
3858 * latexrunparams.h: add a free_spacing variable.
3860 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3861 to pass moving_arg, as the data is stored in runparams.fragile.
3863 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3864 to Inset::latexOptional or to simpleTeXOnePar.
3866 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3867 free_spacing arg to Inset::latexOptional.
3869 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3872 2003-05-22 Angus Leeming <leeming@lyx.org>
3874 * latexrunparams.h: add fragile and use_babel variables.
3876 * bufferparams.[Ch] (writeLaTeX): return use_babel.
3877 * buffer.C (makeLaTeXFile): store this returned value in
3878 runparams.use_babel, thus passing it to the inset::latex methods.
3880 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3881 simpleTeXSpecialChars as it is now stored in runparams.fragile.
3883 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3884 longer has a fragile arg, as it is stored in runparams.fragile.
3886 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3887 moving_arg parameter as the data is stored in runparams.fragile.
3889 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3890 a fragile parameter as the data is stored in runparams.fragile.
3892 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3894 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3896 2003-05-22 Angus Leeming <leeming@lyx.org>
3898 * latexrunparams.h: add a 'bool nice' which defaults to false.
3900 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3901 now encapsulated within runparams.
3903 * bufferlist.C (updateIncludedTeXfiles):
3904 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3906 2003-05-22 Angus Leeming <leeming@lyx.org>
3908 * latexrunparams.h: new file containing struct LatexRunParams.
3909 * Makefile.am: add new file.
3911 * LaTeX.[Ch] (c-tor, run):
3912 * buffer.[Ch] (makeLaTeXFile):
3913 * bufferlist.[Ch] (updateIncludedTeXfiles):
3914 * converter.C (convert, scanLog):
3915 * converter.[Ch] (runLaTeX):
3916 * exporter.C (Export):
3917 * paragraph.[Ch] (simpleTeXOnePar):
3918 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3919 * paragraph_funcs.[Ch] (latexParagraphs):
3920 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3921 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3922 pass around a LatexRunParams parameter.
3924 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3926 * paragraph.[Ch]: remove unused constructor
3928 * ParagraphList.C (erase): new function, taking two iterators
3930 2003-05-22 André Pönitz <poenitz@gmx.net>
3932 * undo_funcs.C: remove duplicated code
3934 * iterator.[Ch]: operator=
3936 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3938 * tabular.C (SetMultiColumn): ws changes
3940 * rowpainter.C (paintFirst): get rid of a ->previous
3942 * lyx_cb.C (getPossibleLabel): parlist simplification
3944 * BufferView.C (ChangeInsets): simplify slightly.
3946 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3948 * LyXAction.C: new lfun space-insert, kill protected-space-insert
3949 * lfuns.h: new LFUN_SPACE
3950 * lyxfunc.C: protected space has a new lfun
3951 * paragraph_funcs.C: read new space insets
3953 * factory.C: handle new space insets
3955 2003-05-22 André Pönitz <poenitz@gmx.net>
3958 * BufferView_pimpl.C:
3961 * undo_funcs.C: return a ParIterator from getParFromID.
3963 * iterators.[Ch]: add two const's
3965 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3967 * toc.C (getTocList): adjust
3969 * iterators.[Ch]: rework for parlist
3971 * buffer.C (par_iterator_begin): adjust
3972 (par_iterator_end): adjust
3974 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3976 * BufferView.C (removeAutoInsets): adjust
3977 (ChangeInsets): adjust
3979 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
3981 * text.C (top_y): fix bug 1110
3983 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
3985 * errorlist.[Ch]: added
3988 * BufferView_pimpl.C:
3989 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3992 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3994 * Makefile.am: ensure that lyx is relinked upon changes to the
3995 various "convenience" libs.
3997 2003-05-20 Angus Leeming <leeming@lyx.org>
3999 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4000 files are compiled in alphabetical order again.
4002 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4004 2003-05-19 Angus Leeming <leeming@lyx.org>
4006 * gettext.[Ch]: remove "char const * _(char const *)".
4008 2003-05-19 André Pönitz <poenitz@gmx.net>
4010 * dimension.[Ch]: promote from mathed/dimension.[Ch]
4019 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4021 2003-05-19 André Pönitz <poenitz@gmx.net>
4025 * lyxtextclass.[Ch]:
4027 * paragraph_funcs.[Ch]:
4029 * text3.C: more insetenv work
4031 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
4033 * ParagraphParameters.C (params2string): small bug fixed
4035 2003-05-16 André Pönitz <poenitz@gmx.net>
4038 * bufferview_funcs.C: patch from Kornel Benko to prevent
4039 crash when _(...) is called twice in a statement
4041 2003-05-16 André Pönitz <poenitz@gmx.net>
4048 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4050 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
4052 * lyx_main.C (init): remove spurious static_cast
4054 2003-05-14 André Pönitz <poenitz@gmx.net>
4056 * BufferView.C: fix format string
4058 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
4060 * BufferView.[Ch] (insertErrors): removed
4061 * BufferView.[Ch] (showErrorList): added
4062 * buffer.C (runChkTeX):
4063 * converter.C (scanLog): call showErrorList instead of inserterrors
4065 2003-05-13 André Pönitz <poenitz@gmx.net>
4067 * BufferView_pimpl.C:
4069 * bufferview_func.C:
4076 * tabular_funcs.h: tostr() from its own header
4078 * ParagraphParameters.C:
4083 * text3.C: STRCONV()
4085 2003-05-12 André Pönitz <poenitz@gmx.net>
4088 * BufferView_pimpl.C:
4092 * ParagraphParameters.C:
4096 * bufferview_funcs.C:
4109 * paragraph_funcs.C:
4113 * text3.C: boost::format -> bformat all over the place
4116 2003-05-09 André Pönitz <poenitz@gmx.net>
4118 * LColor.[Ch]: Pimpl the #include <map> away
4120 2003-05-09 John Levon <levon@movementarian.org>
4122 * bufferlist.C: never remove emergency saves
4124 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4126 * Makefile.am: better lib building
4128 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4130 * texrow.[Ch]: remove dependency on Paragraph and just store a id
4132 * paragraph_pimpl.C (simpleTeXBlanks): adjust
4133 (simpleTeXSpecialChars): adjust
4134 (simpleTeXSpecialChars): adjust
4135 * paragraph.C (simpleTeXOnePar): adjust
4136 * buffer.C (makeLaTeXFile): adjust
4138 * Makefile.am (BOOST_LIBS): allow boost as system lib.
4140 * text2.C (changeDepth): parlist cleanup
4141 (getColumnNearX): ditto
4143 * rowpainter.C (getLabelFont): parlist cleanup
4145 * bufferlist.C (newFile): parlist cleanup
4147 * CutAndPaste.C (eraseSelection): parlist cleanup
4149 * BufferView_pimpl.C (trackChanges): parlist cleanup
4152 * BufferView.C (lockInset): parlist cleanup.
4153 (ChangeInsets): ditto
4155 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4157 * CutAndPaste.h: Update file header.
4159 * CutAndPaste.C: Update file header.
4160 Store the parts cut out of the Document in a limited_stack.
4161 (copySelection): adjust
4162 (pasteSelection): new function, takes the index in the limited stack.
4163 (nrOfParagraphs): adjust
4164 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4165 simplify error inset insertion.
4166 (checkPastePossible): adjust
4168 2003-05-06 John Levon <levon@movementarian.org>
4170 * text2.C: don't cast wrap inset to float
4172 2003-05-05 André Pönitz <poenitz@gmx.net>
4175 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4177 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4178 few naked Paragraph *.
4180 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
4182 * bufferparams.C: Output warning if a document with missing
4183 TeX document class is loaded
4184 * exporter.C: Disable TeX exports if the document class is missing
4187 * lyxtextclasslist.C: Handle new textclass.lst format; new method
4188 isTeXClassAvailable()
4190 2003-05-03 John Levon <levon@movementarian.org>
4193 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4194 explicit cursor show/hide
4196 * BufferView_pimpl.h:
4197 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4198 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4200 * lyxfunc.C: hide cursor before dispatching.
4205 * text3.C: remove explicit cursor hides
4207 2003-05-02 André Pönitz <poenitz@gmx.net>
4209 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4212 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4215 * text2.C: tiny whitespace
4217 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4219 * undo_funcs.C: almost only ws changes.
4221 * ParagraphList.C (splice): just return if pl is empty.
4223 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4225 * ParagraphList.C (splice): new function.
4227 * CutAndPaste.C (pasteSelection): use it
4229 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4231 * CutAndPaste.C (pasteSelection): remove the last next and
4232 previous from this file.
4234 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4236 * CutAndPaste.C (pasteSelection): more clean up, user proper
4237 ParagraphList functions for pasteing.
4239 * ParagraphList.C (insert): new function, three arg insert
4241 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4243 * ParagraphList.C (insert): new function, three arg insert
4245 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4248 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4250 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4252 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4254 * CutAndPaste.C (pasteSelection): remove some unneeded code.
4256 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4258 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4259 (copySelection): clean up a bit.
4260 (pasteSelection): use make_pair
4262 * ParagraphList.C (ParagraphList): implement copy constructor
4263 (operator=): implement, base on copy constructor.
4266 * paragraph.C (erase): return a bool
4268 * paragraph_pimpl.C (erasePos): remove function, move contents...
4269 (erase): ... here. Return a bool.
4270 (erase): call erase instead of erasePos.
4272 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
4274 * ParagraphList.h: define PitPosPair
4275 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4276 ParagraphList, fix a bug on pasting multiple pars
4277 * text2.C: change interface to C&P
4279 2003-04-30 André Pönitz <poenitz@gmx.net>
4281 * undo_func.C: revert part of yesterday's patch 2
4283 2003-04-30 John Levon <levon@movementarian.org>
4285 * LColor.C: s/tabular/table/
4287 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4289 * text3.C (dispatch): do not convert iterator -> pointer
4290 * undo_funcs.C (setCursorParUndo): ditto
4291 * text_funcs.C (transposeChars): ditto
4293 * text2.C (setLayout): ws changes only
4295 * text.C (breakParagraph): do not convert iterator -> pointer
4297 (acceptChange): ditto
4298 (rejectChange): ditto
4303 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4306 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4308 * text3.C (gotoInset): YABG (yet another bad getChar)
4310 2003-04-29 André Pönitz <poenitz@gmx.net>
4312 * paragraph.h: make operator= private unimplemented as long as
4315 * ParagraphList.C: whitespace
4318 * paragraph_pimpl.[Ch]:
4319 * paragraph_funcs.C:
4321 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
4324 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4326 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4328 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4329 * paragraph.[Ch] (erase):
4330 * paragraph_pimpl.[Ch] (erase): change return type and value
4331 * text2.C (cutSelection): some rework
4333 2003-04-28 John Levon <levon@movementarian.org>
4335 * bufferlist.C: changes for unsaved changes dialog
4337 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4339 * bufferlist.C (newFile): set language (messages_) for new
4342 * buffer.C (readFile): ws changes only.
4344 2003-04-28 André Pönitz <poenitz@gmx.net>
4349 * BufferView_pimpl.C:
4350 * BufferView.C: getParFromID related ParagraphList::iterator changes
4352 2003-04-28 André Pönitz <poenitz@gmx.net>
4354 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4357 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4359 * messages.C: remove one more localedir class variable.
4361 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4363 * messages.C (getLocaleDir): singleton generation function
4365 (Messages): add a default constructor.
4367 * main.C (main): do not setup localedir here, do not call
4370 * gettext.C (_): use it.
4371 (gettext_init): delete funciton
4373 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4375 * gettext.C (getLyXMessages): new singleton generating function.
4377 * buffer.C (updateDocLang): adjust
4379 * Makefile.am (messages.o): add target
4380 (main.o): remove target
4382 2003-04-27 John Levon <levon@movementarian.org>
4387 * lyxvc.C: specify cancel button in Alert::prompt
4389 2003-04-26 John Levon <levon@movementarian.org>
4394 * LyXAction.C: add LFUN_INSET_SETTINGS
4396 * lyxfunc.C: don't enable tabular-feature when there's
4397 just any locking inset
4399 2003-04-26 John Levon <levon@movementarian.org>
4401 * bufferlist.C: re-add Cancel to buffer close question
4403 * lyxfunc.C: fix import UI a bit
4405 2003-04-25 John Levon <levon@movementarian.org>
4407 * gettext.C: remove the broken asserts for now
4409 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4411 * messages.C: make case where setlocale cannot comply work better.
4413 * buffer.C (updateDocLang): new function
4414 (changeLanguage): use it
4417 * text2.C (setCounter): use B_ a bit.
4419 * lyxlayout.C (Read): be sure to trim the label strings.
4421 * messages.C (Messages): fix typo in comment
4423 * buffer.C (readFile): set message_ after file is loaded.
4424 (makeDocBookFile): remove double return
4425 (changeLanguage): reset message_ upon language change.
4426 (B_): new func, use this to get translated buffer strings.
4428 * main.C: add myself and Jean Marc as authors.
4430 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4432 * messages.[hC]: pimplify Messages, and three different pimpls to be
4433 used in different circumstances.
4435 * gettext.[Ch]: change for use with new message code.
4437 2003-04-24 André Pönitz <poenitz@gmx.net>
4439 * factory.C: support for eqref
4441 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4443 * messages.[Ch]: add missing char
4445 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4447 * messages.[Ch]: New files
4449 2003-04-18 John Levon <levon@movementarian.org>
4453 * BufferView_pimpl.C:
4457 * text2.C: remove layout-copy/paste (bug 778)
4459 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4461 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4463 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4465 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4466 if they succeed. Act accordingly.
4468 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4470 * text2.C (setCharFont): adjust
4471 (setCounter): adjust
4472 (insertStringAsLines): adjust
4474 * text.C (leftMargin): adjust
4475 (setHeightOfRow): adjust
4477 * rowpainter.C (paintFirst): adjust
4480 * paragraph_funcs.C (depthHook): ParagraphList::iterators
4482 (isFirstInSequence): ditto
4483 (getEndLabel): ditto
4486 * paragraph.C (getParLanguage): comment out some hard stuff.
4488 * buffer.C (insertStringAsLines): take a ParagraphList as arg
4490 (simpleDocBookOnePar): ditto
4491 (makeDocBookFile): use ParagraphList::iterator
4493 * CutAndPaste.C (pasteSelection): adjust
4495 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4497 * text2.C (getFont): adjust
4498 (getLayoutFont): adjust
4499 (getLabelFont): adjust
4501 * paragraph_funcs.C (TeXOnePar): adjust
4503 * buffer.C (simpleLinuxDocOnePar): adjust
4504 (simpleDocBookOnePar): adjust
4506 * CutAndPaste.C (pasteSelection): adjust
4508 * BufferView.C (getEncoding): adjust
4510 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4512 2003-04-16 John Levon <levon@movementarian.org>
4514 * lyxfind.C: use parlist stuff for search/changes
4516 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4518 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4520 * text2.C (deleteEmptyParagraphMechanism): adjust
4522 * text2.[Ch] (ownerParagraph): delete func (both of them
4524 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4526 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4528 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4530 * ParagraphList.C: prepare for NO_NEXT
4532 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4534 * text2.C (getFont): adjust
4535 (getLayoutFont): adjust
4536 (getLabelFont): adjust
4538 * paragraph.C (getFont): adjust
4539 (getLabelFont): adjust
4540 (getLayoutFont): adjust
4542 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4544 2003-04-15 John Levon <levon@movementarian.org>
4548 * lyx_main.C: handle Include in .ui files
4550 2003-04-15 John Levon <levon@movementarian.org>
4552 * MenuBackend.C: make the doc files length shorter
4555 * ToolbarBackend.C: handle toolbar placement flags,
4558 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4560 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4563 * paragraph_funcs.C (TeXOnePar): adjust
4565 * paragraph.C (getLabelFont): add outerfont arg, adjust
4566 (getLayoutFont): ditto
4567 (simpleTeXOnePar): adjust
4569 * paragraph_pimpl.C (realizeFont): delete func
4571 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
4573 * text2.C (beforeFullRowInset): added a bad getchar check, removed
4574 row argument, constify cur argument.
4576 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4578 * text2.C (getFont): adjust
4579 (getLayoutFont): adjust
4580 (getLabelFont): adjust
4582 * paragraph_funcs.C (TeXOnePar): adjust
4583 (outerFont): new func...
4584 (realizeFont): ...moved out from here, changed this to facilitate
4587 * paragraph.C (getFont): take outerfont as arg, adjust
4588 (simpleTeXOnePar): add outerfont arg, adjust
4590 * buffer.C (simpleLinuxDocOnePar): adjust
4591 (simpleDocBookOnePar): adjust
4593 * CutAndPaste.C (pasteSelection): adjust
4595 * BufferView.C (getEncoding): adjust
4597 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4599 * text2.C (setCharFont): adjust
4600 (setCounter): adjust
4602 * text.C (leftMargin): adjust
4603 (setHeightOfRow): adjust
4605 * rowpainter.C (paintFirst): adjust
4608 * paragraph_pimpl.C (realizeFont): adjust
4610 * paragraph.C (isFirstInSequence): move from here...
4611 * paragraph_funcs.C (isFirstInSequence): ...to here
4613 * paragraph.C (outerHook): move from here...
4614 * paragraph_funcs.C (outerHook): ...to here
4616 * paragraph.C (depthHook): move from here...
4617 * paragraph_funcs.C (depthHook): ...to here
4619 * paragraph.C (getEndLabel): move from here...
4620 * paragraph_funcs.C (getEndLabel): ...to here
4622 * text2.C (realizeFont): move from here...
4623 * paragraph_funcs.C (realizeFont): ...to here
4625 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4627 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4629 2003-04-14 Angus Leeming <leeming@lyx.org>
4631 * LColor.[Ch]: scrap LColor mathcursor.
4633 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4635 * lyxlex.[Ch] (text): delete function
4636 * trans.C (Load): adjust
4637 * paragraph_funcs.C (readParToken): adjust
4639 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4641 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4642 vector<char> instead of a char[].
4644 * lyxlex_pimpl.C (getString): adjust
4646 (lex): use getString
4650 * lyxlex.C (text): use pimpl_->getString()
4654 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4656 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4657 (makeFontEntriesLayoutSpecific): temp var for par.size()
4658 (setLayout): temp var for ownerParagraphs().end()
4659 (fullRebreak): temp var for rows().end()
4660 (selectionAsString): temp var for boost::next(startpit), realize
4661 that the while really is a regular for loop.
4662 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4663 setCursor in one place.
4664 (setParagraph): temp vr for ownerParagraphs().end()
4665 (updateCounters): make the while loop a for loop
4666 (cutSelection): temp var for ownerParagraphs().end()
4667 (updateInset): make the do {} while() a regular for loop
4668 (getCursorX): use temp vars
4669 (setCurrentFont): use temp vars
4670 (getColumnNearX): use temp vars
4672 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4674 * text.C (transformChar): use temp var for getChar
4675 (computeBidiTables): use temp var for row->par()
4676 (fill): move temp vars for row->par() and pit->layout() earlier in
4678 (labelFill): use temp var for row->par()
4679 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4680 asc and desc, realize that pit never changes and that firstpit is
4681 just a duplicate and not needed. Exchange rit->par() with pit in a
4683 (breakAgain): use a temp var for boost::next(rit)
4684 (breakAgainOneRow): ditto
4685 (breakParagraph): use a temp var for rows().begin()
4686 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4687 (cursorRightOneWord): use temp var for cursor.par() and
4688 cursor.pos(), remove usage of tmpcursor.
4689 (cursorLeftOneWord): use temp var for cursor.par() and
4690 cursor.pos() only set cur at end of function.
4692 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4694 * text.C, text2.C: exchange all usage of Paragraph::next with
4695 boost::next(ParagraphList::iterator)
4697 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4699 * text2.C (cursorTop): simplify implementation
4700 (cursorBottom): ditto
4701 (setParagraph): use ParagraphList::iterator
4702 (setCurrentFont): adjust
4703 (getColumnNearX): adjust
4704 (cursorRight): adjust
4705 (cursorLeft): remove usage of Paragraph::previous
4706 (cursorUpParagraph): ditto
4707 (deleteEmptyParagraphMechanism): slight cleanup
4709 * text.C (isBoundary): take a Paragraph const & instead of a
4711 (addressBreakPoint): ditto
4712 (leftMargin): remove usage of Paragraph::previous.
4713 (setHeightOfRow): ditto
4714 (cursorLeftOneWord): ditto
4715 (selectNextWordToSpellcheck): ditto
4718 (breakParagraph): remove one usage of Paragraph::next
4719 (redoParagraph): ditto
4720 (acceptChange): ditto
4721 (insertChar): adjust
4722 (rowBreakPoint): adjust
4724 * bufferview_funcs.C (toggleAndShow): adjust
4726 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
4728 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4729 methods to access it.
4731 * text.C: Added updateRowPositions to compute all row positions.
4732 Make top_y and getRowNearY() to use the cached y position
4734 2003-04-11 John Levon <levon@movementarian.org>
4736 * text.C (rowBreakPoint): reintroduce the labelEnd
4737 checks, code copied from the row fill stuff. Deep voodoo.
4739 * text.C (fill): add a comment and debugging for the
4742 2003-04-11 John Levon <levon@movementarian.org>
4744 * text.C: make sure fullrow insets get wrapped to the next line,
4745 even when they're in a manual label
4747 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4749 * text2.C (insertParagraph): make it take ParagraphList::iterator
4751 (setLayout): make it return ParagraphList::iterator
4752 (redoParagraphs): ditto
4754 (checkParagraph): ditto
4756 * text.C (getRow): make getrow take ParagraphList::iterator as arg
4758 * text2.C: adjust several funcs.
4759 (realizeFont): take a ParagraphList::iterator as arg.
4760 (getLayoutFont): ditto
4761 (getLabelFont): ditto
4762 (setCharFont): ditto
4764 * text.C: adjust several funcs.
4766 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4768 * text.C (selectNextWordToSpellcheck): don't accidentally
4771 2003-04-10 John Levon <levon@movementarian.org>
4773 * ToolbarBackend.C (getIcon): special handling for
4776 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4778 * text2.C (cursorRight): a getChar assert fixed
4780 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4782 * text2.C (getFont): change to take a ParagraphList::iterator
4783 instead of Paragraph*
4784 Adjust several functions.
4786 * text.C (transformChar): change to take a ParagraphList::iterator
4787 instead of Paragraph*
4788 (singleWidth): ditto
4789 Adjust several functions.
4791 * rowpainter.C: adjust several functions
4792 * rowpainter.h:store a ParagraphList::iterator and not a
4796 2003-04-09 John Levon <levon@movementarian.org>
4801 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4802 and the "help" bits as well
4804 2003-04-09 John Levon <levon@movementarian.org>
4807 * ToolbarBackend.C: allow multiple toolbars
4809 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4811 * undo_funcs.C (setCursorParUndo): adjust
4813 * text_funcs.C (transposeChars): adjust
4815 * text3.C (gotoNextInset): adjust
4818 * text2.C (setLayout): adjust
4819 (changeDepth): adjust
4821 (redoParagraphs): adjust
4822 (selectionAsString): adjust
4823 (setParagraph): adjust
4824 (insertInset): adjust
4825 (cutSelection): adjust
4826 (copySelection): adjust
4827 (pasteSelection): adjust
4828 (insertStringAsLines): adjust
4829 (updateInset): adjust
4830 (setCursor): change to take a ParagraphList::iterator parameter
4831 (setCursorIntern): change to take a ParagraphList::iterator parameter
4832 (setCurrentFont): adjust
4833 (cursorLeft): adjust
4834 (cursorRight): adjust
4835 (deleteEmptyParagraphMechanism): adjust
4837 * text.C (breakParagraph): adjust
4838 (insertChar): adjust
4839 (acceptChange): adjust
4840 (rejectChange): adjust
4841 (selectNextWordToSpellcheck): adjust
4842 (changeCase): adjust
4846 * lyxfind.C (SearchForward): adjust
4847 (SearchBackward): adjust
4848 (nextChange): adjust
4850 * lyxcursor.C (par): adjust
4852 * lyxcursor.h: store a ParagraphList::iterator instead of a
4855 * lyx_cb.C (getPossibleLabel): adjust
4857 * bufferview_funcs.C (toggleAndShow): adjust
4859 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4862 * BufferView.C (removeAutoInsets): adjust
4863 (lockedInsetStoreUndo): adjust
4865 2003-04-09 John Levon <levon@movementarian.org>
4867 * ToolbarBackend.C: try icon without argument
4868 if with argument fails
4870 2003-04-08 John Levon <levon@movementarian.org>
4873 * ToolbarBackend.C: add getIcon(), handle tooltip,
4874 and change from "Icon" to "Item".
4876 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4878 * BufferView.C (lockInset): another bad getchar crunched
4880 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4882 * text2.C (changeDepth): do not setUndo on test_only (make undo work
4885 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
4887 * lyxfind.C (searchForward, searchBackwards): bug 782
4889 2003-04-07 John Levon <levon@movementarian.org>
4891 * paragraph.C: remove dead comment
4893 * text.C: remove troublesome depth-fiddling code
4894 in leftMargin() and rightMargin() (bug 1017)
4896 * text.C: fix breaking of rows in nested lists
4899 * text2.C (updateCounters): fix up depth values
4902 2003-04-07 John Levon <levon@movementarian.org>
4904 * BufferView_pimpl.C: clear message when doc finishes resizing,
4905 and after a mouse event
4907 * lyxfunc.C: clear message after exiting inset
4909 2003-04-07 John Levon <levon@movementarian.org>
4911 * bufferview_funcs.C: show math status not outside
4912 status in the statusbar
4914 2003-04-07 John Levon <levon@movementarian.org>
4916 * lyxfunc.C: note status changed after a depth change
4918 2003-04-04 Angus Leeming <leeming@lyx.org>
4920 * LaTeX.h: move AuxInfo operator==, != out of line.
4921 Remove LaTeX virtual destructor; nothing derives from it.
4922 Move operator()() out of public area and rename it startscript().
4923 Change protected for private.
4925 2003-04-04 Angus Leeming <leeming@lyx.org>
4928 * text2.C: remove unneeded #includes.
4930 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4932 * text2.C (dEPM): fix the heigth of the next row
4934 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4936 * text.C: squashed an invalid getChar requester + some ws changes
4938 2003-04-03 John Levon <levon@movementarian.org>
4940 * bufferview_funcs.h:
4941 * bufferview_funcs.C:
4944 * text2.C: make getStatus work for the env depth lfuns
4946 2003-04-03 John Levon <levon@movementarian.org>
4948 * bufferview_funcs.h:
4949 * bufferview_funcs.C:
4952 * text2.C: parlistize decDepth(), by merging it with incDepth()
4954 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4956 * lyxrow.h: store a ParagraphList::iterator instead of a
4957 Paragraph* and adjust other class functions to suit.
4959 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4962 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4964 * text2.C (setCursor): do not anchor to cursor row for the time being
4966 2003-04-02 John Levon <levon@movementarian.org>
4973 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4975 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4977 * paragraph.h: make ParagraphList and ParagraphList::iterator
4978 friends of Paragraph.
4980 * buffer.C (makeLinuxDocFile): move towards ParagraphList
4982 * ParagraphList.C: Use the private next_ and previous_ from
4985 2003-04-01 John Levon <levon@movementarian.org>
4989 * Makefile.am: rename, remove defaults gunk
4992 * MenuBackend.C: remove defaults gunk
4995 * Languages.C: remove defaults gunk
4998 * lyx_main.C: error out if files couldn't be found.
5000 2003-04-02 John Levon <levon@movementarian.org>
5002 * text2.C: make incDepth() use parlist
5004 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5006 * undo_funcs.C (firstUndoParagraph): adjust
5008 * text3.C (gotoInset): adjust
5009 (dispatch): adjust, and rewrite loop.
5011 * text2.C (init): adjust, and rewrite loop.
5012 (redoParagraphs): adjust
5013 (updateInset): adjust, and rewrite loop.
5014 (deleteEmptyParagraphMechanism): adjust
5016 * tabular.C (LyXTabular): adjust
5017 (SetMultiColumn): adjust
5020 * lyxtext.[Ch] (ownerParagraph): delete function
5021 (ownerParagraphs): new function returns a ParagraphList.
5023 * BufferView.C (removeAutoInsets): adjust
5024 (insertErrors): adjust
5025 (setCursorFromRow): adjust
5027 2003-04-01 Angus Leeming <leeming@lyx.org>
5029 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5032 2003-04-02 John Levon <levon@movementarian.org>
5038 * text_funcs.C: make transposeChars a free function
5040 * lyxrow_funcs.C: remove wrong comment
5042 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5045 * rowpainter.C: adjust
5050 * lyxrow_funcs. [Ch]: new files
5052 * lyxrow.[Ch]: remove next and previous pointers
5053 (next,previous): remove accessor functions
5054 (isParEnd): move to lyxrow_funcs
5055 (lastPos): move to lyxrow_funcs
5056 (nextRowIsAllInset): move to lyxrow_funcs
5057 (lastPrintablePos): move to lyxrow_funcs
5058 (numberOfSeparators): move to lyxrow_funcs
5059 (numberOfHfills): move to lyxrow_funcs
5060 (numberOfLabelHfills): move to lyxrow_funcs
5061 (hfillExpansion): move to lyxrow_funcs
5065 * bufferview_funcs.C (toggleAndShow): adjust
5067 * RowList.h: Remove class RowList from file leave just a
5070 * RowList.C: delete file
5072 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5075 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5077 * text3.C (cursorPrevious): adjust
5078 (cursorNext): adjust
5081 * text2.C (redoHeightOfParagraph): adjust
5082 (redoDrawingOfParagraph): adjust
5085 * text.C (breakParagraph): adjust
5086 (insertChar): adjust
5089 * rowpainter.C (RowPainter): adjust
5090 (leftMargin): simplify and adjust
5091 (most rowpainter functions): adjust.
5093 * rowpainter.h: store the row as RowList::iterator not as Row*
5095 * lyxcursor.C (row): taka RowList::iterator as arg
5098 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5101 2003-04-01 Angus Leeming <leeming@lyx.org>
5103 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5104 stuff like bool Bool.
5106 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5108 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5111 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5113 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5116 * lyxtext.h (rows): drop one version and leve a const variant that
5117 returns a RowList::iterator.
5119 2003-03-31 Angus Leeming <leeming@lyx.org>
5121 * text.C (fill): ensure that the signature is the same as that in the
5124 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
5126 * text2.C (redoParagraphs): adjust
5127 (updateCounters): adjust
5128 (checkParagraph): adjust
5129 (getColumnNearX): adjust and reformat a bit.
5131 * text.C (top_y): adjust
5133 (leftMargin): adjust
5134 (prepareToPrint): adjust
5136 (getRowNearY): adjust
5138 * lyxtext.h: make rowlist_ mutable.
5140 * RowList.h: add const_iterator
5141 * RowList.C: adjust for RowList::const_iterator.
5143 * text2.C (getCursorX): make it take a RowList::iterator as arg,
5146 2003-03-31 John Levon <levon@movementarian.org>
5149 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5151 * lyx_main.C: set default fonts from using lyx_gui funcs
5153 * exporter.C: pdf_mode moved from lyxrc
5156 * lyxfunc.C: changes from above
5158 2003-03-31 John Levon <levon@movementarian.org>
5160 * lyx_main.C: fix to the last fix
5162 2003-03-31 John Levon <levon@movementarian.org>
5164 * bufferlist.C: "Load original" -> "Load Original"
5170 * format.C: more Alert cleanups
5172 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5174 * text2.C (removeParagraph): make it take a RowList::iterator as
5176 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5177 (postRowPaint): make it take a RowList::iterator as arg, adjust.
5179 * text.C (anchor_row): make it take a RowList::iterator as arg,
5181 (computeBidiTables): make it take a const reference to Row instead
5182 of Row pointer, adjust.
5183 (leftMargin): make it take a RowList::iterator as arg, adjust.
5184 (rowBreakPoint): adjust
5185 (breakAgainOneRow): make it take a RowList::iterator as arg,
5187 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5189 * bufferview_funcs.C (toggleAndShow): adjust
5191 2003-03-30 John Levon <levon@movementarian.org>
5195 * boost-inst.C: moved to support
5197 * several files: changes as a result
5199 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5201 * text2.C (LyXText): adjust.
5203 (removeRow): make it take a RowList::iterator as arg, adjust.
5204 (fullRebreak): adjust
5205 (deleteEmptyParagraphMechanism): adjust
5206 (clearPaint): adjust
5209 * text.C (top_y): adjust
5210 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5211 (breakAgain): make it take a RowList::iterator as arg, adjust.
5212 (breakParagraph): adjust
5213 (insertChar): adjust
5216 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5217 need_break_row, and refresh_row.
5219 * text3.C (dispatch): adjust
5221 * text2.C (checkParagraph): adjust
5223 (setCursorFromCoordinates): adjust
5225 * text.C (top_y): adjust
5227 (getRow): make it return a RowList::iterator, adjust
5228 (getRowNearY): make it return a RowList::iterator, adjust
5230 * text2.C (init): adjust
5231 (insertRow): remove function
5232 (insertParagraph): adjust
5233 (redoParagraphs): adjust
5234 (fullRebreak): adjust
5235 (updateCounters): adjust
5237 * text.C (top_y): rewrite to use RowList iterators.
5239 (setHeightOfRow): rewrite to sue RowList iterators.
5240 (appendParagraph): adjust
5241 (breakAgain): adjust
5242 (breakAgainOneRow): adjust
5243 (breakParagraph): adjust
5245 (getRowNearY): adjust, and remove commented code.
5247 * lyxtext.h (firstRow): delete function
5248 (lastRow): delete function
5249 (rows): new function (const and non-const versions.)
5250 (insertRow): delete function
5252 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5254 2003-03-29 John Levon <levon@movementarian.org>
5256 * BufferView_pimpl.C: always update scrollbar top
5257 because pasting text when we're anchored could mean we
5258 miss an update altogether
5260 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5262 * text2.C (init): use rowlist_.end() and not 0.
5263 (insertRow): change to take a RowList::iterator as arg, adjust
5265 (insertParagraph): change to take a RowList::iterator as arg,
5267 (redoParagraphs): remove some debug msgs.
5269 * text.C (appendParagraph): change to take a RowList::iterator
5270 arg, adjust for this.
5271 (breakAgain): add an assert
5272 (breakAgainOneRow): ditto
5274 2003-03-29 John Levon <levon@movementarian.org>
5276 * text2.C: do not clear selection after inc/decDepth
5279 2003-03-29 John Levon <levon@movementarian.org>
5282 * buffer.C: fix broken strerrors according to Lars
5284 2003-03-29 John Levon <levon@movementarian.org>
5286 * converters.C: more Alert cleanups
5288 2003-03-29 John Levon <levon@movementarian.org>
5290 * bufferview_funcs.C: remove pointless Alert
5292 * buffer.C: fix confusing error message when
5293 a template is chmoded 000
5295 2003-03-29 John Levon <levon@movementarian.org>
5299 * BufferView_pimpl.C: Alert fixes
5303 * tabular-old.C: remove unused table compat reading
5305 2003-03-29 John Levon <levon@movementarian.org>
5310 * lyx_cb.C: more Alert cleanups
5312 * lyxfunc.C: don't allow chktex if not latex document
5314 2003-03-29 John Levon <levon@movementarian.org>
5318 * buffer.C: warnings pushed down from support/,
5321 2003-03-29 John Levon <levon@movementarian.org>
5323 * lyxfunc.C: safety check for C-r (revert)
5325 2003-03-29 John Levon <levon@movementarian.org>
5328 * bufferlist.C: several UI fixes using Alert::prompt.
5329 Fix the pointless looping quit code. Fix stupid revert
5334 * lyx_cb.C: use Alert::prompt
5336 * lyx_main.C: remove a silly question
5338 * lyxfunc.C: remove a couple of silly questions,
5341 2003-03-28 John Levon <levon@movementarian.org>
5343 * text2.C: fix bug 974 (End on empty par)
5345 2003-03-28 John Levon <levon@movementarian.org>
5347 * BufferView_pimpl.C:
5349 * lfuns.h: remove do-nothing math greek lfuns
5351 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5353 * lyxgluelength.h (isValidGlueLength): add default arg on
5354 parameter 2. Remove default arg from friend in class.
5356 * lyxlength.h (isValidLength): add default arg on parameter 2.
5357 Remove default arg from friend in class.
5359 * text2.C (LyXText): adjust, initialize refresh_row.
5363 (insertParagraph): adjst
5364 (redoParagraphs): adjust
5365 (fullRebreak): adjust
5366 (updateCounters): adjust
5367 (deleteEmptyParagraphMechanism): first attempt at fixing a
5370 * text.C (top_y): adjust
5371 (setHeightOfRow): adjust
5373 (getRowNearY): adjust
5375 * lyxtext.h: include RowList.h
5376 (~LyXText): not needed anymore, deleted.
5377 (firstRow): modify for RowList
5378 (lastRow): new function
5379 Delete firstrow and lastrow class variables, add a Rowlist
5380 rowlist_ class variable.
5382 * lyxrow.C (lastPos): use empty() and not !size() to check if a
5385 * RowList.C (insert): fix case where it == begin().
5387 2003-03-26 Angus Leeming <leeming@lyx.org>
5389 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5390 the thesaurus dialog.
5392 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5394 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5396 * RowList.[Ch]: new files
5398 * ParagraphList.C (erase): handle the case where it == begin
5401 2003-03-25 John Levon <levon@movementarian.org>
5405 * aspell.C: add new aspell support
5408 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5411 2003-03-25 Angus Leeming <leeming@lyx.org>
5414 * LyXAction.C (init): new LFUN_INSET_INSERT.
5416 * BufferView_pimpl.C (dispatch): split out part of the
5417 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5419 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5422 2003-03-25 Angus Leeming <leeming@lyx.org>
5424 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5426 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5429 * text3.C: remove useless row->height(0)
5431 2003-03-25 John Levon <levon@movementarian.org>
5435 * text3.C: rename the refreshing stuff to better names
5437 2003-03-24 John Levon <levon@movementarian.org>
5439 * BufferView_pimpl.h:
5440 * BufferView_pimpl.C: update layout choice on a mouse
5443 2003-03-23 John Levon <levon@movementarian.org>
5445 * Makefile.am: fix commandtags.h reference
5447 2003-03-22 John Levon <levon@movementarian.org>
5449 * BufferView_pimpl.C:
5454 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5456 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5459 * text.C: take the rtl methods out of line
5461 2003-03-21 André Pönitz <poenitz@gmx.net>
5463 * metricsinfo.[Ch]: new files containing structures to be passed around
5464 during the two-phase-drawing...
5466 2003-03-21 André Pönitz <poenitz@gmx.net>
5468 * lyxtextclass.C: read 'environment' tag.
5470 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5472 * text2.C (removeRow): fix bug 964
5474 2003-03-20 John Levon <levon@movementarian.org>
5478 * text2.C: paint cleanups. Inset::update() dropped font
5481 2003-03-19 John Levon <levon@movementarian.org>
5483 * lyxfunc.C: only fitcursor/markDirty if available()
5485 2003-03-19 John Levon <levon@movementarian.org>
5487 * commandtags.h: rename to ...
5489 * lfuns.h: ... this, and renumber / cleanup
5491 2003-03-19 John Levon <levon@movementarian.org>
5493 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5494 fit the cursor after an lfun
5498 * BufferView_pimpl.h:
5499 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5501 * LyXAction.C: layout-character should have ReadOnly
5503 * ParagraphParameters.C:
5505 * bufferview_funcs.C:
5512 * undo_funcs.C: changes from above
5514 2003-03-18 John Levon <levon@movementarian.org>
5516 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5517 remove it from update()
5519 * lyxfunc.C: update layout choice after an lfun
5521 * text3.C: remove extra updateLayoutChoice()s
5523 2003-03-18 John Levon <levon@movementarian.org>
5525 * text.C: top_y change means full repaint, fix
5526 a drawing bug with cursor movement
5528 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5532 * text2.C: anchor row on setCursor
5534 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5536 * lyxtext.h: remove almost all mutable keywords
5539 * text3.C: remove const keywords accordingly
5541 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5543 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5545 (TeXEnvironment): ditto
5548 2003-03-17 John Levon <levon@movementarian.org>
5550 * text.C (rowBreakPoint): remove attempt to fix displayed
5551 math insets inside a manual label
5553 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5555 * lyxtext.h: remove BufferView* as first arg from almost all class
5557 * other files: adjust.
5559 2003-03-17 John Levon <levon@movementarian.org>
5563 * text2.C: more paint cleanups
5565 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5568 * rowpainter.C: remove "smart" background painting code
5570 2003-03-16 John Levon <levon@movementarian.org>
5575 * text3.C: add helper functions for setting refresh_row/y
5577 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
5579 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5580 newline inset which *can* get inserted in the pass_thru layouts.
5581 This is primarily for literate documents.
5583 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
5585 * buffer.C: increment LYX_FORMAT to 223
5587 2003-03-14 André Pönitz <poenitz@gmx.net>
5589 * textclass.h: prepare for environment handling, ws changes
5590 * lyxlayout.C: read latexheader and latexfooter tags
5592 2003-03-14 John Levon <levon@movementarian.org>
5594 * text2.C: rewrite ::status() a bit
5596 2003-03-13 John Levon <levon@movementarian.org>
5598 * lyxtext.h: add some docs
5600 2003-03-13 John Levon <levon@movementarian.org>
5605 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5607 2003-03-13 John Levon <levon@movementarian.org>
5609 * text3.C: fix appendix redrawing
5611 2003-03-13 John Levon <levon@movementarian.org>
5613 * text.C (setHeightOfRow):
5615 * rowpainter.C: make appendix mark have the text
5616 "Appendix" so the user knows what it is
5619 * LColor.C: s/appendixline/appendix/ from above
5621 2003-03-13 John Levon <levon@movementarian.org>
5623 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5625 * text.C: fix a getChar(pos) bug properly
5627 2003-03-13 Angus Leeming <leeming@lyx.org>
5630 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5631 Probably only temporary. Let's see how things pan out.
5633 * BufferView.C (unlockInset):
5634 * BufferView_pimpl.C (fitCursor):
5635 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5637 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5638 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5640 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5641 new functions that convert ParagraphParameters to and from a string.
5643 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5644 BufferView::Pimpl's dispatch.
5645 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5647 2003-03-13 André Pönitz <poenitz@gmx.net>
5651 * factory.C: make it aware of InsetEnv
5653 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5655 * text2.C (setCursor): never ask for one past last
5656 (setCursor): add some debugging messages.
5658 * text.C (singleWidth): never ask for one past last
5659 (singleWidth): ditto
5661 (rightMargin): ditto
5662 (rowBreakPoint): ditto
5663 (setHeightOfRow): ditto
5664 (prepareToPrint): ditto
5666 * rowpainter.C (paintBackground): never ask for one past last
5667 (paintText): never ask for one past last
5669 * paragraph_pimpl.C (getChar): make the assert stricter, never
5670 allow the one past last pos to be taken
5672 * paragraph.C (getChar): ws changes only
5674 * lyxrow.C (nextRowIsAllInset): never ask for one past last
5675 (numberOfSeparators): ditto
5676 (numberOfHfills): ditto
5678 2003-03-12 John Levon <levon@movementarian.org>
5684 * paragraph_funcs.C: fix per-buffer authorlists
5686 2003-03-12 John Levon <levon@movementarian.org>
5688 * text.C: fix newline in right address
5690 2003-03-12 Angus Leeming <leeming@lyx.org>
5692 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5693 duplicate those in LyXFunc::dispatch.
5697 * ToolbarDefaults.C:
5698 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5699 Add LFUN_FONTFREE_UPDATE.
5701 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5702 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5704 * bufferview_func.[Ch]: several new functions to facilliate
5705 transfer of data to and from the character dialog.
5707 2003-03-12 John Levon <levon@movementarian.org>
5712 * paragraph_funcs.C:
5713 * paragraph_pimpl.C:
5717 * text3.C: remove META_NEWLINE in favour of an inset
5720 * rowpainter.C: remove paintNewline (done by inset)
5722 2003-03-12 John Levon <levon@movementarian.org>
5724 * paragraph_pimpl.C: complain about bad getChar()s
5725 for a while at least
5727 2003-03-12 John Levon <levon@movementarian.org>
5730 * buffer.C: move paragraph read into a separate function,
5731 a little renaming to reflect that.
5734 * bufferparams.C: remove the author_ids map, not necessary now
5737 * factory.C: moved Buffer::readInset to here
5739 * paragraph_funcs.h:
5740 * paragraph_funcs.C: readParagraph free function moved from
5743 * tabular.C: name change
5745 2003-03-12 John Levon <levon@movementarian.org>
5748 * ParagraphParameters.C: move par params input to
5751 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5752 behave like a normal read from the stream wrt reading
5753 a line vs. a \\token
5755 2003-03-12 John Levon <levon@movementarian.org>
5758 * ParagraphParameters.h:
5759 * ParagraphParameters.C: move output code to a
5762 2003-03-12 John Levon <levon@movementarian.org>
5764 * BufferView.C (insertLyXFile):
5767 * tabular.C: use a parlist iterator for creating the
5770 2003-03-12 John Levon <levon@movementarian.org>
5772 * buffer.C: make current_change static local not
5775 2003-03-12 John Levon <levon@movementarian.org>
5777 * buffer.C: fix insertStringAsLines for change tracking
5779 2003-03-12 John Levon <levon@movementarian.org>
5786 * bufferparams.C: move author list into params. Rename some
5787 functions. Move the header reading into a separate token
5788 loop. Move the header token reading into BufferParams.
5790 2003-03-12 John Levon <levon@movementarian.org>
5792 * changes.C: put debug inside lyxerr.debugging() checks
5794 2003-03-11 André Pönitz <poenitz@gmx.net>
5796 * factory.C: make it aware of InsetHFill
5798 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5800 * buffer.C (latexParagraphs): move function from here...
5801 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5804 2003-03-10 Angus Leeming <leeming@lyx.org>
5806 * LyXAction.C (init): fix bug in poplating array with multiple entries
5807 with the same LFUN (spotted by JMarc).
5809 2003-03-10 John Levon <levon@movementarian.org>
5812 * text2.C: move getColumnNearX() near its
5815 2003-03-10 John Levon <levon@movementarian.org>
5817 * text.C: fix break before a minipage
5819 2003-03-10 John Levon <levon@movementarian.org>
5821 * text.C: fix the last commit
5823 2003-03-09 John Levon <levon@movementarian.org>
5827 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5828 bug 365 (don't break before insets unless needed). Don't
5829 return a value > last under any circumstances.
5831 2003-03-09 Angus Leeming <leeming@lyx.org>
5833 * BufferView_pimpl.C (trackChanges, dispatch): call
5834 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5836 2003-03-09 Angus Leeming <leeming@lyx.org>
5838 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5839 than Dialogs::showAboutlyx().
5841 2003-03-09 Angus Leeming <leeming@lyx.org>
5843 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5844 than Dialogs::showTabularCreate().
5846 2003-03-09 John Levon <levon@movementarian.org>
5850 * text2.C: 3rd arg to nextBreakPoint was always the same.
5853 2003-03-08 John Levon <levon@movementarian.org>
5860 * text2.C: Remove the "main" bit from the "main body"
5863 2003-03-08 John Levon <levon@movementarian.org>
5865 * text.C (leftMargin): The left margin of an empty
5866 manual label paragraph should not include the label width
5869 * text.C (prepareToPrint): don't attempt to measure hfills
5870 for empty manual label paragraphs - the answer should be 0
5872 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5874 * CutAndPaste.C: remove commented code and reindent.
5876 2003-03-08 John Levon <levon@movementarian.org>
5879 * lyxfunc.C: move reloadBuffer()
5882 * BufferView.C: to here
5884 * lyxvc.C: add comment
5887 * vc-backend.C: call bv->reload() to avoid
5888 getStatus() check on MENURELOAD
5890 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
5892 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5893 to an old format .dep file.
5895 2003-03-07 Angus Leeming <leeming@lyx.org>
5897 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5898 when the LFUN_MOUSE_RELEASE should have been handled by
5899 inset->localDispatch.
5901 2003-03-07 Angus Leeming <leeming@lyx.org>
5903 * BufferView_pimpl.C (dispatch):
5904 * LyXAction.C (init):
5905 * ToolbarDefaults.C (init):
5907 * lyxfunc.C (getStatus):
5908 remove LFUN_INSET_GRAPHICS.
5910 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5912 2003-03-07 Angus Leeming <leeming@lyx.org>
5915 * LyXAction.C (init):
5916 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5918 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5921 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5923 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5924 localDispatch method LFUN_INSET_DIALOG_UPDATE.
5926 2003-03-07 Angus Leeming <leeming@lyx.org>
5928 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5931 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5933 * ParagraphList.C (front): new function
5936 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
5938 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5939 and top_row_offset_. removed var first_y.
5941 * text2.C (LyXText, removeRow):
5943 * BufferView_pimpl.C:
5944 use these methods instead of using first_y
5946 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5948 * text2.C (pasteSelection): adjust for checkPastePossible
5950 * CutAndPaste.C: remove Paragraph * buf and replace with
5951 ParagraphList paragraphs.
5952 (DeleteBuffer): delete
5953 (cutSelection): change the tc type to textclass_type
5954 (copySelection): change the tc type to textclass_type
5955 (copySelection): adjust for ParagraphList
5956 (pasteSelection): change the tc type to textclass_type
5957 (pasteSelection): adjust for Paragraphlist
5958 (nrOfParagraphs): simplify for ParagraphList
5959 (checkPastePossible): simplify for ParagraphList
5960 (checkPastePossible): remove unused arg
5962 * ParagraphList.C (insert): handle the case where there are no
5965 * CutAndPaste.h: make CutAndPaste a namespace.
5967 * text3.C (dispatch): adjust
5969 * text.C (breakParagraph): add a ParagraphList as arg
5971 * paragraph_funcs.C (breakParagraph): change to take a
5972 BufferParams and a ParagraphList as args.
5973 (breakParagraphConservative): ditto
5974 (mergeParagraph): ditto
5975 (TeXDeeper): add a ParagraphList arg
5976 (TeXEnvironment): ditto
5979 * buffer.C (readLyXformat2): adjust
5980 (insertStringAsLines): adjust
5981 (latexParagraphs): adjust
5983 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5984 (cutSelection): adjust
5985 (pasteSelection): adjust
5987 * BufferView_pimpl.C (insertInset): adjust
5989 2003-03-05 Angus Leeming <leeming@lyx.org>
5992 * LyXAction.C (init):
5993 * BufferView_pimpl.C (dispatch):
5994 * lyxfunc.C (getStatus):
5995 remove LFUN_CHILD_INSERT.
5997 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5999 2003-03-05 Angus Leeming <leeming@lyx.org>
6002 * LyXAction.C (init):
6003 * src/factory.C (createInset):
6004 * lyxfunc.C (getStatus):
6005 * text3.C (dispatch):
6006 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6008 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6010 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6012 * ParagraphList.C (insert): handle insert right before end()
6013 (erase): fix cases where it can be first or last paragraph.
6015 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6017 * paragraph_funcs.C (TeXEnvironment): remove all usage of
6018 Paragraph::next and Paragraph::previous
6021 * text.C (breakParagraph): adjust
6023 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6024 BufferParams& as arg.
6025 (breakParagraph): use ParagraphList::insert
6026 (breakParagraphConservative): take a Buffer* instead of a
6027 BufferParams& as arg.
6028 (breakParagraphConservative): use ParagraphList::insert.
6030 * buffer.C (insertStringAsLines): un-const it
6031 (insertStringAsLines): adjust
6033 * ParagraphList.C (insert): new function
6035 * CutAndPaste.C (pasteSelection): adjust
6037 * text.C (backspace): adjust
6039 * tabular.C (SetMultiColumn): adjust
6041 * CutAndPaste.C (cutSelection): adjust
6042 (pasteSelection): adjust
6044 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6045 Buffer const * as arg
6047 * ParagraphList.C (erase): new function
6048 * paragraph_funcs.C (mergeParagraph): use it
6049 (mergeParagraph): make it take a Buffer* instead of a
6050 BufferParams* as arg
6052 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6054 (breakParagraphConservative): ditto
6056 * paragraph.h: remove the breakParagraph friend
6058 * paragraph.C (eraseIntern): new function
6059 (setChange): new function
6061 * paragraph_funcs.C (mergeParagraph): make it take a
6062 ParagraphList::iterator instead of a Paragraph *, adjust
6065 * paragraph.h: move an #endif so that the change tracking stuff
6066 also works in the NO_NEXT case.
6068 2003-03-04 Angus Leeming <leeming@lyx.org>
6071 * LyXAction.C: new LFUN_INSET_MODIFY.
6073 * BufferView_pimpl.C (dispatch): if an inset is found to be open
6074 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6076 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6078 * several files: ws changes only
6080 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6081 (TeXEnvironment): ditto
6084 * buffer.C (makeLaTeXFile): adjust
6085 (latexParagraphs): make it take ParagraphList::iterator as args
6087 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6089 * buffer.C (latexParagraphs): adjust
6091 * paragraph.C (TeXOnePar): move function...
6092 (optArgInset): move function...
6093 (TeXEnvironment): move function...
6094 * paragraph_pimpl.C (TeXDeeper): move function...
6095 * paragraph_funcs.C: ...here
6097 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6099 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6101 * buffer.C (readInset): remove compability code for old Figure and
6104 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6106 * buffer.C: ws changes
6109 * BufferView_pimpl.C: ditto
6112 * bufferlist.h: ditto
6116 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
6118 * converter.[Ch]: split into itself +
6121 * Makefile.am: += graph.[Ch] + format.[Ch]
6128 * lyxrc.C: added #include "format.h"
6130 2003-02-27 Angus Leeming <leeming@lyx.org>
6132 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6135 * factory.C (createInset): add "label" to the factory.
6137 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6138 string and do no more.
6140 2003-02-27 Angus Leeming <leeming@lyx.org>
6143 * LyXAction.C (init):
6144 * factory.C (createInset):
6145 * BufferView_pimpl.C (dispatch):
6146 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6148 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6150 * lyxfunc.C (dispatch):
6151 * text3.C (dispatch): pass name to params2string.
6153 2003-02-26 Angus Leeming <leeming@lyx.org>
6155 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6157 Rearrange the ~includes. Strip out the unnecessary ones.
6159 * factory.C (createInset): reformat.
6160 create new insets for the various LFUN_XYZ_APPLY lfuns.
6162 2003-02-26 John Levon <levon@movementarian.org>
6165 * lyxrow.C: add isParStart,isParEnd helpers
6167 * paragraph.h: make isInserted/DeletedText take refs
6169 * paragraph_funcs.h:
6170 * paragraph_funcs.C: remove #if 0'd code
6175 * text.C: use lyxrow helpers above.
6176 Move draw and paint routines to RowPainter.
6177 Make several methods use refs not pointers.
6178 Make backgroundColor() const.
6179 Add markChangeInDraw(), isInInset().
6180 Merge changeRegionCase into changeCase.
6181 Make workWidth() shouldn't-happen code into an Assert.
6184 * rowpainter.C: new class for painting a row.
6187 * vspace.C: make inPixels take a ref
6189 2003-02-26 Angus Leeming <leeming@lyx.org>
6191 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6194 2003-02-25 John Levon <levon@movementarian.org>
6196 * ispell.C: give the forked command a more accurate name
6198 2003-02-22 John Levon <levon@movementarian.org>
6201 * toc.C: make TocItem store an id not a Paragraph *
6204 2003-02-21 Angus Leeming <leeming@lyx.org>
6206 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6207 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6208 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6209 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6210 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6211 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6213 * BufferView_pimpl.C (dispatch):
6214 * LyXAction.C (init):
6215 * factory.C (createInset):
6216 * lyxfunc.C (getStatus, dispatch):
6217 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6219 2003-02-21 Angus Leeming <leeming@lyx.org>
6221 * BufferView_pimpl.C (MenuInsertLyXFile):
6222 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6223 * lyxfunc.C (menuNew, open, doImport):
6224 no longer pass a LyXView & to fileDlg.
6226 2003-02-21 Angus Leeming <leeming@lyx.org>
6228 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6229 * LyXAction.C: change, BIBKEY to BIBITEM.
6230 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6231 Change InsetBibKey to InsetBibitem.
6232 Change BIBKEY_CODE to BIBITEM_CODE.
6233 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6234 * factory.C: replace insetbib.h with insetbibitem.h.
6235 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6236 * paragraph.C: replace insetbib.h with insetbibitem.h.
6237 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6238 Change bibkey() to bibitem().
6239 * text.C: remove insetbib.h.
6240 * text2.C: replace insetbib.h with insetbibitem.h.
6241 change bibkey() to bibitem().
6242 * text3.C: remove insetbib.h.
6243 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6245 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6247 * lyxrc.C (output): enclose user email in quotes (in case there are
6250 2003-02-18 John Levon <levon@movementarian.org>
6252 * buffer.h: add std::
6254 2003-02-17 John Levon <levon@movementarian.org>
6260 * pspell.C: reworking. Especially in ispell, a large
6261 number of clean ups and bug fixes.
6263 * lyxfunc.C: fix revert to behave sensibly
6265 2003-02-17 André Pönitz <poenitz@gmx.net>
6268 * commandtags.h: new LFUN_INSERT_BIBKEY
6278 * paragraph_func.C: remove special bibkey handling
6280 2003-02-17 John Levon <levon@movementarian.org>
6282 * text.C (Delete): fix case where delete at the end of
6283 the very first paragraph would not merge the pars
6285 2003-02-17 John Levon <levon@movementarian.org>
6287 * lyxrow.C: fix lastPrintablePos()
6289 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6291 * bufferparams.C (writeLaTeX): add a std:here
6293 * buffer.C: and remove a using directive there
6295 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6297 * buffer.C (makeLaTeXFile): move the code that generates the
6300 * bufferparams.C (writeLaTeX): ... in this new method
6302 * LaTeXFeatures.C (getEncodingSet): make const
6303 (getLanguages): make const
6305 * MenuBackend.C (binding): returns the binding associated to this
6307 (add): sets the status of each item by calling getStatus. Adds
6309 (read): add support for OptSubMenu
6310 (expand): remove extra separator at the end of expanded menu
6312 2003-02-15 John Levon <levon@movementarian.org>
6315 * BufferView_pimpl.C:
6317 * bufferlist.C: remove pointless BufferStorage bloat. Remove
6318 inset code that had no actual effect. Remove unneeded status
6321 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6323 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6326 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
6328 * text.C (drawLengthMarker): also draw an arrow marker for
6329 symbolic lengths (medskip...)
6331 2003-02-14 John Levon <levon@movementarian.org>
6334 * tabular.C: better method names
6336 2003-02-14 John Levon <levon@movementarian.org>
6338 * BufferView_pimpl.C:
6343 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6344 it's a more accurate name. Remove some pointless uses.
6346 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6348 * text2.C (LyXText): change order of initilizers to shut off
6351 2003-02-14 John Levon <levon@movementarian.org>
6353 * buffer.C: use ParIterator for getParFromID()
6357 * paragraph_pimpl.h:
6358 * paragraph_pimpl.C: remove unused getParFromID()
6360 2003-02-14 John Levon <levon@movementarian.org>
6362 * buffer.C: remove some very old #if 0'd parse code
6364 2003-02-13 John Levon <levon@movementarian.org>
6368 * text2.C: move hfillExpansion(), numberOfSeparators(),
6369 rowLast(), rowLastPrintable(), numberofHfills(),
6370 numberOfLabelHfills() ...
6373 * lyxrow.C: ... to member functions here.
6378 * text.C: remove LyXText::beginningOfMainBody(), and call
6379 p->beginningOfMainBody() directly. Move the check for
6380 LABEL_MANUAL into the latter.
6387 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6393 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6394 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6396 2003-02-13 John Levon <levon@movementarian.org>
6398 * CutAndPaste.C: remove debug
6400 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6402 * paragraph.C (asString): remove two unused variables
6404 * lyxtextclass.C (readTitleType):
6406 (LyXTextClass): handle new members titletype_ and titlename_
6408 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6410 2003-02-09 John Levon <levon@movementarian.org>
6413 * buffer.C: replace hand-coded list with a map for the dep clean
6415 2003-02-08 John Levon <levon@movementarian.org>
6417 * LaTeX.C: consolidate code into showRunMessage() helper
6419 2003-02-08 John Levon <levon@movementarian.org>
6424 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6425 and pass the size in explicitly
6427 * BufferView_pimpl.h:
6428 * BufferView_pimpl.C:
6430 * BufferView.C: add getCurrentChange()
6432 * BufferView_pimpl.h:
6433 * BufferView_pimpl.C: handle change lfuns
6435 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6436 for changes. Mark pasted paragraphs as new.
6438 * support/lyxtime.h:
6439 * support/lyxtime.C:
6440 * DepTable.C: abstract time_t as lyx::time_type
6443 * LColor.C: add colours for new text, deleted text, changebars
6445 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6446 package use "usenames" option.
6450 * LyXAction.C: add change lfuns
6454 * author.C: author handling
6457 * buffer.C: add a per-buffer author list, with first entry as
6458 current author. Handle new .lyx tokens for change tracking. Output
6459 author list to .lyx file. Output dvipost stuff to .tex preamble.
6460 Bump lyx format to 222.
6463 * bufferlist.C: add setCurrentAuthor() to reset current author details
6467 * bufferparams.C: add param for tracking
6469 * bufferview_funcs.C: output change info in minibuffer
6473 * changes.C: add change-tracking structure
6476 * debug.C: add CHANGES debug flag
6479 * lyxfind.C: add code for finding the next change piece
6482 * lyxrc.C: add user_name and user_email
6485 * lyxrow.C: add a metric for the top of the text line
6488 * text.C: implement accept/rejectChange()
6491 * text.C: paint changebars. Paint new/deleted text in the chosen
6492 colours. Strike through deleted text.
6496 * paragraph_pimpl.h:
6497 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6498 in the current change to the insert functions. Rework erase to
6499 mark text as deleted, adding an eraseIntern() and a range-based
6500 erase(). Implement per-paragraph change lookup and
6503 * paragraph_funcs.C: Fixup paste for change tracking.
6505 * tabular.C: mark added row/columns as new.
6507 * text.C: fix rowLast() to never return -1. Don't allow
6508 spellchecking of deleted text. Track transpose changes. Don't
6509 allow paragraph break or merge where appropriate.
6511 * text2.C: leave cursor at end of selection after a cut.
6513 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6515 * text.C (getLengthMarkerHeight):
6516 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6517 visible on screen too.
6519 2003-02-07 John Levon <levon@movementarian.org>
6521 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6523 2003-02-05 Angus Leeming <leeming@lyx.org>
6525 * lyxserver.C (read_ready): revert my patch of 11 September last year
6526 as it sends PC cpu through the roof. Presumably this means that
6527 the lyxserver will no longer run on an Alpha...
6529 2003-01-30 Angus Leeming <leeming@lyx.org>
6531 * factory.C (createInset): create an InsetCommandParam of type "index"
6532 and use it to 'do the right thing'.
6534 * text2.C (getStringToIndex): ensure that cursor position is always
6535 reset to the reset_cursor position.
6537 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6539 * lyxfunc.C (getStatus): "buffer-export custom" should never be
6542 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
6546 * lyxfunc.C: Output messages with identical spelling, punctuation,
6549 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
6551 * MenuBackend.C (expandFormats): List only viewable export formats
6554 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6557 * lyxfunc.C (getStatus): Make sure that formats other than
6558 "fax" can also be disabled
6560 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6562 * text3.C (dispatch): put the lfuns that insert insets in 3
6563 groups, and call doInsertInset with appropriate arguments.
6564 (doInsertInset): new function, that creates an inset and inserts
6565 it according to some boolean parameters.
6567 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6569 * buffer.C (readFile): remember to pass on 'par' when calling
6570 readFile recursively.
6572 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6574 * MenuBackend.C (expandFormats): add "..." to import formats.
6576 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
6578 * paragraph.C (asString): Remove XForms RTL hacks.
6580 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
6581 * buffer.C: fix typo
6583 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6585 * Makefile.am (LIBS): delete var
6586 (lyx_LDADD): add @LIBS@ here instead.
6588 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
6590 * Clarify the meaning of "wheel mouse jump"
6592 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6594 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6597 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6599 * importer.C (Loaders): do not preallocate 3 elements in the
6600 vector, since one ends up with 6 elements otherwise
6602 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6604 * DepTable.C (write): write the file name as last element of the
6605 .dep file (because it may contain spaces)
6606 (read): read info in the right order
6608 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6610 * paragraph_pimpl.C (simpleTeXBlanks):
6611 (simpleTeXSpecialChars):
6612 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6614 * tabular.C (latex): add some missing case statements. Reindent.
6616 * MenuBackend.C (expandToc): remove unused variable.
6618 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
6627 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6630 2003-01-05 John Levon <levon@movementarian.org>
6633 * BufferView.C: add getEncoding()
6636 * kbsequence.C: do not store last keypress
6639 * lyxfunc.C: store last keypress here instead. Pass encoding
6642 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6644 * lyx_main.C (init): remove annoying error message when following
6645 symbolic links (bug #780)
6647 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6649 * text.C (insertChar):
6650 * lyxrc.C (getDescription): remove extra spaces
6652 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6654 * lyxrc.C (getDescription): remove extra spaces
6656 2002-12-20 John Levon <levon@movementarian.org>
6658 * text3.C: hack fix for page up/down across tall rows
6660 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6662 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6665 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6667 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6668 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6669 thesaurus is not compiled in
6671 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
6673 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
6675 2002-12-16 Angus Leeming <leeming@lyx.org>
6678 * lyx_main.C (init): remove override_x_deadkeys stuff.
6680 2002-12-12 John Levon <levon@movementarian.org>
6682 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6683 insert. Only remove shift modifier under strict
6686 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6688 * MenuBackend.C (expandToc): fix crash.
6690 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6692 * MenuBackend.C (expandToc): gettext on float names.
6694 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6696 * lyxlength.[Ch]: set default unit to UNIT_NONE,
6697 implement bool empty() [bug 490]
6699 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6701 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6703 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6705 * several files: ws changes
6707 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6709 * text2.C (setCounter): clean up a bit, use boost.format.
6710 (updateCounters): initialize par upon declaration.
6712 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6713 if the layout exists. We do not just store the layout any more.
6714 (SwitchLayoutsBetweenClasses): use boost.format
6716 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6718 * converter.C (convert): if from and to files are the same, use a
6719 temporary files as intermediary
6721 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6724 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6726 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
6728 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6730 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6732 * tabular.C (asciiPrintCell): use string(size, char) instead of
6735 * sgml.C (openTag): fix order of arguments to string constructor
6738 * lyxfunc.C (dispatch): use boost.format
6740 * lots of files: change "c" -> 'c'
6742 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
6744 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6746 2002-11-25 Angus Leeming <leeming@lyx.org>
6748 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6750 * lyx_main.C (init): compile fix.
6752 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6754 * lyx_cb.C (start): boost.formatify
6755 do not include <iostream>
6757 * lengthcommon.C: ws only
6759 * boost-inst.C,BoostFormat.h: add more explict instantations
6761 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6763 * lots of files: handle USE_BOOST_FORMAT
6765 2002-11-21 John Levon <levon@movementarian.org>
6767 * pspell.C: fix compile
6769 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6771 * lyxfunc.C (dispatch): use boost::format
6775 * lyxfont.C (stateText): use boost::format
6777 * lyx_main.C (LyX): use boost::format
6779 (queryUserLyXDir): ditto
6782 (typedef boost::function): use the recommened syntax.
6784 * importer.C (Import): use boost::format
6786 * debug.C (showLevel): use boost::format
6788 * converter.C (view): use boost::format
6793 * bufferview_funcs.C (currentState): use boost::format
6795 * bufferlist.C (emergencyWrite): use boost::format
6797 * buffer.C (readLyXformat2): use boost::format
6798 (parseSingleLyXformat2Token): ditto
6800 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6802 * LaTeX.C (run): use boost::format
6804 * Chktex.C (scanLogFile): use boost::format
6806 * BufferView_pimpl.C (savePosition): use boost::format
6807 (restorePosition): ditto
6808 (MenuInsertLyXFile): ditto
6810 * BoostFormat.h: help file for explicit instation.
6812 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
6814 * tabular.C (latex): Support for block alignment in fixed width
6817 2002-11-17 John Levon <levon@movementarian.org>
6819 * BufferView_pimpl.C:
6821 * lyxfunc.C: split filedialog into open/save
6823 2002-11-08 Juergen Vigna <jug@sad.it>
6825 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6826 by my last patch (hopefully).
6828 2002-11-08 John Levon <levon@movementarian.org>
6837 * toc.C: ParConstIterator, and use it (from Lars)
6839 2002-11-07 Ben Stanley <bds02@uow.edu.au>
6841 * lyxtextclass.[Ch]: revise and add doxygen comments
6843 2002-11-07 John Levon <levon@movementarian.org>
6845 * text.C: fix progress value for spellchecker
6847 * toc.C: fix navigate menu for insetwrap inside minipage
6849 * paragraph_funcs.C: added FIXME for suspect code
6851 2002-11-07 John Levon <levon@movementarian.org>
6853 * BufferView_pimpl.C: fix redrawing of insets
6856 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6858 * text2.C (updateCounters): fix bug 668
6860 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
6862 * text3.C (dispatch): Do not make the buffer dirty when moving the
6865 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6867 * vc-backend.C: STRCONV
6870 * text2.C (setCounter): STRCONV
6872 * paragraph.C (asString): STRCONV
6874 * lyxlength.C (asString): STRCONV
6875 (asLatexString): ditto
6877 * lyxgluelength.C (asString): STRCONV
6878 (asLatexString): ditto
6880 * lyxfunc.C (dispatch): STRCONV
6883 * lyxfont.C (stateText): STRCONV
6885 * importer.C (Import): STRCONV
6887 * counters.C (labelItem): STRCONV
6888 (numberLabel): ditto
6889 (numberLabel): remove unused ostringstream o
6894 * bufferview_funcs.C (currentState): STRCONV
6896 * buffer.C (readFile): STRCONV
6897 (asciiParagraph): ditto
6898 (makeLaTeXFile): ditto
6900 * Spacing.C (writeEnvirBegin): STRCONV
6902 * LaTeXFeatures.C (getLanguages): STRCONV
6903 (getPackages): ditto
6905 (getBabelOptions): ditto
6906 (getTClassPreamble): ditto
6907 (getLyXSGMLEntities): ditto
6908 (getIncludedFiles): ditto
6912 (scanAuxFile): ditto
6915 * LString.h: add the STRCONV macros
6917 * BufferView_pimpl.C (savePosition): STRCONV
6918 (restorePosition): ditto
6919 (MenuInsertLyXFile): ditto
6921 * vc-backend.C (scanMaster): change from submatch[...] to
6924 * funcrequest.C: include config.h
6926 * factory.C: include config.h
6928 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6930 * box.C: include config.h
6932 * LaTeX.C (scanAuxFile): change from submatch[...] to
6936 2002-10-25 Angus Leeming <leeming@lyx.org>
6938 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6940 * ispell.[Ch] (setError): new method.
6941 * ispell.C (c-tor): move out child process into new class LaunchIspell.
6942 Use setError() insetead of goto END.
6944 * lyx_cb.C (AutoSave): move out child process into new class
6947 2002-10-30 John Levon <levon@movementarian.org>
6949 * text3.C: make start appendix undoable
6951 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
6953 * lyxlength.C (inPixels): Fix returned value.
6955 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6958 2002-10-24 Angus Leeming <leeming@lyx.org>
6960 * lyxgluelength.h: no need to forward declare BufferParams
6961 or BufferView, so don't.
6963 2002-10-21 John Levon <levon@movementarian.org>
6965 * BufferView.C: menuUndo ->undo, redo
6967 * BufferView.h: document, remove dead, make some methods private
6969 * paragraph_funcs.h:
6970 * paragraph_funcs.C:
6971 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6976 * sgml.C: move sgml open/close tag into sgml.C
6978 * bufferview_funcs.h: unused prototype
6981 * lyxfunc.C: remove unused
6984 * text.C: remove unused
6986 2002-10-21 John Levon <levon@movementarian.org>
6990 * BufferView_pimpl.h:
6991 * BufferView_pimpl.C: fix mouse wheel handling based on
6992 patch from Darren Freeman
6994 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
6996 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6998 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
7000 * lyxlength.C (inPixels): Fix hanfling of negative length.
7001 Fix LyXLength::MU case.
7003 2002-10-16 John Levon <levon@movementarian.org>
7005 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7007 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7009 * converter.C (view): add support for $$i (file name) and $$p
7010 (file path) for the viewer command. If $$i is not specified, then
7011 it is appended to the command (for compatibility with old syntax)
7013 2002-10-14 Juergen Vigna <jug@sad.it>
7015 * undo_funcs.C (textHandleUndo): alter the order in which the
7016 new undopar is added to the LyXText, as we have to set first
7017 the right prev/next and then add it as otherwise the rebuild of
7018 LyXText is not correct. Also reset the cursor to the right paragraph,
7019 with this IMO we could remove the hack in "redoParagraphs()".
7021 2002-10-09 Angus Leeming <leeming@lyx.org>
7023 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7024 to turn off an optimisation if a new inset is to be inserted.
7026 2002-10-11 André Pönitz <poenitz@gmx.net>
7028 * lyxtext.h: make some functions public to allow access
7029 from inset/lyxtext for handling LFUN_PRIOR/NEXT
7031 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7033 * text3.C (dispatch): when changing layout, avoid an infinite loop
7036 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7038 * lyxrc.C (read): treat a viewer or converter command of "none" as
7041 * MenuBackend.C (expandFormats): for an update, also allow the
7042 formats that are not viewable
7044 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7045 script if it is newer than the lyxrc.defaults in user directory
7047 2002-10-07 André Pönitz <poenitz@gmx.net>
7049 * text.C: Vitaly Lipatov's small i18n fix
7051 2002-09-25 Angus Leeming <leeming@lyx.org>
7053 * ispell.h: doxygen fix.
7055 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
7057 * buffer.h (readFile): Add a new argument to the method, to allow
7058 reading of old-format templates.
7060 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
7062 * toc.C (getTocList): Get TOC from InsetWrap.
7064 2002-09-16 John Levon <levon@movementarian.org>
7066 * lyxfunc.C: check tabular for cut/copy too
7068 2002-09-12 John Levon <levon@movementarian.org>
7073 * factory.C: add header
7075 * paragraph_funcs.h:
7076 * paragraph_funcs.C: cleanup
7078 2002-09-11 John Levon <levon@movementarian.org>
7080 * PrinterParams.h: odd/even default to true
7082 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
7084 * PrinterParams.h: update printer parameters for new xforms dialog
7086 2002-09-11 Angus Leeming <leeming@lyx.org>
7088 * lyxserver.C (read_ready): re-write to make it more transparent
7089 and to make it work in coherent fashion under Tru64 Unix.
7091 2002-09-11 André Pönitz <poenitz@gmx.net>
7095 * text3.C: implement LFUN_WORDSEL
7097 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7099 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7100 make floatlist_ a boost::shared_ptr<FloatList>
7102 * lyxtextclass.C: include FloatList.h
7103 (LyXTextClass): initialize floatlist_
7104 (TextClassTags): add TC_NOFLOAT
7105 (Read): match "nofloat" to TC_NOFLOAT and use it.
7106 (readFloat): modify call to floatlist_
7110 * FloatList.[Ch] (FloatList): remove commented out float
7112 (erase): new function
7114 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7116 * MenuBackend.C (expandToc): fix crash when there is no document
7119 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
7121 * many files: Add insetwrap.
7123 2002-09-09 John Levon <levon@movementarian.org>
7125 * text2.C: remove confusing and awkward depth wraparound
7127 2002-09-09 John Levon <levon@movementarian.org>
7129 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7132 * buffer.C: remove getIncludeonlyList()
7135 * lyxfunc.C: remove headers
7137 2002-09-09 Juergen Vigna <jug@sad.it>
7139 * text.C (getColumnNearX): fix form Michael this is most
7140 probably a cut&paste bug.
7142 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7144 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7146 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7147 references, ws changes.
7149 * text2.C (init): update counters after init
7150 (insertParagraph): no need to set counter on idividual paragraphs.
7151 (setCounter): access the counters object in the textclass object
7152 on in the buffer object.
7153 (updateCounters): ditto
7155 * lyxtextclass.C: include counters.h, add variable ctrs_ as
7156 shared_ptr<Counters> to avoid loading counters.h in all
7158 (LyXTextClass): initialize ctrs_
7159 (TextClassTags): add TC_COUNTER, and ...
7160 (Read): use it here.
7161 (CounterTags): new tags
7162 (readCounter): new function
7163 (counters): new funtion
7164 (defaultLayoutName): return a const reference
7166 * counters.C (Counters): remove contructor
7167 (newCounter): remove a couple of unneeded statements.
7168 (newCounter): simplify a bit.
7169 (numberLabel): some small formatting changes.
7171 * buffer.[Ch]: remove all traces of counters, move the Counters
7172 object to the LyXTextClass.
7174 2002-09-06 Alain Castera <castera@in2p3.fr>
7176 * tabular.C: uses \tabularnewline; uses >{...} construct from array
7177 package to set the horizontal alignment on fixed width columns.
7180 * lyx_sty.h: added tabularnewline macro def.
7182 * LaTeXFeatures.C: added NeedTabularnewline macro feature
7184 2002-09-06 John Levon <levon@movementarian.org>
7186 * LyXAction.C: tooltips for sub/superscript
7188 * MenuBackend.C: a bit more verbose
7190 * lyxfunc.C: tiny clean
7192 * undo_funcs.C: document undo_frozen
7194 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7196 * counters.C (Counters): add missing algorithm counter.
7198 * text2.C (setCounter): lookup the counter with layouts latexname
7199 instead of by section number.
7200 (setCounter): use a hackish way to lookup the correct enum
7202 a float name->type change
7203 reset enum couners with counter name directly instead of depth value.
7205 * counters.C (Counters): remove the push_backs, change to use the
7206 float type not the float name.
7207 (labelItem): remove unused string, float name->type change
7209 * counters.h: don't include vector, loose the enums and sects vectors
7211 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7213 * lyxtextclass.C (TextClassTags): add TC_FLOAT
7214 (Read): add float->TC_FLOAT to textclassTags
7215 (Read): and handle it in the switch
7216 (readFloat): new function
7218 * FloatList.C (FloatList): comment out the hardcoded float
7221 * lyxlayout.h: ws change.
7223 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
7225 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7227 2002-09-03 Angus Leeming <leeming@lyx.org>
7229 * BufferView_pimpl.h: qualified name is not allowed in member
7230 declaration: WorkArea & Pimpl::workarea() const;
7232 * factory.C: added using std::endl directive.
7234 * text3.C: added using std::find and std::vector directives.
7236 2002-08-29 André Pönitz <poenitz@gmx.net>
7239 * text2.C: remove unused member number_of_rows
7242 * BufferView2.C: remove file, move contents to...
7243 * BufferView.C: ... here
7245 * BufferView_pimpl.C:
7246 * factory.C: move more inset creation to factory
7248 * vspace.C: avoid direct usage of LyXText, ws changes
7251 don't provide direct access to WorkArea, use two simple
7252 acessors haveSelction() and workHeight() instead
7255 2002-08-29 John Levon <levon@movementarian.org>
7257 * BufferView_pimpl.C (dispatch): do not continue when
7260 2002-08-28 André Pönitz <poenitz@gmx.net>
7262 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7265 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7267 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
7269 * buffer.C: increment LYX_FORMAT to 221
7271 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7272 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7274 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7276 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7278 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7280 * factory.C (createInset): use LyXTextClass::floats
7282 * MenuBackend.C (expandFloatListInsert):
7283 (expandFloatInsert):
7286 * text2.C (setCounter):
7288 * LaTeXFeatures.C (useFloat):
7289 (getFloatDefinitions):
7291 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7293 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7294 floatlist_, with accessor floats().
7296 * FloatList.h: remove global FloatList
7298 2002-08-26 André Pönitz <poenitz@gmx.net>
7300 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7304 * BufferView_pimpl.C:
7305 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7307 2002-08-25 John Levon <levon@movementarian.org>
7309 * LyXAction.C: fix margin note description
7311 2002-08-24 John Levon <levon@movementarian.org>
7315 * bufferview_funcs.C:
7317 * undo_funcs.C: cleanups
7319 * lyxfunc.C: disable CUT/COPY when no selection
7321 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
7323 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7324 in "enum UNIT"; e.g. PTW for Percent of TextWidth
7326 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7327 Add backward compatibility to "mono", "gray" and "no".
7329 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
7331 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7332 (and file_format >= 200).
7334 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7336 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7338 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7340 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7342 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
7344 * BufferView_pimpl.C:
7351 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7352 inset and code to make it work with the paragraph code. The inset
7353 can be anywhere in the paragraph, but will only do the expected
7354 thing in LaTeX if the layout file contains the parameter line
7356 (or more generally, a nonzero value) for that layout.
7358 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7360 * paragraph.h: remove the declaration of undefined counters class
7363 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
7365 * text2.C (setCounter): fixed enumeration mis-count as reported by
7366 Dr. Richard Hawkins.
7368 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7370 * paragraph_funcs.h: remove some unneeded includes
7372 * text.C (backspace): pasteParagraph now in global scipe
7374 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7375 (pasteSelection): ditto
7377 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7378 * paragraph_funcs.C (pasteParagraph): ... here
7380 2002-08-20 André Pönitz <poenitz@gmx.net>
7382 * commandtags.h: new LFUNs for swapping/copying table row/colums
7385 * lyxfunc.C: support for new lfuns
7387 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7390 * buffer.[Ch]: remove NO_COMPABILITY stuff
7392 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
7394 * boost.C (throw_exception): new file, with helper function for
7395 boost compiled without exceptions.
7400 * ParameterStruct.h:
7401 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7403 * bufferlist.C (emergencyWriteAll): use boost bind
7405 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7407 * text.C: include paragraph_funcs.h
7408 (breakParagraph): breakParagraph is now in global scope
7410 * paragraph_funcs.[Ch]: new files
7412 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7415 * buffer.C: include paragraph_funcs.h
7416 (insertStringAsLines): breakParagraph is now in global scope
7418 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7421 * CutAndPaste.C: include paragraph_funcs.h
7422 (cutSelection): breakParagraphConservative is now in global scope
7423 (pasteSelection): ditto
7425 * buffer.h: declare oprator== and operator!= for
7426 Buffer::inset_iterator
7428 * bufferlist.C (emergencyWrite): don't use fmt(...)
7430 * text3.C: add using std::endl
7432 * BufferView.C (moveCursorUpdate): remove default arg
7434 2002-08-20 André Pönitz <poenitz@gmx.net>
7436 * buffer.[Ch]: move inline functions to .C
7439 * BufferView_pimpl.C:
7441 * buffer.[Ch]: use improved inset_iterator
7444 * paragraph.[Ch]: write one paragraph at a time
7446 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7448 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7449 style if style is not specified.
7451 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7453 * text2.C (setCounter): when searching for right label for a
7454 caption, make sure to recurse to parent insets (so that a caption
7455 in a minipage in a figure float works) (bug #568)
7457 2002-08-20 André Pönitz <poenitz@gmx.net>
7459 * text3.C: new file for LyXText::dispatch() and helpers
7461 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7463 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7465 2002-08-19 André Pönitz <poenitz@gmx.net>
7468 * text.C: new LyXText::dispatch()
7470 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7472 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7474 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7476 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7479 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7481 * Makefile.am: use $(variables) instead of @substitutions@
7483 2002-08-15 André Pönitz <poenitz@gmx.net>
7486 * BufferView_pimpl.C: streamlining mathed <-> outer world
7490 * LyXAction.C: remove unused LFUN_MATH
7492 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7494 * paragraph.[Ch]: add some NO_NEXT ifdefs.
7496 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7498 * paragraph.C (Paragraph): reformat a bit
7499 (cutIntoMinibuffer): use builtin InsetList function instad of
7503 * buffer.C: include boost/bind.hpp, add using std::for_each
7504 (writeFileAscii): use ParagraphList iterators
7505 (validate): use for_each for validate traversal of paragraphs
7506 (getBibkeyList): use ParagraphList iterators
7507 (resizeInsets): use for_each to resizeInsetsLyXText for all
7509 (getParFromID): use ParagraphList iterators
7511 * BufferView2.C (lockInset): use paragraph list and iterators
7513 2002-08-14 John Levon <levon@movementarian.org>
7515 * lyxserver.C: remove spurious xforms include
7517 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7519 * lyxfunc.C (getStatus): disable math-extern outside of math mode
7521 2002-08-13 André Pönitz <poenitz@gmx.net>
7524 * lyxfunc.C: further cleaning
7526 2002-08-13 André Pönitz <poenitz@gmx.net>
7528 * funcrequest.h: new constructor
7530 * funcrequest.C: move stuff here from .h
7533 * BufferView_pimpl.C:
7536 * lyxfunc.C: subsequent changes
7538 * lyxfunc.h: new view() member function
7540 * lyxfunc.C: subsequent changes
7542 2002-08-13 Angus Leeming <leeming@lyx.org>
7545 * BufferView_pimpl.C:
7553 changes due to the changed LyXView interface that now returns references
7554 to member variables not pointers.
7556 2002-08-13 Angus Leeming <leeming@lyx.org>
7558 * WordLangTuple (word, lang_code): return references to strings,
7563 * lyxtext.h: forward-declare WordLangTuple.
7568 * text.C: #include "WordLangTuple.h".
7571 * text.C: (selectNextWordToSpellcheck): constify return type.
7573 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
7579 * paragraph_pimpl.h:
7582 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7584 Made updateCounter always count from start of buffer, and removed
7585 second argument (par).
7586 Reverted floats number display to '#'. Perhaps I'll try again when the
7587 code base is sanitized a bit.
7589 2002-08-12 Angus Leeming <leeming@lyx.org>
7591 * buffer.[Ch] (getLabelList): constify.
7593 2002-08-07 André Pönitz <poenitz@gmx.net>
7595 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7597 * funcrequest.h: extension to keep mouse (x,y) position
7599 2002-08-12 Juergen Vigna <jug@sad.it>
7601 * BufferView2.C (insertErrors): forbid undo when inserting error
7604 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7606 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7608 * ParagraphList.[Ch]: new files
7610 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7612 * BufferView2.C (lockInset): ParagraphList changes
7615 * bufferlist.C: ditto
7619 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7621 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7622 unused class variable counter_,
7624 * paragraph.[Ch] (getFirstCounter): delete unused function
7626 * counters.C: include LAssert.h
7627 (reset): add a new function with no arg, change other version to
7628 not have def. arg and to not allow empty arg.
7630 * text2.C (setCounter): remove empty arg from call to Counters::reset
7632 2002-08-11 John Levon <levon@movementarian.org>
7634 * Makefile.am: add WordLangTuple.h
7636 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7638 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7639 lyxfunc.C lyxlex_pimpl.C: ws changes only.
7641 * insets/insettext.C: InsetList changes
7643 * graphics/GraphicsSupport.C (operator()): InsetList changes
7645 * toc.C (getTocList): InsetList changes
7647 * paragraph_pimpl.[Ch]: InsetList changes
7649 * paragraph.[Ch]: InsetList changes
7651 * buffer.C (inset_iterator): InsetList changes
7652 (setParagraph): ditto
7653 * buffer.h (inset_iterator): ditto
7654 * iterators.C (operator++): ditto
7655 * iterators.h: ditto
7657 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7659 * InsetList.[Ch]: new files, most InsetList handling moved out of
7662 * BufferView2.C (removeAutoInsets): InsetList changes
7664 (ChangeInsets): ditto
7666 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7668 * paragraph_pimpl.h (empty): new function
7670 * paragraph.[Ch] (empty): new function
7672 * other files: use the new Paragraph::empty function
7674 2002-08-09 John Levon <levon@movementarian.org>
7676 * lyxtext.h: remove unused refresh_height
7678 2002-08-09 John Levon <levon@movementarian.org>
7685 * paragraph.C: move sgml char escaping out of paragraph
7688 * paragraph.C: remove id setter
7692 * paragraph_pimpl.C: remove dead tex_code_break_column
7694 * bufferview_funcs.C: small cleanup
7696 * lyxfunc.C: remove dead proto
7698 * lyxtext.h: make some stuff private. Remove some dead stuff.
7700 * lyxgluelength.C: make as[LyX]String() readable
7702 2002-08-08 John Levon <levon@movementarian.org>
7707 * ToolbarDefaults.C:
7710 * toc.C: lyxaction cleanup
7712 2002-08-08 John Levon <levon@movementarian.org>
7714 * BufferView2.C: small cleanup
7717 * lyxfind.C: move unnecessary header into the .C
7719 2002-08-08 John Levon <levon@movementarian.org>
7721 * funcrequest.h: just tedious nonsense
7724 * lyx_main.C: cleanups
7727 * vspace.C: remove dead header lyx_main.h
7729 2002-08-07 Angus Leeming <leeming@lyx.org>
7732 * paragraph_pimpl.h:
7733 Forward declare class Counters in paragraph.h by moving the ctrs member
7734 variable into Paragraph::Pimpl.
7735 (counters): new method, returning a reference to pimpl_->ctrs.
7737 * text2.C: ensuing changes.
7739 2002-08-07 John Levon <levon@movementarian.org>
7741 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7743 * BufferView_pimpl.C: announce X selection on double/triple
7746 * lyx_main.C: use correct bool in batch dispatch
7748 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7750 2002-08-07 André Pönitz <poenitz@gmx.net>
7752 * funcrequest.h: new class to wrap a kb_action and its argument
7755 * BufferView_pimpl[Ch]:
7759 * lyxrc.C: subsequent changes
7762 2002-08-07 John Levon <levon@movementarian.org>
7764 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7765 document options change.
7767 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7772 * makefile.am: move counters functionality over from
7773 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7775 2002-08-06 John Levon <levon@movementarian.org>
7777 * WordLangTuple.h: new file for word + language code tuple
7788 * BufferView2.C: use WordLangTuple
7791 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7793 2002-08-06 John Levon <levon@movementarian.org>
7795 * lyx_main.C: fix cmdline batch handling
7797 2002-08-06 André Pönitz <poenitz@gmx.net>
7799 * lyxrc.C: set default for show_banner to true
7801 2002-08-06 John Levon <levon@movementarian.org>
7803 * pspell.C: fix a crash, and allow new aspell to work
7805 2002-08-06 John Levon <levon@movementarian.org>
7808 * kbmap.C: small cleanup
7811 * vspace.C: add const
7813 2002-08-05 John Levon <levon@movementarian.org>
7815 * LyXAction.C: back to tabular-insert
7817 2002-08-04 John Levon <levon@movementarian.org>
7820 * BufferView.C: cosmetic change
7822 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7832 * BufferView2.C: purge all "Lyx" not "LyX" strings
7835 * lyxcursor.C: attempt to add some documentation
7840 * ToolbarDefaults.C:
7841 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7842 merge with LFUN_TABULAR_INSERT
7849 * pspell.C: split up i/pspell implementations into separate
7850 files, many cleanups
7852 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7854 * text2.C: some cleanup
7856 * lyxfunc.C: don't check for isp_command == "none" any more, it
7857 didn't make any sense
7859 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7864 * makefile.am: move counters functionality over
7865 from text2.C/paragraph.[Ch] to counters.[Ch], and
7867 2002-08-02 John Levon <levon@movementarian.org>
7869 * buffer.C: s/lyxconvert/lyx2lyx/
7871 2002-08-02 Angus Leeming <leeming@lyx.org>
7873 * lyxlex.C: revert John's change as it breaks reading of the user
7876 2002-08-02 Angus Leeming <leeming@lyx.org>
7878 * importer.C (Import):
7879 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7880 changes due to LyXView::view() now returning a boost::shared_ptr.
7882 2002-08-02 John Levon <levon@movementarian.org>
7884 * lyxlex.C: small cleanup
7886 2002-08-02 John Levon <levon@movementarian.org>
7888 * text2.C (status): small cleanup, no logic change
7890 2002-08-01 John Levon <levon@movementarian.org>
7893 * buffer.C (writeFile): don't output alerts, caller
7897 * lyx_cb.C: from above
7899 * lyxfunc.C: allow to open non-existent files
7901 2002-07-31 John Levon <levon@movementarian.org>
7903 * lyxserver.C: don't let incidental errors get
7906 2002-07-30 John Levon <levon@movementarian.org>
7908 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7910 2002-07-30 John Levon <levon@movementarian.org>
7913 * lyxserver.C: remove I/O callback too
7915 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7917 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7920 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7922 * many files: strip,frontStrip -> trim,ltrim,rtrim
7924 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7926 * PrinterParams.h: remove extern containsOnly, and include
7927 support/lstrings.h instead.
7929 * LaTeX.C (scanAuxFile): modify because of strip changes
7931 * buffer.C (makeLaTeXFile): ditto
7932 * bufferparams.C (writeFile): ditt
7933 * lyxfont.C (stateText): ditto
7934 * lyxserver.C (read_ready): ditto
7935 * vc-backend.C (scanMaster): ditto
7937 * BufferView_pimpl.h: ws changes
7939 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7941 2002-07-26 André Pönitz <poenitz@gmx.net>
7943 * kb_sequence.C: remove unnedred usings
7945 2002-07-26 Juergen Vigna <jug@sad.it>
7947 * lyxfind.C (LyXReplace): we have to check better if the returned
7948 text is not of theLockingInset()->getLockingInset().
7950 2002-07-25 Juergen Vigna <jug@sad.it>
7952 * lyxfind.C (LyXReplace): don't replace if we don't get the
7955 * undo_funcs.C (createUndo): remove debugging code.
7957 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
7959 * buffer.C (parseSingleLyXformat2Token): Use default placement
7960 when reading old floats.
7962 * FloatList.C (FloatList): Change the default placement of figure
7963 and tables to "tbp".
7965 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
7967 * MenuBackend.C: using std::max
7969 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7971 * MenuBackend.C (expandToc):
7972 (expandToc2): code moved from xforms menu frontend. It is now
7973 generic and TOCs are transparent to menu frontends.
7975 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7977 * toc.C (getTocList): protect against buf=0
7979 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7980 Menu as first parameter. Now, this calls itself recursively to
7981 expand a whole tree (this will be useful for TOC handling)
7982 (expandFloatInsert): remove 'wide' version of floats
7984 * MenuBackend.h (submenuname): returns the name of the submenu.
7985 (submenu): returns the submenu itself, provided it has been
7986 created by MenuBackend::expand
7988 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7990 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7991 insets which have noFontChange == true. (bug #172)
7993 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7995 * BufferView_pimpl.C: add connection objects and use them...
7998 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8000 * MenuBackend.C (expandLastfiles):
8003 (expandFloatListInsert):
8004 (expandFloatInsert):
8005 (expand): split expand in parts
8007 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8009 * lyx_gui.C: use lyx_gui::exit()
8011 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8013 * LyXAction.C: show the failing pseudo action
8015 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
8017 * buffer.C (readFile): Run the lyxconvert script in order to read
8020 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8024 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8026 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8030 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8032 2002-07-22 Herbert Voss <voss@lyx.org>
8035 * lyxlength.[Ch]: add support for the vertical lengths
8037 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
8039 * toc.[Ch]: std:: fixes
8041 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8043 * lyxrc.C: do not include lyx_main.h
8045 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8051 * BufferView2.C: include "lyxlex.h"
8054 * bufferparams.h: do not #include "lyxlex.h"
8056 * lyxtextclasslist.C (Add): remove method
8057 (classlist): renamed to classlist_
8059 * paragraph_pimpl.C:
8063 * bufferview_funcs.C:
8068 * toc.C (getTocList): use BufferParams::getLyXTextClass
8070 * toc.C (getTocList): use InsetFloat::addToToc
8072 * toc.[Ch]: new files, containing helper functions to handle table
8075 * lyxfunc.C (dispatch): no need to remove spaces around command
8077 (getStatus): handle LFUN_SEQUENCE by returning the status of the
8078 first command of the sequence; it is not very clever, but I do not
8079 have a better idea, actually
8081 * LyXAction.C (LookupFunc): make sure to remove space at the
8082 beginning and end of the command
8084 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8086 * MenuBackend.C (getMenubar): new method: return the menubar of
8088 (read): treat differently reading of menu and menubar (in
8089 particular, the menubar has no name now)
8090 (Menu::menubar): remove
8092 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8095 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8097 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8098 a bibitem inset in a RTL paragraph.
8100 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
8102 * paragraph_pimpl.C: constify
8104 * BufferView_pimpl.C:
8106 * lyxfunc.C: fix dispatch in a nicer way
8108 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8110 * lyxfunc.C (dispatch):
8111 * BufferView_pimpl.C:
8112 * BufferView_pimpl.h:
8114 * BufferView.h: rename Dispatch() to dispatch()
8116 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8118 * lyxlayout.C (Read): honor DependsOn tag
8120 * lyxlayout.[Ch] (depends_on): new method
8122 * version.C.in: update lyx_docversion
8124 * LaTeXFeatures.C (getMacros): only define \LyX when needed
8126 * paragraph.C (validate): remove from here...
8127 * paragraph_pimpl.C (validate): ... and move here
8128 (isTextAt): make it const
8130 * buffer.C (getLists): ws cleanup
8132 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8134 * language.C (read): Use iso8859-1 encoding in latex_lang
8135 (this prevents LyX from crashing when using iso10646-1 encoding).
8137 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8139 * text2.C (toggleInset): if cursor is inside an inset, close the
8140 inset and leave cursor _after_ it
8142 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8144 * lyxfunc.C: move minibuffer completion handling out of here
8146 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8148 * BufferView_pimpl.C:
8149 * LaTeX.C: fix dispatch calls
8151 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
8153 * text.C (drawChars): Fix Arabic text rendering.
8155 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
8159 * lyxfunc.C: remove message-push/pop
8163 * lyxfunc.C: rationalise some code by removing verboseDispatch
8164 in favour of a bool argument to dispatch()
8166 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8168 * lyx_main.C (init): make sure to read symlinks as absolute paths
8170 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8173 * lyxfunc.C: no need for commandshortcut to be a member
8175 2002-07-15 André Pönitz <poenitz@gmx.net>
8177 * converter.C: add support for $$s (scripts from lib/scripts dir)
8178 * lyx_main.C: white space
8180 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8184 * lyxrc.C: remove second exit confirmation
8186 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8191 * BufferView_pimpl.h:
8192 * BufferView_pimpl.C:
8193 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8195 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8197 * MenuBackend.C (expand): add numeric shortcuts to document menu
8199 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8201 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8203 * lyxfont.C (setLyXFamily):
8210 * buffer.C (asciiParagraph): use ascii_lowercase
8212 2002-07-15 Mike Fabian <mfabian@suse.de>
8214 * lyxlex_pimpl.C (search_kw):
8215 * lyxlex.C (getLongString):
8216 * converter.h (operator<):
8217 * converter.C (operator<):
8218 * buffer.C (parseSingleLyXformat2Token):
8220 * ToolbarDefaults.C (read):
8221 * MenuBackend.C (checkShortcuts):
8223 * LColor.C (getFromGUIName):
8224 (getFromLyXName): use the compare_ascii_no_case instead of
8225 compare_no_case, because in turkish, 'i' is not the lowercase
8226 version of 'I', and thus turkish locale breaks parsing of tags.
8228 2002-07-16 Angus Leeming <leeming@lyx.org>
8230 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8231 now takes a Buffer const & argument.
8233 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
8235 * BufferView.C (resize): check there's a buffer to resize
8237 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
8239 * lyxfunc.C: remove dead code
8242 * lyxserver.C: use lyx_guii::set_read_callback
8244 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
8246 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8247 an inset in a RTL paragraph.
8249 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8251 * lyxfunc.C: repaint after a font size update
8253 2002-07-15 André Pönitz <poenitz@gmx.net>
8255 * lyxlength.C: inBP should be able to return negative values
8257 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8259 * lyxfunc.C: use lyx_gui::update_fonts()
8261 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8263 * lyxfunc.C: use lyx_gui::update_color()
8265 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8271 * lyxrc.C: remove file->new asks for name option, and let
8272 buffer-new take an argument
8274 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8276 * BufferView_pimpl.C: remove unneeded extra repaint()
8278 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
8280 * LyXAction.C: allow command-sequence with NoBuffer
8282 * lyxfunc.C: don't insist on trailing ';' for command-sequence
8284 2002-07-10 Angus Leeming <leeming@lyx.org>
8286 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8288 2002-07-09 Angus Leeming <leeming@lyx.org>
8290 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8292 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8294 * lengthcommon.h: whitespace
8296 * lyxfunc.C: update scrollbar after goto paragraph
8298 * lyxtext.h: factor out page break drawing, and fix it so
8299 page break/added space paints as selected nicely
8301 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8303 * BufferView_pimpl.C: add FIXMEs, clean up a little
8305 2002-07-09 André Pönitz <poenitz@gmx.net>
8307 * lyxfont.[Ch]: support for wasy symbols
8309 2002-07-08 André Pönitz <poenitz@gmx.net>
8311 * BufferView_pimpl.C: apply John's patch for #93.
8313 2002-07-05 Angus Leeming <leeming@lyx.org>
8315 * BufferView_pimpl.C (buffer): generate previews if desired.
8317 * LColor.h: add "preview" to the color enum.
8319 * LColor.C (LColor): add a corresponding entry to the items array.
8321 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8324 2002-07-05 Angus Leeming <leeming@lyx.org>
8326 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8327 The body of the code is now in the method that is passed an ostream &
8328 rather than a file name.
8329 Pass an additional only_preamble parameter, useful for the forthcoming
8332 2002-07-03 André Pönitz <poenitz@gmx.net>
8334 * lyxfunc.C: simplify getStatus() a bit for math stuff
8336 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8338 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8340 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8342 * text.C (changeRegionCase): do not change case of all the
8343 document when region ends at paragraph end (bug #461)
8345 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8347 * paragraph.C (startTeXParParams):
8348 (endTeXParParams): add \protect when necessary
8350 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8352 * BufferView_pimpl.C (workAreaExpose): remove warning
8354 2002-06-27 Angus Leeming <leeming@lyx.org>
8356 * Makefile.am: add lyxlayout_ptr_fwd.h.
8358 2002-06-26 André Pönitz <poenitz@gmx.net>
8360 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8362 2002-06-25 Angus Leeming <leeming@lyx.org>
8364 * lyxfunc.C (dispatch): Comment out the call to
8365 grfx::GCache::changeDisplay. The method no longer exists now that the
8366 pixmap generation part of the graphics loader has been moved into
8369 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8371 * text2.C: layout as layout
8373 * text.C: layout as layout
8375 * tabular.C (OldFormatRead): layout as layout
8377 * paragraph_pimpl.C (TeXDeeper): layout as layout
8378 (realizeFont): layout as layout
8380 * paragraph.C (writeFile): layout as layout
8381 (validate): layout as layout
8382 (getFont): layout as layout
8383 (getLabelFont): layout as layout
8384 (getLayoutFont): layout as layout
8385 (breakParagraph): layout as layout
8386 (stripLeadingSpaces): layout as layout
8387 (getEndLabel): layout as layout
8388 (getMaxDepthAfter): layout as layout
8389 (applyLayout): layout as layout
8390 (TeXOnePar): layout as layout
8391 (simpleTeXOnePar): layout as layout
8392 (TeXEnvironment): layout as layout
8393 (layout): layout as layout
8394 (layout): layout as layout
8396 * lyxtextclass.C (compare_name): new functor to work with
8397 shared_ptr, layout as layout
8398 (Read): layout as layout
8399 (hasLayout): layout as layout
8400 (operator): layout as layout
8401 (delete_layout): layout as layout
8402 (defaultLayout): layout as layout
8404 * lyxlayout_ptr_fwd.h: new file
8406 * lyxlayout.C (Read): layout as layout
8408 * lyx_cb.C (MenuInsertLabel): layout as layout
8410 * bufferlist.C (newFile): layout as layout
8412 * buffer.C (readLyXformat2): layout as layout
8413 (parseSingleLyXformat2Token): layout as layout
8414 (insertStringAsLines): layout as layout
8415 (asciiParagraph): layout as layout
8416 (latexParagraphs): layout as layout
8417 (makeLinuxDocFile): layout as layout
8418 (simpleLinuxDocOnePar): layout as layout
8419 (makeDocBookFile): layout as layout
8420 (simpleDocBookOnePar): layout as layout
8421 (getLists): layout as layout
8423 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8425 * CutAndPaste.C (cutSelection): layout as layout
8426 (pasteSelection): layout as layout
8427 (SwitchLayoutsBetweenClasses): layout as layout
8429 * BufferView_pimpl.C (Dispatch): layout as layout
8430 (smartQuote): layout as layout
8432 * BufferView2.C (unlockInset): layout as layout
8434 2002-06-24 André Pönitz <poenitz@gmx.net>
8436 * lyxfunc.C: fix #487
8438 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8442 * lyxfunc.C: remove display_shortcuts, show_banner
8444 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8446 * Buffer_pimpl.C: oops, update on resize
8448 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8455 * BufferView.C: use repaint()
8457 * BufferView_pimpl.h:
8458 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8459 as it's a clearer description. Remove superfluous
8462 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8464 * text.C: fix bug 488. Not ideal, but getting
8465 getWord() to work properly for the insets that
8466 matter is more difficult ...
8468 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8470 * BufferView_pimpl.C:
8473 * lyxfunc.C: remove the six million index lyxfuncs to just
8474 one, and DTRT (bug 458)
8476 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8480 * BufferView_pimpl.h:
8481 * BufferView_pimpl.C: clean up resize() stuff,
8482 and unnecessary updateScreen()s
8484 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8488 * BufferView_pimpl.h:
8489 * BufferView_pimpl.C:
8492 * minibuffer.C: remove focus management of workarea,
8493 not needed. Use screen's greyOut()
8495 2002-06-17 Herbert Voss <voss@lyx.org>
8497 * converter.C: (convert) do not post a message, when converting
8498 fails, let the calling function decide what to do in this case
8500 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
8502 * lyxfunc.C: tidy up a little
8504 2002-06-16 <alstrup@diku.dk>
8506 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8507 Got rid of FORMS_H_LOCATION include. Now we are
8510 2002-06-15 LyX Development team <lyx@rilke>
8512 * buffer.[Ch] (sgmlOpenTag):
8513 (sgmlCloseTag): Added support for avoiding pernicious mixed
8514 content. Return number of lines written.
8517 (makeDocBookFile): Fixed calls to sgml*Tag.
8518 Simple white space clean.
8520 (simpleDocBookOnePar): Simple white space clean.
8522 * tabular.[Ch] (docBook): Renamed to docbook and got another
8523 argument to related with the pernicious mixed content.
8525 (docbookRow): Fixed calls for docbook inset method.
8527 2002-06-15 Lyx Development team <larsbj@birdstep.com>
8529 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8530 so it's X11 independent.
8534 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8536 2002-06-15 Lyx Development team <lyx@electronia>
8538 * intl.h: Renamed getTrans to getTransManager.
8540 2002-06-14 Angus Leeming <leeming@lyx.org>
8542 * Makefile.am: nuke forgotten stl_string_fwd.h.
8544 2002-06-12 Angus Leeming <leeming@lyx.org>
8546 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8548 2002-06-13 Angus Leeming <leeming@lyx.org>
8551 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8553 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
8555 * kbmap.C (getiso): add support for cyrillic and greek
8557 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8561 * BufferView_pimpl.h:
8562 * BufferView_pimpl.C: move bogus scrolling logic
8565 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8568 * BufferView_pimpl.C: view->resize() change
8570 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8572 * BufferView_pimpl.C: topCursorVisible
8575 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8579 * lyx_gui.C: move to frontends/
8583 * lyx_main.C: changes from above
8585 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8592 * lyx_main.C: minor tidy
8594 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8596 * BufferView_pimpl.h:
8597 * BufferView_pimpl.C:
8599 * BufferView.C: make painter() const,
8602 * BufferView2.C: use screen() accessor
8605 * lyx_main.C: some minor cleanup
8607 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8609 * BufferView_pimpl.h:
8610 * BufferView_pimpl.C: remove enter/leaveView,
8613 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8618 * BufferView_pimpl.h:
8619 * BufferView_pimpl.C: only construct screen once,
8622 * lyxrc.C: remove pointless comment
8624 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8627 * BufferView.C: remove active() and belowMouse()
8629 * BufferView_pimpl.h:
8630 * BufferView_pimpl.C: use workarea() not workarea_,
8631 and make it use a scoped_ptr instead
8633 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8635 * lyx_gui.C: add debug message on BadWindow
8637 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8639 * sp_spell.C: fdopen is not part of the C++ standard.
8641 * paragraph.C (InsetIterator): use >= instead of ==
8643 2002-06-07 Angus Leeming <leeming@lyx.org>
8645 Fixes needed to compile with Compaq cxx 6.5.
8646 * BufferView_pimpl.C:
8653 * lyxtextclasslist.C:
8658 all c-library variables have been moved into namespace std. Wrap
8659 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8664 Add a using std::abs declaration.
8666 * kbmap.h (modifier_pair):
8667 * paragraph.h (InsetTable, InsetList):
8668 * lyxfont.h (FontBits):
8669 type definition made public.
8671 * bufferlist.C (emergencyWriteAll): the compiler complains that
8672 there is more than one possible lyx::class_fun template to choose from.
8673 I re-named the void specialisation as lyx::void_class_fun.
8675 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8677 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8678 the compiler is is unable to find tostr in write_attribute.
8680 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8682 * buffer.C (sgmlError): hide #warning
8684 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8686 * xtl/*: get rid of xtl, which is not in use anyway
8688 * LyXAction.C (init):
8689 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8690 were unimplemented xtl experimentation
8692 2002-06-04 André Pönitz <poenitz@gmx.net>
8694 * lyxfunc.C: disable array operation on simple formulae
8696 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
8698 * converter.C: constify a bit
8700 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
8702 * lyx_gui.C: check xforms version correctly
8704 2002-04-30 Herbert Voss <voss@lyx.org>
8706 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8709 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
8711 * lyxvc.C: fix bug 416 (make sure buffer is saved before
8712 attempt to register it with a VCS)
8714 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8716 * lyx_main.C (init): honor variables LYX_DIR_13x and
8719 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8723 * lyx_main.C: fix a crash on bad command line,
8724 and give a useful exit status on error
8726 * lyxfunc.C (doImport): allow -i lyx to work
8728 2002-03-30 André Pönitz <poenitz@gmx.net>
8730 * lyxfunc.C: mathed font changes
8732 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8747 * trans_mgr.h: srcdocs, and some minor cleanups
8749 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8751 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8752 call getFont all the time)
8754 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8756 * switch from SigC signals to boost::signals
8758 2002-05-29 André Pönitz <poenitz@gmx.net>
8760 * paragraph_pimpl.C (getChar): don't call size() too often...
8762 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8764 * paragraph_pimpl.C (insertChar): do not try to update tables when
8765 appending (pos == size())
8767 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8768 in order to reduce drastically the number of comparisons needed to
8769 parse a large document
8771 2002-05-29 André Pönitz <poenitz@gmx.net>
8777 * textclasslist.[Ch]:
8778 * sp_ispell.h: whitespace change
8780 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8782 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8783 lyxaction directly now.
8785 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
8789 * lyxvc.C: remove unused headers
8791 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8798 * undo_funcs.C: some cleanups. Use shared_ptr
8799 and a template for the undo stacks.
8801 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8803 * BufferView_pimpl.h:
8804 * BufferView_pimpl.C:
8811 * text2.C: use key_state/mouse_state
8813 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8815 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8818 * chset.C: change include order
8819 (loadFile): use boost regex and get rid of LRegex and LSubstring
8821 * Makefile.am (BOOST_LIBS): new variable
8824 * LaTeX.C: change include order.
8825 (scanAuxFile): use boost regex and get rid of LRegex and
8829 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8834 * FontInfo.C: moved to frontends/xforms/
8837 * FontLoader.C: moved into frontends for GUIIzation
8842 * lyxfunc.C: changes from above
8844 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8846 * LColor.C: remove spurious X include
8848 * BufferView_pimpl.C:
8853 * text2.C: move font metrics to frontends/
8855 2002-05-24 Juergen Vigna <jug@sad.it>
8857 * undo_funcs.C (textHandleUndo): fix the cursor selection after
8858 setting the undo_cursor.
8860 * ParagraphParameters.h: include local includes first.
8862 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8864 * BufferView_pimpl.C:
8865 * BufferView_pimpl.h:
8869 * screen.C: move WorkArea into frontends/
8875 * BufferView2.C: move LyXScreen into frontends/
8879 * lyx_gui.C: move lyxlookup into frontends/xforms/
8881 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8884 * BufferView_pimpl.C:
8894 * bufferview_funcs.C:
8907 * vc-backend.C: move LyX/XFormsView into frontends/
8909 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8921 * text2.C: move Painter to frontends/
8923 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8925 * buffer.C: comment out some some code that depend upon lyx_format
8928 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8929 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8931 * buffer.h (NO_COMPABILITY): turn off compability
8933 * ColorHandler.C: include scoped_array.hpp
8935 * font.C: Use more specific smart_ptr header.
8938 * ShareContainer.h: ditto
8942 * BufferView_pimpl.h: ditto
8943 * ColorHandler.h: ditto
8945 * kbmap.C (defkey): change call to shared_ptr::reset
8947 2002-05-21 Juergen Vigna <jug@sad.it>
8949 * buffer.C (insertErtContents): fix to insert ert asis if it is
8950 non empty. Skip it completely if it contains only whitespaces.
8952 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
8954 * BufferView_pimpl.C:
8955 * BufferView2.C: clear selection on paste (bug 393)
8957 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8959 * DepTable.C: include ctime
8961 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
8963 * buffer.C (latexParagraphs): Add new argument (moving_arg).
8965 2002-05-14 Juergen Vigna <jug@sad.it>
8967 * text.C (breakParagraph): fixed function to honor the keepempty
8968 layout in the right maner and also to permit the right breaking
8969 algorithm on empty or non empyt keepempty paragraphs.
8971 * paragraph.C (breakParagraph): we have to check also if the par
8972 is really empty (!size()) for isempty otherwise we do the wrong
8975 2002-05-10 Juergen Vigna <jug@sad.it>
8977 * buffer.[Ch] : The following are only changes to the ert
8978 compatibility read reading old LaTeX layout and font stuff and
8979 convert it to ERTInsets.
8981 * buffer.h: added isErtInset().
8983 * buffer.C (struct ErtComp): add a fromlayout bool to check
8984 if we're inside a LaTeX layout.
8985 (isErtInset): new helper function.
8986 (insertErtContents): look for other ert insets before this one
8987 and insert the contents there, so that we don't have subsequent
8988 ERT insets with nothing between them. This way we create only one
8989 inset with multiple paragraphs. Also check if we don't insert only
8990 spaces ' ' as they are ignored anyway afterwards in the .tex file
8991 so if we have only spaces we will ignore this latex part in the
8993 (parseSingleLyXformat2Token \\layout): better compatibility when
8994 reading layout-latex stuff.
8995 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8997 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8998 stuff after reading the inset only get the information back from
9001 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
9003 * buffer.C (makeLaTeXFile): Put language options after loading babel.
9005 * LaTeXFeatures.C (getBabelOptions): New method.
9007 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9009 * BufferView_pimpl.C (Dispatch): work around missing argument for
9012 2002-05-08 Juergen Vigna <jug@sad.it>
9014 * text.C (leftMargin): handle paragraph leftindent.
9016 * paragraph.C (writeFile): write the new \\leftindent tag.
9017 (validate): handle leftindent code.
9018 (TeXEnvironment): handle paragraphleftindent code again.
9020 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9022 * buffer.C (parseSingleLyXformat2Token): added compatibility code
9023 for paragrap_extra indent code and new token \\leftindent.
9024 (latexParagraphs): handle the leftindent as environment.
9026 * ParameterStruct.h: added leftindent support.
9028 * ParagraphParameters.C (leftIndent): added support functions for
9029 the paragraph left indent.
9031 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9034 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
9036 * paragraph.C (isRightToLeftPar): Return false for a paragraph
9039 * text.C (computeBidiTables): No bidi in insetERT.
9041 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9044 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9046 * version.C.in: pre 5
9048 2002-05-02 José Matos <jamatos@fep.up.pt>
9049 * buffer.C (makeDocBookFile): white space changes, add newline to
9051 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9053 * tabular.C (docBook): fix typo.
9055 2002-05-03 Juergen Vigna <jug@sad.it>
9057 * screen.C (drawFromTo): recalculate the rowpointer if we had a
9058 change in LyXText as we can not be sure it was not freed.
9059 (drawOneRow): remove unused code.
9061 * text.C (drawInset): redo the calculation of the need_break_row as
9062 it could have a row which was already freed.
9063 (draw): look at the return value of drawInset and return false if
9064 it also returned false.
9065 (paintRowText): look at the return value of draw and return false if
9066 it also returned false.
9068 * lyxtext.h: added bool return type to drawInset() and draw() so that
9069 if we have a change in the row so that the rowbreak has to be redone
9070 we abort drawing as it will be called again.
9072 2002-05-02 Juergen Vigna <jug@sad.it>
9074 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9075 a change in the maintext also if we're inside an inset.
9076 (Dispatch): set the cursor again after a break line and after the
9077 screen has been updated as it could be we're in a different row.
9079 * text2.C (fixCursorAfterDelete): check to make sure we don't request
9080 to set the cursor behind the pargraph with > size().
9081 (setCursor): check also for the same paragraph when checking where
9082 to put the cursor if we have a NFR inset.
9084 * buffer.C (parseSingleLyXformat2Token): move the compatibility
9085 parts of layout read further up as it still was in the wrong
9088 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9090 * screen.C (drawFromTo): change sine fullRebreak always return
9093 * buffer.C (parseSingleLyXformat2Token): reindent some
9095 * BufferView_pimpl.C (update): change since fullRebreak always
9097 (Dispatch): git rid of the last hardcoded "Standard"s.
9099 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9101 * text2.[Ch] (fullRebreak): make it return void now that we always
9104 2002-04-30 Juergen Vigna <jug@sad.it>
9106 * buffer.C (parseSingleLyXformat2Token): reset the font before the
9107 ert compatibility check for "latex" layout.
9109 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
9111 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9112 minipages: use col% instead of p%, and also use the current font.
9113 (makeLaTeXFile): Fix use babel condition.
9114 (parseSingleLyXformat2Token): Correct font when reading old floats.
9116 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
9118 * BufferView_pimpl.C (Dispatch): Check that float type exists when
9119 inserting list of floats.
9121 2002-04-25 Herbert Voss <voss@lyx.org>
9123 * MenuBackend.C (expand): don't add the graphics extensions to the
9126 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9128 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9129 non-existing layout, do not complain if it was the default layout
9130 of the original class (bug #342)
9132 2002-04-24 Juergen Vigna <jug@sad.it>
9134 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9135 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9137 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
9139 * buffer.C (getBibkeyList): If using \bibliography, return the
9140 option field with the reference itself. Enables us to provide natbib
9141 support when using \bibliography.
9143 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
9145 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9147 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9148 natbib is provided by the LaTeX class.
9150 2002-04-23 Juergen Vigna <jug@sad.it>
9152 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9155 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9157 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9159 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9161 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9162 ensuremath around textordmasculine, textordfeminine and
9165 2002-04-19 Juergen Vigna <jug@sad.it>
9167 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9168 reinitializing the buffer otherwise row-dimensions may be wrong.
9169 (update): reset also the selection cursors if they do exits otherwise
9170 their x/y positions may be wrong.
9172 * text2.C (cursorDown): don't enter the inset if we came from a row
9173 above and are one row over the inset.
9175 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9176 really leaving an inset.
9178 2002-04-18 Juergen Vigna <jug@sad.it>
9180 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9181 of the selected paragraph does not have the selected layout also if
9184 * text2.C (setLayout): fixed bug which did not change last selected
9187 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9188 changed the read and substituted \\end_float with \\end_inset!
9190 * BufferView_pimpl.C (cursorPrevious):
9191 (cursorNext): fixed to make it work with rows heigher than the work
9192 area without moving the cursor only the draw of the row.
9193 (workAreaMotionNotify): fix jumping over high rows.
9195 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9197 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9200 2002-04-16 Juergen Vigna <jug@sad.it>
9202 * text2.C (setCursor): set also the irow().
9203 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9205 (cursorDown): support for locking an inset if the x_fix value goes
9206 inside it. That way I can transverse insets too with cursor up/down.
9208 * lyxrow.h: added irow helper function same as other (i) functions.
9210 * BufferView_pimpl.C (cursorPrevious):
9211 (cursorNext): fixed for insets!
9213 2002-04-15 Juergen Vigna <jug@sad.it>
9215 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9216 position otherwise it is wrong in some cases.
9218 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9219 inside the inset before the call.
9221 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
9223 * buffer.[Ch] (getBibkeyList): make it const.
9225 2002-04-12 Juergen Vigna <jug@sad.it>
9227 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9229 * text2.C (getCursorX): new helper function
9230 (setCursor): compute also ix_
9231 (setCursorFromCoordinates): set also ix.
9233 * lyxcursor.h: added ix_ and helper functions.
9235 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9237 * buffer.C (insertStringAsLines): dont break paragraph if the this
9238 paragraph is inside an inset which does not permit it!
9240 * text.C (breakParagraph): honor keepempty flag and break the paragraph
9241 also with no chars on this paragraph.
9242 (paintRowText): only paint stuff if it's inside the workarea!
9244 * paragraph.C (breakParagraph): honor keepempty flag and break the
9245 paragraph always below not above.
9247 * BufferView2.C (unlockInset): update the paragraph layout on inset
9248 unlock as we changed paragraph in such a case.
9250 * lyxfind.C (LyXFind): clear the former selection if not found!
9252 * text2.C (insertInset): freeze Undo after setUndo so that it is not
9253 again called in insertChar().
9255 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9256 an inset which uses the whole row!
9257 (rightMargin): ditto.
9258 (insertChar): force a rebreak if we inserted an inset!
9260 2002-03-28 Herbert Voss <voss@lyx.org>
9262 * lyxlength.[Ch]: add inBP() to get the right PS-point
9263 units (BigPoint). With inPixels we have rounding errors
9265 2002-04-11 Juergen Vigna <jug@sad.it>
9267 * text2.C (setCursorFromCoordinates): set iy to the right value.
9268 (setCursor): add check if row->previous exists!
9270 * buffer.C (parseSingleLyXformat2Token): reset font after read of
9271 an old float_type as this was the case in the old code!
9273 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9275 * BufferView2.C (showLockedInsetCursor): use iy
9276 (fitLockedInsetCursor): ditto
9278 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9279 locked insets as there we have the right value now.
9281 * lyxcursor.C: added iy_ variable and iy functions to set to the
9282 baseline of cursor-y of the locked inset.
9284 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9285 (setCursor): fixed for insets which need a full row.
9287 * text.C (rowLastPrintable): don't ignore the last space when before
9288 an inset which needs a full row.
9289 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9290 as last character of a row when before a inset which needs a full row.
9292 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9294 * version.C.in: update date
9296 * text2.C (fullRebreak): try to always return true and see what
9299 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9301 * MenuBackend.C (expand): use Floating::listName
9303 * FloatList.C (FloatList): add listName argument to the built-in
9306 * Floating.[Ch]: add listName member, which is the 'List of XXX'
9307 text associated with the float.
9309 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9311 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9313 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9315 * ShareContainer.h: add a couple of missing typenames.
9317 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
9319 * lyxrc.C (getDescription): use _() correctly rather than N_().
9321 2002-03-28 Herbert Voss <voss@lyx.org>
9323 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9324 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9326 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9328 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9329 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9331 2002-03-29 Juergen Vigna <jug@sad.it>
9333 * lyxfunc.C (dispatch): add a missing fitCursor call.
9335 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9336 it was scrolled by a cursor move, so return the bool status.
9338 * BufferView.C (fitCursor): return the bool flag also to the outside
9339 world as this is needed.
9341 * screen.C (toggleToggle): don't subtract the offset if it's positive.
9343 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9344 call the edit() as it is not needed (and wrong) IMO.
9345 (workAreaButtonPress): set the screen_first variable before evt.
9346 unlock the inset as this may change screen_first and then we have
9347 a wrong y position for the click!
9349 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9351 * MenuBackend.C (expand): another translation that I missed
9353 2002-03-28 Juergen Vigna <jug@sad.it>
9355 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9357 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9359 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9361 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9363 * MenuBackend.C (expand): fix export/view/update when there is no
9366 2002-03-27 Herbert Voss <voss@lyx.org>
9368 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9371 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9373 * bufferview_funcs.C (currentState): only show paragraph number
9374 for is DEVEL_VERSION is set.
9376 * lyxfunc.C (dispatch): put warning in INFO channel
9378 * MenuBackend.C (expand): translate the name of floats
9380 * FloatList.C (FloatList): mark the float names for translation
9382 * converter.C (convert): use LibScriptSearch
9384 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9386 * MenuBackend.C (defaults): fix default menu (we might as well get
9389 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9391 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9394 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9396 * lyxvc.C: reorder includes.
9398 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
9400 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9403 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9405 * CutAndPaste.C: change layouts earlier on paste
9406 to avoid crashing when calling getFont()
9408 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9410 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9413 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9415 * WorkArea.C: remove 'Pending' debug message.
9417 * most files: ws cleanup
9419 * buffer.[Ch]: ws changes
9421 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9423 2002-03-21 Juergen Vigna <jug@sad.it>
9425 * tabular.C (SetMultiColumn): collapse also the contents of the
9426 cells and set the last border right. Added a Buffer const * param.
9428 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9430 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9433 2002-03-19 Juergen Vigna <jug@sad.it>
9435 * text2.C (clearSelection): reset also xsel_cache.
9437 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9438 where it needs to be called (John tells us to do so too :)
9439 (selectionLost): reset sel_cache.
9441 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9443 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9445 * text2.C (setCursorIntern): put debuging code in INSETS channel
9447 2002-03-19 André Pönitz <poenitz@gmx.net>
9449 * lyxfunc.C: tiny whitespace change
9451 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9453 * ToolbarDefaults.C (init):
9454 * LyXAction.C (init):
9456 * BufferView_pimpl.C (Dispatch):
9457 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9459 2002-03-19 Allan Rae <rae@lyx.org>
9461 * exporter.C (Export): removeAutoInsets before doing anything else.
9462 While I've just introduced a dependency on BufferView this really is
9463 the best place to clean the buffer otherwise you need to cleanup in
9464 a dozen places before calling export or cleanup in a dozen functions
9467 * converter.C (runLaTeX):
9468 (scanLog): Better handling of removeAutoInsets and screen updates.
9470 * lyxfunc.C (dispatch): small whitespace changes
9472 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9474 * WorkArea.C (C_WorkAreaEvent): return a value.
9475 (event_cb): return 1 if we handled the event, 0 otherwise.
9477 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9479 2002-03-18 Juergen Vigna <jug@sad.it>
9481 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9482 (GetAdditionalWidth): ditto.
9486 * BufferView2.C (copy): use getLyXText() so that we do it inside an
9487 inset if we're there actually (probably not used right now but this
9488 is the direction to go for unifying code).
9489 (paste): disable code to clear the selection.
9491 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9492 inside an InsetText and move the check further up as it is in the
9495 * text2.C (pasteSelection): set a selection over the pasted text.
9497 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
9499 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9500 and libgraphics to build on Cygwin.
9502 2002-03-15 Juergen Vigna <jug@sad.it>
9504 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9505 inserting an Inset into the paragraph. I know this is not the best
9506 fix but we already use current_view in CutAndPaste so we will remove
9507 all of it's using at the same time.
9509 * buffer.C (sgmlError): deactivated function till it is rewritten in
9510 the right mode, now it can create problems.
9512 * paragraph.C (isLineSeparator): check if getInset returns != 0,
9513 before accessing it.
9515 2002-03-14 Juergen Vigna <jug@sad.it>
9517 * undo_funcs.C (textHandleUndo): do the right thing when updating
9518 the inset after the undo/redo.
9520 * text2.C (setCursor): just some testcode for #44 not ready yet.
9522 * undo_funcs.C (textHandleUndo): set the next() and previous()
9523 pointers of the paragraph to 0 before deleting otherwise we have
9524 problems with the Paragraph::[destructor].
9526 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9527 on a paragraph insertion.
9529 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9531 * buffer.C (asciiParagraph): use += operator for char append to
9534 * paragraph.C (getFontSettings): compare >= not just >
9535 (highestFontInRange): ditto
9538 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9540 * paragraph.C: change several algorithm to be more appripriate for
9541 the problem domain. This is lookip in FontList and in the InsetList.
9543 2002-03-13 André Pönitz <poenitz@gmx.net>
9546 * LyXAction.C: remove unused LFUN_MATH_MACROARG
9548 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
9553 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9555 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9557 * Painter.C (display): anon helper function, adjust code for this
9559 (pixmap): remove function.
9561 * Painter.h: remove private display variable.
9563 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9565 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
9567 * WorkArea.[Ch]: remove figinset_canvas cruft.
9569 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9571 * lyxtextclass.C (operator): add one item cache optimization.
9573 * bufferlist.h: doxy changes
9575 * bufferlist.C: ws changes
9577 * DepTable.[Ch] (ext_exist): place const in the right spot.
9579 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9581 (workAreaExpose): call resizeInsets when the with BufferView changes.
9582 (Dispatch): adjust for protectedBlank removal
9583 (specialChar): call updateInset if the insert went ok.
9585 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9586 specialChar instead.
9588 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9590 * BufferView.h: doxy change
9592 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9594 * lyxtextclass.C (operator[]): remove non-const version
9595 (defaultLayout): remove non-const version
9597 2002-03-12 Juergen Vigna <jug@sad.it>
9599 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9600 did resize the LyXText too.
9602 * buffer.C (readLyXformat2): set layout information on newly allocated
9605 * tabular.C (OldFormatRead): set layout information on the paragraph.
9607 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9609 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9611 2002-03-11 Juergen Vigna <jug@sad.it>
9613 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9615 (resizeCurrentBuffer): force also the insets to resize themselfes.
9616 (moveCursorUpdate): fixed up for InsetText.
9618 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
9621 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9622 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9623 value of Dialogs::tooltipsEnabled().
9624 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9626 2002-03-08 Juergen Vigna <jug@sad.it>
9628 * BufferView_pimpl.C (updateInset): update inset inside inset also
9629 if it isn't inside theLockingInset().
9631 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9633 * buffer.C (asciiParagraph): redo some of the word and line length
9635 (getLists): look for Caption instead of caption.
9637 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9639 * buffer.C (Buffer): initialize niceFile to true
9642 (makeDocBookFile): make sure niceFile is true on exit
9644 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9646 * buffer.C (makeLaTeXFile): escape ~ in \input@path
9648 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
9650 * LyXSendto.C: remove.
9651 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9652 * lyx_gui.C: remove now-redundant comment.
9653 * ColorHandler.h: remove forward declaration of class WorkArea.
9654 * lyxfunc.C: remove #include "WorkArea.h".
9656 2002-03-07 Juergen Vigna <jug@sad.it>
9658 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9659 got moved away with the DEPM and also set the inset_owner always
9660 right which before could have been omitted.
9662 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9664 * buffer.C (parseSingleLyXformat2Token): use default layout is the
9665 wanted layout is not found.
9667 2002-03-07 Juergen Vigna <jug@sad.it>
9669 * CutAndPaste.C (cutSelection): another layout settings forgotten.
9671 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9673 * paragraph.C (breakParagraph): use default layout not layout of
9675 (Paragraph): clear ParagraphParameters.
9677 2002-03-06 Juergen Vigna <jug@sad.it>
9679 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9680 otherwise it would not be a valid lenght. Fixed a special case in
9681 the minipage compatibility read where we end the document with a
9684 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9685 was set as it could be 0 for InsetTexts first entry.
9687 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9689 * paragraph.C (writeFile): if layout is empty write out
9690 defaultLayoutName().
9692 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9693 file without named layout we set layout to defaultLayoutName().
9695 2002-03-06 Juergen Vigna <jug@sad.it>
9697 * CutAndPaste.C (copySelection): set layout for new paragraph.
9699 * text.C (prepareToPrint): leave ERT inset left aligned
9700 (leftMargin): don't indent paragraphs inside ERT insets
9702 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9704 * paragraph.C (breakParagraph): dont call clear do the work manually
9706 * paragraph.[Ch] (clear): remove function
9708 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9710 * paragraph.C (Paragraph): dont call clear, the work has already
9713 * lyxtextclass.C (operator): assert if n is empty
9715 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9716 work manually instead.
9718 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9720 * BufferView_pimpl.C: protect selectionLost against text == 0
9722 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9724 * text.C (breakParagraph): fix a setting layout to '0' problem.
9726 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9728 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9729 final location of file, for the included files, and graphics.
9731 2002-03-05 Juergen Vigna <jug@sad.it>
9733 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9735 2002-03-04 Juergen Vigna <jug@sad.it>
9737 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9739 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9740 last column of multicolumn cells.
9741 (SetWidthOfMulticolCell): recalculate NMC and real columns.
9743 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
9745 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9746 file if it doesn't go to a temporary file.
9748 * buffer.C (sgmlOpenTag):
9749 (sgmlCloseTag): remove extra newline insertion.
9751 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9753 * text.C (getRowNearY): comment out debug msg
9755 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9757 * text2.C: first -> first_y
9759 * text.C (getRowNearY): add some attemts at a possible
9760 optimization, not working.
9762 * tabular.[Ch]: add BufferParams to several function so that newly
9763 created paragraph can be initialized to he default layotu for the
9766 * tabular-old.C (ReadOld): add buf->params to call of Init
9768 * screen.C: rename text->first to text->first_y
9770 * paragraph.C (breakParagraph): always set layout in the broken
9773 * lyxtextclass.C (Read): remove lowercase
9776 (delete_layout): ditto
9778 * lyxtext.h: rename first -> first_y
9780 * lyxlayout.C (Read): remove lowercase
9783 (obsoleted_by): ditto
9785 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9787 * buffer.C (insertErtContents): add params are to InsetERT
9788 (parseSingleLyXformat2Token): add code to check if a paragraphs
9789 layout really exist.
9790 (parseSingleLyXformat2Token): add params to several inset
9792 (asciiParagraph): remove lowercase, do the layout comparisons with
9795 * BufferView_pimpl.C (cursorNext): first -> first_y
9796 (resizeCurrentBuffer): first -> first_y
9797 (updateScrollbar): first -> first_y
9798 (scrollCB): first -> first_y
9799 (workAreaMotionNotify): first -> first_y
9800 (workAreaButtonPress): first -> first_y
9801 (checkInsetHit): first -> first_y
9802 (cursorPrevious): first -> first_y
9803 (cursorNext): first -> first_y
9804 (Dispatch): add buffer_->params to severl inset contructors
9806 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9808 * lyxlayout.C (Read): remove some debug info that I forgot.
9810 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9811 clean up the code slightly.
9812 (makeLinuxDocFile): ditto
9813 (makeDocBookFile): ditto
9815 * text2.C: layout as string
9817 * text.C: layout as string
9819 * paragraph_pimpl.C: layout as string
9821 * paragraph.[Ch]: layout as string
9823 * lyxtextclasslist.[Ch]: layout as string
9825 * lyxtextclass.[Ch]: layout as string
9827 * lyxtext.h: layout as string
9829 * lyxlayout.[Ch]: layout as string
9831 * lyx_cb.C: layout as string
9833 * bufferview_funcs.C: layout as string
9835 * bufferparams.C: layout as string
9837 * buffer.C: layout as string
9839 * LyXView.[Ch]: layout as string
9841 * LaTeXFeatures.[Ch]: layout as string
9843 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9845 * BufferView_pimpl.C: change current_layout to string, remove
9850 (workAreaButtonRelease): layout as string
9852 * BufferView2.C (unlockInset): adjust
9854 * vspace.C (asLatexCommand): use an explict temp variable.
9856 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9858 * Makefile.am: use FRONTEND_*
9860 2002-03-01 Juergen Vigna <jug@sad.it>
9862 * tabular.C (SetWidthOfMulticolCell): changed to something better
9863 I hope but still work in progress.
9864 (recalculateMulticolumnsOfColumn): renamed function from
9865 recalculateMulticolCells as it is more appropriate now.
9866 (SetWidthOfCell): calculate multicols better.
9868 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9870 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9872 * lyxfunc.C (processKeySym): print sequence also if it is
9873 `deleted' (complete)
9875 * kbsequence.C (print): print sequence even if it is deleted
9876 (complete would be a better word, actually).
9878 * lyxfunc.C (dispatch): print complete options after a prefix key
9880 * vspace.C (asLatexCommand): rewrite in a slightly different form.
9882 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
9884 * text2.C (setCharFont): eliminate setCharFont code duplication.
9886 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9888 * BufferView_pimpl.C (Dispatch): remove bogus handling of
9889 LFUN_TABULAR_FEATURE (bug #177)
9891 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
9893 * Makefile.am: remove figure.h
9895 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
9897 * Bufferview_pimpl.C:
9909 * text2.C: remove #include "lyx_gui_misc.h".
9911 * LaTeX.C: added #include <cstdio>
9913 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9915 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9916 that the paragraph following this one can have.
9918 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9920 * vspace.C (asLatexCommand): fix bogus gcc warning
9922 * Makefile.am (lyx_SOURCES): remove vms_defines.h
9924 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
9926 * text2.C (setLayout): get rid of redundant code
9928 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
9930 * text2.C (incDepth): make sure depth cannot be increased beyond
9933 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
9935 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9936 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9938 * PainterBase.h (image):
9939 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9942 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9946 * BufferView_pimpl.C:
9947 * BufferView_pimpl.h:
9967 * sp_spell.C: remove fig inset, and the crap house of
9968 cards that follows it
9970 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9976 * nt_defines.h: move .h into support/
9978 * vms_defines.h: remove
9980 * WorkArea.C: add space in debug output
9984 * buffer.C: add WITH_WARNINGS
9988 * bufferlist.C: s/retrive/retrieve/, add docs
9999 * lyxgui.C: add ID to X error handler
10001 * lyxtestclass.c: fix typo
10003 2002-02-26 Juergen Vigna <jug@sad.it>
10005 * tabular_funcs.C (write_attribute): changed so that some default
10006 attributes are not written at all.
10007 (getTokenValue): set default values before trying to read the
10008 value so we have the return value always set as default if we don't
10009 find the token we search for.
10011 * tabular.C (Write): write bools as bools not as strings!
10013 2002-02-22 Juergen Vigna <jug@sad.it>
10015 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10016 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10018 * text.C (leftMargin): don't add an indent for paragraphs inside
10019 tabular cells (fix #208).
10021 2002-02-21 José Matos <jamatos@fep.up.pt>
10023 * tabular.C (docBook): fixed support for long tables.
10025 2002-02-20 Juergen Vigna <jug@sad.it>
10027 * text2.C (getFont): get the drawing font of the Inset if this
10028 paragraph is inside an inset (only important for InsetERT for now).
10030 * buffer.C (insertErtContents): use new lanugage params in ERT
10033 * CutAndPaste.C: commenting out seemingly uneeded code.
10035 2002-02-19 Allan Rae <rae@lyx.org>
10037 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10038 Iterators might be simple to use but they also get invalidated.
10039 (removeAutoInsets): renamed saved cursor tracking variables and added
10040 some comments to clarify what everything does.
10042 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
10049 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10050 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10053 * vc-backend.h: remove #include "support/syscall.h"
10057 * converter.C: rearrange #includes in Lars' approved fashion.
10059 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10060 forward declare class Timeout in the header file.
10062 * XFormsView.C: changes due to the above.
10064 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10065 similar to LyXView.
10067 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10068 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10070 2002-02-18 José Matos <jamatos@fep.up.pt>
10072 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10075 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10077 * a lot of small ws changes
10078 * add a lot of using std::XXX
10079 * use std construcs some places where approp.
10080 * use some exisint stuff from lyxfunctional where approp.
10081 * Make file changes to use partial linking (lets test this now...)
10083 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10087 remove #include "support/syscontr.h" as it's redundant. Always has been.
10095 change Systemcalls::System to Systemcalls::Wait and
10096 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10097 No change of functionality, just reflects the stripped down Systemcalls
10100 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10102 * debug.[Ch]: add a GRAPHICS type to the enum.
10104 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10106 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10108 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10111 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10113 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10114 match the changes below.
10116 * text2.C (toggleInset): if there is not editable inset at cursor
10117 position, try to see if cursor is _inside_ a collapsable inset
10120 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10122 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10123 document menu has a nice checkbox
10125 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10127 * lyxlength.C (asLatexString): change PW to output as percent of
10130 * lengthcommon.C: change '%' to 't%'
10132 * lyxfunc.C (dispatch): a few comments from Martin
10134 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
10138 * BufferView_pimpl.h:
10139 * BufferView_pimpl.C: clear our selection when X tells us we've lost
10142 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10144 * vspace.C (inPixels): fix compiler warning
10146 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10148 * lyxfunc.C (getStatus): fix status message for disabled commands.
10150 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
10152 * BufferView_pimpl.C: fix crash on close buffer
10153 during selection (#227)
10155 2002-01-27 Herbert Voss <voss@lyx.org>
10157 * buffer.C: link old Figure to new graphic inset
10159 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
10161 * FontLoader.C (getFontinfo): Change the latex font names in order
10162 to match the names of type1inst.
10164 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10166 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10168 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10169 (extchanged): ditto
10171 (remove_files_with_extension): ditto
10172 (remove_file): ditto
10175 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10176 document is smaller than the work area height. Do not initialize
10177 static variables to 0.
10179 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10181 * lyx_gui.C (init): give the toolbar tooltips a normal font.
10183 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10184 LFUN_LAYOUT_PARAGRAPHS.
10186 * tabular.C (GetCellFromInset): new method. Finds an inset in a
10187 tabular. It is possible to provide a possible cell, which will
10188 typically be the actcell from the corresponding insettabular
10190 * lyxfunc.C (getStatus): small cleanup; disable
10191 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10194 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10196 * tabular.C (Validate): remove broken optimization (fixes bug #201)
10198 * paragraph.C (startTeXParParams):
10199 (endTeXParParams): new methods. The LaTeX code to
10200 start/end paragraph formatting
10201 (simpleTeXOnePar): call startTeXParParams also when paragraph is
10202 empty (fixes bug #200)
10204 * vspace.C (inPixels): adapt to the change below
10205 (inPixels): [later] more cleanups (remove unused variables)
10207 * lyxlength.C (inPixels): change to use a width and a height as
10210 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10212 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10213 Replaced with \paperwidth
10215 * DepTable.C (insert): add std:: qualifier
10217 2002-01-18 Allan Rae <rae@lyx.org>
10219 * text2.C (removeRow): add comment. Should other refresh_?? vars be
10222 * text.C (drawInset): Turned out I didn't know enough about how
10223 rebreaking worked. This fixes most of the redraw problems. I see
10224 an occasional cursor trail when a line is broken now and the cursor
10225 placement can seem out by a few pixels also after a rebreak.
10227 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10229 * buffer.C (parseSingleLyXformat2Token): update because minipage
10230 width is now a LyXLength
10232 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10234 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10237 2002-01-17 Juergen Vigna <jug@sad.it>
10239 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10241 * BufferView2.C (lockInset): call edit() so that theLockingInset()
10242 is set correctly and the inset is updated correctly.
10244 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10246 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10247 the beginning of the loop.
10249 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
10251 * lyxrc.C: improve help for use_scalable_fonts
10253 2002-01-17 Allan Rae <rae@lyx.org>
10255 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10257 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10259 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10260 make sure to set their inset_owner to the right value (bug #171)
10262 2001-12-12 Ben Stanley <bds02@uow.edu.au>
10265 * DepTable.C: Implement mtime checking to reduce time spent doing
10268 2002-01-16 Juergen Vigna <jug@sad.it>
10270 * tabular.C (GetAdditionalHeight): one of error fixed.
10272 * lyxrc.C (output): small fix in writing use_pspell.
10274 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
10276 * sp_base.h: #include LString.h
10278 2002-01-16 Allan Rae <rae@lyx.org>
10280 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
10281 Can someone check this please?
10283 * text.C (drawInset): It was possible that p.row would be removed by
10284 breakAgainOneRow upsetting a few other settings. There may be another
10285 small tweak possible by setting need_break_row = 0 when p.row has been
10286 removed but I don't know enough about the logic here.
10288 2002-01-15 Allan Rae <rae@lyx.org>
10290 * text.C (insertChar): removed conditional truism.
10292 * BufferView2.C (removeAutoInsets): More tweaks.
10293 cur_par_prev could be a stray pointer. Check for trailing empty line
10294 in case last line was cur_par and only had an error inset on it.
10296 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10298 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10301 * vc-backend.C (most methods):
10302 * exporter.C (Export):
10303 * converter.C (convert):
10305 * LyXSendto.C (SendtoApplyCB):
10306 * lyxfunc.C (dispatch):
10310 * lyx_cb.C (AutoSave):
10312 * BufferView_pimpl.C (MenuInsertLyXFile):
10313 * buffer.C (runChktex): use Buffer::filePath().
10315 * buffer.h: rename filename to filename_; rename filepath to
10316 filepath_ and make it private
10317 (filePath): new method
10319 * buffer.C (writeFile): use fileName()
10322 * lyx_main.C (init): fix starting of LyX when the binary is a
10323 link from so,ewhere else.
10325 * minibuffer.C: include <cctype> for isprint
10327 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10329 * buffer.C (parseSingleLyXformat2Token): changes associated with the
10330 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10331 name clash with InsetCollapsable's width function.
10333 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10335 * lastfiles.C: include <iterator>
10337 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10339 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10342 * buffer.C (makeLaTeXFile): ditto.
10343 Also make loop operation more transparent.
10345 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10347 * ToolbarDefaults.C: remove trailing comma closing namespace.
10349 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10351 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10354 * trans.C (Load): comment out unused variable, allowed.
10356 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10358 * minibuffer.[Ch] (append_char): new method to recieve input from the
10359 drop-down completion browser. If a key was pressed, then recieve this
10360 char and append it to the existing string.
10361 (peek_event): modify the positioning data passed to the completion
10362 browser so that it can be placed above the minibuffer rather than below.
10363 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10365 * LyXAction.C (init): alloe error-next for readonly documents.
10367 * BufferView2.C (ChangeRefsIfUnique): use standard version of
10370 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10372 * bufferlist.C (readFile): create the buffer _after_ checking that
10375 * lyxfunc.C (verboseDispatch): fix handling of arguments
10377 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10379 * lyxrc.C: use string::erase() instead of initializing to "".
10382 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10384 * BufferView_pimpl.h:
10385 * BufferView_pimpl.C:
10388 * text2.C: tell X when we have made a selection for copying
10390 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10392 * BufferView_pimpl.C (MenuInsertLyXFile):
10393 * lyxfunc.C (menuNew):
10395 (doImport): add shortcuts to directory buttons
10397 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10400 * lyxfunc.C (setStatusMessage):
10401 (getStatusMessage): new methods
10402 (getStatus):use setStatusMessage instead of setErrorMessage
10403 (dispatch): when function is disabled, set error message here
10404 [instead of in getStatus previously]
10406 * BufferView_pimpl.C (workAreaButtonRelease): update
10407 toolbar/menubar here too.
10409 2002-01-13 Allan Rae <rae@lyx.org>
10411 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10412 Now seems indestructible. Remaining task is to audit all other
10413 code affected by deleteEmptyParagraphMechanism. One small quirk
10414 left is that an empty document with an error in the preamble can
10415 be made to report an error but no error box appears. I don't know
10417 (removeAutoInsets): Improved comments.
10419 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10422 * Thesaurus.C: update for Aiksaurus 0.14
10424 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10426 * text2.C (firstParagraph): removed member function, all uses
10427 replaces with ownerParagraph
10428 (redoParagraphs): here
10429 (updateInset): here
10430 (toggleAppendix): here
10431 * BufferView2.C (insertErrors): here
10432 (setCursorFromRow): here
10434 2002-01-13 Allan Rae <rae@lyx.org>
10436 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10437 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10438 There is still a way to segfault this although you may have to do this
10439 multiple times: Have an InsetERT with an unknown command in it.
10440 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10441 <down-arrow>, <Enter> again, View->DVI, BANG!
10443 * text2.C (setCursor):
10444 (deleteEmptyParagraphMechanism):
10445 * lyxtext.h (setCursor):
10446 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10447 Making use of the return value may help fix other bugs.
10449 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10451 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10453 * LyXView.C (updateMenubar): call MenuBar::update here
10454 (updateToolbar): but not here
10455 (showState): do not update toolbar/menubar
10457 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10458 should need to care about that.
10460 * lyxfunc.C (verboseDispatch): simplify a bit
10461 (getStatus): have a version which takes a pseudoaction, and
10462 another which requires a (kb_action,string).
10464 * LyXAction.C (retrieveActionArg): make it work also when action
10465 is not a pseudo-action.
10466 (getActionName): simplify a bit
10469 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10471 * lyxfunc.C (verboseDispatch): new families of methods with
10472 several ways to specify a command and a bool to indicate whether
10473 the command name and shortcut should be displayed in minibuffer
10474 (eventually, we could extend that to a finer bitmask like
10475 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10476 (dispatch): the pristine dispatch command which just, well,
10477 dispatchs! Note it still sets its result to minibuffer; I'm not
10480 * lyxfunc.h: remove setHintMessage
10482 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10484 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10486 * BufferView_pimpl.C (specialChar): delete new inset if we have
10487 not been able to insert it.
10489 * kbmap.C: revert to using int instead of kb_action, since all we
10490 are dealing with is pseudo-actions.
10492 * LyXAction.C (searchActionArg): change to return int instead of
10493 kb_action, since the result is a pseudoaction.
10495 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
10497 * buffer.C (insertErtContents): Fix (partially) the font bug.
10499 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10501 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10502 as the other one is broken on my machine!
10504 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
10507 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10509 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
10511 * lyxrc.[Ch]: change names and descriptions of popup font variables to
10512 reflect their actual use. Provide compatibility code for older lyxrc
10515 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10517 change names of popup font variables in line with the changes to lyxrc.C
10519 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10521 * buffer.C (asciiParagraph): avoid outputing a word twice after
10524 * lyxrc.C (getDescription): document that document_path and
10525 template_path can be empty.
10527 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10529 * LaTeXFeatures.C (getMacros):
10530 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10532 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10534 * LaTeXFeatures.C (useFloat): require "float" here instead of in
10536 (getPackages): rename feature "floats" to "float". Use an array to
10537 iterate over 'simple' features (i.e. just a \usepackage). Add
10538 handling of "amsmath" (renamed from "amsstyle").
10540 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
10542 * LaTeXFeatures.C (require): Prevent duplicate entries in the
10545 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
10547 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10548 FuncStaus::FuncStatus & FuncStaus::some_method().
10550 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
10552 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10553 of the func_satus stuff. Edited and massaged in various ways by
10556 * lyxfunc.C (getStatus): use FuncStatus
10558 2002-01-08 Juergen Vigna <jug@sad.it>
10560 * text.C (nextBreakPoint): use function Inset::isChar().
10562 * paragraph.C (TeXOnePar): use function
10563 Inset::forceDefaultParagraphs.
10565 * buffer.C (latexParagraphs): use function
10566 Inset::forceDefaultParagraphs.
10568 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10570 * lyx_gui.C (init): set the style of the menu popups to
10571 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10573 2002-01-07 Juergen Vigna <jug@sad.it>
10575 * text.C (setHeightOfRow): small fix
10576 (prepareToPrint): don't look at alignment if we don't have the place
10579 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10581 * box.C: New file. Move the Box methods and functions out of box.h,
10582 following Lars' suggestion.
10584 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10586 * box.h: #include "support/LOstream.h", needed for inlined function.
10589 * lyxtextclasslist.C: added some using std declarations.
10591 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
10593 * box.h: make signed dimensions to allow insets wider than
10594 the screen (bug #162)
10596 * BufferView_pimpl.C: add some insetHit debug
10598 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
10600 * vc-backend.C: add FIXME
10602 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10604 * lyxfunc.C (getStatus): enable code for showing math font status
10607 2002-01-07 Juergen Vigna <jug@sad.it>
10609 * text.C (nextBreakPoint): removed debug output not needed anymore.
10611 2002-01-06 Juergen Vigna <jug@sad.it>
10613 * text.C (nextBreakPoint): fixed up this function we had this bug
10614 since ever but now hopefully we break row better.
10615 (insertChar): we have to check if an inset is the next char as it
10616 could now happen that a large inset is causing a break.
10618 2002-01-05 Juergen Vigna <jug@sad.it>
10620 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10621 if it doesn't like to be drawed.
10623 2002-01-04 Juergen Vigna <jug@sad.it>
10625 * BufferView2.C (lockInset): forgot to set a cursor.
10627 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10629 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
10631 * FormMathsPanel.C:
10634 * form_maths_panel.C:
10635 * form_maths_panel.h:
10636 * form_maths_panel.fd: implemented sub- and super- buttons in math
10639 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10640 (or ^ space) to be used as in TeX (req'd by André).
10642 * lyxfunc.C: Allow ^ and _ again to be used both as
10643 super/subscript (mathed) and as themselves (in text).
10645 2002-01-03 Allan Rae <rae@lyx.org>
10647 * LyXView.C (updateWindowTitle): Setup a short icon title of either
10648 "LyX" or the filename of the current buffer if it has one. This is a
10649 modified form of John Levon's patch.
10651 * XFormsView.C (setWindowTitle): also set icon title.
10653 * LyXView.h (setWindowTitle): signature changed.
10654 * XFormsView.h (setWindowTitle): ditto.
10656 2002-01-02 Juergen Vigna <jug@sad.it>
10658 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10660 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10662 * screen.C (topCursorVisible): introduce a temp var for
10663 text->cursor.row(), handle the case where this row is null. (kindo
10666 * text2.C (setCursor): add a couple of asserts.
10668 * paragraph.h (inset_iterator): add -> operator
10670 * paragraph.[Ch] (autoDeleteInsets): remove member function
10672 * BufferView2.C (removeAutoInsets): rewrite to handle the old
10673 cursor pos correctly and handle inset deletion by itself.
10674 (insertErrors): move iterator declaration out of for expression
10676 * lyxtextclass.C: add <algorithm>
10678 * Makefile.am: added the new files to sources, removed layout.C
10680 * layout.C: removed file
10682 * layout.h: remove LYX_DUMMY_LAYOUT
10684 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10688 * lyxtextclass.[Ch]:
10689 * lyxtextclasslist.[Ch]: new files
10691 * include order changes to a lot of files, also changes because of
10694 2001-12-27 Juergen Vigna <jug@sad.it>
10696 * buffer.C (asciiParagraph): more fixes.
10698 * tabular.C (ascii): make ascii export support export of only the
10699 data separated by a column-delimiter.
10700 (ascii): better support for ascii export.
10702 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10704 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10706 * tabular_funcs.C: use a "using std::getline" instead of the
10707 previous fix from Angus (necessary for cxx + lyxstring)
10709 2001-12-24 Juergen Vigna <jug@sad.it>
10711 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10713 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10714 problems. First check a minipage also if we have some ert-contents
10715 (not only on par->size(), second set the right depth of the paragraph
10716 on the relink to the root-paragraph-list!
10718 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10719 which then did not anymore update the main paragraphs on undo/redo!
10721 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10723 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10724 code. Support all font-changing funcs (even those which are not in
10725 menu currently). Support for reporting font settings in
10726 mathed (disabled until Andre provides a function on mathed's side).
10728 * func_status.h (toggle): small helper function to set toggle
10731 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
10733 * tabular_funcs.C: getline -> std::getline
10735 2001-12-21 Juergen Vigna <jug@sad.it>
10737 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10738 accessed and could be 0 (I couldn't generate this but it seems
10741 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10743 * tabular_funcs.C: add LIstream.h, move write_attribute to..
10744 * tabular_funcs.h: here and include iosfwd
10746 2001-12-20 Juergen Vigna <jug@sad.it>
10748 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10749 inside inset but undo_par was.
10751 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10753 * Thesaurus.C: always include <config.h> in sources.
10757 * box.h: do not include <config.h> in header files
10759 * text.C (paintLastRow): remove unused variable
10761 * text.C (transformChar):
10763 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10765 * Painter.C (text):
10766 * font.C (width): rewrite to use uppercase() instead of
10769 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10771 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
10773 * lyxfind.C: clean up of find failure position change
10775 2001-12-20 Juergen Vigna <jug@sad.it>
10777 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10779 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10780 (TeXRow): added to LaTeX a single tabular row.
10781 (TeXLongtableHeaderFooter): added to output LT-h/f data.
10782 (Latex): simplified and finally good LT-h/f support.
10783 (various_functions): just small adaptions for LT-h/f support.
10785 * tabular_funcs.[hC]: added and moved here all not classfunctions
10788 2001-12-19 Juergen Vigna <jug@sad.it>
10790 * tabular.[Ch]: better support for longtabular options (not finished
10793 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10795 * text.C (paintLastRow): use the label font instead of the font of
10796 the last character to compute the size of *_BOX. This makes more
10797 sense and avoids a crash with empty paragraphs.
10798 Use Painter::rectangle to draw EMPTY_BOX.
10800 2001-12-19 Juergen Vigna <jug@sad.it>
10802 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10803 the paragraphs if the replaced paragraph is not the first one!
10804 Tried to delete not used paragraphs but does not work yet so for
10805 now it's inside #ifdef's and by default off!
10807 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10809 * MenuBackend.C: include "lyx_main.h" instead of declaring
10810 lastfiles (actually was declared as LastFiles* instead of a
10813 2001-12-17 Juergen Vigna <jug@sad.it>
10815 * tabular.C (AppendColumn): applied John's fix
10817 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
10821 * BufferView_pimpl.h:
10822 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10825 * box.h: new start of class for above
10827 * lyxfunc.C: ignore space-only minibuffer dispatches.
10828 Show the command name when it doesn't exist
10830 * minibuffer.C: don't add empty lines to the history
10832 * minibuffer.C: add a space on dropdown completion
10834 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
10836 * text.C: fix line above/below drawing in insets
10838 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10840 * lyxlength.C (LyXLength): Initialize private variables.
10842 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
10844 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10845 when inserting error insets.
10847 2001-12-13 Juergen Vigna <jug@sad.it>
10849 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10850 actually sometimes the before-paragraph.
10851 (setUndo): don't clear the redostack if we're not actually undoing!
10853 2001-12-06 Juergen Vigna <jug@sad.it>
10855 * undo_funcs.C (textHandleUndo): well after John's hint I got here
10856 and fixed redoing of main paragraph, so we can use it now ;)
10858 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10860 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10862 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10865 2001-12-13 André Pönitz <poenitz@gmx.net>
10868 * undo_func.C: minor cleanup
10870 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10872 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10873 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10874 font in urw-fonts package which is marked as -urw-fontspecific and
10875 does not work (incidentally, changing the encoding in the
10876 fonts.dir of this package to -adobe-fontspecific fixes the
10879 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10880 is a crash when undoing first paragraph (Juergen, please take a
10881 look). THis does not mean the undo fix is wrong, just that it
10884 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10885 the (Paragraph*) version when needed instead of duplicating the
10888 * text.C (workWidth): use Inset::parOwner to find out where the
10889 inset has been inserted. This is a huge performance gain for large
10890 documents with lots of insets. If Inset::parOwner is not set, fall
10891 back on the brute force method
10893 * paragraph_pimpl.C (insertInset):
10894 * paragraph.C (Paragraph):
10895 (cutIntoMinibuffer): set parOwner of insets when
10896 inserting/removing them
10898 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10900 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
10906 * mathed/formulabase.C:
10907 * mathed/math_cursor.[Ch]:
10908 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10911 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10913 * lyxlength.[Ch] (operator!=): new function
10915 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10917 * text.C (workWidth): use Inset::parOwner to find out where the
10918 inset has been inserted. This is a huge performance gain for large
10919 documents with lots of insets. If Inset::parOwner is not set, fall
10920 back on the brute force method
10922 * paragraph_pimpl.C (insertInset):
10923 * paragraph.C (Paragraph):
10924 (cutIntoMinibuffer): set parOwner of insets when
10925 inserting/removing them
10927 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10929 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10931 * tabular-old.C (getTokenValue):
10932 * tabular.C (getTokenValue):
10933 (write_attribute): new versions for LyXLength
10934 (everywhere): adjust the use of widths
10936 * tabular.h: change the type of widths from string to LyXLength
10938 2001-12-11 Ben Stanley <bds02@uow.edu.au>
10940 * paragraph.C: fixed missing line number count when exporting
10941 Environments to LaTeX file
10943 * buffer.C: added informational message for checking line numbers.
10945 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10947 * text2.C (deleteEmptyParagraphMechanism): if there is only one
10948 paragraph, do the 'double space' part, but not the 'empty
10951 * text.C (workWidth): small optimization
10952 (getLengthMarkerHeight): use minimal size for negative lengths.
10954 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
10956 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10958 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10960 2001-12-11 André Pönitz <poenitz@gmx.net>
10963 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10965 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10967 * text2.C: keep selection on a setFont()
10969 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10971 * lyx_cb.C: another bv->text misuse, from insert label
10973 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10976 * kbsequence.C: re-instate nmodifier mask
10978 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
10980 * lyx_main.h: make lyxGUI private.
10982 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10984 * lyxfind.C: place the cursor correctly on failed search
10986 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10988 * text.C (getLengthMarkerHeight): for small heights, the arrows
10989 are not always on top/bottom of the text
10990 (drawLengthMarker): smaller arrows; take the left margin in
10991 account; draw also vfills.
10993 (paintLastRow): remove special code for vfill and standard spaces,
10994 since everything is handled in drawLengthMarker now.
10996 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10998 * buffer.C (insertErtContents): try to handle font and language
10999 interaction a bit better.g
11001 * ColorHandler.C (updateColor): change the hash to cover the whole
11002 LColor enum, ws cleanup
11003 (getGCLinepars): ditto
11004 (getGCLinepars): only lookup in the linecache once.
11006 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
11008 * iterators.C (operator++): Make the iterator more robust
11010 * BufferView2.C (removeAutoInsets): Use paragraph iterators
11012 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11014 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11017 * text.C: better added space drawing
11019 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11022 * BufferView2.C: fix layout combo update on inset unlock
11024 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11026 * Makefile.am: don't compile unused files
11028 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11032 * LyXAction.C: remove old LFUN_LAYOUTNO
11034 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11036 * paragraph_pimpl.h:
11037 * paragraph_pimpl.C: isTextAt() doesn't need font param
11039 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11042 * lyxlex.C: little cleanup
11044 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11046 * BufferView_pimpl.C: fix insertAscii for insets
11048 2001-12-05 Juergen Vigna <jug@sad.it>
11050 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11051 set the right font on the "multi" paragraph paste!
11053 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11059 * lyxlength.C: remove out-commented code.
11061 * BufferView_pimpl:
11075 * vc-backend.C: change "while(" to "while ("
11077 * lyxlength.[Ch]: add zero function to check if length is zero or
11079 * lyxgluelength.C: use it
11081 2001-12-05 Allan Rae <rae@lyx.org>
11083 * lyxlength.C: Attempted a fix for the abs(int) header selection.
11084 Works for 2.95.3, from what I understand of Garst's reports this should
11085 work for other g++ versions. We're screwed if the abs(int) definition
11086 changed between bugfix releases of gcc.
11088 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11090 * text.C: fix chapter label offset !
11092 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11095 * text.C: fix hfill at end of line, clean up
11097 2001-12-04 Juergen Vigna <jug@sad.it>
11099 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11100 that we force an update of the inset and it's owners if neccessary.
11102 2001-12-03 Juergen Vigna <jug@sad.it>
11104 * text.C (rowLast): simplified code
11106 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11108 * lyxfunc.C: fix show options on timeout
11110 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11112 * screen.C (topCursorVisible): scroll half a page when the cursor
11113 reached top of bottom of screen
11115 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
11117 * minibuffer.C: deactivate on loss of focus
11119 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11121 * vspace.[Ch] (operator!=): add operator.
11123 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
11125 * BufferView_pimpl.C: refuse to open an inset when
11126 there's a selection.
11128 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
11130 * BufferView_pimpl.C: allow to click on RHS of full row insets
11132 2001-11-30 Juergen Vigna <jug@sad.it>
11134 * tabular.C (LyXTabular): add a same_id to set the same id's in the
11135 insets for undo reasons.
11137 2001-11-28 André Pönitz <poenitz@gmx.net>
11139 * vspace.[Ch]: cosmetical changes
11141 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11151 * kbsequence.C: part re-write of old kb code
11154 * WorkArea.C: remove Lgb_bug_find_hack
11156 2001-11-30 José Matos <jamatos@fep.up.pt>
11158 * buffer.C (makeDocBookFile): add a comment to point a hack.
11159 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11160 Fixed a double write of labels.
11162 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11165 * LaTeX.h Fixed bug in LaTeX class where it would not
11166 re-run latex if no depfiles were changed, but the .dvi was removed.
11168 2001-11-28 André Pönitz <poenitz@gmx.net>
11170 * all the files from the change on 2001/11/26:
11171 use lyx::layout_type instead of LyXTextClass::size_type
11172 use lyx::textclass_type instead of LyXTextClassList::size_type
11174 2001-11-29 Juergen Vigna <jug@sad.it>
11176 * text.C: added support for paragraph::isFreeSpacing()
11178 * buffer.C: same as above
11180 * paragraph.h: inserted isFreeSpacing() function to enable
11181 FreeSpacing inside InsetERT.
11183 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11184 of the paragraph's in the cut/copy buffer to 0!
11186 * text2.C (removeRow): remove the assert as it can!
11188 * lyxtext.h: added helper function firstRow returning firstrow and
11189 made firstrow private again.
11191 * BufferView2.C (lockInset): don't relock if we're already locked!
11193 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11194 the only paragraph.
11195 (removeRow): added Assert::(firstrow)
11197 * debug.C: forgot to add INSETTEXT here.
11199 2001-11-28 Juergen Vigna <jug@sad.it>
11201 * sp_spell.C (initialize): changed error text to more general
11202 spellchecker command use (not only ispell!)
11204 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11206 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11208 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11210 * vspace.C: initialise lyxgluelength on failure
11212 2001-11-28 Allan Rae <rae@lyx.org>
11214 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11215 declaration & definition that looks like a function declaration.
11217 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11219 * BufferView2.C (copy):
11220 (copyEnvironment): do not clear the selection when doing a copy.
11222 * text.C (paintFirstRow): compilation fix
11224 2001-11-27 Ben Stanley <bds02@uow.edu.au>
11226 * tabular.C (Latex): correct line count when writing latex.
11228 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
11230 * paragraph_pimpl.h:
11231 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11234 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11238 * LColor.C: change vfillline->added_space
11240 * text.C: add markers and text for added space
11242 * vspace.C: fix comment
11244 2001-11-28 André Pönitz <poenitz@gmx.net>
11246 * paragraph.C: whitespace changes
11247 * all the other files from the change on 2001/11/26:
11248 change *::pos_type into lyx::pos_type
11250 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
11252 * buffer.C (parseSingleLyXformat2Token): Set the language to the
11253 language of the document when inserting error insets.
11255 2001-11-26 André Pönitz <poenitz@gmx.net>
11257 * BufferView_pimpl.[Ch]:
11265 * paragraph_pimpl.[Ch]:
11268 * text2.C: reduce header dependencies, introduce type for positions
11270 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11272 * <various>: change to use Alert.h
11274 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
11276 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11277 when encountering an unknown token.
11278 (readLyXformat2): Show an error message if there were unknown tokens.
11280 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
11283 * BufferView_pimpl.C:
11287 * text2.C: use par->isInset()
11289 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11291 * paragraph_pimpl.h:
11292 * paragraph_pimpl.C: cleanup
11294 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11296 * text2.C (removeRow):
11297 * text.C (setHeightOfRow): remove useless (and costly) call to
11300 2001-11-20 Allan Rae <rae@lyx.org>
11302 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11303 Now need Inset*::checkInsertChar() to return true for appropriate
11304 cases so that the characters in the minibuffer will actually be
11307 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11309 * text.C: change the order of the includes.
11310 (workWidth): initialize it at once.
11311 (workWidth): make maxw unsigned
11312 (setHeightOfRow): remove unused variable (inset)
11313 (selectSelectedWord): remove unused variable (inset)
11314 (paintRowText): fix drawing of hfill characters, and clean up a bit.
11316 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11318 * lyxserver.C (emergencyCleanup): do not try to close pipes if
11319 server is not running.
11321 (closeConnection): add debug info when server is disabled.
11323 * ColorHandler.C (getGCForeground): send debug message to GUI
11326 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11328 * kbmap.C (bind): modify because return conventions of
11329 kb_sequence::parse have changed.
11331 * kbsequence.C (parse): only ignore spaces and not any stupid
11332 control character. This avoids tests like s[i] <= ' ', which are
11333 guaranteed to fail with 8bit characters and signed chars.
11334 Change return code to string::npos when there have been no error
11335 (0 was a bad idea when error is at first character)
11337 2001-11-14 José Matos <jamatos@fep.up.pt>
11340 * buffer.C (simpleDocBookOnePar): removed unused argument.
11342 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11344 * text.C (selectNextWordToSpellcheck): do not test explicitely for
11345 insets which are part of a word. Paragraph::isLetter takes care of
11346 that now. Use Paragraph::isInset to identify insets.
11347 (selectSelectedWord): do not test for hyphenation break.
11349 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11350 that protected spaces are considered as spaces.
11352 * paragraph.C (isLetter): cleanup the code for ispell extras; use
11355 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
11358 * lyxserver.C: fix it. and small cleanup.
11360 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11362 * BufferView_pimpl.C: use inline helpers
11365 * LaTeXFeatures.C: fix typos
11368 * Spacing.C: move spacing_string into class
11370 * ToolbarDefaults.C: move stuff into namespace anon
11372 * layout.h: update enum
11374 * lyxfunc.C: use better debug
11376 * minibuffer.h: fix typo
11380 * WorkArea.C: add and use Debug::WORKAREA
11384 * text2.C: code re-organisation, inline helpers
11386 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
11388 * Layout.C: replaced a few cases of std::vector.size() == 0 with
11389 std::vector.empty().
11391 2001-11-09 Allan Rae <rae@lyx.org>
11393 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11394 '\n's after tables. Tabular and ERT inset work now makes this no
11397 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11400 * minibuffer.C: fix crash, improve drop-down completion
11402 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11405 * lyxserver.C: invalidate fd's when doing endPipe()
11407 2001-11-08 José Matos <jamatos@fep.up.pt>
11409 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11410 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11413 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11415 2001-11-07 José Matos <jamatos@fep.up.pt>
11418 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11421 * buffer.C (sgmlOpenTag):
11422 * buffer.C (sgmlCloseTag): removed debug info.
11424 * buffer.h (sgmlOpenTag):
11425 * buffer.h (sgmlCloseTag): made public.
11427 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11429 * buffer.C (saveParamsAsDefaults):
11430 * lyx_cb.C (MenuLayoutSave): remove
11432 * LyXAction.C (init):
11434 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11436 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11438 * buffer.C (setPaperStuff): removed from here...
11440 * bufferparams.C (setPaperStuff): ... and moved there.
11442 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11446 * XFormsView.C: add support for drop-down completion
11448 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11450 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11453 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11455 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11458 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11460 * lyx_main.C: change ref to known bugs
11462 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11464 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11465 to work around older babel problems.
11467 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11469 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11471 2001-10-24 Juergen Vigna <jug@sad.it>
11473 * tabular-old.C (ReadOld): below variable changes reflected.
11475 * tabular.[Ch]: added ltType struct for longtable header/footer
11476 defines and changed all instances where they are used. Added
11477 future support for double top/bottom rows.
11479 2001-10-24 José Matos <jamatos@fep.up.pt>
11481 * buffer.h (docbookHandleCaption):
11482 * buffer.C (docbookHandleCaption): removed unused function.
11483 (makeDocBookFile): moved docbook supported version to v4.1.
11485 2001-10-24 José Matos <jamatos@fep.up.pt>
11488 * tabular.C (docbookRow): new function to export docbook code of a row.
11489 (DocBook): now honors the longtable flags.
11491 2001-10-23 José Matos <jamatos@fep.up.pt>
11494 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11495 of the lyx defined sgml entities used in a docbook/linuxdoc document.
11497 * buffer.C (makeLinuxDocFile):
11498 (makeDocBookFile): reworked the preamble, more clean, and with
11499 support for lyx defined entities. Changed the document declaration
11500 to be more XML friendly.
11502 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11503 if we need to output XML that should be done with a filter.
11505 2001-10-22 Juergen Vigna <jug@sad.it>
11507 * sp_pspell.h (class PSpell): add alive function needed in the
11508 controller to see if the spellchecker could be started.
11510 2001-10-22 Juergen Vigna <jug@sad.it>
11512 * buffer.C (insertStringAsLines): modify the font for inserting
11513 chars in certain conditions by calling checkInsertChar(font).
11515 2001-10-19 Juergen Vigna <jug@sad.it>
11517 * text.C (workWidth): use getRow instead of wrong algorithm.
11518 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11520 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
11525 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11527 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11529 * text.C (workWidth): do not search for the exact row when
11530 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11531 optimization for big documents.
11533 2001-10-18 Juergen Vigna <jug@sad.it>
11535 * text.C (workWidth): new function with added Inset * parameter.
11537 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11539 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11541 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11542 change return type of getColumnNearX.
11545 * text.C (changeRegionCase): use uppercase/lowercase instead of
11548 (rightMargin): simplify code by factoring out the uses of
11553 (appendParagraph): use Paragraph::size_type
11555 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11557 * vspace.C (asLatexString): add a missing break
11559 2001-10-15 Herbert Voss <voss@perce.de>
11561 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11563 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11565 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11568 2001-10-10 André Pönitz <poenitz@gmx.net>
11570 * lyxfunc.C: removed greek_kb_flag.
11572 2001-10-10 Herbert Voss <voss@perce.de>
11574 * lyx_main.C: delete global string help_lyxdir.
11576 2001-10-09 Herbert Voss <voss@perce.de>
11578 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11580 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11582 * lyx_main.C: added global string help_lyxdir.
11584 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11586 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
11588 * lyxrc.C (set_font_norm_type): support iso8859-4
11590 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
11592 * LaTeX.C (deplog): add another regex for MikTeX
11594 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
11596 * lyxrc.C (set_font_norm_type): support iso8859-3
11598 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11600 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11602 * LaTeXFeatures.C: remove special case of french and index
11604 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11605 before \begin{document}). This solves several incompatibilities.
11607 2001-10-03 Garst Reese <reese@isn.net>
11609 * lyx_cb.C: change CheckTex error msg.
11611 2001-10-03 José Matos <jamatos@fep.up.pt>
11613 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11615 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11617 * .cvsignore: update
11619 * lyx_main.C (commandLineVersionInfo): use new style version info.
11621 * buffer.C (writeFile):
11623 (makeLinuxDocFile):
11624 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11626 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11628 * version.h: update to use stuff in version.C
11630 * version.C.in: new file. Contains version information determined
11631 at compile time. This is a merging of version.h and
11634 2001-10-03 Juergen Vigna <jug@sad.it>
11636 * BufferView_pimpl.C (update): don't change "dirty" status in
11639 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
11641 * WorkArea.C (c-tor): re-position version string slightly.
11643 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
11645 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11646 revert to previous code.
11648 WorkArea.[Ch]: (show, destroySplash): methods removed.
11650 WorkArea.C: rework code so that it's an amalgam of the codes before and
11651 after the splash screen was moved to WorkArea.
11653 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11656 * vspace.C (inPixels):
11659 * buffer.C (insertStringAsLines):
11660 (asciiParagraph): fix types to be large enough
11662 * lyxlex_pimpl.h: change member status from short to int
11664 * layout.h: fix type of endlabeltype
11667 * kbsequence.C (parse): change return type to string::size_type
11669 * LaTeX.C (updateBibtexDependencies): comment out unneeded
11672 * Bullet.C (bulletSize):
11673 (bulletEntry): do not use short ints as parameters
11675 * BufferView2.C (insertLyXFile): change a char to an int.
11677 * WorkArea.C (WorkArea): remove unneeded floats in computation
11679 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
11681 * buffer.C (asciiParagraph): Treat '\\' as other chars.
11683 * paragraph.C (asString): Do not ignore newline/hfill chars when
11684 copying to the clipboard.
11686 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
11688 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11689 after a multi-line inset.
11691 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
11693 * paragraph.C (validate): Set NeedLyXFootnoteCode
11695 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11697 * lyxfont.C (LyXSizeNames): changed increase-error to increase
11698 and decrease-error to decrease.
11700 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11702 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11703 it more readable (should be equivalent)
11705 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
11707 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11709 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11711 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11712 of a cursor (row, etc.) after a character has been deleted
11713 (deleteEmptyParagraphMechanism): call the method above on _all_
11714 cursors held by the LyXText when a double space has been
11717 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11719 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11721 (resizeCurrentBuff): remove code to destroy the old splash dialog.
11723 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11724 background. Use greyOut() and the new show() methods to toggle between
11725 the foreground and background. Add code to remove the splash after
11726 its initial showing.
11728 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11729 (create_forms): no longer call Dialogs::showSplash.
11731 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11733 * .cvsignore: add version_info.h
11735 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11737 * version_info.h.in: new file
11739 * Makefile.am: add version_info.h.in
11741 * lyx_main.C (commandLineVersionInfo): use version_info defined in
11742 version_info.h instead of VERSION_INFO
11744 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
11746 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11747 The ERT inset now returns string().
11749 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
11751 * lyxtext.h, text.C (selectNextWord): renamed as
11752 selectNextWordToSpellcheck.
11754 * text.C (selectNextWordToSpellcheck): Modified to not select
11755 words inside an ERT inset.
11757 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11759 * lyx_cb.C (MenuLayoutSave): change a bit the question
11761 * sp_base.h: include <sys/types.h>
11763 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
11765 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11767 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
11769 * several files: fix typos in user-visible strings
11771 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11773 * text2.C (pasteSelection): do not set the selection, since it
11774 will be cleared later. Actually, the intent was to fix the way the
11775 selection was set, but I figured rmoving the code was just as good.
11777 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
11779 * FontLoader.C (available): Check if font is available without
11782 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11784 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11786 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
11788 * lyxrc.[Ch]: added display_graphics variable and associated code.
11790 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11792 * bufferparams.C (hasClassDefaults): new method. Returns true if
11793 the buffer parameters correspond to known class defaults
11795 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
11797 * XFormsView.C (show): set minimum size to the main window.
11799 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11801 * text2.C (copySelection):
11803 * lyxfind.C (LyXReplace):
11804 * BufferView_pimpl.C (Dispatch): pass the correct flag to
11805 LyXText::selectionAsString.
11807 * paragraph.C (asString): add "label" argument to the second form
11809 * text2.C (selectionAsString): add "label" argument and pass it to
11810 Paragraph::asString.
11812 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11814 * lyx_main.C (commandLineHelp): remove version information
11816 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
11818 * lyx_main.C: add -version commandline option
11820 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11822 * paragraph.h: make the optional constructor arg required instead.
11823 some modifications to other files because of this.
11825 * minibuffer.C (C_MiniBuffer_peek_event): make it static
11827 * lyxserver.C (C_LyXComm_callback): make it static
11829 * lyx_main.C (error_handler): make it static
11831 * lyx_gui.C (LyX_XErrHandler): make it static
11833 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11835 * WorkArea.C: make the extern "C" methods static.
11837 * Makefile.am (lyx_LDADD): simplify
11839 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11841 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11842 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11844 * LyXAction.C (init):
11845 * lyxfunc.C (dispatch): associated code removal.
11847 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11849 * lyxfont.h (isSymbolFont): shut off warning
11851 * text.C (setHeightOfRow):
11852 (getVisibleRow): fix crash with empty paragraphs which have a
11855 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
11857 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11860 2001-09-04 José Matos <jamatos@fep.up.pt>
11863 * tabular.C (docbook): rename docBook method to docbook.
11865 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11867 * Makefile.am: add dependencies to main.o.
11869 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
11871 * FontLoader.C (available): Return false if !lyxrc.use_gui
11873 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
11875 * FontInfo.C (query):
11876 * converter.C (view):
11877 * importer.C (Import):
11878 * exporter.C (Export): Can not -> cannot.
11880 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
11882 * BufferView_pimpl.C: allow to create index inset even if
11885 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11887 * buffer.C (getLists): replace boost::tie code with an explicit pair
11888 as boost::tie can break some compilers.
11890 * iterators.h: Added a std:: declaration to the return type of
11893 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
11895 * lyxrc.C: add help for view_dvi_paper_option, default to safe
11898 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
11900 * iterators.[Ch]: New files. Provide paragraph iterators.
11902 * buffer.C (changeLanguage): Use paragraph iterators.
11903 (isMultiLingual): ditto
11905 * BufferView2.C (ChangeInsets): Use paragraph iterators.
11907 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
11909 * FontLoader.C: Support for cmr font.
11911 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
11913 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11914 (available): New method.
11916 * FontInfo.C (getFontname): Use scalable fonts even when
11917 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11920 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11922 * converter.C (Formats::view): reverted! Incorrect fix.
11924 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11926 * converter.C (Formats::view): only output the -paper option
11927 if the dvi viewer is xdvi, thereby fixing bug #233429.
11929 2001-08-23 Herbert Voss <voss@perce>
11931 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11933 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
11935 * Spacing.h (Spacing): Set space to Default on in the default
11938 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
11940 * vc-backend.h (RCS::versionString): add RCS to version
11941 (CVS::versionString): add CVS to version
11943 * vc-backend.C (scanMaster): do not add CVS to version.
11944 (scanMaster): do not add RCS to version
11946 * lyxvc.C (versionString): new method
11948 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11950 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11952 * Spacing.C (set): initialize fval
11954 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
11956 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11959 2001-08-16 Juergen Vigna <jug@sad.it>
11961 * lyxfunc.C (dispatch): implemented the new FINISHED states.
11963 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11965 * BufferView_pimpl.C:
11968 * text2.C: setParagraph takes linespacing now
11970 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
11972 * LyxAction.C: add internal LFUN_CITATION_INSERT
11974 * LyXView.C: actually apply fix
11976 * bufferlist.C: fix open non-existent file
11978 * lyxfind.C: fix indentation
11980 * lyxfunc.C: remove unneeded assert, fix typo
11982 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11984 * MenuBackend.C: use "Floatname List"
11986 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
11988 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11989 when converting LaTeX layout to insetERT.
11990 Generate a non-collapsed float when reading old float
11992 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11994 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11997 2001-08-13 Juergen Vigna <jug@sad.it>
11999 * text.C (fill): return 0 instead of 20 as this seems to be the more
12002 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12004 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12007 2001-08-13 Juergen Vigna <jug@sad.it>
12009 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12011 (SearchBackward): comment out the unlocking of the inset_owner this
12012 should not be needed!
12014 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
12016 * Many files: Remove inherit_language, and add latex_language
12018 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12019 collapsible insets.
12021 2001-08-10 Juergen Vigna <jug@sad.it>
12023 * text.C (prepareToPrint): fixed hfill-width in draw!
12025 * BufferView2.C (selectLastWord): save the selection cursor as this
12026 now is cleared in the function LyXText::clearSelection!
12028 2001-08-08 Juergen Vigna <jug@sad.it>
12030 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12031 BACKSPACE type functions.
12033 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12034 is only cutted from the document but not put in the cut-buffer, where
12035 still the old stuff should be.
12037 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12039 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12041 * tabular.C (SetWidthOfCell): fixed special case where the width
12043 (LeftLine): handle '|' in align_special.
12045 (LeftAlreadyDrawed): ditto
12046 (SetWidthOfCell): ditto
12048 2001-08-07 Juergen Vigna <jug@sad.it>
12050 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12052 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12054 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12055 * lyxlex.[hC]: ditto
12057 2001-08-06 Juergen Vigna <jug@sad.it>
12059 * text.C (getVisibleRow): fix up row clearing a bit.
12061 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12063 * minibuffer.C: make sure the X server sees the changes in the input.
12065 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12067 * paragraph.C (getFont): split into...
12068 (getLabelFont): this
12069 (getLayoutFont): and this
12070 * paragraph_pimpl.C (realizeFont): calling this
12072 * text2.C (getFont): split into...
12073 (getLayoutFont): this
12074 (getLabelFont): and this
12075 (realizeFont): all three calling this
12077 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12080 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12082 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12084 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
12086 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12087 layouts from the Quote inset insertion.
12089 2001-08-03 Juergen Vigna <jug@sad.it>
12091 * BufferView_pimpl.C (update): do the fitCursor only at the end!
12093 * screen.C (drawFromTo): don't call fitcursor here and do the loop
12094 only if status not is already CHANGED_IN_DRAW (second level).
12096 * text.C (draw): don't set the need_break_row when inside an
12099 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12101 * buffer.C (parseSingleLyXformat2Token): handle more latex
12104 * bufferview_funcs.[hC]: change function names to
12105 begin with small char, adjust other files.
12107 2001-08-02 André Pönitz <poenitz@gmx.net>
12110 BufferView_pimpl.C: remove broken special code for math-greek
12112 2001-08-02 Juergen Vigna <jug@sad.it>
12114 * BufferView_pimpl.C (update): redone this function so that we
12115 update the text again if there was a CHANGE_IN_DRAW.
12117 * screen.C (cursorToggle): removed LyXText parameter and recoded.
12118 (drawFromTo): added a new internal bool which is used by draw() and
12120 (general): some cursor drawing problems fixed.
12122 2001-08-01 Juergen Vigna <jug@sad.it>
12124 * lyxfind.C (LyXFind): fixed
12125 (SearchForward): ditto
12126 (SearchBackward): ditto
12128 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12129 spurius drawing of the cursor in the main area.
12131 * text2.C (status): small fix which could lead to a segfault!
12132 (clearSelection): remove unneeded BufferView param.
12134 2001-08-01 André Pönitz <poenitz@gmx.net>
12136 * lyxfunc.C: small change due to changed mathed interface
12138 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12140 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12142 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
12144 * lyxfunc.c: fail gracefully if file doesn't exist
12149 * BufferView_pimpl.C: IsDirWriteable() proto changed
12151 * LyXView.C: fix updateWindowTitle() to store the last title
12153 2001-07-31 Juergen Vigna <jug@sad.it>
12155 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12156 the font (wrong since using of Paragraph::highestFontInRange).
12158 * paragraph.C (highestFontInRange): added a default_size parameter.
12160 * text.C (getVisibleRow): minor clear row changes (still not perfect).
12161 (setHeightOfRow): reformat
12163 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12165 * converter.[hC] + affected files: move to (inital-char)lowercase
12168 * ParagraphParameters.C (ParagraphParameters): remove commented code
12170 * PainterBase.[Ch]: remove commented code
12172 * LaTeXFeatures.h: add "bool floats" for float.sty
12174 * LaTeXFeatures.C (LaTeXFeatures): init floats
12175 (require): handle float
12176 (getPackages): do it with floats
12178 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12180 * BufferView_pimpl.C (Dispatch): improve handling of
12181 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12183 * commandtags.h: #include lyxfont.h here temporarily to avoid
12186 * bufferlist.h: include LString.h here.
12188 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12190 * text2.C (getStringToIndex): new method.
12192 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
12194 * *: Reduced header file dependencies all over.
12196 2001-07-30 Baruch Even <baruch@lyx.org>
12198 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12200 2001-07-29 Baruch Even <baruch@lyx.org>
12202 * buffer.C (readInset): Changed GRAPHICS to Graphics.
12204 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12206 * ParameterStruct.h (endif): add a default constructor to make
12207 sure that all variables is initialized.
12209 * ParagraphParameters.C (ParagraphParameters): adjust
12211 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12213 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12214 index; also, check that there is something to index, and that it
12215 does not span over several paragraphs.
12216 (doubleClick): use WHOLE_WORD_STRICT for double click.
12218 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12220 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12223 2001-07-26 Baruch Even <baruch@lyx.org>
12225 * buffer.C (readInset): Changed to call up InsetGraphics when reading
12226 an InsetFig figure, backwards compatible reading of old figure code.
12228 2001-07-27 Juergen Vigna <jug@sad.it>
12230 * text2.C: font.realize function adaption.
12232 * text.C (draw): add a warnings lyxerr text if needed.
12234 * layout.C: font.realize function adaption.
12236 * language.C: add inherit_language and implement it's handlings
12238 * bufferview_funcs.C (StyleReset): remove language parameter from
12239 font creation (should be language_inherit now).
12241 * bufferparams.C (writeFile): handle ignore_language.
12243 * paragraph.C (getFontSettings): the language has to be resolved
12244 otherwise we have problems in LyXFont!
12246 * lyxfont.C (lyxWriteChanges): added document_language parameter
12247 (update): removed unneeded language parameter
12249 * paragraph.C (validate): fixed wrong output of color-package when
12250 using interface colors for certain fonts in certain environments,
12251 which should not seen as that on the final output.
12253 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
12255 * BufferView_pimpl.C:
12260 * LyXAction.C: add thesaurus support
12263 * lyxfind.C: add "once" parameter, for thesaurus, to not
12264 move to the next match
12266 2001-07-26 Juergen Vigna <jug@sad.it>
12268 * lyxfont.C (realize): honor ignore_language too!
12271 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12273 * text.C (draw): one place more for ignore_language to not draw
12276 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
12278 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12280 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12282 * buffer.C (parseSingleLyXformat2Token): a more general fix for
12283 the minipage conversion problem.
12285 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12287 * buffer.C (parseSingleLyXformat2Token): check minipage if we
12290 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12292 * BufferView.h: don't forward declare WorkArea
12294 * BufferView.C: don't include WorkArea.h
12296 2001-07-25 André Pönitz <poenitz@gmx.net>
12300 * lyxfunc.C: new LFUN 'math-space'
12302 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12304 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12306 * text2.C (toggleInset): call open/close
12308 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12310 * lyxfunc.C (dispatch): add debug for the disabled case
12312 * font.C (buttonText): make similar to rectText
12314 * buffer.C (readInset): comment out parsing of insetlist and
12317 * PainterBase.C (rectText): small correction
12319 * BufferView_pimpl.C: comment out insettheorem and insetlist
12320 * LyXAction.C: ditto
12321 * commandtags.h: ditto
12323 2001-07-24 Juergen Vigna <jug@sad.it>
12325 * text.C (draw): honor the ignore_language.
12327 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12329 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12331 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12334 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12336 * lyxtext.h: remove unused (and unimplemented) methods
12338 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12340 * text.C (getVisibleRow): honor background color
12343 * Painter.h: remove default color argument for fillRectangle
12345 * text.C (backgroundColor): new method
12347 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12349 * text.C (getVisibleRow): adjust
12351 * font.[Ch] (rectText): new method, metrics
12352 (buttonText): new method, metrics
12354 * PainterBase.[hC]: make rectText and buttonText always draw and take
12357 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12359 * ToolbarDefaults.C (read):
12360 * MenuBackend.C (read): allow escaping in all strings
12362 * BufferView_pimpl.C (insertAndEditInset): new method.
12363 (Dispatch): use insertAndEditInset whenever appropriate.
12365 * BufferView_pimpl.C (insertNote): removed
12367 * BufferView_pimpl.C (smartQuote): new method, moved from
12368 BufferView; if an insetquote cannot be inserted, insert a '"'
12371 * BufferView2.C: remove insertCorrectQuote();
12373 * lyxfunc.C (getStatus): Add support for all remaingin
12374 inset-insert lfuns.
12376 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12378 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12379 command (necessary to pass " as parameter of self-insert.
12381 * text.C (selectWordWhenUnderCursor):
12382 (selectWord): add word_location parameter
12383 (selectWordWhenUnderCursor): same + remove special code for word
12385 (selectNextWord): use kind() to guess type of insetspecialchar,
12388 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12389 (insertErtContents): create ert insets as collapsed.
12390 (readInset): better compatibility code for Info inset.
12392 2001-07-20 Juergen Vigna <jug@sad.it>
12394 * lyxfunc.C (dispatch): use always LyXFind now!
12396 * text2.C (init): add a reinit flag so that the LyXText can be
12397 reinited instead of deleted and reallocated (used in InsetText).
12399 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12405 2001-07-18 Juergen Vigna <jug@sad.it>
12407 * text.C (selectNextWord): handle insets inside inset by calling
12408 always the bv->text functions so that we can go up the_locking_inset!
12410 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12411 in strange locations when inside an inset!
12413 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12414 handling to include insets.
12416 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12418 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12420 * LyXAction.C (init):
12422 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12423 LIGATURE_BREAK, since the name is so stupid.
12425 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12427 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12430 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12432 * sp_form.[Ch]: remove.
12434 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12436 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12439 * src/buffer.C (readInset): ditto.
12441 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12443 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12444 menuSeparator(), endOfSentenceDot(), ldots() and
12445 hyphenationPoint(), which are therefore removed.
12446 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12448 * LyXAction.C (init):
12449 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12451 * paragraph.C (getWord): removed.
12453 * BufferView_pimpl.C (Dispatch): use last word or selection for
12454 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12456 * lyx_main.C (queryUserLyXDir): do not ask before creating
12457 user_dir, except if it has been named explicitely.
12459 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12461 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12462 a document of zero size.
12464 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12466 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12467 approriately in the c-tor and in require().
12468 (getPackages): output the appropriate LaTeX for natbib support.
12470 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12471 variables "use_natbib" and "use_numerical_citations" when reading the
12473 (readInset): read the various natbib cite commands.
12474 (validate): white-space change.
12476 * bufferparams.[Ch]: new variables "bool use_natbib" and
12477 "bool use_numerical_citations".
12478 (writeFile): output them in the LyX file.
12480 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12482 * lyxfunc.C (getStatus): add support for all the inset insertion
12485 * text2.C (insertInset):
12486 * paragraph.C (insetAllowed):
12487 * BufferView_pimpl.C (insertInset): update to take in account the
12488 renaming of insertInsetAllowed
12490 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12492 * text2.C (getInset): new method. returns inset at cursor position.
12494 * BufferView_pimpl.C (Dispatch): changes because of this.
12496 * LyXAction.C (init): rename open-stuff to inset-toggle.
12498 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12500 * text2.C (toggleInset): renamed from openStuff; use
12503 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
12505 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12507 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12509 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
12511 * buffer.C (readLyXformat2): Add filename to the error dialog
12513 2001-07-18 Juergen Vigna <jug@sad.it>
12515 * tabular.C (GetCellNumber): put an assert here instead of the check!
12517 2001-07-17 Juergen Vigna <jug@sad.it>
12519 * BufferView_pimpl.C (toggleSelection): adapted too.
12521 * text.C (selectNextWord): adapted for use with insets.
12522 (selectSelectedWord): ditto
12524 2001-07-17 Juergen Vigna <jug@sad.it>
12526 * sp_spell.C (PSpell): fix initialitation order.
12528 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12530 * paragraph.C: spacing
12532 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
12534 * sp_spell.C: repair language selection for pspell
12536 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12538 * lyxfunc.h: change more methods to begin with lower char.
12540 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
12542 * buffer.C (parseSingleLyXformat2Token): Generate error insets
12543 for unknown layouts.
12545 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
12547 * buffer.C (readLyXformat2): Generate an error dialog if there are
12550 2001-07-16 Juergen Vigna <jug@sad.it>
12552 * sp_spell.C: always compile ISpell part.
12554 * lyxrc.C: added use_pspell entry and it's handling.
12556 2001-07-13 Juergen Vigna <jug@sad.it>
12558 * sp_spell.C: removed double includes.
12560 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
12562 Consistent use of Lsstream.h:
12563 * Lsstream.h: added using std::stringstream for consistencies sake.
12565 * buffer.C: removed using std::stringstream
12567 * lyxfont.C (stateText):
12568 * paragraph.C (asString):
12569 * text.C (selectNextWord, selectSelectedWord):
12570 * text2.C (setCounter):
12571 * vspace.C (asString, asLatexString):
12572 std::ostringstream -> ostringstream.
12574 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12576 * LyXAction.C: add LFUN_HELP_ABOUTLYX
12577 * commandtags.h: add LFUN_HELP_ABOUTLYX
12578 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12580 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12582 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12584 * lyx_gui_misc.C: remove spellchecker
12585 * lyxfunc.C: showSpellchecker
12587 * sp_ispell.h: added
12588 * sp_pspell.h: added
12589 * sp_spell.C: added
12590 * sp_form.[Ch]: removed
12591 * spellchecker.[Ch]: removed
12593 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
12595 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12597 (simpleTeXSpecialChars): Simply print the input character without
12598 any special translation if pass_thru is set.
12600 * layout.h: Added bool pass_thru to layout class for being able to
12601 implement pass through of a paragraph for Literate Programming.
12603 * layout.C: add LT_PASS_THRU to LayoutTags enum.
12604 * layout.C (LyXLayout): set pass_thru to flase in constructor.
12605 * layout.C (Read): add "passthru" to list of layout tags and add
12606 code to set the pass_thru boolean when it is read.
12608 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12610 * trans_decl.h: remove allowed from KmodInfo
12612 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12613 remove allowed code
12616 * paragraph_pimpl.C (erase): use boost::prior
12618 * Painter.C (text): use data() instead of c_str() when length is
12620 * WorkArea.C (putClipboard): ditto
12621 * font.h (width): ditto
12623 * BufferView2.C: use it-> instead of (*it). for iterators
12625 * paragraph_pimpl.C: ditto
12626 * paragraph.C: ditto
12627 * minibuffer.C: ditto
12628 * language.C: ditto
12630 * encoding.C: ditto
12631 * counters.C: ditto
12632 * converter.C: ditto
12634 * Variables.C: ditto
12635 * TextCache.C: ditto
12636 * MenuBackend.C: ditto
12637 * LyXAction.C: ditto
12639 * FloatList.C: ditto
12640 * DepTable.C: ditto
12641 * ColorHandler.C (LyXColorHandler): ditto
12643 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12645 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12647 * text2.C (openStuff): reintroduce this method (which had been
12648 nuked in NEW_INSETS frenzy).
12650 * lyxfunc.C (Dispatch): when an action has not been handled, use
12651 its name in the error message, not its number.
12653 * paragraph.C (inInset): change method name to begin with lowercase.
12656 * text2.C: updates because of this.
12658 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12660 * ToolbarDefaults.C (add): add spaces in error message
12662 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12664 * buffer.C (readLyXformat2): initialize the ert comp. variables.
12665 (readLyXformat2): rename return_par to first_par, use lyxlex's
12666 pushToken and remove the manual push handling.
12667 (parseSingleLyXformat2Token): add another ert comp. variable:
12668 in_tabular, rename return_par to first_par. handle newlines better
12670 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12672 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12674 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12676 * text2.C (getParFromID): removed
12678 * buffer.C (getParFromID): new method moved form lyxtext.
12679 * BufferView2.C (insertErrors): adjust
12680 (setCursorFromRow): adjust
12681 * BufferView_pimpl.C (restorePosition): adjust
12682 * lyxfunc.C (Dispatch): adjust
12683 * undo_funcs.C (textUndo): adjust
12685 (textHandleUndo): adjust
12686 (textHandleUndo): adjust
12688 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12690 * buffer.C: up' the LYX_FORMAT
12692 * lyxfont.h: turn NO_LATEX on as default
12694 * buffer.C (insertErtContents): new methods of tex style compability.
12695 (parseSingleLyXformat2Token): use it several places.
12696 * tabular.C (OldFormatRead): and here
12698 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12700 * text2.C: remove some commented code.
12703 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12704 * trans.C: changes because of the above.
12706 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
12708 * text2.C (setCounter): Fix counters bug with bibliography layout.
12710 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12712 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12713 own member functions
12714 (simpleTeXSpecialChars): ditto
12716 2001-07-06 Juergen Vigna <jug@sad.it>
12718 * a lot of files: changed the access to LyXText::status and the
12719 call of undo-functions.
12721 * undo.[Ch]: added a inset_id to the undo informations.
12723 * undo_funcs.[Ch]: added and moved here all undo functions.
12725 * lyxtext.h: give the status enum a weight, made status_ a private
12726 variable and made accessor functions for it, removed the whole bunch
12727 of undo-functions as they are now in their own file, make some
12728 functions publically available. Added function ownerParagraph with
12731 * paragraph.[Ch]: added "bool same_ids" to the constructor,
12732 made InInset() a const function, added getParFromID() function.
12734 * buffer.[Ch]: added const version for inset_iterator functions,
12735 added getInsetFromID() function.
12737 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12738 changed undo functions for new version.
12740 2001-07-05 Juergen Vigna <jug@sad.it>
12742 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12743 unknow mechanism does not call the proper constructor but only this
12744 one also if I request the other!?
12746 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12748 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12750 * text2.C (LyXText): use initialization lists.
12752 * lyxtext.h (Selection): initialize set_ and mark_
12753 (init): remove method
12755 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
12757 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12759 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12761 * screen.[Ch]: change method names to begin with lowercase
12763 * BufferView_pimpl.C (updateScrollbar): simplify further and
12764 hopefully make it a bit faster.
12766 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12768 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12769 calling directly xforms functions.
12771 * Painter.C (Painter):
12772 * lyx_cb.C (MenuWrite):
12773 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12776 * lyx_gui.C: remove bogus guiruntime extern declaration.
12778 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12780 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12782 (redoDrawingOfParagraph): ditto
12783 (redoParagraphs): ditto
12784 (cutSelection): don't create a object for CutAndPaste use the
12785 static method directly
12786 (pasteSelection): ditto
12788 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12791 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12793 * modifications to some other files because of this.
12795 * Makefile.am (lyx_SOURCES): add XFormsView
12797 * XFormsView.[Ch]: new files
12799 * LyXView.[Ch]: make LyXView a base class for the gui handling for
12800 the main window. Move the gui dependent stuff to XFormsView
12802 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12804 * tabular.C (GetCellInset): update cur_cell also in the row/col
12805 version of this function.
12807 * lyxfunc.C: no need to include figure_form.h here.
12813 * lyxvc.C: no need to include forms.h here.
12815 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12817 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12819 * lyxfunc.C (Dispatch):
12821 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12822 constructor argument.
12824 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12826 * paragraph.C (Paragraph): dont't clear, and just set layout.
12827 (makeSameLayout): use params's copy contructor.
12829 * ParagraphParameters.[Ch] (makeSame): delete method
12831 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
12833 * Variables.[Ch]: fix indentation, rename set to isSet
12835 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12837 * lyxfunc.C (Dispatch): fix typo
12839 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12841 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12844 * bufferlist.C: include assert.h for emergencyWrite().
12846 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12848 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12849 give up at last (bug #425202) !
12851 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
12857 * spellchecker.C: strip spellchecker options and bring up
12858 preferences tab instead
12860 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12862 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12863 the istringstream constructor
12865 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12867 * paragraph.C (getLayout): fix return value
12869 * paragraph.h: do not declare getLayout as inline.
12871 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12873 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12875 * lyxcursor.h (operator<): new func
12876 (operator>): new func
12877 (operator>=): new func
12878 (operator<=): new func
12880 * text.C (changeCase): use selection.start and selection.end
12881 (changeRegionCase): require from to be <= to. Require par to be a
12884 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12886 2001-06-27 Juergen Vigna <jug@sad.it>
12888 * text.C (cursorLeftOneWord): changed to return the cursor and added
12889 overlay with BufferView * parameter which calls this one.
12891 (selectWord): use new getWord function.
12892 (changeCase): renamed from changeWordCase as and extended to work
12893 also on selections.
12895 * lyxtext.h: added enum word_location
12897 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12898 changeCase as this operates now also on selections.
12900 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
12902 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12904 * many files: send debug output to Debug::INFO instead of
12907 * converter.C (View):
12909 (Move): send debug output to Debug::FILES instead of console.
12911 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
12913 * lyxfunc.C (getStatus): use func_status
12915 * func_status.h: new header, describing the results of
12916 LyXFunc::getStatus;
12918 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12921 2001-06-25 The LyX Project <jug@sad.it>
12923 * buffer.C (sgmlOpenTag):
12925 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
12927 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12929 * text2.C: remove some dead code
12931 * tabular.C (GetCellInset): store the last cell checked (gotten)
12933 * tabular.h: add the helper for the speedup
12935 * lyxtext.h: remove some dead code
12937 2001-06-26 The LyX Project <Asger>
12939 * paragraph.C: Change export to LaTeX of alignment to
12940 \begin{center} and family for better roundtrip work with reLyX.
12942 * Tune the math drawing a bit.
12944 2001-06-25 The LyX Project <Asger>
12946 * LColor.C (LColor): New color for math background. New color
12949 2001-06-25 The LyX Project <jug@sad.it>
12951 * lyxfunc.C (MenuNew): remove extra check for .lyx file
12953 * lyxfunc.C (Open):
12954 * bufferlist.C (newFile): do not restrict to files ending with
12957 * BufferView_pimpl.C (MenuInsertLyXFile):
12959 2001-06-24 The LyX Project <jug@sad.it>
12961 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12964 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12966 * lyxtext.h: rename most methods to begin with a small char.
12967 Lots of changes because of this.
12969 * paragraph.C (Paragraph): do not call fitToSize
12970 (erase): call Pimpl::erase
12971 (insertChar): call Pimpl::insertChar
12972 (insertInset): call Pipl::insertInset
12973 (breakParagraph): do not call fitToSize
12974 (breakParagraphConservative): do not call fitToSize
12975 (fitToSize): remove method
12977 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12979 2001-06-24 The LyX Project <Asger>
12981 * Fix Qt compilation^2
12983 2001-06-24 The LyX Project <jug@sad.it>
12985 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12986 depthHook(getDepth()-1).
12989 * ParagraphParameters.h:
12990 * ParameterStruct.h: change type of depth to unsigned int ==
12991 depth_type. Many adaptations to other files before of that.
12993 2001-06-24 The LyX Project <Asger>
12995 * Fix Qt compilation.
12997 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12999 * paragraph.h: renamed several methods to begin with small letter.
13000 several changes to many parts of the code because of this.
13002 2001-06-23 The LyX Project <jug@sad.it>
13004 * text2.C (InsertStringAsLines): renamed from InsertStringA;
13005 rewritten to discard all double spaces when KeepEmpty is off
13006 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13007 to only handle newlines but not fiddle with spaces and friends.
13009 * lyxfunc.C (MenuNew): when doing 'new from template', use
13010 template_path as default directory
13012 2001-06-23 The LyX Project <Asger>
13014 * Clean-up of header file includes all over
13015 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13017 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13019 * paragraph.h: renamed from lyxparagraph.h
13021 2001-06-23 Asger <lyx@violet.home.sad.it>
13023 * Buffer.h: Removed Buffer::resize
13024 * BufferList.h: Removed BufferList::resize
13025 * LyXView.h: Added LyXView::resize. This way, we will only reflow
13026 the document lazily when we change the width, or the font settings.
13028 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13030 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13032 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13034 * buffer.h: remove out of date comment
13036 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13039 * screen.C: fix "theoretical" GC leak
13041 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13043 * LaTeX.C (scanAuxFile):
13044 (deplog): remove trailing \r when reading stream (useful under
13047 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
13049 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13050 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13051 and BufferView::theLockingInset(Inset*), so should use them and not
13052 access bv_->text->the_locking_inset directly.
13054 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13056 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13059 * tex-defs.h: remove old unused file
13061 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
13063 * BufferView_pimpl.C: fix typo, remove minibuffer message
13064 when buffer has loaded
13066 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13068 * lyxfunc.C (Dispatch): use stringstream
13069 (MenuNew): use stringstream
13070 (Open): use stringstream
13072 * importer.C (Import): use stringstream
13074 * bufferview_funcs.C (CurrentState): use stringstream
13076 * LaTeX.C (run): use stringstream
13078 * BufferView_pimpl.C (savePosition): use stringstream
13079 (restorePosition): use stringstream
13080 (MenuInsertLyXFile): use stringstream
13082 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
13095 * vspace.C: removed // -*- C++ -*- as first line.
13098 * version.h: added // -*- C++ -*- as first line.
13100 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13102 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13104 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13107 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13109 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13112 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13114 * gettext.C: include LString.h even when --disable-nls is on.
13116 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
13118 * converter.h (Get): changed argument type from int to
13119 FormatList::size_type to avoid unnecessary conversion.
13121 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13124 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13126 * gettext.h: include LString.h even when --disable-nls is on.
13128 2001-06-07 Juergen Vigna <jug@sad.it>
13130 * text.C (BreakAgain): subst spaces with tabs.
13132 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13133 (resizeInsetsLyXText): set force on resizeLyXText.
13135 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13137 * gettext.h (gettext_init):
13138 (locale_init): use a real definition instead of a macro
13140 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13142 * Bufferview_pimpl.C:
13144 * LColor.C: further lcolor tidies
13146 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13148 * BufferView_pimpl.C (updateScrollbar): simplify.
13150 * BufferView2.C: don't include insets/insetinfo.h, change
13151 prototype for insertInset and call the Pimpl version. let
13152 updateInset call Pimpl version.
13154 * BufferView.h: move inset_slept to BufferView::Pimpl, move
13155 gotoInset to BufferView::Pimpl
13157 2001-06-01 Juergen Vigna <jug@sad.it>
13159 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13160 inside a LockingInset (is the update needed at all?).
13162 2001-05-31 Juergen Vigna <jug@sad.it>
13164 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13165 here not the old one otherwise how should we compare it afterwards
13168 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13173 * FontInfo.C: bring C functions into global namespace when
13176 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13178 * LString.h: make sure config.h has been loaded before LString.h.
13180 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13181 (one for each char read by EatLine!).
13183 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13186 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13188 * paragraph.C (BreakParagraph): set the inset_owner in the new par
13189 to the same as the par we break from
13191 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
13193 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13195 * MenuBackend.C (expand): also create menu entries for wide
13196 versions of the floats.
13198 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13200 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13202 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13203 frontends/Makefile.am
13209 * tabular.C (getTokenValue): add std::
13211 * tabular-old.C (getTokenValue): add std::
13212 (getTokenValue): ditto
13213 (getTokenValue): ditto
13215 * screen.C (ToggleSelection): adjust
13217 * lyxtext.h: put selection cursors inside a Selection struct.
13219 * lyxfunc.C (moveCursorUpdate): adjust
13221 * lyxfont.C (latexWriteStartChanges): add std::
13223 * lyxfind.C: adjust
13225 * font.h: delete with(char const *, LyXFont const &)
13227 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13229 * FontInfo.C (getFontname): add std::
13231 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13232 (workAreaButtonPress): adjust
13233 (tripleClick): adjust
13235 (moveCursorUpdate): adjust
13238 * BufferView2.C (gotoInset): adjust
13240 2001-05-30 Juergen Vigna <jug@sad.it>
13242 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13243 to check pspell I add this as default as I now have new pspell
13244 libraries and they seem to use this.
13246 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13248 * text2.C (CutSelection): make the cursor valid before the call to
13251 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13253 * kbsequence.C (parse): de-uglify a bit the parsing code, which
13254 relied on 0 terminated strings and other horrors. Bug found due to
13255 the new assert in lyxstring!
13257 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13260 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13262 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13265 * lyxfunc.C (processKeySym): change method of getting to the
13268 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13269 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13270 * BufferView_pimpl.[Ch]: here as private methods.
13272 2001-05-28 Juergen Vigna <jug@sad.it>
13274 * text.C (SetHeightOfRow): added the update() call again as it is
13275 needed to initialize inset dimensions!
13277 2001-05-16 Juergen Vigna <jug@sad.it>
13279 * text2.C (SetCharFont): Add new function with BufferView * and
13280 bool toggleall parameters for setting insets internal fonts.
13281 (SetFont): Freeze the undo as we may change fonts in Insets and
13282 all this change should be inside only one Undo!
13284 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13285 setting font's in insets as for them we have the SetFont function!
13287 2001-05-15 Juergen Vigna <jug@sad.it>
13289 * text2.C (ClearSelection): to be sure we REALLY don't have any
13292 * tabular.C (TeXCellPreamble): fixed the left border problem for
13295 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
13297 * LaTeX.C (deplog): Make sure that the main .tex file is in the
13300 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13302 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13303 LFUN_BREAKPARAGRAPH.
13305 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13306 help test to "internal only", similar for LFUN_INSERT_URL
13308 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13309 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13310 auto_region_delete and deadkeys.
13312 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
13315 * LColor.C: remove some dead entries, tidy a little
13317 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13319 * lyxfunc.C (processKeySym): comment the Escape handling, remove
13321 (Dispatch): implement LFUN_ESCAPE
13323 * commandtags.h: add LFUN_ESCAPE
13325 * LyXAction.C (init): add entry for LFUN_ESCAPE
13327 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13328 Remove commented code.
13329 (insertNote): moved here
13330 (open_new_inset): moved here
13332 * BufferView[2].[Ch]: move insertNote and open_new_inset to
13335 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13337 * kbmap.C (findbinding): clean it up and make it work correctly.
13339 * lyx_main.C (init): do not pass argc and argv as parameters
13341 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
13343 * buffer.C: fix path for OS/2 & Win32
13347 * lyx_main.C: Added os:: class.
13349 * os2_defines.h: update
13351 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13353 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13354 better by trying again with reduced state.
13356 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13358 * lyxrc.C (read): print error about invalid key sequence only when
13359 debugging (because not all latinX keysyms are known to some X
13362 * kbsequence.C (getiso): add a few std:: qualifiers
13363 (getiso): comment out extra return statement.
13365 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
13367 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13369 (Dispatch): enhance the accent inset a bit. (not perfect)
13371 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13373 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13375 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13377 * bufferlist.C (emergencyWrite): fix assert() call
13379 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
13381 * text.C (InsertChar): Added trivial patch to only send the "you
13382 can not do multiple spaces this way" message once during a
13385 2001-05-08 Baruch Even <baruch@lyx.org>
13387 * Makefile.am: Changed order of libraries to get LyX to link properly
13388 with the gnome frontend.
13390 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13392 * LaTeXFeatures.h: add a std:: qualifier
13394 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13396 * paragraph.C (String): use stringstream
13398 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13400 * paragraph.C (writeFile): remove footflag arg
13402 * buffer.C (makeLaTeXFile): use stringstream
13403 (latexParagraphs): remove footnot gurba
13405 * LaTeXFeatures.C (getPackages): use stringstream
13406 (getMacros): likewise
13407 (getTClassPreamble): likewise
13408 (getFloatDefinitions): new method
13410 * paragraph.C (writeFile): reindent
13413 * WorkArea.h: revert the xpos + etc changes.
13415 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13417 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13419 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13420 (pasteSelection): likewise
13421 * text2.C (CreateUndo): likewise
13423 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13425 * minibuffer.C (peek_event): temporarily reduce the functionality
13426 of the minibuffer (to allow args on lfuns)
13428 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13429 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13431 * buffer.C (readInset): add compability reading of old float
13432 lists, add reading of new style float list.
13433 (readInset): avoid reevaluation of inscmd.getCmdName()
13434 (getLists): reindent
13436 * MenuBackend.C (MenuItem): implement parsing of
13437 md_floatlistinsert and md_floatinsert.
13438 (expand::LastFiles): move initalizaton of iterators out of loop,
13439 avoid reevaluation.
13440 (expand::Documents): introduce typdedef vector<string> Strings,
13442 (expand::ExportFormats): introduce typedef vector<Format const *>
13443 Formats, and use it.
13444 (expand): implement FloatListInsert and FloatInsert.
13446 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13447 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13448 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13450 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13452 (Dispatch::LFUN_FLOAT_LIST): implement
13454 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13456 * LaTeX.C (run): Fix problem with --export code.
13458 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13460 * BufferView.[Ch] (workarea): removed.
13461 (getClipboard) new method; wrapper for workarea()->getClipboard()
13463 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13466 * WorkArea.h (width, height, xpos, ypos): These methods all
13467 returned the dimensions of the work_area sub-area of WorkArea,
13468 resulting in a position error if the WorkArea were resized. Now
13469 return the dimensions of the entire WorkArea.
13471 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13473 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13475 * LaTeX.C (deplog): correct the syntax of regex reg1
13477 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13479 * undo.C: remove !NEW_INSETS cruft
13481 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13483 * text2.C: remove !NEW_INSETS cruft
13485 * text.C: remove !NEW_INSETS cruft
13487 * tabular.C: remove !NEW_INSETS cruft
13489 * spellchecker.C: remove !NEW_INSETS cruft
13491 * lyxtext.h: remove !NEW_INSETS cruft
13493 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13495 * lyxfunc.C: remove !NEW_INSETS cruft
13497 * lyxfind.C: remove !NEW_INSETS cruft
13499 * lyx_cb.C: remove !NEW_INSETS cruft
13501 * figureForm.C: remove !NEW_INSETS cruft
13503 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13505 * buffer.[Ch]: remove !NEW_INSETS cruft
13507 * ToolbarDefaults.C: remove !NEW_INSETS cruft
13509 * CutAndPaste.C: remove !NEW_INSETS cruft
13511 * BufferView_pimpl.C: remove !NEW_INSETS cruft
13513 * BufferView2.C: remove !NEW_INSETS cruft
13515 * BufferView.h: remove !NEW_INSETS cruft
13517 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13519 * Lsstream.h: include LString.h before the sstream headers to
13520 fix problem with gcc 2.95.3 and lyxstring
13522 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13524 * lyx_main.C: add using directives when needed for C functions
13525 declared in std:: namespace.
13527 2001-04-27 Juergen Vigna <jug@sad.it>
13529 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13530 (SetHeightOfRow): comment out the update call should not be needed!
13532 2001-04-13 Juergen Vigna <jug@sad.it>
13534 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13535 (LyXTabular): tried to minimize operator= operations (and realized
13536 hopfully Lars wish).
13538 2001-04-27 Juergen Vigna <jug@sad.it>
13540 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13542 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13544 * lyxfunc.C (Dispatch): hack to make listof algorithm work
13546 * buffer.C (readInset): hack to make listof algorithm work
13548 * BufferView_pimpl.C: hack to make listof algorithm work
13550 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13552 * LyXAction.C: removed all !NEW_INSETS cruft
13553 (init): moved lfun_item in method
13555 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13557 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13559 * BufferView2.C (theLockingInset): white space.
13561 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13563 * minibuffer.C: include <iostream>
13565 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13567 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13569 * commandtags.h: add LFUN_TRANSPOSE_CHARS
13571 * text.[Ch] (TransposeChars): new method
13573 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13575 * call message directly through LyXView instead of through LyXFunc
13576 * BufferView2.C: adjust
13577 * BufferView_pimpl.C: adjust
13578 * FontLoader.C: adjust
13580 * bufferview_funcs.C: adjust
13581 * converter.C: adjust
13582 * figureForm.C: adjust
13583 * importer.C: adjust
13585 * lyx_gui_misc.C: adjust
13586 * lyxfunc.C: adjust
13589 + more files in subdirs
13591 * lyxparagraph.h (size): move up int file
13594 * adjust all uses of Assert to lyx::Assert.
13596 * BufferView2.C (ChangeCitationsIfUnique): adjust for
13597 lyxfunctional in namespace lyx
13598 * layout.C (hasLayout): ditto
13601 (delete_layout): ditto
13602 (NumberOfClass): ditto
13603 * converter.C (GetFormat): ditto
13608 * bufferlist.C (getFileNames): ditto
13609 (emergencyWriteAll): ditto
13612 * MenuBackend.C (hasSubmenu): ditto
13615 * BufferView_pimpl.C (getInsetByCode): ditto
13617 2001-04-18 Juergen Vigna <jug@sad.it>
13619 * vspace.C (asLatexString): fixed the 100% problem.
13621 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13623 * lyxfunc.C (Dispatch):
13625 * minibuffer.h: add a few std:: qualifiers
13627 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13629 * minibuffer.[Ch]: reimplement so that commands is initiated and
13630 run from lyxfunc, simplified som handling, and made the completion
13631 and history code for complete. wip.
13633 * lyxfunc.C (processKeySym): call message
13634 (miniDispatch): new temporary method
13635 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13636 (LFUN_MESSAGE): implement
13637 (LFUN_MESSAGE_PUSH): implement
13638 (LFUN_MESSAGE_POP): implement
13639 (initMiniBuffer): the initial/defualt minibuffer message.
13641 * lyxfont.[Ch]: inline some more getters
13643 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13645 * lyx_gui_misc.[Ch] (WriteStatus): remove method
13647 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13648 (AutoSave): use LFUN_MESSAGE
13649 (Reconfigure): ditto
13651 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13653 * figureForm.C: use LFUN_MESSAGE
13655 * converter.C (runLaTeX): use LFUN_MESSAGE
13657 * bufferview_funcs.C: use LFUN_MESSAGE
13659 (changeDepth): ditto
13661 * bufferparams.h: use boost::
13663 * bufferlist.h: inherit privately from noncopyable
13665 * bufferlist.C (loadLyXFile): remove some commented code.
13667 * buffer.C (runChktex): use LFUN_MESSAGE
13669 * ShareContainer.h: inherit privately from noncopyable
13671 * ParagraphParameters.[hC] (depth): inline it.
13673 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13675 (message): new method
13676 (messagePush): ditto
13677 (messagePop): ditto
13678 (show): init minibuffer
13679 (showState): direct call
13681 * LaTeX.[Ch]: inherit privately from noncopyable
13682 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13683 instead of WriteStatus.
13685 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13687 * BufferView_pimpl.C (buffer): don't init minibuffer
13688 (workAreaButtonPress): use LFUN_MESSAGE
13689 (workAreaButtonRelease): ditto
13690 (savePosition): ditto
13691 (restorePosition): ditto
13692 (MenuInsertLyXFile): ditto
13693 (workAreaExpose): don't init minibuffer
13694 (update): remove commented code, simplify
13696 * BufferView2.C (openStuff): use LFUN_MESSAGE
13697 (toggleFloat): ditto
13700 (copyEnvironment): ditto
13701 (pasteEnvironment): ditto
13706 (updateInset): remove some commented code
13708 * lastfiles.h: inherit privately from noncopyable
13711 * lyx_main.h: ditto
13713 * lyxlex_pimpl.h: ditto
13715 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13716 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13717 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13719 * LyXAction.h: inherit privately from noncopyable, add methods
13720 func_begin, func_end, returning iterators to the func map.
13722 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13723 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13724 (func_begin): new method
13725 (func_end): new method
13727 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13729 (copySelection): ditto
13730 (pasteSelection): ditto
13732 * BufferView.C: whitespace change
13733 * BufferView.h: inherit privately from noncopyable
13735 2001-04-16 Allan Rae <rae@lyx.org>
13737 * tabular-old.C (l_getline):
13738 * spellchecker.C (sc_check_word):
13739 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13740 an unrecognised preprocessor directive. So ensure they're wrapped.
13742 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
13744 * src/exporter.C (Export): Give an error message when path to file
13747 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
13749 * LaTeX.C (deplog): Always check that foundfile exists.
13751 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13754 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13756 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13758 * tabular.[Ch] (getLabelList): implement new method
13760 * minibuffer.h: comment ouf setTiimer
13762 * minibuffer.C (ExecutingCB): constify res
13763 (peek_event): constify s
13764 (Set): constify ntext
13765 (Init): constify nicename
13767 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13769 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13770 (savePosition): use two params to Minibuffer::Set
13771 (restorePosition): ditto
13773 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13775 * lyx_main.C: include language.h
13777 * Makefile.am (lyx_main.o): add language.h
13779 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13785 * CutAndPaste.C: include gettext.h
13787 * lyxfont.h: remove old hack with ON and OFF.
13790 * lyxfont.h: do not include language.h...
13795 * bufferview_funcs.C:
13801 * paragraph.C: ... but do it here instead
13803 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13805 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13807 * tabular.C: small reformat
13809 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13812 (BreakParagraph): ditto
13813 (SetOnlyLayout): ditto
13816 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13819 * lastfiles.C: removed most using decl, add std:: where needed
13821 * buffer.C: ws changes
13823 * MenuBackend.C (class compare_format): put into anon namespace
13824 (expand): constify label, names, action, action2
13827 * text.C (SingleWidth): constify font
13828 (IsBoundary): constify rtl2
13829 (GetVisibleRow): constify ww
13831 * LaTeX.C (deplog): constify logfile
13833 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13835 (workAreaExpose): constify widthChange, heightChange
13837 * lyxrow.C (par): moved
13840 * lyxrow.h: as inlines here
13842 * lyxfont.h (shape): moved from lyxfont.C
13843 (emph): moved from lyxfont.C
13845 * lyxfont.C (LyXFont): use initialization list for all
13847 (shape): move to lyxfont.h as inline
13848 (emph): move to lyxfont.h as inline
13851 2001-04-04 Juergen Vigna <jug@sad.it>
13853 * vspace.C: had to include stdio.h for use of sscanf
13855 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
13858 * BufferView_pimpl.h: remove xforms cruft. Both classes are
13859 independent of xforms.
13861 2001-04-02 Juergen Vigna <jug@sad.it>
13863 * spellchecker.C: fixed namespace placing!
13865 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
13867 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13868 the LyXParagraph * is 0.
13870 2001-03-29 Juergen Vigna <jug@sad.it>
13872 * vspace.C: added support for %, c%, p%, l%.
13873 (stringFromUnit): added helper function.
13874 (asLatexString): changed to give right results for the %-values.
13876 * buffer.C: convert the widthp in a width%.
13878 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
13880 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13883 * figureForm.[Ch]: stripped the FD_from_figure manipulation
13884 code out of lux_cb.[Ch], ready for its (imminent?) removal.
13886 * lyx_cb.[Ch]: see above.
13888 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13892 * lyx.[Ch]: replaced by figure_form.[Ch].
13896 * lyxfunc.C: changed headers associated with above changes.
13898 2001-03-27 Juergen Vigna <jug@sad.it>
13900 * BufferView_pimpl.C: set the temporary cursor right!
13902 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
13904 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13906 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
13908 * LString.h: removed "using std::getline"!
13910 * BufferView_pimpl.C (Dispatch): changes due to changes in
13911 InsetInclude::Params.
13913 * buffer.C (tag_name): removed redundant break statements as they were
13914 producing lots of warnings with my compiler.
13916 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13918 * LString.h: add "using std::getline" when using the real <string>.
13920 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
13922 * buffer.C: removed bitset usage.
13923 PAR_TAG moved to an anonymous name space.
13924 (tag_name): new funtion, also in the anonymous namespace.
13925 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13926 (makeDocBookFile): clean code. Completed transition from string arrays
13928 (SimpleDocBookOnePar): code clean.
13930 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13932 * tabular.C: add some comments.
13934 2001-03-22 Juergen Vigna <jug@sad.it>
13936 * buffer.C (parseSingleLyXformat2Token): redone the minipage
13937 compatibility read a bit and fixed bug with minipage in different
13940 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
13942 * buffer.C (pop_tag): removed.
13943 (push_tag): removed.
13944 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13945 array replaced with vector. Added support for CDATA sections.
13946 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13948 (makeDocBookFile): XML conformant declaration of CDATA section,
13949 fixed bug related to <emphasis> in the first paragraph char.
13950 (sgmlOpenTag): exclude empty tags.
13951 (sgmlCloseTag): ditto.
13953 * buffer.h (pop_tag): removed.
13954 (push_tag): removed.
13956 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
13958 * language.h (Languages): added size_type and size().
13960 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13962 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13963 response on compability reading of minipages. One probliem is that
13964 the old usage of minipages was «flertydig»
13966 * several files here and in subdirs: don't use static at file
13967 scope use anon namespaces instead.
13969 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
13971 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13972 LaTeX output. This is necessary for Literate document
13975 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13977 * buffer.C: insert hfill when needed.
13979 * tabular.C (l_getline): use string::erase, small whitespace change.
13981 * BufferView_pimpl.C: try the anon namespace.
13982 * WorkArea.C: ditto
13984 2001-03-16 Juergen Vigna <jug@sad.it>
13986 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13987 otherwise it won't open options-dialogs.
13989 * buffer.C: honor pextraWidth(p) on converting minipages.
13991 * tabular.C (l_getline): changed the functions to strip trailing \r.
13993 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
13995 * BufferView_pimpl.C:
13996 * minibuffer..C: added "using SigC::slot" declaration.
13998 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14000 * lyxlex_pimpl.h: noncopyable is in namespace boost.
14006 * paragraph.C: ditto
14008 * lyxtext.h: NO_PEXTRA
14010 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14012 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14013 * ParameterStruct.h: ditto
14014 * ParagraphParameters.h: ditto
14015 * lyxparagraph.h: ditto
14017 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14019 * buffer.C: add compability for minipage alignment.
14020 (latexParagraphs): remove unwanted pextra check.
14022 * several files: remove CXX_WORKING_NAMESPACES
14024 * buffer.C (pop_tag): tie is in namespace boost
14026 * BufferView.h: noncopyable is in namespace boost
14028 * lyx_main.h: ditto
14031 * lastfiles.h: ditto
14032 * bufferlist.h: ditto
14033 * ShareContainer.h: ditto
14035 * LyXAction.h: ditto
14038 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14040 * Merging changes from BRANCH_MVC back into HEAD.
14042 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14044 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
14046 * BufferView_pimpl.C: change from intl.C
14050 * Makefile.am: move combox.*
14056 * intl.C: remove dialog (covered by prefs)
14058 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14060 * lyxfunc.C (Dispatch): removed redundant break statement.
14062 2001-03-14 Juergen Vigna <jug@sad.it>
14064 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14066 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14068 * buffer.C: add hack to fix compability reading of minipages.
14070 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
14072 * buffer.C (getLists): Cleanup.
14074 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14076 * lyxfont.C (update): don't honor toggleall on font size.
14078 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
14082 * Makefile.am: moved to frontends/xforms/
14086 * BufferView_pimpl.C: changes for moved mathpanel
14088 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14090 * gettext.h: fix gettext_init() in --disable-nls
14092 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14094 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14096 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
14099 * lyx.h: strip external form
14101 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14103 * BufferView_pimpl.C: add comment, destroySplash()
14105 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14107 * BufferView_pimpl.C:
14111 * lyxfunc.C: use re-worked insetinclude
14113 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14115 * buffer.C: add using std::stringstream.
14117 * lyx_cb.C: readd using std::ios.
14119 * buffer.C: add using std::map.
14121 * BufferView_pimpl.C: add using std::vector.
14123 * ShareContainer.h: add std:: to swap.
14125 * buffer.h: add some typedefs
14126 * buffer.C (getLists): use them
14127 (getLists): renamed from getTocList.
14128 add a counter for the different float types and use it in the
14130 (getLists): use the same counter for the NEW_INSETS and the "non"
14133 * lyx_cb.h: remove unused items, includes, using etc.
14135 * ShareContainer.h: remove some commented code, add more comments
14136 and "documentation".
14138 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14140 * buffer.C (getTocList): make the list also when NEW_INSETS is
14143 * buffer.h: remove TocType
14145 * buffer.C (getTocList): change to return a map<string,
14146 vector<TocItem> >, implement for dynamic number of list.
14148 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14149 * text2.C (PasteSelection): adjust
14150 * CutAndPaste.C (pasteSelection): adjust
14152 * FloatList.C (FloatList): update from the new_insets branch.
14153 * Floating.[Ch]: ditto
14154 * LaTeXFeatures.C: ditto
14156 * lyxlex_pimpl.C: ditto
14158 * paragraph.C (Last): remove when NEW_INSETS is defined.
14160 * other file: changes because of the above.
14162 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14164 * lyxparagraph.h: rename next to next_, previous to previous_,
14165 make them private for NEW_INSETS. Rename Next() to next(),
14166 Previous() to previous().
14168 * other files: changes because of the above.
14170 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
14173 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14176 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14178 * main.C (main): pass lyx_localedir to gettext_init().
14180 * gettext.h: remove locale_init and gettext_init macros
14182 * gettext.C (locale_init): new function
14183 (gettext_init): new function
14185 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14188 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
14190 * Moved credits to frontends:
14191 * credits.[Ch]: removed
14192 * credits_form.[Ch]: removed
14193 * lyx_gui_misc.C: remove credits stuff
14196 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14198 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14200 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14201 unneeded destructor.
14203 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14204 a standalone pointer again.
14206 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14208 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
14214 * ToolbarDefaults.C:
14223 * BufferView_pimpl.C: use new file dialog in GUII
14226 * lyx_cb.C: remove LayoutsCB to Toolbar
14228 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14230 * ShareContainer.h (get): add std:: qualifier
14232 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14234 * ShareContainer.h: define a proper ShareContainer::value_type
14235 type (and use typename to please compaq cxx)
14237 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14239 * lyxparagraph.h: move serveral local vars to
14240 ParameterStruct/ParagraphParameters., use ShareContainer in
14241 FontTable., make vars in FontTable private and add getter and
14244 * paragraph.C: changes because of the above.
14246 * lyxfont.h: remove copy constructor and copy assignment. (the
14247 default ones is ok), move number inside FontBits. move inlines to
14250 * lyxfont.C: add number to initializaton of statics, move several
14251 inlines here. constify several local vars. some whitespace
14252 cleanup. Dont hide outerscope variables.
14254 * Spacing.h: add two new constructors to match the set methods.
14256 * ShareContainer.h: new file, will perhaps be moved to support
14258 * ParameterStruct.h: new file
14260 * ParagraphParameters.h: new file
14262 * ParagraphParameters.C: new file
14264 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14265 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14267 * BufferView_pimpl.C: ParagraphParameter changes.
14268 * buffer.C: Likewise.
14269 * bufferview_funcs.C: Likewise.
14270 * text.C: Likewise.
14271 * text2.C: Likewise.
14273 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14275 * lyxfind.C (LyXReplace): do not redefine default argument in
14277 (IsStringInText): ditto
14278 (SearchForward): ditto
14279 (SearchBackward): ditto
14281 2001-03-06 Juergen Vigna <jug@sad.it>
14283 * lyxfind.C (IsStringInText): put parentes around expressions.
14285 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
14287 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14289 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
14291 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14293 * stl_string_fwd.h: add comment
14295 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14298 * tabular.C: remove unused DocBook methods
14304 killed DO_USE_DEFAULT_LANGUAGE
14306 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14308 * lyx_gui.C: do not include language.h.
14310 * bufferview_funcs.C (ToggleAndShow): do not provide optional
14311 arguments in function implementation.
14313 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14315 * BufferView_pimpl.C: add <ctime>
14317 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14319 * BufferView_pimpl.C: add using std::find_if
14321 2001-02-27 José Matos <jamatos@fep.up.pt>
14323 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14326 2001-02-11 José Matos <jamatos@fep.up.pt>
14328 * buffer.C (makeDocBookFile): command styles now have a parameter as
14329 "title" by default.
14331 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
14333 * layout_forms.[Ch]: removed
14334 * lyx_cb.[Ch]: out character
14335 * lyx_gui.C: out character
14336 * lyx_gui_misc.C: out character
14337 * bufferview_funcs.C: : out character,
14338 added toggleall as parameter in ToggleAndShow
14340 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
14342 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14344 * text2.C (SetCurrentFont): Disable number property at boundary.
14346 2001-02-26 Juergen Vigna <jug@sad.it>
14348 * lyxfunc.C (getStatus): added a string argument override function so
14349 that this is correctly called from LyXFunc::Dispatch if it contains a
14350 do_not_use_argument which is used!
14351 (Dispatch): added check for "custom" export and call appropriate func.
14353 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
14355 * lyxrc.C: Add language_command_local, language_use_babel and
14356 language_global_options.
14358 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14360 * buffer.C (makeLaTeXFile): Use language_use_babel and
14361 language_global_options.
14363 2001-02-23 Juergen Vigna <jug@sad.it>
14365 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14366 which works with LyXText and putted it inside BufferView. Here now we
14367 only call for that part the BufferView::Dispatch() function.
14369 * BufferView.C (Dispatch): added.
14371 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14372 functions which needs to use a LyXText over from LyXFunc.
14373 (MenuInsertLyXFile): added
14374 (getInsetByCode): added
14375 (moveCursorUpdate): added
14376 (static TEXT): added
14378 2001-02-22 Juergen Vigna <jug@sad.it>
14380 * BufferView_pimpl.C (update): call a status update to see if LyXText
14383 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14385 * vc-backend.C (revert): implement for CVS
14386 (getLog): implement for CVS
14388 2001-02-20 Juergen Vigna <jug@sad.it>
14390 * text2.C (ClearSelection): added BufferView param for inset_owner call
14392 * lyxfunc.C (TEXT): added this function and use it instead of
14393 directly owner->view()-text of getLyXText().
14395 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
14397 * src/layout_forms.C: out preamble
14398 * src/layout_forms.h: out preamble
14399 * src/lyx_cb.C: out preamble
14400 * src/lyx_cb.h: out preamble
14401 * src/lyx_gui.C: out preamble
14402 * src/lyx_gui_misc.C: out preamble
14403 * src/lyxfunc.C: connect with guii preamble
14405 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14407 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14409 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14411 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14412 whether to run bibtex.
14414 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14416 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14418 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14420 * Makefile.am (lyx_SOURCES): removed bibforms.h
14422 * vspace.h: doxygen
14424 * text.C (GetVisibleRow): make several local vars const
14426 * tabular.C: small cleanup.
14428 * lyxserver.C (callback): use compare instead of strncmp
14430 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14431 inlines to after class or to paragraph.C
14433 * lyxfont.h: remove friend operator!=
14435 * converter.h: move friend bool operator< to non friend and after
14438 * combox.h: small cleanup
14440 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14441 to inlines after class def.
14443 * buffer.C (pop_tag): use string operations instead of strcmp
14445 * bmtable.c: doxygen, small cleanup
14447 * LaTeX.h: remove friend operator==
14449 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14461 * BufferView_pimpl.C:
14462 * BufferView.[Ch]: remove cruft
14464 2001-02-14 Juergen Vigna <jug@sad.it>
14466 * lyxfunc.C: removed #if 0 unused code
14468 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14470 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14472 * text2.C (SetSelection): added a BufferView * parameter
14474 2001-02-13 Juergen Vigna <jug@sad.it>
14476 * lyxfunc.C (Dispatch): fixed protected blank problem.
14477 * BufferView2.C (protectedBlank): added LyxText * parameter.
14479 * tabular.C (AppendRow): forgot to set row_info of newly added row.
14480 (AppendColumn): same as above for column_info.
14482 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14483 (moveCursorUpdate): use a LyXText param for support of InsetText.
14485 * BufferView_pimpl.C (doubleClick): added support for InsetText.
14486 (tripleClick): ditto
14488 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14490 * BufferView_pimpl.C (update): added LyXText param to honor insets.
14492 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14494 * text2.C (SetSelection): set correct update status if inset_owner
14495 (ToggleFree): ditto
14497 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
14499 * tabular.C: remove some commented code.
14501 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
14503 * BufferView_pimpl.C: call hideSplash()
14505 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14508 * bibforms.h: remove
14511 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14512 add LFUN_CHILD_CREATE
14514 * counters.h: fix tiny typo
14519 * lyx.C: move splash to frontends/xforms/
14521 * lyx_gui_misc.C: move Include and Bibform to frontends
14523 * lyxvc.h: clarify comment
14525 * vspace.C: tiny housekeeping
14527 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
14529 * text.C (PrepareToPrint): RTL Fix.
14531 * paragraph.C (GetUChar): New method.
14532 (String): Use GetUChar.
14534 * buffer.C (asciiParagraph): Use GetUChar.
14536 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
14538 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14540 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
14543 * buffer.C: rename to getLogName(), handle
14544 build log / latex log nicely
14546 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14549 * MenuBackend.h: remove support for reference menuitem type.
14551 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
14553 * BufferView_pimpl.C: housekeeping
14554 * BufferView_pimpl.h:
14559 * minibuffer.h: move Timeout GUI-I
14561 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
14563 * lyxrc.C (read): Update converters data-structures.
14565 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
14567 * LaTeX.h (operator!=): add operator != for Aux_Info
14569 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
14571 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14573 * LaTeXLog.C: deleted, useful code moved to Buffer
14576 * buffer.C: new function getLatexLogName()
14582 * lyxfunc.C: use frontends for LaTeX and VC logs
14584 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14586 * LaTeX.h: yet another std:: that Allan forgot.
14588 * Variables.C (set): renamed from isset(), because this clashes
14589 with some HP-UX macros (grr).
14591 2001-02-06 Allan Rae <rae@lyx.org>
14593 * LaTeX.h: Another bug fix. Missing std:: this time.
14595 2001-02-04 Allan Rae <rae@lyx.org>
14597 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14598 floats problem. I've left it commented out because it's not quite
14599 correct. It should also test that the current object is a table or
14600 figure inset. But I haven't gotten around to figuring out how to do
14601 that. I *think* it'll be something like: "table" == inset.type()
14603 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14606 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
14608 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14609 all the citation/databases/styles in the auxilary file.
14610 (run): Rerun latex if there was a babel language error.
14612 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
14614 * text.C (Backspace): Preserve the font when changing newline char
14616 (BreakParagraph): If the cursor is before a space, delete the space.
14618 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14620 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
14622 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14623 new argument (code).
14624 (ChangeCitationsIfUnique): New method.
14626 * paragraph.C (GetPositionOfInset): Handle bibkey.
14628 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14630 * BufferView_pimpl.h: change type of Position::par_pos to
14631 LyXParagraph::size_type.
14633 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
14635 * BufferView_pimpl.C (savePosition, restorePosition): Write
14636 messages to minibuffer.
14638 2001-01-28 José Matos <jamatos@fep.up.pt>
14640 * buffer.C (makeDocBookFile): adds support for document language.
14641 A silly restriction on the name of LatexCommand types where removed.
14642 Added support for CDATA sections, allows to chars unescaped, used
14643 among others in code, to avoid escape < and >.
14645 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14647 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14648 saved positions instrad of a stack. Furthermore, a position is
14649 stored using paragraph id/paragraph position.
14651 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14652 Remove LFUN_REF_BACK.
14654 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14656 * converter.C (dvipdfm_options): New method.
14658 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
14660 * vspace.C (isValidLength): Fix for empty input string.
14662 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14664 * LyXAction.C (init): change description of LFUN_FIGURE to
14667 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14669 * LaTeX.C: add using directive
14671 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14673 * MenuBackend.C (expand): Fix the sorting of the formats.
14675 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
14677 * lyx_main.C: tiny error message fix
14679 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14681 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14682 calling fl_initialize(). This fixes the problem with ',' as
14683 decimal separator in text files.
14685 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14687 * trans.C (process): Fix the keymap bug.
14689 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
14691 * LaTeX.C (scanAuxFiles): New method. Provides support for
14692 multiple bibliographies (when using the bibtopic/bibunits pacakges).
14693 (scanLogFile) Scan for "run BibTeX" messages.
14695 * buffer.C (makeLaTeXFile): Do not load the ae package when using
14696 OT1 font encoding. Also, load the aecompl package if the ae
14699 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14701 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14703 * texrow.C (increasePos): turn two error messages into debug
14706 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
14708 * LaTeX.C (scanAux): Handle the \@input macro.
14709 (runBibTeX): Use scanAux().
14711 * language.C (latex_options_): New field.
14713 * LaTeXFeatures.C (getMacros): Add language macros.
14715 * buffer.C (makeLaTeXFile): Small fix.
14717 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14719 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14721 * text2.C: add a using directive.
14723 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
14728 * lyxfunc.C: kill LyXBell.
14730 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
14732 * text.C (IsBoundary): Remove the error message
14734 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14736 * lyxrc.C (setDefaults): Correct initialization value for
14739 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
14741 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14744 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14745 and GotoNextNote().
14747 * src/LyXAction.C: Added reference-next.
14749 * text.C (InsertChar): Use contains instead of strchr.
14751 * lyx_cb.C (MenuInsertLabel): Enable default value code.
14753 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
14755 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14756 alignment commands (when needed).
14758 * text.C (InsertChar): Add ':' to number separator chars.