1 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3 * text2.C (setCursorFromCoordinates): fix font problem
5 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
7 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
8 bogus "rebuild cursor" code
10 2004-03-11 André Pönitz <poenitz@gmx.net>
12 * buffer.[Ch]: use InsetText instead of LyXText as container for
15 * dociterator.[Ch]: drop the BufferView * member which is not needed
16 anymore after the change to buffer.C
22 * BufferView_pimpl.[Ch]:
24 * cursor_slice.[Ch]: adjust
26 * text3.C: fix bug in mathDispatch
28 2004-03-08 André Pönitz <poenitz@gmx.net>
30 * undo.[Ch]: use 'StableDocumentIterator' as base for
33 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
36 * bufferparams.[Ch]: add jurabib support and param.
38 * LaTeX.C: add FIXME/comment.
40 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
42 * buffer.C: increment file format to 230.
44 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
46 * cursor.C (dispatch): avoid infinite loops
48 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
50 * rowpainter.C (paintSelection): fix x coordinates
52 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
54 * text.C (rowBreakPoint): fix breaking before displayed insets
56 2004-03-01 André Pönitz <poenitz@gmx.net>
58 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
60 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
72 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
78 * BufferView_pimpl.C: rename textwidth -> maxwidth,
79 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
81 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
83 * Bidi.[Ch] (computeTables): const correctness
84 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
85 fill_hfill, fill_label_hfill and x from Row
86 * lyxtext.h: prepareToPrint returns a RowMetrics
87 * rowPainter.C: adjust
88 * text.C (prepareToPrint): use width, not textWidth. adjust
89 (redoParagraphInternal, cursorX): adjust
90 * text2.C (getColumnNearX): adjust
91 (init): put a default value to the top LyXText::width
93 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
95 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
97 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
99 * lyxtext.h: add FontIterator class
101 * text.C (FontIterator, operator*, operator->, operator++): add
102 (rowBreakPoint, setRowWidth): adjust (fixing a
105 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
107 * BufferView_pimpl.C (workAreaDispatch): allow also
108 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
110 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
112 * text.C (rowBreakPoint): fix a bug showing with very large insets
114 2004-02-25 André Pönitz <poenitz@gmx.net>
117 * cursor.[Ch]: move some mathed specific code to mathed
119 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
121 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
122 use_tempdir in preferences
123 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
125 * lyx_main.C: ensure that tempdir is valid
126 * lyxlex.h: correct typo
127 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
128 * paragraph.[Ch] (isMultiLingual): make const
129 * cursor.[Ch] (openable): make const
131 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
133 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
135 2004-02-20 André Pönitz <poenitz@gmx.net>
137 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
139 * cursor.[Ch]: prepare for localized getStatus()
145 * text3.C: streamlines the LyXText cursor movement handlers a bit.
147 2004-02-20 André Pönitz <poenitz@gmx.net>
149 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
151 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
153 * text2.C (setCursorFromCoordinates): switch to absolute coords
156 * text3.C (dispatch): adjust
158 2004-02-16 André Pönitz <poenitz@gmx.net>
160 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
163 * cursor_slice.[Ch]: remove unneeded acessor function
165 * lyxtext.h: rename rtl() to isRTL()
173 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
175 * rowpainter.C (paintSelection): coord fix
177 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
179 * Spacing.C: compile fix
181 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
183 * cursor.C (dispatch): restore current_ before returning
185 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
187 * text2.C (cursorUp, cursorDown): fix coords
190 2004-02-12 André Pönitz <poenitz@gmx.net>
195 * text3.C: add LCursor & parameter to most cursor movement functions
196 remove usage of LyXText::cursorRow() and cursorPar()
198 * cursor.[Ch]: add textRow() needed members
201 * BufferView_pimpl.C:
204 * BufferView_pimpl.C: adjust
206 2004-02-11 André Pönitz <poenitz@gmx.net>
210 * BufferView_pimpl.C: shift undo/redo handling
212 * cursor.[Ch]: fix mathed crash
215 * lyxtext.h: move selectionAsText to LCursor
223 * rowpainter.C: fix excessive drawing
225 2004-02-06 André Pönitz <poenitz@gmx.net>
228 * BufferView_pimpl.[Ch]:
229 * text3.C: move some text specific LFUN handling
231 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
233 * text3.C (checkInsetHit): adjust coords
234 * text2.C (getColumnNearX): adjust coords
235 (edit): adjust coords
236 * text.C (getRowNearY): add two asserts
238 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
241 * format.C: add using std::distance to compile on gcc 2.95/stlport
243 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
245 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
247 2004-02-04 André Pönitz <poenitz@gmx.net>
249 * BufferView.[Ch] (insertInset):
250 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
255 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
257 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
258 on the default clause of the switch
259 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
260 wasn't catched by LCursor::dispatch
262 2004-02-03 André Pönitz <poenitz@gmx.net>
265 * cursor.[Ch]: some additional asserts
267 * undo.[Ch]: remove LyXText dependency in interface
271 * lyxtext.h (firstPar, lastPar): remove dead functions
276 * paragraph.[Ch]: adjust
278 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
280 * lyxfind.C (find): fix argument order in call to ::find
282 2004-02-02 André Pönitz <poenitz@gmx.net>
284 * cursor.[Ch]: remove direct access to anchor
286 * text.C: remove findText() hack
288 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
290 * iterators.[Ch] (lockPath): remove in favour of...
291 * BufferView.[Ch] (setCursor): this addition
292 * BufferView.C (putSelectionAt): adjust
293 * undo.C (performUndoOrRedo): adjust
294 * lyxfunc.C (dispatch): adjust
296 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
298 * iterators.C (lockPath): add a missing slice
299 * undo.C (performUndoOrRedo): remove redundant positioning code
301 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
303 * vc-backend.C (scanMaster): ";" -> ';'
305 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
307 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
310 * lyxtextclass.C (compare_name): rename to...
311 (LayoutNamesEqual): ...this
313 * lyxlex_pimpl.C (compare_tags): inherit from
314 std::binary_function, put back into anon namespace
316 * lyxfind.C (MatchString): inherig from std::binary_function
317 (findChange): use empty() istead of !size()
319 * format.C (FormatNamesEqual): new functor
326 * converter.C (compare_Converter): rename to...
327 (ConverterEqual): ...this, and fixup a bit.
328 (getConverter): use it, and make function const
329 (getNumber): use it, and make function const
333 * bufferlist.C: add using boost::bind
335 * MenuBackend.C (MenuNamesEqual): new functor
336 (hasMenu): use it, and make function const
337 (hasSubmenu): use nested bind to get rid of compare_memfun.
339 2004-01-30 André Pönitz <poenitz@gmx.net>
341 * BufferView_pimpl.C:
352 * text3.C: move some of the edit(x,y) handling to the insets
353 some coordinate changes.
355 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
357 * text.C: add using statements for std::advance and std::distance
359 * paragraph.C: add using statement for std::distance
361 * lyxfind.C: add using statement for std::advance
363 * cursor.C (region): remove std:: from swap
364 (openable): use nucleus in stead of operator->
366 * BufferView.C: add using statements for std::distance and std::swap
368 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
370 * iterators.C: Remove the pimple, move the needed structures to
371 the header file. Create accessor for the positions stack.
372 (asPosIterator): remove function
374 * PosIterator.C (PosIterator): move constructors to top of file
375 (PosIterator): reimplement the constructor taking a ParIterator in
377 (setFrom): new function
378 (operator!=): inline it
380 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
382 * lyxfind.C (replaceAll): use std::advance
384 * iterators.h: inherit from std::iterator.
386 * PosIterator.C (advance, distance): remove
387 * PosIterator.h: interit from std::iterator.
389 2004-01-26 André Pönitz <poenitz@gmx.net>
392 * BufferView_pimpl.[Ch]:
396 * bufferview_funcs.C:
407 * output_plaintext.C:
409 * paragraph_funcs.[Ch]:
410 * paragraph_pimpl.[Ch]:
416 * text3.C: more IU: dumps most of the rest of the mathcursor
417 implementation into cursor.[Ch]; "globalize" a bit of it.
419 2004-01-25 Angus Leeming <leeming@lyx.org>
421 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
423 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
425 * LaTeXFeatures.h: add nice_ and nice() const
426 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
428 2004-01-20 André Pönitz <poenitz@gmx.net>
431 * BufferView_pimpl.C:
433 * bufferview_funcs.C:
446 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
447 LCursor and mathcursor parts to LCursor and InsetBase.
449 2004-01-15 André Pönitz <poenitz@gmx.net>
451 * cursor_slice.[Ch]: add a few covienience functions
453 * funcrequest.[Ch]: remove BufferView * member
455 * BufferView_pimpl.C:
462 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
464 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
466 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
467 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
469 2004-01-13 André Pönitz <poenitz@gmx.net>
472 * lyxtext.h: hide cursor and selection anchor behind accessor function
475 * BufferView_pimpl.[Ch]:
477 * bufferview_funcs.C:
487 * cursor_slice.[Ch]: some integer type changes for inset unification
489 * lyxcursor.[hC]: remove, it's CursorSlice now.
492 * BufferView_pimpl.[Ch]:
493 * bufferview_funcs.C:
499 * textcursor.[Ch]: adjust
501 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
503 * text2.C (undoSpan): add and use
504 * text.C (breakParagraph): use undoSpan (fix bug 578)
507 2004-01-08 Angus Leeming <leeming@lyx.org>
509 * BufferView_pimpl.C (MenuInsertLyXFile):
510 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
511 * lyxfunc.C (menuNew, open, doImport):
512 FileFilterList change to the FileDialog open and save functions.
514 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
516 * ShareContainer.h: make isEqual and isUnique adaptable
518 * CutAndPaste.C: make resetOwnerAndChanges adaptable
520 2004-01-07 Angus Leeming <leeming@lyx.org>
523 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
525 * BufferView_pimpl.C (dispatch): act on these LFUNs.
527 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
528 functions replacing find, replace and replaceAll.
530 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
531 LFUN_WORDFIND(FORWARD|BACKWARD).
533 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
535 * text.C (breakParagraph): remove an outdated #warning
537 2004-01-07 André Pönitz <poenitz@gmx.net>
539 * lyxfind.C: somewhat clearer logic
541 * text.C: prevent crash in cursorX on unitialized row cache
543 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
545 * lyxcursor.[Ch] (operator>): add
546 * textcursor.C (selStart, selEnd): use std::min and std::max
548 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
550 * Chktex.C: include boost/format.hpp
552 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
554 * InsetList.C: replace functor MathcIt with adaptable functor
556 (insetIterator): modify accordingly
558 * BranchList.h: move the BranchNamesEqual functor here from...
559 * BranchList.C: ... to here
561 * BranchList.C: new BranchListEqual fuctor, use it. Remove
563 (add): replace a finding loop with std::find_if.
565 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
567 * output_docbook.C: moving LatexParam functionality into
570 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
572 * buffer.C: increment format to 229.
574 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
577 * lyx_sty.[Ch]: remove minipageindent_def
583 * text3.C: remove LFUN_INSET_MINIPAGE
585 2003-12-28 Angus Leeming <leeming@lyx.org>
587 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
589 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
591 * text2.C (setParagraph): fix off-by-one crash
593 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
595 * output_docbook.C: header stuff for AGU
597 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
599 * text2.C (redoCursor): remove
602 * BufferView_pimpl.C: remove calls to redoCursor and
603 setCursor(cursor.par(), cursor.pos()) all around
605 2003-12-15 Angus Leeming <leeming@lyx.org>
607 * buffer.C: up the format to 228.
609 2003-12-15 André Pönitz <poenitz@gmx.net>
611 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
616 * BufferView_pimpl.C:
625 2003-12-15 Angus Leeming <leeming@lyx.org>
627 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
628 than getFromGUIName to manipulate the color.
630 2003-12-14 Angus Leeming <leeming@lyx.org>
632 * BranchList.[Ch]: minimize the API.
633 (Branch::getBranch, getColor): now return a 'const &'.
634 (Branch::setSelected) now returns a bool set to true if the
635 selection status changes.
636 (BranchList::clear, size, getColor, setColor, setSelected,
637 allBranches, allSelected, separator): removed.
638 (BranchList::find): new functions, returning the Branch with
640 (BranchList::add, remove): return a bool indicating that
641 the operation was successful.
643 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
644 new InsetBranch::isBranchSlected member function.
646 * LColor.[Ch]: mimimize the API.
647 (fill): renamed as addColor and made private.
648 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
649 versions of these functions taking a string arg have been removed.
651 * bufferparams.C (readToken):
652 * lyxfunc.C (dispatch):
653 * lyxrc.C (read): changes due to the altered BranchList and
656 * factory.C (createInset, readInset): changes due to altered
659 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
662 * lyxfunc.C: remove insetminipage. "minipage-insert"
663 now produces a frameless minipage box inset.
665 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
667 * textcursor.[Ch] (selStart,selEnd): add new methods
668 remove selection::start, end, use LyXCursor::operator<
669 * lyxcursor.[Ch] (operator<): add
670 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
671 * BufferView.[Ch] (unsetXSel): add
672 * text2.C (clearSelection): use unsetXSel,adjust
675 * rowpainter.C: adjust
676 * bufferview_funcs.C (put_selection_at): adjust
678 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
680 * BufferView_pimpl.C: small coord. correction
682 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
684 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
685 dragging over the splash screen.
687 2003-12-11 Angus Leeming <leeming@lyx.org>
689 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
690 as it is now handled in LyXText::dispatch.
692 * text3.C (doInsertInset): remove a level of nesting.
694 2003-12-11 Angus Leeming <leeming@lyx.org>
696 * factory.C (createInset): changes due to the changed interface to
697 InsetCommandMailer::string2params.
699 2003-12-10 Angus Leeming <leeming@lyx.org>
701 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
702 'dialog-show-new-inset <inset name>'
704 2003-12-10 Angus Leeming <leeming@lyx.org>
706 * buffer.C: up the format to 227.
708 * factory.C: the box inset is now identified simply by 'Box'.
710 2003-12-10 Angus Leeming <leeming@lyx.org>
712 * buffer.C: up the format to 226.
714 * factory.C: the note inset is now identified simply by 'Note'.
716 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
718 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
719 when a pit is enough. Standarize a couple of loops.
721 2003-12-05 Angus Leeming <leeming@lyx.org>
723 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
724 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
725 data to the re-worked "log" dialog.
727 2003-12-03 André Pönitz <poenitz@gmx.net>
735 * text2.C: use Inset::getText instead of Inset::getParagraph
737 2003-12-03 André Pönitz <poenitz@gmx.net>
741 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
742 InsetText::read() as LyXText::read()
744 2003-12-02 Angus Leeming <leeming@lyx.org>
746 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
747 type. Add a comment in the implementation that the function uses
748 the stream's bad() function rather than fail() as the std::streams
751 2003-12-02 André Pönitz <poenitz@gmx.net>
753 * lyxlex.[Ch]: make interface more similar to std::stream
755 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
757 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
759 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
761 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
763 * vspace.[Ch]: remove VSpace::NONE
765 2003-12-01 André Pönitz <poenitz@gmx.net>
768 * lyxtext.h: move ParagraphList member to LyXText
769 rename LyXText::ownerParagraphs to LyXText::paragraph
772 * bufferview_funcs.C:
782 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
784 * undo.C: fix cursor positioning
786 2003-12-01 John Levon <levon@movementarian.org>
788 * BufferView_pimpl.C: fix a crash on exit with
791 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
793 * BranchList.C: fix setSelected() method.
795 2003-11-28 André Pönitz <poenitz@gmx.net>
797 * ParagraphParameters.[Ch]:
798 * ParameterStruct.h: remove space above/below from Paragraph to
801 * BufferView_pimpl.C:
813 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
815 * factory.C: Syntax change for CharStyles
817 2003-11-28 André Pönitz <poenitz@gmx.net>
822 * buffer.[Ch]: move LyXText member
824 2003-11-28 André Pönitz <poenitz@gmx.net>
826 * BufferView.[Ch]: make LyXText * text a private member
828 * BufferView_pimpl.C:
839 * output_plaintext.C: cleanup
841 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
844 * lyxtextclass.[Ch]: parametrize SGML document header
846 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
849 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
852 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
854 * text2.C (setFont): rework using PosIterator (no more recursive)
855 (setCharFont): no more needed
856 (setLayout): no more selection cursors fiddling (done by redoCursor)
857 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
858 destroy remaining ones)
860 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
862 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
864 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
867 * text3.C: adjust + re-allow multi par depth changes
868 * textcursor.C: simplify a bit
870 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
876 * src/output_docbook.C:
877 * src/output_latex.C:
882 * src/text2.C: Introducing a number of tags parametrizing various
883 XML formats that we may want to support
885 2003-11-25 André Pönitz <poenitz@gmx.net>
887 * InsetList.[Ch] (begein, end): inline as suggested by profiler
889 * lyxtext.h (leftMargin/rightMargin): simplify interface
896 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
898 * lyxfunc.C (dispatch): propogate the bibtex databases from the
899 master file to any child files. Fixes bug 546.
901 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
903 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
905 2003-11-24 André Pönitz <poenitz@gmx.net>
907 * rowpainter.C: simplification
909 * text2.C (updateCounters): remove call to redoParagraph on
910 changed labels as this is far too expensive.
912 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
914 * converter.C (convert): fix a crash: this function gets
915 called with buffer == 0 from importer code.
917 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
919 * text3.C (cursorPrevious): make sure that we do not compare
920 iterators form different containers.
923 * rowpainter.C (paintSelection): make sure that we do not compare
924 iterators from different containers.
926 * text3.C (dispatch): [PRIOR] make sure that we do not compare
927 iterators from different ParagraphList containers.
930 * text2.C (LyXText): change order of initialization slightly
931 (operator=): new function. copy all variables except cache_par_
932 (moveUp): make sure that we do not compare iterators from
933 different ParagraphList constainers.
936 * text.C (firstPar): new function
937 (lastPar): new function
938 (endPar): new function
940 * lyxtext.h: move things around and group public functions, public
941 variables, private functions, private variables
943 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
945 * factory.C: change call to InsetERT constructor to avoid
946 additional invocation of method status
947 * text2.C (toggleInset): remove redundant update() call
948 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
949 instead of a Bufferview pointer
951 2003-11-21 André Pönitz <poenitz@gmx.net>
953 * rowpainter.C: simplification
955 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
957 * text3.C (dispatch): make possible to extend a word/row selection
960 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
962 * lyxtext.h: x0_,y0_ -> xo_,yo_
963 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
964 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
965 * rowpainter.C (paintRows): paint full paragraphs
967 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
969 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
972 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
974 * lyxtext.h: add x0_, y0_
975 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
976 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
978 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
980 * text2.C (setCursorIntern): move the x_target update here *
981 * text3.C: change some bv() to true/false in calls to
982 cursorUp/Down/Right/Left
983 * cursor.C: use helper function.
985 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
987 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
988 * paragraph_funcs.[Ch]: correct comment
989 * rowpainter.C: do not paint selections away from bv->cursor()
990 Fix a long standing selection painting bug.
991 * text3.C: generalize mouse-selection code to LyXTexts other that
993 * textcursor.C: do not use y coords if we can use par offsets
995 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
997 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
998 cursor position after e.g. inset insert)
1000 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
1002 * lyxfind.C (replace): adjust to locking removal + some
1005 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
1007 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1010 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
1013 * output_docbook.C: XML sanitation: new layout
1014 parameters InnerTag and CommandDepth
1016 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
1018 * BufferView_pimpl.C:
1020 * text3.C: Fix the insertion and modification of button-style
1023 2003-11-13 André Pönitz <poenitz@gmx.net>
1025 * InsetList.[Ch]: remove deleteLyXText
1027 * paragraph.[Ch]: cache beginOfBody position
1032 * text3.C: remove superfluous update() calls
1036 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1038 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1039 * BufferView.C (fitLockedInsetCursor): remove
1040 * cursor.[Ch] (getDim): add
1041 * text.C (getRowNearY): add faster version
1042 * text3.C: remove some update calls
1044 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1056 * text3.C: The Character Style /XML short element patch.
1058 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
1061 * factory.C: Small step to solving 'unable to insert some insets'
1064 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1066 * cursor.[Ch] (updatePos): new function for updating the y
1067 position of the tip inset
1068 * bufferview_funcs.C (put_selection_at):
1069 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1071 2003-11-11 André Pönitz <poenitz@gmx.net>
1073 * text.C: remove big comment on invalid Paragraph pointers as it is
1076 2003-11-11 André Pönitz <poenitz@gmx.net>
1078 * text_funcs.[Ch]: merge with ...
1086 * Makefile.am: remove text_funcs.[Ch]
1088 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1090 * cursor.C (getPos): return absolute cached y coord
1092 * BufferView_pimpl.C (fitCursor): new simplistic code
1093 (workAreaDispatch): add a fitCursor call
1095 2003-11-10 André Pönitz <poenitz@gmx.net>
1098 * BufferView_pimpl.[Ch]: merge update() and updateInset()
1100 2003-11-10 André Pönitz <poenitz@gmx.net>
1102 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1103 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1104 indicate that the cursor needs to leave an inset
1106 * lyxtext.h: remove inset locking
1108 * cursor.[Ch]: re-implement functionality provided by inset locking
1111 * BufferView_pimpl.[Ch]:
1113 * bufferview_funcs.[Ch]:
1125 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1127 * PosIterator.[Ch]: replace the stack with a vector, add inset
1129 * iterators.[C]: adjust
1131 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1133 * lyxfind.C (replaceAll): mark the buffer dirty if something was
1135 * paragraph_funcs.C (readParToken): put the correct id in the
1136 error item, not the id of the top paragraph
1138 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1140 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1141 * bufferview_funcs.C (put_selection_at): use the above
1143 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1145 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1147 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1149 * output_linuxdoc.h:
1150 * output_plaintext.h:
1152 * output_docbook.h: add #include statements
1154 2003-11-05 José Matos <jamatos@lyx.org>
1156 * output_docbook.[Ch]:
1157 * output_latex.[Ch]:
1158 * output_linuxdoc.[Ch]:
1159 * output_plaintext.[Ch]: New files for output formats.
1160 * output.[Ch]: New file for helper functions.
1163 * paragraph_funcs.[Ch]: output functions moved to new files.
1165 * outputparams.h: rename of latexrunparams.h
1173 * paragraph_funcs.[Ch]:
1174 * paragraph_pimpl.[Ch]:
1175 * tabular.[Ch]: rename ascii to plaintext
1176 and LatexRunParams to OutputParams.
1178 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1180 * iterators.[Ch] (text): require bv argument
1181 * undo.C (recordUndo):
1182 * lyxfunc.C (dispatch):
1183 * bufferview_funcs.C (put_selection_at): adjust
1185 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
1187 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1189 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1191 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1194 2003-11-04 André Pönitz <poenitz@gmx.net>
1196 * cursor.[Ch]: restructure
1199 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1201 * iterators.[Ch] (asCursor): remove
1203 * lfuns.h: remove LFUN_INSET_EDIT
1209 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1211 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1213 * lyxfind.[Ch]: complete overhaul
1214 * BufferView_pimpl.C:
1216 * paragraph.[Ch] (insert): add
1218 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1222 * text.C: remove dead spellcheck code
1224 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1226 * dispatchresult.h: add a val setter
1228 * cursor.C (dispatch): use a tempvar for data_[i]
1230 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1232 * PosIterator.[Ch]: compile fix
1234 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1236 * text.C (cursorPar): deactivate the cursor cache
1238 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1240 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1242 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1244 * text3.C (dispatch): adjust for new DisptchResult semantics.
1246 * lyxfunc.C (dispatch): handle update when return from
1247 Cursor::dispatch, adjust for new DispatchResult semantics.
1249 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1250 DispatchResult(true) mean to not update. Add class functions for
1251 setting dispatched and update, as well as reading.
1253 * cursor.C (dispatch): don't handle update here
1255 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1257 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1258 * trans_mgr.C: adjust
1260 * paragraph_funcs.C (readParToken): exception safety
1262 * lyxvc.h: store the vcs pointer in a scoped_ptr
1265 * lyxsocket.C (serverCallback): exception safety
1267 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1269 * ispell.C (clone): make it return a auto_ptr
1271 * factory.C (createInset): exception safety
1272 (readInset): exception safety
1274 * bufferlist.C (newBuffer): exception safety
1276 * Thesaurus.C (Thesaurus): use initialization for aik_
1278 * MenuBackend.C (expandToc): exception safety.
1280 2003-11-03 André Pönitz <poenitz@gmx.net>
1284 * bufferview_funcs.C: remove getInsetFromId()
1287 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1293 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1295 * PosIterator.C (distance, advance): new
1296 * bufferview_funcs.[Ch] (put_selection_at): new
1297 * iterators.[Ch] (lockPath): new
1299 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
1301 * iterators.[Ch] (asPosIterator): added
1302 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1303 * PosIterator.[Ch]: added
1305 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1309 * cursor.C (dispatch):
1310 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1312 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1313 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1314 contructor, add a class function dispatched. Remove operator>=
1316 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1318 * debug.C: only use the default constructor for debugstream
1321 * main.C (main): include debug.h and setup the lyxerr streambuf
1324 2003-10-31 José Matos <jamatos@lyx.org>
1326 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1328 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1329 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1330 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1331 * paragraph_pimpl.C (simpleTeXSpecialC):
1332 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1333 add LatexRunParams argument.
1335 * exporter.C (Export): change call accordingly.
1337 * latexrunparams.h: add new member to take care of the other backends.
1338 2003-10-30 José Matos <jamatos@lyx.org>
1340 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1341 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1342 factorise code for paragraph output.
1344 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1347 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1349 * text3.C (dispatch):
1350 * lyxfunc.C (dispatch):
1351 * cursor.C (dispatch):
1352 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1354 * dispatchresult.h: make the dispatch_result_t ctor explicit
1356 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1359 * buffer.C: small refactoring of docbook stuff
1361 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1363 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1366 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1368 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1369 operator dispatch_result_t, and operators for == != and >=
1371 * cursor.C (dispatch): adjust for operator dispatch_result_t
1372 removal. comment out call to update
1374 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1376 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1384 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1387 * dispatchresult.h: new file, DispatchResult broken out of
1390 * Makefile.am (lyx_SOURCES): add dispatchresult.h
1392 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1394 * text.C (rowBreakPoint): put a hack inside #if 0
1396 2003-10-28 André Pönitz <poenitz@gmx.net>
1400 * paragraph_funcs.C:
1403 * text2.C: general cleanup (lots of small stuff)
1405 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1407 * text2.C (cursorEnd): simple fix to the "end key goes to one
1408 before the end on last row" bug
1410 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1412 * text.C (backspace): fix the "zombie characters"
1414 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1416 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1418 2003-10-27 André Pönitz <poenitz@gmx.net>
1420 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1422 * factory.C: handle new InsetPagebreak, InsetLine
1424 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1425 and move handling into new InsetPagebreak, InsetLine
1427 * BufferView_pimpl.C:
1429 * ParagraphParameters.C:
1430 * ParameterStruct.h:
1435 * paragraph_funcs.C:
1436 * paragraph_pimpl.C:
1442 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1445 * lyxrow_funcs.[Ch]:
1451 * text3.C: remove lastPos uses in favour of Row::endpos
1453 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1455 * undo.C (performUndoOrRedo): fix two crashes by setting a
1456 cursor by hand and reordering some calls. Use bv->lockInset instead
1457 of inset->edit because the latter loses cursor information
1459 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
1461 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1463 (rowBreakPoint): fix width. change point to point + 1.
1464 Add a missing check.
1466 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
1469 * lyxfunc.C: fix (at least partly) the problems
1470 with the Nav menu and headers inside branch insets
1473 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
1475 * paragraph.C (getChar): add strong asserts
1477 * lyxrow_funcs.C (lastPos): remove hideous hack
1479 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1480 (fill): adjust to that (avoid an infinite loop)
1482 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1484 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1486 2003-10-23 André Pönitz <poenitz@gmx.net>
1488 * RowList_fwd.h: change list<> to vector<> to gain speed
1489 after suggestion from Alfredo
1491 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1493 * lyxtext.h: move the bidi stuff from here...
1496 * Bidi.[Ch]: ... to here
1498 2003-10-23 André Pönitz <poenitz@gmx.net>
1501 * text.C (isLastRow, isFirstRow): new functions
1503 * paragraph.h: new width cache member
1505 * rowpainter.C: replace RowList::iterator with Row & where possible
1507 * lyxfunc.C: replace several view()->text with a single call
1509 * toc.C: fix 'unused' warning
1511 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1513 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1514 when woring with stream::pos_type
1515 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1517 2003-10-22 André Pönitz <poenitz@gmx.net>
1520 * text.C: use Row & instead of RowList::iterator
1522 * lyxrow.h: rename end() to endpos()
1528 2003-10-22 Angus Leeming <leeming@lyx.org>
1530 * buffer.[Ch] (fully_loaded): new member function, returning true
1531 only when the file has been loaded fully.
1532 Used to prevent the premature generation of previews and by the
1533 citation inset to prevent computation of the natbib-style label.
1535 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1536 templates are all set up.
1538 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1540 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
1542 * text.C: fixed an "oops" in the "is a bit silly"
1545 2003-10-21 André Pönitz <poenitz@gmx.net>
1547 * FuncStatus.[Ch]: small stuff, whitespace
1549 * lyxfont.[Ch]: operator<<() for debug reasons
1553 * lyxtext.h: whitespace, spelling
1555 * paragraph.C: naming of variables
1558 * text2.C: small stuff
1561 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1563 * text.C: (1) finish off the inset display() work;
1564 (2) fix the "is a bit silly" bug (accessing char
1567 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1569 * text.C: re-introduce display() for insets, fixing the
1570 various bugs (stretch of line above, math inset
1573 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1575 * text.C (rightMargin): remove spurious semicolon
1577 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1580 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1582 * text3.C: fix one crash due to wrong cursor def
1584 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1586 * vc-backend.C (scanMaster): make the regex static
1588 * LaTeX.C (scanAuxFile): make the regexs static
1590 * text3.C (doInsertInset, dispatch, dispatch):
1591 * text2.C (cursorUp, cursorDown):
1592 * text.C (selectNextWordToSpellcheck):
1593 * BufferView_pimpl.C (dispatch):
1594 * lyxfunc.C (dispatch): localDispatch -> dispatch
1596 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1598 * lyxsocket.C: include <cerrno>
1600 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1602 * lyxfunc.C (dispatch): remove textcache stuff
1604 * bufferlist.C (release): remove textcache stuff
1607 * TextCache.C: delete file
1608 * TextCache.h: delete file
1610 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1612 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1613 delete of the bv_->text.
1614 (resizeCurrentBuffer): remove texcache stuff
1615 (workAreaResize): ditto
1617 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1619 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1622 2003-10-16 André Pönitz <poenitz@gmx.net>
1629 * text3.C: speed up by storing y positions per paragraph plus per-row
1630 offset instead of having a 'full' y position in the row.
1632 2003-10-15 André Pönitz <poenitz@gmx.net>
1636 * undo.[Ch]: make undo aware of inner insets
1638 2003-10-14 Angus Leeming <leeming@lyx.org>
1640 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1641 static member functions LyX::ref() and LyX::cref.
1642 (lastfiles): new accessor functions for the new lastfiles_ member var.
1643 (addLyXView, views_): add a new LyXView to the list of views_.
1644 (updateInset): loop over all LyXViews to call their own updateInset
1645 member function, returning a pointer to the Buffer owning the inset.
1647 * BufferView_pimpl.C (loadLyXFile):
1648 * MenuBackend.C (expandLastfiles):
1649 * bufferlist.C (MenuWrite, QuitLyX):
1650 lastfiles is no longer a global variable.
1651 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1653 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1654 static function. Access through LyX::cref().emergencyCleanup().
1656 2003-10-14 André Pönitz <poenitz@gmx.net>
1658 * iterators.[Ch]: new direct access to innermost LyXText and Inset
1660 * undo.[Ch]: restoring part of 'undo in insets'
1663 * undo_funcs.[Ch]: merge with undo.[Ch]
1665 * tabular.C: small cleansing stuff
1667 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
1669 * paragraph_funcs.C (readParToken): report unknown insets as error
1670 boxes. Use the outer paragraph as location (also for unknown
1673 * factory.C (readInset): do not abort on reading an unknown inset.
1674 Eat it and return 0.
1676 2003-10-13 Angus Leeming <leeming@lyx.org>
1678 * lyx_main.C (LyX): remove call to setDisplayTranslator().
1680 * lyxrc.C: displayTranslator is now a function,
1681 declared in GraphicsTypes.h.
1683 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1685 * format.C: new placeholder $$a to pass the socket address.
1687 * bufferlist.[Ch]: new function getBufferFromTmp.
1689 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1690 files in the temporary dir.
1692 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1694 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1696 * Makefile.am: add lyxsocket.[Ch].
1698 * lyx_main.C (error_handler): handle SIGPIPE.
1700 2003-10-13 André Pönitz <poenitz@gmx.net>
1702 * BufferView_pimpl.C:
1707 * undo_funcs.[Ch]: use paroffset_type instead of
1708 ParagraphList::iterators to prevent multiple conversion
1709 (and get a more robust interface)
1711 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1713 * lyxfunc.C (dispatch): RESULT -> dispatch_result
1715 * text3.C (dispatch): ditto
1717 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1719 * LaTeX.C (handleFoundFile): move the static to smaller scope,
1720 move the onlyfile, use onlyfile instead of foundfile in a couple
1723 * DepTable.C (update): flush the error stream a bit more
1725 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1727 * lyxserver.C (callback): adjust
1729 * lyxfunc.C (getStatus): add a missing brace in commented code
1730 (ensureBufferClean): reindent
1731 (dispatch): delete version taking a string
1733 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1735 * LaTeX.C (deplog): move found file handlig from here...
1736 (handleFoundFile): .. to new function here.
1737 (deplog): make sure to discover several files mentioned on the
1740 2003-10-10 André Pönitz <poenitz@gmx.net>
1747 * text3.C: fix some of the tabular crashes
1749 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1751 * MenuBackend.C (binding): put debug message into Debug::KBMAP
1753 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1755 2003-10-09 André Pönitz <poenitz@gmx.net>
1757 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1760 * BufferView_pimpl.C:
1761 * bufferview_funcs.C:
1772 * undo_funcs.C: adjust
1774 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1776 * text2.C (incrementItemDepth): new function, use a backtracking
1777 algorithm to discover the correct item depth.
1778 (resetEnumCounterIfNeeded): new function, use a backtracking
1779 algorithm to discover if counter reset is needed.
1780 (setCounter): use them. Simplify a bit. Add different labels for
1781 different item depths for itemize.
1783 * paragraph.C (Paragraph): remove initialization of enumdepth
1786 * paragraph.h: get rid of enumdepth, and use itemdepth both for
1787 enumerate and itemize. Change the type of itemdepth to signed char.
1789 2003-10-08 André Pönitz <poenitz@gmx.net>
1791 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1796 * tabular.[Ch]: fix crash after 'row-insert'
1798 2003-10-08 Angus Leeming <leeming@lyx.org>
1800 Fix doxygen warnings.
1802 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1803 Remove CutAndPaste:: prefix from header file declaration.
1805 * LColor.h (fill): remove LColor:: prefix from declaration.
1807 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1808 use lyx::depth_type rather than Paragraph::depth_type so that
1809 header file and .C file match.
1811 * converter.h (intToFormat): remove Converters:: prefix from declaration.
1813 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1814 * aspell.C: \file aspell_local.C -> \file aspell.C
1815 * gettext.C: \file gettext.C -> \file src/gettext.C
1816 * gettext.h: \file gettext.h -> \file src/gettext.h
1817 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1818 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1819 * text.C: \file text.C -> \file src/text.C
1821 * toc.C: move comment so that doxygen is not confused.
1823 2003-10-07 Angus Leeming <leeming@lyx.org>
1825 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1827 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1830 * aspell_local.h: add forgotten std::string's.
1832 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1839 * text3.C: The Box patch. Fancybox support, minipage, parbox
1841 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1847 * ParagraphParameters.h:
1857 * lyxtextclasslist.h:
1860 * paragraph_pimpl.C:
1861 * textcursor.h: add <string> and other small fixes to make Lars'
1862 std::string patch compile with STLport.
1864 2003-10-06 Angus Leeming <leeming@lyx.org>
1866 * LColor.h: Add missing #include <string>.
1868 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1870 * All most all file in all subdirs: Make <string> be the prefered
1871 way of getting to std::string, add using declarations.
1873 2003-10-06 André Pönitz <poenitz@gmx.net>
1875 * metricsinfo.C: initialize LyXFont before changing attribute.
1876 (fixes the 'math in \emph is upright' bug)
1878 2003-10-06 André Pönitz <poenitz@gmx.net>
1880 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1882 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
1885 * paragraph_pimpl.C: Small fixes to build using STLport
1887 2003-10-02 André Pönitz <poenitz@gmx.net>
1890 * text3.C: move handling of LFUN_DEPTH *; fix #1360
1892 2003-10-01 André Pönitz <poenitz@gmx.net>
1894 * factory.C: assert early
1896 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1898 * lyx_main.C: remove the global debug object
1900 * debug.h: adjust for new debugstream
1902 * debug.C: adjust for new debugstream and keep the global debug
1905 2003-09-22 Angus Leeming <leeming@lyx.org>
1907 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1908 of g++ which otherwise complain that the scoped_ptr destructor can't delete
1909 an incomplete class LyXFont.
1911 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1913 * factory.C: bug fix in branches
1915 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1917 * lyxfunc.C (processKeySym): adjust
1919 (dispatch): change arg name from ev to func, adjust
1920 (sendDispatchMessage): ditto
1922 * lyx_main.C (defaultKeyBindings): adjust keybindings
1923 (deadKeyBindings): ditto
1925 * kbsequence.C (addkey): return a FuncRequest
1927 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1929 * kbmap.C (bind): take a FuncRequest as arg, adjust
1932 (defkey): change to take a FuncRequest as arg, adjust
1933 (findbinding): take a FuncRequest as arg, adjust.
1935 * funcrequest.h (operator=): added
1937 * funcrequest.C (FuncRequest): default kb_action changed from
1938 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1940 * buffer.C (dispatch): simplify
1941 (dispatch): adjust to take a FuncRequest as arg, adjust
1943 * boost.C (assertion_failed): change assertion message slightly
1945 * ToolbarBackend.C (read): simplify
1947 * MenuBackend.C (binding): adjust call to findbinding, add a
1948 message if no binding is found.
1950 (expandToc): correct by adding a empty FuncRequest
1952 * LyXAction.C: include <boost/assert.hpp>
1953 (isPseudoAction): delete function
1954 (LookupFunc): change name to...
1955 (lookupFunc): this. change return type to FuncRequest.
1956 (getActionName): take kb_action as arg, simplify
1957 (funcHasFlag): add an assert, simplify.
1959 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1961 * toc.C (action): return a FuncRequest, simplify
1963 * lyxfunc.C (processKeySym): adjust
1964 (getStatus): delete version that takes an int.
1966 (dispatch): delete version that takes action as int
1968 (sendDispatchMessage): simplify and adjust
1970 * funcrequest.C (getArg): take unsigned int as arg
1972 * ToolbarBackend.C (read): adjust
1973 (add): delete version that takes func as a string.
1974 (getIton): take a FuncRequest as arg
1976 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1979 * MenuBackend.C (MenuItem): add a new construct that only takes a
1980 Kind, simplify the constructor use for submenus.
1982 (expandLastfiles): adjust
1983 (expandDocuments): adjust
1984 (expandFormats): adjust
1985 (expandFloatListInsert): adjust
1986 (expandFloatInsert): adjust
1987 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1989 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1990 Remove class variables lyx_pseudo_map and lyx_arg_map
1992 * LyXAction.C (searchActionArg): delete function
1993 (getPseudoAction): delete function
1994 (retrieveActionArg): delete function
1995 (LookupFunc): make it return kb_action, simplify.
1996 (getActionName): simplify
1998 * factory.C (createInset): fix new bug
2000 2003-09-19 Angus Leeming <leeming@lyx.org>
2002 * CutAndPaste.C (pasteSelection): remove fudge used to set the
2003 masterFilename_ parameter in the include inset.
2005 * factory.C (createInset): changes due to the changes to InsetInclude.
2007 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2009 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2011 2003-09-18 Angus Leeming <leeming@lyx.org>
2014 * BufferView.C: pass the buffer when calling Inset::getLabelList,
2015 Inset::fillWithBibKeys.
2016 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2018 2003-09-18 Angus Leeming <leeming@lyx.org>
2020 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2022 (ctor): pass and store a 'Buffer const &'
2023 (buffer): new member function.
2025 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2026 '*this' to the LaTeXFeatures ctor.
2028 2003-09-18 Angus Leeming <leeming@lyx.org>
2034 * text.C: rename EnumLColor as LColor_color.
2036 2003-09-18 Angus Leeming <leeming@lyx.org>
2038 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2039 remove #include "insets/insetbase.h" from cursor.h.
2041 2003-09-18 Angus Leeming <leeming@lyx.org>
2043 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2044 InsetOld_code to remove #include "inset.h".
2046 * iterators.C: add #include "insets/inset.h"
2048 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
2050 * BufferView.C: remove more locking stuff that apparently doesn't
2051 do anything sensible.
2053 2003-09-16 André Pönitz <poenitz@gmx.net>
2056 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2059 2003-09-16 Angus Leeming <leeming@lyx.org>
2061 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2063 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2066 * paragraph.h: remove #include "lyxfont.h". Forward declare
2069 2003-09-16 Angus Leeming <leeming@lyx.org>
2071 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2072 of support/textutils.h.
2073 (isWord): move the contents of support/textutils.h's IsWordChar here.
2079 * text2.C: add #include "paragraph.h".
2082 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2084 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2090 * LaTeX.C: use namespace alias for lyx::support::os
2092 2003-09-16 Angus Leeming <leeming@lyx.org>
2095 * bufferview_funcs.C:
2098 * paragraph_pimpl.C:
2100 * text.C: add #include "LColor.h".
2102 2003-09-16 Angus Leeming <leeming@lyx.org>
2104 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2105 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2107 Store the FontBits::color variable as an int rather than as an
2108 LColor::colorso that we can move LColor.h out of the lyxfont.h header
2111 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2112 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2113 string calls together.
2115 * lyxrc.C: add #include "LColor.h".
2117 2003-09-15 Angus Leeming <leeming@lyx.org>
2119 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2122 2003-09-15 Angus Leeming <leeming@lyx.org>
2124 * LColor.h: add an EnumLColor wrapper for LColor::color.
2126 * lyxfont.[Ch] (color, setColor, realColor):
2127 * lyxtext.h, text.C (backgroundColor):
2128 pass EnumLColor args to/from the functions, rather than LColor::color
2132 * lyxtext.h: forward declare EnumLColor.
2134 * lyx_main.C: add #include "LColor.h".
2136 2003-09-15 Angus Leeming <leeming@lyx.org>
2138 * .cvsignore: add lyx-gtk.
2140 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2145 * ParagraphParameters.C
2149 * bufferview_funcs.C
2159 * vc-backend.C: remove usage of STRCONV
2161 2003-09-15 Angus Leeming <leeming@lyx.org>
2163 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2164 explicitly define the color passed to the painter.
2166 2003-09-15 Angus Leeming <leeming@lyx.org>
2168 * bufferparams.C (BufferParams): reorder member initializers to avoid
2171 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
2173 * CutAndPaste.C (pasteSelection): remove an outdated #warning
2174 * text.C (updateRowPositions): remove an unusual nop
2176 2003-09-12 André Pönitz <poenitz@gmx.net>
2178 * BufferView_pimpl.C:
2187 * Counters.[Ch]: finish the 'automatic counters' job
2189 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2191 * aspell.C: include <boost/assert.cpp> (compile fix)
2193 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2195 * boost.C (assertion_failed): use lyx::support::abort instead of
2198 2003-09-10 Angus Leeming <leeming@lyx.org>
2200 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2201 with their _fwd progeny.
2203 2003-09-09 Angus Leeming <leeming@lyx.org>
2205 134 files throughtout the source tree: replace 'using namespace abc;'
2206 directives with the appropriate 'using abc::xyz;' declarations.
2208 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2210 * boost.C (emergencyCleanup): moved here from LAssert.c
2211 (assertion_failed): new function, called by BOOST_ASSERT
2213 * several files: change Assert to BOOST_ASSERT
2215 2003-09-09 Angus Leeming <leeming@lyx.org>
2217 * buffer.[Ch]: Add an Impl class and move Buffer's member
2218 variables into it. As a result move several header files out of
2221 Add header files to lots of .C files all over the tree as a result.
2223 2003-09-09 Angus Leeming <leeming@lyx.org>
2225 * buffer.[Ch]: make Buffer's member variables private. Add
2228 Lots of changes all over the tree as a result.
2230 2003-09-08 Angus Leeming <leeming@lyx.org>
2232 * graph.C: #include <config.h>.
2234 2003-09-08 Angus Leeming <leeming@lyx.org>
2238 * BufferView_pimpl.C:
2267 * toc.C: remove redundant using directives.
2269 2003-09-07 Angus Leeming <leeming@lyx.org>
2271 * LaTeXFeatures.h: remove #include "support/types.h".
2272 * ToolbarBackend.h: remove #include <algorithm>.
2273 * changes.h: remove #include <ctime>.
2274 * debug.h: remove #include <iosfwd>.
2275 * graph.h: remove #include "support/std_string.h".
2276 * lyx_main.h: remove #include <csignal>.
2277 * lyxlex_pimpl.h: remove #include <fstream>.
2278 * sgml.h: remove #include <algorithm>, <utility>.
2279 * toc.h: remove #include "support/std_ostream.h".
2280 Add #include <iosfwd>.
2282 2003-09-07 Angus Leeming <leeming@lyx.org>
2284 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2286 * converter.h: forward declare LatexRunParams.
2287 * encoding.h: remove #include "lyxrc.h".
2288 * lyxtext.h: remove #include "LColor.h".
2289 * lyxtextclass.h: remove #include "support/types.h".
2290 * trans.h: remove #include "tex-accent.h".
2291 * trans_mgr.h: remove #include "tex-accent.h".
2292 * insets/inset.h: remove #include "support/types.h", <vector>.
2293 * insets/insetcollapsable.h: remove #include "LColor.h".
2294 * insets/insetinclude.h: remove #include "dimension.h".
2295 * insets/insetlatexaccent.h: remove #include "dimension.h".
2296 * insets/insetoptarg.h:: remove #include "insettext.h".
2297 * insets/insettext.h: remove #include "dimension.h",
2298 <boost/shared_ptr.hpp>
2300 * insets/renderers.h: add #include "dimension.h".
2301 * insets/updatableinset.h: add #include "support/types.h".
2303 * many .C files: Associated changes.
2305 2003-09-06 Angus Leeming <leeming@lyx.org>
2307 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2308 one, inside testInvariant.
2310 * PrinterParams.C: new file.
2311 * PrinterParams.[Ch]: move the function bodies out of line.
2313 2003-09-06 Angus Leeming <leeming@lyx.org>
2315 * ParagraphParameters.h: forward declare ParameterStruct rather than
2316 including its header file.
2317 (depth): moved out-of-line.
2319 2003-09-06 Angus Leeming <leeming@lyx.org>
2321 * BufferView_pimpl.h:
2324 * lyxfunc.h: forward declare LyXKeySym rather than
2325 #include "frontends/LyXKeySym.h".
2327 * BufferView_pimpl.C:
2330 * lyxfunc.C: associated changes.
2332 2003-09-06 Angus Leeming <leeming@lyx.org>
2334 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2335 As a result, can remove the #include "insets/inset.h" from BufferView.h
2337 2003-09-06 Angus Leeming <leeming@lyx.org>
2339 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2340 As a result, can remove the #include "insets/inset.h" from BufferView.h
2342 2003-09-06 Angus Leeming <leeming@lyx.org>
2348 * bufferview_funcs.C:
2349 * BufferView_pimpl.C:
2354 * ParagraphParameters.C:
2359 * frontends/controllers/ControlDocument.C:
2360 * insets/insetcaption.C: rearrange the #includes into some sort of
2363 * buffer.h: remove #includes ErrorList.h, undo.h
2365 2003-09-06 Angus Leeming <leeming@lyx.org>
2367 * support/types.h: add a 'depth_type' typedef, used to store the
2368 nesting depth of a paragraph.
2371 * ParameterStruct.h: use this lyx::depth_type typedef rather than
2372 defining explicitly.
2375 * paragraph_funcs.h:
2376 * ParagraphParameters.h:
2377 * sgml.h: use lyx::depth_type rather than Paragraph or
2378 ParameterStruct's depth_type.
2381 * paragraph_funcs.h: no need to #include paragraph.h anymore.
2384 * BufferView_pimpl.C:
2386 * ParagraphParameters.C:
2389 * bufferview_funcs.C:
2396 * frontends/LyXView.C:
2397 * frontends/controllers/ControlDocument.C:
2398 * frontends/controllers/ControlErrorList.C:
2399 * insets/insetbibitem.C:
2400 * insets/insetbranch.C:
2401 * insets/insetcaption.C:
2402 * insets/insetcollapsable.C:
2403 * insets/insetenv.C:
2404 * insets/insetert.C:
2405 * insets/insetfloat.C:
2406 * insets/insetfoot.C:
2407 * insets/insetfootlike.C:
2408 * insets/insetnewline.C:
2409 * insets/insetquotes.C:
2410 * insets/insettabular.C:
2411 * insets/insettext.C:
2412 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2414 * frontends/controllers/ControlChanges.C: #include "changes.h".
2416 2003-09-06 Angus Leeming <leeming@lyx.org>
2418 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2419 than #including paragraph.h.
2422 * RowList.h: deleted. Superfluous.
2432 * insets/insettext.h: use ParagraphList_fwd.h rather than
2435 * paragraph.h: don't forward declare ParagraphList.
2438 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2439 rather than ParagraphList.h. paragraph.h is still needed for the
2440 Paragraph::depth_type parameters.
2442 * textcursor.h: enable it to compile stand-alone in light of the
2445 * bufferview_funcs.C:
2457 * frontends/controllers/ControlParagraph.C:
2458 * frontends/controllers/ControlTabular.C:
2459 * insets/insetmarginal.C:
2460 * insets/insetminipage.C:
2461 * insets/insetnote.C:
2462 * insets/insetoptarg.C: add header files needed to compile again.
2464 2003-09-06 Angus Leeming <leeming@lyx.org>
2466 * RowList_fwd.h: new file, forward-declaring Row rather than
2467 #including lyxrow.h.
2472 * insets/insettext.h: use it instead of RowList.h
2474 * bufferview_funcs.C:
2481 * text3.C: #include "RowList.h".
2483 2003-09-05 Angus Leeming <leeming@lyx.org>
2485 * factory.C (createInset):
2486 * vspace.C (c-tor): replace sscanf call with an istringstream.
2487 * ispell.C: re-add missing HP/UX headers.
2488 * lyxserver.C: re-add missing os2 headers.
2490 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
2499 * text3.C: re-add missing system headers, needed for 2.95.2.
2501 2003-09-05 Angus Leeming <leeming@lyx.org>
2503 Changes most place everywhere due to the removal of using directives
2504 from support/std_sstream.h.
2506 2003-09-05 Angus Leeming <leeming@lyx.org>
2508 Replace LString.h with support/std_string.h,
2509 Lsstream.h with support/std_sstream.h,
2510 support/LIstream.h with support/std_istream.h,
2511 support/LOstream.h with support/std_ostream.h.
2513 Changes resulting throughout the tree.
2515 2003-09-05 Angus Leeming <leeming@lyx.org>
2517 * sgml.h: ensure that the header file can be compiled stand-alone.
2518 * *.C: strip out redundant #includes. (320 in total.)
2520 2003-09-04 Angus Leeming <leeming@lyx.org>
2522 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2523 here (from getPackages).
2525 * debug.[Ch]: add a new EXTERNAL tag.
2527 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2529 * text2.C (cursorEnd): simplify
2531 (getColumnNearX): adjust
2533 * text.C (computeBidiTables): adjust
2536 * rowpainter.C (paintChars): adjust
2537 (paintSelection): adjust
2538 (paintChangeBar): adjust
2541 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2543 (numberOfSeparators): adjust
2545 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2551 * text3.C: Restricts the mouse click functionality
2552 of insets like bibtex, include, toc and floatlist to the visible
2553 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2554 up the dialogs. Cursor has to be in front of the inset (i.e.
2555 start of row) for this to function.
2557 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2559 * bufferview_funcs.C (currentState): output row information
2561 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2563 * bufferview_funcs.C (currentState): output paragraph position
2565 2003-09-04 Angus Leeming <leeming@lyx.org>
2567 * FloatList.h: move out #include "Floating.h".
2568 * LaTeX.h: move out #include "DepTable.h".
2569 * LyXAction.h: move out #include "funcrequest.h".
2570 * buffer.h: move out #include "author.h", "iterators.h".
2571 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2572 * lyx_main.h: move out #include "errorlist.h".
2573 * lyxfunc.h: move out #include "FuncStatus.h".
2574 * lyxtext: move out #include "lyxcursor.h".
2575 * paragraph_pimpl.h: move out #include "counters.h".
2577 2003-09-03 Angus Leeming <leeming@lyx.org>
2579 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2580 preamble_snippets list, enabling us to add snippets to the preamble
2581 only if the snippet was not there already.
2583 2003-09-04 Angus Leeming <leeming@lyx.org>
2585 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2587 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2589 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2592 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2594 * BranchList.C: point fix, earlier forgotten
2596 2003-09-02 Angus Leeming <leeming@lyx.org>
2598 * box.C (contains): renamed from 'contained' after a fantastic
2601 2003-09-02 John Levon <levon@movementarian.org>
2607 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2609 2003-09-02 John Levon <levon@movementarian.org>
2611 * text2.C: simplification of cursorEnd(), including partial
2614 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2616 * buffer.C (readFile): add a space
2618 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
2620 * BufferView_pimpl.C (update): remove bogus fitCursor() call
2622 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2624 * buffer.C (readFile): new function, take a filename and a
2625 ParagraphList::iterator
2627 (readFile): adjust, make it private. don't use setStream, make
2628 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2629 always contain the filename.
2631 * BufferView.C (insertLyXFile): simplify and make it work for
2634 2003-08-30 John Levon <levon@movementarian.org>
2636 * Makefile.am: fix dist (from Kayvan)
2638 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2640 * most files: change to use const Buffer refs
2642 2003-08-27 André Pönitz <poenitz@gmx.net>
2644 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2645 on top of ownerPar().
2647 2003-08-27 John Levon <levon@movementarian.org>
2649 * funcrequest.C: properly initialise POD members
2651 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2653 * lyxtext.h (top_y): move top_y from here
2658 * BufferView_pimpl.[Ch]: to here
2659 * frontends/screen.C:
2660 * insets/insettabular.C:
2661 * insets/insettext.C: adjust
2662 * rowpainter.[Ch] (paintRows): remove LyXText & argument
2664 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2667 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2669 2003-08-26 André Pönitz <poenitz@gmx.net>
2671 * paragraph_func.[Ch] (outerPar): new function
2674 * paragraph_funcs.C:
2675 * paragraph_funcs.h:
2676 * paragraph_pimpl.C:
2677 * text2.C: remove Inset::par_owner
2679 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2684 * text2.C: eliminates the needFullRow/display() stuff
2685 altogether, putting the logic in metrics/draw in the insets.
2687 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
2689 * text2.C (redoParagraphInternal, redoParagraphs):
2690 * text.C (redoParagraph): add a call to updateRowPositions at the
2691 end of each 'metrics-like' call. Remove all others.
2692 (getRow): remove the 'y-computing' version.
2693 (getRowNearY): do not compute nor return the real y. Solve the
2694 'y < 0' problem and simplify.
2696 2003-08-22 Angus Leeming <leeming@lyx.org>
2698 * *.[Ch]: clean-up of licence and author blurbs.
2699 Also move config.h out of a few .h files and into a few .C files.
2701 2003-08-22 André Pönitz <poenitz@gmx.net>
2703 * lyxrow.[Ch]: add x_ and *fill_ members
2708 * text2.C: adjust/remove prepareToPrint() calls
2710 2003-08-22 André Pönitz <poenitz@gmx.net>
2712 * lyxrow.[Ch]: add end_ member
2714 * lyxrow_funcs.C: use LyXRow::end_
2716 * lyxtext.h (singleWidth): add LyXFont parameter
2719 * text2.C: adjust LyXText::singleWidth() calls
2721 * text.C (redoParagraph): simplify row breaking logic
2724 2003-08-19 André Pönitz <poenitz@gmx.net>
2726 * funcrequest.C: initialize button_ member
2729 * rowpainter.[Ch]: interface consolidation
2731 2003-08-18 André Pönitz <poenitz@gmx.net>
2734 * BufferView_pimpl.C:
2736 * paragraph_funcs.C:
2738 * text3.C: remove LyXScreen::draw() and fitCursor calls
2740 * BranchList.h: remove spurious semicolons
2742 * MenuBackend.C: fix branchlist related crash
2744 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2752 * bufferparams.[Ch]:
2756 * text3.C: implements the 'branch inset'
2757 idea. This allows the output of various versions of a document
2758 from a single source version, selectively outputing or suppressing
2759 output of parts of the text.
2760 This implementation contains a 'branch list editor' in a separate
2761 tab of the document settings dialog. Branches are user definable
2762 and have a "display colour" to distinguish them on-screen.
2764 ColorHandler was somewhat cleaned up.
2765 (1) make possible a dynamically growing LColor list by allowing
2766 the graphic context cache to grow along (vector);
2767 (2) eliminate an IMHO unnecessary step in colour allocation.
2769 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
2771 * BufferView_pimpl.C: compile fix
2773 2003-08-15 André Pönitz <poenitz@gmx.net>
2775 * rowpainter.C: remove extra metrics calls
2777 * lyxtext.h: merge the two constructors into a single one,
2778 pass reference to owner's par list
2780 * BufferView_pimpl.C:
2784 2003-08-15 André Pönitz <poenitz@gmx.net>
2786 * lyxrow_funcs.[Ch]:
2789 * paragraph_funcs.C:
2794 * text_funcs.C: split LyXText::rowlist_ into individual
2795 Paragraph::rows_ chunks
2798 * BufferView_pimpl.[Ch]:
2801 * text3.C: remove toggleSelection()
2803 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2805 * bufferlist.C: beautify two alerts (shorter text of buttons)
2806 * buffer.C: Remove redundant ' ' from message
2808 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2809 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2810 rename VALIGN_CENTER to VALIGN_MIDDLE
2812 2003-08-11 André Pönitz <poenitz@gmx.net>
2814 * lyxtext.h (getPar):
2815 * text.C: new function
2817 2003-08-11 André Pönitz <poenitz@gmx.net>
2820 * tracer.[Ch]: remove unneeded files
2822 * InsetList.[Ch]: remove resizeInsetsLyXText()
2827 * text3.C: merge insertParagraphs() and appendParagraph()
2828 remove breakAgain(), update()
2830 * BufferView_pimpl.[Ch]:
2831 * bufferview_funcs.[Ch]:
2835 * tabular.C: adjust after text & InsetList changes.
2837 2003-08-08 André Pönitz <poenitz@gmx.net>
2839 * text.C (insertChar, backspace): replace rowlist fiddling
2840 with rebreak of full par
2843 * text.C (breakAgainOneRow, redoHeightOfParagraph,
2844 checkParagraph, updateInset): removed
2846 2003-08-07 André Pönitz <poenitz@gmx.net>
2849 * text3.C: merge some LFUN handlers, remove dead code
2851 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2853 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2855 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
2857 * text2.C (DEPM): fix part of bug 1255 and 1256
2859 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2861 * BufferView_pimpl.C (workAreaDispatch): change to use
2862 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2863 that are no mouse related.
2865 2003-08-05 André Pönitz <poenitz@gmx.net>
2868 * BufferView_pimpl.[Ch]:
2869 * bufferview_funcs.C:
2871 * text3.C: rip out "deep update"
2873 * textcursor.[Ch] (last_sel_cursor): remove unused member
2875 2003-08-04 André Pönitz <poenitz@gmx.net>
2878 * BufferView_pimpl.[Ch]:
2879 * ParagraphParameters.C:
2880 * bufferview_funcs.C:
2886 * text3.C: replace "complicated" BufferView::update(...) calls with
2889 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2891 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
2893 * Makefile.am (lyx_SOURCES): add paper.h
2895 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2897 * Makefile.am: move things around so that both lyx-qt and
2898 lyx-xforms can be built (according to --with-frontend). Then lyx
2899 is a symbolic link to lyx-[firstfrontend]
2901 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2903 * Always use std::endl with lyxerr
2905 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
2907 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2909 2003-08-01 André Pönitz <poenitz@gmx.net>
2912 * BufferView_pimpl.[Ch]:
2914 * text3.C: merge BufferView::repaint() and BufferView::update()
2916 2003-08-01 José Matos <jamatos@lyx.org>
2918 * buffer.[Ch]: file_format is no longer a buffer data element.
2920 2003-08-01 André Pönitz <poenitz@gmx.net>
2925 * text2.C: make redoParagraph more independent of current cursor
2927 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2929 * text2.C: remove unneeded members
2931 2003-07-30 André Pönitz <poenitz@gmx.net>
2933 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2935 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2936 create a single function...
2938 * paragraph_funcs.C (moveItem): ... here.
2941 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2943 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2945 * LColor.[Ch]: Add comment and greyedout logical colors.
2947 2003-07-30 André Pönitz <poenitz@gmx.net>
2949 * tabular.C: don't use Assert too heavily. This crashes where it
2952 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
2954 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2955 is disabled (bug 1232)
2957 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2959 * factory.C: limited 'arg' scope
2961 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2963 * factory.C: fixed Note submenu issues
2965 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2967 * factory.C: submenu for Note/Comment/Greyedout
2969 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
2972 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2974 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2977 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2978 greyedout. Patch provided by Jürgen Spitzmüller.
2980 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2982 * kbmap.C (read): fix error message when reading bind files
2984 2003-07-29 Angus Leeming <leeming@lyx.org>
2986 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2987 certainly does not do what it purports to do. I am doing it, and
2988 us, a favour by killing it.
2990 2003-07-28 José Matos <jamatos@lyx.org>
2992 * buffer.C (readBody, do_writeFile):
2993 * paragraph.C(readParagraph): \end_document replaces \the_end.
2995 2003-07-29 André Pönitz <poenitz@gmx.net>
2998 * BufferView_pimpl.[Ch]:
3002 * textcursor.[Ch]: remove toggleToggle & Co
3004 2003-07-28 José Matos <jamatos@fep.up.pt>
3006 * buffer.C (readParagraph):
3007 * params_func (readParToken, readParagraph):
3008 * paragraph.C (write): \layout -> \begin_layout.
3010 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3012 * lyxlex_pimpl.C (setFile): clean up slightly.
3014 * bufferparams.h: add compressed var
3016 * buffer_funcs.C (readFile): adjust for LyXLex change
3017 (newFile): ditto + simplify
3019 * buffer.C (writeFile): handle writing of compressed files
3021 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3022 Check if the file is compressed and set a bufferparm if so.
3024 * Makefile.am (lyx_LDADD): remove explicit -lz
3026 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3028 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3029 makeDocBookFile): put the real LyX version in the first line of
3033 * version.C.in: remove lyx_docversion
3035 * tabular.C (write_attribute): add a template-based version to
3036 write enums properly
3038 2003-07-28 André Pönitz <poenitz@gmx.net>
3043 * text3.C: use doubles again for x-coordinates. They are needed.
3045 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3047 * messages.C (getLocaleDir): use lyx_localedir()
3049 * lyxlex_pimpl.C (setFile): compress stuff
3051 * buffer.C (writeFile): add some compression stuff
3052 (do_writeFile): new func, dont call expliti close... will this
3055 * Makefile.am (lyx_LDADD): add -lz
3057 2003-07-28 José Matos <jamatos@fep.up.pt>
3059 * buffer.C: increment file format.
3060 * paragraph_funcs (readParagraph, readParToken):
3061 * paragraph.C (readParagraph): add \end_layout.
3063 2003-07-27 Angus Leeming <leeming@lyx.org>
3065 * Makefile.am: remove special casing for configure-time setting of
3066 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3068 * lyx_main.C (init): remove all Jean-Marc's magic setting of
3069 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3071 2003-07-26 André Pönitz <poenitz@gmx.net>
3073 * paragraph_func.[Ch]:
3074 * paragraph.C (realizeFont): inline it whereever it is used
3079 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3082 2003-07-26 André Pönitz <poenitz@gmx.net>
3086 * text2.C: get rid of LyXText::need_break_row
3088 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3090 * toc.[Ch]: put namespace toc inside namespace lyx
3092 * MenuBackend.C (expandToc2): adjust for lyx::toc
3095 * lyxfunc.C (dispatch): adjust for lyx::find
3097 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3098 lyx::find instead. Reorganize a bit.
3099 (LyXReplace): rename to replace
3100 (LyXFind): rename to find
3102 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3105 2003-07-26 André Pönitz <poenitz@gmx.net>
3107 * text.C (setHeightOfRow): restrict scope of temporary variable
3109 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
3110 code (never has been used?)
3112 2003-07-27 Asger Alstrup <alstrup@local>
3114 * text.C (fill): Optimise algorithm to exploit that we can reuse
3115 the LyXFont for many characters.
3116 (setHeightOfRow): Same thing.
3117 (rowBreakPoint): Same thing.
3119 2003-07-26 Asger Alstrup <alstrup@local>
3121 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3123 * text.C (singleWidth): Spurious font copying in hot-spot
3124 singleWidth avoided. Reorder tests for arabic for efficiency.
3126 * text.C (fill): handle empty paragraphs better.
3128 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3131 * encoding.h: add includes
3133 * lyxrc.C: remove reading of bind files
3135 * lyx_main.C (init): setup bindings and menus only if we have a
3138 * kbmap.C (read): new method. Do the actual reading of bind
3141 * converter.C (dvipdfm_options):
3144 (output): adapt PAPER_* enums.
3146 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3148 * bufferparams.h: remove paper-related enums from there
3150 * paper.h: New file. A trivial header file to hold paper-related
3151 enums. It should later expand to contain many paper-related
3154 * lyxrc.C: declare extern displayTranslator
3156 2003-07-27 José Matos <jamatos@fep.up.pt>
3158 * tabular.[Ch] (linuxdoc): add support for tables and figures
3161 2003-07-27 José Matos <jamatos@fep.up.pt>
3163 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3164 consistency in both functions.
3165 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3167 2003-07-26 Asger Alstrup <alstrup@local>
3169 * rowpainter.C (paintRows): Change algorithm to work directly on
3170 the insets rather than asking every character in the document
3171 whether its an inset.
3173 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
3175 * buffer.C (openFileWrite): factorize some code
3177 2003-07-26 Angus Leeming <leeming@lyx.org>
3180 * lyx_main.[Ch]: replace occurances of system_tempdir with
3183 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3185 * rename Inset to InsetOld
3187 2003-07-25 Asger Alstrup <alstrup@diku.dk>
3189 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3190 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3191 which I think is a bit clearer. EDIT is gone, since it was
3192 premature optimisation, and broken for mathed anyway.
3193 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3194 with cursor positioning in insets as well (math insets still do not
3195 work, but that's a different story anyway.) It mysteriously
3196 crashes sometimes with undo in the first paragraph, but I'm fairly
3197 confident that this is a compiler bug.
3199 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3201 * paragraph.C (Paragraph): adjust for new clone return type
3203 (copyIntoMinibuffer): ditto
3205 2003-07-25 Asger Alstrup <alstrup@lyx.org>
3207 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3208 by not having a special case, and always doing a full rebreak of
3209 the document after undo.
3211 2003-07-23 Angus Leeming <leeming@lyx.org>
3213 * factory.C (createInset): InsetExternal::setParams now takes a
3216 2003-07-23 Angus Leeming <leeming@lyx.org>
3218 * factory.C (createInset): changed interface to the external and
3219 graphics mailers' string2params functions.
3221 2003-07-23 Angus Leeming <leeming@lyx.org>
3223 * factory.C (createInset): pass a
3224 Buffer const * parameter to InsetExternalMailer's string2params.
3226 2003-07-22 John Levon <levon@movementarian.org>
3228 * Thesaurus.h: include the right aiksaurus header
3230 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3232 * MenuBackend.C (expand): check menu shortcuts unconditionally
3234 2003-07-21 Angus Leeming <leeming@lyx.org>
3236 * factory.C (createInset): pass a
3237 buffer_path parameter to InsetGraphicsMailer's string2params.
3239 2003-07-21 Angus Leeming <leeming@lyx.org>
3241 * BufferView_pimpl.C (buffer):
3244 * lyxfunc.C (dispatch):
3245 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3246 rather than the grfx shortcut.
3248 2003-07-21 André Pönitz <poenitz@gmx.net>
3250 * rowpainter.C: remove unused variables
3253 * tabular_funcs.h: move to tabular.C
3254 * Makefile.am: adjust
3256 * tabular.[Ch]: basic optical cleaning
3258 * author.h: pass references, not values
3260 2003-07-18 André Pönitz <poenitz@gmx.net>
3268 * text3.C: two-phase drawing for InsetText and InsetTabular
3269 some float -> int changes.
3271 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3273 * lyx_main.C: fix the fix
3275 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3277 * lyx_main.C: fix a crash in batch mode if no files specified
3280 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
3282 * format.[Ch] (papersize): moved to BufferParams
3283 * converter.[Ch] (dvips_options): moved to BufferParams
3284 (dvipdfm_options): moved to anon namespace
3285 * bufferparams.[Ch]: added above functions.
3287 2003-07-17 André Pönitz <poenitz@gmx.net>
3291 * text2.C: don't call inset->update() anymore
3293 * metricsinfo.[Ch]: add convenience constructor
3295 2003-07-16 André Pönitz <poenitz@gmx.net>
3300 * text2.C: replace the LyXCursor::irow_ member with
3301 on-demand computation of the value
3303 2003-07-16 John Levon <levon@movementarian.org>
3305 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3307 2003-07-15 André Pönitz <poenitz@gmx.net>
3310 * text2.C: remove no more needed refresh_row
3312 2003-07-15 André Pönitz <poenitz@gmx.net>
3317 * text3.C: refresh_status tristate -> need_update bool
3319 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3321 * lyxtext.h (init): remove reinit argument (act as if always true)
3322 * text2.C: adjust to that
3324 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3326 * bufferview_funcs.[Ch]: introduce function replaceSelection()
3327 * text3.C: use it to delete selections in some cases
3328 (bugs 441, 673, 702, 954).
3330 2003-07-14 André Pönitz <poenitz@gmx.net>
3332 * rowpainter.[Ch]: reduce interface
3334 2003-07-14 André Pönitz <poenitz@gmx.net>
3336 * BufferView_pimpl.C:
3337 * text2.C: adjust after removing unused BufferView * argument
3339 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
3341 * text2.C (init): fix a crash fired on resize
3343 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
3345 * buffer.[Ch]: added new closing signal
3346 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3347 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3348 BufferView::Pimpl via the closing the signal
3350 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
3352 * buffer.[Ch]: take out all bv-related from buffer
3354 * BufferView_pimpl.[Ch]: connect to new signals
3355 * CutAndPaste.C: removed useless asserts
3356 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3359 * lyxfunc.C: moved view-related funciontality from vc here
3360 * paragraph.C: removed outdated comments
3363 2003-07-10 André Pönitz <poenitz@gmx.net>
3365 * BufferView_pimpl.C:
3369 * text2.C: remove InsetText::InnerCache, clean up consequences
3371 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3373 * ispell.C: fix two typos in error messages
3375 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
3377 * Extend Note inset to other forms of annotation like Comment
3378 and Greyedout. Right button click gives dialog.
3380 Files modified or added (+):
3384 * ControlNote.[Ch] +
3386 * Makefile.am in frontends/xforms, frontends/xforms/forms,
3387 frontends/controllers
3391 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3393 * aspell.C: add missing namespace lyx::support
3395 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
3397 * BufferView.[Ch] (newFile): Add
3398 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3399 * LaTeX.[Ch] (message): added this signal and use it
3400 * buffer.[Ch] (busy, message): added these signals and use them
3401 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3405 * importer.C: use buffer signals instead of direct bv calling
3406 * lyx_cb.[Ch] (ShowMessage): removed
3409 * paragraph_funcs.C:
3410 * text2.C: use buffer signals
3412 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3414 * introduce namespace lyx::graphics
3416 2003-07-02 André Pönitz <poenitz@gmx.net>
3418 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3420 2003-07-01 André Pönitz <poenitz@gmx.net>
3427 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3428 text*.C to text_func.C
3430 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3432 * introduce namespace lyx::support
3434 2003-06-30 André Pönitz <poenitz@gmx.net>
3439 * text.C: re-enable --with-included-string
3441 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3443 * textcursor.C: add <config.h>
3445 * text.C (getWord): remove const from word_location arg
3447 * lyxvc.C (getLogFile): fix const type order
3449 * lyxtext.h: remove const from word_location arg, add arg name
3451 * lyxlayout.h: currect type on labeltype.
3453 * importer.C: correct \file
3455 * converter.C (intToFormat): use std:: on ret val, ws changes
3457 * bufferlist.h: correct \file
3459 * buffer.C (makeLinuxDocFile): fix const type order
3460 (makeDocBookFile): ditto
3461 (fillWithBibKeys): use std:: on stdlib args.
3463 * CutAndPaste.C: fix authors.
3464 (availableSelections): use std:: on return vector
3466 2003-06-27 André Pönitz <poenitz@gmx.net>
3468 * BufferView_pimpl.C:
3469 * bufferview_funcs.C:
3477 * text3.C: remove LyXCursor::row_ member
3480 * text.C: rename fullRebreak() to partialRebreak() and implement
3481 a fullRebreak() that really bereks fully
3483 * textcursor.h: new struct for cursor-related data
3485 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
3487 * lyx_main.C (LyX): get full path of document loaded on the
3490 2003-06-26 André Pönitz <poenitz@gmx.net>
3492 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3493 remove unused/broken operator>,<,>=.
3495 * text.C: remove only use of broken operator<= in an Assert().
3497 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3499 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3500 moved errorlist_.clear to showErrorList
3502 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3504 * converter.C (scanLog, runLaTeX):
3505 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3506 move the bv->showErrorList call to the callers
3507 * lyxfunc.C: i.e. here...
3509 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3510 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3511 namespace, the second to...
3512 * buffer_funcs (BufferFormat, parseErrors): added
3513 * errorlist.C (ErrorList(TeXErrors const &)): removed
3515 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3517 * ToolbarBackend.C (getIcon): complain when icon cannot be found
3519 2003-06-24 "Garst R. Reese" <reese@isn.net>
3523 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3525 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3527 * version.C.in: change docversion to 1.4
3529 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
3531 * buffer.C: fix a bug just introduced
3533 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3535 * buffer.[Ch]: added the parseError signal and use it, removed
3537 * BufferView.[Ch] (addError): moved to ...
3538 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3539 to the Buffer::parseError signal to catch (guess what) parse errors
3540 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3542 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3544 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3545 ability to create a buffer and to return an existing one from
3546 the list. Moved these functions to...
3547 * buffer_funcs.[Ch]: added
3548 * BufferView.[Ch] (loadLyXFile): added
3549 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3550 job removed from bufferlist::loadLyXFile.
3551 * buffer.C (setReadOnly): make it work without view
3552 (i.e added an if (users))
3554 2003-06-19 Angus Leeming <leeming@lyx.org>
3557 * LyXAction.C (init):
3558 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3559 with LFUN_DIALOG_SHOW <name> <data>.
3561 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3563 * CutAndPaste.C (availableSelections): small compilation fix for
3564 ancient (gcc 2.9x) compilers
3566 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3568 * text3.C (cursorNext): add tmp var
3570 * text2.C (updateCounters): for function calling out of for clause
3571 (replaceSelectionWithString): ditto
3572 (insertStringAsParagraphs): ditto
3573 (getColumnNearX): add tmp var
3574 (setCursorFromCoordinates): add tmp var
3575 (cursorDownParagraph): add tmp var
3576 (deleteEmptyParagraphMechanism): add tmp var
3578 * text.C (insertChar): add tmp var
3580 * rowpainter.C (paintDepthBar): add tmp var
3582 * CutAndPaste.C (availableSelections): potentially check all
3583 paragraphs in a cut to fill the shown strings.
3585 2003-06-18 André Pönitz <poenitz@gmx.net>
3587 * kbmap.[Ch]: use vector<> instead of list<>
3589 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3591 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3592 pasteSelection with index
3594 * text2.C (pasteSelection): modify, call pasteSelection with index
3596 * paragraph.C (asString): reimplement version with no interval to
3597 call the one with interval.
3599 * lyxtext.h: add index arg to pasteSelection
3601 * MenuBackend.C (MenuItem): handle PasteRecent
3602 (Menu::read::Menutags): add md_pasterecent
3604 (expandPasteRecent): new function
3607 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3609 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3611 (availableSelections): new function
3613 2003-06-17 Angus Leeming <leeming@lyx.org>
3615 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3617 2003-06-17 Angus Leeming <leeming@lyx.org>
3620 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3622 * lyxfunc.C (dispatch): invoke it.
3624 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3626 * iterators.C (operator++, ParPosition): reintroduce some
3627 const_cast for the benefit of older compilers.
3629 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3631 * text3.C (dispatch): do not modify clipboard when doing
3632 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3633 LFUN_DELETE_SKIP on a selection selection
3635 2003-06-16 André Pönitz <poenitz@gmx.net>
3641 * tabular.[Ch]: IU of clone() and getLabelList();
3643 2003-06-13 André Pönitz <poenitz@gmx.net>
3645 * tabular.h: compactification
3647 2003-06-12 André Pönitz <poenitz@gmx.net>
3651 * tabular_funcs.h: some renaming plus whitespace
3653 2003-06-12 André Pönitz <poenitz@gmx.net>
3656 * BufferView_pimpl.C:
3662 * toc.C: Return a Paragraph & for ParIterator::operator*()
3664 2003-06-11 John Levon <levon@movementarian.org>
3668 * ToolbarBackend.C: add "Toolbars" section and
3671 2003-06-10 Angus Leeming <leeming@lyx.org>
3674 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3676 * lyxfunc.C (dispatch): invoke it.
3678 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3680 * main.C: protect <ios> with HAVE_IOS
3681 (main): protect sync_with_stdio with HAVE_IOS
3683 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3685 * text2.C (cutSelection): adjust
3686 (pasteSelection): adjust
3688 * messages.C: handle get of empty string
3690 * main.C (main): use sync_with_stdio(false)
3692 * lyxfunc.C (dispatch): adjust
3694 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3695 (WriteAs): remove unneeded BufferView arg.
3697 * bufferparams.h: use correct types on papersize, papersize2 and
3700 * bufferparams.C (readToken): adjust for type
3701 (writeLaTeX): add missing cases to switch.
3703 * bufferlist.C (quitWriteBuffer): adjust
3706 * buffer.C (asciiParagraph): remove some commented code.
3708 * CutAndPaste.C: remove current_view extern variable.
3709 (cutSelection): add BufferParams arg.
3710 (eraseSelection): add BufferParams arg.
3711 (pasteSelection): add Buffer const & arg
3713 2003-06-07 John Levon <levon@movementarian.org>
3716 * paragraph_funcs.C:
3717 * paragraph_pimpl.C:
3721 * paragraph.C: allow InsetERT to freely space lines,
3722 and some consolidation of code
3724 2003-06-06 José Matos <jamatos@fep.up.pt>
3726 * buffer.C (makeDocBookFile): fix bug #821
3728 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3730 * BufferView_pimpl.C (dispatch): use Dialogs::visible
3732 2003-06-04 Angus Leeming <leeming@lyx.org>
3734 * buffer.C: bump format to 224.
3736 2003-06-05 André Pönitz <poenitz@gmx.net>
3738 * text2.C (redoParagraphs): remove two const_cast<>
3740 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3742 * ParagraphList.h: remove last remnants of NO_STD_LIST
3744 2003-06-03 Angus Leeming <leeming@lyx.org>
3746 * factory.C (createInset): small change to the way InsetExternal's params
3749 2003-06-04 André Pönitz <poenitz@gmx.net>
3751 * buffer.h: use Undo directly instead of shared_ptr<Undo>
3753 * paragraph_pimpl.h:
3754 * paragraph.[Ch]: some Inset -> UpdatableInset changes
3756 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3758 * undo_funcs.C: make some simple cases of undo work again
3760 2003-06-03 John Levon <levon@movementarian.org>
3762 * ispell.C: HPUX doesn't have sys/select.h
3765 2003-06-03 John Levon <levon@movementarian.org>
3767 * CutAndPaste.C: update tabular and include inset
3772 * paragraph.C: remove owningBuffer(), don't pass Buffer
3775 * factory.C: insetGraphicsParams changed
3777 2003-06-02 John Levon <levon@movementarian.org>
3783 * text3.C: remove insetparent
3785 2003-06-02 John Levon <levon@movementarian.org>
3788 * buffer.C: fix inset_iterator.end(), move out of line
3791 2003-06-01 John Levon <levon@movementarian.org>
3793 * text3.C: use a proper cut/paste when doing inset
3794 insert (from Jürgen Spitzmüller)
3796 2003-06-01 John Levon <levon@movementarian.org>
3798 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3800 2003-05-30 André Pönitz <poenitz@gmx.net>
3802 * rowpainter.C: unify second drawing phase
3804 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3806 * trans_mgr.C: remove one case of current_view
3808 * text2.C (cursorBottom): delete NO_STD_LIST stuff
3810 * paragraph_funcs.h: remove paragraph.h include
3812 * paragraph.h: delete NO_STD_LIST stuff
3814 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3816 * buffer.h: remove paragraph.h include
3818 * ParagraphList.C: delete file
3820 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3822 * toc.C (getTocList): adjust
3824 * paragraph_pimpl.C (validate): adjust
3826 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3828 * paragraph.C (Paragraph): adjust
3829 (getPositionOfInset): use const_iterator, adjust
3830 (bibitem): use const_iterator, adjust
3831 (setInsetOwner): adjust
3833 * iterators.C (operator++): adjust
3835 * InsetList.[Ch]: Replace selfmade iterator with standard
3836 vector::iterator also introduce const_iterator. Remove getPos,
3837 getInset and setInset from InsetTable. Adjust accordingly.
3839 * BufferView.C (lockInset): adjust
3840 (ChangeInsets): adjust
3842 * tabular.[Ch]: delete commented same_id functions
3844 2003-05-28 John Levon <levon@movementarian.org>
3846 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3848 2003-05-28 André Pönitz <poenitz@gmx.net>
3850 * metricsinfo.[Ch]: remove 'fullredraw' member
3852 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
3854 * lyxtextclass.C (operator): remove caching.
3856 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3860 * text2.C (cursorBottom): adjust
3861 (setCounter): use ParagraphList::find, adjust
3863 * text.C (workWidth): use ParagraphList::find, adjust
3865 * lyxcursor.C (LyXCursor): adjust
3867 * buffer.C (inset_iterator): adjust
3869 * ParagraphList.h: make iterator(value_type) private, make
3870 ParagraphList a friend of iterator.
3872 * ParagraphList.C (find): new function
3874 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3876 2003-05-27 André Pönitz <poenitz@gmx.net>
3878 * dimension.[Ch]: a -> asc, d -> des, w -> wid
3880 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3882 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3884 2003-05-26 John Levon <levon@movementarian.org>
3886 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3888 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3890 * remove same_id from function signatures, adjust.
3892 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3894 * undo_funcs.C (createUndo): use the id functions directly, adjust.
3896 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3898 * paragraph.C (Paragraph): get rid of same_ids parameter
3900 * ParagraphList.C (insert): adjust
3903 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3905 * paragraph_funcs.C (breakParagraph): adjust
3906 (breakParagraphConservative): adjust
3908 * buffer.C (readParagraph): adjust
3910 * ParagraphList.C (insert): take a reference instead of a pointer
3913 * paragraph.[Ch] (id): new function
3915 * bufferlist.C (newFile): adjust
3917 * ParagraphList.C (ParagraphList): adjust
3919 (push_back): take a reference instead of a pointer.
3921 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3923 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3926 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3927 set else use old code.
3929 * ParagraphList.C: remove all NO_NEXT code and only compile this
3930 code of NO_STD_LIST is set.
3932 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3934 * BufferView_pimpl.C:
3944 * graphics/GraphicsConverter.C:
3945 * graphics/PreviewLoader.C: header adjustment
3947 2003-05-23 Angus Leeming <leeming@lyx.org>
3949 * LaTeXFeatures.[Ch] (useBabel): new method.
3950 * bufferparams.C (writeLaTeX): use it.
3952 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3954 * ParagraphList.h (set): remove unused function.
3956 2003-05-23 André Pönitz <poenitz@gmx.net>
3959 * BufferView_pimpl.C:
3963 * undo_funcs.C: setUndo reworked
3965 * iterators.[Ch]: add access to topmost ParagraphList
3967 * lyxtext.[Ch] (workWidth): add a const
3969 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3971 * texrow.[Ch] (increasePos): remove function
3972 * exporter.C (export): removed unused var and outdated comment
3974 2003-05-23 Angus Leeming <leeming@lyx.org>
3976 * latexrunparams.h: rename fragile as moving_arg.
3977 * paragraph.C (simpleTeXOnePar): ditto.
3978 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3980 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3982 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3984 (textUndoOrRedo): comment out a currently unused var.
3986 * paragraph.h (NO_NEXT): enable NO_NEXT
3988 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3990 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3992 * exporter.C (Export): adjust for removeAutoInsets removal.
3994 * buffer.C (runChktex): adjust for removeAutoInsets removal.
3996 * LyXAction.C (init): remove LFUN_REMOVEERRORS
3998 * BufferView.[Ch] (removeAutoInsets): delete function
4000 2003-05-22 Angus Leeming <leeming@lyx.org>
4002 * latexrunparams.h: add a free_spacing variable.
4004 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4005 to pass moving_arg, as the data is stored in runparams.fragile.
4007 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4008 to Inset::latexOptional or to simpleTeXOnePar.
4010 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4011 free_spacing arg to Inset::latexOptional.
4013 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4016 2003-05-22 Angus Leeming <leeming@lyx.org>
4018 * latexrunparams.h: add fragile and use_babel variables.
4020 * bufferparams.[Ch] (writeLaTeX): return use_babel.
4021 * buffer.C (makeLaTeXFile): store this returned value in
4022 runparams.use_babel, thus passing it to the inset::latex methods.
4024 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4025 simpleTeXSpecialChars as it is now stored in runparams.fragile.
4027 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4028 longer has a fragile arg, as it is stored in runparams.fragile.
4030 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4031 moving_arg parameter as the data is stored in runparams.fragile.
4033 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4034 a fragile parameter as the data is stored in runparams.fragile.
4036 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4038 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4040 2003-05-22 Angus Leeming <leeming@lyx.org>
4042 * latexrunparams.h: add a 'bool nice' which defaults to false.
4044 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4045 now encapsulated within runparams.
4047 * bufferlist.C (updateIncludedTeXfiles):
4048 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4050 2003-05-22 Angus Leeming <leeming@lyx.org>
4052 * latexrunparams.h: new file containing struct LatexRunParams.
4053 * Makefile.am: add new file.
4055 * LaTeX.[Ch] (c-tor, run):
4056 * buffer.[Ch] (makeLaTeXFile):
4057 * bufferlist.[Ch] (updateIncludedTeXfiles):
4058 * converter.C (convert, scanLog):
4059 * converter.[Ch] (runLaTeX):
4060 * exporter.C (Export):
4061 * paragraph.[Ch] (simpleTeXOnePar):
4062 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4063 * paragraph_funcs.[Ch] (latexParagraphs):
4064 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4065 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4066 pass around a LatexRunParams parameter.
4068 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4070 * paragraph.[Ch]: remove unused constructor
4072 * ParagraphList.C (erase): new function, taking two iterators
4074 2003-05-22 André Pönitz <poenitz@gmx.net>
4076 * undo_funcs.C: remove duplicated code
4078 * iterator.[Ch]: operator=
4080 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4082 * tabular.C (SetMultiColumn): ws changes
4084 * rowpainter.C (paintFirst): get rid of a ->previous
4086 * lyx_cb.C (getPossibleLabel): parlist simplification
4088 * BufferView.C (ChangeInsets): simplify slightly.
4090 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4092 * LyXAction.C: new lfun space-insert, kill protected-space-insert
4093 * lfuns.h: new LFUN_SPACE
4094 * lyxfunc.C: protected space has a new lfun
4095 * paragraph_funcs.C: read new space insets
4097 * factory.C: handle new space insets
4099 2003-05-22 André Pönitz <poenitz@gmx.net>
4102 * BufferView_pimpl.C:
4105 * undo_funcs.C: return a ParIterator from getParFromID.
4107 * iterators.[Ch]: add two const's
4109 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4111 * toc.C (getTocList): adjust
4113 * iterators.[Ch]: rework for parlist
4115 * buffer.C (par_iterator_begin): adjust
4116 (par_iterator_end): adjust
4118 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4120 * BufferView.C (removeAutoInsets): adjust
4121 (ChangeInsets): adjust
4123 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
4125 * text.C (top_y): fix bug 1110
4127 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
4129 * errorlist.[Ch]: added
4132 * BufferView_pimpl.C:
4133 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4136 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4138 * Makefile.am: ensure that lyx is relinked upon changes to the
4139 various "convenience" libs.
4141 2003-05-20 Angus Leeming <leeming@lyx.org>
4143 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4144 files are compiled in alphabetical order again.
4146 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4148 2003-05-19 Angus Leeming <leeming@lyx.org>
4150 * gettext.[Ch]: remove "char const * _(char const *)".
4152 2003-05-19 André Pönitz <poenitz@gmx.net>
4154 * dimension.[Ch]: promote from mathed/dimension.[Ch]
4163 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4165 2003-05-19 André Pönitz <poenitz@gmx.net>
4169 * lyxtextclass.[Ch]:
4171 * paragraph_funcs.[Ch]:
4173 * text3.C: more insetenv work
4175 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
4177 * ParagraphParameters.C (params2string): small bug fixed
4179 2003-05-16 André Pönitz <poenitz@gmx.net>
4182 * bufferview_funcs.C: patch from Kornel Benko to prevent
4183 crash when _(...) is called twice in a statement
4185 2003-05-16 André Pönitz <poenitz@gmx.net>
4192 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4194 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
4196 * lyx_main.C (init): remove spurious static_cast
4198 2003-05-14 André Pönitz <poenitz@gmx.net>
4200 * BufferView.C: fix format string
4202 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
4204 * BufferView.[Ch] (insertErrors): removed
4205 * BufferView.[Ch] (showErrorList): added
4206 * buffer.C (runChkTeX):
4207 * converter.C (scanLog): call showErrorList instead of inserterrors
4209 2003-05-13 André Pönitz <poenitz@gmx.net>
4211 * BufferView_pimpl.C:
4213 * bufferview_func.C:
4220 * tabular_funcs.h: tostr() from its own header
4222 * ParagraphParameters.C:
4227 * text3.C: STRCONV()
4229 2003-05-12 André Pönitz <poenitz@gmx.net>
4232 * BufferView_pimpl.C:
4236 * ParagraphParameters.C:
4240 * bufferview_funcs.C:
4253 * paragraph_funcs.C:
4257 * text3.C: boost::format -> bformat all over the place
4260 2003-05-09 André Pönitz <poenitz@gmx.net>
4262 * LColor.[Ch]: Pimpl the #include <map> away
4264 2003-05-09 John Levon <levon@movementarian.org>
4266 * bufferlist.C: never remove emergency saves
4268 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4270 * Makefile.am: better lib building
4272 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4274 * texrow.[Ch]: remove dependency on Paragraph and just store a id
4276 * paragraph_pimpl.C (simpleTeXBlanks): adjust
4277 (simpleTeXSpecialChars): adjust
4278 (simpleTeXSpecialChars): adjust
4279 * paragraph.C (simpleTeXOnePar): adjust
4280 * buffer.C (makeLaTeXFile): adjust
4282 * Makefile.am (BOOST_LIBS): allow boost as system lib.
4284 * text2.C (changeDepth): parlist cleanup
4285 (getColumnNearX): ditto
4287 * rowpainter.C (getLabelFont): parlist cleanup
4289 * bufferlist.C (newFile): parlist cleanup
4291 * CutAndPaste.C (eraseSelection): parlist cleanup
4293 * BufferView_pimpl.C (trackChanges): parlist cleanup
4296 * BufferView.C (lockInset): parlist cleanup.
4297 (ChangeInsets): ditto
4299 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4301 * CutAndPaste.h: Update file header.
4303 * CutAndPaste.C: Update file header.
4304 Store the parts cut out of the Document in a limited_stack.
4305 (copySelection): adjust
4306 (pasteSelection): new function, takes the index in the limited stack.
4307 (nrOfParagraphs): adjust
4308 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4309 simplify error inset insertion.
4310 (checkPastePossible): adjust
4312 2003-05-06 John Levon <levon@movementarian.org>
4314 * text2.C: don't cast wrap inset to float
4316 2003-05-05 André Pönitz <poenitz@gmx.net>
4319 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4321 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4322 few naked Paragraph *.
4324 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
4326 * bufferparams.C: Output warning if a document with missing
4327 TeX document class is loaded
4328 * exporter.C: Disable TeX exports if the document class is missing
4331 * lyxtextclasslist.C: Handle new textclass.lst format; new method
4332 isTeXClassAvailable()
4334 2003-05-03 John Levon <levon@movementarian.org>
4337 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4338 explicit cursor show/hide
4340 * BufferView_pimpl.h:
4341 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4342 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4344 * lyxfunc.C: hide cursor before dispatching.
4349 * text3.C: remove explicit cursor hides
4351 2003-05-02 André Pönitz <poenitz@gmx.net>
4353 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4356 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4359 * text2.C: tiny whitespace
4361 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4363 * undo_funcs.C: almost only ws changes.
4365 * ParagraphList.C (splice): just return if pl is empty.
4367 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4369 * ParagraphList.C (splice): new function.
4371 * CutAndPaste.C (pasteSelection): use it
4373 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4375 * CutAndPaste.C (pasteSelection): remove the last next and
4376 previous from this file.
4378 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4380 * CutAndPaste.C (pasteSelection): more clean up, user proper
4381 ParagraphList functions for pasteing.
4383 * ParagraphList.C (insert): new function, three arg insert
4385 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4387 * ParagraphList.C (insert): new function, three arg insert
4389 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4392 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4394 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4396 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4398 * CutAndPaste.C (pasteSelection): remove some unneeded code.
4400 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4402 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4403 (copySelection): clean up a bit.
4404 (pasteSelection): use make_pair
4406 * ParagraphList.C (ParagraphList): implement copy constructor
4407 (operator=): implement, base on copy constructor.
4410 * paragraph.C (erase): return a bool
4412 * paragraph_pimpl.C (erasePos): remove function, move contents...
4413 (erase): ... here. Return a bool.
4414 (erase): call erase instead of erasePos.
4416 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
4418 * ParagraphList.h: define PitPosPair
4419 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4420 ParagraphList, fix a bug on pasting multiple pars
4421 * text2.C: change interface to C&P
4423 2003-04-30 André Pönitz <poenitz@gmx.net>
4425 * undo_func.C: revert part of yesterday's patch 2
4427 2003-04-30 John Levon <levon@movementarian.org>
4429 * LColor.C: s/tabular/table/
4431 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4433 * text3.C (dispatch): do not convert iterator -> pointer
4434 * undo_funcs.C (setCursorParUndo): ditto
4435 * text_funcs.C (transposeChars): ditto
4437 * text2.C (setLayout): ws changes only
4439 * text.C (breakParagraph): do not convert iterator -> pointer
4441 (acceptChange): ditto
4442 (rejectChange): ditto
4447 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4450 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4452 * text3.C (gotoInset): YABG (yet another bad getChar)
4454 2003-04-29 André Pönitz <poenitz@gmx.net>
4456 * paragraph.h: make operator= private unimplemented as long as
4459 * ParagraphList.C: whitespace
4462 * paragraph_pimpl.[Ch]:
4463 * paragraph_funcs.C:
4465 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
4468 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4470 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4472 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4473 * paragraph.[Ch] (erase):
4474 * paragraph_pimpl.[Ch] (erase): change return type and value
4475 * text2.C (cutSelection): some rework
4477 2003-04-28 John Levon <levon@movementarian.org>
4479 * bufferlist.C: changes for unsaved changes dialog
4481 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4483 * bufferlist.C (newFile): set language (messages_) for new
4486 * buffer.C (readFile): ws changes only.
4488 2003-04-28 André Pönitz <poenitz@gmx.net>
4493 * BufferView_pimpl.C:
4494 * BufferView.C: getParFromID related ParagraphList::iterator changes
4496 2003-04-28 André Pönitz <poenitz@gmx.net>
4498 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4501 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4503 * messages.C: remove one more localedir class variable.
4505 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4507 * messages.C (getLocaleDir): singleton generation function
4509 (Messages): add a default constructor.
4511 * main.C (main): do not setup localedir here, do not call
4514 * gettext.C (_): use it.
4515 (gettext_init): delete funciton
4517 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4519 * gettext.C (getLyXMessages): new singleton generating function.
4521 * buffer.C (updateDocLang): adjust
4523 * Makefile.am (messages.o): add target
4524 (main.o): remove target
4526 2003-04-27 John Levon <levon@movementarian.org>
4531 * lyxvc.C: specify cancel button in Alert::prompt
4533 2003-04-26 John Levon <levon@movementarian.org>
4538 * LyXAction.C: add LFUN_INSET_SETTINGS
4540 * lyxfunc.C: don't enable tabular-feature when there's
4541 just any locking inset
4543 2003-04-26 John Levon <levon@movementarian.org>
4545 * bufferlist.C: re-add Cancel to buffer close question
4547 * lyxfunc.C: fix import UI a bit
4549 2003-04-25 John Levon <levon@movementarian.org>
4551 * gettext.C: remove the broken asserts for now
4553 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4555 * messages.C: make case where setlocale cannot comply work better.
4557 * buffer.C (updateDocLang): new function
4558 (changeLanguage): use it
4561 * text2.C (setCounter): use B_ a bit.
4563 * lyxlayout.C (Read): be sure to trim the label strings.
4565 * messages.C (Messages): fix typo in comment
4567 * buffer.C (readFile): set message_ after file is loaded.
4568 (makeDocBookFile): remove double return
4569 (changeLanguage): reset message_ upon language change.
4570 (B_): new func, use this to get translated buffer strings.
4572 * main.C: add myself and Jean Marc as authors.
4574 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4576 * messages.[hC]: pimplify Messages, and three different pimpls to be
4577 used in different circumstances.
4579 * gettext.[Ch]: change for use with new message code.
4581 2003-04-24 André Pönitz <poenitz@gmx.net>
4583 * factory.C: support for eqref
4585 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4587 * messages.[Ch]: add missing char
4589 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4591 * messages.[Ch]: New files
4593 2003-04-18 John Levon <levon@movementarian.org>
4597 * BufferView_pimpl.C:
4601 * text2.C: remove layout-copy/paste (bug 778)
4603 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4605 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4607 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4609 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4610 if they succeed. Act accordingly.
4612 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4614 * text2.C (setCharFont): adjust
4615 (setCounter): adjust
4616 (insertStringAsLines): adjust
4618 * text.C (leftMargin): adjust
4619 (setHeightOfRow): adjust
4621 * rowpainter.C (paintFirst): adjust
4624 * paragraph_funcs.C (depthHook): ParagraphList::iterators
4626 (isFirstInSequence): ditto
4627 (getEndLabel): ditto
4630 * paragraph.C (getParLanguage): comment out some hard stuff.
4632 * buffer.C (insertStringAsLines): take a ParagraphList as arg
4634 (simpleDocBookOnePar): ditto
4635 (makeDocBookFile): use ParagraphList::iterator
4637 * CutAndPaste.C (pasteSelection): adjust
4639 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4641 * text2.C (getFont): adjust
4642 (getLayoutFont): adjust
4643 (getLabelFont): adjust
4645 * paragraph_funcs.C (TeXOnePar): adjust
4647 * buffer.C (simpleLinuxDocOnePar): adjust
4648 (simpleDocBookOnePar): adjust
4650 * CutAndPaste.C (pasteSelection): adjust
4652 * BufferView.C (getEncoding): adjust
4654 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4656 2003-04-16 John Levon <levon@movementarian.org>
4658 * lyxfind.C: use parlist stuff for search/changes
4660 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4662 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4664 * text2.C (deleteEmptyParagraphMechanism): adjust
4666 * text2.[Ch] (ownerParagraph): delete func (both of them
4668 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4670 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4672 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4674 * ParagraphList.C: prepare for NO_NEXT
4676 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4678 * text2.C (getFont): adjust
4679 (getLayoutFont): adjust
4680 (getLabelFont): adjust
4682 * paragraph.C (getFont): adjust
4683 (getLabelFont): adjust
4684 (getLayoutFont): adjust
4686 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4688 2003-04-15 John Levon <levon@movementarian.org>
4692 * lyx_main.C: handle Include in .ui files
4694 2003-04-15 John Levon <levon@movementarian.org>
4696 * MenuBackend.C: make the doc files length shorter
4699 * ToolbarBackend.C: handle toolbar placement flags,
4702 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4704 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4707 * paragraph_funcs.C (TeXOnePar): adjust
4709 * paragraph.C (getLabelFont): add outerfont arg, adjust
4710 (getLayoutFont): ditto
4711 (simpleTeXOnePar): adjust
4713 * paragraph_pimpl.C (realizeFont): delete func
4715 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
4717 * text2.C (beforeFullRowInset): added a bad getchar check, removed
4718 row argument, constify cur argument.
4720 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4722 * text2.C (getFont): adjust
4723 (getLayoutFont): adjust
4724 (getLabelFont): adjust
4726 * paragraph_funcs.C (TeXOnePar): adjust
4727 (outerFont): new func...
4728 (realizeFont): ...moved out from here, changed this to facilitate
4731 * paragraph.C (getFont): take outerfont as arg, adjust
4732 (simpleTeXOnePar): add outerfont arg, adjust
4734 * buffer.C (simpleLinuxDocOnePar): adjust
4735 (simpleDocBookOnePar): adjust
4737 * CutAndPaste.C (pasteSelection): adjust
4739 * BufferView.C (getEncoding): adjust
4741 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4743 * text2.C (setCharFont): adjust
4744 (setCounter): adjust
4746 * text.C (leftMargin): adjust
4747 (setHeightOfRow): adjust
4749 * rowpainter.C (paintFirst): adjust
4752 * paragraph_pimpl.C (realizeFont): adjust
4754 * paragraph.C (isFirstInSequence): move from here...
4755 * paragraph_funcs.C (isFirstInSequence): ...to here
4757 * paragraph.C (outerHook): move from here...
4758 * paragraph_funcs.C (outerHook): ...to here
4760 * paragraph.C (depthHook): move from here...
4761 * paragraph_funcs.C (depthHook): ...to here
4763 * paragraph.C (getEndLabel): move from here...
4764 * paragraph_funcs.C (getEndLabel): ...to here
4766 * text2.C (realizeFont): move from here...
4767 * paragraph_funcs.C (realizeFont): ...to here
4769 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4771 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4773 2003-04-14 Angus Leeming <leeming@lyx.org>
4775 * LColor.[Ch]: scrap LColor mathcursor.
4777 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4779 * lyxlex.[Ch] (text): delete function
4780 * trans.C (Load): adjust
4781 * paragraph_funcs.C (readParToken): adjust
4783 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4785 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4786 vector<char> instead of a char[].
4788 * lyxlex_pimpl.C (getString): adjust
4790 (lex): use getString
4794 * lyxlex.C (text): use pimpl_->getString()
4798 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4800 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4801 (makeFontEntriesLayoutSpecific): temp var for par.size()
4802 (setLayout): temp var for ownerParagraphs().end()
4803 (fullRebreak): temp var for rows().end()
4804 (selectionAsString): temp var for boost::next(startpit), realize
4805 that the while really is a regular for loop.
4806 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4807 setCursor in one place.
4808 (setParagraph): temp vr for ownerParagraphs().end()
4809 (updateCounters): make the while loop a for loop
4810 (cutSelection): temp var for ownerParagraphs().end()
4811 (updateInset): make the do {} while() a regular for loop
4812 (getCursorX): use temp vars
4813 (setCurrentFont): use temp vars
4814 (getColumnNearX): use temp vars
4816 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4818 * text.C (transformChar): use temp var for getChar
4819 (computeBidiTables): use temp var for row->par()
4820 (fill): move temp vars for row->par() and pit->layout() earlier in
4822 (labelFill): use temp var for row->par()
4823 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4824 asc and desc, realize that pit never changes and that firstpit is
4825 just a duplicate and not needed. Exchange rit->par() with pit in a
4827 (breakAgain): use a temp var for boost::next(rit)
4828 (breakAgainOneRow): ditto
4829 (breakParagraph): use a temp var for rows().begin()
4830 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4831 (cursorRightOneWord): use temp var for cursor.par() and
4832 cursor.pos(), remove usage of tmpcursor.
4833 (cursorLeftOneWord): use temp var for cursor.par() and
4834 cursor.pos() only set cur at end of function.
4836 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4838 * text.C, text2.C: exchange all usage of Paragraph::next with
4839 boost::next(ParagraphList::iterator)
4841 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4843 * text2.C (cursorTop): simplify implementation
4844 (cursorBottom): ditto
4845 (setParagraph): use ParagraphList::iterator
4846 (setCurrentFont): adjust
4847 (getColumnNearX): adjust
4848 (cursorRight): adjust
4849 (cursorLeft): remove usage of Paragraph::previous
4850 (cursorUpParagraph): ditto
4851 (deleteEmptyParagraphMechanism): slight cleanup
4853 * text.C (isBoundary): take a Paragraph const & instead of a
4855 (addressBreakPoint): ditto
4856 (leftMargin): remove usage of Paragraph::previous.
4857 (setHeightOfRow): ditto
4858 (cursorLeftOneWord): ditto
4859 (selectNextWordToSpellcheck): ditto
4862 (breakParagraph): remove one usage of Paragraph::next
4863 (redoParagraph): ditto
4864 (acceptChange): ditto
4865 (insertChar): adjust
4866 (rowBreakPoint): adjust
4868 * bufferview_funcs.C (toggleAndShow): adjust
4870 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
4872 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4873 methods to access it.
4875 * text.C: Added updateRowPositions to compute all row positions.
4876 Make top_y and getRowNearY() to use the cached y position
4878 2003-04-11 John Levon <levon@movementarian.org>
4880 * text.C (rowBreakPoint): reintroduce the labelEnd
4881 checks, code copied from the row fill stuff. Deep voodoo.
4883 * text.C (fill): add a comment and debugging for the
4886 2003-04-11 John Levon <levon@movementarian.org>
4888 * text.C: make sure fullrow insets get wrapped to the next line,
4889 even when they're in a manual label
4891 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4893 * text2.C (insertParagraph): make it take ParagraphList::iterator
4895 (setLayout): make it return ParagraphList::iterator
4896 (redoParagraphs): ditto
4898 (checkParagraph): ditto
4900 * text.C (getRow): make getrow take ParagraphList::iterator as arg
4902 * text2.C: adjust several funcs.
4903 (realizeFont): take a ParagraphList::iterator as arg.
4904 (getLayoutFont): ditto
4905 (getLabelFont): ditto
4906 (setCharFont): ditto
4908 * text.C: adjust several funcs.
4910 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4912 * text.C (selectNextWordToSpellcheck): don't accidentally
4915 2003-04-10 John Levon <levon@movementarian.org>
4917 * ToolbarBackend.C (getIcon): special handling for
4920 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4922 * text2.C (cursorRight): a getChar assert fixed
4924 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4926 * text2.C (getFont): change to take a ParagraphList::iterator
4927 instead of Paragraph*
4928 Adjust several functions.
4930 * text.C (transformChar): change to take a ParagraphList::iterator
4931 instead of Paragraph*
4932 (singleWidth): ditto
4933 Adjust several functions.
4935 * rowpainter.C: adjust several functions
4936 * rowpainter.h:store a ParagraphList::iterator and not a
4940 2003-04-09 John Levon <levon@movementarian.org>
4945 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4946 and the "help" bits as well
4948 2003-04-09 John Levon <levon@movementarian.org>
4951 * ToolbarBackend.C: allow multiple toolbars
4953 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4955 * undo_funcs.C (setCursorParUndo): adjust
4957 * text_funcs.C (transposeChars): adjust
4959 * text3.C (gotoNextInset): adjust
4962 * text2.C (setLayout): adjust
4963 (changeDepth): adjust
4965 (redoParagraphs): adjust
4966 (selectionAsString): adjust
4967 (setParagraph): adjust
4968 (insertInset): adjust
4969 (cutSelection): adjust
4970 (copySelection): adjust
4971 (pasteSelection): adjust
4972 (insertStringAsLines): adjust
4973 (updateInset): adjust
4974 (setCursor): change to take a ParagraphList::iterator parameter
4975 (setCursorIntern): change to take a ParagraphList::iterator parameter
4976 (setCurrentFont): adjust
4977 (cursorLeft): adjust
4978 (cursorRight): adjust
4979 (deleteEmptyParagraphMechanism): adjust
4981 * text.C (breakParagraph): adjust
4982 (insertChar): adjust
4983 (acceptChange): adjust
4984 (rejectChange): adjust
4985 (selectNextWordToSpellcheck): adjust
4986 (changeCase): adjust
4990 * lyxfind.C (SearchForward): adjust
4991 (SearchBackward): adjust
4992 (nextChange): adjust
4994 * lyxcursor.C (par): adjust
4996 * lyxcursor.h: store a ParagraphList::iterator instead of a
4999 * lyx_cb.C (getPossibleLabel): adjust
5001 * bufferview_funcs.C (toggleAndShow): adjust
5003 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5006 * BufferView.C (removeAutoInsets): adjust
5007 (lockedInsetStoreUndo): adjust
5009 2003-04-09 John Levon <levon@movementarian.org>
5011 * ToolbarBackend.C: try icon without argument
5012 if with argument fails
5014 2003-04-08 John Levon <levon@movementarian.org>
5017 * ToolbarBackend.C: add getIcon(), handle tooltip,
5018 and change from "Icon" to "Item".
5020 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5022 * BufferView.C (lockInset): another bad getchar crunched
5024 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5026 * text2.C (changeDepth): do not setUndo on test_only (make undo work
5029 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
5031 * lyxfind.C (searchForward, searchBackwards): bug 782
5033 2003-04-07 John Levon <levon@movementarian.org>
5035 * paragraph.C: remove dead comment
5037 * text.C: remove troublesome depth-fiddling code
5038 in leftMargin() and rightMargin() (bug 1017)
5040 * text.C: fix breaking of rows in nested lists
5043 * text2.C (updateCounters): fix up depth values
5046 2003-04-07 John Levon <levon@movementarian.org>
5048 * BufferView_pimpl.C: clear message when doc finishes resizing,
5049 and after a mouse event
5051 * lyxfunc.C: clear message after exiting inset
5053 2003-04-07 John Levon <levon@movementarian.org>
5055 * bufferview_funcs.C: show math status not outside
5056 status in the statusbar
5058 2003-04-07 John Levon <levon@movementarian.org>
5060 * lyxfunc.C: note status changed after a depth change
5062 2003-04-04 Angus Leeming <leeming@lyx.org>
5064 * LaTeX.h: move AuxInfo operator==, != out of line.
5065 Remove LaTeX virtual destructor; nothing derives from it.
5066 Move operator()() out of public area and rename it startscript().
5067 Change protected for private.
5069 2003-04-04 Angus Leeming <leeming@lyx.org>
5072 * text2.C: remove unneeded #includes.
5074 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5076 * text2.C (dEPM): fix the heigth of the next row
5078 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5080 * text.C: squashed an invalid getChar requester + some ws changes
5082 2003-04-03 John Levon <levon@movementarian.org>
5084 * bufferview_funcs.h:
5085 * bufferview_funcs.C:
5088 * text2.C: make getStatus work for the env depth lfuns
5090 2003-04-03 John Levon <levon@movementarian.org>
5092 * bufferview_funcs.h:
5093 * bufferview_funcs.C:
5096 * text2.C: parlistize decDepth(), by merging it with incDepth()
5098 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5100 * lyxrow.h: store a ParagraphList::iterator instead of a
5101 Paragraph* and adjust other class functions to suit.
5103 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5106 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5108 * text2.C (setCursor): do not anchor to cursor row for the time being
5110 2003-04-02 John Levon <levon@movementarian.org>
5117 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5119 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5121 * paragraph.h: make ParagraphList and ParagraphList::iterator
5122 friends of Paragraph.
5124 * buffer.C (makeLinuxDocFile): move towards ParagraphList
5126 * ParagraphList.C: Use the private next_ and previous_ from
5129 2003-04-01 John Levon <levon@movementarian.org>
5133 * Makefile.am: rename, remove defaults gunk
5136 * MenuBackend.C: remove defaults gunk
5139 * Languages.C: remove defaults gunk
5142 * lyx_main.C: error out if files couldn't be found.
5144 2003-04-02 John Levon <levon@movementarian.org>
5146 * text2.C: make incDepth() use parlist
5148 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5150 * undo_funcs.C (firstUndoParagraph): adjust
5152 * text3.C (gotoInset): adjust
5153 (dispatch): adjust, and rewrite loop.
5155 * text2.C (init): adjust, and rewrite loop.
5156 (redoParagraphs): adjust
5157 (updateInset): adjust, and rewrite loop.
5158 (deleteEmptyParagraphMechanism): adjust
5160 * tabular.C (LyXTabular): adjust
5161 (SetMultiColumn): adjust
5164 * lyxtext.[Ch] (ownerParagraph): delete function
5165 (ownerParagraphs): new function returns a ParagraphList.
5167 * BufferView.C (removeAutoInsets): adjust
5168 (insertErrors): adjust
5169 (setCursorFromRow): adjust
5171 2003-04-01 Angus Leeming <leeming@lyx.org>
5173 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5176 2003-04-02 John Levon <levon@movementarian.org>
5182 * text_funcs.C: make transposeChars a free function
5184 * lyxrow_funcs.C: remove wrong comment
5186 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5189 * rowpainter.C: adjust
5194 * lyxrow_funcs. [Ch]: new files
5196 * lyxrow.[Ch]: remove next and previous pointers
5197 (next,previous): remove accessor functions
5198 (isParEnd): move to lyxrow_funcs
5199 (lastPos): move to lyxrow_funcs
5200 (nextRowIsAllInset): move to lyxrow_funcs
5201 (lastPrintablePos): move to lyxrow_funcs
5202 (numberOfSeparators): move to lyxrow_funcs
5203 (numberOfHfills): move to lyxrow_funcs
5204 (numberOfLabelHfills): move to lyxrow_funcs
5205 (hfillExpansion): move to lyxrow_funcs
5209 * bufferview_funcs.C (toggleAndShow): adjust
5211 * RowList.h: Remove class RowList from file leave just a
5214 * RowList.C: delete file
5216 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5219 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5221 * text3.C (cursorPrevious): adjust
5222 (cursorNext): adjust
5225 * text2.C (redoHeightOfParagraph): adjust
5226 (redoDrawingOfParagraph): adjust
5229 * text.C (breakParagraph): adjust
5230 (insertChar): adjust
5233 * rowpainter.C (RowPainter): adjust
5234 (leftMargin): simplify and adjust
5235 (most rowpainter functions): adjust.
5237 * rowpainter.h: store the row as RowList::iterator not as Row*
5239 * lyxcursor.C (row): taka RowList::iterator as arg
5242 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5245 2003-04-01 Angus Leeming <leeming@lyx.org>
5247 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5248 stuff like bool Bool.
5250 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5252 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5255 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5257 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5260 * lyxtext.h (rows): drop one version and leve a const variant that
5261 returns a RowList::iterator.
5263 2003-03-31 Angus Leeming <leeming@lyx.org>
5265 * text.C (fill): ensure that the signature is the same as that in the
5268 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
5270 * text2.C (redoParagraphs): adjust
5271 (updateCounters): adjust
5272 (checkParagraph): adjust
5273 (getColumnNearX): adjust and reformat a bit.
5275 * text.C (top_y): adjust
5277 (leftMargin): adjust
5278 (prepareToPrint): adjust
5280 (getRowNearY): adjust
5282 * lyxtext.h: make rowlist_ mutable.
5284 * RowList.h: add const_iterator
5285 * RowList.C: adjust for RowList::const_iterator.
5287 * text2.C (getCursorX): make it take a RowList::iterator as arg,
5290 2003-03-31 John Levon <levon@movementarian.org>
5293 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5295 * lyx_main.C: set default fonts from using lyx_gui funcs
5297 * exporter.C: pdf_mode moved from lyxrc
5300 * lyxfunc.C: changes from above
5302 2003-03-31 John Levon <levon@movementarian.org>
5304 * lyx_main.C: fix to the last fix
5306 2003-03-31 John Levon <levon@movementarian.org>
5308 * bufferlist.C: "Load original" -> "Load Original"
5314 * format.C: more Alert cleanups
5316 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5318 * text2.C (removeParagraph): make it take a RowList::iterator as
5320 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5321 (postRowPaint): make it take a RowList::iterator as arg, adjust.
5323 * text.C (anchor_row): make it take a RowList::iterator as arg,
5325 (computeBidiTables): make it take a const reference to Row instead
5326 of Row pointer, adjust.
5327 (leftMargin): make it take a RowList::iterator as arg, adjust.
5328 (rowBreakPoint): adjust
5329 (breakAgainOneRow): make it take a RowList::iterator as arg,
5331 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5333 * bufferview_funcs.C (toggleAndShow): adjust
5335 2003-03-30 John Levon <levon@movementarian.org>
5339 * boost-inst.C: moved to support
5341 * several files: changes as a result
5343 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5345 * text2.C (LyXText): adjust.
5347 (removeRow): make it take a RowList::iterator as arg, adjust.
5348 (fullRebreak): adjust
5349 (deleteEmptyParagraphMechanism): adjust
5350 (clearPaint): adjust
5353 * text.C (top_y): adjust
5354 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5355 (breakAgain): make it take a RowList::iterator as arg, adjust.
5356 (breakParagraph): adjust
5357 (insertChar): adjust
5360 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5361 need_break_row, and refresh_row.
5363 * text3.C (dispatch): adjust
5365 * text2.C (checkParagraph): adjust
5367 (setCursorFromCoordinates): adjust
5369 * text.C (top_y): adjust
5371 (getRow): make it return a RowList::iterator, adjust
5372 (getRowNearY): make it return a RowList::iterator, adjust
5374 * text2.C (init): adjust
5375 (insertRow): remove function
5376 (insertParagraph): adjust
5377 (redoParagraphs): adjust
5378 (fullRebreak): adjust
5379 (updateCounters): adjust
5381 * text.C (top_y): rewrite to use RowList iterators.
5383 (setHeightOfRow): rewrite to sue RowList iterators.
5384 (appendParagraph): adjust
5385 (breakAgain): adjust
5386 (breakAgainOneRow): adjust
5387 (breakParagraph): adjust
5389 (getRowNearY): adjust, and remove commented code.
5391 * lyxtext.h (firstRow): delete function
5392 (lastRow): delete function
5393 (rows): new function (const and non-const versions.)
5394 (insertRow): delete function
5396 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5398 2003-03-29 John Levon <levon@movementarian.org>
5400 * BufferView_pimpl.C: always update scrollbar top
5401 because pasting text when we're anchored could mean we
5402 miss an update altogether
5404 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5406 * text2.C (init): use rowlist_.end() and not 0.
5407 (insertRow): change to take a RowList::iterator as arg, adjust
5409 (insertParagraph): change to take a RowList::iterator as arg,
5411 (redoParagraphs): remove some debug msgs.
5413 * text.C (appendParagraph): change to take a RowList::iterator
5414 arg, adjust for this.
5415 (breakAgain): add an assert
5416 (breakAgainOneRow): ditto
5418 2003-03-29 John Levon <levon@movementarian.org>
5420 * text2.C: do not clear selection after inc/decDepth
5423 2003-03-29 John Levon <levon@movementarian.org>
5426 * buffer.C: fix broken strerrors according to Lars
5428 2003-03-29 John Levon <levon@movementarian.org>
5430 * converters.C: more Alert cleanups
5432 2003-03-29 John Levon <levon@movementarian.org>
5434 * bufferview_funcs.C: remove pointless Alert
5436 * buffer.C: fix confusing error message when
5437 a template is chmoded 000
5439 2003-03-29 John Levon <levon@movementarian.org>
5443 * BufferView_pimpl.C: Alert fixes
5447 * tabular-old.C: remove unused table compat reading
5449 2003-03-29 John Levon <levon@movementarian.org>
5454 * lyx_cb.C: more Alert cleanups
5456 * lyxfunc.C: don't allow chktex if not latex document
5458 2003-03-29 John Levon <levon@movementarian.org>
5462 * buffer.C: warnings pushed down from support/,
5465 2003-03-29 John Levon <levon@movementarian.org>
5467 * lyxfunc.C: safety check for C-r (revert)
5469 2003-03-29 John Levon <levon@movementarian.org>
5472 * bufferlist.C: several UI fixes using Alert::prompt.
5473 Fix the pointless looping quit code. Fix stupid revert
5478 * lyx_cb.C: use Alert::prompt
5480 * lyx_main.C: remove a silly question
5482 * lyxfunc.C: remove a couple of silly questions,
5485 2003-03-28 John Levon <levon@movementarian.org>
5487 * text2.C: fix bug 974 (End on empty par)
5489 2003-03-28 John Levon <levon@movementarian.org>
5491 * BufferView_pimpl.C:
5493 * lfuns.h: remove do-nothing math greek lfuns
5495 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5497 * lyxgluelength.h (isValidGlueLength): add default arg on
5498 parameter 2. Remove default arg from friend in class.
5500 * lyxlength.h (isValidLength): add default arg on parameter 2.
5501 Remove default arg from friend in class.
5503 * text2.C (LyXText): adjust, initialize refresh_row.
5507 (insertParagraph): adjst
5508 (redoParagraphs): adjust
5509 (fullRebreak): adjust
5510 (updateCounters): adjust
5511 (deleteEmptyParagraphMechanism): first attempt at fixing a
5514 * text.C (top_y): adjust
5515 (setHeightOfRow): adjust
5517 (getRowNearY): adjust
5519 * lyxtext.h: include RowList.h
5520 (~LyXText): not needed anymore, deleted.
5521 (firstRow): modify for RowList
5522 (lastRow): new function
5523 Delete firstrow and lastrow class variables, add a Rowlist
5524 rowlist_ class variable.
5526 * lyxrow.C (lastPos): use empty() and not !size() to check if a
5529 * RowList.C (insert): fix case where it == begin().
5531 2003-03-26 Angus Leeming <leeming@lyx.org>
5533 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5534 the thesaurus dialog.
5536 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5538 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5540 * RowList.[Ch]: new files
5542 * ParagraphList.C (erase): handle the case where it == begin
5545 2003-03-25 John Levon <levon@movementarian.org>
5549 * aspell.C: add new aspell support
5552 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5555 2003-03-25 Angus Leeming <leeming@lyx.org>
5558 * LyXAction.C (init): new LFUN_INSET_INSERT.
5560 * BufferView_pimpl.C (dispatch): split out part of the
5561 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5563 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5566 2003-03-25 Angus Leeming <leeming@lyx.org>
5568 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5570 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5573 * text3.C: remove useless row->height(0)
5575 2003-03-25 John Levon <levon@movementarian.org>
5579 * text3.C: rename the refreshing stuff to better names
5581 2003-03-24 John Levon <levon@movementarian.org>
5583 * BufferView_pimpl.h:
5584 * BufferView_pimpl.C: update layout choice on a mouse
5587 2003-03-23 John Levon <levon@movementarian.org>
5589 * Makefile.am: fix commandtags.h reference
5591 2003-03-22 John Levon <levon@movementarian.org>
5593 * BufferView_pimpl.C:
5598 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5600 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5603 * text.C: take the rtl methods out of line
5605 2003-03-21 André Pönitz <poenitz@gmx.net>
5607 * metricsinfo.[Ch]: new files containing structures to be passed around
5608 during the two-phase-drawing...
5610 2003-03-21 André Pönitz <poenitz@gmx.net>
5612 * lyxtextclass.C: read 'environment' tag.
5614 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5616 * text2.C (removeRow): fix bug 964
5618 2003-03-20 John Levon <levon@movementarian.org>
5622 * text2.C: paint cleanups. Inset::update() dropped font
5625 2003-03-19 John Levon <levon@movementarian.org>
5627 * lyxfunc.C: only fitcursor/markDirty if available()
5629 2003-03-19 John Levon <levon@movementarian.org>
5631 * commandtags.h: rename to ...
5633 * lfuns.h: ... this, and renumber / cleanup
5635 2003-03-19 John Levon <levon@movementarian.org>
5637 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5638 fit the cursor after an lfun
5642 * BufferView_pimpl.h:
5643 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5645 * LyXAction.C: layout-character should have ReadOnly
5647 * ParagraphParameters.C:
5649 * bufferview_funcs.C:
5656 * undo_funcs.C: changes from above
5658 2003-03-18 John Levon <levon@movementarian.org>
5660 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5661 remove it from update()
5663 * lyxfunc.C: update layout choice after an lfun
5665 * text3.C: remove extra updateLayoutChoice()s
5667 2003-03-18 John Levon <levon@movementarian.org>
5669 * text.C: top_y change means full repaint, fix
5670 a drawing bug with cursor movement
5672 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5676 * text2.C: anchor row on setCursor
5678 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5680 * lyxtext.h: remove almost all mutable keywords
5683 * text3.C: remove const keywords accordingly
5685 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5687 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5689 (TeXEnvironment): ditto
5692 2003-03-17 John Levon <levon@movementarian.org>
5694 * text.C (rowBreakPoint): remove attempt to fix displayed
5695 math insets inside a manual label
5697 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5699 * lyxtext.h: remove BufferView* as first arg from almost all class
5701 * other files: adjust.
5703 2003-03-17 John Levon <levon@movementarian.org>
5707 * text2.C: more paint cleanups
5709 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5712 * rowpainter.C: remove "smart" background painting code
5714 2003-03-16 John Levon <levon@movementarian.org>
5719 * text3.C: add helper functions for setting refresh_row/y
5721 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
5723 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5724 newline inset which *can* get inserted in the pass_thru layouts.
5725 This is primarily for literate documents.
5727 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
5729 * buffer.C: increment LYX_FORMAT to 223
5731 2003-03-14 André Pönitz <poenitz@gmx.net>
5733 * textclass.h: prepare for environment handling, ws changes
5734 * lyxlayout.C: read latexheader and latexfooter tags
5736 2003-03-14 John Levon <levon@movementarian.org>
5738 * text2.C: rewrite ::status() a bit
5740 2003-03-13 John Levon <levon@movementarian.org>
5742 * lyxtext.h: add some docs
5744 2003-03-13 John Levon <levon@movementarian.org>
5749 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5751 2003-03-13 John Levon <levon@movementarian.org>
5753 * text3.C: fix appendix redrawing
5755 2003-03-13 John Levon <levon@movementarian.org>
5757 * text.C (setHeightOfRow):
5759 * rowpainter.C: make appendix mark have the text
5760 "Appendix" so the user knows what it is
5763 * LColor.C: s/appendixline/appendix/ from above
5765 2003-03-13 John Levon <levon@movementarian.org>
5767 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5769 * text.C: fix a getChar(pos) bug properly
5771 2003-03-13 Angus Leeming <leeming@lyx.org>
5774 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5775 Probably only temporary. Let's see how things pan out.
5777 * BufferView.C (unlockInset):
5778 * BufferView_pimpl.C (fitCursor):
5779 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5781 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5782 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5784 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5785 new functions that convert ParagraphParameters to and from a string.
5787 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5788 BufferView::Pimpl's dispatch.
5789 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5791 2003-03-13 André Pönitz <poenitz@gmx.net>
5795 * factory.C: make it aware of InsetEnv
5797 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5799 * text2.C (setCursor): never ask for one past last
5800 (setCursor): add some debugging messages.
5802 * text.C (singleWidth): never ask for one past last
5803 (singleWidth): ditto
5805 (rightMargin): ditto
5806 (rowBreakPoint): ditto
5807 (setHeightOfRow): ditto
5808 (prepareToPrint): ditto
5810 * rowpainter.C (paintBackground): never ask for one past last
5811 (paintText): never ask for one past last
5813 * paragraph_pimpl.C (getChar): make the assert stricter, never
5814 allow the one past last pos to be taken
5816 * paragraph.C (getChar): ws changes only
5818 * lyxrow.C (nextRowIsAllInset): never ask for one past last
5819 (numberOfSeparators): ditto
5820 (numberOfHfills): ditto
5822 2003-03-12 John Levon <levon@movementarian.org>
5828 * paragraph_funcs.C: fix per-buffer authorlists
5830 2003-03-12 John Levon <levon@movementarian.org>
5832 * text.C: fix newline in right address
5834 2003-03-12 Angus Leeming <leeming@lyx.org>
5836 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5837 duplicate those in LyXFunc::dispatch.
5841 * ToolbarDefaults.C:
5842 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5843 Add LFUN_FONTFREE_UPDATE.
5845 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5846 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5848 * bufferview_func.[Ch]: several new functions to facilliate
5849 transfer of data to and from the character dialog.
5851 2003-03-12 John Levon <levon@movementarian.org>
5856 * paragraph_funcs.C:
5857 * paragraph_pimpl.C:
5861 * text3.C: remove META_NEWLINE in favour of an inset
5864 * rowpainter.C: remove paintNewline (done by inset)
5866 2003-03-12 John Levon <levon@movementarian.org>
5868 * paragraph_pimpl.C: complain about bad getChar()s
5869 for a while at least
5871 2003-03-12 John Levon <levon@movementarian.org>
5874 * buffer.C: move paragraph read into a separate function,
5875 a little renaming to reflect that.
5878 * bufferparams.C: remove the author_ids map, not necessary now
5881 * factory.C: moved Buffer::readInset to here
5883 * paragraph_funcs.h:
5884 * paragraph_funcs.C: readParagraph free function moved from
5887 * tabular.C: name change
5889 2003-03-12 John Levon <levon@movementarian.org>
5892 * ParagraphParameters.C: move par params input to
5895 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5896 behave like a normal read from the stream wrt reading
5897 a line vs. a \\token
5899 2003-03-12 John Levon <levon@movementarian.org>
5902 * ParagraphParameters.h:
5903 * ParagraphParameters.C: move output code to a
5906 2003-03-12 John Levon <levon@movementarian.org>
5908 * BufferView.C (insertLyXFile):
5911 * tabular.C: use a parlist iterator for creating the
5914 2003-03-12 John Levon <levon@movementarian.org>
5916 * buffer.C: make current_change static local not
5919 2003-03-12 John Levon <levon@movementarian.org>
5921 * buffer.C: fix insertStringAsLines for change tracking
5923 2003-03-12 John Levon <levon@movementarian.org>
5930 * bufferparams.C: move author list into params. Rename some
5931 functions. Move the header reading into a separate token
5932 loop. Move the header token reading into BufferParams.
5934 2003-03-12 John Levon <levon@movementarian.org>
5936 * changes.C: put debug inside lyxerr.debugging() checks
5938 2003-03-11 André Pönitz <poenitz@gmx.net>
5940 * factory.C: make it aware of InsetHFill
5942 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5944 * buffer.C (latexParagraphs): move function from here...
5945 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5948 2003-03-10 Angus Leeming <leeming@lyx.org>
5950 * LyXAction.C (init): fix bug in poplating array with multiple entries
5951 with the same LFUN (spotted by JMarc).
5953 2003-03-10 John Levon <levon@movementarian.org>
5956 * text2.C: move getColumnNearX() near its
5959 2003-03-10 John Levon <levon@movementarian.org>
5961 * text.C: fix break before a minipage
5963 2003-03-10 John Levon <levon@movementarian.org>
5965 * text.C: fix the last commit
5967 2003-03-09 John Levon <levon@movementarian.org>
5971 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5972 bug 365 (don't break before insets unless needed). Don't
5973 return a value > last under any circumstances.
5975 2003-03-09 Angus Leeming <leeming@lyx.org>
5977 * BufferView_pimpl.C (trackChanges, dispatch): call
5978 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5980 2003-03-09 Angus Leeming <leeming@lyx.org>
5982 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5983 than Dialogs::showAboutlyx().
5985 2003-03-09 Angus Leeming <leeming@lyx.org>
5987 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5988 than Dialogs::showTabularCreate().
5990 2003-03-09 John Levon <levon@movementarian.org>
5994 * text2.C: 3rd arg to nextBreakPoint was always the same.
5997 2003-03-08 John Levon <levon@movementarian.org>
6004 * text2.C: Remove the "main" bit from the "main body"
6007 2003-03-08 John Levon <levon@movementarian.org>
6009 * text.C (leftMargin): The left margin of an empty
6010 manual label paragraph should not include the label width
6013 * text.C (prepareToPrint): don't attempt to measure hfills
6014 for empty manual label paragraphs - the answer should be 0
6016 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6018 * CutAndPaste.C: remove commented code and reindent.
6020 2003-03-08 John Levon <levon@movementarian.org>
6023 * lyxfunc.C: move reloadBuffer()
6026 * BufferView.C: to here
6028 * lyxvc.C: add comment
6031 * vc-backend.C: call bv->reload() to avoid
6032 getStatus() check on MENURELOAD
6034 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
6036 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6037 to an old format .dep file.
6039 2003-03-07 Angus Leeming <leeming@lyx.org>
6041 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6042 when the LFUN_MOUSE_RELEASE should have been handled by
6043 inset->localDispatch.
6045 2003-03-07 Angus Leeming <leeming@lyx.org>
6047 * BufferView_pimpl.C (dispatch):
6048 * LyXAction.C (init):
6049 * ToolbarDefaults.C (init):
6051 * lyxfunc.C (getStatus):
6052 remove LFUN_INSET_GRAPHICS.
6054 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6056 2003-03-07 Angus Leeming <leeming@lyx.org>
6059 * LyXAction.C (init):
6060 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6062 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6065 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6067 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6068 localDispatch method LFUN_INSET_DIALOG_UPDATE.
6070 2003-03-07 Angus Leeming <leeming@lyx.org>
6072 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6075 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6077 * ParagraphList.C (front): new function
6080 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
6082 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6083 and top_row_offset_. removed var first_y.
6085 * text2.C (LyXText, removeRow):
6087 * BufferView_pimpl.C:
6088 use these methods instead of using first_y
6090 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6092 * text2.C (pasteSelection): adjust for checkPastePossible
6094 * CutAndPaste.C: remove Paragraph * buf and replace with
6095 ParagraphList paragraphs.
6096 (DeleteBuffer): delete
6097 (cutSelection): change the tc type to textclass_type
6098 (copySelection): change the tc type to textclass_type
6099 (copySelection): adjust for ParagraphList
6100 (pasteSelection): change the tc type to textclass_type
6101 (pasteSelection): adjust for Paragraphlist
6102 (nrOfParagraphs): simplify for ParagraphList
6103 (checkPastePossible): simplify for ParagraphList
6104 (checkPastePossible): remove unused arg
6106 * ParagraphList.C (insert): handle the case where there are no
6109 * CutAndPaste.h: make CutAndPaste a namespace.
6111 * text3.C (dispatch): adjust
6113 * text.C (breakParagraph): add a ParagraphList as arg
6115 * paragraph_funcs.C (breakParagraph): change to take a
6116 BufferParams and a ParagraphList as args.
6117 (breakParagraphConservative): ditto
6118 (mergeParagraph): ditto
6119 (TeXDeeper): add a ParagraphList arg
6120 (TeXEnvironment): ditto
6123 * buffer.C (readLyXformat2): adjust
6124 (insertStringAsLines): adjust
6125 (latexParagraphs): adjust
6127 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6128 (cutSelection): adjust
6129 (pasteSelection): adjust
6131 * BufferView_pimpl.C (insertInset): adjust
6133 2003-03-05 Angus Leeming <leeming@lyx.org>
6136 * LyXAction.C (init):
6137 * BufferView_pimpl.C (dispatch):
6138 * lyxfunc.C (getStatus):
6139 remove LFUN_CHILD_INSERT.
6141 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6143 2003-03-05 Angus Leeming <leeming@lyx.org>
6146 * LyXAction.C (init):
6147 * src/factory.C (createInset):
6148 * lyxfunc.C (getStatus):
6149 * text3.C (dispatch):
6150 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6152 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6154 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6156 * ParagraphList.C (insert): handle insert right before end()
6157 (erase): fix cases where it can be first or last paragraph.
6159 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6161 * paragraph_funcs.C (TeXEnvironment): remove all usage of
6162 Paragraph::next and Paragraph::previous
6165 * text.C (breakParagraph): adjust
6167 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6168 BufferParams& as arg.
6169 (breakParagraph): use ParagraphList::insert
6170 (breakParagraphConservative): take a Buffer* instead of a
6171 BufferParams& as arg.
6172 (breakParagraphConservative): use ParagraphList::insert.
6174 * buffer.C (insertStringAsLines): un-const it
6175 (insertStringAsLines): adjust
6177 * ParagraphList.C (insert): new function
6179 * CutAndPaste.C (pasteSelection): adjust
6181 * text.C (backspace): adjust
6183 * tabular.C (SetMultiColumn): adjust
6185 * CutAndPaste.C (cutSelection): adjust
6186 (pasteSelection): adjust
6188 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6189 Buffer const * as arg
6191 * ParagraphList.C (erase): new function
6192 * paragraph_funcs.C (mergeParagraph): use it
6193 (mergeParagraph): make it take a Buffer* instead of a
6194 BufferParams* as arg
6196 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6198 (breakParagraphConservative): ditto
6200 * paragraph.h: remove the breakParagraph friend
6202 * paragraph.C (eraseIntern): new function
6203 (setChange): new function
6205 * paragraph_funcs.C (mergeParagraph): make it take a
6206 ParagraphList::iterator instead of a Paragraph *, adjust
6209 * paragraph.h: move an #endif so that the change tracking stuff
6210 also works in the NO_NEXT case.
6212 2003-03-04 Angus Leeming <leeming@lyx.org>
6215 * LyXAction.C: new LFUN_INSET_MODIFY.
6217 * BufferView_pimpl.C (dispatch): if an inset is found to be open
6218 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6220 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6222 * several files: ws changes only
6224 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6225 (TeXEnvironment): ditto
6228 * buffer.C (makeLaTeXFile): adjust
6229 (latexParagraphs): make it take ParagraphList::iterator as args
6231 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6233 * buffer.C (latexParagraphs): adjust
6235 * paragraph.C (TeXOnePar): move function...
6236 (optArgInset): move function...
6237 (TeXEnvironment): move function...
6238 * paragraph_pimpl.C (TeXDeeper): move function...
6239 * paragraph_funcs.C: ...here
6241 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6243 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6245 * buffer.C (readInset): remove compability code for old Figure and
6248 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6250 * buffer.C: ws changes
6253 * BufferView_pimpl.C: ditto
6256 * bufferlist.h: ditto
6260 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
6262 * converter.[Ch]: split into itself +
6265 * Makefile.am: += graph.[Ch] + format.[Ch]
6272 * lyxrc.C: added #include "format.h"
6274 2003-02-27 Angus Leeming <leeming@lyx.org>
6276 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6279 * factory.C (createInset): add "label" to the factory.
6281 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6282 string and do no more.
6284 2003-02-27 Angus Leeming <leeming@lyx.org>
6287 * LyXAction.C (init):
6288 * factory.C (createInset):
6289 * BufferView_pimpl.C (dispatch):
6290 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6292 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6294 * lyxfunc.C (dispatch):
6295 * text3.C (dispatch): pass name to params2string.
6297 2003-02-26 Angus Leeming <leeming@lyx.org>
6299 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6301 Rearrange the ~includes. Strip out the unnecessary ones.
6303 * factory.C (createInset): reformat.
6304 create new insets for the various LFUN_XYZ_APPLY lfuns.
6306 2003-02-26 John Levon <levon@movementarian.org>
6309 * lyxrow.C: add isParStart,isParEnd helpers
6311 * paragraph.h: make isInserted/DeletedText take refs
6313 * paragraph_funcs.h:
6314 * paragraph_funcs.C: remove #if 0'd code
6319 * text.C: use lyxrow helpers above.
6320 Move draw and paint routines to RowPainter.
6321 Make several methods use refs not pointers.
6322 Make backgroundColor() const.
6323 Add markChangeInDraw(), isInInset().
6324 Merge changeRegionCase into changeCase.
6325 Make workWidth() shouldn't-happen code into an Assert.
6328 * rowpainter.C: new class for painting a row.
6331 * vspace.C: make inPixels take a ref
6333 2003-02-26 Angus Leeming <leeming@lyx.org>
6335 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6338 2003-02-25 John Levon <levon@movementarian.org>
6340 * ispell.C: give the forked command a more accurate name
6342 2003-02-22 John Levon <levon@movementarian.org>
6345 * toc.C: make TocItem store an id not a Paragraph *
6348 2003-02-21 Angus Leeming <leeming@lyx.org>
6350 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6351 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6352 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6353 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6354 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6355 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6357 * BufferView_pimpl.C (dispatch):
6358 * LyXAction.C (init):
6359 * factory.C (createInset):
6360 * lyxfunc.C (getStatus, dispatch):
6361 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6363 2003-02-21 Angus Leeming <leeming@lyx.org>
6365 * BufferView_pimpl.C (MenuInsertLyXFile):
6366 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6367 * lyxfunc.C (menuNew, open, doImport):
6368 no longer pass a LyXView & to fileDlg.
6370 2003-02-21 Angus Leeming <leeming@lyx.org>
6372 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6373 * LyXAction.C: change, BIBKEY to BIBITEM.
6374 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6375 Change InsetBibKey to InsetBibitem.
6376 Change BIBKEY_CODE to BIBITEM_CODE.
6377 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6378 * factory.C: replace insetbib.h with insetbibitem.h.
6379 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6380 * paragraph.C: replace insetbib.h with insetbibitem.h.
6381 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6382 Change bibkey() to bibitem().
6383 * text.C: remove insetbib.h.
6384 * text2.C: replace insetbib.h with insetbibitem.h.
6385 change bibkey() to bibitem().
6386 * text3.C: remove insetbib.h.
6387 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6389 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6391 * lyxrc.C (output): enclose user email in quotes (in case there are
6394 2003-02-18 John Levon <levon@movementarian.org>
6396 * buffer.h: add std::
6398 2003-02-17 John Levon <levon@movementarian.org>
6404 * pspell.C: reworking. Especially in ispell, a large
6405 number of clean ups and bug fixes.
6407 * lyxfunc.C: fix revert to behave sensibly
6409 2003-02-17 André Pönitz <poenitz@gmx.net>
6412 * commandtags.h: new LFUN_INSERT_BIBKEY
6422 * paragraph_func.C: remove special bibkey handling
6424 2003-02-17 John Levon <levon@movementarian.org>
6426 * text.C (Delete): fix case where delete at the end of
6427 the very first paragraph would not merge the pars
6429 2003-02-17 John Levon <levon@movementarian.org>
6431 * lyxrow.C: fix lastPrintablePos()
6433 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6435 * bufferparams.C (writeLaTeX): add a std:here
6437 * buffer.C: and remove a using directive there
6439 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6441 * buffer.C (makeLaTeXFile): move the code that generates the
6444 * bufferparams.C (writeLaTeX): ... in this new method
6446 * LaTeXFeatures.C (getEncodingSet): make const
6447 (getLanguages): make const
6449 * MenuBackend.C (binding): returns the binding associated to this
6451 (add): sets the status of each item by calling getStatus. Adds
6453 (read): add support for OptSubMenu
6454 (expand): remove extra separator at the end of expanded menu
6456 2003-02-15 John Levon <levon@movementarian.org>
6459 * BufferView_pimpl.C:
6461 * bufferlist.C: remove pointless BufferStorage bloat. Remove
6462 inset code that had no actual effect. Remove unneeded status
6465 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6467 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6470 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
6472 * text.C (drawLengthMarker): also draw an arrow marker for
6473 symbolic lengths (medskip...)
6475 2003-02-14 John Levon <levon@movementarian.org>
6478 * tabular.C: better method names
6480 2003-02-14 John Levon <levon@movementarian.org>
6482 * BufferView_pimpl.C:
6487 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6488 it's a more accurate name. Remove some pointless uses.
6490 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6492 * text2.C (LyXText): change order of initilizers to shut off
6495 2003-02-14 John Levon <levon@movementarian.org>
6497 * buffer.C: use ParIterator for getParFromID()
6501 * paragraph_pimpl.h:
6502 * paragraph_pimpl.C: remove unused getParFromID()
6504 2003-02-14 John Levon <levon@movementarian.org>
6506 * buffer.C: remove some very old #if 0'd parse code
6508 2003-02-13 John Levon <levon@movementarian.org>
6512 * text2.C: move hfillExpansion(), numberOfSeparators(),
6513 rowLast(), rowLastPrintable(), numberofHfills(),
6514 numberOfLabelHfills() ...
6517 * lyxrow.C: ... to member functions here.
6522 * text.C: remove LyXText::beginningOfMainBody(), and call
6523 p->beginningOfMainBody() directly. Move the check for
6524 LABEL_MANUAL into the latter.
6531 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6537 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6538 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6540 2003-02-13 John Levon <levon@movementarian.org>
6542 * CutAndPaste.C: remove debug
6544 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6546 * paragraph.C (asString): remove two unused variables
6548 * lyxtextclass.C (readTitleType):
6550 (LyXTextClass): handle new members titletype_ and titlename_
6552 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6554 2003-02-09 John Levon <levon@movementarian.org>
6557 * buffer.C: replace hand-coded list with a map for the dep clean
6559 2003-02-08 John Levon <levon@movementarian.org>
6561 * LaTeX.C: consolidate code into showRunMessage() helper
6563 2003-02-08 John Levon <levon@movementarian.org>
6568 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6569 and pass the size in explicitly
6571 * BufferView_pimpl.h:
6572 * BufferView_pimpl.C:
6574 * BufferView.C: add getCurrentChange()
6576 * BufferView_pimpl.h:
6577 * BufferView_pimpl.C: handle change lfuns
6579 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6580 for changes. Mark pasted paragraphs as new.
6582 * support/lyxtime.h:
6583 * support/lyxtime.C:
6584 * DepTable.C: abstract time_t as lyx::time_type
6587 * LColor.C: add colours for new text, deleted text, changebars
6589 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6590 package use "usenames" option.
6594 * LyXAction.C: add change lfuns
6598 * author.C: author handling
6601 * buffer.C: add a per-buffer author list, with first entry as
6602 current author. Handle new .lyx tokens for change tracking. Output
6603 author list to .lyx file. Output dvipost stuff to .tex preamble.
6604 Bump lyx format to 222.
6607 * bufferlist.C: add setCurrentAuthor() to reset current author details
6611 * bufferparams.C: add param for tracking
6613 * bufferview_funcs.C: output change info in minibuffer
6617 * changes.C: add change-tracking structure
6620 * debug.C: add CHANGES debug flag
6623 * lyxfind.C: add code for finding the next change piece
6626 * lyxrc.C: add user_name and user_email
6629 * lyxrow.C: add a metric for the top of the text line
6632 * text.C: implement accept/rejectChange()
6635 * text.C: paint changebars. Paint new/deleted text in the chosen
6636 colours. Strike through deleted text.
6640 * paragraph_pimpl.h:
6641 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6642 in the current change to the insert functions. Rework erase to
6643 mark text as deleted, adding an eraseIntern() and a range-based
6644 erase(). Implement per-paragraph change lookup and
6647 * paragraph_funcs.C: Fixup paste for change tracking.
6649 * tabular.C: mark added row/columns as new.
6651 * text.C: fix rowLast() to never return -1. Don't allow
6652 spellchecking of deleted text. Track transpose changes. Don't
6653 allow paragraph break or merge where appropriate.
6655 * text2.C: leave cursor at end of selection after a cut.
6657 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6659 * text.C (getLengthMarkerHeight):
6660 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6661 visible on screen too.
6663 2003-02-07 John Levon <levon@movementarian.org>
6665 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6667 2003-02-05 Angus Leeming <leeming@lyx.org>
6669 * lyxserver.C (read_ready): revert my patch of 11 September last year
6670 as it sends PC cpu through the roof. Presumably this means that
6671 the lyxserver will no longer run on an Alpha...
6673 2003-01-30 Angus Leeming <leeming@lyx.org>
6675 * factory.C (createInset): create an InsetCommandParam of type "index"
6676 and use it to 'do the right thing'.
6678 * text2.C (getStringToIndex): ensure that cursor position is always
6679 reset to the reset_cursor position.
6681 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6683 * lyxfunc.C (getStatus): "buffer-export custom" should never be
6686 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
6690 * lyxfunc.C: Output messages with identical spelling, punctuation,
6693 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
6695 * MenuBackend.C (expandFormats): List only viewable export formats
6698 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6701 * lyxfunc.C (getStatus): Make sure that formats other than
6702 "fax" can also be disabled
6704 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6706 * text3.C (dispatch): put the lfuns that insert insets in 3
6707 groups, and call doInsertInset with appropriate arguments.
6708 (doInsertInset): new function, that creates an inset and inserts
6709 it according to some boolean parameters.
6711 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6713 * buffer.C (readFile): remember to pass on 'par' when calling
6714 readFile recursively.
6716 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6718 * MenuBackend.C (expandFormats): add "..." to import formats.
6720 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
6722 * paragraph.C (asString): Remove XForms RTL hacks.
6724 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
6725 * buffer.C: fix typo
6727 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6729 * Makefile.am (LIBS): delete var
6730 (lyx_LDADD): add @LIBS@ here instead.
6732 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
6734 * Clarify the meaning of "wheel mouse jump"
6736 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6738 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6741 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6743 * importer.C (Loaders): do not preallocate 3 elements in the
6744 vector, since one ends up with 6 elements otherwise
6746 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6748 * DepTable.C (write): write the file name as last element of the
6749 .dep file (because it may contain spaces)
6750 (read): read info in the right order
6752 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6754 * paragraph_pimpl.C (simpleTeXBlanks):
6755 (simpleTeXSpecialChars):
6756 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6758 * tabular.C (latex): add some missing case statements. Reindent.
6760 * MenuBackend.C (expandToc): remove unused variable.
6762 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
6771 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6774 2003-01-05 John Levon <levon@movementarian.org>
6777 * BufferView.C: add getEncoding()
6780 * kbsequence.C: do not store last keypress
6783 * lyxfunc.C: store last keypress here instead. Pass encoding
6786 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6788 * lyx_main.C (init): remove annoying error message when following
6789 symbolic links (bug #780)
6791 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6793 * text.C (insertChar):
6794 * lyxrc.C (getDescription): remove extra spaces
6796 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6798 * lyxrc.C (getDescription): remove extra spaces
6800 2002-12-20 John Levon <levon@movementarian.org>
6802 * text3.C: hack fix for page up/down across tall rows
6804 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6806 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6809 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6811 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6812 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6813 thesaurus is not compiled in
6815 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
6817 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
6819 2002-12-16 Angus Leeming <leeming@lyx.org>
6822 * lyx_main.C (init): remove override_x_deadkeys stuff.
6824 2002-12-12 John Levon <levon@movementarian.org>
6826 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6827 insert. Only remove shift modifier under strict
6830 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6832 * MenuBackend.C (expandToc): fix crash.
6834 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6836 * MenuBackend.C (expandToc): gettext on float names.
6838 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6840 * lyxlength.[Ch]: set default unit to UNIT_NONE,
6841 implement bool empty() [bug 490]
6843 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6845 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6847 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6849 * several files: ws changes
6851 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6853 * text2.C (setCounter): clean up a bit, use boost.format.
6854 (updateCounters): initialize par upon declaration.
6856 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6857 if the layout exists. We do not just store the layout any more.
6858 (SwitchLayoutsBetweenClasses): use boost.format
6860 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6862 * converter.C (convert): if from and to files are the same, use a
6863 temporary files as intermediary
6865 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6868 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6870 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
6872 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6874 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6876 * tabular.C (asciiPrintCell): use string(size, char) instead of
6879 * sgml.C (openTag): fix order of arguments to string constructor
6882 * lyxfunc.C (dispatch): use boost.format
6884 * lots of files: change "c" -> 'c'
6886 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
6888 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6890 2002-11-25 Angus Leeming <leeming@lyx.org>
6892 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6894 * lyx_main.C (init): compile fix.
6896 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6898 * lyx_cb.C (start): boost.formatify
6899 do not include <iostream>
6901 * lengthcommon.C: ws only
6903 * boost-inst.C,BoostFormat.h: add more explict instantations
6905 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6907 * lots of files: handle USE_BOOST_FORMAT
6909 2002-11-21 John Levon <levon@movementarian.org>
6911 * pspell.C: fix compile
6913 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6915 * lyxfunc.C (dispatch): use boost::format
6919 * lyxfont.C (stateText): use boost::format
6921 * lyx_main.C (LyX): use boost::format
6923 (queryUserLyXDir): ditto
6926 (typedef boost::function): use the recommened syntax.
6928 * importer.C (Import): use boost::format
6930 * debug.C (showLevel): use boost::format
6932 * converter.C (view): use boost::format
6937 * bufferview_funcs.C (currentState): use boost::format
6939 * bufferlist.C (emergencyWrite): use boost::format
6941 * buffer.C (readLyXformat2): use boost::format
6942 (parseSingleLyXformat2Token): ditto
6944 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6946 * LaTeX.C (run): use boost::format
6948 * Chktex.C (scanLogFile): use boost::format
6950 * BufferView_pimpl.C (savePosition): use boost::format
6951 (restorePosition): ditto
6952 (MenuInsertLyXFile): ditto
6954 * BoostFormat.h: help file for explicit instation.
6956 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
6958 * tabular.C (latex): Support for block alignment in fixed width
6961 2002-11-17 John Levon <levon@movementarian.org>
6963 * BufferView_pimpl.C:
6965 * lyxfunc.C: split filedialog into open/save
6967 2002-11-08 Juergen Vigna <jug@sad.it>
6969 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6970 by my last patch (hopefully).
6972 2002-11-08 John Levon <levon@movementarian.org>
6981 * toc.C: ParConstIterator, and use it (from Lars)
6983 2002-11-07 Ben Stanley <bds02@uow.edu.au>
6985 * lyxtextclass.[Ch]: revise and add doxygen comments
6987 2002-11-07 John Levon <levon@movementarian.org>
6989 * text.C: fix progress value for spellchecker
6991 * toc.C: fix navigate menu for insetwrap inside minipage
6993 * paragraph_funcs.C: added FIXME for suspect code
6995 2002-11-07 John Levon <levon@movementarian.org>
6997 * BufferView_pimpl.C: fix redrawing of insets
7000 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7002 * text2.C (updateCounters): fix bug 668
7004 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
7006 * text3.C (dispatch): Do not make the buffer dirty when moving the
7009 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7011 * vc-backend.C: STRCONV
7014 * text2.C (setCounter): STRCONV
7016 * paragraph.C (asString): STRCONV
7018 * lyxlength.C (asString): STRCONV
7019 (asLatexString): ditto
7021 * lyxgluelength.C (asString): STRCONV
7022 (asLatexString): ditto
7024 * lyxfunc.C (dispatch): STRCONV
7027 * lyxfont.C (stateText): STRCONV
7029 * importer.C (Import): STRCONV
7031 * counters.C (labelItem): STRCONV
7032 (numberLabel): ditto
7033 (numberLabel): remove unused ostringstream o
7038 * bufferview_funcs.C (currentState): STRCONV
7040 * buffer.C (readFile): STRCONV
7041 (asciiParagraph): ditto
7042 (makeLaTeXFile): ditto
7044 * Spacing.C (writeEnvirBegin): STRCONV
7046 * LaTeXFeatures.C (getLanguages): STRCONV
7047 (getPackages): ditto
7049 (getBabelOptions): ditto
7050 (getTClassPreamble): ditto
7051 (getLyXSGMLEntities): ditto
7052 (getIncludedFiles): ditto
7056 (scanAuxFile): ditto
7059 * LString.h: add the STRCONV macros
7061 * BufferView_pimpl.C (savePosition): STRCONV
7062 (restorePosition): ditto
7063 (MenuInsertLyXFile): ditto
7065 * vc-backend.C (scanMaster): change from submatch[...] to
7068 * funcrequest.C: include config.h
7070 * factory.C: include config.h
7072 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7074 * box.C: include config.h
7076 * LaTeX.C (scanAuxFile): change from submatch[...] to
7080 2002-10-25 Angus Leeming <leeming@lyx.org>
7082 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7084 * ispell.[Ch] (setError): new method.
7085 * ispell.C (c-tor): move out child process into new class LaunchIspell.
7086 Use setError() insetead of goto END.
7088 * lyx_cb.C (AutoSave): move out child process into new class
7091 2002-10-30 John Levon <levon@movementarian.org>
7093 * text3.C: make start appendix undoable
7095 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
7097 * lyxlength.C (inPixels): Fix returned value.
7099 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7102 2002-10-24 Angus Leeming <leeming@lyx.org>
7104 * lyxgluelength.h: no need to forward declare BufferParams
7105 or BufferView, so don't.
7107 2002-10-21 John Levon <levon@movementarian.org>
7109 * BufferView.C: menuUndo ->undo, redo
7111 * BufferView.h: document, remove dead, make some methods private
7113 * paragraph_funcs.h:
7114 * paragraph_funcs.C:
7115 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7120 * sgml.C: move sgml open/close tag into sgml.C
7122 * bufferview_funcs.h: unused prototype
7125 * lyxfunc.C: remove unused
7128 * text.C: remove unused
7130 2002-10-21 John Levon <levon@movementarian.org>
7134 * BufferView_pimpl.h:
7135 * BufferView_pimpl.C: fix mouse wheel handling based on
7136 patch from Darren Freeman
7138 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
7140 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7142 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
7144 * lyxlength.C (inPixels): Fix hanfling of negative length.
7145 Fix LyXLength::MU case.
7147 2002-10-16 John Levon <levon@movementarian.org>
7149 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7151 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7153 * converter.C (view): add support for $$i (file name) and $$p
7154 (file path) for the viewer command. If $$i is not specified, then
7155 it is appended to the command (for compatibility with old syntax)
7157 2002-10-14 Juergen Vigna <jug@sad.it>
7159 * undo_funcs.C (textHandleUndo): alter the order in which the
7160 new undopar is added to the LyXText, as we have to set first
7161 the right prev/next and then add it as otherwise the rebuild of
7162 LyXText is not correct. Also reset the cursor to the right paragraph,
7163 with this IMO we could remove the hack in "redoParagraphs()".
7165 2002-10-09 Angus Leeming <leeming@lyx.org>
7167 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7168 to turn off an optimisation if a new inset is to be inserted.
7170 2002-10-11 André Pönitz <poenitz@gmx.net>
7172 * lyxtext.h: make some functions public to allow access
7173 from inset/lyxtext for handling LFUN_PRIOR/NEXT
7175 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7177 * text3.C (dispatch): when changing layout, avoid an infinite loop
7180 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7182 * lyxrc.C (read): treat a viewer or converter command of "none" as
7185 * MenuBackend.C (expandFormats): for an update, also allow the
7186 formats that are not viewable
7188 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7189 script if it is newer than the lyxrc.defaults in user directory
7191 2002-10-07 André Pönitz <poenitz@gmx.net>
7193 * text.C: Vitaly Lipatov's small i18n fix
7195 2002-09-25 Angus Leeming <leeming@lyx.org>
7197 * ispell.h: doxygen fix.
7199 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
7201 * buffer.h (readFile): Add a new argument to the method, to allow
7202 reading of old-format templates.
7204 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
7206 * toc.C (getTocList): Get TOC from InsetWrap.
7208 2002-09-16 John Levon <levon@movementarian.org>
7210 * lyxfunc.C: check tabular for cut/copy too
7212 2002-09-12 John Levon <levon@movementarian.org>
7217 * factory.C: add header
7219 * paragraph_funcs.h:
7220 * paragraph_funcs.C: cleanup
7222 2002-09-11 John Levon <levon@movementarian.org>
7224 * PrinterParams.h: odd/even default to true
7226 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
7228 * PrinterParams.h: update printer parameters for new xforms dialog
7230 2002-09-11 Angus Leeming <leeming@lyx.org>
7232 * lyxserver.C (read_ready): re-write to make it more transparent
7233 and to make it work in coherent fashion under Tru64 Unix.
7235 2002-09-11 André Pönitz <poenitz@gmx.net>
7239 * text3.C: implement LFUN_WORDSEL
7241 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7243 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7244 make floatlist_ a boost::shared_ptr<FloatList>
7246 * lyxtextclass.C: include FloatList.h
7247 (LyXTextClass): initialize floatlist_
7248 (TextClassTags): add TC_NOFLOAT
7249 (Read): match "nofloat" to TC_NOFLOAT and use it.
7250 (readFloat): modify call to floatlist_
7254 * FloatList.[Ch] (FloatList): remove commented out float
7256 (erase): new function
7258 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7260 * MenuBackend.C (expandToc): fix crash when there is no document
7263 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
7265 * many files: Add insetwrap.
7267 2002-09-09 John Levon <levon@movementarian.org>
7269 * text2.C: remove confusing and awkward depth wraparound
7271 2002-09-09 John Levon <levon@movementarian.org>
7273 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7276 * buffer.C: remove getIncludeonlyList()
7279 * lyxfunc.C: remove headers
7281 2002-09-09 Juergen Vigna <jug@sad.it>
7283 * text.C (getColumnNearX): fix form Michael this is most
7284 probably a cut&paste bug.
7286 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7288 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7290 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7291 references, ws changes.
7293 * text2.C (init): update counters after init
7294 (insertParagraph): no need to set counter on idividual paragraphs.
7295 (setCounter): access the counters object in the textclass object
7296 on in the buffer object.
7297 (updateCounters): ditto
7299 * lyxtextclass.C: include counters.h, add variable ctrs_ as
7300 shared_ptr<Counters> to avoid loading counters.h in all
7302 (LyXTextClass): initialize ctrs_
7303 (TextClassTags): add TC_COUNTER, and ...
7304 (Read): use it here.
7305 (CounterTags): new tags
7306 (readCounter): new function
7307 (counters): new funtion
7308 (defaultLayoutName): return a const reference
7310 * counters.C (Counters): remove contructor
7311 (newCounter): remove a couple of unneeded statements.
7312 (newCounter): simplify a bit.
7313 (numberLabel): some small formatting changes.
7315 * buffer.[Ch]: remove all traces of counters, move the Counters
7316 object to the LyXTextClass.
7318 2002-09-06 Alain Castera <castera@in2p3.fr>
7320 * tabular.C: uses \tabularnewline; uses >{...} construct from array
7321 package to set the horizontal alignment on fixed width columns.
7324 * lyx_sty.h: added tabularnewline macro def.
7326 * LaTeXFeatures.C: added NeedTabularnewline macro feature
7328 2002-09-06 John Levon <levon@movementarian.org>
7330 * LyXAction.C: tooltips for sub/superscript
7332 * MenuBackend.C: a bit more verbose
7334 * lyxfunc.C: tiny clean
7336 * undo_funcs.C: document undo_frozen
7338 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7340 * counters.C (Counters): add missing algorithm counter.
7342 * text2.C (setCounter): lookup the counter with layouts latexname
7343 instead of by section number.
7344 (setCounter): use a hackish way to lookup the correct enum
7346 a float name->type change
7347 reset enum couners with counter name directly instead of depth value.
7349 * counters.C (Counters): remove the push_backs, change to use the
7350 float type not the float name.
7351 (labelItem): remove unused string, float name->type change
7353 * counters.h: don't include vector, loose the enums and sects vectors
7355 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7357 * lyxtextclass.C (TextClassTags): add TC_FLOAT
7358 (Read): add float->TC_FLOAT to textclassTags
7359 (Read): and handle it in the switch
7360 (readFloat): new function
7362 * FloatList.C (FloatList): comment out the hardcoded float
7365 * lyxlayout.h: ws change.
7367 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
7369 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7371 2002-09-03 Angus Leeming <leeming@lyx.org>
7373 * BufferView_pimpl.h: qualified name is not allowed in member
7374 declaration: WorkArea & Pimpl::workarea() const;
7376 * factory.C: added using std::endl directive.
7378 * text3.C: added using std::find and std::vector directives.
7380 2002-08-29 André Pönitz <poenitz@gmx.net>
7383 * text2.C: remove unused member number_of_rows
7386 * BufferView2.C: remove file, move contents to...
7387 * BufferView.C: ... here
7389 * BufferView_pimpl.C:
7390 * factory.C: move more inset creation to factory
7392 * vspace.C: avoid direct usage of LyXText, ws changes
7395 don't provide direct access to WorkArea, use two simple
7396 acessors haveSelction() and workHeight() instead
7399 2002-08-29 John Levon <levon@movementarian.org>
7401 * BufferView_pimpl.C (dispatch): do not continue when
7404 2002-08-28 André Pönitz <poenitz@gmx.net>
7406 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7409 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7411 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
7413 * buffer.C: increment LYX_FORMAT to 221
7415 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7416 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7418 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7420 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7422 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7424 * factory.C (createInset): use LyXTextClass::floats
7426 * MenuBackend.C (expandFloatListInsert):
7427 (expandFloatInsert):
7430 * text2.C (setCounter):
7432 * LaTeXFeatures.C (useFloat):
7433 (getFloatDefinitions):
7435 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7437 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7438 floatlist_, with accessor floats().
7440 * FloatList.h: remove global FloatList
7442 2002-08-26 André Pönitz <poenitz@gmx.net>
7444 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7448 * BufferView_pimpl.C:
7449 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7451 2002-08-25 John Levon <levon@movementarian.org>
7453 * LyXAction.C: fix margin note description
7455 2002-08-24 John Levon <levon@movementarian.org>
7459 * bufferview_funcs.C:
7461 * undo_funcs.C: cleanups
7463 * lyxfunc.C: disable CUT/COPY when no selection
7465 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
7467 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7468 in "enum UNIT"; e.g. PTW for Percent of TextWidth
7470 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7471 Add backward compatibility to "mono", "gray" and "no".
7473 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
7475 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7476 (and file_format >= 200).
7478 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7480 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7482 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7484 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7486 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
7488 * BufferView_pimpl.C:
7495 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7496 inset and code to make it work with the paragraph code. The inset
7497 can be anywhere in the paragraph, but will only do the expected
7498 thing in LaTeX if the layout file contains the parameter line
7500 (or more generally, a nonzero value) for that layout.
7502 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7504 * paragraph.h: remove the declaration of undefined counters class
7507 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
7509 * text2.C (setCounter): fixed enumeration mis-count as reported by
7510 Dr. Richard Hawkins.
7512 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7514 * paragraph_funcs.h: remove some unneeded includes
7516 * text.C (backspace): pasteParagraph now in global scipe
7518 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7519 (pasteSelection): ditto
7521 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7522 * paragraph_funcs.C (pasteParagraph): ... here
7524 2002-08-20 André Pönitz <poenitz@gmx.net>
7526 * commandtags.h: new LFUNs for swapping/copying table row/colums
7529 * lyxfunc.C: support for new lfuns
7531 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7534 * buffer.[Ch]: remove NO_COMPABILITY stuff
7536 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
7538 * boost.C (throw_exception): new file, with helper function for
7539 boost compiled without exceptions.
7544 * ParameterStruct.h:
7545 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7547 * bufferlist.C (emergencyWriteAll): use boost bind
7549 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7551 * text.C: include paragraph_funcs.h
7552 (breakParagraph): breakParagraph is now in global scope
7554 * paragraph_funcs.[Ch]: new files
7556 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7559 * buffer.C: include paragraph_funcs.h
7560 (insertStringAsLines): breakParagraph is now in global scope
7562 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7565 * CutAndPaste.C: include paragraph_funcs.h
7566 (cutSelection): breakParagraphConservative is now in global scope
7567 (pasteSelection): ditto
7569 * buffer.h: declare oprator== and operator!= for
7570 Buffer::inset_iterator
7572 * bufferlist.C (emergencyWrite): don't use fmt(...)
7574 * text3.C: add using std::endl
7576 * BufferView.C (moveCursorUpdate): remove default arg
7578 2002-08-20 André Pönitz <poenitz@gmx.net>
7580 * buffer.[Ch]: move inline functions to .C
7583 * BufferView_pimpl.C:
7585 * buffer.[Ch]: use improved inset_iterator
7588 * paragraph.[Ch]: write one paragraph at a time
7590 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7592 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7593 style if style is not specified.
7595 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7597 * text2.C (setCounter): when searching for right label for a
7598 caption, make sure to recurse to parent insets (so that a caption
7599 in a minipage in a figure float works) (bug #568)
7601 2002-08-20 André Pönitz <poenitz@gmx.net>
7603 * text3.C: new file for LyXText::dispatch() and helpers
7605 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7607 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7609 2002-08-19 André Pönitz <poenitz@gmx.net>
7612 * text.C: new LyXText::dispatch()
7614 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7616 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7618 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7620 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7623 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7625 * Makefile.am: use $(variables) instead of @substitutions@
7627 2002-08-15 André Pönitz <poenitz@gmx.net>
7630 * BufferView_pimpl.C: streamlining mathed <-> outer world
7634 * LyXAction.C: remove unused LFUN_MATH
7636 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7638 * paragraph.[Ch]: add some NO_NEXT ifdefs.
7640 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7642 * paragraph.C (Paragraph): reformat a bit
7643 (cutIntoMinibuffer): use builtin InsetList function instad of
7647 * buffer.C: include boost/bind.hpp, add using std::for_each
7648 (writeFileAscii): use ParagraphList iterators
7649 (validate): use for_each for validate traversal of paragraphs
7650 (getBibkeyList): use ParagraphList iterators
7651 (resizeInsets): use for_each to resizeInsetsLyXText for all
7653 (getParFromID): use ParagraphList iterators
7655 * BufferView2.C (lockInset): use paragraph list and iterators
7657 2002-08-14 John Levon <levon@movementarian.org>
7659 * lyxserver.C: remove spurious xforms include
7661 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7663 * lyxfunc.C (getStatus): disable math-extern outside of math mode
7665 2002-08-13 André Pönitz <poenitz@gmx.net>
7668 * lyxfunc.C: further cleaning
7670 2002-08-13 André Pönitz <poenitz@gmx.net>
7672 * funcrequest.h: new constructor
7674 * funcrequest.C: move stuff here from .h
7677 * BufferView_pimpl.C:
7680 * lyxfunc.C: subsequent changes
7682 * lyxfunc.h: new view() member function
7684 * lyxfunc.C: subsequent changes
7686 2002-08-13 Angus Leeming <leeming@lyx.org>
7689 * BufferView_pimpl.C:
7697 changes due to the changed LyXView interface that now returns references
7698 to member variables not pointers.
7700 2002-08-13 Angus Leeming <leeming@lyx.org>
7702 * WordLangTuple (word, lang_code): return references to strings,
7707 * lyxtext.h: forward-declare WordLangTuple.
7712 * text.C: #include "WordLangTuple.h".
7715 * text.C: (selectNextWordToSpellcheck): constify return type.
7717 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
7723 * paragraph_pimpl.h:
7726 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7728 Made updateCounter always count from start of buffer, and removed
7729 second argument (par).
7730 Reverted floats number display to '#'. Perhaps I'll try again when the
7731 code base is sanitized a bit.
7733 2002-08-12 Angus Leeming <leeming@lyx.org>
7735 * buffer.[Ch] (getLabelList): constify.
7737 2002-08-07 André Pönitz <poenitz@gmx.net>
7739 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7741 * funcrequest.h: extension to keep mouse (x,y) position
7743 2002-08-12 Juergen Vigna <jug@sad.it>
7745 * BufferView2.C (insertErrors): forbid undo when inserting error
7748 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7750 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7752 * ParagraphList.[Ch]: new files
7754 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7756 * BufferView2.C (lockInset): ParagraphList changes
7759 * bufferlist.C: ditto
7763 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7765 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7766 unused class variable counter_,
7768 * paragraph.[Ch] (getFirstCounter): delete unused function
7770 * counters.C: include LAssert.h
7771 (reset): add a new function with no arg, change other version to
7772 not have def. arg and to not allow empty arg.
7774 * text2.C (setCounter): remove empty arg from call to Counters::reset
7776 2002-08-11 John Levon <levon@movementarian.org>
7778 * Makefile.am: add WordLangTuple.h
7780 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7782 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7783 lyxfunc.C lyxlex_pimpl.C: ws changes only.
7785 * insets/insettext.C: InsetList changes
7787 * graphics/GraphicsSupport.C (operator()): InsetList changes
7789 * toc.C (getTocList): InsetList changes
7791 * paragraph_pimpl.[Ch]: InsetList changes
7793 * paragraph.[Ch]: InsetList changes
7795 * buffer.C (inset_iterator): InsetList changes
7796 (setParagraph): ditto
7797 * buffer.h (inset_iterator): ditto
7798 * iterators.C (operator++): ditto
7799 * iterators.h: ditto
7801 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7803 * InsetList.[Ch]: new files, most InsetList handling moved out of
7806 * BufferView2.C (removeAutoInsets): InsetList changes
7808 (ChangeInsets): ditto
7810 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7812 * paragraph_pimpl.h (empty): new function
7814 * paragraph.[Ch] (empty): new function
7816 * other files: use the new Paragraph::empty function
7818 2002-08-09 John Levon <levon@movementarian.org>
7820 * lyxtext.h: remove unused refresh_height
7822 2002-08-09 John Levon <levon@movementarian.org>
7829 * paragraph.C: move sgml char escaping out of paragraph
7832 * paragraph.C: remove id setter
7836 * paragraph_pimpl.C: remove dead tex_code_break_column
7838 * bufferview_funcs.C: small cleanup
7840 * lyxfunc.C: remove dead proto
7842 * lyxtext.h: make some stuff private. Remove some dead stuff.
7844 * lyxgluelength.C: make as[LyX]String() readable
7846 2002-08-08 John Levon <levon@movementarian.org>
7851 * ToolbarDefaults.C:
7854 * toc.C: lyxaction cleanup
7856 2002-08-08 John Levon <levon@movementarian.org>
7858 * BufferView2.C: small cleanup
7861 * lyxfind.C: move unnecessary header into the .C
7863 2002-08-08 John Levon <levon@movementarian.org>
7865 * funcrequest.h: just tedious nonsense
7868 * lyx_main.C: cleanups
7871 * vspace.C: remove dead header lyx_main.h
7873 2002-08-07 Angus Leeming <leeming@lyx.org>
7876 * paragraph_pimpl.h:
7877 Forward declare class Counters in paragraph.h by moving the ctrs member
7878 variable into Paragraph::Pimpl.
7879 (counters): new method, returning a reference to pimpl_->ctrs.
7881 * text2.C: ensuing changes.
7883 2002-08-07 John Levon <levon@movementarian.org>
7885 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7887 * BufferView_pimpl.C: announce X selection on double/triple
7890 * lyx_main.C: use correct bool in batch dispatch
7892 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7894 2002-08-07 André Pönitz <poenitz@gmx.net>
7896 * funcrequest.h: new class to wrap a kb_action and its argument
7899 * BufferView_pimpl[Ch]:
7903 * lyxrc.C: subsequent changes
7906 2002-08-07 John Levon <levon@movementarian.org>
7908 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7909 document options change.
7911 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7916 * makefile.am: move counters functionality over from
7917 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7919 2002-08-06 John Levon <levon@movementarian.org>
7921 * WordLangTuple.h: new file for word + language code tuple
7932 * BufferView2.C: use WordLangTuple
7935 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7937 2002-08-06 John Levon <levon@movementarian.org>
7939 * lyx_main.C: fix cmdline batch handling
7941 2002-08-06 André Pönitz <poenitz@gmx.net>
7943 * lyxrc.C: set default for show_banner to true
7945 2002-08-06 John Levon <levon@movementarian.org>
7947 * pspell.C: fix a crash, and allow new aspell to work
7949 2002-08-06 John Levon <levon@movementarian.org>
7952 * kbmap.C: small cleanup
7955 * vspace.C: add const
7957 2002-08-05 John Levon <levon@movementarian.org>
7959 * LyXAction.C: back to tabular-insert
7961 2002-08-04 John Levon <levon@movementarian.org>
7964 * BufferView.C: cosmetic change
7966 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7976 * BufferView2.C: purge all "Lyx" not "LyX" strings
7979 * lyxcursor.C: attempt to add some documentation
7984 * ToolbarDefaults.C:
7985 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7986 merge with LFUN_TABULAR_INSERT
7993 * pspell.C: split up i/pspell implementations into separate
7994 files, many cleanups
7996 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7998 * text2.C: some cleanup
8000 * lyxfunc.C: don't check for isp_command == "none" any more, it
8001 didn't make any sense
8003 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8008 * makefile.am: move counters functionality over
8009 from text2.C/paragraph.[Ch] to counters.[Ch], and
8011 2002-08-02 John Levon <levon@movementarian.org>
8013 * buffer.C: s/lyxconvert/lyx2lyx/
8015 2002-08-02 Angus Leeming <leeming@lyx.org>
8017 * lyxlex.C: revert John's change as it breaks reading of the user
8020 2002-08-02 Angus Leeming <leeming@lyx.org>
8022 * importer.C (Import):
8023 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8024 changes due to LyXView::view() now returning a boost::shared_ptr.
8026 2002-08-02 John Levon <levon@movementarian.org>
8028 * lyxlex.C: small cleanup
8030 2002-08-02 John Levon <levon@movementarian.org>
8032 * text2.C (status): small cleanup, no logic change
8034 2002-08-01 John Levon <levon@movementarian.org>
8037 * buffer.C (writeFile): don't output alerts, caller
8041 * lyx_cb.C: from above
8043 * lyxfunc.C: allow to open non-existent files
8045 2002-07-31 John Levon <levon@movementarian.org>
8047 * lyxserver.C: don't let incidental errors get
8050 2002-07-30 John Levon <levon@movementarian.org>
8052 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8054 2002-07-30 John Levon <levon@movementarian.org>
8057 * lyxserver.C: remove I/O callback too
8059 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8061 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8064 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8066 * many files: strip,frontStrip -> trim,ltrim,rtrim
8068 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8070 * PrinterParams.h: remove extern containsOnly, and include
8071 support/lstrings.h instead.
8073 * LaTeX.C (scanAuxFile): modify because of strip changes
8075 * buffer.C (makeLaTeXFile): ditto
8076 * bufferparams.C (writeFile): ditt
8077 * lyxfont.C (stateText): ditto
8078 * lyxserver.C (read_ready): ditto
8079 * vc-backend.C (scanMaster): ditto
8081 * BufferView_pimpl.h: ws changes
8083 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8085 2002-07-26 André Pönitz <poenitz@gmx.net>
8087 * kb_sequence.C: remove unnedred usings
8089 2002-07-26 Juergen Vigna <jug@sad.it>
8091 * lyxfind.C (LyXReplace): we have to check better if the returned
8092 text is not of theLockingInset()->getLockingInset().
8094 2002-07-25 Juergen Vigna <jug@sad.it>
8096 * lyxfind.C (LyXReplace): don't replace if we don't get the
8099 * undo_funcs.C (createUndo): remove debugging code.
8101 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
8103 * buffer.C (parseSingleLyXformat2Token): Use default placement
8104 when reading old floats.
8106 * FloatList.C (FloatList): Change the default placement of figure
8107 and tables to "tbp".
8109 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
8111 * MenuBackend.C: using std::max
8113 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8115 * MenuBackend.C (expandToc):
8116 (expandToc2): code moved from xforms menu frontend. It is now
8117 generic and TOCs are transparent to menu frontends.
8119 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8121 * toc.C (getTocList): protect against buf=0
8123 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8124 Menu as first parameter. Now, this calls itself recursively to
8125 expand a whole tree (this will be useful for TOC handling)
8126 (expandFloatInsert): remove 'wide' version of floats
8128 * MenuBackend.h (submenuname): returns the name of the submenu.
8129 (submenu): returns the submenu itself, provided it has been
8130 created by MenuBackend::expand
8132 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8134 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8135 insets which have noFontChange == true. (bug #172)
8137 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8139 * BufferView_pimpl.C: add connection objects and use them...
8142 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8144 * MenuBackend.C (expandLastfiles):
8147 (expandFloatListInsert):
8148 (expandFloatInsert):
8149 (expand): split expand in parts
8151 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8153 * lyx_gui.C: use lyx_gui::exit()
8155 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8157 * LyXAction.C: show the failing pseudo action
8159 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
8161 * buffer.C (readFile): Run the lyxconvert script in order to read
8164 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8168 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8170 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8174 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8176 2002-07-22 Herbert Voss <voss@lyx.org>
8179 * lyxlength.[Ch]: add support for the vertical lengths
8181 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
8183 * toc.[Ch]: std:: fixes
8185 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8187 * lyxrc.C: do not include lyx_main.h
8189 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8195 * BufferView2.C: include "lyxlex.h"
8198 * bufferparams.h: do not #include "lyxlex.h"
8200 * lyxtextclasslist.C (Add): remove method
8201 (classlist): renamed to classlist_
8203 * paragraph_pimpl.C:
8207 * bufferview_funcs.C:
8212 * toc.C (getTocList): use BufferParams::getLyXTextClass
8214 * toc.C (getTocList): use InsetFloat::addToToc
8216 * toc.[Ch]: new files, containing helper functions to handle table
8219 * lyxfunc.C (dispatch): no need to remove spaces around command
8221 (getStatus): handle LFUN_SEQUENCE by returning the status of the
8222 first command of the sequence; it is not very clever, but I do not
8223 have a better idea, actually
8225 * LyXAction.C (LookupFunc): make sure to remove space at the
8226 beginning and end of the command
8228 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8230 * MenuBackend.C (getMenubar): new method: return the menubar of
8232 (read): treat differently reading of menu and menubar (in
8233 particular, the menubar has no name now)
8234 (Menu::menubar): remove
8236 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8239 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8241 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8242 a bibitem inset in a RTL paragraph.
8244 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
8246 * paragraph_pimpl.C: constify
8248 * BufferView_pimpl.C:
8250 * lyxfunc.C: fix dispatch in a nicer way
8252 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8254 * lyxfunc.C (dispatch):
8255 * BufferView_pimpl.C:
8256 * BufferView_pimpl.h:
8258 * BufferView.h: rename Dispatch() to dispatch()
8260 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8262 * lyxlayout.C (Read): honor DependsOn tag
8264 * lyxlayout.[Ch] (depends_on): new method
8266 * version.C.in: update lyx_docversion
8268 * LaTeXFeatures.C (getMacros): only define \LyX when needed
8270 * paragraph.C (validate): remove from here...
8271 * paragraph_pimpl.C (validate): ... and move here
8272 (isTextAt): make it const
8274 * buffer.C (getLists): ws cleanup
8276 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8278 * language.C (read): Use iso8859-1 encoding in latex_lang
8279 (this prevents LyX from crashing when using iso10646-1 encoding).
8281 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8283 * text2.C (toggleInset): if cursor is inside an inset, close the
8284 inset and leave cursor _after_ it
8286 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8288 * lyxfunc.C: move minibuffer completion handling out of here
8290 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8292 * BufferView_pimpl.C:
8293 * LaTeX.C: fix dispatch calls
8295 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
8297 * text.C (drawChars): Fix Arabic text rendering.
8299 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
8303 * lyxfunc.C: remove message-push/pop
8307 * lyxfunc.C: rationalise some code by removing verboseDispatch
8308 in favour of a bool argument to dispatch()
8310 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8312 * lyx_main.C (init): make sure to read symlinks as absolute paths
8314 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8317 * lyxfunc.C: no need for commandshortcut to be a member
8319 2002-07-15 André Pönitz <poenitz@gmx.net>
8321 * converter.C: add support for $$s (scripts from lib/scripts dir)
8322 * lyx_main.C: white space
8324 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8328 * lyxrc.C: remove second exit confirmation
8330 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8335 * BufferView_pimpl.h:
8336 * BufferView_pimpl.C:
8337 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8339 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8341 * MenuBackend.C (expand): add numeric shortcuts to document menu
8343 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8345 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8347 * lyxfont.C (setLyXFamily):
8354 * buffer.C (asciiParagraph): use ascii_lowercase
8356 2002-07-15 Mike Fabian <mfabian@suse.de>
8358 * lyxlex_pimpl.C (search_kw):
8359 * lyxlex.C (getLongString):
8360 * converter.h (operator<):
8361 * converter.C (operator<):
8362 * buffer.C (parseSingleLyXformat2Token):
8364 * ToolbarDefaults.C (read):
8365 * MenuBackend.C (checkShortcuts):
8367 * LColor.C (getFromGUIName):
8368 (getFromLyXName): use the compare_ascii_no_case instead of
8369 compare_no_case, because in turkish, 'i' is not the lowercase
8370 version of 'I', and thus turkish locale breaks parsing of tags.
8372 2002-07-16 Angus Leeming <leeming@lyx.org>
8374 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8375 now takes a Buffer const & argument.
8377 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
8379 * BufferView.C (resize): check there's a buffer to resize
8381 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
8383 * lyxfunc.C: remove dead code
8386 * lyxserver.C: use lyx_guii::set_read_callback
8388 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
8390 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8391 an inset in a RTL paragraph.
8393 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8395 * lyxfunc.C: repaint after a font size update
8397 2002-07-15 André Pönitz <poenitz@gmx.net>
8399 * lyxlength.C: inBP should be able to return negative values
8401 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8403 * lyxfunc.C: use lyx_gui::update_fonts()
8405 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8407 * lyxfunc.C: use lyx_gui::update_color()
8409 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8415 * lyxrc.C: remove file->new asks for name option, and let
8416 buffer-new take an argument
8418 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8420 * BufferView_pimpl.C: remove unneeded extra repaint()
8422 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
8424 * LyXAction.C: allow command-sequence with NoBuffer
8426 * lyxfunc.C: don't insist on trailing ';' for command-sequence
8428 2002-07-10 Angus Leeming <leeming@lyx.org>
8430 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8432 2002-07-09 Angus Leeming <leeming@lyx.org>
8434 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8436 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8438 * lengthcommon.h: whitespace
8440 * lyxfunc.C: update scrollbar after goto paragraph
8442 * lyxtext.h: factor out page break drawing, and fix it so
8443 page break/added space paints as selected nicely
8445 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8447 * BufferView_pimpl.C: add FIXMEs, clean up a little
8449 2002-07-09 André Pönitz <poenitz@gmx.net>
8451 * lyxfont.[Ch]: support for wasy symbols
8453 2002-07-08 André Pönitz <poenitz@gmx.net>
8455 * BufferView_pimpl.C: apply John's patch for #93.
8457 2002-07-05 Angus Leeming <leeming@lyx.org>
8459 * BufferView_pimpl.C (buffer): generate previews if desired.
8461 * LColor.h: add "preview" to the color enum.
8463 * LColor.C (LColor): add a corresponding entry to the items array.
8465 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8468 2002-07-05 Angus Leeming <leeming@lyx.org>
8470 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8471 The body of the code is now in the method that is passed an ostream &
8472 rather than a file name.
8473 Pass an additional only_preamble parameter, useful for the forthcoming
8476 2002-07-03 André Pönitz <poenitz@gmx.net>
8478 * lyxfunc.C: simplify getStatus() a bit for math stuff
8480 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8482 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8484 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8486 * text.C (changeRegionCase): do not change case of all the
8487 document when region ends at paragraph end (bug #461)
8489 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8491 * paragraph.C (startTeXParParams):
8492 (endTeXParParams): add \protect when necessary
8494 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8496 * BufferView_pimpl.C (workAreaExpose): remove warning
8498 2002-06-27 Angus Leeming <leeming@lyx.org>
8500 * Makefile.am: add lyxlayout_ptr_fwd.h.
8502 2002-06-26 André Pönitz <poenitz@gmx.net>
8504 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8506 2002-06-25 Angus Leeming <leeming@lyx.org>
8508 * lyxfunc.C (dispatch): Comment out the call to
8509 grfx::GCache::changeDisplay. The method no longer exists now that the
8510 pixmap generation part of the graphics loader has been moved into
8513 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8515 * text2.C: layout as layout
8517 * text.C: layout as layout
8519 * tabular.C (OldFormatRead): layout as layout
8521 * paragraph_pimpl.C (TeXDeeper): layout as layout
8522 (realizeFont): layout as layout
8524 * paragraph.C (writeFile): layout as layout
8525 (validate): layout as layout
8526 (getFont): layout as layout
8527 (getLabelFont): layout as layout
8528 (getLayoutFont): layout as layout
8529 (breakParagraph): layout as layout
8530 (stripLeadingSpaces): layout as layout
8531 (getEndLabel): layout as layout
8532 (getMaxDepthAfter): layout as layout
8533 (applyLayout): layout as layout
8534 (TeXOnePar): layout as layout
8535 (simpleTeXOnePar): layout as layout
8536 (TeXEnvironment): layout as layout
8537 (layout): layout as layout
8538 (layout): layout as layout
8540 * lyxtextclass.C (compare_name): new functor to work with
8541 shared_ptr, layout as layout
8542 (Read): layout as layout
8543 (hasLayout): layout as layout
8544 (operator): layout as layout
8545 (delete_layout): layout as layout
8546 (defaultLayout): layout as layout
8548 * lyxlayout_ptr_fwd.h: new file
8550 * lyxlayout.C (Read): layout as layout
8552 * lyx_cb.C (MenuInsertLabel): layout as layout
8554 * bufferlist.C (newFile): layout as layout
8556 * buffer.C (readLyXformat2): layout as layout
8557 (parseSingleLyXformat2Token): layout as layout
8558 (insertStringAsLines): layout as layout
8559 (asciiParagraph): layout as layout
8560 (latexParagraphs): layout as layout
8561 (makeLinuxDocFile): layout as layout
8562 (simpleLinuxDocOnePar): layout as layout
8563 (makeDocBookFile): layout as layout
8564 (simpleDocBookOnePar): layout as layout
8565 (getLists): layout as layout
8567 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8569 * CutAndPaste.C (cutSelection): layout as layout
8570 (pasteSelection): layout as layout
8571 (SwitchLayoutsBetweenClasses): layout as layout
8573 * BufferView_pimpl.C (Dispatch): layout as layout
8574 (smartQuote): layout as layout
8576 * BufferView2.C (unlockInset): layout as layout
8578 2002-06-24 André Pönitz <poenitz@gmx.net>
8580 * lyxfunc.C: fix #487
8582 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8586 * lyxfunc.C: remove display_shortcuts, show_banner
8588 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8590 * Buffer_pimpl.C: oops, update on resize
8592 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8599 * BufferView.C: use repaint()
8601 * BufferView_pimpl.h:
8602 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8603 as it's a clearer description. Remove superfluous
8606 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8608 * text.C: fix bug 488. Not ideal, but getting
8609 getWord() to work properly for the insets that
8610 matter is more difficult ...
8612 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8614 * BufferView_pimpl.C:
8617 * lyxfunc.C: remove the six million index lyxfuncs to just
8618 one, and DTRT (bug 458)
8620 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8624 * BufferView_pimpl.h:
8625 * BufferView_pimpl.C: clean up resize() stuff,
8626 and unnecessary updateScreen()s
8628 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8632 * BufferView_pimpl.h:
8633 * BufferView_pimpl.C:
8636 * minibuffer.C: remove focus management of workarea,
8637 not needed. Use screen's greyOut()
8639 2002-06-17 Herbert Voss <voss@lyx.org>
8641 * converter.C: (convert) do not post a message, when converting
8642 fails, let the calling function decide what to do in this case
8644 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
8646 * lyxfunc.C: tidy up a little
8648 2002-06-16 <alstrup@diku.dk>
8650 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8651 Got rid of FORMS_H_LOCATION include. Now we are
8654 2002-06-15 LyX Development team <lyx@rilke>
8656 * buffer.[Ch] (sgmlOpenTag):
8657 (sgmlCloseTag): Added support for avoiding pernicious mixed
8658 content. Return number of lines written.
8661 (makeDocBookFile): Fixed calls to sgml*Tag.
8662 Simple white space clean.
8664 (simpleDocBookOnePar): Simple white space clean.
8666 * tabular.[Ch] (docBook): Renamed to docbook and got another
8667 argument to related with the pernicious mixed content.
8669 (docbookRow): Fixed calls for docbook inset method.
8671 2002-06-15 Lyx Development team <larsbj@birdstep.com>
8673 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8674 so it's X11 independent.
8678 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8680 2002-06-15 Lyx Development team <lyx@electronia>
8682 * intl.h: Renamed getTrans to getTransManager.
8684 2002-06-14 Angus Leeming <leeming@lyx.org>
8686 * Makefile.am: nuke forgotten stl_string_fwd.h.
8688 2002-06-12 Angus Leeming <leeming@lyx.org>
8690 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8692 2002-06-13 Angus Leeming <leeming@lyx.org>
8695 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8697 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
8699 * kbmap.C (getiso): add support for cyrillic and greek
8701 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8705 * BufferView_pimpl.h:
8706 * BufferView_pimpl.C: move bogus scrolling logic
8709 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8712 * BufferView_pimpl.C: view->resize() change
8714 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8716 * BufferView_pimpl.C: topCursorVisible
8719 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8723 * lyx_gui.C: move to frontends/
8727 * lyx_main.C: changes from above
8729 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8736 * lyx_main.C: minor tidy
8738 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8740 * BufferView_pimpl.h:
8741 * BufferView_pimpl.C:
8743 * BufferView.C: make painter() const,
8746 * BufferView2.C: use screen() accessor
8749 * lyx_main.C: some minor cleanup
8751 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8753 * BufferView_pimpl.h:
8754 * BufferView_pimpl.C: remove enter/leaveView,
8757 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8762 * BufferView_pimpl.h:
8763 * BufferView_pimpl.C: only construct screen once,
8766 * lyxrc.C: remove pointless comment
8768 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8771 * BufferView.C: remove active() and belowMouse()
8773 * BufferView_pimpl.h:
8774 * BufferView_pimpl.C: use workarea() not workarea_,
8775 and make it use a scoped_ptr instead
8777 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8779 * lyx_gui.C: add debug message on BadWindow
8781 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8783 * sp_spell.C: fdopen is not part of the C++ standard.
8785 * paragraph.C (InsetIterator): use >= instead of ==
8787 2002-06-07 Angus Leeming <leeming@lyx.org>
8789 Fixes needed to compile with Compaq cxx 6.5.
8790 * BufferView_pimpl.C:
8797 * lyxtextclasslist.C:
8802 all c-library variables have been moved into namespace std. Wrap
8803 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8808 Add a using std::abs declaration.
8810 * kbmap.h (modifier_pair):
8811 * paragraph.h (InsetTable, InsetList):
8812 * lyxfont.h (FontBits):
8813 type definition made public.
8815 * bufferlist.C (emergencyWriteAll): the compiler complains that
8816 there is more than one possible lyx::class_fun template to choose from.
8817 I re-named the void specialisation as lyx::void_class_fun.
8819 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8821 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8822 the compiler is is unable to find tostr in write_attribute.
8824 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8826 * buffer.C (sgmlError): hide #warning
8828 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8830 * xtl/*: get rid of xtl, which is not in use anyway
8832 * LyXAction.C (init):
8833 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8834 were unimplemented xtl experimentation
8836 2002-06-04 André Pönitz <poenitz@gmx.net>
8838 * lyxfunc.C: disable array operation on simple formulae
8840 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
8842 * converter.C: constify a bit
8844 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
8846 * lyx_gui.C: check xforms version correctly
8848 2002-04-30 Herbert Voss <voss@lyx.org>
8850 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8853 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
8855 * lyxvc.C: fix bug 416 (make sure buffer is saved before
8856 attempt to register it with a VCS)
8858 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8860 * lyx_main.C (init): honor variables LYX_DIR_13x and
8863 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8867 * lyx_main.C: fix a crash on bad command line,
8868 and give a useful exit status on error
8870 * lyxfunc.C (doImport): allow -i lyx to work
8872 2002-03-30 André Pönitz <poenitz@gmx.net>
8874 * lyxfunc.C: mathed font changes
8876 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8891 * trans_mgr.h: srcdocs, and some minor cleanups
8893 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8895 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8896 call getFont all the time)
8898 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8900 * switch from SigC signals to boost::signals
8902 2002-05-29 André Pönitz <poenitz@gmx.net>
8904 * paragraph_pimpl.C (getChar): don't call size() too often...
8906 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8908 * paragraph_pimpl.C (insertChar): do not try to update tables when
8909 appending (pos == size())
8911 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8912 in order to reduce drastically the number of comparisons needed to
8913 parse a large document
8915 2002-05-29 André Pönitz <poenitz@gmx.net>
8921 * textclasslist.[Ch]:
8922 * sp_ispell.h: whitespace change
8924 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8926 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8927 lyxaction directly now.
8929 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
8933 * lyxvc.C: remove unused headers
8935 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8942 * undo_funcs.C: some cleanups. Use shared_ptr
8943 and a template for the undo stacks.
8945 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8947 * BufferView_pimpl.h:
8948 * BufferView_pimpl.C:
8955 * text2.C: use key_state/mouse_state
8957 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8959 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8962 * chset.C: change include order
8963 (loadFile): use boost regex and get rid of LRegex and LSubstring
8965 * Makefile.am (BOOST_LIBS): new variable
8968 * LaTeX.C: change include order.
8969 (scanAuxFile): use boost regex and get rid of LRegex and
8973 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8978 * FontInfo.C: moved to frontends/xforms/
8981 * FontLoader.C: moved into frontends for GUIIzation
8986 * lyxfunc.C: changes from above
8988 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8990 * LColor.C: remove spurious X include
8992 * BufferView_pimpl.C:
8997 * text2.C: move font metrics to frontends/
8999 2002-05-24 Juergen Vigna <jug@sad.it>
9001 * undo_funcs.C (textHandleUndo): fix the cursor selection after
9002 setting the undo_cursor.
9004 * ParagraphParameters.h: include local includes first.
9006 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9008 * BufferView_pimpl.C:
9009 * BufferView_pimpl.h:
9013 * screen.C: move WorkArea into frontends/
9019 * BufferView2.C: move LyXScreen into frontends/
9023 * lyx_gui.C: move lyxlookup into frontends/xforms/
9025 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9028 * BufferView_pimpl.C:
9038 * bufferview_funcs.C:
9051 * vc-backend.C: move LyX/XFormsView into frontends/
9053 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9065 * text2.C: move Painter to frontends/
9067 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9069 * buffer.C: comment out some some code that depend upon lyx_format
9072 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9073 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9075 * buffer.h (NO_COMPABILITY): turn off compability
9077 * ColorHandler.C: include scoped_array.hpp
9079 * font.C: Use more specific smart_ptr header.
9082 * ShareContainer.h: ditto
9086 * BufferView_pimpl.h: ditto
9087 * ColorHandler.h: ditto
9089 * kbmap.C (defkey): change call to shared_ptr::reset
9091 2002-05-21 Juergen Vigna <jug@sad.it>
9093 * buffer.C (insertErtContents): fix to insert ert asis if it is
9094 non empty. Skip it completely if it contains only whitespaces.
9096 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
9098 * BufferView_pimpl.C:
9099 * BufferView2.C: clear selection on paste (bug 393)
9101 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9103 * DepTable.C: include ctime
9105 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
9107 * buffer.C (latexParagraphs): Add new argument (moving_arg).
9109 2002-05-14 Juergen Vigna <jug@sad.it>
9111 * text.C (breakParagraph): fixed function to honor the keepempty
9112 layout in the right maner and also to permit the right breaking
9113 algorithm on empty or non empyt keepempty paragraphs.
9115 * paragraph.C (breakParagraph): we have to check also if the par
9116 is really empty (!size()) for isempty otherwise we do the wrong
9119 2002-05-10 Juergen Vigna <jug@sad.it>
9121 * buffer.[Ch] : The following are only changes to the ert
9122 compatibility read reading old LaTeX layout and font stuff and
9123 convert it to ERTInsets.
9125 * buffer.h: added isErtInset().
9127 * buffer.C (struct ErtComp): add a fromlayout bool to check
9128 if we're inside a LaTeX layout.
9129 (isErtInset): new helper function.
9130 (insertErtContents): look for other ert insets before this one
9131 and insert the contents there, so that we don't have subsequent
9132 ERT insets with nothing between them. This way we create only one
9133 inset with multiple paragraphs. Also check if we don't insert only
9134 spaces ' ' as they are ignored anyway afterwards in the .tex file
9135 so if we have only spaces we will ignore this latex part in the
9137 (parseSingleLyXformat2Token \\layout): better compatibility when
9138 reading layout-latex stuff.
9139 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9141 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9142 stuff after reading the inset only get the information back from
9145 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
9147 * buffer.C (makeLaTeXFile): Put language options after loading babel.
9149 * LaTeXFeatures.C (getBabelOptions): New method.
9151 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9153 * BufferView_pimpl.C (Dispatch): work around missing argument for
9156 2002-05-08 Juergen Vigna <jug@sad.it>
9158 * text.C (leftMargin): handle paragraph leftindent.
9160 * paragraph.C (writeFile): write the new \\leftindent tag.
9161 (validate): handle leftindent code.
9162 (TeXEnvironment): handle paragraphleftindent code again.
9164 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9166 * buffer.C (parseSingleLyXformat2Token): added compatibility code
9167 for paragrap_extra indent code and new token \\leftindent.
9168 (latexParagraphs): handle the leftindent as environment.
9170 * ParameterStruct.h: added leftindent support.
9172 * ParagraphParameters.C (leftIndent): added support functions for
9173 the paragraph left indent.
9175 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9178 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
9180 * paragraph.C (isRightToLeftPar): Return false for a paragraph
9183 * text.C (computeBidiTables): No bidi in insetERT.
9185 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9188 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9190 * version.C.in: pre 5
9192 2002-05-02 José Matos <jamatos@fep.up.pt>
9193 * buffer.C (makeDocBookFile): white space changes, add newline to
9195 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9197 * tabular.C (docBook): fix typo.
9199 2002-05-03 Juergen Vigna <jug@sad.it>
9201 * screen.C (drawFromTo): recalculate the rowpointer if we had a
9202 change in LyXText as we can not be sure it was not freed.
9203 (drawOneRow): remove unused code.
9205 * text.C (drawInset): redo the calculation of the need_break_row as
9206 it could have a row which was already freed.
9207 (draw): look at the return value of drawInset and return false if
9208 it also returned false.
9209 (paintRowText): look at the return value of draw and return false if
9210 it also returned false.
9212 * lyxtext.h: added bool return type to drawInset() and draw() so that
9213 if we have a change in the row so that the rowbreak has to be redone
9214 we abort drawing as it will be called again.
9216 2002-05-02 Juergen Vigna <jug@sad.it>
9218 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9219 a change in the maintext also if we're inside an inset.
9220 (Dispatch): set the cursor again after a break line and after the
9221 screen has been updated as it could be we're in a different row.
9223 * text2.C (fixCursorAfterDelete): check to make sure we don't request
9224 to set the cursor behind the pargraph with > size().
9225 (setCursor): check also for the same paragraph when checking where
9226 to put the cursor if we have a NFR inset.
9228 * buffer.C (parseSingleLyXformat2Token): move the compatibility
9229 parts of layout read further up as it still was in the wrong
9232 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9234 * screen.C (drawFromTo): change sine fullRebreak always return
9237 * buffer.C (parseSingleLyXformat2Token): reindent some
9239 * BufferView_pimpl.C (update): change since fullRebreak always
9241 (Dispatch): git rid of the last hardcoded "Standard"s.
9243 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9245 * text2.[Ch] (fullRebreak): make it return void now that we always
9248 2002-04-30 Juergen Vigna <jug@sad.it>
9250 * buffer.C (parseSingleLyXformat2Token): reset the font before the
9251 ert compatibility check for "latex" layout.
9253 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
9255 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9256 minipages: use col% instead of p%, and also use the current font.
9257 (makeLaTeXFile): Fix use babel condition.
9258 (parseSingleLyXformat2Token): Correct font when reading old floats.
9260 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
9262 * BufferView_pimpl.C (Dispatch): Check that float type exists when
9263 inserting list of floats.
9265 2002-04-25 Herbert Voss <voss@lyx.org>
9267 * MenuBackend.C (expand): don't add the graphics extensions to the
9270 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9272 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9273 non-existing layout, do not complain if it was the default layout
9274 of the original class (bug #342)
9276 2002-04-24 Juergen Vigna <jug@sad.it>
9278 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9279 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9281 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
9283 * buffer.C (getBibkeyList): If using \bibliography, return the
9284 option field with the reference itself. Enables us to provide natbib
9285 support when using \bibliography.
9287 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
9289 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9291 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9292 natbib is provided by the LaTeX class.
9294 2002-04-23 Juergen Vigna <jug@sad.it>
9296 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9299 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9301 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9303 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9305 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9306 ensuremath around textordmasculine, textordfeminine and
9309 2002-04-19 Juergen Vigna <jug@sad.it>
9311 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9312 reinitializing the buffer otherwise row-dimensions may be wrong.
9313 (update): reset also the selection cursors if they do exits otherwise
9314 their x/y positions may be wrong.
9316 * text2.C (cursorDown): don't enter the inset if we came from a row
9317 above and are one row over the inset.
9319 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9320 really leaving an inset.
9322 2002-04-18 Juergen Vigna <jug@sad.it>
9324 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9325 of the selected paragraph does not have the selected layout also if
9328 * text2.C (setLayout): fixed bug which did not change last selected
9331 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9332 changed the read and substituted \\end_float with \\end_inset!
9334 * BufferView_pimpl.C (cursorPrevious):
9335 (cursorNext): fixed to make it work with rows heigher than the work
9336 area without moving the cursor only the draw of the row.
9337 (workAreaMotionNotify): fix jumping over high rows.
9339 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9341 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9344 2002-04-16 Juergen Vigna <jug@sad.it>
9346 * text2.C (setCursor): set also the irow().
9347 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9349 (cursorDown): support for locking an inset if the x_fix value goes
9350 inside it. That way I can transverse insets too with cursor up/down.
9352 * lyxrow.h: added irow helper function same as other (i) functions.
9354 * BufferView_pimpl.C (cursorPrevious):
9355 (cursorNext): fixed for insets!
9357 2002-04-15 Juergen Vigna <jug@sad.it>
9359 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9360 position otherwise it is wrong in some cases.
9362 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9363 inside the inset before the call.
9365 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
9367 * buffer.[Ch] (getBibkeyList): make it const.
9369 2002-04-12 Juergen Vigna <jug@sad.it>
9371 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9373 * text2.C (getCursorX): new helper function
9374 (setCursor): compute also ix_
9375 (setCursorFromCoordinates): set also ix.
9377 * lyxcursor.h: added ix_ and helper functions.
9379 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9381 * buffer.C (insertStringAsLines): dont break paragraph if the this
9382 paragraph is inside an inset which does not permit it!
9384 * text.C (breakParagraph): honor keepempty flag and break the paragraph
9385 also with no chars on this paragraph.
9386 (paintRowText): only paint stuff if it's inside the workarea!
9388 * paragraph.C (breakParagraph): honor keepempty flag and break the
9389 paragraph always below not above.
9391 * BufferView2.C (unlockInset): update the paragraph layout on inset
9392 unlock as we changed paragraph in such a case.
9394 * lyxfind.C (LyXFind): clear the former selection if not found!
9396 * text2.C (insertInset): freeze Undo after setUndo so that it is not
9397 again called in insertChar().
9399 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9400 an inset which uses the whole row!
9401 (rightMargin): ditto.
9402 (insertChar): force a rebreak if we inserted an inset!
9404 2002-03-28 Herbert Voss <voss@lyx.org>
9406 * lyxlength.[Ch]: add inBP() to get the right PS-point
9407 units (BigPoint). With inPixels we have rounding errors
9409 2002-04-11 Juergen Vigna <jug@sad.it>
9411 * text2.C (setCursorFromCoordinates): set iy to the right value.
9412 (setCursor): add check if row->previous exists!
9414 * buffer.C (parseSingleLyXformat2Token): reset font after read of
9415 an old float_type as this was the case in the old code!
9417 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9419 * BufferView2.C (showLockedInsetCursor): use iy
9420 (fitLockedInsetCursor): ditto
9422 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9423 locked insets as there we have the right value now.
9425 * lyxcursor.C: added iy_ variable and iy functions to set to the
9426 baseline of cursor-y of the locked inset.
9428 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9429 (setCursor): fixed for insets which need a full row.
9431 * text.C (rowLastPrintable): don't ignore the last space when before
9432 an inset which needs a full row.
9433 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9434 as last character of a row when before a inset which needs a full row.
9436 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9438 * version.C.in: update date
9440 * text2.C (fullRebreak): try to always return true and see what
9443 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9445 * MenuBackend.C (expand): use Floating::listName
9447 * FloatList.C (FloatList): add listName argument to the built-in
9450 * Floating.[Ch]: add listName member, which is the 'List of XXX'
9451 text associated with the float.
9453 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9455 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9457 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9459 * ShareContainer.h: add a couple of missing typenames.
9461 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
9463 * lyxrc.C (getDescription): use _() correctly rather than N_().
9465 2002-03-28 Herbert Voss <voss@lyx.org>
9467 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9468 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9470 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9472 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9473 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9475 2002-03-29 Juergen Vigna <jug@sad.it>
9477 * lyxfunc.C (dispatch): add a missing fitCursor call.
9479 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9480 it was scrolled by a cursor move, so return the bool status.
9482 * BufferView.C (fitCursor): return the bool flag also to the outside
9483 world as this is needed.
9485 * screen.C (toggleToggle): don't subtract the offset if it's positive.
9487 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9488 call the edit() as it is not needed (and wrong) IMO.
9489 (workAreaButtonPress): set the screen_first variable before evt.
9490 unlock the inset as this may change screen_first and then we have
9491 a wrong y position for the click!
9493 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9495 * MenuBackend.C (expand): another translation that I missed
9497 2002-03-28 Juergen Vigna <jug@sad.it>
9499 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9501 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9503 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9505 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9507 * MenuBackend.C (expand): fix export/view/update when there is no
9510 2002-03-27 Herbert Voss <voss@lyx.org>
9512 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9515 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9517 * bufferview_funcs.C (currentState): only show paragraph number
9518 for is DEVEL_VERSION is set.
9520 * lyxfunc.C (dispatch): put warning in INFO channel
9522 * MenuBackend.C (expand): translate the name of floats
9524 * FloatList.C (FloatList): mark the float names for translation
9526 * converter.C (convert): use LibScriptSearch
9528 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9530 * MenuBackend.C (defaults): fix default menu (we might as well get
9533 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9535 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9538 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9540 * lyxvc.C: reorder includes.
9542 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
9544 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9547 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9549 * CutAndPaste.C: change layouts earlier on paste
9550 to avoid crashing when calling getFont()
9552 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9554 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9557 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9559 * WorkArea.C: remove 'Pending' debug message.
9561 * most files: ws cleanup
9563 * buffer.[Ch]: ws changes
9565 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9567 2002-03-21 Juergen Vigna <jug@sad.it>
9569 * tabular.C (SetMultiColumn): collapse also the contents of the
9570 cells and set the last border right. Added a Buffer const * param.
9572 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9574 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9577 2002-03-19 Juergen Vigna <jug@sad.it>
9579 * text2.C (clearSelection): reset also xsel_cache.
9581 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9582 where it needs to be called (John tells us to do so too :)
9583 (selectionLost): reset sel_cache.
9585 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9587 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9589 * text2.C (setCursorIntern): put debuging code in INSETS channel
9591 2002-03-19 André Pönitz <poenitz@gmx.net>
9593 * lyxfunc.C: tiny whitespace change
9595 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9597 * ToolbarDefaults.C (init):
9598 * LyXAction.C (init):
9600 * BufferView_pimpl.C (Dispatch):
9601 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9603 2002-03-19 Allan Rae <rae@lyx.org>
9605 * exporter.C (Export): removeAutoInsets before doing anything else.
9606 While I've just introduced a dependency on BufferView this really is
9607 the best place to clean the buffer otherwise you need to cleanup in
9608 a dozen places before calling export or cleanup in a dozen functions
9611 * converter.C (runLaTeX):
9612 (scanLog): Better handling of removeAutoInsets and screen updates.
9614 * lyxfunc.C (dispatch): small whitespace changes
9616 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9618 * WorkArea.C (C_WorkAreaEvent): return a value.
9619 (event_cb): return 1 if we handled the event, 0 otherwise.
9621 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9623 2002-03-18 Juergen Vigna <jug@sad.it>
9625 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9626 (GetAdditionalWidth): ditto.
9630 * BufferView2.C (copy): use getLyXText() so that we do it inside an
9631 inset if we're there actually (probably not used right now but this
9632 is the direction to go for unifying code).
9633 (paste): disable code to clear the selection.
9635 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9636 inside an InsetText and move the check further up as it is in the
9639 * text2.C (pasteSelection): set a selection over the pasted text.
9641 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
9643 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9644 and libgraphics to build on Cygwin.
9646 2002-03-15 Juergen Vigna <jug@sad.it>
9648 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9649 inserting an Inset into the paragraph. I know this is not the best
9650 fix but we already use current_view in CutAndPaste so we will remove
9651 all of it's using at the same time.
9653 * buffer.C (sgmlError): deactivated function till it is rewritten in
9654 the right mode, now it can create problems.
9656 * paragraph.C (isLineSeparator): check if getInset returns != 0,
9657 before accessing it.
9659 2002-03-14 Juergen Vigna <jug@sad.it>
9661 * undo_funcs.C (textHandleUndo): do the right thing when updating
9662 the inset after the undo/redo.
9664 * text2.C (setCursor): just some testcode for #44 not ready yet.
9666 * undo_funcs.C (textHandleUndo): set the next() and previous()
9667 pointers of the paragraph to 0 before deleting otherwise we have
9668 problems with the Paragraph::[destructor].
9670 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9671 on a paragraph insertion.
9673 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9675 * buffer.C (asciiParagraph): use += operator for char append to
9678 * paragraph.C (getFontSettings): compare >= not just >
9679 (highestFontInRange): ditto
9682 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9684 * paragraph.C: change several algorithm to be more appripriate for
9685 the problem domain. This is lookip in FontList and in the InsetList.
9687 2002-03-13 André Pönitz <poenitz@gmx.net>
9690 * LyXAction.C: remove unused LFUN_MATH_MACROARG
9692 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
9697 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9699 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9701 * Painter.C (display): anon helper function, adjust code for this
9703 (pixmap): remove function.
9705 * Painter.h: remove private display variable.
9707 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9709 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
9711 * WorkArea.[Ch]: remove figinset_canvas cruft.
9713 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9715 * lyxtextclass.C (operator): add one item cache optimization.
9717 * bufferlist.h: doxy changes
9719 * bufferlist.C: ws changes
9721 * DepTable.[Ch] (ext_exist): place const in the right spot.
9723 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9725 (workAreaExpose): call resizeInsets when the with BufferView changes.
9726 (Dispatch): adjust for protectedBlank removal
9727 (specialChar): call updateInset if the insert went ok.
9729 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9730 specialChar instead.
9732 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9734 * BufferView.h: doxy change
9736 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9738 * lyxtextclass.C (operator[]): remove non-const version
9739 (defaultLayout): remove non-const version
9741 2002-03-12 Juergen Vigna <jug@sad.it>
9743 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9744 did resize the LyXText too.
9746 * buffer.C (readLyXformat2): set layout information on newly allocated
9749 * tabular.C (OldFormatRead): set layout information on the paragraph.
9751 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9753 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9755 2002-03-11 Juergen Vigna <jug@sad.it>
9757 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9759 (resizeCurrentBuffer): force also the insets to resize themselfes.
9760 (moveCursorUpdate): fixed up for InsetText.
9762 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
9765 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9766 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9767 value of Dialogs::tooltipsEnabled().
9768 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9770 2002-03-08 Juergen Vigna <jug@sad.it>
9772 * BufferView_pimpl.C (updateInset): update inset inside inset also
9773 if it isn't inside theLockingInset().
9775 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9777 * buffer.C (asciiParagraph): redo some of the word and line length
9779 (getLists): look for Caption instead of caption.
9781 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9783 * buffer.C (Buffer): initialize niceFile to true
9786 (makeDocBookFile): make sure niceFile is true on exit
9788 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9790 * buffer.C (makeLaTeXFile): escape ~ in \input@path
9792 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
9794 * LyXSendto.C: remove.
9795 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9796 * lyx_gui.C: remove now-redundant comment.
9797 * ColorHandler.h: remove forward declaration of class WorkArea.
9798 * lyxfunc.C: remove #include "WorkArea.h".
9800 2002-03-07 Juergen Vigna <jug@sad.it>
9802 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9803 got moved away with the DEPM and also set the inset_owner always
9804 right which before could have been omitted.
9806 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9808 * buffer.C (parseSingleLyXformat2Token): use default layout is the
9809 wanted layout is not found.
9811 2002-03-07 Juergen Vigna <jug@sad.it>
9813 * CutAndPaste.C (cutSelection): another layout settings forgotten.
9815 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9817 * paragraph.C (breakParagraph): use default layout not layout of
9819 (Paragraph): clear ParagraphParameters.
9821 2002-03-06 Juergen Vigna <jug@sad.it>
9823 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9824 otherwise it would not be a valid lenght. Fixed a special case in
9825 the minipage compatibility read where we end the document with a
9828 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9829 was set as it could be 0 for InsetTexts first entry.
9831 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9833 * paragraph.C (writeFile): if layout is empty write out
9834 defaultLayoutName().
9836 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9837 file without named layout we set layout to defaultLayoutName().
9839 2002-03-06 Juergen Vigna <jug@sad.it>
9841 * CutAndPaste.C (copySelection): set layout for new paragraph.
9843 * text.C (prepareToPrint): leave ERT inset left aligned
9844 (leftMargin): don't indent paragraphs inside ERT insets
9846 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9848 * paragraph.C (breakParagraph): dont call clear do the work manually
9850 * paragraph.[Ch] (clear): remove function
9852 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9854 * paragraph.C (Paragraph): dont call clear, the work has already
9857 * lyxtextclass.C (operator): assert if n is empty
9859 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9860 work manually instead.
9862 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9864 * BufferView_pimpl.C: protect selectionLost against text == 0
9866 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9868 * text.C (breakParagraph): fix a setting layout to '0' problem.
9870 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9872 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9873 final location of file, for the included files, and graphics.
9875 2002-03-05 Juergen Vigna <jug@sad.it>
9877 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9879 2002-03-04 Juergen Vigna <jug@sad.it>
9881 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9883 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9884 last column of multicolumn cells.
9885 (SetWidthOfMulticolCell): recalculate NMC and real columns.
9887 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
9889 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9890 file if it doesn't go to a temporary file.
9892 * buffer.C (sgmlOpenTag):
9893 (sgmlCloseTag): remove extra newline insertion.
9895 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9897 * text.C (getRowNearY): comment out debug msg
9899 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9901 * text2.C: first -> first_y
9903 * text.C (getRowNearY): add some attemts at a possible
9904 optimization, not working.
9906 * tabular.[Ch]: add BufferParams to several function so that newly
9907 created paragraph can be initialized to he default layotu for the
9910 * tabular-old.C (ReadOld): add buf->params to call of Init
9912 * screen.C: rename text->first to text->first_y
9914 * paragraph.C (breakParagraph): always set layout in the broken
9917 * lyxtextclass.C (Read): remove lowercase
9920 (delete_layout): ditto
9922 * lyxtext.h: rename first -> first_y
9924 * lyxlayout.C (Read): remove lowercase
9927 (obsoleted_by): ditto
9929 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9931 * buffer.C (insertErtContents): add params are to InsetERT
9932 (parseSingleLyXformat2Token): add code to check if a paragraphs
9933 layout really exist.
9934 (parseSingleLyXformat2Token): add params to several inset
9936 (asciiParagraph): remove lowercase, do the layout comparisons with
9939 * BufferView_pimpl.C (cursorNext): first -> first_y
9940 (resizeCurrentBuffer): first -> first_y
9941 (updateScrollbar): first -> first_y
9942 (scrollCB): first -> first_y
9943 (workAreaMotionNotify): first -> first_y
9944 (workAreaButtonPress): first -> first_y
9945 (checkInsetHit): first -> first_y
9946 (cursorPrevious): first -> first_y
9947 (cursorNext): first -> first_y
9948 (Dispatch): add buffer_->params to severl inset contructors
9950 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9952 * lyxlayout.C (Read): remove some debug info that I forgot.
9954 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9955 clean up the code slightly.
9956 (makeLinuxDocFile): ditto
9957 (makeDocBookFile): ditto
9959 * text2.C: layout as string
9961 * text.C: layout as string
9963 * paragraph_pimpl.C: layout as string
9965 * paragraph.[Ch]: layout as string
9967 * lyxtextclasslist.[Ch]: layout as string
9969 * lyxtextclass.[Ch]: layout as string
9971 * lyxtext.h: layout as string
9973 * lyxlayout.[Ch]: layout as string
9975 * lyx_cb.C: layout as string
9977 * bufferview_funcs.C: layout as string
9979 * bufferparams.C: layout as string
9981 * buffer.C: layout as string
9983 * LyXView.[Ch]: layout as string
9985 * LaTeXFeatures.[Ch]: layout as string
9987 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9989 * BufferView_pimpl.C: change current_layout to string, remove
9994 (workAreaButtonRelease): layout as string
9996 * BufferView2.C (unlockInset): adjust
9998 * vspace.C (asLatexCommand): use an explict temp variable.
10000 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10002 * Makefile.am: use FRONTEND_*
10004 2002-03-01 Juergen Vigna <jug@sad.it>
10006 * tabular.C (SetWidthOfMulticolCell): changed to something better
10007 I hope but still work in progress.
10008 (recalculateMulticolumnsOfColumn): renamed function from
10009 recalculateMulticolCells as it is more appropriate now.
10010 (SetWidthOfCell): calculate multicols better.
10012 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10014 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10016 * lyxfunc.C (processKeySym): print sequence also if it is
10017 `deleted' (complete)
10019 * kbsequence.C (print): print sequence even if it is deleted
10020 (complete would be a better word, actually).
10022 * lyxfunc.C (dispatch): print complete options after a prefix key
10024 * vspace.C (asLatexCommand): rewrite in a slightly different form.
10026 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
10028 * text2.C (setCharFont): eliminate setCharFont code duplication.
10030 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10032 * BufferView_pimpl.C (Dispatch): remove bogus handling of
10033 LFUN_TABULAR_FEATURE (bug #177)
10035 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
10037 * Makefile.am: remove figure.h
10039 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
10041 * Bufferview_pimpl.C:
10053 * text2.C: remove #include "lyx_gui_misc.h".
10055 * LaTeX.C: added #include <cstdio>
10057 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10059 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10060 that the paragraph following this one can have.
10062 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10064 * vspace.C (asLatexCommand): fix bogus gcc warning
10066 * Makefile.am (lyx_SOURCES): remove vms_defines.h
10068 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
10070 * text2.C (setLayout): get rid of redundant code
10072 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
10074 * text2.C (incDepth): make sure depth cannot be increased beyond
10077 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
10079 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10080 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10082 * PainterBase.h (image):
10083 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10084 a LyXImage const *.
10086 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10090 * BufferView_pimpl.C:
10091 * BufferView_pimpl.h:
10111 * sp_spell.C: remove fig inset, and the crap house of
10112 cards that follows it
10114 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10119 * os2_errortable.h:
10120 * nt_defines.h: move .h into support/
10122 * vms_defines.h: remove
10124 * WorkArea.C: add space in debug output
10128 * buffer.C: add WITH_WARNINGS
10132 * bufferlist.C: s/retrive/retrieve/, add docs
10141 * chset.C: add docs
10143 * lyxgui.C: add ID to X error handler
10145 * lyxtestclass.c: fix typo
10147 2002-02-26 Juergen Vigna <jug@sad.it>
10149 * tabular_funcs.C (write_attribute): changed so that some default
10150 attributes are not written at all.
10151 (getTokenValue): set default values before trying to read the
10152 value so we have the return value always set as default if we don't
10153 find the token we search for.
10155 * tabular.C (Write): write bools as bools not as strings!
10157 2002-02-22 Juergen Vigna <jug@sad.it>
10159 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10160 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10162 * text.C (leftMargin): don't add an indent for paragraphs inside
10163 tabular cells (fix #208).
10165 2002-02-21 José Matos <jamatos@fep.up.pt>
10167 * tabular.C (docBook): fixed support for long tables.
10169 2002-02-20 Juergen Vigna <jug@sad.it>
10171 * text2.C (getFont): get the drawing font of the Inset if this
10172 paragraph is inside an inset (only important for InsetERT for now).
10174 * buffer.C (insertErtContents): use new lanugage params in ERT
10177 * CutAndPaste.C: commenting out seemingly uneeded code.
10179 2002-02-19 Allan Rae <rae@lyx.org>
10181 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10182 Iterators might be simple to use but they also get invalidated.
10183 (removeAutoInsets): renamed saved cursor tracking variables and added
10184 some comments to clarify what everything does.
10186 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
10193 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10194 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10197 * vc-backend.h: remove #include "support/syscall.h"
10201 * converter.C: rearrange #includes in Lars' approved fashion.
10203 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10204 forward declare class Timeout in the header file.
10206 * XFormsView.C: changes due to the above.
10208 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10209 similar to LyXView.
10211 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10212 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10214 2002-02-18 José Matos <jamatos@fep.up.pt>
10216 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10219 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10221 * a lot of small ws changes
10222 * add a lot of using std::XXX
10223 * use std construcs some places where approp.
10224 * use some exisint stuff from lyxfunctional where approp.
10225 * Make file changes to use partial linking (lets test this now...)
10227 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10231 remove #include "support/syscontr.h" as it's redundant. Always has been.
10239 change Systemcalls::System to Systemcalls::Wait and
10240 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10241 No change of functionality, just reflects the stripped down Systemcalls
10244 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10246 * debug.[Ch]: add a GRAPHICS type to the enum.
10248 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10250 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10252 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10255 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10257 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10258 match the changes below.
10260 * text2.C (toggleInset): if there is not editable inset at cursor
10261 position, try to see if cursor is _inside_ a collapsable inset
10264 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10266 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10267 document menu has a nice checkbox
10269 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10271 * lyxlength.C (asLatexString): change PW to output as percent of
10274 * lengthcommon.C: change '%' to 't%'
10276 * lyxfunc.C (dispatch): a few comments from Martin
10278 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
10282 * BufferView_pimpl.h:
10283 * BufferView_pimpl.C: clear our selection when X tells us we've lost
10286 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10288 * vspace.C (inPixels): fix compiler warning
10290 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10292 * lyxfunc.C (getStatus): fix status message for disabled commands.
10294 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
10296 * BufferView_pimpl.C: fix crash on close buffer
10297 during selection (#227)
10299 2002-01-27 Herbert Voss <voss@lyx.org>
10301 * buffer.C: link old Figure to new graphic inset
10303 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
10305 * FontLoader.C (getFontinfo): Change the latex font names in order
10306 to match the names of type1inst.
10308 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10310 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10312 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10313 (extchanged): ditto
10315 (remove_files_with_extension): ditto
10316 (remove_file): ditto
10319 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10320 document is smaller than the work area height. Do not initialize
10321 static variables to 0.
10323 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10325 * lyx_gui.C (init): give the toolbar tooltips a normal font.
10327 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10328 LFUN_LAYOUT_PARAGRAPHS.
10330 * tabular.C (GetCellFromInset): new method. Finds an inset in a
10331 tabular. It is possible to provide a possible cell, which will
10332 typically be the actcell from the corresponding insettabular
10334 * lyxfunc.C (getStatus): small cleanup; disable
10335 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10338 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10340 * tabular.C (Validate): remove broken optimization (fixes bug #201)
10342 * paragraph.C (startTeXParParams):
10343 (endTeXParParams): new methods. The LaTeX code to
10344 start/end paragraph formatting
10345 (simpleTeXOnePar): call startTeXParParams also when paragraph is
10346 empty (fixes bug #200)
10348 * vspace.C (inPixels): adapt to the change below
10349 (inPixels): [later] more cleanups (remove unused variables)
10351 * lyxlength.C (inPixels): change to use a width and a height as
10354 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10356 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10357 Replaced with \paperwidth
10359 * DepTable.C (insert): add std:: qualifier
10361 2002-01-18 Allan Rae <rae@lyx.org>
10363 * text2.C (removeRow): add comment. Should other refresh_?? vars be
10366 * text.C (drawInset): Turned out I didn't know enough about how
10367 rebreaking worked. This fixes most of the redraw problems. I see
10368 an occasional cursor trail when a line is broken now and the cursor
10369 placement can seem out by a few pixels also after a rebreak.
10371 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10373 * buffer.C (parseSingleLyXformat2Token): update because minipage
10374 width is now a LyXLength
10376 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10378 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10381 2002-01-17 Juergen Vigna <jug@sad.it>
10383 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10385 * BufferView2.C (lockInset): call edit() so that theLockingInset()
10386 is set correctly and the inset is updated correctly.
10388 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10390 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10391 the beginning of the loop.
10393 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
10395 * lyxrc.C: improve help for use_scalable_fonts
10397 2002-01-17 Allan Rae <rae@lyx.org>
10399 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10401 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10403 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10404 make sure to set their inset_owner to the right value (bug #171)
10406 2001-12-12 Ben Stanley <bds02@uow.edu.au>
10409 * DepTable.C: Implement mtime checking to reduce time spent doing
10412 2002-01-16 Juergen Vigna <jug@sad.it>
10414 * tabular.C (GetAdditionalHeight): one of error fixed.
10416 * lyxrc.C (output): small fix in writing use_pspell.
10418 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
10420 * sp_base.h: #include LString.h
10422 2002-01-16 Allan Rae <rae@lyx.org>
10424 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
10425 Can someone check this please?
10427 * text.C (drawInset): It was possible that p.row would be removed by
10428 breakAgainOneRow upsetting a few other settings. There may be another
10429 small tweak possible by setting need_break_row = 0 when p.row has been
10430 removed but I don't know enough about the logic here.
10432 2002-01-15 Allan Rae <rae@lyx.org>
10434 * text.C (insertChar): removed conditional truism.
10436 * BufferView2.C (removeAutoInsets): More tweaks.
10437 cur_par_prev could be a stray pointer. Check for trailing empty line
10438 in case last line was cur_par and only had an error inset on it.
10440 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10442 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10445 * vc-backend.C (most methods):
10446 * exporter.C (Export):
10447 * converter.C (convert):
10449 * LyXSendto.C (SendtoApplyCB):
10450 * lyxfunc.C (dispatch):
10454 * lyx_cb.C (AutoSave):
10456 * BufferView_pimpl.C (MenuInsertLyXFile):
10457 * buffer.C (runChktex): use Buffer::filePath().
10459 * buffer.h: rename filename to filename_; rename filepath to
10460 filepath_ and make it private
10461 (filePath): new method
10463 * buffer.C (writeFile): use fileName()
10466 * lyx_main.C (init): fix starting of LyX when the binary is a
10467 link from so,ewhere else.
10469 * minibuffer.C: include <cctype> for isprint
10471 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10473 * buffer.C (parseSingleLyXformat2Token): changes associated with the
10474 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10475 name clash with InsetCollapsable's width function.
10477 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10479 * lastfiles.C: include <iterator>
10481 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10483 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10486 * buffer.C (makeLaTeXFile): ditto.
10487 Also make loop operation more transparent.
10489 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10491 * ToolbarDefaults.C: remove trailing comma closing namespace.
10493 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10495 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10498 * trans.C (Load): comment out unused variable, allowed.
10500 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10502 * minibuffer.[Ch] (append_char): new method to recieve input from the
10503 drop-down completion browser. If a key was pressed, then recieve this
10504 char and append it to the existing string.
10505 (peek_event): modify the positioning data passed to the completion
10506 browser so that it can be placed above the minibuffer rather than below.
10507 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10509 * LyXAction.C (init): alloe error-next for readonly documents.
10511 * BufferView2.C (ChangeRefsIfUnique): use standard version of
10514 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10516 * bufferlist.C (readFile): create the buffer _after_ checking that
10519 * lyxfunc.C (verboseDispatch): fix handling of arguments
10521 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10523 * lyxrc.C: use string::erase() instead of initializing to "".
10526 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10528 * BufferView_pimpl.h:
10529 * BufferView_pimpl.C:
10532 * text2.C: tell X when we have made a selection for copying
10534 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10536 * BufferView_pimpl.C (MenuInsertLyXFile):
10537 * lyxfunc.C (menuNew):
10539 (doImport): add shortcuts to directory buttons
10541 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10544 * lyxfunc.C (setStatusMessage):
10545 (getStatusMessage): new methods
10546 (getStatus):use setStatusMessage instead of setErrorMessage
10547 (dispatch): when function is disabled, set error message here
10548 [instead of in getStatus previously]
10550 * BufferView_pimpl.C (workAreaButtonRelease): update
10551 toolbar/menubar here too.
10553 2002-01-13 Allan Rae <rae@lyx.org>
10555 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10556 Now seems indestructible. Remaining task is to audit all other
10557 code affected by deleteEmptyParagraphMechanism. One small quirk
10558 left is that an empty document with an error in the preamble can
10559 be made to report an error but no error box appears. I don't know
10561 (removeAutoInsets): Improved comments.
10563 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10566 * Thesaurus.C: update for Aiksaurus 0.14
10568 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10570 * text2.C (firstParagraph): removed member function, all uses
10571 replaces with ownerParagraph
10572 (redoParagraphs): here
10573 (updateInset): here
10574 (toggleAppendix): here
10575 * BufferView2.C (insertErrors): here
10576 (setCursorFromRow): here
10578 2002-01-13 Allan Rae <rae@lyx.org>
10580 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10581 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10582 There is still a way to segfault this although you may have to do this
10583 multiple times: Have an InsetERT with an unknown command in it.
10584 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10585 <down-arrow>, <Enter> again, View->DVI, BANG!
10587 * text2.C (setCursor):
10588 (deleteEmptyParagraphMechanism):
10589 * lyxtext.h (setCursor):
10590 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10591 Making use of the return value may help fix other bugs.
10593 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10595 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10597 * LyXView.C (updateMenubar): call MenuBar::update here
10598 (updateToolbar): but not here
10599 (showState): do not update toolbar/menubar
10601 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10602 should need to care about that.
10604 * lyxfunc.C (verboseDispatch): simplify a bit
10605 (getStatus): have a version which takes a pseudoaction, and
10606 another which requires a (kb_action,string).
10608 * LyXAction.C (retrieveActionArg): make it work also when action
10609 is not a pseudo-action.
10610 (getActionName): simplify a bit
10613 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10615 * lyxfunc.C (verboseDispatch): new families of methods with
10616 several ways to specify a command and a bool to indicate whether
10617 the command name and shortcut should be displayed in minibuffer
10618 (eventually, we could extend that to a finer bitmask like
10619 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10620 (dispatch): the pristine dispatch command which just, well,
10621 dispatchs! Note it still sets its result to minibuffer; I'm not
10624 * lyxfunc.h: remove setHintMessage
10626 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10628 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10630 * BufferView_pimpl.C (specialChar): delete new inset if we have
10631 not been able to insert it.
10633 * kbmap.C: revert to using int instead of kb_action, since all we
10634 are dealing with is pseudo-actions.
10636 * LyXAction.C (searchActionArg): change to return int instead of
10637 kb_action, since the result is a pseudoaction.
10639 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
10641 * buffer.C (insertErtContents): Fix (partially) the font bug.
10643 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10645 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10646 as the other one is broken on my machine!
10648 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
10651 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10653 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
10655 * lyxrc.[Ch]: change names and descriptions of popup font variables to
10656 reflect their actual use. Provide compatibility code for older lyxrc
10659 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10661 change names of popup font variables in line with the changes to lyxrc.C
10663 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10665 * buffer.C (asciiParagraph): avoid outputing a word twice after
10668 * lyxrc.C (getDescription): document that document_path and
10669 template_path can be empty.
10671 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10673 * LaTeXFeatures.C (getMacros):
10674 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10676 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10678 * LaTeXFeatures.C (useFloat): require "float" here instead of in
10680 (getPackages): rename feature "floats" to "float". Use an array to
10681 iterate over 'simple' features (i.e. just a \usepackage). Add
10682 handling of "amsmath" (renamed from "amsstyle").
10684 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
10686 * LaTeXFeatures.C (require): Prevent duplicate entries in the
10689 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
10691 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10692 FuncStaus::FuncStatus & FuncStaus::some_method().
10694 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
10696 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10697 of the func_satus stuff. Edited and massaged in various ways by
10700 * lyxfunc.C (getStatus): use FuncStatus
10702 2002-01-08 Juergen Vigna <jug@sad.it>
10704 * text.C (nextBreakPoint): use function Inset::isChar().
10706 * paragraph.C (TeXOnePar): use function
10707 Inset::forceDefaultParagraphs.
10709 * buffer.C (latexParagraphs): use function
10710 Inset::forceDefaultParagraphs.
10712 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10714 * lyx_gui.C (init): set the style of the menu popups to
10715 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10717 2002-01-07 Juergen Vigna <jug@sad.it>
10719 * text.C (setHeightOfRow): small fix
10720 (prepareToPrint): don't look at alignment if we don't have the place
10723 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10725 * box.C: New file. Move the Box methods and functions out of box.h,
10726 following Lars' suggestion.
10728 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10730 * box.h: #include "support/LOstream.h", needed for inlined function.
10733 * lyxtextclasslist.C: added some using std declarations.
10735 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
10737 * box.h: make signed dimensions to allow insets wider than
10738 the screen (bug #162)
10740 * BufferView_pimpl.C: add some insetHit debug
10742 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
10744 * vc-backend.C: add FIXME
10746 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10748 * lyxfunc.C (getStatus): enable code for showing math font status
10751 2002-01-07 Juergen Vigna <jug@sad.it>
10753 * text.C (nextBreakPoint): removed debug output not needed anymore.
10755 2002-01-06 Juergen Vigna <jug@sad.it>
10757 * text.C (nextBreakPoint): fixed up this function we had this bug
10758 since ever but now hopefully we break row better.
10759 (insertChar): we have to check if an inset is the next char as it
10760 could now happen that a large inset is causing a break.
10762 2002-01-05 Juergen Vigna <jug@sad.it>
10764 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10765 if it doesn't like to be drawed.
10767 2002-01-04 Juergen Vigna <jug@sad.it>
10769 * BufferView2.C (lockInset): forgot to set a cursor.
10771 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10773 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
10775 * FormMathsPanel.C:
10778 * form_maths_panel.C:
10779 * form_maths_panel.h:
10780 * form_maths_panel.fd: implemented sub- and super- buttons in math
10783 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10784 (or ^ space) to be used as in TeX (req'd by André).
10786 * lyxfunc.C: Allow ^ and _ again to be used both as
10787 super/subscript (mathed) and as themselves (in text).
10789 2002-01-03 Allan Rae <rae@lyx.org>
10791 * LyXView.C (updateWindowTitle): Setup a short icon title of either
10792 "LyX" or the filename of the current buffer if it has one. This is a
10793 modified form of John Levon's patch.
10795 * XFormsView.C (setWindowTitle): also set icon title.
10797 * LyXView.h (setWindowTitle): signature changed.
10798 * XFormsView.h (setWindowTitle): ditto.
10800 2002-01-02 Juergen Vigna <jug@sad.it>
10802 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10804 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10806 * screen.C (topCursorVisible): introduce a temp var for
10807 text->cursor.row(), handle the case where this row is null. (kindo
10810 * text2.C (setCursor): add a couple of asserts.
10812 * paragraph.h (inset_iterator): add -> operator
10814 * paragraph.[Ch] (autoDeleteInsets): remove member function
10816 * BufferView2.C (removeAutoInsets): rewrite to handle the old
10817 cursor pos correctly and handle inset deletion by itself.
10818 (insertErrors): move iterator declaration out of for expression
10820 * lyxtextclass.C: add <algorithm>
10822 * Makefile.am: added the new files to sources, removed layout.C
10824 * layout.C: removed file
10826 * layout.h: remove LYX_DUMMY_LAYOUT
10828 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10832 * lyxtextclass.[Ch]:
10833 * lyxtextclasslist.[Ch]: new files
10835 * include order changes to a lot of files, also changes because of
10838 2001-12-27 Juergen Vigna <jug@sad.it>
10840 * buffer.C (asciiParagraph): more fixes.
10842 * tabular.C (ascii): make ascii export support export of only the
10843 data separated by a column-delimiter.
10844 (ascii): better support for ascii export.
10846 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10848 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10850 * tabular_funcs.C: use a "using std::getline" instead of the
10851 previous fix from Angus (necessary for cxx + lyxstring)
10853 2001-12-24 Juergen Vigna <jug@sad.it>
10855 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10857 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10858 problems. First check a minipage also if we have some ert-contents
10859 (not only on par->size(), second set the right depth of the paragraph
10860 on the relink to the root-paragraph-list!
10862 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10863 which then did not anymore update the main paragraphs on undo/redo!
10865 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10867 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10868 code. Support all font-changing funcs (even those which are not in
10869 menu currently). Support for reporting font settings in
10870 mathed (disabled until Andre provides a function on mathed's side).
10872 * func_status.h (toggle): small helper function to set toggle
10875 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
10877 * tabular_funcs.C: getline -> std::getline
10879 2001-12-21 Juergen Vigna <jug@sad.it>
10881 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10882 accessed and could be 0 (I couldn't generate this but it seems
10885 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10887 * tabular_funcs.C: add LIstream.h, move write_attribute to..
10888 * tabular_funcs.h: here and include iosfwd
10890 2001-12-20 Juergen Vigna <jug@sad.it>
10892 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10893 inside inset but undo_par was.
10895 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10897 * Thesaurus.C: always include <config.h> in sources.
10901 * box.h: do not include <config.h> in header files
10903 * text.C (paintLastRow): remove unused variable
10905 * text.C (transformChar):
10907 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10909 * Painter.C (text):
10910 * font.C (width): rewrite to use uppercase() instead of
10913 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10915 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
10917 * lyxfind.C: clean up of find failure position change
10919 2001-12-20 Juergen Vigna <jug@sad.it>
10921 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10923 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10924 (TeXRow): added to LaTeX a single tabular row.
10925 (TeXLongtableHeaderFooter): added to output LT-h/f data.
10926 (Latex): simplified and finally good LT-h/f support.
10927 (various_functions): just small adaptions for LT-h/f support.
10929 * tabular_funcs.[hC]: added and moved here all not classfunctions
10932 2001-12-19 Juergen Vigna <jug@sad.it>
10934 * tabular.[Ch]: better support for longtabular options (not finished
10937 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10939 * text.C (paintLastRow): use the label font instead of the font of
10940 the last character to compute the size of *_BOX. This makes more
10941 sense and avoids a crash with empty paragraphs.
10942 Use Painter::rectangle to draw EMPTY_BOX.
10944 2001-12-19 Juergen Vigna <jug@sad.it>
10946 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10947 the paragraphs if the replaced paragraph is not the first one!
10948 Tried to delete not used paragraphs but does not work yet so for
10949 now it's inside #ifdef's and by default off!
10951 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10953 * MenuBackend.C: include "lyx_main.h" instead of declaring
10954 lastfiles (actually was declared as LastFiles* instead of a
10957 2001-12-17 Juergen Vigna <jug@sad.it>
10959 * tabular.C (AppendColumn): applied John's fix
10961 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
10965 * BufferView_pimpl.h:
10966 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10969 * box.h: new start of class for above
10971 * lyxfunc.C: ignore space-only minibuffer dispatches.
10972 Show the command name when it doesn't exist
10974 * minibuffer.C: don't add empty lines to the history
10976 * minibuffer.C: add a space on dropdown completion
10978 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
10980 * text.C: fix line above/below drawing in insets
10982 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10984 * lyxlength.C (LyXLength): Initialize private variables.
10986 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
10988 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10989 when inserting error insets.
10991 2001-12-13 Juergen Vigna <jug@sad.it>
10993 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10994 actually sometimes the before-paragraph.
10995 (setUndo): don't clear the redostack if we're not actually undoing!
10997 2001-12-06 Juergen Vigna <jug@sad.it>
10999 * undo_funcs.C (textHandleUndo): well after John's hint I got here
11000 and fixed redoing of main paragraph, so we can use it now ;)
11002 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11004 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11006 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11009 2001-12-13 André Pönitz <poenitz@gmx.net>
11012 * undo_func.C: minor cleanup
11014 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11016 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11017 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11018 font in urw-fonts package which is marked as -urw-fontspecific and
11019 does not work (incidentally, changing the encoding in the
11020 fonts.dir of this package to -adobe-fontspecific fixes the
11023 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11024 is a crash when undoing first paragraph (Juergen, please take a
11025 look). THis does not mean the undo fix is wrong, just that it
11028 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11029 the (Paragraph*) version when needed instead of duplicating the
11032 * text.C (workWidth): use Inset::parOwner to find out where the
11033 inset has been inserted. This is a huge performance gain for large
11034 documents with lots of insets. If Inset::parOwner is not set, fall
11035 back on the brute force method
11037 * paragraph_pimpl.C (insertInset):
11038 * paragraph.C (Paragraph):
11039 (cutIntoMinibuffer): set parOwner of insets when
11040 inserting/removing them
11042 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11044 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
11050 * mathed/formulabase.C:
11051 * mathed/math_cursor.[Ch]:
11052 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11055 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11057 * lyxlength.[Ch] (operator!=): new function
11059 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11061 * text.C (workWidth): use Inset::parOwner to find out where the
11062 inset has been inserted. This is a huge performance gain for large
11063 documents with lots of insets. If Inset::parOwner is not set, fall
11064 back on the brute force method
11066 * paragraph_pimpl.C (insertInset):
11067 * paragraph.C (Paragraph):
11068 (cutIntoMinibuffer): set parOwner of insets when
11069 inserting/removing them
11071 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11073 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11075 * tabular-old.C (getTokenValue):
11076 * tabular.C (getTokenValue):
11077 (write_attribute): new versions for LyXLength
11078 (everywhere): adjust the use of widths
11080 * tabular.h: change the type of widths from string to LyXLength
11082 2001-12-11 Ben Stanley <bds02@uow.edu.au>
11084 * paragraph.C: fixed missing line number count when exporting
11085 Environments to LaTeX file
11087 * buffer.C: added informational message for checking line numbers.
11089 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11091 * text2.C (deleteEmptyParagraphMechanism): if there is only one
11092 paragraph, do the 'double space' part, but not the 'empty
11095 * text.C (workWidth): small optimization
11096 (getLengthMarkerHeight): use minimal size for negative lengths.
11098 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
11100 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11102 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11104 2001-12-11 André Pönitz <poenitz@gmx.net>
11107 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11109 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11111 * text2.C: keep selection on a setFont()
11113 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11115 * lyx_cb.C: another bv->text misuse, from insert label
11117 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11120 * kbsequence.C: re-instate nmodifier mask
11122 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
11124 * lyx_main.h: make lyxGUI private.
11126 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11128 * lyxfind.C: place the cursor correctly on failed search
11130 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11132 * text.C (getLengthMarkerHeight): for small heights, the arrows
11133 are not always on top/bottom of the text
11134 (drawLengthMarker): smaller arrows; take the left margin in
11135 account; draw also vfills.
11137 (paintLastRow): remove special code for vfill and standard spaces,
11138 since everything is handled in drawLengthMarker now.
11140 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11142 * buffer.C (insertErtContents): try to handle font and language
11143 interaction a bit better.g
11145 * ColorHandler.C (updateColor): change the hash to cover the whole
11146 LColor enum, ws cleanup
11147 (getGCLinepars): ditto
11148 (getGCLinepars): only lookup in the linecache once.
11150 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
11152 * iterators.C (operator++): Make the iterator more robust
11154 * BufferView2.C (removeAutoInsets): Use paragraph iterators
11156 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11158 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11161 * text.C: better added space drawing
11163 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11166 * BufferView2.C: fix layout combo update on inset unlock
11168 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11170 * Makefile.am: don't compile unused files
11172 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11176 * LyXAction.C: remove old LFUN_LAYOUTNO
11178 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11180 * paragraph_pimpl.h:
11181 * paragraph_pimpl.C: isTextAt() doesn't need font param
11183 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11186 * lyxlex.C: little cleanup
11188 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11190 * BufferView_pimpl.C: fix insertAscii for insets
11192 2001-12-05 Juergen Vigna <jug@sad.it>
11194 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11195 set the right font on the "multi" paragraph paste!
11197 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11203 * lyxlength.C: remove out-commented code.
11205 * BufferView_pimpl:
11219 * vc-backend.C: change "while(" to "while ("
11221 * lyxlength.[Ch]: add zero function to check if length is zero or
11223 * lyxgluelength.C: use it
11225 2001-12-05 Allan Rae <rae@lyx.org>
11227 * lyxlength.C: Attempted a fix for the abs(int) header selection.
11228 Works for 2.95.3, from what I understand of Garst's reports this should
11229 work for other g++ versions. We're screwed if the abs(int) definition
11230 changed between bugfix releases of gcc.
11232 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11234 * text.C: fix chapter label offset !
11236 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11239 * text.C: fix hfill at end of line, clean up
11241 2001-12-04 Juergen Vigna <jug@sad.it>
11243 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11244 that we force an update of the inset and it's owners if neccessary.
11246 2001-12-03 Juergen Vigna <jug@sad.it>
11248 * text.C (rowLast): simplified code
11250 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11252 * lyxfunc.C: fix show options on timeout
11254 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11256 * screen.C (topCursorVisible): scroll half a page when the cursor
11257 reached top of bottom of screen
11259 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
11261 * minibuffer.C: deactivate on loss of focus
11263 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11265 * vspace.[Ch] (operator!=): add operator.
11267 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
11269 * BufferView_pimpl.C: refuse to open an inset when
11270 there's a selection.
11272 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
11274 * BufferView_pimpl.C: allow to click on RHS of full row insets
11276 2001-11-30 Juergen Vigna <jug@sad.it>
11278 * tabular.C (LyXTabular): add a same_id to set the same id's in the
11279 insets for undo reasons.
11281 2001-11-28 André Pönitz <poenitz@gmx.net>
11283 * vspace.[Ch]: cosmetical changes
11285 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11295 * kbsequence.C: part re-write of old kb code
11298 * WorkArea.C: remove Lgb_bug_find_hack
11300 2001-11-30 José Matos <jamatos@fep.up.pt>
11302 * buffer.C (makeDocBookFile): add a comment to point a hack.
11303 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11304 Fixed a double write of labels.
11306 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11309 * LaTeX.h Fixed bug in LaTeX class where it would not
11310 re-run latex if no depfiles were changed, but the .dvi was removed.
11312 2001-11-28 André Pönitz <poenitz@gmx.net>
11314 * all the files from the change on 2001/11/26:
11315 use lyx::layout_type instead of LyXTextClass::size_type
11316 use lyx::textclass_type instead of LyXTextClassList::size_type
11318 2001-11-29 Juergen Vigna <jug@sad.it>
11320 * text.C: added support for paragraph::isFreeSpacing()
11322 * buffer.C: same as above
11324 * paragraph.h: inserted isFreeSpacing() function to enable
11325 FreeSpacing inside InsetERT.
11327 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11328 of the paragraph's in the cut/copy buffer to 0!
11330 * text2.C (removeRow): remove the assert as it can!
11332 * lyxtext.h: added helper function firstRow returning firstrow and
11333 made firstrow private again.
11335 * BufferView2.C (lockInset): don't relock if we're already locked!
11337 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11338 the only paragraph.
11339 (removeRow): added Assert::(firstrow)
11341 * debug.C: forgot to add INSETTEXT here.
11343 2001-11-28 Juergen Vigna <jug@sad.it>
11345 * sp_spell.C (initialize): changed error text to more general
11346 spellchecker command use (not only ispell!)
11348 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11350 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11352 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11354 * vspace.C: initialise lyxgluelength on failure
11356 2001-11-28 Allan Rae <rae@lyx.org>
11358 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11359 declaration & definition that looks like a function declaration.
11361 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11363 * BufferView2.C (copy):
11364 (copyEnvironment): do not clear the selection when doing a copy.
11366 * text.C (paintFirstRow): compilation fix
11368 2001-11-27 Ben Stanley <bds02@uow.edu.au>
11370 * tabular.C (Latex): correct line count when writing latex.
11372 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
11374 * paragraph_pimpl.h:
11375 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11378 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11382 * LColor.C: change vfillline->added_space
11384 * text.C: add markers and text for added space
11386 * vspace.C: fix comment
11388 2001-11-28 André Pönitz <poenitz@gmx.net>
11390 * paragraph.C: whitespace changes
11391 * all the other files from the change on 2001/11/26:
11392 change *::pos_type into lyx::pos_type
11394 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
11396 * buffer.C (parseSingleLyXformat2Token): Set the language to the
11397 language of the document when inserting error insets.
11399 2001-11-26 André Pönitz <poenitz@gmx.net>
11401 * BufferView_pimpl.[Ch]:
11409 * paragraph_pimpl.[Ch]:
11412 * text2.C: reduce header dependencies, introduce type for positions
11414 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11416 * <various>: change to use Alert.h
11418 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
11420 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11421 when encountering an unknown token.
11422 (readLyXformat2): Show an error message if there were unknown tokens.
11424 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
11427 * BufferView_pimpl.C:
11431 * text2.C: use par->isInset()
11433 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11435 * paragraph_pimpl.h:
11436 * paragraph_pimpl.C: cleanup
11438 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11440 * text2.C (removeRow):
11441 * text.C (setHeightOfRow): remove useless (and costly) call to
11444 2001-11-20 Allan Rae <rae@lyx.org>
11446 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11447 Now need Inset*::checkInsertChar() to return true for appropriate
11448 cases so that the characters in the minibuffer will actually be
11451 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11453 * text.C: change the order of the includes.
11454 (workWidth): initialize it at once.
11455 (workWidth): make maxw unsigned
11456 (setHeightOfRow): remove unused variable (inset)
11457 (selectSelectedWord): remove unused variable (inset)
11458 (paintRowText): fix drawing of hfill characters, and clean up a bit.
11460 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11462 * lyxserver.C (emergencyCleanup): do not try to close pipes if
11463 server is not running.
11465 (closeConnection): add debug info when server is disabled.
11467 * ColorHandler.C (getGCForeground): send debug message to GUI
11470 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11472 * kbmap.C (bind): modify because return conventions of
11473 kb_sequence::parse have changed.
11475 * kbsequence.C (parse): only ignore spaces and not any stupid
11476 control character. This avoids tests like s[i] <= ' ', which are
11477 guaranteed to fail with 8bit characters and signed chars.
11478 Change return code to string::npos when there have been no error
11479 (0 was a bad idea when error is at first character)
11481 2001-11-14 José Matos <jamatos@fep.up.pt>
11484 * buffer.C (simpleDocBookOnePar): removed unused argument.
11486 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11488 * text.C (selectNextWordToSpellcheck): do not test explicitely for
11489 insets which are part of a word. Paragraph::isLetter takes care of
11490 that now. Use Paragraph::isInset to identify insets.
11491 (selectSelectedWord): do not test for hyphenation break.
11493 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11494 that protected spaces are considered as spaces.
11496 * paragraph.C (isLetter): cleanup the code for ispell extras; use
11499 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
11502 * lyxserver.C: fix it. and small cleanup.
11504 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11506 * BufferView_pimpl.C: use inline helpers
11509 * LaTeXFeatures.C: fix typos
11512 * Spacing.C: move spacing_string into class
11514 * ToolbarDefaults.C: move stuff into namespace anon
11516 * layout.h: update enum
11518 * lyxfunc.C: use better debug
11520 * minibuffer.h: fix typo
11524 * WorkArea.C: add and use Debug::WORKAREA
11528 * text2.C: code re-organisation, inline helpers
11530 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
11532 * Layout.C: replaced a few cases of std::vector.size() == 0 with
11533 std::vector.empty().
11535 2001-11-09 Allan Rae <rae@lyx.org>
11537 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11538 '\n's after tables. Tabular and ERT inset work now makes this no
11541 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11544 * minibuffer.C: fix crash, improve drop-down completion
11546 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11549 * lyxserver.C: invalidate fd's when doing endPipe()
11551 2001-11-08 José Matos <jamatos@fep.up.pt>
11553 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11554 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11557 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11559 2001-11-07 José Matos <jamatos@fep.up.pt>
11562 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11565 * buffer.C (sgmlOpenTag):
11566 * buffer.C (sgmlCloseTag): removed debug info.
11568 * buffer.h (sgmlOpenTag):
11569 * buffer.h (sgmlCloseTag): made public.
11571 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11573 * buffer.C (saveParamsAsDefaults):
11574 * lyx_cb.C (MenuLayoutSave): remove
11576 * LyXAction.C (init):
11578 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11580 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11582 * buffer.C (setPaperStuff): removed from here...
11584 * bufferparams.C (setPaperStuff): ... and moved there.
11586 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11590 * XFormsView.C: add support for drop-down completion
11592 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11594 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11597 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11599 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11602 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11604 * lyx_main.C: change ref to known bugs
11606 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11608 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11609 to work around older babel problems.
11611 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11613 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11615 2001-10-24 Juergen Vigna <jug@sad.it>
11617 * tabular-old.C (ReadOld): below variable changes reflected.
11619 * tabular.[Ch]: added ltType struct for longtable header/footer
11620 defines and changed all instances where they are used. Added
11621 future support for double top/bottom rows.
11623 2001-10-24 José Matos <jamatos@fep.up.pt>
11625 * buffer.h (docbookHandleCaption):
11626 * buffer.C (docbookHandleCaption): removed unused function.
11627 (makeDocBookFile): moved docbook supported version to v4.1.
11629 2001-10-24 José Matos <jamatos@fep.up.pt>
11632 * tabular.C (docbookRow): new function to export docbook code of a row.
11633 (DocBook): now honors the longtable flags.
11635 2001-10-23 José Matos <jamatos@fep.up.pt>
11638 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11639 of the lyx defined sgml entities used in a docbook/linuxdoc document.
11641 * buffer.C (makeLinuxDocFile):
11642 (makeDocBookFile): reworked the preamble, more clean, and with
11643 support for lyx defined entities. Changed the document declaration
11644 to be more XML friendly.
11646 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11647 if we need to output XML that should be done with a filter.
11649 2001-10-22 Juergen Vigna <jug@sad.it>
11651 * sp_pspell.h (class PSpell): add alive function needed in the
11652 controller to see if the spellchecker could be started.
11654 2001-10-22 Juergen Vigna <jug@sad.it>
11656 * buffer.C (insertStringAsLines): modify the font for inserting
11657 chars in certain conditions by calling checkInsertChar(font).
11659 2001-10-19 Juergen Vigna <jug@sad.it>
11661 * text.C (workWidth): use getRow instead of wrong algorithm.
11662 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11664 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
11669 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11671 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11673 * text.C (workWidth): do not search for the exact row when
11674 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11675 optimization for big documents.
11677 2001-10-18 Juergen Vigna <jug@sad.it>
11679 * text.C (workWidth): new function with added Inset * parameter.
11681 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11683 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11685 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11686 change return type of getColumnNearX.
11689 * text.C (changeRegionCase): use uppercase/lowercase instead of
11692 (rightMargin): simplify code by factoring out the uses of
11697 (appendParagraph): use Paragraph::size_type
11699 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11701 * vspace.C (asLatexString): add a missing break
11703 2001-10-15 Herbert Voss <voss@perce.de>
11705 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11707 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11709 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11712 2001-10-10 André Pönitz <poenitz@gmx.net>
11714 * lyxfunc.C: removed greek_kb_flag.
11716 2001-10-10 Herbert Voss <voss@perce.de>
11718 * lyx_main.C: delete global string help_lyxdir.
11720 2001-10-09 Herbert Voss <voss@perce.de>
11722 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11724 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11726 * lyx_main.C: added global string help_lyxdir.
11728 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11730 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
11732 * lyxrc.C (set_font_norm_type): support iso8859-4
11734 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
11736 * LaTeX.C (deplog): add another regex for MikTeX
11738 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
11740 * lyxrc.C (set_font_norm_type): support iso8859-3
11742 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11744 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11746 * LaTeXFeatures.C: remove special case of french and index
11748 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11749 before \begin{document}). This solves several incompatibilities.
11751 2001-10-03 Garst Reese <reese@isn.net>
11753 * lyx_cb.C: change CheckTex error msg.
11755 2001-10-03 José Matos <jamatos@fep.up.pt>
11757 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11759 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11761 * .cvsignore: update
11763 * lyx_main.C (commandLineVersionInfo): use new style version info.
11765 * buffer.C (writeFile):
11767 (makeLinuxDocFile):
11768 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11770 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11772 * version.h: update to use stuff in version.C
11774 * version.C.in: new file. Contains version information determined
11775 at compile time. This is a merging of version.h and
11778 2001-10-03 Juergen Vigna <jug@sad.it>
11780 * BufferView_pimpl.C (update): don't change "dirty" status in
11783 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
11785 * WorkArea.C (c-tor): re-position version string slightly.
11787 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
11789 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11790 revert to previous code.
11792 WorkArea.[Ch]: (show, destroySplash): methods removed.
11794 WorkArea.C: rework code so that it's an amalgam of the codes before and
11795 after the splash screen was moved to WorkArea.
11797 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11800 * vspace.C (inPixels):
11803 * buffer.C (insertStringAsLines):
11804 (asciiParagraph): fix types to be large enough
11806 * lyxlex_pimpl.h: change member status from short to int
11808 * layout.h: fix type of endlabeltype
11811 * kbsequence.C (parse): change return type to string::size_type
11813 * LaTeX.C (updateBibtexDependencies): comment out unneeded
11816 * Bullet.C (bulletSize):
11817 (bulletEntry): do not use short ints as parameters
11819 * BufferView2.C (insertLyXFile): change a char to an int.
11821 * WorkArea.C (WorkArea): remove unneeded floats in computation
11823 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
11825 * buffer.C (asciiParagraph): Treat '\\' as other chars.
11827 * paragraph.C (asString): Do not ignore newline/hfill chars when
11828 copying to the clipboard.
11830 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
11832 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11833 after a multi-line inset.
11835 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
11837 * paragraph.C (validate): Set NeedLyXFootnoteCode
11839 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11841 * lyxfont.C (LyXSizeNames): changed increase-error to increase
11842 and decrease-error to decrease.
11844 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11846 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11847 it more readable (should be equivalent)
11849 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
11851 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11853 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11855 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11856 of a cursor (row, etc.) after a character has been deleted
11857 (deleteEmptyParagraphMechanism): call the method above on _all_
11858 cursors held by the LyXText when a double space has been
11861 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11863 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11865 (resizeCurrentBuff): remove code to destroy the old splash dialog.
11867 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11868 background. Use greyOut() and the new show() methods to toggle between
11869 the foreground and background. Add code to remove the splash after
11870 its initial showing.
11872 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11873 (create_forms): no longer call Dialogs::showSplash.
11875 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11877 * .cvsignore: add version_info.h
11879 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11881 * version_info.h.in: new file
11883 * Makefile.am: add version_info.h.in
11885 * lyx_main.C (commandLineVersionInfo): use version_info defined in
11886 version_info.h instead of VERSION_INFO
11888 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
11890 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11891 The ERT inset now returns string().
11893 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
11895 * lyxtext.h, text.C (selectNextWord): renamed as
11896 selectNextWordToSpellcheck.
11898 * text.C (selectNextWordToSpellcheck): Modified to not select
11899 words inside an ERT inset.
11901 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11903 * lyx_cb.C (MenuLayoutSave): change a bit the question
11905 * sp_base.h: include <sys/types.h>
11907 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
11909 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11911 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
11913 * several files: fix typos in user-visible strings
11915 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11917 * text2.C (pasteSelection): do not set the selection, since it
11918 will be cleared later. Actually, the intent was to fix the way the
11919 selection was set, but I figured rmoving the code was just as good.
11921 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
11923 * FontLoader.C (available): Check if font is available without
11926 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11928 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11930 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
11932 * lyxrc.[Ch]: added display_graphics variable and associated code.
11934 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11936 * bufferparams.C (hasClassDefaults): new method. Returns true if
11937 the buffer parameters correspond to known class defaults
11939 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
11941 * XFormsView.C (show): set minimum size to the main window.
11943 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11945 * text2.C (copySelection):
11947 * lyxfind.C (LyXReplace):
11948 * BufferView_pimpl.C (Dispatch): pass the correct flag to
11949 LyXText::selectionAsString.
11951 * paragraph.C (asString): add "label" argument to the second form
11953 * text2.C (selectionAsString): add "label" argument and pass it to
11954 Paragraph::asString.
11956 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11958 * lyx_main.C (commandLineHelp): remove version information
11960 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
11962 * lyx_main.C: add -version commandline option
11964 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11966 * paragraph.h: make the optional constructor arg required instead.
11967 some modifications to other files because of this.
11969 * minibuffer.C (C_MiniBuffer_peek_event): make it static
11971 * lyxserver.C (C_LyXComm_callback): make it static
11973 * lyx_main.C (error_handler): make it static
11975 * lyx_gui.C (LyX_XErrHandler): make it static
11977 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11979 * WorkArea.C: make the extern "C" methods static.
11981 * Makefile.am (lyx_LDADD): simplify
11983 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11985 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11986 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11988 * LyXAction.C (init):
11989 * lyxfunc.C (dispatch): associated code removal.
11991 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11993 * lyxfont.h (isSymbolFont): shut off warning
11995 * text.C (setHeightOfRow):
11996 (getVisibleRow): fix crash with empty paragraphs which have a
11999 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
12001 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12004 2001-09-04 José Matos <jamatos@fep.up.pt>
12007 * tabular.C (docbook): rename docBook method to docbook.
12009 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12011 * Makefile.am: add dependencies to main.o.
12013 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
12015 * FontLoader.C (available): Return false if !lyxrc.use_gui
12017 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
12019 * FontInfo.C (query):
12020 * converter.C (view):
12021 * importer.C (Import):
12022 * exporter.C (Export): Can not -> cannot.
12024 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
12026 * BufferView_pimpl.C: allow to create index inset even if
12029 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12031 * buffer.C (getLists): replace boost::tie code with an explicit pair
12032 as boost::tie can break some compilers.
12034 * iterators.h: Added a std:: declaration to the return type of
12037 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
12039 * lyxrc.C: add help for view_dvi_paper_option, default to safe
12042 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
12044 * iterators.[Ch]: New files. Provide paragraph iterators.
12046 * buffer.C (changeLanguage): Use paragraph iterators.
12047 (isMultiLingual): ditto
12049 * BufferView2.C (ChangeInsets): Use paragraph iterators.
12051 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
12053 * FontLoader.C: Support for cmr font.
12055 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
12057 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12058 (available): New method.
12060 * FontInfo.C (getFontname): Use scalable fonts even when
12061 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12064 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12066 * converter.C (Formats::view): reverted! Incorrect fix.
12068 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12070 * converter.C (Formats::view): only output the -paper option
12071 if the dvi viewer is xdvi, thereby fixing bug #233429.
12073 2001-08-23 Herbert Voss <voss@perce>
12075 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12077 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
12079 * Spacing.h (Spacing): Set space to Default on in the default
12082 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
12084 * vc-backend.h (RCS::versionString): add RCS to version
12085 (CVS::versionString): add CVS to version
12087 * vc-backend.C (scanMaster): do not add CVS to version.
12088 (scanMaster): do not add RCS to version
12090 * lyxvc.C (versionString): new method
12092 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12094 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12096 * Spacing.C (set): initialize fval
12098 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
12100 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12103 2001-08-16 Juergen Vigna <jug@sad.it>
12105 * lyxfunc.C (dispatch): implemented the new FINISHED states.
12107 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12109 * BufferView_pimpl.C:
12112 * text2.C: setParagraph takes linespacing now
12114 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
12116 * LyxAction.C: add internal LFUN_CITATION_INSERT
12118 * LyXView.C: actually apply fix
12120 * bufferlist.C: fix open non-existent file
12122 * lyxfind.C: fix indentation
12124 * lyxfunc.C: remove unneeded assert, fix typo
12126 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12128 * MenuBackend.C: use "Floatname List"
12130 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
12132 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12133 when converting LaTeX layout to insetERT.
12134 Generate a non-collapsed float when reading old float
12136 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12138 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12141 2001-08-13 Juergen Vigna <jug@sad.it>
12143 * text.C (fill): return 0 instead of 20 as this seems to be the more
12146 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12148 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12151 2001-08-13 Juergen Vigna <jug@sad.it>
12153 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12155 (SearchBackward): comment out the unlocking of the inset_owner this
12156 should not be needed!
12158 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
12160 * Many files: Remove inherit_language, and add latex_language
12162 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12163 collapsible insets.
12165 2001-08-10 Juergen Vigna <jug@sad.it>
12167 * text.C (prepareToPrint): fixed hfill-width in draw!
12169 * BufferView2.C (selectLastWord): save the selection cursor as this
12170 now is cleared in the function LyXText::clearSelection!
12172 2001-08-08 Juergen Vigna <jug@sad.it>
12174 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12175 BACKSPACE type functions.
12177 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12178 is only cutted from the document but not put in the cut-buffer, where
12179 still the old stuff should be.
12181 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12183 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12185 * tabular.C (SetWidthOfCell): fixed special case where the width
12187 (LeftLine): handle '|' in align_special.
12189 (LeftAlreadyDrawed): ditto
12190 (SetWidthOfCell): ditto
12192 2001-08-07 Juergen Vigna <jug@sad.it>
12194 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12196 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12198 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12199 * lyxlex.[hC]: ditto
12201 2001-08-06 Juergen Vigna <jug@sad.it>
12203 * text.C (getVisibleRow): fix up row clearing a bit.
12205 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12207 * minibuffer.C: make sure the X server sees the changes in the input.
12209 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12211 * paragraph.C (getFont): split into...
12212 (getLabelFont): this
12213 (getLayoutFont): and this
12214 * paragraph_pimpl.C (realizeFont): calling this
12216 * text2.C (getFont): split into...
12217 (getLayoutFont): this
12218 (getLabelFont): and this
12219 (realizeFont): all three calling this
12221 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12224 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12226 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12228 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
12230 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12231 layouts from the Quote inset insertion.
12233 2001-08-03 Juergen Vigna <jug@sad.it>
12235 * BufferView_pimpl.C (update): do the fitCursor only at the end!
12237 * screen.C (drawFromTo): don't call fitcursor here and do the loop
12238 only if status not is already CHANGED_IN_DRAW (second level).
12240 * text.C (draw): don't set the need_break_row when inside an
12243 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12245 * buffer.C (parseSingleLyXformat2Token): handle more latex
12248 * bufferview_funcs.[hC]: change function names to
12249 begin with small char, adjust other files.
12251 2001-08-02 André Pönitz <poenitz@gmx.net>
12254 BufferView_pimpl.C: remove broken special code for math-greek
12256 2001-08-02 Juergen Vigna <jug@sad.it>
12258 * BufferView_pimpl.C (update): redone this function so that we
12259 update the text again if there was a CHANGE_IN_DRAW.
12261 * screen.C (cursorToggle): removed LyXText parameter and recoded.
12262 (drawFromTo): added a new internal bool which is used by draw() and
12264 (general): some cursor drawing problems fixed.
12266 2001-08-01 Juergen Vigna <jug@sad.it>
12268 * lyxfind.C (LyXFind): fixed
12269 (SearchForward): ditto
12270 (SearchBackward): ditto
12272 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12273 spurius drawing of the cursor in the main area.
12275 * text2.C (status): small fix which could lead to a segfault!
12276 (clearSelection): remove unneeded BufferView param.
12278 2001-08-01 André Pönitz <poenitz@gmx.net>
12280 * lyxfunc.C: small change due to changed mathed interface
12282 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12284 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12286 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
12288 * lyxfunc.c: fail gracefully if file doesn't exist
12293 * BufferView_pimpl.C: IsDirWriteable() proto changed
12295 * LyXView.C: fix updateWindowTitle() to store the last title
12297 2001-07-31 Juergen Vigna <jug@sad.it>
12299 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12300 the font (wrong since using of Paragraph::highestFontInRange).
12302 * paragraph.C (highestFontInRange): added a default_size parameter.
12304 * text.C (getVisibleRow): minor clear row changes (still not perfect).
12305 (setHeightOfRow): reformat
12307 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12309 * converter.[hC] + affected files: move to (inital-char)lowercase
12312 * ParagraphParameters.C (ParagraphParameters): remove commented code
12314 * PainterBase.[Ch]: remove commented code
12316 * LaTeXFeatures.h: add "bool floats" for float.sty
12318 * LaTeXFeatures.C (LaTeXFeatures): init floats
12319 (require): handle float
12320 (getPackages): do it with floats
12322 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12324 * BufferView_pimpl.C (Dispatch): improve handling of
12325 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12327 * commandtags.h: #include lyxfont.h here temporarily to avoid
12330 * bufferlist.h: include LString.h here.
12332 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12334 * text2.C (getStringToIndex): new method.
12336 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
12338 * *: Reduced header file dependencies all over.
12340 2001-07-30 Baruch Even <baruch@lyx.org>
12342 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12344 2001-07-29 Baruch Even <baruch@lyx.org>
12346 * buffer.C (readInset): Changed GRAPHICS to Graphics.
12348 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12350 * ParameterStruct.h (endif): add a default constructor to make
12351 sure that all variables is initialized.
12353 * ParagraphParameters.C (ParagraphParameters): adjust
12355 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12357 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12358 index; also, check that there is something to index, and that it
12359 does not span over several paragraphs.
12360 (doubleClick): use WHOLE_WORD_STRICT for double click.
12362 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12364 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12367 2001-07-26 Baruch Even <baruch@lyx.org>
12369 * buffer.C (readInset): Changed to call up InsetGraphics when reading
12370 an InsetFig figure, backwards compatible reading of old figure code.
12372 2001-07-27 Juergen Vigna <jug@sad.it>
12374 * text2.C: font.realize function adaption.
12376 * text.C (draw): add a warnings lyxerr text if needed.
12378 * layout.C: font.realize function adaption.
12380 * language.C: add inherit_language and implement it's handlings
12382 * bufferview_funcs.C (StyleReset): remove language parameter from
12383 font creation (should be language_inherit now).
12385 * bufferparams.C (writeFile): handle ignore_language.
12387 * paragraph.C (getFontSettings): the language has to be resolved
12388 otherwise we have problems in LyXFont!
12390 * lyxfont.C (lyxWriteChanges): added document_language parameter
12391 (update): removed unneeded language parameter
12393 * paragraph.C (validate): fixed wrong output of color-package when
12394 using interface colors for certain fonts in certain environments,
12395 which should not seen as that on the final output.
12397 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
12399 * BufferView_pimpl.C:
12404 * LyXAction.C: add thesaurus support
12407 * lyxfind.C: add "once" parameter, for thesaurus, to not
12408 move to the next match
12410 2001-07-26 Juergen Vigna <jug@sad.it>
12412 * lyxfont.C (realize): honor ignore_language too!
12415 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12417 * text.C (draw): one place more for ignore_language to not draw
12420 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
12422 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12424 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12426 * buffer.C (parseSingleLyXformat2Token): a more general fix for
12427 the minipage conversion problem.
12429 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12431 * buffer.C (parseSingleLyXformat2Token): check minipage if we
12434 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12436 * BufferView.h: don't forward declare WorkArea
12438 * BufferView.C: don't include WorkArea.h
12440 2001-07-25 André Pönitz <poenitz@gmx.net>
12444 * lyxfunc.C: new LFUN 'math-space'
12446 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12448 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12450 * text2.C (toggleInset): call open/close
12452 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12454 * lyxfunc.C (dispatch): add debug for the disabled case
12456 * font.C (buttonText): make similar to rectText
12458 * buffer.C (readInset): comment out parsing of insetlist and
12461 * PainterBase.C (rectText): small correction
12463 * BufferView_pimpl.C: comment out insettheorem and insetlist
12464 * LyXAction.C: ditto
12465 * commandtags.h: ditto
12467 2001-07-24 Juergen Vigna <jug@sad.it>
12469 * text.C (draw): honor the ignore_language.
12471 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12473 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12475 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12478 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12480 * lyxtext.h: remove unused (and unimplemented) methods
12482 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12484 * text.C (getVisibleRow): honor background color
12487 * Painter.h: remove default color argument for fillRectangle
12489 * text.C (backgroundColor): new method
12491 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12493 * text.C (getVisibleRow): adjust
12495 * font.[Ch] (rectText): new method, metrics
12496 (buttonText): new method, metrics
12498 * PainterBase.[hC]: make rectText and buttonText always draw and take
12501 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12503 * ToolbarDefaults.C (read):
12504 * MenuBackend.C (read): allow escaping in all strings
12506 * BufferView_pimpl.C (insertAndEditInset): new method.
12507 (Dispatch): use insertAndEditInset whenever appropriate.
12509 * BufferView_pimpl.C (insertNote): removed
12511 * BufferView_pimpl.C (smartQuote): new method, moved from
12512 BufferView; if an insetquote cannot be inserted, insert a '"'
12515 * BufferView2.C: remove insertCorrectQuote();
12517 * lyxfunc.C (getStatus): Add support for all remaingin
12518 inset-insert lfuns.
12520 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12522 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12523 command (necessary to pass " as parameter of self-insert.
12525 * text.C (selectWordWhenUnderCursor):
12526 (selectWord): add word_location parameter
12527 (selectWordWhenUnderCursor): same + remove special code for word
12529 (selectNextWord): use kind() to guess type of insetspecialchar,
12532 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12533 (insertErtContents): create ert insets as collapsed.
12534 (readInset): better compatibility code for Info inset.
12536 2001-07-20 Juergen Vigna <jug@sad.it>
12538 * lyxfunc.C (dispatch): use always LyXFind now!
12540 * text2.C (init): add a reinit flag so that the LyXText can be
12541 reinited instead of deleted and reallocated (used in InsetText).
12543 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12549 2001-07-18 Juergen Vigna <jug@sad.it>
12551 * text.C (selectNextWord): handle insets inside inset by calling
12552 always the bv->text functions so that we can go up the_locking_inset!
12554 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12555 in strange locations when inside an inset!
12557 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12558 handling to include insets.
12560 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12562 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12564 * LyXAction.C (init):
12566 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12567 LIGATURE_BREAK, since the name is so stupid.
12569 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12571 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12574 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12576 * sp_form.[Ch]: remove.
12578 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12580 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12583 * src/buffer.C (readInset): ditto.
12585 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12587 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12588 menuSeparator(), endOfSentenceDot(), ldots() and
12589 hyphenationPoint(), which are therefore removed.
12590 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12592 * LyXAction.C (init):
12593 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12595 * paragraph.C (getWord): removed.
12597 * BufferView_pimpl.C (Dispatch): use last word or selection for
12598 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12600 * lyx_main.C (queryUserLyXDir): do not ask before creating
12601 user_dir, except if it has been named explicitely.
12603 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12605 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12606 a document of zero size.
12608 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12610 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12611 approriately in the c-tor and in require().
12612 (getPackages): output the appropriate LaTeX for natbib support.
12614 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12615 variables "use_natbib" and "use_numerical_citations" when reading the
12617 (readInset): read the various natbib cite commands.
12618 (validate): white-space change.
12620 * bufferparams.[Ch]: new variables "bool use_natbib" and
12621 "bool use_numerical_citations".
12622 (writeFile): output them in the LyX file.
12624 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12626 * lyxfunc.C (getStatus): add support for all the inset insertion
12629 * text2.C (insertInset):
12630 * paragraph.C (insetAllowed):
12631 * BufferView_pimpl.C (insertInset): update to take in account the
12632 renaming of insertInsetAllowed
12634 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12636 * text2.C (getInset): new method. returns inset at cursor position.
12638 * BufferView_pimpl.C (Dispatch): changes because of this.
12640 * LyXAction.C (init): rename open-stuff to inset-toggle.
12642 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12644 * text2.C (toggleInset): renamed from openStuff; use
12647 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
12649 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12651 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12653 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
12655 * buffer.C (readLyXformat2): Add filename to the error dialog
12657 2001-07-18 Juergen Vigna <jug@sad.it>
12659 * tabular.C (GetCellNumber): put an assert here instead of the check!
12661 2001-07-17 Juergen Vigna <jug@sad.it>
12663 * BufferView_pimpl.C (toggleSelection): adapted too.
12665 * text.C (selectNextWord): adapted for use with insets.
12666 (selectSelectedWord): ditto
12668 2001-07-17 Juergen Vigna <jug@sad.it>
12670 * sp_spell.C (PSpell): fix initialitation order.
12672 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12674 * paragraph.C: spacing
12676 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
12678 * sp_spell.C: repair language selection for pspell
12680 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12682 * lyxfunc.h: change more methods to begin with lower char.
12684 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
12686 * buffer.C (parseSingleLyXformat2Token): Generate error insets
12687 for unknown layouts.
12689 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
12691 * buffer.C (readLyXformat2): Generate an error dialog if there are
12694 2001-07-16 Juergen Vigna <jug@sad.it>
12696 * sp_spell.C: always compile ISpell part.
12698 * lyxrc.C: added use_pspell entry and it's handling.
12700 2001-07-13 Juergen Vigna <jug@sad.it>
12702 * sp_spell.C: removed double includes.
12704 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
12706 Consistent use of Lsstream.h:
12707 * Lsstream.h: added using std::stringstream for consistencies sake.
12709 * buffer.C: removed using std::stringstream
12711 * lyxfont.C (stateText):
12712 * paragraph.C (asString):
12713 * text.C (selectNextWord, selectSelectedWord):
12714 * text2.C (setCounter):
12715 * vspace.C (asString, asLatexString):
12716 std::ostringstream -> ostringstream.
12718 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12720 * LyXAction.C: add LFUN_HELP_ABOUTLYX
12721 * commandtags.h: add LFUN_HELP_ABOUTLYX
12722 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12724 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12726 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12728 * lyx_gui_misc.C: remove spellchecker
12729 * lyxfunc.C: showSpellchecker
12731 * sp_ispell.h: added
12732 * sp_pspell.h: added
12733 * sp_spell.C: added
12734 * sp_form.[Ch]: removed
12735 * spellchecker.[Ch]: removed
12737 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
12739 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12741 (simpleTeXSpecialChars): Simply print the input character without
12742 any special translation if pass_thru is set.
12744 * layout.h: Added bool pass_thru to layout class for being able to
12745 implement pass through of a paragraph for Literate Programming.
12747 * layout.C: add LT_PASS_THRU to LayoutTags enum.
12748 * layout.C (LyXLayout): set pass_thru to flase in constructor.
12749 * layout.C (Read): add "passthru" to list of layout tags and add
12750 code to set the pass_thru boolean when it is read.
12752 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12754 * trans_decl.h: remove allowed from KmodInfo
12756 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12757 remove allowed code
12760 * paragraph_pimpl.C (erase): use boost::prior
12762 * Painter.C (text): use data() instead of c_str() when length is
12764 * WorkArea.C (putClipboard): ditto
12765 * font.h (width): ditto
12767 * BufferView2.C: use it-> instead of (*it). for iterators
12769 * paragraph_pimpl.C: ditto
12770 * paragraph.C: ditto
12771 * minibuffer.C: ditto
12772 * language.C: ditto
12774 * encoding.C: ditto
12775 * counters.C: ditto
12776 * converter.C: ditto
12778 * Variables.C: ditto
12779 * TextCache.C: ditto
12780 * MenuBackend.C: ditto
12781 * LyXAction.C: ditto
12783 * FloatList.C: ditto
12784 * DepTable.C: ditto
12785 * ColorHandler.C (LyXColorHandler): ditto
12787 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12789 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12791 * text2.C (openStuff): reintroduce this method (which had been
12792 nuked in NEW_INSETS frenzy).
12794 * lyxfunc.C (Dispatch): when an action has not been handled, use
12795 its name in the error message, not its number.
12797 * paragraph.C (inInset): change method name to begin with lowercase.
12800 * text2.C: updates because of this.
12802 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12804 * ToolbarDefaults.C (add): add spaces in error message
12806 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12808 * buffer.C (readLyXformat2): initialize the ert comp. variables.
12809 (readLyXformat2): rename return_par to first_par, use lyxlex's
12810 pushToken and remove the manual push handling.
12811 (parseSingleLyXformat2Token): add another ert comp. variable:
12812 in_tabular, rename return_par to first_par. handle newlines better
12814 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12816 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12818 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12820 * text2.C (getParFromID): removed
12822 * buffer.C (getParFromID): new method moved form lyxtext.
12823 * BufferView2.C (insertErrors): adjust
12824 (setCursorFromRow): adjust
12825 * BufferView_pimpl.C (restorePosition): adjust
12826 * lyxfunc.C (Dispatch): adjust
12827 * undo_funcs.C (textUndo): adjust
12829 (textHandleUndo): adjust
12830 (textHandleUndo): adjust
12832 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12834 * buffer.C: up' the LYX_FORMAT
12836 * lyxfont.h: turn NO_LATEX on as default
12838 * buffer.C (insertErtContents): new methods of tex style compability.
12839 (parseSingleLyXformat2Token): use it several places.
12840 * tabular.C (OldFormatRead): and here
12842 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12844 * text2.C: remove some commented code.
12847 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12848 * trans.C: changes because of the above.
12850 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
12852 * text2.C (setCounter): Fix counters bug with bibliography layout.
12854 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12856 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12857 own member functions
12858 (simpleTeXSpecialChars): ditto
12860 2001-07-06 Juergen Vigna <jug@sad.it>
12862 * a lot of files: changed the access to LyXText::status and the
12863 call of undo-functions.
12865 * undo.[Ch]: added a inset_id to the undo informations.
12867 * undo_funcs.[Ch]: added and moved here all undo functions.
12869 * lyxtext.h: give the status enum a weight, made status_ a private
12870 variable and made accessor functions for it, removed the whole bunch
12871 of undo-functions as they are now in their own file, make some
12872 functions publically available. Added function ownerParagraph with
12875 * paragraph.[Ch]: added "bool same_ids" to the constructor,
12876 made InInset() a const function, added getParFromID() function.
12878 * buffer.[Ch]: added const version for inset_iterator functions,
12879 added getInsetFromID() function.
12881 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12882 changed undo functions for new version.
12884 2001-07-05 Juergen Vigna <jug@sad.it>
12886 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12887 unknow mechanism does not call the proper constructor but only this
12888 one also if I request the other!?
12890 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12892 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12894 * text2.C (LyXText): use initialization lists.
12896 * lyxtext.h (Selection): initialize set_ and mark_
12897 (init): remove method
12899 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
12901 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12903 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12905 * screen.[Ch]: change method names to begin with lowercase
12907 * BufferView_pimpl.C (updateScrollbar): simplify further and
12908 hopefully make it a bit faster.
12910 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12912 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12913 calling directly xforms functions.
12915 * Painter.C (Painter):
12916 * lyx_cb.C (MenuWrite):
12917 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12920 * lyx_gui.C: remove bogus guiruntime extern declaration.
12922 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12924 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12926 (redoDrawingOfParagraph): ditto
12927 (redoParagraphs): ditto
12928 (cutSelection): don't create a object for CutAndPaste use the
12929 static method directly
12930 (pasteSelection): ditto
12932 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12935 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12937 * modifications to some other files because of this.
12939 * Makefile.am (lyx_SOURCES): add XFormsView
12941 * XFormsView.[Ch]: new files
12943 * LyXView.[Ch]: make LyXView a base class for the gui handling for
12944 the main window. Move the gui dependent stuff to XFormsView
12946 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12948 * tabular.C (GetCellInset): update cur_cell also in the row/col
12949 version of this function.
12951 * lyxfunc.C: no need to include figure_form.h here.
12957 * lyxvc.C: no need to include forms.h here.
12959 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12961 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12963 * lyxfunc.C (Dispatch):
12965 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12966 constructor argument.
12968 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12970 * paragraph.C (Paragraph): dont't clear, and just set layout.
12971 (makeSameLayout): use params's copy contructor.
12973 * ParagraphParameters.[Ch] (makeSame): delete method
12975 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
12977 * Variables.[Ch]: fix indentation, rename set to isSet
12979 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12981 * lyxfunc.C (Dispatch): fix typo
12983 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12985 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12988 * bufferlist.C: include assert.h for emergencyWrite().
12990 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12992 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12993 give up at last (bug #425202) !
12995 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
13001 * spellchecker.C: strip spellchecker options and bring up
13002 preferences tab instead
13004 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13006 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13007 the istringstream constructor
13009 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13011 * paragraph.C (getLayout): fix return value
13013 * paragraph.h: do not declare getLayout as inline.
13015 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13017 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13019 * lyxcursor.h (operator<): new func
13020 (operator>): new func
13021 (operator>=): new func
13022 (operator<=): new func
13024 * text.C (changeCase): use selection.start and selection.end
13025 (changeRegionCase): require from to be <= to. Require par to be a
13028 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13030 2001-06-27 Juergen Vigna <jug@sad.it>
13032 * text.C (cursorLeftOneWord): changed to return the cursor and added
13033 overlay with BufferView * parameter which calls this one.
13035 (selectWord): use new getWord function.
13036 (changeCase): renamed from changeWordCase as and extended to work
13037 also on selections.
13039 * lyxtext.h: added enum word_location
13041 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13042 changeCase as this operates now also on selections.
13044 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
13046 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13048 * many files: send debug output to Debug::INFO instead of
13051 * converter.C (View):
13053 (Move): send debug output to Debug::FILES instead of console.
13055 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
13057 * lyxfunc.C (getStatus): use func_status
13059 * func_status.h: new header, describing the results of
13060 LyXFunc::getStatus;
13062 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13065 2001-06-25 The LyX Project <jug@sad.it>
13067 * buffer.C (sgmlOpenTag):
13069 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
13071 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13073 * text2.C: remove some dead code
13075 * tabular.C (GetCellInset): store the last cell checked (gotten)
13077 * tabular.h: add the helper for the speedup
13079 * lyxtext.h: remove some dead code
13081 2001-06-26 The LyX Project <Asger>
13083 * paragraph.C: Change export to LaTeX of alignment to
13084 \begin{center} and family for better roundtrip work with reLyX.
13086 * Tune the math drawing a bit.
13088 2001-06-25 The LyX Project <Asger>
13090 * LColor.C (LColor): New color for math background. New color
13093 2001-06-25 The LyX Project <jug@sad.it>
13095 * lyxfunc.C (MenuNew): remove extra check for .lyx file
13097 * lyxfunc.C (Open):
13098 * bufferlist.C (newFile): do not restrict to files ending with
13101 * BufferView_pimpl.C (MenuInsertLyXFile):
13103 2001-06-24 The LyX Project <jug@sad.it>
13105 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13108 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13110 * lyxtext.h: rename most methods to begin with a small char.
13111 Lots of changes because of this.
13113 * paragraph.C (Paragraph): do not call fitToSize
13114 (erase): call Pimpl::erase
13115 (insertChar): call Pimpl::insertChar
13116 (insertInset): call Pipl::insertInset
13117 (breakParagraph): do not call fitToSize
13118 (breakParagraphConservative): do not call fitToSize
13119 (fitToSize): remove method
13121 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13123 2001-06-24 The LyX Project <Asger>
13125 * Fix Qt compilation^2
13127 2001-06-24 The LyX Project <jug@sad.it>
13129 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13130 depthHook(getDepth()-1).
13133 * ParagraphParameters.h:
13134 * ParameterStruct.h: change type of depth to unsigned int ==
13135 depth_type. Many adaptations to other files before of that.
13137 2001-06-24 The LyX Project <Asger>
13139 * Fix Qt compilation.
13141 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13143 * paragraph.h: renamed several methods to begin with small letter.
13144 several changes to many parts of the code because of this.
13146 2001-06-23 The LyX Project <jug@sad.it>
13148 * text2.C (InsertStringAsLines): renamed from InsertStringA;
13149 rewritten to discard all double spaces when KeepEmpty is off
13150 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13151 to only handle newlines but not fiddle with spaces and friends.
13153 * lyxfunc.C (MenuNew): when doing 'new from template', use
13154 template_path as default directory
13156 2001-06-23 The LyX Project <Asger>
13158 * Clean-up of header file includes all over
13159 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13161 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13163 * paragraph.h: renamed from lyxparagraph.h
13165 2001-06-23 Asger <lyx@violet.home.sad.it>
13167 * Buffer.h: Removed Buffer::resize
13168 * BufferList.h: Removed BufferList::resize
13169 * LyXView.h: Added LyXView::resize. This way, we will only reflow
13170 the document lazily when we change the width, or the font settings.
13172 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13174 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13176 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13178 * buffer.h: remove out of date comment
13180 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13183 * screen.C: fix "theoretical" GC leak
13185 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13187 * LaTeX.C (scanAuxFile):
13188 (deplog): remove trailing \r when reading stream (useful under
13191 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
13193 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13194 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13195 and BufferView::theLockingInset(Inset*), so should use them and not
13196 access bv_->text->the_locking_inset directly.
13198 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13200 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13203 * tex-defs.h: remove old unused file
13205 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
13207 * BufferView_pimpl.C: fix typo, remove minibuffer message
13208 when buffer has loaded
13210 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13212 * lyxfunc.C (Dispatch): use stringstream
13213 (MenuNew): use stringstream
13214 (Open): use stringstream
13216 * importer.C (Import): use stringstream
13218 * bufferview_funcs.C (CurrentState): use stringstream
13220 * LaTeX.C (run): use stringstream
13222 * BufferView_pimpl.C (savePosition): use stringstream
13223 (restorePosition): use stringstream
13224 (MenuInsertLyXFile): use stringstream
13226 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
13239 * vspace.C: removed // -*- C++ -*- as first line.
13242 * version.h: added // -*- C++ -*- as first line.
13244 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13246 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13248 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13251 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13253 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13256 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13258 * gettext.C: include LString.h even when --disable-nls is on.
13260 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
13262 * converter.h (Get): changed argument type from int to
13263 FormatList::size_type to avoid unnecessary conversion.
13265 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13268 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13270 * gettext.h: include LString.h even when --disable-nls is on.
13272 2001-06-07 Juergen Vigna <jug@sad.it>
13274 * text.C (BreakAgain): subst spaces with tabs.
13276 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13277 (resizeInsetsLyXText): set force on resizeLyXText.
13279 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13281 * gettext.h (gettext_init):
13282 (locale_init): use a real definition instead of a macro
13284 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13286 * Bufferview_pimpl.C:
13288 * LColor.C: further lcolor tidies
13290 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13292 * BufferView_pimpl.C (updateScrollbar): simplify.
13294 * BufferView2.C: don't include insets/insetinfo.h, change
13295 prototype for insertInset and call the Pimpl version. let
13296 updateInset call Pimpl version.
13298 * BufferView.h: move inset_slept to BufferView::Pimpl, move
13299 gotoInset to BufferView::Pimpl
13301 2001-06-01 Juergen Vigna <jug@sad.it>
13303 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13304 inside a LockingInset (is the update needed at all?).
13306 2001-05-31 Juergen Vigna <jug@sad.it>
13308 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13309 here not the old one otherwise how should we compare it afterwards
13312 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13317 * FontInfo.C: bring C functions into global namespace when
13320 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13322 * LString.h: make sure config.h has been loaded before LString.h.
13324 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13325 (one for each char read by EatLine!).
13327 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13330 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13332 * paragraph.C (BreakParagraph): set the inset_owner in the new par
13333 to the same as the par we break from
13335 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
13337 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13339 * MenuBackend.C (expand): also create menu entries for wide
13340 versions of the floats.
13342 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13344 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13346 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13347 frontends/Makefile.am
13353 * tabular.C (getTokenValue): add std::
13355 * tabular-old.C (getTokenValue): add std::
13356 (getTokenValue): ditto
13357 (getTokenValue): ditto
13359 * screen.C (ToggleSelection): adjust
13361 * lyxtext.h: put selection cursors inside a Selection struct.
13363 * lyxfunc.C (moveCursorUpdate): adjust
13365 * lyxfont.C (latexWriteStartChanges): add std::
13367 * lyxfind.C: adjust
13369 * font.h: delete with(char const *, LyXFont const &)
13371 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13373 * FontInfo.C (getFontname): add std::
13375 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13376 (workAreaButtonPress): adjust
13377 (tripleClick): adjust
13379 (moveCursorUpdate): adjust
13382 * BufferView2.C (gotoInset): adjust
13384 2001-05-30 Juergen Vigna <jug@sad.it>
13386 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13387 to check pspell I add this as default as I now have new pspell
13388 libraries and they seem to use this.
13390 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13392 * text2.C (CutSelection): make the cursor valid before the call to
13395 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13397 * kbsequence.C (parse): de-uglify a bit the parsing code, which
13398 relied on 0 terminated strings and other horrors. Bug found due to
13399 the new assert in lyxstring!
13401 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13404 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13406 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13409 * lyxfunc.C (processKeySym): change method of getting to the
13412 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13413 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13414 * BufferView_pimpl.[Ch]: here as private methods.
13416 2001-05-28 Juergen Vigna <jug@sad.it>
13418 * text.C (SetHeightOfRow): added the update() call again as it is
13419 needed to initialize inset dimensions!
13421 2001-05-16 Juergen Vigna <jug@sad.it>
13423 * text2.C (SetCharFont): Add new function with BufferView * and
13424 bool toggleall parameters for setting insets internal fonts.
13425 (SetFont): Freeze the undo as we may change fonts in Insets and
13426 all this change should be inside only one Undo!
13428 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13429 setting font's in insets as for them we have the SetFont function!
13431 2001-05-15 Juergen Vigna <jug@sad.it>
13433 * text2.C (ClearSelection): to be sure we REALLY don't have any
13436 * tabular.C (TeXCellPreamble): fixed the left border problem for
13439 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
13441 * LaTeX.C (deplog): Make sure that the main .tex file is in the
13444 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13446 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13447 LFUN_BREAKPARAGRAPH.
13449 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13450 help test to "internal only", similar for LFUN_INSERT_URL
13452 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13453 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13454 auto_region_delete and deadkeys.
13456 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
13459 * LColor.C: remove some dead entries, tidy a little
13461 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13463 * lyxfunc.C (processKeySym): comment the Escape handling, remove
13465 (Dispatch): implement LFUN_ESCAPE
13467 * commandtags.h: add LFUN_ESCAPE
13469 * LyXAction.C (init): add entry for LFUN_ESCAPE
13471 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13472 Remove commented code.
13473 (insertNote): moved here
13474 (open_new_inset): moved here
13476 * BufferView[2].[Ch]: move insertNote and open_new_inset to
13479 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13481 * kbmap.C (findbinding): clean it up and make it work correctly.
13483 * lyx_main.C (init): do not pass argc and argv as parameters
13485 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
13487 * buffer.C: fix path for OS/2 & Win32
13491 * lyx_main.C: Added os:: class.
13493 * os2_defines.h: update
13495 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13497 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13498 better by trying again with reduced state.
13500 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13502 * lyxrc.C (read): print error about invalid key sequence only when
13503 debugging (because not all latinX keysyms are known to some X
13506 * kbsequence.C (getiso): add a few std:: qualifiers
13507 (getiso): comment out extra return statement.
13509 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
13511 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13513 (Dispatch): enhance the accent inset a bit. (not perfect)
13515 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13517 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13519 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13521 * bufferlist.C (emergencyWrite): fix assert() call
13523 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
13525 * text.C (InsertChar): Added trivial patch to only send the "you
13526 can not do multiple spaces this way" message once during a
13529 2001-05-08 Baruch Even <baruch@lyx.org>
13531 * Makefile.am: Changed order of libraries to get LyX to link properly
13532 with the gnome frontend.
13534 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13536 * LaTeXFeatures.h: add a std:: qualifier
13538 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13540 * paragraph.C (String): use stringstream
13542 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13544 * paragraph.C (writeFile): remove footflag arg
13546 * buffer.C (makeLaTeXFile): use stringstream
13547 (latexParagraphs): remove footnot gurba
13549 * LaTeXFeatures.C (getPackages): use stringstream
13550 (getMacros): likewise
13551 (getTClassPreamble): likewise
13552 (getFloatDefinitions): new method
13554 * paragraph.C (writeFile): reindent
13557 * WorkArea.h: revert the xpos + etc changes.
13559 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13561 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13563 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13564 (pasteSelection): likewise
13565 * text2.C (CreateUndo): likewise
13567 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13569 * minibuffer.C (peek_event): temporarily reduce the functionality
13570 of the minibuffer (to allow args on lfuns)
13572 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13573 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13575 * buffer.C (readInset): add compability reading of old float
13576 lists, add reading of new style float list.
13577 (readInset): avoid reevaluation of inscmd.getCmdName()
13578 (getLists): reindent
13580 * MenuBackend.C (MenuItem): implement parsing of
13581 md_floatlistinsert and md_floatinsert.
13582 (expand::LastFiles): move initalizaton of iterators out of loop,
13583 avoid reevaluation.
13584 (expand::Documents): introduce typdedef vector<string> Strings,
13586 (expand::ExportFormats): introduce typedef vector<Format const *>
13587 Formats, and use it.
13588 (expand): implement FloatListInsert and FloatInsert.
13590 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13591 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13592 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13594 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13596 (Dispatch::LFUN_FLOAT_LIST): implement
13598 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13600 * LaTeX.C (run): Fix problem with --export code.
13602 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13604 * BufferView.[Ch] (workarea): removed.
13605 (getClipboard) new method; wrapper for workarea()->getClipboard()
13607 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13610 * WorkArea.h (width, height, xpos, ypos): These methods all
13611 returned the dimensions of the work_area sub-area of WorkArea,
13612 resulting in a position error if the WorkArea were resized. Now
13613 return the dimensions of the entire WorkArea.
13615 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13617 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13619 * LaTeX.C (deplog): correct the syntax of regex reg1
13621 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13623 * undo.C: remove !NEW_INSETS cruft
13625 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13627 * text2.C: remove !NEW_INSETS cruft
13629 * text.C: remove !NEW_INSETS cruft
13631 * tabular.C: remove !NEW_INSETS cruft
13633 * spellchecker.C: remove !NEW_INSETS cruft
13635 * lyxtext.h: remove !NEW_INSETS cruft
13637 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13639 * lyxfunc.C: remove !NEW_INSETS cruft
13641 * lyxfind.C: remove !NEW_INSETS cruft
13643 * lyx_cb.C: remove !NEW_INSETS cruft
13645 * figureForm.C: remove !NEW_INSETS cruft
13647 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13649 * buffer.[Ch]: remove !NEW_INSETS cruft
13651 * ToolbarDefaults.C: remove !NEW_INSETS cruft
13653 * CutAndPaste.C: remove !NEW_INSETS cruft
13655 * BufferView_pimpl.C: remove !NEW_INSETS cruft
13657 * BufferView2.C: remove !NEW_INSETS cruft
13659 * BufferView.h: remove !NEW_INSETS cruft
13661 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13663 * Lsstream.h: include LString.h before the sstream headers to
13664 fix problem with gcc 2.95.3 and lyxstring
13666 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13668 * lyx_main.C: add using directives when needed for C functions
13669 declared in std:: namespace.
13671 2001-04-27 Juergen Vigna <jug@sad.it>
13673 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13674 (SetHeightOfRow): comment out the update call should not be needed!
13676 2001-04-13 Juergen Vigna <jug@sad.it>
13678 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13679 (LyXTabular): tried to minimize operator= operations (and realized
13680 hopfully Lars wish).
13682 2001-04-27 Juergen Vigna <jug@sad.it>
13684 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13686 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13688 * lyxfunc.C (Dispatch): hack to make listof algorithm work
13690 * buffer.C (readInset): hack to make listof algorithm work
13692 * BufferView_pimpl.C: hack to make listof algorithm work
13694 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13696 * LyXAction.C: removed all !NEW_INSETS cruft
13697 (init): moved lfun_item in method
13699 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13701 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13703 * BufferView2.C (theLockingInset): white space.
13705 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13707 * minibuffer.C: include <iostream>
13709 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13711 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13713 * commandtags.h: add LFUN_TRANSPOSE_CHARS
13715 * text.[Ch] (TransposeChars): new method
13717 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13719 * call message directly through LyXView instead of through LyXFunc
13720 * BufferView2.C: adjust
13721 * BufferView_pimpl.C: adjust
13722 * FontLoader.C: adjust
13724 * bufferview_funcs.C: adjust
13725 * converter.C: adjust
13726 * figureForm.C: adjust
13727 * importer.C: adjust
13729 * lyx_gui_misc.C: adjust
13730 * lyxfunc.C: adjust
13733 + more files in subdirs
13735 * lyxparagraph.h (size): move up int file
13738 * adjust all uses of Assert to lyx::Assert.
13740 * BufferView2.C (ChangeCitationsIfUnique): adjust for
13741 lyxfunctional in namespace lyx
13742 * layout.C (hasLayout): ditto
13745 (delete_layout): ditto
13746 (NumberOfClass): ditto
13747 * converter.C (GetFormat): ditto
13752 * bufferlist.C (getFileNames): ditto
13753 (emergencyWriteAll): ditto
13756 * MenuBackend.C (hasSubmenu): ditto
13759 * BufferView_pimpl.C (getInsetByCode): ditto
13761 2001-04-18 Juergen Vigna <jug@sad.it>
13763 * vspace.C (asLatexString): fixed the 100% problem.
13765 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13767 * lyxfunc.C (Dispatch):
13769 * minibuffer.h: add a few std:: qualifiers
13771 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13773 * minibuffer.[Ch]: reimplement so that commands is initiated and
13774 run from lyxfunc, simplified som handling, and made the completion
13775 and history code for complete. wip.
13777 * lyxfunc.C (processKeySym): call message
13778 (miniDispatch): new temporary method
13779 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13780 (LFUN_MESSAGE): implement
13781 (LFUN_MESSAGE_PUSH): implement
13782 (LFUN_MESSAGE_POP): implement
13783 (initMiniBuffer): the initial/defualt minibuffer message.
13785 * lyxfont.[Ch]: inline some more getters
13787 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13789 * lyx_gui_misc.[Ch] (WriteStatus): remove method
13791 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13792 (AutoSave): use LFUN_MESSAGE
13793 (Reconfigure): ditto
13795 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13797 * figureForm.C: use LFUN_MESSAGE
13799 * converter.C (runLaTeX): use LFUN_MESSAGE
13801 * bufferview_funcs.C: use LFUN_MESSAGE
13803 (changeDepth): ditto
13805 * bufferparams.h: use boost::
13807 * bufferlist.h: inherit privately from noncopyable
13809 * bufferlist.C (loadLyXFile): remove some commented code.
13811 * buffer.C (runChktex): use LFUN_MESSAGE
13813 * ShareContainer.h: inherit privately from noncopyable
13815 * ParagraphParameters.[hC] (depth): inline it.
13817 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13819 (message): new method
13820 (messagePush): ditto
13821 (messagePop): ditto
13822 (show): init minibuffer
13823 (showState): direct call
13825 * LaTeX.[Ch]: inherit privately from noncopyable
13826 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13827 instead of WriteStatus.
13829 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13831 * BufferView_pimpl.C (buffer): don't init minibuffer
13832 (workAreaButtonPress): use LFUN_MESSAGE
13833 (workAreaButtonRelease): ditto
13834 (savePosition): ditto
13835 (restorePosition): ditto
13836 (MenuInsertLyXFile): ditto
13837 (workAreaExpose): don't init minibuffer
13838 (update): remove commented code, simplify
13840 * BufferView2.C (openStuff): use LFUN_MESSAGE
13841 (toggleFloat): ditto
13844 (copyEnvironment): ditto
13845 (pasteEnvironment): ditto
13850 (updateInset): remove some commented code
13852 * lastfiles.h: inherit privately from noncopyable
13855 * lyx_main.h: ditto
13857 * lyxlex_pimpl.h: ditto
13859 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13860 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13861 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13863 * LyXAction.h: inherit privately from noncopyable, add methods
13864 func_begin, func_end, returning iterators to the func map.
13866 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13867 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13868 (func_begin): new method
13869 (func_end): new method
13871 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13873 (copySelection): ditto
13874 (pasteSelection): ditto
13876 * BufferView.C: whitespace change
13877 * BufferView.h: inherit privately from noncopyable
13879 2001-04-16 Allan Rae <rae@lyx.org>
13881 * tabular-old.C (l_getline):
13882 * spellchecker.C (sc_check_word):
13883 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13884 an unrecognised preprocessor directive. So ensure they're wrapped.
13886 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
13888 * src/exporter.C (Export): Give an error message when path to file
13891 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
13893 * LaTeX.C (deplog): Always check that foundfile exists.
13895 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13898 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13900 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13902 * tabular.[Ch] (getLabelList): implement new method
13904 * minibuffer.h: comment ouf setTiimer
13906 * minibuffer.C (ExecutingCB): constify res
13907 (peek_event): constify s
13908 (Set): constify ntext
13909 (Init): constify nicename
13911 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13913 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13914 (savePosition): use two params to Minibuffer::Set
13915 (restorePosition): ditto
13917 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13919 * lyx_main.C: include language.h
13921 * Makefile.am (lyx_main.o): add language.h
13923 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13929 * CutAndPaste.C: include gettext.h
13931 * lyxfont.h: remove old hack with ON and OFF.
13934 * lyxfont.h: do not include language.h...
13939 * bufferview_funcs.C:
13945 * paragraph.C: ... but do it here instead
13947 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13949 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13951 * tabular.C: small reformat
13953 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13956 (BreakParagraph): ditto
13957 (SetOnlyLayout): ditto
13960 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13963 * lastfiles.C: removed most using decl, add std:: where needed
13965 * buffer.C: ws changes
13967 * MenuBackend.C (class compare_format): put into anon namespace
13968 (expand): constify label, names, action, action2
13971 * text.C (SingleWidth): constify font
13972 (IsBoundary): constify rtl2
13973 (GetVisibleRow): constify ww
13975 * LaTeX.C (deplog): constify logfile
13977 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13979 (workAreaExpose): constify widthChange, heightChange
13981 * lyxrow.C (par): moved
13984 * lyxrow.h: as inlines here
13986 * lyxfont.h (shape): moved from lyxfont.C
13987 (emph): moved from lyxfont.C
13989 * lyxfont.C (LyXFont): use initialization list for all
13991 (shape): move to lyxfont.h as inline
13992 (emph): move to lyxfont.h as inline
13995 2001-04-04 Juergen Vigna <jug@sad.it>
13997 * vspace.C: had to include stdio.h for use of sscanf
13999 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
14002 * BufferView_pimpl.h: remove xforms cruft. Both classes are
14003 independent of xforms.
14005 2001-04-02 Juergen Vigna <jug@sad.it>
14007 * spellchecker.C: fixed namespace placing!
14009 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
14011 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14012 the LyXParagraph * is 0.
14014 2001-03-29 Juergen Vigna <jug@sad.it>
14016 * vspace.C: added support for %, c%, p%, l%.
14017 (stringFromUnit): added helper function.
14018 (asLatexString): changed to give right results for the %-values.
14020 * buffer.C: convert the widthp in a width%.
14022 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
14024 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14027 * figureForm.[Ch]: stripped the FD_from_figure manipulation
14028 code out of lux_cb.[Ch], ready for its (imminent?) removal.
14030 * lyx_cb.[Ch]: see above.
14032 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14036 * lyx.[Ch]: replaced by figure_form.[Ch].
14040 * lyxfunc.C: changed headers associated with above changes.
14042 2001-03-27 Juergen Vigna <jug@sad.it>
14044 * BufferView_pimpl.C: set the temporary cursor right!
14046 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
14048 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14050 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
14052 * LString.h: removed "using std::getline"!
14054 * BufferView_pimpl.C (Dispatch): changes due to changes in
14055 InsetInclude::Params.
14057 * buffer.C (tag_name): removed redundant break statements as they were
14058 producing lots of warnings with my compiler.
14060 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14062 * LString.h: add "using std::getline" when using the real <string>.
14064 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
14066 * buffer.C: removed bitset usage.
14067 PAR_TAG moved to an anonymous name space.
14068 (tag_name): new funtion, also in the anonymous namespace.
14069 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14070 (makeDocBookFile): clean code. Completed transition from string arrays
14072 (SimpleDocBookOnePar): code clean.
14074 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14076 * tabular.C: add some comments.
14078 2001-03-22 Juergen Vigna <jug@sad.it>
14080 * buffer.C (parseSingleLyXformat2Token): redone the minipage
14081 compatibility read a bit and fixed bug with minipage in different
14084 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
14086 * buffer.C (pop_tag): removed.
14087 (push_tag): removed.
14088 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14089 array replaced with vector. Added support for CDATA sections.
14090 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14092 (makeDocBookFile): XML conformant declaration of CDATA section,
14093 fixed bug related to <emphasis> in the first paragraph char.
14094 (sgmlOpenTag): exclude empty tags.
14095 (sgmlCloseTag): ditto.
14097 * buffer.h (pop_tag): removed.
14098 (push_tag): removed.
14100 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
14102 * language.h (Languages): added size_type and size().
14104 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14106 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14107 response on compability reading of minipages. One probliem is that
14108 the old usage of minipages was «flertydig»
14110 * several files here and in subdirs: don't use static at file
14111 scope use anon namespaces instead.
14113 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
14115 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14116 LaTeX output. This is necessary for Literate document
14119 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14121 * buffer.C: insert hfill when needed.
14123 * tabular.C (l_getline): use string::erase, small whitespace change.
14125 * BufferView_pimpl.C: try the anon namespace.
14126 * WorkArea.C: ditto
14128 2001-03-16 Juergen Vigna <jug@sad.it>
14130 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14131 otherwise it won't open options-dialogs.
14133 * buffer.C: honor pextraWidth(p) on converting minipages.
14135 * tabular.C (l_getline): changed the functions to strip trailing \r.
14137 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
14139 * BufferView_pimpl.C:
14140 * minibuffer..C: added "using SigC::slot" declaration.
14142 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14144 * lyxlex_pimpl.h: noncopyable is in namespace boost.
14150 * paragraph.C: ditto
14152 * lyxtext.h: NO_PEXTRA
14154 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14156 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14157 * ParameterStruct.h: ditto
14158 * ParagraphParameters.h: ditto
14159 * lyxparagraph.h: ditto
14161 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14163 * buffer.C: add compability for minipage alignment.
14164 (latexParagraphs): remove unwanted pextra check.
14166 * several files: remove CXX_WORKING_NAMESPACES
14168 * buffer.C (pop_tag): tie is in namespace boost
14170 * BufferView.h: noncopyable is in namespace boost
14172 * lyx_main.h: ditto
14175 * lastfiles.h: ditto
14176 * bufferlist.h: ditto
14177 * ShareContainer.h: ditto
14179 * LyXAction.h: ditto
14182 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14184 * Merging changes from BRANCH_MVC back into HEAD.
14186 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14188 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
14190 * BufferView_pimpl.C: change from intl.C
14194 * Makefile.am: move combox.*
14200 * intl.C: remove dialog (covered by prefs)
14202 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14204 * lyxfunc.C (Dispatch): removed redundant break statement.
14206 2001-03-14 Juergen Vigna <jug@sad.it>
14208 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14210 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14212 * buffer.C: add hack to fix compability reading of minipages.
14214 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
14216 * buffer.C (getLists): Cleanup.
14218 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14220 * lyxfont.C (update): don't honor toggleall on font size.
14222 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
14226 * Makefile.am: moved to frontends/xforms/
14230 * BufferView_pimpl.C: changes for moved mathpanel
14232 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14234 * gettext.h: fix gettext_init() in --disable-nls
14236 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14238 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14240 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
14243 * lyx.h: strip external form
14245 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14247 * BufferView_pimpl.C: add comment, destroySplash()
14249 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14251 * BufferView_pimpl.C:
14255 * lyxfunc.C: use re-worked insetinclude
14257 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14259 * buffer.C: add using std::stringstream.
14261 * lyx_cb.C: readd using std::ios.
14263 * buffer.C: add using std::map.
14265 * BufferView_pimpl.C: add using std::vector.
14267 * ShareContainer.h: add std:: to swap.
14269 * buffer.h: add some typedefs
14270 * buffer.C (getLists): use them
14271 (getLists): renamed from getTocList.
14272 add a counter for the different float types and use it in the
14274 (getLists): use the same counter for the NEW_INSETS and the "non"
14277 * lyx_cb.h: remove unused items, includes, using etc.
14279 * ShareContainer.h: remove some commented code, add more comments
14280 and "documentation".
14282 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14284 * buffer.C (getTocList): make the list also when NEW_INSETS is
14287 * buffer.h: remove TocType
14289 * buffer.C (getTocList): change to return a map<string,
14290 vector<TocItem> >, implement for dynamic number of list.
14292 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14293 * text2.C (PasteSelection): adjust
14294 * CutAndPaste.C (pasteSelection): adjust
14296 * FloatList.C (FloatList): update from the new_insets branch.
14297 * Floating.[Ch]: ditto
14298 * LaTeXFeatures.C: ditto
14300 * lyxlex_pimpl.C: ditto
14302 * paragraph.C (Last): remove when NEW_INSETS is defined.
14304 * other file: changes because of the above.
14306 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14308 * lyxparagraph.h: rename next to next_, previous to previous_,
14309 make them private for NEW_INSETS. Rename Next() to next(),
14310 Previous() to previous().
14312 * other files: changes because of the above.
14314 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
14317 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14320 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14322 * main.C (main): pass lyx_localedir to gettext_init().
14324 * gettext.h: remove locale_init and gettext_init macros
14326 * gettext.C (locale_init): new function
14327 (gettext_init): new function
14329 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14332 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
14334 * Moved credits to frontends:
14335 * credits.[Ch]: removed
14336 * credits_form.[Ch]: removed
14337 * lyx_gui_misc.C: remove credits stuff
14340 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14342 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14344 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14345 unneeded destructor.
14347 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14348 a standalone pointer again.
14350 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14352 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
14358 * ToolbarDefaults.C:
14367 * BufferView_pimpl.C: use new file dialog in GUII
14370 * lyx_cb.C: remove LayoutsCB to Toolbar
14372 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14374 * ShareContainer.h (get): add std:: qualifier
14376 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14378 * ShareContainer.h: define a proper ShareContainer::value_type
14379 type (and use typename to please compaq cxx)
14381 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14383 * lyxparagraph.h: move serveral local vars to
14384 ParameterStruct/ParagraphParameters., use ShareContainer in
14385 FontTable., make vars in FontTable private and add getter and
14388 * paragraph.C: changes because of the above.
14390 * lyxfont.h: remove copy constructor and copy assignment. (the
14391 default ones is ok), move number inside FontBits. move inlines to
14394 * lyxfont.C: add number to initializaton of statics, move several
14395 inlines here. constify several local vars. some whitespace
14396 cleanup. Dont hide outerscope variables.
14398 * Spacing.h: add two new constructors to match the set methods.
14400 * ShareContainer.h: new file, will perhaps be moved to support
14402 * ParameterStruct.h: new file
14404 * ParagraphParameters.h: new file
14406 * ParagraphParameters.C: new file
14408 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14409 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14411 * BufferView_pimpl.C: ParagraphParameter changes.
14412 * buffer.C: Likewise.
14413 * bufferview_funcs.C: Likewise.
14414 * text.C: Likewise.
14415 * text2.C: Likewise.
14417 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14419 * lyxfind.C (LyXReplace): do not redefine default argument in
14421 (IsStringInText): ditto
14422 (SearchForward): ditto
14423 (SearchBackward): ditto
14425 2001-03-06 Juergen Vigna <jug@sad.it>
14427 * lyxfind.C (IsStringInText): put parentes around expressions.
14429 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
14431 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14433 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
14435 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14437 * stl_string_fwd.h: add comment
14439 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14442 * tabular.C: remove unused DocBook methods
14448 killed DO_USE_DEFAULT_LANGUAGE
14450 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14452 * lyx_gui.C: do not include language.h.
14454 * bufferview_funcs.C (ToggleAndShow): do not provide optional
14455 arguments in function implementation.
14457 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14459 * BufferView_pimpl.C: add <ctime>
14461 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14463 * BufferView_pimpl.C: add using std::find_if
14465 2001-02-27 José Matos <jamatos@fep.up.pt>
14467 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14470 2001-02-11 José Matos <jamatos@fep.up.pt>
14472 * buffer.C (makeDocBookFile): command styles now have a parameter as
14473 "title" by default.
14475 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
14477 * layout_forms.[Ch]: removed
14478 * lyx_cb.[Ch]: out character
14479 * lyx_gui.C: out character
14480 * lyx_gui_misc.C: out character
14481 * bufferview_funcs.C: : out character,
14482 added toggleall as parameter in ToggleAndShow
14484 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
14486 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14488 * text2.C (SetCurrentFont): Disable number property at boundary.
14490 2001-02-26 Juergen Vigna <jug@sad.it>
14492 * lyxfunc.C (getStatus): added a string argument override function so
14493 that this is correctly called from LyXFunc::Dispatch if it contains a
14494 do_not_use_argument which is used!
14495 (Dispatch): added check for "custom" export and call appropriate func.
14497 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
14499 * lyxrc.C: Add language_command_local, language_use_babel and
14500 language_global_options.
14502 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14504 * buffer.C (makeLaTeXFile): Use language_use_babel and
14505 language_global_options.
14507 2001-02-23 Juergen Vigna <jug@sad.it>
14509 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14510 which works with LyXText and putted it inside BufferView. Here now we
14511 only call for that part the BufferView::Dispatch() function.
14513 * BufferView.C (Dispatch): added.
14515 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14516 functions which needs to use a LyXText over from LyXFunc.
14517 (MenuInsertLyXFile): added
14518 (getInsetByCode): added
14519 (moveCursorUpdate): added
14520 (static TEXT): added
14522 2001-02-22 Juergen Vigna <jug@sad.it>
14524 * BufferView_pimpl.C (update): call a status update to see if LyXText
14527 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14529 * vc-backend.C (revert): implement for CVS
14530 (getLog): implement for CVS
14532 2001-02-20 Juergen Vigna <jug@sad.it>
14534 * text2.C (ClearSelection): added BufferView param for inset_owner call
14536 * lyxfunc.C (TEXT): added this function and use it instead of
14537 directly owner->view()-text of getLyXText().
14539 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
14541 * src/layout_forms.C: out preamble
14542 * src/layout_forms.h: out preamble
14543 * src/lyx_cb.C: out preamble
14544 * src/lyx_cb.h: out preamble
14545 * src/lyx_gui.C: out preamble
14546 * src/lyx_gui_misc.C: out preamble
14547 * src/lyxfunc.C: connect with guii preamble
14549 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14551 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14553 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14555 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14556 whether to run bibtex.
14558 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14560 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14562 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14564 * Makefile.am (lyx_SOURCES): removed bibforms.h
14566 * vspace.h: doxygen
14568 * text.C (GetVisibleRow): make several local vars const
14570 * tabular.C: small cleanup.
14572 * lyxserver.C (callback): use compare instead of strncmp
14574 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14575 inlines to after class or to paragraph.C
14577 * lyxfont.h: remove friend operator!=
14579 * converter.h: move friend bool operator< to non friend and after
14582 * combox.h: small cleanup
14584 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14585 to inlines after class def.
14587 * buffer.C (pop_tag): use string operations instead of strcmp
14589 * bmtable.c: doxygen, small cleanup
14591 * LaTeX.h: remove friend operator==
14593 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14605 * BufferView_pimpl.C:
14606 * BufferView.[Ch]: remove cruft
14608 2001-02-14 Juergen Vigna <jug@sad.it>
14610 * lyxfunc.C: removed #if 0 unused code
14612 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14614 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14616 * text2.C (SetSelection): added a BufferView * parameter
14618 2001-02-13 Juergen Vigna <jug@sad.it>
14620 * lyxfunc.C (Dispatch): fixed protected blank problem.
14621 * BufferView2.C (protectedBlank): added LyxText * parameter.
14623 * tabular.C (AppendRow): forgot to set row_info of newly added row.
14624 (AppendColumn): same as above for column_info.
14626 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14627 (moveCursorUpdate): use a LyXText param for support of InsetText.
14629 * BufferView_pimpl.C (doubleClick): added support for InsetText.
14630 (tripleClick): ditto
14632 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14634 * BufferView_pimpl.C (update): added LyXText param to honor insets.
14636 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14638 * text2.C (SetSelection): set correct update status if inset_owner
14639 (ToggleFree): ditto
14641 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
14643 * tabular.C: remove some commented code.
14645 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
14647 * BufferView_pimpl.C: call hideSplash()
14649 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14652 * bibforms.h: remove
14655 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14656 add LFUN_CHILD_CREATE
14658 * counters.h: fix tiny typo
14663 * lyx.C: move splash to frontends/xforms/
14665 * lyx_gui_misc.C: move Include and Bibform to frontends
14667 * lyxvc.h: clarify comment
14669 * vspace.C: tiny housekeeping
14671 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
14673 * text.C (PrepareToPrint): RTL Fix.
14675 * paragraph.C (GetUChar): New method.
14676 (String): Use GetUChar.
14678 * buffer.C (asciiParagraph): Use GetUChar.
14680 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
14682 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14684 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
14687 * buffer.C: rename to getLogName(), handle
14688 build log / latex log nicely
14690 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14693 * MenuBackend.h: remove support for reference menuitem type.
14695 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
14697 * BufferView_pimpl.C: housekeeping
14698 * BufferView_pimpl.h:
14703 * minibuffer.h: move Timeout GUI-I
14705 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
14707 * lyxrc.C (read): Update converters data-structures.
14709 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
14711 * LaTeX.h (operator!=): add operator != for Aux_Info
14713 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
14715 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14717 * LaTeXLog.C: deleted, useful code moved to Buffer
14720 * buffer.C: new function getLatexLogName()
14726 * lyxfunc.C: use frontends for LaTeX and VC logs
14728 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14730 * LaTeX.h: yet another std:: that Allan forgot.
14732 * Variables.C (set): renamed from isset(), because this clashes
14733 with some HP-UX macros (grr).
14735 2001-02-06 Allan Rae <rae@lyx.org>
14737 * LaTeX.h: Another bug fix. Missing std:: this time.
14739 2001-02-04 Allan Rae <rae@lyx.org>
14741 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14742 floats problem. I've left it commented out because it's not quite
14743 correct. It should also test that the current object is a table or
14744 figure inset. But I haven't gotten around to figuring out how to do
14745 that. I *think* it'll be something like: "table" == inset.type()
14747 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14750 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
14752 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14753 all the citation/databases/styles in the auxilary file.
14754 (run): Rerun latex if there was a babel language error.
14756 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
14758 * text.C (Backspace): Preserve the font when changing newline char
14760 (BreakParagraph): If the cursor is before a space, delete the space.
14762 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14764 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
14766 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14767 new argument (code).
14768 (ChangeCitationsIfUnique): New method.
14770 * paragraph.C (GetPositionOfInset): Handle bibkey.
14772 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14774 * BufferView_pimpl.h: change type of Position::par_pos to
14775 LyXParagraph::size_type.
14777 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
14779 * BufferView_pimpl.C (savePosition, restorePosition): Write
14780 messages to minibuffer.
14782 2001-01-28 José Matos <jamatos@fep.up.pt>
14784 * buffer.C (makeDocBookFile): adds support for document language.
14785 A silly restriction on the name of LatexCommand types where removed.
14786 Added support for CDATA sections, allows to chars unescaped, used
14787 among others in code, to avoid escape < and >.
14789 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14791 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14792 saved positions instrad of a stack. Furthermore, a position is
14793 stored using paragraph id/paragraph position.
14795 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14796 Remove LFUN_REF_BACK.
14798 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14800 * converter.C (dvipdfm_options): New method.
14802 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
14804 * vspace.C (isValidLength): Fix for empty input string.
14806 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14808 * LyXAction.C (init): change description of LFUN_FIGURE to
14811 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14813 * LaTeX.C: add using directive
14815 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14817 * MenuBackend.C (expand): Fix the sorting of the formats.
14819 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
14821 * lyx_main.C: tiny error message fix
14823 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14825 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14826 calling fl_initialize(). This fixes the problem with ',' as
14827 decimal separator in text files.
14829 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14831 * trans.C (process): Fix the keymap bug.
14833 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
14835 * LaTeX.C (scanAuxFiles): New method. Provides support for
14836 multiple bibliographies (when using the bibtopic/bibunits pacakges).
14837 (scanLogFile) Scan for "run BibTeX" messages.
14839 * buffer.C (makeLaTeXFile): Do not load the ae package when using
14840 OT1 font encoding. Also, load the aecompl package if the ae
14843 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14845 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14847 * texrow.C (increasePos): turn two error messages into debug
14850 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
14852 * LaTeX.C (scanAux): Handle the \@input macro.
14853 (runBibTeX): Use scanAux().
14855 * language.C (latex_options_): New field.
14857 * LaTeXFeatures.C (getMacros): Add language macros.
14859 * buffer.C (makeLaTeXFile): Small fix.
14861 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14863 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14865 * text2.C: add a using directive.
14867 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
14872 * lyxfunc.C: kill LyXBell.
14874 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
14876 * text.C (IsBoundary): Remove the error message
14878 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14880 * lyxrc.C (setDefaults): Correct initialization value for
14883 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
14885 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14888 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14889 and GotoNextNote().
14891 * src/LyXAction.C: Added reference-next.
14893 * text.C (InsertChar): Use contains instead of strchr.
14895 * lyx_cb.C (MenuInsertLabel): Enable default value code.
14897 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
14899 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14900 alignment commands (when needed).
14902 * text.C (InsertChar): Add ':' to number separator chars.