1 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3 * cursor.C (dispatch): avoid infinite loops
5 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
7 * rowpainter.C (paintSelection): fix x coordinates
9 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
11 * text.C (rowBreakPoint): fix breaking before displayed insets
13 2004-03-01 André Pönitz <poenitz@gmx.net>
15 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
17 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
29 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
35 * BufferView_pimpl.C: rename textwidth -> maxwidth,
36 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
38 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
40 * Bidi.[Ch] (computeTables): const correctness
41 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
42 fill_hfill, fill_label_hfill and x from Row
43 * lyxtext.h: prepareToPrint returns a RowMetrics
44 * rowPainter.C: adjust
45 * text.C (prepareToPrint): use width, not textWidth. adjust
46 (redoParagraphInternal, cursorX): adjust
47 * text2.C (getColumnNearX): adjust
48 (init): put a default value to the top LyXText::width
50 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
52 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
54 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
56 * lyxtext.h: add FontIterator class
58 * text.C (FontIterator, operator*, operator->, operator++): add
59 (rowBreakPoint, setRowWidth): adjust (fixing a
62 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
64 * BufferView_pimpl.C (workAreaDispatch): allow also
65 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
67 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
69 * text.C (rowBreakPoint): fix a bug showing with very large insets
71 2004-02-25 André Pönitz <poenitz@gmx.net>
74 * cursor.[Ch]: move some mathed specific code to mathed
76 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
78 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
79 use_tempdir in preferences
80 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
82 * lyx_main.C: ensure that tempdir is valid
83 * lyxlex.h: correct typo
84 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
85 * paragraph.[Ch] (isMultiLingual): make const
86 * cursor.[Ch] (openable): make const
88 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
90 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
92 2004-02-20 André Pönitz <poenitz@gmx.net>
94 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
96 * cursor.[Ch]: prepare for localized getStatus()
102 * text3.C: streamlines the LyXText cursor movement handlers a bit.
104 2004-02-20 André Pönitz <poenitz@gmx.net>
106 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
108 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
110 * text2.C (setCursorFromCoordinates): switch to absolute coords
113 * text3.C (dispatch): adjust
115 2004-02-16 André Pönitz <poenitz@gmx.net>
117 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
120 * cursor_slice.[Ch]: remove unneeded acessor function
122 * lyxtext.h: rename rtl() to isRTL()
130 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
132 * rowpainter.C (paintSelection): coord fix
134 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
136 * Spacing.C: compile fix
138 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
140 * cursor.C (dispatch): restore current_ before returning
142 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
144 * text2.C (cursorUp, cursorDown): fix coords
147 2004-02-12 André Pönitz <poenitz@gmx.net>
152 * text3.C: add LCursor & parameter to most cursor movement functions
153 remove usage of LyXText::cursorRow() and cursorPar()
155 * cursor.[Ch]: add textRow() needed members
158 * BufferView_pimpl.C:
161 * BufferView_pimpl.C: adjust
163 2004-02-11 André Pönitz <poenitz@gmx.net>
167 * BufferView_pimpl.C: shift undo/redo handling
169 * cursor.[Ch]: fix mathed crash
172 * lyxtext.h: move selectionAsText to LCursor
180 * rowpainter.C: fix excessive drawing
182 2004-02-06 André Pönitz <poenitz@gmx.net>
185 * BufferView_pimpl.[Ch]:
186 * text3.C: move some text specific LFUN handling
188 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
190 * text3.C (checkInsetHit): adjust coords
191 * text2.C (getColumnNearX): adjust coords
192 (edit): adjust coords
193 * text.C (getRowNearY): add two asserts
195 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
198 * format.C: add using std::distance to compile on gcc 2.95/stlport
200 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
202 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
204 2004-02-04 André Pönitz <poenitz@gmx.net>
206 * BufferView.[Ch] (insertInset):
207 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
212 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
214 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
215 on the default clause of the switch
216 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
217 wasn't catched by LCursor::dispatch
219 2004-02-03 André Pönitz <poenitz@gmx.net>
222 * cursor.[Ch]: some additional asserts
224 * undo.[Ch]: remove LyXText dependency in interface
228 * lyxtext.h (firstPar, lastPar): remove dead functions
233 * paragraph.[Ch]: adjust
235 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
237 * lyxfind.C (find): fix argument order in call to ::find
239 2004-02-02 André Pönitz <poenitz@gmx.net>
241 * cursor.[Ch]: remove direct access to anchor
243 * text.C: remove findText() hack
245 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
247 * iterators.[Ch] (lockPath): remove in favour of...
248 * BufferView.[Ch] (setCursor): this addition
249 * BufferView.C (putSelectionAt): adjust
250 * undo.C (performUndoOrRedo): adjust
251 * lyxfunc.C (dispatch): adjust
253 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
255 * iterators.C (lockPath): add a missing slice
256 * undo.C (performUndoOrRedo): remove redundant positioning code
258 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
260 * vc-backend.C (scanMaster): ";" -> ';'
262 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
264 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
267 * lyxtextclass.C (compare_name): rename to...
268 (LayoutNamesEqual): ...this
270 * lyxlex_pimpl.C (compare_tags): inherit from
271 std::binary_function, put back into anon namespace
273 * lyxfind.C (MatchString): inherig from std::binary_function
274 (findChange): use empty() istead of !size()
276 * format.C (FormatNamesEqual): new functor
283 * converter.C (compare_Converter): rename to...
284 (ConverterEqual): ...this, and fixup a bit.
285 (getConverter): use it, and make function const
286 (getNumber): use it, and make function const
290 * bufferlist.C: add using boost::bind
292 * MenuBackend.C (MenuNamesEqual): new functor
293 (hasMenu): use it, and make function const
294 (hasSubmenu): use nested bind to get rid of compare_memfun.
296 2004-01-30 André Pönitz <poenitz@gmx.net>
298 * BufferView_pimpl.C:
309 * text3.C: move some of the edit(x,y) handling to the insets
310 some coordinate changes.
312 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
314 * text.C: add using statements for std::advance and std::distance
316 * paragraph.C: add using statement for std::distance
318 * lyxfind.C: add using statement for std::advance
320 * cursor.C (region): remove std:: from swap
321 (openable): use nucleus in stead of operator->
323 * BufferView.C: add using statements for std::distance and std::swap
325 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
327 * iterators.C: Remove the pimple, move the needed structures to
328 the header file. Create accessor for the positions stack.
329 (asPosIterator): remove function
331 * PosIterator.C (PosIterator): move constructors to top of file
332 (PosIterator): reimplement the constructor taking a ParIterator in
334 (setFrom): new function
335 (operator!=): inline it
337 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
339 * lyxfind.C (replaceAll): use std::advance
341 * iterators.h: inherit from std::iterator.
343 * PosIterator.C (advance, distance): remove
344 * PosIterator.h: interit from std::iterator.
346 2004-01-26 André Pönitz <poenitz@gmx.net>
349 * BufferView_pimpl.[Ch]:
353 * bufferview_funcs.C:
364 * output_plaintext.C:
366 * paragraph_funcs.[Ch]:
367 * paragraph_pimpl.[Ch]:
373 * text3.C: more IU: dumps most of the rest of the mathcursor
374 implementation into cursor.[Ch]; "globalize" a bit of it.
376 2004-01-25 Angus Leeming <leeming@lyx.org>
378 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
380 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
382 * LaTeXFeatures.h: add nice_ and nice() const
383 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
385 2004-01-20 André Pönitz <poenitz@gmx.net>
388 * BufferView_pimpl.C:
390 * bufferview_funcs.C:
403 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
404 LCursor and mathcursor parts to LCursor and InsetBase.
406 2004-01-15 André Pönitz <poenitz@gmx.net>
408 * cursor_slice.[Ch]: add a few covienience functions
410 * funcrequest.[Ch]: remove BufferView * member
412 * BufferView_pimpl.C:
419 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
421 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
423 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
424 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
426 2004-01-13 André Pönitz <poenitz@gmx.net>
429 * lyxtext.h: hide cursor and selection anchor behind accessor function
432 * BufferView_pimpl.[Ch]:
434 * bufferview_funcs.C:
444 * cursor_slice.[Ch]: some integer type changes for inset unification
446 * lyxcursor.[hC]: remove, it's CursorSlice now.
449 * BufferView_pimpl.[Ch]:
450 * bufferview_funcs.C:
456 * textcursor.[Ch]: adjust
458 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
460 * text2.C (undoSpan): add and use
461 * text.C (breakParagraph): use undoSpan (fix bug 578)
464 2004-01-08 Angus Leeming <leeming@lyx.org>
466 * BufferView_pimpl.C (MenuInsertLyXFile):
467 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
468 * lyxfunc.C (menuNew, open, doImport):
469 FileFilterList change to the FileDialog open and save functions.
471 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
473 * ShareContainer.h: make isEqual and isUnique adaptable
475 * CutAndPaste.C: make resetOwnerAndChanges adaptable
477 2004-01-07 Angus Leeming <leeming@lyx.org>
480 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
482 * BufferView_pimpl.C (dispatch): act on these LFUNs.
484 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
485 functions replacing find, replace and replaceAll.
487 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
488 LFUN_WORDFIND(FORWARD|BACKWARD).
490 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
492 * text.C (breakParagraph): remove an outdated #warning
494 2004-01-07 André Pönitz <poenitz@gmx.net>
496 * lyxfind.C: somewhat clearer logic
498 * text.C: prevent crash in cursorX on unitialized row cache
500 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
502 * lyxcursor.[Ch] (operator>): add
503 * textcursor.C (selStart, selEnd): use std::min and std::max
505 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
507 * Chktex.C: include boost/format.hpp
509 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
511 * InsetList.C: replace functor MathcIt with adaptable functor
513 (insetIterator): modify accordingly
515 * BranchList.h: move the BranchNamesEqual functor here from...
516 * BranchList.C: ... to here
518 * BranchList.C: new BranchListEqual fuctor, use it. Remove
520 (add): replace a finding loop with std::find_if.
522 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
524 * output_docbook.C: moving LatexParam functionality into
527 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
529 * buffer.C: increment format to 229.
531 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
534 * lyx_sty.[Ch]: remove minipageindent_def
540 * text3.C: remove LFUN_INSET_MINIPAGE
542 2003-12-28 Angus Leeming <leeming@lyx.org>
544 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
546 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
548 * text2.C (setParagraph): fix off-by-one crash
550 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
552 * output_docbook.C: header stuff for AGU
554 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
556 * text2.C (redoCursor): remove
559 * BufferView_pimpl.C: remove calls to redoCursor and
560 setCursor(cursor.par(), cursor.pos()) all around
562 2003-12-15 Angus Leeming <leeming@lyx.org>
564 * buffer.C: up the format to 228.
566 2003-12-15 André Pönitz <poenitz@gmx.net>
568 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
573 * BufferView_pimpl.C:
582 2003-12-15 Angus Leeming <leeming@lyx.org>
584 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
585 than getFromGUIName to manipulate the color.
587 2003-12-14 Angus Leeming <leeming@lyx.org>
589 * BranchList.[Ch]: minimize the API.
590 (Branch::getBranch, getColor): now return a 'const &'.
591 (Branch::setSelected) now returns a bool set to true if the
592 selection status changes.
593 (BranchList::clear, size, getColor, setColor, setSelected,
594 allBranches, allSelected, separator): removed.
595 (BranchList::find): new functions, returning the Branch with
597 (BranchList::add, remove): return a bool indicating that
598 the operation was successful.
600 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
601 new InsetBranch::isBranchSlected member function.
603 * LColor.[Ch]: mimimize the API.
604 (fill): renamed as addColor and made private.
605 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
606 versions of these functions taking a string arg have been removed.
608 * bufferparams.C (readToken):
609 * lyxfunc.C (dispatch):
610 * lyxrc.C (read): changes due to the altered BranchList and
613 * factory.C (createInset, readInset): changes due to altered
616 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
619 * lyxfunc.C: remove insetminipage. "minipage-insert"
620 now produces a frameless minipage box inset.
622 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
624 * textcursor.[Ch] (selStart,selEnd): add new methods
625 remove selection::start, end, use LyXCursor::operator<
626 * lyxcursor.[Ch] (operator<): add
627 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
628 * BufferView.[Ch] (unsetXSel): add
629 * text2.C (clearSelection): use unsetXSel,adjust
632 * rowpainter.C: adjust
633 * bufferview_funcs.C (put_selection_at): adjust
635 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
637 * BufferView_pimpl.C: small coord. correction
639 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
641 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
642 dragging over the splash screen.
644 2003-12-11 Angus Leeming <leeming@lyx.org>
646 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
647 as it is now handled in LyXText::dispatch.
649 * text3.C (doInsertInset): remove a level of nesting.
651 2003-12-11 Angus Leeming <leeming@lyx.org>
653 * factory.C (createInset): changes due to the changed interface to
654 InsetCommandMailer::string2params.
656 2003-12-10 Angus Leeming <leeming@lyx.org>
658 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
659 'dialog-show-new-inset <inset name>'
661 2003-12-10 Angus Leeming <leeming@lyx.org>
663 * buffer.C: up the format to 227.
665 * factory.C: the box inset is now identified simply by 'Box'.
667 2003-12-10 Angus Leeming <leeming@lyx.org>
669 * buffer.C: up the format to 226.
671 * factory.C: the note inset is now identified simply by 'Note'.
673 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
675 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
676 when a pit is enough. Standarize a couple of loops.
678 2003-12-05 Angus Leeming <leeming@lyx.org>
680 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
681 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
682 data to the re-worked "log" dialog.
684 2003-12-03 André Pönitz <poenitz@gmx.net>
692 * text2.C: use Inset::getText instead of Inset::getParagraph
694 2003-12-03 André Pönitz <poenitz@gmx.net>
698 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
699 InsetText::read() as LyXText::read()
701 2003-12-02 Angus Leeming <leeming@lyx.org>
703 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
704 type. Add a comment in the implementation that the function uses
705 the stream's bad() function rather than fail() as the std::streams
708 2003-12-02 André Pönitz <poenitz@gmx.net>
710 * lyxlex.[Ch]: make interface more similar to std::stream
712 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
714 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
716 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
718 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
720 * vspace.[Ch]: remove VSpace::NONE
722 2003-12-01 André Pönitz <poenitz@gmx.net>
725 * lyxtext.h: move ParagraphList member to LyXText
726 rename LyXText::ownerParagraphs to LyXText::paragraph
729 * bufferview_funcs.C:
739 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
741 * undo.C: fix cursor positioning
743 2003-12-01 John Levon <levon@movementarian.org>
745 * BufferView_pimpl.C: fix a crash on exit with
748 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
750 * BranchList.C: fix setSelected() method.
752 2003-11-28 André Pönitz <poenitz@gmx.net>
754 * ParagraphParameters.[Ch]:
755 * ParameterStruct.h: remove space above/below from Paragraph to
758 * BufferView_pimpl.C:
770 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
772 * factory.C: Syntax change for CharStyles
774 2003-11-28 André Pönitz <poenitz@gmx.net>
779 * buffer.[Ch]: move LyXText member
781 2003-11-28 André Pönitz <poenitz@gmx.net>
783 * BufferView.[Ch]: make LyXText * text a private member
785 * BufferView_pimpl.C:
796 * output_plaintext.C: cleanup
798 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
801 * lyxtextclass.[Ch]: parametrize SGML document header
803 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
806 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
809 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
811 * text2.C (setFont): rework using PosIterator (no more recursive)
812 (setCharFont): no more needed
813 (setLayout): no more selection cursors fiddling (done by redoCursor)
814 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
815 destroy remaining ones)
817 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
819 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
821 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
824 * text3.C: adjust + re-allow multi par depth changes
825 * textcursor.C: simplify a bit
827 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
833 * src/output_docbook.C:
834 * src/output_latex.C:
839 * src/text2.C: Introducing a number of tags parametrizing various
840 XML formats that we may want to support
842 2003-11-25 André Pönitz <poenitz@gmx.net>
844 * InsetList.[Ch] (begein, end): inline as suggested by profiler
846 * lyxtext.h (leftMargin/rightMargin): simplify interface
853 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
855 * lyxfunc.C (dispatch): propogate the bibtex databases from the
856 master file to any child files. Fixes bug 546.
858 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
860 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
862 2003-11-24 André Pönitz <poenitz@gmx.net>
864 * rowpainter.C: simplification
866 * text2.C (updateCounters): remove call to redoParagraph on
867 changed labels as this is far too expensive.
869 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
871 * converter.C (convert): fix a crash: this function gets
872 called with buffer == 0 from importer code.
874 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
876 * text3.C (cursorPrevious): make sure that we do not compare
877 iterators form different containers.
880 * rowpainter.C (paintSelection): make sure that we do not compare
881 iterators from different containers.
883 * text3.C (dispatch): [PRIOR] make sure that we do not compare
884 iterators from different ParagraphList containers.
887 * text2.C (LyXText): change order of initialization slightly
888 (operator=): new function. copy all variables except cache_par_
889 (moveUp): make sure that we do not compare iterators from
890 different ParagraphList constainers.
893 * text.C (firstPar): new function
894 (lastPar): new function
895 (endPar): new function
897 * lyxtext.h: move things around and group public functions, public
898 variables, private functions, private variables
900 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
902 * factory.C: change call to InsetERT constructor to avoid
903 additional invocation of method status
904 * text2.C (toggleInset): remove redundant update() call
905 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
906 instead of a Bufferview pointer
908 2003-11-21 André Pönitz <poenitz@gmx.net>
910 * rowpainter.C: simplification
912 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
914 * text3.C (dispatch): make possible to extend a word/row selection
917 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
919 * lyxtext.h: x0_,y0_ -> xo_,yo_
920 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
921 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
922 * rowpainter.C (paintRows): paint full paragraphs
924 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
926 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
929 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
931 * lyxtext.h: add x0_, y0_
932 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
933 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
935 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
937 * text2.C (setCursorIntern): move the x_target update here *
938 * text3.C: change some bv() to true/false in calls to
939 cursorUp/Down/Right/Left
940 * cursor.C: use helper function.
942 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
944 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
945 * paragraph_funcs.[Ch]: correct comment
946 * rowpainter.C: do not paint selections away from bv->cursor()
947 Fix a long standing selection painting bug.
948 * text3.C: generalize mouse-selection code to LyXTexts other that
950 * textcursor.C: do not use y coords if we can use par offsets
952 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
954 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
955 cursor position after e.g. inset insert)
957 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
959 * lyxfind.C (replace): adjust to locking removal + some
962 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
964 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
967 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
970 * output_docbook.C: XML sanitation: new layout
971 parameters InnerTag and CommandDepth
973 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
975 * BufferView_pimpl.C:
977 * text3.C: Fix the insertion and modification of button-style
980 2003-11-13 André Pönitz <poenitz@gmx.net>
982 * InsetList.[Ch]: remove deleteLyXText
984 * paragraph.[Ch]: cache beginOfBody position
989 * text3.C: remove superfluous update() calls
993 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
995 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
996 * BufferView.C (fitLockedInsetCursor): remove
997 * cursor.[Ch] (getDim): add
998 * text.C (getRowNearY): add faster version
999 * text3.C: remove some update calls
1001 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1013 * text3.C: The Character Style /XML short element patch.
1015 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
1018 * factory.C: Small step to solving 'unable to insert some insets'
1021 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1023 * cursor.[Ch] (updatePos): new function for updating the y
1024 position of the tip inset
1025 * bufferview_funcs.C (put_selection_at):
1026 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1028 2003-11-11 André Pönitz <poenitz@gmx.net>
1030 * text.C: remove big comment on invalid Paragraph pointers as it is
1033 2003-11-11 André Pönitz <poenitz@gmx.net>
1035 * text_funcs.[Ch]: merge with ...
1043 * Makefile.am: remove text_funcs.[Ch]
1045 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1047 * cursor.C (getPos): return absolute cached y coord
1049 * BufferView_pimpl.C (fitCursor): new simplistic code
1050 (workAreaDispatch): add a fitCursor call
1052 2003-11-10 André Pönitz <poenitz@gmx.net>
1055 * BufferView_pimpl.[Ch]: merge update() and updateInset()
1057 2003-11-10 André Pönitz <poenitz@gmx.net>
1059 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1060 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1061 indicate that the cursor needs to leave an inset
1063 * lyxtext.h: remove inset locking
1065 * cursor.[Ch]: re-implement functionality provided by inset locking
1068 * BufferView_pimpl.[Ch]:
1070 * bufferview_funcs.[Ch]:
1082 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1084 * PosIterator.[Ch]: replace the stack with a vector, add inset
1086 * iterators.[C]: adjust
1088 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1090 * lyxfind.C (replaceAll): mark the buffer dirty if something was
1092 * paragraph_funcs.C (readParToken): put the correct id in the
1093 error item, not the id of the top paragraph
1095 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1097 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1098 * bufferview_funcs.C (put_selection_at): use the above
1100 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1102 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1104 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1106 * output_linuxdoc.h:
1107 * output_plaintext.h:
1109 * output_docbook.h: add #include statements
1111 2003-11-05 José Matos <jamatos@lyx.org>
1113 * output_docbook.[Ch]:
1114 * output_latex.[Ch]:
1115 * output_linuxdoc.[Ch]:
1116 * output_plaintext.[Ch]: New files for output formats.
1117 * output.[Ch]: New file for helper functions.
1120 * paragraph_funcs.[Ch]: output functions moved to new files.
1122 * outputparams.h: rename of latexrunparams.h
1130 * paragraph_funcs.[Ch]:
1131 * paragraph_pimpl.[Ch]:
1132 * tabular.[Ch]: rename ascii to plaintext
1133 and LatexRunParams to OutputParams.
1135 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1137 * iterators.[Ch] (text): require bv argument
1138 * undo.C (recordUndo):
1139 * lyxfunc.C (dispatch):
1140 * bufferview_funcs.C (put_selection_at): adjust
1142 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
1144 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1146 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1148 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1151 2003-11-04 André Pönitz <poenitz@gmx.net>
1153 * cursor.[Ch]: restructure
1156 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1158 * iterators.[Ch] (asCursor): remove
1160 * lfuns.h: remove LFUN_INSET_EDIT
1166 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1168 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1170 * lyxfind.[Ch]: complete overhaul
1171 * BufferView_pimpl.C:
1173 * paragraph.[Ch] (insert): add
1175 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1179 * text.C: remove dead spellcheck code
1181 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1183 * dispatchresult.h: add a val setter
1185 * cursor.C (dispatch): use a tempvar for data_[i]
1187 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1189 * PosIterator.[Ch]: compile fix
1191 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1193 * text.C (cursorPar): deactivate the cursor cache
1195 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1197 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1199 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1201 * text3.C (dispatch): adjust for new DisptchResult semantics.
1203 * lyxfunc.C (dispatch): handle update when return from
1204 Cursor::dispatch, adjust for new DispatchResult semantics.
1206 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1207 DispatchResult(true) mean to not update. Add class functions for
1208 setting dispatched and update, as well as reading.
1210 * cursor.C (dispatch): don't handle update here
1212 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1214 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1215 * trans_mgr.C: adjust
1217 * paragraph_funcs.C (readParToken): exception safety
1219 * lyxvc.h: store the vcs pointer in a scoped_ptr
1222 * lyxsocket.C (serverCallback): exception safety
1224 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1226 * ispell.C (clone): make it return a auto_ptr
1228 * factory.C (createInset): exception safety
1229 (readInset): exception safety
1231 * bufferlist.C (newBuffer): exception safety
1233 * Thesaurus.C (Thesaurus): use initialization for aik_
1235 * MenuBackend.C (expandToc): exception safety.
1237 2003-11-03 André Pönitz <poenitz@gmx.net>
1241 * bufferview_funcs.C: remove getInsetFromId()
1244 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1250 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1252 * PosIterator.C (distance, advance): new
1253 * bufferview_funcs.[Ch] (put_selection_at): new
1254 * iterators.[Ch] (lockPath): new
1256 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
1258 * iterators.[Ch] (asPosIterator): added
1259 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1260 * PosIterator.[Ch]: added
1262 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1266 * cursor.C (dispatch):
1267 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1269 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1270 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1271 contructor, add a class function dispatched. Remove operator>=
1273 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1275 * debug.C: only use the default constructor for debugstream
1278 * main.C (main): include debug.h and setup the lyxerr streambuf
1281 2003-10-31 José Matos <jamatos@lyx.org>
1283 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1285 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1286 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1287 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1288 * paragraph_pimpl.C (simpleTeXSpecialC):
1289 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1290 add LatexRunParams argument.
1292 * exporter.C (Export): change call accordingly.
1294 * latexrunparams.h: add new member to take care of the other backends.
1295 2003-10-30 José Matos <jamatos@lyx.org>
1297 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1298 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1299 factorise code for paragraph output.
1301 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1304 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1306 * text3.C (dispatch):
1307 * lyxfunc.C (dispatch):
1308 * cursor.C (dispatch):
1309 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1311 * dispatchresult.h: make the dispatch_result_t ctor explicit
1313 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1316 * buffer.C: small refactoring of docbook stuff
1318 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1320 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1323 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1325 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1326 operator dispatch_result_t, and operators for == != and >=
1328 * cursor.C (dispatch): adjust for operator dispatch_result_t
1329 removal. comment out call to update
1331 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1333 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1341 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1344 * dispatchresult.h: new file, DispatchResult broken out of
1347 * Makefile.am (lyx_SOURCES): add dispatchresult.h
1349 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1351 * text.C (rowBreakPoint): put a hack inside #if 0
1353 2003-10-28 André Pönitz <poenitz@gmx.net>
1357 * paragraph_funcs.C:
1360 * text2.C: general cleanup (lots of small stuff)
1362 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1364 * text2.C (cursorEnd): simple fix to the "end key goes to one
1365 before the end on last row" bug
1367 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1369 * text.C (backspace): fix the "zombie characters"
1371 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1373 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1375 2003-10-27 André Pönitz <poenitz@gmx.net>
1377 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1379 * factory.C: handle new InsetPagebreak, InsetLine
1381 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1382 and move handling into new InsetPagebreak, InsetLine
1384 * BufferView_pimpl.C:
1386 * ParagraphParameters.C:
1387 * ParameterStruct.h:
1392 * paragraph_funcs.C:
1393 * paragraph_pimpl.C:
1399 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1402 * lyxrow_funcs.[Ch]:
1408 * text3.C: remove lastPos uses in favour of Row::endpos
1410 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1412 * undo.C (performUndoOrRedo): fix two crashes by setting a
1413 cursor by hand and reordering some calls. Use bv->lockInset instead
1414 of inset->edit because the latter loses cursor information
1416 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
1418 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1420 (rowBreakPoint): fix width. change point to point + 1.
1421 Add a missing check.
1423 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
1426 * lyxfunc.C: fix (at least partly) the problems
1427 with the Nav menu and headers inside branch insets
1430 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
1432 * paragraph.C (getChar): add strong asserts
1434 * lyxrow_funcs.C (lastPos): remove hideous hack
1436 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1437 (fill): adjust to that (avoid an infinite loop)
1439 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1441 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1443 2003-10-23 André Pönitz <poenitz@gmx.net>
1445 * RowList_fwd.h: change list<> to vector<> to gain speed
1446 after suggestion from Alfredo
1448 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1450 * lyxtext.h: move the bidi stuff from here...
1453 * Bidi.[Ch]: ... to here
1455 2003-10-23 André Pönitz <poenitz@gmx.net>
1458 * text.C (isLastRow, isFirstRow): new functions
1460 * paragraph.h: new width cache member
1462 * rowpainter.C: replace RowList::iterator with Row & where possible
1464 * lyxfunc.C: replace several view()->text with a single call
1466 * toc.C: fix 'unused' warning
1468 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1470 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1471 when woring with stream::pos_type
1472 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1474 2003-10-22 André Pönitz <poenitz@gmx.net>
1477 * text.C: use Row & instead of RowList::iterator
1479 * lyxrow.h: rename end() to endpos()
1485 2003-10-22 Angus Leeming <leeming@lyx.org>
1487 * buffer.[Ch] (fully_loaded): new member function, returning true
1488 only when the file has been loaded fully.
1489 Used to prevent the premature generation of previews and by the
1490 citation inset to prevent computation of the natbib-style label.
1492 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1493 templates are all set up.
1495 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1497 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
1499 * text.C: fixed an "oops" in the "is a bit silly"
1502 2003-10-21 André Pönitz <poenitz@gmx.net>
1504 * FuncStatus.[Ch]: small stuff, whitespace
1506 * lyxfont.[Ch]: operator<<() for debug reasons
1510 * lyxtext.h: whitespace, spelling
1512 * paragraph.C: naming of variables
1515 * text2.C: small stuff
1518 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1520 * text.C: (1) finish off the inset display() work;
1521 (2) fix the "is a bit silly" bug (accessing char
1524 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1526 * text.C: re-introduce display() for insets, fixing the
1527 various bugs (stretch of line above, math inset
1530 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1532 * text.C (rightMargin): remove spurious semicolon
1534 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1537 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1539 * text3.C: fix one crash due to wrong cursor def
1541 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1543 * vc-backend.C (scanMaster): make the regex static
1545 * LaTeX.C (scanAuxFile): make the regexs static
1547 * text3.C (doInsertInset, dispatch, dispatch):
1548 * text2.C (cursorUp, cursorDown):
1549 * text.C (selectNextWordToSpellcheck):
1550 * BufferView_pimpl.C (dispatch):
1551 * lyxfunc.C (dispatch): localDispatch -> dispatch
1553 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1555 * lyxsocket.C: include <cerrno>
1557 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1559 * lyxfunc.C (dispatch): remove textcache stuff
1561 * bufferlist.C (release): remove textcache stuff
1564 * TextCache.C: delete file
1565 * TextCache.h: delete file
1567 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1569 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1570 delete of the bv_->text.
1571 (resizeCurrentBuffer): remove texcache stuff
1572 (workAreaResize): ditto
1574 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1576 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1579 2003-10-16 André Pönitz <poenitz@gmx.net>
1586 * text3.C: speed up by storing y positions per paragraph plus per-row
1587 offset instead of having a 'full' y position in the row.
1589 2003-10-15 André Pönitz <poenitz@gmx.net>
1593 * undo.[Ch]: make undo aware of inner insets
1595 2003-10-14 Angus Leeming <leeming@lyx.org>
1597 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1598 static member functions LyX::ref() and LyX::cref.
1599 (lastfiles): new accessor functions for the new lastfiles_ member var.
1600 (addLyXView, views_): add a new LyXView to the list of views_.
1601 (updateInset): loop over all LyXViews to call their own updateInset
1602 member function, returning a pointer to the Buffer owning the inset.
1604 * BufferView_pimpl.C (loadLyXFile):
1605 * MenuBackend.C (expandLastfiles):
1606 * bufferlist.C (MenuWrite, QuitLyX):
1607 lastfiles is no longer a global variable.
1608 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1610 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1611 static function. Access through LyX::cref().emergencyCleanup().
1613 2003-10-14 André Pönitz <poenitz@gmx.net>
1615 * iterators.[Ch]: new direct access to innermost LyXText and Inset
1617 * undo.[Ch]: restoring part of 'undo in insets'
1620 * undo_funcs.[Ch]: merge with undo.[Ch]
1622 * tabular.C: small cleansing stuff
1624 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
1626 * paragraph_funcs.C (readParToken): report unknown insets as error
1627 boxes. Use the outer paragraph as location (also for unknown
1630 * factory.C (readInset): do not abort on reading an unknown inset.
1631 Eat it and return 0.
1633 2003-10-13 Angus Leeming <leeming@lyx.org>
1635 * lyx_main.C (LyX): remove call to setDisplayTranslator().
1637 * lyxrc.C: displayTranslator is now a function,
1638 declared in GraphicsTypes.h.
1640 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1642 * format.C: new placeholder $$a to pass the socket address.
1644 * bufferlist.[Ch]: new function getBufferFromTmp.
1646 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1647 files in the temporary dir.
1649 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1651 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1653 * Makefile.am: add lyxsocket.[Ch].
1655 * lyx_main.C (error_handler): handle SIGPIPE.
1657 2003-10-13 André Pönitz <poenitz@gmx.net>
1659 * BufferView_pimpl.C:
1664 * undo_funcs.[Ch]: use paroffset_type instead of
1665 ParagraphList::iterators to prevent multiple conversion
1666 (and get a more robust interface)
1668 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1670 * lyxfunc.C (dispatch): RESULT -> dispatch_result
1672 * text3.C (dispatch): ditto
1674 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1676 * LaTeX.C (handleFoundFile): move the static to smaller scope,
1677 move the onlyfile, use onlyfile instead of foundfile in a couple
1680 * DepTable.C (update): flush the error stream a bit more
1682 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1684 * lyxserver.C (callback): adjust
1686 * lyxfunc.C (getStatus): add a missing brace in commented code
1687 (ensureBufferClean): reindent
1688 (dispatch): delete version taking a string
1690 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1692 * LaTeX.C (deplog): move found file handlig from here...
1693 (handleFoundFile): .. to new function here.
1694 (deplog): make sure to discover several files mentioned on the
1697 2003-10-10 André Pönitz <poenitz@gmx.net>
1704 * text3.C: fix some of the tabular crashes
1706 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1708 * MenuBackend.C (binding): put debug message into Debug::KBMAP
1710 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1712 2003-10-09 André Pönitz <poenitz@gmx.net>
1714 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1717 * BufferView_pimpl.C:
1718 * bufferview_funcs.C:
1729 * undo_funcs.C: adjust
1731 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1733 * text2.C (incrementItemDepth): new function, use a backtracking
1734 algorithm to discover the correct item depth.
1735 (resetEnumCounterIfNeeded): new function, use a backtracking
1736 algorithm to discover if counter reset is needed.
1737 (setCounter): use them. Simplify a bit. Add different labels for
1738 different item depths for itemize.
1740 * paragraph.C (Paragraph): remove initialization of enumdepth
1743 * paragraph.h: get rid of enumdepth, and use itemdepth both for
1744 enumerate and itemize. Change the type of itemdepth to signed char.
1746 2003-10-08 André Pönitz <poenitz@gmx.net>
1748 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1753 * tabular.[Ch]: fix crash after 'row-insert'
1755 2003-10-08 Angus Leeming <leeming@lyx.org>
1757 Fix doxygen warnings.
1759 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1760 Remove CutAndPaste:: prefix from header file declaration.
1762 * LColor.h (fill): remove LColor:: prefix from declaration.
1764 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1765 use lyx::depth_type rather than Paragraph::depth_type so that
1766 header file and .C file match.
1768 * converter.h (intToFormat): remove Converters:: prefix from declaration.
1770 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1771 * aspell.C: \file aspell_local.C -> \file aspell.C
1772 * gettext.C: \file gettext.C -> \file src/gettext.C
1773 * gettext.h: \file gettext.h -> \file src/gettext.h
1774 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1775 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1776 * text.C: \file text.C -> \file src/text.C
1778 * toc.C: move comment so that doxygen is not confused.
1780 2003-10-07 Angus Leeming <leeming@lyx.org>
1782 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1784 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1787 * aspell_local.h: add forgotten std::string's.
1789 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1796 * text3.C: The Box patch. Fancybox support, minipage, parbox
1798 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1804 * ParagraphParameters.h:
1814 * lyxtextclasslist.h:
1817 * paragraph_pimpl.C:
1818 * textcursor.h: add <string> and other small fixes to make Lars'
1819 std::string patch compile with STLport.
1821 2003-10-06 Angus Leeming <leeming@lyx.org>
1823 * LColor.h: Add missing #include <string>.
1825 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1827 * All most all file in all subdirs: Make <string> be the prefered
1828 way of getting to std::string, add using declarations.
1830 2003-10-06 André Pönitz <poenitz@gmx.net>
1832 * metricsinfo.C: initialize LyXFont before changing attribute.
1833 (fixes the 'math in \emph is upright' bug)
1835 2003-10-06 André Pönitz <poenitz@gmx.net>
1837 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1839 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
1842 * paragraph_pimpl.C: Small fixes to build using STLport
1844 2003-10-02 André Pönitz <poenitz@gmx.net>
1847 * text3.C: move handling of LFUN_DEPTH *; fix #1360
1849 2003-10-01 André Pönitz <poenitz@gmx.net>
1851 * factory.C: assert early
1853 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1855 * lyx_main.C: remove the global debug object
1857 * debug.h: adjust for new debugstream
1859 * debug.C: adjust for new debugstream and keep the global debug
1862 2003-09-22 Angus Leeming <leeming@lyx.org>
1864 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1865 of g++ which otherwise complain that the scoped_ptr destructor can't delete
1866 an incomplete class LyXFont.
1868 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1870 * factory.C: bug fix in branches
1872 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1874 * lyxfunc.C (processKeySym): adjust
1876 (dispatch): change arg name from ev to func, adjust
1877 (sendDispatchMessage): ditto
1879 * lyx_main.C (defaultKeyBindings): adjust keybindings
1880 (deadKeyBindings): ditto
1882 * kbsequence.C (addkey): return a FuncRequest
1884 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1886 * kbmap.C (bind): take a FuncRequest as arg, adjust
1889 (defkey): change to take a FuncRequest as arg, adjust
1890 (findbinding): take a FuncRequest as arg, adjust.
1892 * funcrequest.h (operator=): added
1894 * funcrequest.C (FuncRequest): default kb_action changed from
1895 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1897 * buffer.C (dispatch): simplify
1898 (dispatch): adjust to take a FuncRequest as arg, adjust
1900 * boost.C (assertion_failed): change assertion message slightly
1902 * ToolbarBackend.C (read): simplify
1904 * MenuBackend.C (binding): adjust call to findbinding, add a
1905 message if no binding is found.
1907 (expandToc): correct by adding a empty FuncRequest
1909 * LyXAction.C: include <boost/assert.hpp>
1910 (isPseudoAction): delete function
1911 (LookupFunc): change name to...
1912 (lookupFunc): this. change return type to FuncRequest.
1913 (getActionName): take kb_action as arg, simplify
1914 (funcHasFlag): add an assert, simplify.
1916 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1918 * toc.C (action): return a FuncRequest, simplify
1920 * lyxfunc.C (processKeySym): adjust
1921 (getStatus): delete version that takes an int.
1923 (dispatch): delete version that takes action as int
1925 (sendDispatchMessage): simplify and adjust
1927 * funcrequest.C (getArg): take unsigned int as arg
1929 * ToolbarBackend.C (read): adjust
1930 (add): delete version that takes func as a string.
1931 (getIton): take a FuncRequest as arg
1933 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1936 * MenuBackend.C (MenuItem): add a new construct that only takes a
1937 Kind, simplify the constructor use for submenus.
1939 (expandLastfiles): adjust
1940 (expandDocuments): adjust
1941 (expandFormats): adjust
1942 (expandFloatListInsert): adjust
1943 (expandFloatInsert): adjust
1944 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1946 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1947 Remove class variables lyx_pseudo_map and lyx_arg_map
1949 * LyXAction.C (searchActionArg): delete function
1950 (getPseudoAction): delete function
1951 (retrieveActionArg): delete function
1952 (LookupFunc): make it return kb_action, simplify.
1953 (getActionName): simplify
1955 * factory.C (createInset): fix new bug
1957 2003-09-19 Angus Leeming <leeming@lyx.org>
1959 * CutAndPaste.C (pasteSelection): remove fudge used to set the
1960 masterFilename_ parameter in the include inset.
1962 * factory.C (createInset): changes due to the changes to InsetInclude.
1964 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1966 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1968 2003-09-18 Angus Leeming <leeming@lyx.org>
1971 * BufferView.C: pass the buffer when calling Inset::getLabelList,
1972 Inset::fillWithBibKeys.
1973 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1975 2003-09-18 Angus Leeming <leeming@lyx.org>
1977 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1979 (ctor): pass and store a 'Buffer const &'
1980 (buffer): new member function.
1982 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1983 '*this' to the LaTeXFeatures ctor.
1985 2003-09-18 Angus Leeming <leeming@lyx.org>
1991 * text.C: rename EnumLColor as LColor_color.
1993 2003-09-18 Angus Leeming <leeming@lyx.org>
1995 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1996 remove #include "insets/insetbase.h" from cursor.h.
1998 2003-09-18 Angus Leeming <leeming@lyx.org>
2000 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2001 InsetOld_code to remove #include "inset.h".
2003 * iterators.C: add #include "insets/inset.h"
2005 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
2007 * BufferView.C: remove more locking stuff that apparently doesn't
2008 do anything sensible.
2010 2003-09-16 André Pönitz <poenitz@gmx.net>
2013 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2016 2003-09-16 Angus Leeming <leeming@lyx.org>
2018 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2020 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2023 * paragraph.h: remove #include "lyxfont.h". Forward declare
2026 2003-09-16 Angus Leeming <leeming@lyx.org>
2028 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2029 of support/textutils.h.
2030 (isWord): move the contents of support/textutils.h's IsWordChar here.
2036 * text2.C: add #include "paragraph.h".
2039 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2041 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2047 * LaTeX.C: use namespace alias for lyx::support::os
2049 2003-09-16 Angus Leeming <leeming@lyx.org>
2052 * bufferview_funcs.C:
2055 * paragraph_pimpl.C:
2057 * text.C: add #include "LColor.h".
2059 2003-09-16 Angus Leeming <leeming@lyx.org>
2061 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2062 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2064 Store the FontBits::color variable as an int rather than as an
2065 LColor::colorso that we can move LColor.h out of the lyxfont.h header
2068 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2069 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2070 string calls together.
2072 * lyxrc.C: add #include "LColor.h".
2074 2003-09-15 Angus Leeming <leeming@lyx.org>
2076 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2079 2003-09-15 Angus Leeming <leeming@lyx.org>
2081 * LColor.h: add an EnumLColor wrapper for LColor::color.
2083 * lyxfont.[Ch] (color, setColor, realColor):
2084 * lyxtext.h, text.C (backgroundColor):
2085 pass EnumLColor args to/from the functions, rather than LColor::color
2089 * lyxtext.h: forward declare EnumLColor.
2091 * lyx_main.C: add #include "LColor.h".
2093 2003-09-15 Angus Leeming <leeming@lyx.org>
2095 * .cvsignore: add lyx-gtk.
2097 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2102 * ParagraphParameters.C
2106 * bufferview_funcs.C
2116 * vc-backend.C: remove usage of STRCONV
2118 2003-09-15 Angus Leeming <leeming@lyx.org>
2120 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2121 explicitly define the color passed to the painter.
2123 2003-09-15 Angus Leeming <leeming@lyx.org>
2125 * bufferparams.C (BufferParams): reorder member initializers to avoid
2128 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
2130 * CutAndPaste.C (pasteSelection): remove an outdated #warning
2131 * text.C (updateRowPositions): remove an unusual nop
2133 2003-09-12 André Pönitz <poenitz@gmx.net>
2135 * BufferView_pimpl.C:
2144 * Counters.[Ch]: finish the 'automatic counters' job
2146 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2148 * aspell.C: include <boost/assert.cpp> (compile fix)
2150 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2152 * boost.C (assertion_failed): use lyx::support::abort instead of
2155 2003-09-10 Angus Leeming <leeming@lyx.org>
2157 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2158 with their _fwd progeny.
2160 2003-09-09 Angus Leeming <leeming@lyx.org>
2162 134 files throughtout the source tree: replace 'using namespace abc;'
2163 directives with the appropriate 'using abc::xyz;' declarations.
2165 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2167 * boost.C (emergencyCleanup): moved here from LAssert.c
2168 (assertion_failed): new function, called by BOOST_ASSERT
2170 * several files: change Assert to BOOST_ASSERT
2172 2003-09-09 Angus Leeming <leeming@lyx.org>
2174 * buffer.[Ch]: Add an Impl class and move Buffer's member
2175 variables into it. As a result move several header files out of
2178 Add header files to lots of .C files all over the tree as a result.
2180 2003-09-09 Angus Leeming <leeming@lyx.org>
2182 * buffer.[Ch]: make Buffer's member variables private. Add
2185 Lots of changes all over the tree as a result.
2187 2003-09-08 Angus Leeming <leeming@lyx.org>
2189 * graph.C: #include <config.h>.
2191 2003-09-08 Angus Leeming <leeming@lyx.org>
2195 * BufferView_pimpl.C:
2224 * toc.C: remove redundant using directives.
2226 2003-09-07 Angus Leeming <leeming@lyx.org>
2228 * LaTeXFeatures.h: remove #include "support/types.h".
2229 * ToolbarBackend.h: remove #include <algorithm>.
2230 * changes.h: remove #include <ctime>.
2231 * debug.h: remove #include <iosfwd>.
2232 * graph.h: remove #include "support/std_string.h".
2233 * lyx_main.h: remove #include <csignal>.
2234 * lyxlex_pimpl.h: remove #include <fstream>.
2235 * sgml.h: remove #include <algorithm>, <utility>.
2236 * toc.h: remove #include "support/std_ostream.h".
2237 Add #include <iosfwd>.
2239 2003-09-07 Angus Leeming <leeming@lyx.org>
2241 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2243 * converter.h: forward declare LatexRunParams.
2244 * encoding.h: remove #include "lyxrc.h".
2245 * lyxtext.h: remove #include "LColor.h".
2246 * lyxtextclass.h: remove #include "support/types.h".
2247 * trans.h: remove #include "tex-accent.h".
2248 * trans_mgr.h: remove #include "tex-accent.h".
2249 * insets/inset.h: remove #include "support/types.h", <vector>.
2250 * insets/insetcollapsable.h: remove #include "LColor.h".
2251 * insets/insetinclude.h: remove #include "dimension.h".
2252 * insets/insetlatexaccent.h: remove #include "dimension.h".
2253 * insets/insetoptarg.h:: remove #include "insettext.h".
2254 * insets/insettext.h: remove #include "dimension.h",
2255 <boost/shared_ptr.hpp>
2257 * insets/renderers.h: add #include "dimension.h".
2258 * insets/updatableinset.h: add #include "support/types.h".
2260 * many .C files: Associated changes.
2262 2003-09-06 Angus Leeming <leeming@lyx.org>
2264 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2265 one, inside testInvariant.
2267 * PrinterParams.C: new file.
2268 * PrinterParams.[Ch]: move the function bodies out of line.
2270 2003-09-06 Angus Leeming <leeming@lyx.org>
2272 * ParagraphParameters.h: forward declare ParameterStruct rather than
2273 including its header file.
2274 (depth): moved out-of-line.
2276 2003-09-06 Angus Leeming <leeming@lyx.org>
2278 * BufferView_pimpl.h:
2281 * lyxfunc.h: forward declare LyXKeySym rather than
2282 #include "frontends/LyXKeySym.h".
2284 * BufferView_pimpl.C:
2287 * lyxfunc.C: associated changes.
2289 2003-09-06 Angus Leeming <leeming@lyx.org>
2291 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2292 As a result, can remove the #include "insets/inset.h" from BufferView.h
2294 2003-09-06 Angus Leeming <leeming@lyx.org>
2296 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2297 As a result, can remove the #include "insets/inset.h" from BufferView.h
2299 2003-09-06 Angus Leeming <leeming@lyx.org>
2305 * bufferview_funcs.C:
2306 * BufferView_pimpl.C:
2311 * ParagraphParameters.C:
2316 * frontends/controllers/ControlDocument.C:
2317 * insets/insetcaption.C: rearrange the #includes into some sort of
2320 * buffer.h: remove #includes ErrorList.h, undo.h
2322 2003-09-06 Angus Leeming <leeming@lyx.org>
2324 * support/types.h: add a 'depth_type' typedef, used to store the
2325 nesting depth of a paragraph.
2328 * ParameterStruct.h: use this lyx::depth_type typedef rather than
2329 defining explicitly.
2332 * paragraph_funcs.h:
2333 * ParagraphParameters.h:
2334 * sgml.h: use lyx::depth_type rather than Paragraph or
2335 ParameterStruct's depth_type.
2338 * paragraph_funcs.h: no need to #include paragraph.h anymore.
2341 * BufferView_pimpl.C:
2343 * ParagraphParameters.C:
2346 * bufferview_funcs.C:
2353 * frontends/LyXView.C:
2354 * frontends/controllers/ControlDocument.C:
2355 * frontends/controllers/ControlErrorList.C:
2356 * insets/insetbibitem.C:
2357 * insets/insetbranch.C:
2358 * insets/insetcaption.C:
2359 * insets/insetcollapsable.C:
2360 * insets/insetenv.C:
2361 * insets/insetert.C:
2362 * insets/insetfloat.C:
2363 * insets/insetfoot.C:
2364 * insets/insetfootlike.C:
2365 * insets/insetnewline.C:
2366 * insets/insetquotes.C:
2367 * insets/insettabular.C:
2368 * insets/insettext.C:
2369 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2371 * frontends/controllers/ControlChanges.C: #include "changes.h".
2373 2003-09-06 Angus Leeming <leeming@lyx.org>
2375 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2376 than #including paragraph.h.
2379 * RowList.h: deleted. Superfluous.
2389 * insets/insettext.h: use ParagraphList_fwd.h rather than
2392 * paragraph.h: don't forward declare ParagraphList.
2395 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2396 rather than ParagraphList.h. paragraph.h is still needed for the
2397 Paragraph::depth_type parameters.
2399 * textcursor.h: enable it to compile stand-alone in light of the
2402 * bufferview_funcs.C:
2414 * frontends/controllers/ControlParagraph.C:
2415 * frontends/controllers/ControlTabular.C:
2416 * insets/insetmarginal.C:
2417 * insets/insetminipage.C:
2418 * insets/insetnote.C:
2419 * insets/insetoptarg.C: add header files needed to compile again.
2421 2003-09-06 Angus Leeming <leeming@lyx.org>
2423 * RowList_fwd.h: new file, forward-declaring Row rather than
2424 #including lyxrow.h.
2429 * insets/insettext.h: use it instead of RowList.h
2431 * bufferview_funcs.C:
2438 * text3.C: #include "RowList.h".
2440 2003-09-05 Angus Leeming <leeming@lyx.org>
2442 * factory.C (createInset):
2443 * vspace.C (c-tor): replace sscanf call with an istringstream.
2444 * ispell.C: re-add missing HP/UX headers.
2445 * lyxserver.C: re-add missing os2 headers.
2447 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
2456 * text3.C: re-add missing system headers, needed for 2.95.2.
2458 2003-09-05 Angus Leeming <leeming@lyx.org>
2460 Changes most place everywhere due to the removal of using directives
2461 from support/std_sstream.h.
2463 2003-09-05 Angus Leeming <leeming@lyx.org>
2465 Replace LString.h with support/std_string.h,
2466 Lsstream.h with support/std_sstream.h,
2467 support/LIstream.h with support/std_istream.h,
2468 support/LOstream.h with support/std_ostream.h.
2470 Changes resulting throughout the tree.
2472 2003-09-05 Angus Leeming <leeming@lyx.org>
2474 * sgml.h: ensure that the header file can be compiled stand-alone.
2475 * *.C: strip out redundant #includes. (320 in total.)
2477 2003-09-04 Angus Leeming <leeming@lyx.org>
2479 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2480 here (from getPackages).
2482 * debug.[Ch]: add a new EXTERNAL tag.
2484 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2486 * text2.C (cursorEnd): simplify
2488 (getColumnNearX): adjust
2490 * text.C (computeBidiTables): adjust
2493 * rowpainter.C (paintChars): adjust
2494 (paintSelection): adjust
2495 (paintChangeBar): adjust
2498 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2500 (numberOfSeparators): adjust
2502 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2508 * text3.C: Restricts the mouse click functionality
2509 of insets like bibtex, include, toc and floatlist to the visible
2510 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2511 up the dialogs. Cursor has to be in front of the inset (i.e.
2512 start of row) for this to function.
2514 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2516 * bufferview_funcs.C (currentState): output row information
2518 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2520 * bufferview_funcs.C (currentState): output paragraph position
2522 2003-09-04 Angus Leeming <leeming@lyx.org>
2524 * FloatList.h: move out #include "Floating.h".
2525 * LaTeX.h: move out #include "DepTable.h".
2526 * LyXAction.h: move out #include "funcrequest.h".
2527 * buffer.h: move out #include "author.h", "iterators.h".
2528 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2529 * lyx_main.h: move out #include "errorlist.h".
2530 * lyxfunc.h: move out #include "FuncStatus.h".
2531 * lyxtext: move out #include "lyxcursor.h".
2532 * paragraph_pimpl.h: move out #include "counters.h".
2534 2003-09-03 Angus Leeming <leeming@lyx.org>
2536 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2537 preamble_snippets list, enabling us to add snippets to the preamble
2538 only if the snippet was not there already.
2540 2003-09-04 Angus Leeming <leeming@lyx.org>
2542 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2544 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2546 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2549 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2551 * BranchList.C: point fix, earlier forgotten
2553 2003-09-02 Angus Leeming <leeming@lyx.org>
2555 * box.C (contains): renamed from 'contained' after a fantastic
2558 2003-09-02 John Levon <levon@movementarian.org>
2564 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2566 2003-09-02 John Levon <levon@movementarian.org>
2568 * text2.C: simplification of cursorEnd(), including partial
2571 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2573 * buffer.C (readFile): add a space
2575 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
2577 * BufferView_pimpl.C (update): remove bogus fitCursor() call
2579 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2581 * buffer.C (readFile): new function, take a filename and a
2582 ParagraphList::iterator
2584 (readFile): adjust, make it private. don't use setStream, make
2585 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2586 always contain the filename.
2588 * BufferView.C (insertLyXFile): simplify and make it work for
2591 2003-08-30 John Levon <levon@movementarian.org>
2593 * Makefile.am: fix dist (from Kayvan)
2595 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2597 * most files: change to use const Buffer refs
2599 2003-08-27 André Pönitz <poenitz@gmx.net>
2601 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2602 on top of ownerPar().
2604 2003-08-27 John Levon <levon@movementarian.org>
2606 * funcrequest.C: properly initialise POD members
2608 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2610 * lyxtext.h (top_y): move top_y from here
2615 * BufferView_pimpl.[Ch]: to here
2616 * frontends/screen.C:
2617 * insets/insettabular.C:
2618 * insets/insettext.C: adjust
2619 * rowpainter.[Ch] (paintRows): remove LyXText & argument
2621 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2624 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2626 2003-08-26 André Pönitz <poenitz@gmx.net>
2628 * paragraph_func.[Ch] (outerPar): new function
2631 * paragraph_funcs.C:
2632 * paragraph_funcs.h:
2633 * paragraph_pimpl.C:
2634 * text2.C: remove Inset::par_owner
2636 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2641 * text2.C: eliminates the needFullRow/display() stuff
2642 altogether, putting the logic in metrics/draw in the insets.
2644 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
2646 * text2.C (redoParagraphInternal, redoParagraphs):
2647 * text.C (redoParagraph): add a call to updateRowPositions at the
2648 end of each 'metrics-like' call. Remove all others.
2649 (getRow): remove the 'y-computing' version.
2650 (getRowNearY): do not compute nor return the real y. Solve the
2651 'y < 0' problem and simplify.
2653 2003-08-22 Angus Leeming <leeming@lyx.org>
2655 * *.[Ch]: clean-up of licence and author blurbs.
2656 Also move config.h out of a few .h files and into a few .C files.
2658 2003-08-22 André Pönitz <poenitz@gmx.net>
2660 * lyxrow.[Ch]: add x_ and *fill_ members
2665 * text2.C: adjust/remove prepareToPrint() calls
2667 2003-08-22 André Pönitz <poenitz@gmx.net>
2669 * lyxrow.[Ch]: add end_ member
2671 * lyxrow_funcs.C: use LyXRow::end_
2673 * lyxtext.h (singleWidth): add LyXFont parameter
2676 * text2.C: adjust LyXText::singleWidth() calls
2678 * text.C (redoParagraph): simplify row breaking logic
2681 2003-08-19 André Pönitz <poenitz@gmx.net>
2683 * funcrequest.C: initialize button_ member
2686 * rowpainter.[Ch]: interface consolidation
2688 2003-08-18 André Pönitz <poenitz@gmx.net>
2691 * BufferView_pimpl.C:
2693 * paragraph_funcs.C:
2695 * text3.C: remove LyXScreen::draw() and fitCursor calls
2697 * BranchList.h: remove spurious semicolons
2699 * MenuBackend.C: fix branchlist related crash
2701 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2709 * bufferparams.[Ch]:
2713 * text3.C: implements the 'branch inset'
2714 idea. This allows the output of various versions of a document
2715 from a single source version, selectively outputing or suppressing
2716 output of parts of the text.
2717 This implementation contains a 'branch list editor' in a separate
2718 tab of the document settings dialog. Branches are user definable
2719 and have a "display colour" to distinguish them on-screen.
2721 ColorHandler was somewhat cleaned up.
2722 (1) make possible a dynamically growing LColor list by allowing
2723 the graphic context cache to grow along (vector);
2724 (2) eliminate an IMHO unnecessary step in colour allocation.
2726 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
2728 * BufferView_pimpl.C: compile fix
2730 2003-08-15 André Pönitz <poenitz@gmx.net>
2732 * rowpainter.C: remove extra metrics calls
2734 * lyxtext.h: merge the two constructors into a single one,
2735 pass reference to owner's par list
2737 * BufferView_pimpl.C:
2741 2003-08-15 André Pönitz <poenitz@gmx.net>
2743 * lyxrow_funcs.[Ch]:
2746 * paragraph_funcs.C:
2751 * text_funcs.C: split LyXText::rowlist_ into individual
2752 Paragraph::rows_ chunks
2755 * BufferView_pimpl.[Ch]:
2758 * text3.C: remove toggleSelection()
2760 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2762 * bufferlist.C: beautify two alerts (shorter text of buttons)
2763 * buffer.C: Remove redundant ' ' from message
2765 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2766 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2767 rename VALIGN_CENTER to VALIGN_MIDDLE
2769 2003-08-11 André Pönitz <poenitz@gmx.net>
2771 * lyxtext.h (getPar):
2772 * text.C: new function
2774 2003-08-11 André Pönitz <poenitz@gmx.net>
2777 * tracer.[Ch]: remove unneeded files
2779 * InsetList.[Ch]: remove resizeInsetsLyXText()
2784 * text3.C: merge insertParagraphs() and appendParagraph()
2785 remove breakAgain(), update()
2787 * BufferView_pimpl.[Ch]:
2788 * bufferview_funcs.[Ch]:
2792 * tabular.C: adjust after text & InsetList changes.
2794 2003-08-08 André Pönitz <poenitz@gmx.net>
2796 * text.C (insertChar, backspace): replace rowlist fiddling
2797 with rebreak of full par
2800 * text.C (breakAgainOneRow, redoHeightOfParagraph,
2801 checkParagraph, updateInset): removed
2803 2003-08-07 André Pönitz <poenitz@gmx.net>
2806 * text3.C: merge some LFUN handlers, remove dead code
2808 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2810 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2812 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
2814 * text2.C (DEPM): fix part of bug 1255 and 1256
2816 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2818 * BufferView_pimpl.C (workAreaDispatch): change to use
2819 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2820 that are no mouse related.
2822 2003-08-05 André Pönitz <poenitz@gmx.net>
2825 * BufferView_pimpl.[Ch]:
2826 * bufferview_funcs.C:
2828 * text3.C: rip out "deep update"
2830 * textcursor.[Ch] (last_sel_cursor): remove unused member
2832 2003-08-04 André Pönitz <poenitz@gmx.net>
2835 * BufferView_pimpl.[Ch]:
2836 * ParagraphParameters.C:
2837 * bufferview_funcs.C:
2843 * text3.C: replace "complicated" BufferView::update(...) calls with
2846 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2848 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
2850 * Makefile.am (lyx_SOURCES): add paper.h
2852 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2854 * Makefile.am: move things around so that both lyx-qt and
2855 lyx-xforms can be built (according to --with-frontend). Then lyx
2856 is a symbolic link to lyx-[firstfrontend]
2858 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2860 * Always use std::endl with lyxerr
2862 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
2864 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2866 2003-08-01 André Pönitz <poenitz@gmx.net>
2869 * BufferView_pimpl.[Ch]:
2871 * text3.C: merge BufferView::repaint() and BufferView::update()
2873 2003-08-01 José Matos <jamatos@lyx.org>
2875 * buffer.[Ch]: file_format is no longer a buffer data element.
2877 2003-08-01 André Pönitz <poenitz@gmx.net>
2882 * text2.C: make redoParagraph more independent of current cursor
2884 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2886 * text2.C: remove unneeded members
2888 2003-07-30 André Pönitz <poenitz@gmx.net>
2890 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2892 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2893 create a single function...
2895 * paragraph_funcs.C (moveItem): ... here.
2898 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2900 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2902 * LColor.[Ch]: Add comment and greyedout logical colors.
2904 2003-07-30 André Pönitz <poenitz@gmx.net>
2906 * tabular.C: don't use Assert too heavily. This crashes where it
2909 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
2911 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2912 is disabled (bug 1232)
2914 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2916 * factory.C: limited 'arg' scope
2918 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2920 * factory.C: fixed Note submenu issues
2922 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2924 * factory.C: submenu for Note/Comment/Greyedout
2926 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
2929 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2931 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2934 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2935 greyedout. Patch provided by Jürgen Spitzmüller.
2937 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2939 * kbmap.C (read): fix error message when reading bind files
2941 2003-07-29 Angus Leeming <leeming@lyx.org>
2943 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2944 certainly does not do what it purports to do. I am doing it, and
2945 us, a favour by killing it.
2947 2003-07-28 José Matos <jamatos@lyx.org>
2949 * buffer.C (readBody, do_writeFile):
2950 * paragraph.C(readParagraph): \end_document replaces \the_end.
2952 2003-07-29 André Pönitz <poenitz@gmx.net>
2955 * BufferView_pimpl.[Ch]:
2959 * textcursor.[Ch]: remove toggleToggle & Co
2961 2003-07-28 José Matos <jamatos@fep.up.pt>
2963 * buffer.C (readParagraph):
2964 * params_func (readParToken, readParagraph):
2965 * paragraph.C (write): \layout -> \begin_layout.
2967 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2969 * lyxlex_pimpl.C (setFile): clean up slightly.
2971 * bufferparams.h: add compressed var
2973 * buffer_funcs.C (readFile): adjust for LyXLex change
2974 (newFile): ditto + simplify
2976 * buffer.C (writeFile): handle writing of compressed files
2978 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2979 Check if the file is compressed and set a bufferparm if so.
2981 * Makefile.am (lyx_LDADD): remove explicit -lz
2983 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2985 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2986 makeDocBookFile): put the real LyX version in the first line of
2990 * version.C.in: remove lyx_docversion
2992 * tabular.C (write_attribute): add a template-based version to
2993 write enums properly
2995 2003-07-28 André Pönitz <poenitz@gmx.net>
3000 * text3.C: use doubles again for x-coordinates. They are needed.
3002 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3004 * messages.C (getLocaleDir): use lyx_localedir()
3006 * lyxlex_pimpl.C (setFile): compress stuff
3008 * buffer.C (writeFile): add some compression stuff
3009 (do_writeFile): new func, dont call expliti close... will this
3012 * Makefile.am (lyx_LDADD): add -lz
3014 2003-07-28 José Matos <jamatos@fep.up.pt>
3016 * buffer.C: increment file format.
3017 * paragraph_funcs (readParagraph, readParToken):
3018 * paragraph.C (readParagraph): add \end_layout.
3020 2003-07-27 Angus Leeming <leeming@lyx.org>
3022 * Makefile.am: remove special casing for configure-time setting of
3023 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3025 * lyx_main.C (init): remove all Jean-Marc's magic setting of
3026 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3028 2003-07-26 André Pönitz <poenitz@gmx.net>
3030 * paragraph_func.[Ch]:
3031 * paragraph.C (realizeFont): inline it whereever it is used
3036 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3039 2003-07-26 André Pönitz <poenitz@gmx.net>
3043 * text2.C: get rid of LyXText::need_break_row
3045 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3047 * toc.[Ch]: put namespace toc inside namespace lyx
3049 * MenuBackend.C (expandToc2): adjust for lyx::toc
3052 * lyxfunc.C (dispatch): adjust for lyx::find
3054 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3055 lyx::find instead. Reorganize a bit.
3056 (LyXReplace): rename to replace
3057 (LyXFind): rename to find
3059 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3062 2003-07-26 André Pönitz <poenitz@gmx.net>
3064 * text.C (setHeightOfRow): restrict scope of temporary variable
3066 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
3067 code (never has been used?)
3069 2003-07-27 Asger Alstrup <alstrup@local>
3071 * text.C (fill): Optimise algorithm to exploit that we can reuse
3072 the LyXFont for many characters.
3073 (setHeightOfRow): Same thing.
3074 (rowBreakPoint): Same thing.
3076 2003-07-26 Asger Alstrup <alstrup@local>
3078 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3080 * text.C (singleWidth): Spurious font copying in hot-spot
3081 singleWidth avoided. Reorder tests for arabic for efficiency.
3083 * text.C (fill): handle empty paragraphs better.
3085 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3088 * encoding.h: add includes
3090 * lyxrc.C: remove reading of bind files
3092 * lyx_main.C (init): setup bindings and menus only if we have a
3095 * kbmap.C (read): new method. Do the actual reading of bind
3098 * converter.C (dvipdfm_options):
3101 (output): adapt PAPER_* enums.
3103 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3105 * bufferparams.h: remove paper-related enums from there
3107 * paper.h: New file. A trivial header file to hold paper-related
3108 enums. It should later expand to contain many paper-related
3111 * lyxrc.C: declare extern displayTranslator
3113 2003-07-27 José Matos <jamatos@fep.up.pt>
3115 * tabular.[Ch] (linuxdoc): add support for tables and figures
3118 2003-07-27 José Matos <jamatos@fep.up.pt>
3120 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3121 consistency in both functions.
3122 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3124 2003-07-26 Asger Alstrup <alstrup@local>
3126 * rowpainter.C (paintRows): Change algorithm to work directly on
3127 the insets rather than asking every character in the document
3128 whether its an inset.
3130 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
3132 * buffer.C (openFileWrite): factorize some code
3134 2003-07-26 Angus Leeming <leeming@lyx.org>
3137 * lyx_main.[Ch]: replace occurances of system_tempdir with
3140 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3142 * rename Inset to InsetOld
3144 2003-07-25 Asger Alstrup <alstrup@diku.dk>
3146 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3147 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3148 which I think is a bit clearer. EDIT is gone, since it was
3149 premature optimisation, and broken for mathed anyway.
3150 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3151 with cursor positioning in insets as well (math insets still do not
3152 work, but that's a different story anyway.) It mysteriously
3153 crashes sometimes with undo in the first paragraph, but I'm fairly
3154 confident that this is a compiler bug.
3156 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3158 * paragraph.C (Paragraph): adjust for new clone return type
3160 (copyIntoMinibuffer): ditto
3162 2003-07-25 Asger Alstrup <alstrup@lyx.org>
3164 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3165 by not having a special case, and always doing a full rebreak of
3166 the document after undo.
3168 2003-07-23 Angus Leeming <leeming@lyx.org>
3170 * factory.C (createInset): InsetExternal::setParams now takes a
3173 2003-07-23 Angus Leeming <leeming@lyx.org>
3175 * factory.C (createInset): changed interface to the external and
3176 graphics mailers' string2params functions.
3178 2003-07-23 Angus Leeming <leeming@lyx.org>
3180 * factory.C (createInset): pass a
3181 Buffer const * parameter to InsetExternalMailer's string2params.
3183 2003-07-22 John Levon <levon@movementarian.org>
3185 * Thesaurus.h: include the right aiksaurus header
3187 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3189 * MenuBackend.C (expand): check menu shortcuts unconditionally
3191 2003-07-21 Angus Leeming <leeming@lyx.org>
3193 * factory.C (createInset): pass a
3194 buffer_path parameter to InsetGraphicsMailer's string2params.
3196 2003-07-21 Angus Leeming <leeming@lyx.org>
3198 * BufferView_pimpl.C (buffer):
3201 * lyxfunc.C (dispatch):
3202 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3203 rather than the grfx shortcut.
3205 2003-07-21 André Pönitz <poenitz@gmx.net>
3207 * rowpainter.C: remove unused variables
3210 * tabular_funcs.h: move to tabular.C
3211 * Makefile.am: adjust
3213 * tabular.[Ch]: basic optical cleaning
3215 * author.h: pass references, not values
3217 2003-07-18 André Pönitz <poenitz@gmx.net>
3225 * text3.C: two-phase drawing for InsetText and InsetTabular
3226 some float -> int changes.
3228 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3230 * lyx_main.C: fix the fix
3232 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3234 * lyx_main.C: fix a crash in batch mode if no files specified
3237 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
3239 * format.[Ch] (papersize): moved to BufferParams
3240 * converter.[Ch] (dvips_options): moved to BufferParams
3241 (dvipdfm_options): moved to anon namespace
3242 * bufferparams.[Ch]: added above functions.
3244 2003-07-17 André Pönitz <poenitz@gmx.net>
3248 * text2.C: don't call inset->update() anymore
3250 * metricsinfo.[Ch]: add convenience constructor
3252 2003-07-16 André Pönitz <poenitz@gmx.net>
3257 * text2.C: replace the LyXCursor::irow_ member with
3258 on-demand computation of the value
3260 2003-07-16 John Levon <levon@movementarian.org>
3262 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3264 2003-07-15 André Pönitz <poenitz@gmx.net>
3267 * text2.C: remove no more needed refresh_row
3269 2003-07-15 André Pönitz <poenitz@gmx.net>
3274 * text3.C: refresh_status tristate -> need_update bool
3276 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3278 * lyxtext.h (init): remove reinit argument (act as if always true)
3279 * text2.C: adjust to that
3281 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3283 * bufferview_funcs.[Ch]: introduce function replaceSelection()
3284 * text3.C: use it to delete selections in some cases
3285 (bugs 441, 673, 702, 954).
3287 2003-07-14 André Pönitz <poenitz@gmx.net>
3289 * rowpainter.[Ch]: reduce interface
3291 2003-07-14 André Pönitz <poenitz@gmx.net>
3293 * BufferView_pimpl.C:
3294 * text2.C: adjust after removing unused BufferView * argument
3296 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
3298 * text2.C (init): fix a crash fired on resize
3300 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
3302 * buffer.[Ch]: added new closing signal
3303 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3304 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3305 BufferView::Pimpl via the closing the signal
3307 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
3309 * buffer.[Ch]: take out all bv-related from buffer
3311 * BufferView_pimpl.[Ch]: connect to new signals
3312 * CutAndPaste.C: removed useless asserts
3313 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3316 * lyxfunc.C: moved view-related funciontality from vc here
3317 * paragraph.C: removed outdated comments
3320 2003-07-10 André Pönitz <poenitz@gmx.net>
3322 * BufferView_pimpl.C:
3326 * text2.C: remove InsetText::InnerCache, clean up consequences
3328 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3330 * ispell.C: fix two typos in error messages
3332 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
3334 * Extend Note inset to other forms of annotation like Comment
3335 and Greyedout. Right button click gives dialog.
3337 Files modified or added (+):
3341 * ControlNote.[Ch] +
3343 * Makefile.am in frontends/xforms, frontends/xforms/forms,
3344 frontends/controllers
3348 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3350 * aspell.C: add missing namespace lyx::support
3352 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
3354 * BufferView.[Ch] (newFile): Add
3355 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3356 * LaTeX.[Ch] (message): added this signal and use it
3357 * buffer.[Ch] (busy, message): added these signals and use them
3358 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3362 * importer.C: use buffer signals instead of direct bv calling
3363 * lyx_cb.[Ch] (ShowMessage): removed
3366 * paragraph_funcs.C:
3367 * text2.C: use buffer signals
3369 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3371 * introduce namespace lyx::graphics
3373 2003-07-02 André Pönitz <poenitz@gmx.net>
3375 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3377 2003-07-01 André Pönitz <poenitz@gmx.net>
3384 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3385 text*.C to text_func.C
3387 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3389 * introduce namespace lyx::support
3391 2003-06-30 André Pönitz <poenitz@gmx.net>
3396 * text.C: re-enable --with-included-string
3398 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3400 * textcursor.C: add <config.h>
3402 * text.C (getWord): remove const from word_location arg
3404 * lyxvc.C (getLogFile): fix const type order
3406 * lyxtext.h: remove const from word_location arg, add arg name
3408 * lyxlayout.h: currect type on labeltype.
3410 * importer.C: correct \file
3412 * converter.C (intToFormat): use std:: on ret val, ws changes
3414 * bufferlist.h: correct \file
3416 * buffer.C (makeLinuxDocFile): fix const type order
3417 (makeDocBookFile): ditto
3418 (fillWithBibKeys): use std:: on stdlib args.
3420 * CutAndPaste.C: fix authors.
3421 (availableSelections): use std:: on return vector
3423 2003-06-27 André Pönitz <poenitz@gmx.net>
3425 * BufferView_pimpl.C:
3426 * bufferview_funcs.C:
3434 * text3.C: remove LyXCursor::row_ member
3437 * text.C: rename fullRebreak() to partialRebreak() and implement
3438 a fullRebreak() that really bereks fully
3440 * textcursor.h: new struct for cursor-related data
3442 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
3444 * lyx_main.C (LyX): get full path of document loaded on the
3447 2003-06-26 André Pönitz <poenitz@gmx.net>
3449 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3450 remove unused/broken operator>,<,>=.
3452 * text.C: remove only use of broken operator<= in an Assert().
3454 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3456 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3457 moved errorlist_.clear to showErrorList
3459 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3461 * converter.C (scanLog, runLaTeX):
3462 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3463 move the bv->showErrorList call to the callers
3464 * lyxfunc.C: i.e. here...
3466 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3467 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3468 namespace, the second to...
3469 * buffer_funcs (BufferFormat, parseErrors): added
3470 * errorlist.C (ErrorList(TeXErrors const &)): removed
3472 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3474 * ToolbarBackend.C (getIcon): complain when icon cannot be found
3476 2003-06-24 "Garst R. Reese" <reese@isn.net>
3480 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3482 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3484 * version.C.in: change docversion to 1.4
3486 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
3488 * buffer.C: fix a bug just introduced
3490 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3492 * buffer.[Ch]: added the parseError signal and use it, removed
3494 * BufferView.[Ch] (addError): moved to ...
3495 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3496 to the Buffer::parseError signal to catch (guess what) parse errors
3497 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3499 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3501 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3502 ability to create a buffer and to return an existing one from
3503 the list. Moved these functions to...
3504 * buffer_funcs.[Ch]: added
3505 * BufferView.[Ch] (loadLyXFile): added
3506 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3507 job removed from bufferlist::loadLyXFile.
3508 * buffer.C (setReadOnly): make it work without view
3509 (i.e added an if (users))
3511 2003-06-19 Angus Leeming <leeming@lyx.org>
3514 * LyXAction.C (init):
3515 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3516 with LFUN_DIALOG_SHOW <name> <data>.
3518 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3520 * CutAndPaste.C (availableSelections): small compilation fix for
3521 ancient (gcc 2.9x) compilers
3523 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3525 * text3.C (cursorNext): add tmp var
3527 * text2.C (updateCounters): for function calling out of for clause
3528 (replaceSelectionWithString): ditto
3529 (insertStringAsParagraphs): ditto
3530 (getColumnNearX): add tmp var
3531 (setCursorFromCoordinates): add tmp var
3532 (cursorDownParagraph): add tmp var
3533 (deleteEmptyParagraphMechanism): add tmp var
3535 * text.C (insertChar): add tmp var
3537 * rowpainter.C (paintDepthBar): add tmp var
3539 * CutAndPaste.C (availableSelections): potentially check all
3540 paragraphs in a cut to fill the shown strings.
3542 2003-06-18 André Pönitz <poenitz@gmx.net>
3544 * kbmap.[Ch]: use vector<> instead of list<>
3546 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3548 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3549 pasteSelection with index
3551 * text2.C (pasteSelection): modify, call pasteSelection with index
3553 * paragraph.C (asString): reimplement version with no interval to
3554 call the one with interval.
3556 * lyxtext.h: add index arg to pasteSelection
3558 * MenuBackend.C (MenuItem): handle PasteRecent
3559 (Menu::read::Menutags): add md_pasterecent
3561 (expandPasteRecent): new function
3564 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3566 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3568 (availableSelections): new function
3570 2003-06-17 Angus Leeming <leeming@lyx.org>
3572 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3574 2003-06-17 Angus Leeming <leeming@lyx.org>
3577 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3579 * lyxfunc.C (dispatch): invoke it.
3581 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3583 * iterators.C (operator++, ParPosition): reintroduce some
3584 const_cast for the benefit of older compilers.
3586 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3588 * text3.C (dispatch): do not modify clipboard when doing
3589 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3590 LFUN_DELETE_SKIP on a selection selection
3592 2003-06-16 André Pönitz <poenitz@gmx.net>
3598 * tabular.[Ch]: IU of clone() and getLabelList();
3600 2003-06-13 André Pönitz <poenitz@gmx.net>
3602 * tabular.h: compactification
3604 2003-06-12 André Pönitz <poenitz@gmx.net>
3608 * tabular_funcs.h: some renaming plus whitespace
3610 2003-06-12 André Pönitz <poenitz@gmx.net>
3613 * BufferView_pimpl.C:
3619 * toc.C: Return a Paragraph & for ParIterator::operator*()
3621 2003-06-11 John Levon <levon@movementarian.org>
3625 * ToolbarBackend.C: add "Toolbars" section and
3628 2003-06-10 Angus Leeming <leeming@lyx.org>
3631 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3633 * lyxfunc.C (dispatch): invoke it.
3635 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3637 * main.C: protect <ios> with HAVE_IOS
3638 (main): protect sync_with_stdio with HAVE_IOS
3640 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3642 * text2.C (cutSelection): adjust
3643 (pasteSelection): adjust
3645 * messages.C: handle get of empty string
3647 * main.C (main): use sync_with_stdio(false)
3649 * lyxfunc.C (dispatch): adjust
3651 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3652 (WriteAs): remove unneeded BufferView arg.
3654 * bufferparams.h: use correct types on papersize, papersize2 and
3657 * bufferparams.C (readToken): adjust for type
3658 (writeLaTeX): add missing cases to switch.
3660 * bufferlist.C (quitWriteBuffer): adjust
3663 * buffer.C (asciiParagraph): remove some commented code.
3665 * CutAndPaste.C: remove current_view extern variable.
3666 (cutSelection): add BufferParams arg.
3667 (eraseSelection): add BufferParams arg.
3668 (pasteSelection): add Buffer const & arg
3670 2003-06-07 John Levon <levon@movementarian.org>
3673 * paragraph_funcs.C:
3674 * paragraph_pimpl.C:
3678 * paragraph.C: allow InsetERT to freely space lines,
3679 and some consolidation of code
3681 2003-06-06 José Matos <jamatos@fep.up.pt>
3683 * buffer.C (makeDocBookFile): fix bug #821
3685 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3687 * BufferView_pimpl.C (dispatch): use Dialogs::visible
3689 2003-06-04 Angus Leeming <leeming@lyx.org>
3691 * buffer.C: bump format to 224.
3693 2003-06-05 André Pönitz <poenitz@gmx.net>
3695 * text2.C (redoParagraphs): remove two const_cast<>
3697 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3699 * ParagraphList.h: remove last remnants of NO_STD_LIST
3701 2003-06-03 Angus Leeming <leeming@lyx.org>
3703 * factory.C (createInset): small change to the way InsetExternal's params
3706 2003-06-04 André Pönitz <poenitz@gmx.net>
3708 * buffer.h: use Undo directly instead of shared_ptr<Undo>
3710 * paragraph_pimpl.h:
3711 * paragraph.[Ch]: some Inset -> UpdatableInset changes
3713 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3715 * undo_funcs.C: make some simple cases of undo work again
3717 2003-06-03 John Levon <levon@movementarian.org>
3719 * ispell.C: HPUX doesn't have sys/select.h
3722 2003-06-03 John Levon <levon@movementarian.org>
3724 * CutAndPaste.C: update tabular and include inset
3729 * paragraph.C: remove owningBuffer(), don't pass Buffer
3732 * factory.C: insetGraphicsParams changed
3734 2003-06-02 John Levon <levon@movementarian.org>
3740 * text3.C: remove insetparent
3742 2003-06-02 John Levon <levon@movementarian.org>
3745 * buffer.C: fix inset_iterator.end(), move out of line
3748 2003-06-01 John Levon <levon@movementarian.org>
3750 * text3.C: use a proper cut/paste when doing inset
3751 insert (from Jürgen Spitzmüller)
3753 2003-06-01 John Levon <levon@movementarian.org>
3755 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3757 2003-05-30 André Pönitz <poenitz@gmx.net>
3759 * rowpainter.C: unify second drawing phase
3761 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3763 * trans_mgr.C: remove one case of current_view
3765 * text2.C (cursorBottom): delete NO_STD_LIST stuff
3767 * paragraph_funcs.h: remove paragraph.h include
3769 * paragraph.h: delete NO_STD_LIST stuff
3771 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3773 * buffer.h: remove paragraph.h include
3775 * ParagraphList.C: delete file
3777 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3779 * toc.C (getTocList): adjust
3781 * paragraph_pimpl.C (validate): adjust
3783 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3785 * paragraph.C (Paragraph): adjust
3786 (getPositionOfInset): use const_iterator, adjust
3787 (bibitem): use const_iterator, adjust
3788 (setInsetOwner): adjust
3790 * iterators.C (operator++): adjust
3792 * InsetList.[Ch]: Replace selfmade iterator with standard
3793 vector::iterator also introduce const_iterator. Remove getPos,
3794 getInset and setInset from InsetTable. Adjust accordingly.
3796 * BufferView.C (lockInset): adjust
3797 (ChangeInsets): adjust
3799 * tabular.[Ch]: delete commented same_id functions
3801 2003-05-28 John Levon <levon@movementarian.org>
3803 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3805 2003-05-28 André Pönitz <poenitz@gmx.net>
3807 * metricsinfo.[Ch]: remove 'fullredraw' member
3809 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
3811 * lyxtextclass.C (operator): remove caching.
3813 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3817 * text2.C (cursorBottom): adjust
3818 (setCounter): use ParagraphList::find, adjust
3820 * text.C (workWidth): use ParagraphList::find, adjust
3822 * lyxcursor.C (LyXCursor): adjust
3824 * buffer.C (inset_iterator): adjust
3826 * ParagraphList.h: make iterator(value_type) private, make
3827 ParagraphList a friend of iterator.
3829 * ParagraphList.C (find): new function
3831 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3833 2003-05-27 André Pönitz <poenitz@gmx.net>
3835 * dimension.[Ch]: a -> asc, d -> des, w -> wid
3837 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3839 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3841 2003-05-26 John Levon <levon@movementarian.org>
3843 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3845 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3847 * remove same_id from function signatures, adjust.
3849 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3851 * undo_funcs.C (createUndo): use the id functions directly, adjust.
3853 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3855 * paragraph.C (Paragraph): get rid of same_ids parameter
3857 * ParagraphList.C (insert): adjust
3860 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3862 * paragraph_funcs.C (breakParagraph): adjust
3863 (breakParagraphConservative): adjust
3865 * buffer.C (readParagraph): adjust
3867 * ParagraphList.C (insert): take a reference instead of a pointer
3870 * paragraph.[Ch] (id): new function
3872 * bufferlist.C (newFile): adjust
3874 * ParagraphList.C (ParagraphList): adjust
3876 (push_back): take a reference instead of a pointer.
3878 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3880 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3883 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3884 set else use old code.
3886 * ParagraphList.C: remove all NO_NEXT code and only compile this
3887 code of NO_STD_LIST is set.
3889 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3891 * BufferView_pimpl.C:
3901 * graphics/GraphicsConverter.C:
3902 * graphics/PreviewLoader.C: header adjustment
3904 2003-05-23 Angus Leeming <leeming@lyx.org>
3906 * LaTeXFeatures.[Ch] (useBabel): new method.
3907 * bufferparams.C (writeLaTeX): use it.
3909 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3911 * ParagraphList.h (set): remove unused function.
3913 2003-05-23 André Pönitz <poenitz@gmx.net>
3916 * BufferView_pimpl.C:
3920 * undo_funcs.C: setUndo reworked
3922 * iterators.[Ch]: add access to topmost ParagraphList
3924 * lyxtext.[Ch] (workWidth): add a const
3926 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3928 * texrow.[Ch] (increasePos): remove function
3929 * exporter.C (export): removed unused var and outdated comment
3931 2003-05-23 Angus Leeming <leeming@lyx.org>
3933 * latexrunparams.h: rename fragile as moving_arg.
3934 * paragraph.C (simpleTeXOnePar): ditto.
3935 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3937 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3939 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3941 (textUndoOrRedo): comment out a currently unused var.
3943 * paragraph.h (NO_NEXT): enable NO_NEXT
3945 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3947 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3949 * exporter.C (Export): adjust for removeAutoInsets removal.
3951 * buffer.C (runChktex): adjust for removeAutoInsets removal.
3953 * LyXAction.C (init): remove LFUN_REMOVEERRORS
3955 * BufferView.[Ch] (removeAutoInsets): delete function
3957 2003-05-22 Angus Leeming <leeming@lyx.org>
3959 * latexrunparams.h: add a free_spacing variable.
3961 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3962 to pass moving_arg, as the data is stored in runparams.fragile.
3964 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3965 to Inset::latexOptional or to simpleTeXOnePar.
3967 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3968 free_spacing arg to Inset::latexOptional.
3970 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3973 2003-05-22 Angus Leeming <leeming@lyx.org>
3975 * latexrunparams.h: add fragile and use_babel variables.
3977 * bufferparams.[Ch] (writeLaTeX): return use_babel.
3978 * buffer.C (makeLaTeXFile): store this returned value in
3979 runparams.use_babel, thus passing it to the inset::latex methods.
3981 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3982 simpleTeXSpecialChars as it is now stored in runparams.fragile.
3984 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3985 longer has a fragile arg, as it is stored in runparams.fragile.
3987 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3988 moving_arg parameter as the data is stored in runparams.fragile.
3990 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3991 a fragile parameter as the data is stored in runparams.fragile.
3993 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3995 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3997 2003-05-22 Angus Leeming <leeming@lyx.org>
3999 * latexrunparams.h: add a 'bool nice' which defaults to false.
4001 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4002 now encapsulated within runparams.
4004 * bufferlist.C (updateIncludedTeXfiles):
4005 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4007 2003-05-22 Angus Leeming <leeming@lyx.org>
4009 * latexrunparams.h: new file containing struct LatexRunParams.
4010 * Makefile.am: add new file.
4012 * LaTeX.[Ch] (c-tor, run):
4013 * buffer.[Ch] (makeLaTeXFile):
4014 * bufferlist.[Ch] (updateIncludedTeXfiles):
4015 * converter.C (convert, scanLog):
4016 * converter.[Ch] (runLaTeX):
4017 * exporter.C (Export):
4018 * paragraph.[Ch] (simpleTeXOnePar):
4019 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4020 * paragraph_funcs.[Ch] (latexParagraphs):
4021 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4022 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4023 pass around a LatexRunParams parameter.
4025 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4027 * paragraph.[Ch]: remove unused constructor
4029 * ParagraphList.C (erase): new function, taking two iterators
4031 2003-05-22 André Pönitz <poenitz@gmx.net>
4033 * undo_funcs.C: remove duplicated code
4035 * iterator.[Ch]: operator=
4037 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4039 * tabular.C (SetMultiColumn): ws changes
4041 * rowpainter.C (paintFirst): get rid of a ->previous
4043 * lyx_cb.C (getPossibleLabel): parlist simplification
4045 * BufferView.C (ChangeInsets): simplify slightly.
4047 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4049 * LyXAction.C: new lfun space-insert, kill protected-space-insert
4050 * lfuns.h: new LFUN_SPACE
4051 * lyxfunc.C: protected space has a new lfun
4052 * paragraph_funcs.C: read new space insets
4054 * factory.C: handle new space insets
4056 2003-05-22 André Pönitz <poenitz@gmx.net>
4059 * BufferView_pimpl.C:
4062 * undo_funcs.C: return a ParIterator from getParFromID.
4064 * iterators.[Ch]: add two const's
4066 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4068 * toc.C (getTocList): adjust
4070 * iterators.[Ch]: rework for parlist
4072 * buffer.C (par_iterator_begin): adjust
4073 (par_iterator_end): adjust
4075 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4077 * BufferView.C (removeAutoInsets): adjust
4078 (ChangeInsets): adjust
4080 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
4082 * text.C (top_y): fix bug 1110
4084 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
4086 * errorlist.[Ch]: added
4089 * BufferView_pimpl.C:
4090 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4093 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4095 * Makefile.am: ensure that lyx is relinked upon changes to the
4096 various "convenience" libs.
4098 2003-05-20 Angus Leeming <leeming@lyx.org>
4100 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4101 files are compiled in alphabetical order again.
4103 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4105 2003-05-19 Angus Leeming <leeming@lyx.org>
4107 * gettext.[Ch]: remove "char const * _(char const *)".
4109 2003-05-19 André Pönitz <poenitz@gmx.net>
4111 * dimension.[Ch]: promote from mathed/dimension.[Ch]
4120 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4122 2003-05-19 André Pönitz <poenitz@gmx.net>
4126 * lyxtextclass.[Ch]:
4128 * paragraph_funcs.[Ch]:
4130 * text3.C: more insetenv work
4132 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
4134 * ParagraphParameters.C (params2string): small bug fixed
4136 2003-05-16 André Pönitz <poenitz@gmx.net>
4139 * bufferview_funcs.C: patch from Kornel Benko to prevent
4140 crash when _(...) is called twice in a statement
4142 2003-05-16 André Pönitz <poenitz@gmx.net>
4149 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4151 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
4153 * lyx_main.C (init): remove spurious static_cast
4155 2003-05-14 André Pönitz <poenitz@gmx.net>
4157 * BufferView.C: fix format string
4159 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
4161 * BufferView.[Ch] (insertErrors): removed
4162 * BufferView.[Ch] (showErrorList): added
4163 * buffer.C (runChkTeX):
4164 * converter.C (scanLog): call showErrorList instead of inserterrors
4166 2003-05-13 André Pönitz <poenitz@gmx.net>
4168 * BufferView_pimpl.C:
4170 * bufferview_func.C:
4177 * tabular_funcs.h: tostr() from its own header
4179 * ParagraphParameters.C:
4184 * text3.C: STRCONV()
4186 2003-05-12 André Pönitz <poenitz@gmx.net>
4189 * BufferView_pimpl.C:
4193 * ParagraphParameters.C:
4197 * bufferview_funcs.C:
4210 * paragraph_funcs.C:
4214 * text3.C: boost::format -> bformat all over the place
4217 2003-05-09 André Pönitz <poenitz@gmx.net>
4219 * LColor.[Ch]: Pimpl the #include <map> away
4221 2003-05-09 John Levon <levon@movementarian.org>
4223 * bufferlist.C: never remove emergency saves
4225 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4227 * Makefile.am: better lib building
4229 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4231 * texrow.[Ch]: remove dependency on Paragraph and just store a id
4233 * paragraph_pimpl.C (simpleTeXBlanks): adjust
4234 (simpleTeXSpecialChars): adjust
4235 (simpleTeXSpecialChars): adjust
4236 * paragraph.C (simpleTeXOnePar): adjust
4237 * buffer.C (makeLaTeXFile): adjust
4239 * Makefile.am (BOOST_LIBS): allow boost as system lib.
4241 * text2.C (changeDepth): parlist cleanup
4242 (getColumnNearX): ditto
4244 * rowpainter.C (getLabelFont): parlist cleanup
4246 * bufferlist.C (newFile): parlist cleanup
4248 * CutAndPaste.C (eraseSelection): parlist cleanup
4250 * BufferView_pimpl.C (trackChanges): parlist cleanup
4253 * BufferView.C (lockInset): parlist cleanup.
4254 (ChangeInsets): ditto
4256 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4258 * CutAndPaste.h: Update file header.
4260 * CutAndPaste.C: Update file header.
4261 Store the parts cut out of the Document in a limited_stack.
4262 (copySelection): adjust
4263 (pasteSelection): new function, takes the index in the limited stack.
4264 (nrOfParagraphs): adjust
4265 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4266 simplify error inset insertion.
4267 (checkPastePossible): adjust
4269 2003-05-06 John Levon <levon@movementarian.org>
4271 * text2.C: don't cast wrap inset to float
4273 2003-05-05 André Pönitz <poenitz@gmx.net>
4276 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4278 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4279 few naked Paragraph *.
4281 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
4283 * bufferparams.C: Output warning if a document with missing
4284 TeX document class is loaded
4285 * exporter.C: Disable TeX exports if the document class is missing
4288 * lyxtextclasslist.C: Handle new textclass.lst format; new method
4289 isTeXClassAvailable()
4291 2003-05-03 John Levon <levon@movementarian.org>
4294 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4295 explicit cursor show/hide
4297 * BufferView_pimpl.h:
4298 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4299 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4301 * lyxfunc.C: hide cursor before dispatching.
4306 * text3.C: remove explicit cursor hides
4308 2003-05-02 André Pönitz <poenitz@gmx.net>
4310 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4313 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4316 * text2.C: tiny whitespace
4318 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4320 * undo_funcs.C: almost only ws changes.
4322 * ParagraphList.C (splice): just return if pl is empty.
4324 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4326 * ParagraphList.C (splice): new function.
4328 * CutAndPaste.C (pasteSelection): use it
4330 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4332 * CutAndPaste.C (pasteSelection): remove the last next and
4333 previous from this file.
4335 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4337 * CutAndPaste.C (pasteSelection): more clean up, user proper
4338 ParagraphList functions for pasteing.
4340 * ParagraphList.C (insert): new function, three arg insert
4342 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4344 * ParagraphList.C (insert): new function, three arg insert
4346 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4349 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4351 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4353 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4355 * CutAndPaste.C (pasteSelection): remove some unneeded code.
4357 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4359 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4360 (copySelection): clean up a bit.
4361 (pasteSelection): use make_pair
4363 * ParagraphList.C (ParagraphList): implement copy constructor
4364 (operator=): implement, base on copy constructor.
4367 * paragraph.C (erase): return a bool
4369 * paragraph_pimpl.C (erasePos): remove function, move contents...
4370 (erase): ... here. Return a bool.
4371 (erase): call erase instead of erasePos.
4373 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
4375 * ParagraphList.h: define PitPosPair
4376 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4377 ParagraphList, fix a bug on pasting multiple pars
4378 * text2.C: change interface to C&P
4380 2003-04-30 André Pönitz <poenitz@gmx.net>
4382 * undo_func.C: revert part of yesterday's patch 2
4384 2003-04-30 John Levon <levon@movementarian.org>
4386 * LColor.C: s/tabular/table/
4388 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4390 * text3.C (dispatch): do not convert iterator -> pointer
4391 * undo_funcs.C (setCursorParUndo): ditto
4392 * text_funcs.C (transposeChars): ditto
4394 * text2.C (setLayout): ws changes only
4396 * text.C (breakParagraph): do not convert iterator -> pointer
4398 (acceptChange): ditto
4399 (rejectChange): ditto
4404 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4407 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4409 * text3.C (gotoInset): YABG (yet another bad getChar)
4411 2003-04-29 André Pönitz <poenitz@gmx.net>
4413 * paragraph.h: make operator= private unimplemented as long as
4416 * ParagraphList.C: whitespace
4419 * paragraph_pimpl.[Ch]:
4420 * paragraph_funcs.C:
4422 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
4425 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4427 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4429 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4430 * paragraph.[Ch] (erase):
4431 * paragraph_pimpl.[Ch] (erase): change return type and value
4432 * text2.C (cutSelection): some rework
4434 2003-04-28 John Levon <levon@movementarian.org>
4436 * bufferlist.C: changes for unsaved changes dialog
4438 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4440 * bufferlist.C (newFile): set language (messages_) for new
4443 * buffer.C (readFile): ws changes only.
4445 2003-04-28 André Pönitz <poenitz@gmx.net>
4450 * BufferView_pimpl.C:
4451 * BufferView.C: getParFromID related ParagraphList::iterator changes
4453 2003-04-28 André Pönitz <poenitz@gmx.net>
4455 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4458 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4460 * messages.C: remove one more localedir class variable.
4462 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4464 * messages.C (getLocaleDir): singleton generation function
4466 (Messages): add a default constructor.
4468 * main.C (main): do not setup localedir here, do not call
4471 * gettext.C (_): use it.
4472 (gettext_init): delete funciton
4474 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4476 * gettext.C (getLyXMessages): new singleton generating function.
4478 * buffer.C (updateDocLang): adjust
4480 * Makefile.am (messages.o): add target
4481 (main.o): remove target
4483 2003-04-27 John Levon <levon@movementarian.org>
4488 * lyxvc.C: specify cancel button in Alert::prompt
4490 2003-04-26 John Levon <levon@movementarian.org>
4495 * LyXAction.C: add LFUN_INSET_SETTINGS
4497 * lyxfunc.C: don't enable tabular-feature when there's
4498 just any locking inset
4500 2003-04-26 John Levon <levon@movementarian.org>
4502 * bufferlist.C: re-add Cancel to buffer close question
4504 * lyxfunc.C: fix import UI a bit
4506 2003-04-25 John Levon <levon@movementarian.org>
4508 * gettext.C: remove the broken asserts for now
4510 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4512 * messages.C: make case where setlocale cannot comply work better.
4514 * buffer.C (updateDocLang): new function
4515 (changeLanguage): use it
4518 * text2.C (setCounter): use B_ a bit.
4520 * lyxlayout.C (Read): be sure to trim the label strings.
4522 * messages.C (Messages): fix typo in comment
4524 * buffer.C (readFile): set message_ after file is loaded.
4525 (makeDocBookFile): remove double return
4526 (changeLanguage): reset message_ upon language change.
4527 (B_): new func, use this to get translated buffer strings.
4529 * main.C: add myself and Jean Marc as authors.
4531 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4533 * messages.[hC]: pimplify Messages, and three different pimpls to be
4534 used in different circumstances.
4536 * gettext.[Ch]: change for use with new message code.
4538 2003-04-24 André Pönitz <poenitz@gmx.net>
4540 * factory.C: support for eqref
4542 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4544 * messages.[Ch]: add missing char
4546 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4548 * messages.[Ch]: New files
4550 2003-04-18 John Levon <levon@movementarian.org>
4554 * BufferView_pimpl.C:
4558 * text2.C: remove layout-copy/paste (bug 778)
4560 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4562 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4564 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4566 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4567 if they succeed. Act accordingly.
4569 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4571 * text2.C (setCharFont): adjust
4572 (setCounter): adjust
4573 (insertStringAsLines): adjust
4575 * text.C (leftMargin): adjust
4576 (setHeightOfRow): adjust
4578 * rowpainter.C (paintFirst): adjust
4581 * paragraph_funcs.C (depthHook): ParagraphList::iterators
4583 (isFirstInSequence): ditto
4584 (getEndLabel): ditto
4587 * paragraph.C (getParLanguage): comment out some hard stuff.
4589 * buffer.C (insertStringAsLines): take a ParagraphList as arg
4591 (simpleDocBookOnePar): ditto
4592 (makeDocBookFile): use ParagraphList::iterator
4594 * CutAndPaste.C (pasteSelection): adjust
4596 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4598 * text2.C (getFont): adjust
4599 (getLayoutFont): adjust
4600 (getLabelFont): adjust
4602 * paragraph_funcs.C (TeXOnePar): adjust
4604 * buffer.C (simpleLinuxDocOnePar): adjust
4605 (simpleDocBookOnePar): adjust
4607 * CutAndPaste.C (pasteSelection): adjust
4609 * BufferView.C (getEncoding): adjust
4611 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4613 2003-04-16 John Levon <levon@movementarian.org>
4615 * lyxfind.C: use parlist stuff for search/changes
4617 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4619 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4621 * text2.C (deleteEmptyParagraphMechanism): adjust
4623 * text2.[Ch] (ownerParagraph): delete func (both of them
4625 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4627 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4629 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4631 * ParagraphList.C: prepare for NO_NEXT
4633 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4635 * text2.C (getFont): adjust
4636 (getLayoutFont): adjust
4637 (getLabelFont): adjust
4639 * paragraph.C (getFont): adjust
4640 (getLabelFont): adjust
4641 (getLayoutFont): adjust
4643 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4645 2003-04-15 John Levon <levon@movementarian.org>
4649 * lyx_main.C: handle Include in .ui files
4651 2003-04-15 John Levon <levon@movementarian.org>
4653 * MenuBackend.C: make the doc files length shorter
4656 * ToolbarBackend.C: handle toolbar placement flags,
4659 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4661 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4664 * paragraph_funcs.C (TeXOnePar): adjust
4666 * paragraph.C (getLabelFont): add outerfont arg, adjust
4667 (getLayoutFont): ditto
4668 (simpleTeXOnePar): adjust
4670 * paragraph_pimpl.C (realizeFont): delete func
4672 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
4674 * text2.C (beforeFullRowInset): added a bad getchar check, removed
4675 row argument, constify cur argument.
4677 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4679 * text2.C (getFont): adjust
4680 (getLayoutFont): adjust
4681 (getLabelFont): adjust
4683 * paragraph_funcs.C (TeXOnePar): adjust
4684 (outerFont): new func...
4685 (realizeFont): ...moved out from here, changed this to facilitate
4688 * paragraph.C (getFont): take outerfont as arg, adjust
4689 (simpleTeXOnePar): add outerfont arg, adjust
4691 * buffer.C (simpleLinuxDocOnePar): adjust
4692 (simpleDocBookOnePar): adjust
4694 * CutAndPaste.C (pasteSelection): adjust
4696 * BufferView.C (getEncoding): adjust
4698 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4700 * text2.C (setCharFont): adjust
4701 (setCounter): adjust
4703 * text.C (leftMargin): adjust
4704 (setHeightOfRow): adjust
4706 * rowpainter.C (paintFirst): adjust
4709 * paragraph_pimpl.C (realizeFont): adjust
4711 * paragraph.C (isFirstInSequence): move from here...
4712 * paragraph_funcs.C (isFirstInSequence): ...to here
4714 * paragraph.C (outerHook): move from here...
4715 * paragraph_funcs.C (outerHook): ...to here
4717 * paragraph.C (depthHook): move from here...
4718 * paragraph_funcs.C (depthHook): ...to here
4720 * paragraph.C (getEndLabel): move from here...
4721 * paragraph_funcs.C (getEndLabel): ...to here
4723 * text2.C (realizeFont): move from here...
4724 * paragraph_funcs.C (realizeFont): ...to here
4726 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4728 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4730 2003-04-14 Angus Leeming <leeming@lyx.org>
4732 * LColor.[Ch]: scrap LColor mathcursor.
4734 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4736 * lyxlex.[Ch] (text): delete function
4737 * trans.C (Load): adjust
4738 * paragraph_funcs.C (readParToken): adjust
4740 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4742 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4743 vector<char> instead of a char[].
4745 * lyxlex_pimpl.C (getString): adjust
4747 (lex): use getString
4751 * lyxlex.C (text): use pimpl_->getString()
4755 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4757 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4758 (makeFontEntriesLayoutSpecific): temp var for par.size()
4759 (setLayout): temp var for ownerParagraphs().end()
4760 (fullRebreak): temp var for rows().end()
4761 (selectionAsString): temp var for boost::next(startpit), realize
4762 that the while really is a regular for loop.
4763 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4764 setCursor in one place.
4765 (setParagraph): temp vr for ownerParagraphs().end()
4766 (updateCounters): make the while loop a for loop
4767 (cutSelection): temp var for ownerParagraphs().end()
4768 (updateInset): make the do {} while() a regular for loop
4769 (getCursorX): use temp vars
4770 (setCurrentFont): use temp vars
4771 (getColumnNearX): use temp vars
4773 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4775 * text.C (transformChar): use temp var for getChar
4776 (computeBidiTables): use temp var for row->par()
4777 (fill): move temp vars for row->par() and pit->layout() earlier in
4779 (labelFill): use temp var for row->par()
4780 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4781 asc and desc, realize that pit never changes and that firstpit is
4782 just a duplicate and not needed. Exchange rit->par() with pit in a
4784 (breakAgain): use a temp var for boost::next(rit)
4785 (breakAgainOneRow): ditto
4786 (breakParagraph): use a temp var for rows().begin()
4787 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4788 (cursorRightOneWord): use temp var for cursor.par() and
4789 cursor.pos(), remove usage of tmpcursor.
4790 (cursorLeftOneWord): use temp var for cursor.par() and
4791 cursor.pos() only set cur at end of function.
4793 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4795 * text.C, text2.C: exchange all usage of Paragraph::next with
4796 boost::next(ParagraphList::iterator)
4798 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4800 * text2.C (cursorTop): simplify implementation
4801 (cursorBottom): ditto
4802 (setParagraph): use ParagraphList::iterator
4803 (setCurrentFont): adjust
4804 (getColumnNearX): adjust
4805 (cursorRight): adjust
4806 (cursorLeft): remove usage of Paragraph::previous
4807 (cursorUpParagraph): ditto
4808 (deleteEmptyParagraphMechanism): slight cleanup
4810 * text.C (isBoundary): take a Paragraph const & instead of a
4812 (addressBreakPoint): ditto
4813 (leftMargin): remove usage of Paragraph::previous.
4814 (setHeightOfRow): ditto
4815 (cursorLeftOneWord): ditto
4816 (selectNextWordToSpellcheck): ditto
4819 (breakParagraph): remove one usage of Paragraph::next
4820 (redoParagraph): ditto
4821 (acceptChange): ditto
4822 (insertChar): adjust
4823 (rowBreakPoint): adjust
4825 * bufferview_funcs.C (toggleAndShow): adjust
4827 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
4829 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4830 methods to access it.
4832 * text.C: Added updateRowPositions to compute all row positions.
4833 Make top_y and getRowNearY() to use the cached y position
4835 2003-04-11 John Levon <levon@movementarian.org>
4837 * text.C (rowBreakPoint): reintroduce the labelEnd
4838 checks, code copied from the row fill stuff. Deep voodoo.
4840 * text.C (fill): add a comment and debugging for the
4843 2003-04-11 John Levon <levon@movementarian.org>
4845 * text.C: make sure fullrow insets get wrapped to the next line,
4846 even when they're in a manual label
4848 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4850 * text2.C (insertParagraph): make it take ParagraphList::iterator
4852 (setLayout): make it return ParagraphList::iterator
4853 (redoParagraphs): ditto
4855 (checkParagraph): ditto
4857 * text.C (getRow): make getrow take ParagraphList::iterator as arg
4859 * text2.C: adjust several funcs.
4860 (realizeFont): take a ParagraphList::iterator as arg.
4861 (getLayoutFont): ditto
4862 (getLabelFont): ditto
4863 (setCharFont): ditto
4865 * text.C: adjust several funcs.
4867 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4869 * text.C (selectNextWordToSpellcheck): don't accidentally
4872 2003-04-10 John Levon <levon@movementarian.org>
4874 * ToolbarBackend.C (getIcon): special handling for
4877 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4879 * text2.C (cursorRight): a getChar assert fixed
4881 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4883 * text2.C (getFont): change to take a ParagraphList::iterator
4884 instead of Paragraph*
4885 Adjust several functions.
4887 * text.C (transformChar): change to take a ParagraphList::iterator
4888 instead of Paragraph*
4889 (singleWidth): ditto
4890 Adjust several functions.
4892 * rowpainter.C: adjust several functions
4893 * rowpainter.h:store a ParagraphList::iterator and not a
4897 2003-04-09 John Levon <levon@movementarian.org>
4902 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4903 and the "help" bits as well
4905 2003-04-09 John Levon <levon@movementarian.org>
4908 * ToolbarBackend.C: allow multiple toolbars
4910 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4912 * undo_funcs.C (setCursorParUndo): adjust
4914 * text_funcs.C (transposeChars): adjust
4916 * text3.C (gotoNextInset): adjust
4919 * text2.C (setLayout): adjust
4920 (changeDepth): adjust
4922 (redoParagraphs): adjust
4923 (selectionAsString): adjust
4924 (setParagraph): adjust
4925 (insertInset): adjust
4926 (cutSelection): adjust
4927 (copySelection): adjust
4928 (pasteSelection): adjust
4929 (insertStringAsLines): adjust
4930 (updateInset): adjust
4931 (setCursor): change to take a ParagraphList::iterator parameter
4932 (setCursorIntern): change to take a ParagraphList::iterator parameter
4933 (setCurrentFont): adjust
4934 (cursorLeft): adjust
4935 (cursorRight): adjust
4936 (deleteEmptyParagraphMechanism): adjust
4938 * text.C (breakParagraph): adjust
4939 (insertChar): adjust
4940 (acceptChange): adjust
4941 (rejectChange): adjust
4942 (selectNextWordToSpellcheck): adjust
4943 (changeCase): adjust
4947 * lyxfind.C (SearchForward): adjust
4948 (SearchBackward): adjust
4949 (nextChange): adjust
4951 * lyxcursor.C (par): adjust
4953 * lyxcursor.h: store a ParagraphList::iterator instead of a
4956 * lyx_cb.C (getPossibleLabel): adjust
4958 * bufferview_funcs.C (toggleAndShow): adjust
4960 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4963 * BufferView.C (removeAutoInsets): adjust
4964 (lockedInsetStoreUndo): adjust
4966 2003-04-09 John Levon <levon@movementarian.org>
4968 * ToolbarBackend.C: try icon without argument
4969 if with argument fails
4971 2003-04-08 John Levon <levon@movementarian.org>
4974 * ToolbarBackend.C: add getIcon(), handle tooltip,
4975 and change from "Icon" to "Item".
4977 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4979 * BufferView.C (lockInset): another bad getchar crunched
4981 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4983 * text2.C (changeDepth): do not setUndo on test_only (make undo work
4986 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
4988 * lyxfind.C (searchForward, searchBackwards): bug 782
4990 2003-04-07 John Levon <levon@movementarian.org>
4992 * paragraph.C: remove dead comment
4994 * text.C: remove troublesome depth-fiddling code
4995 in leftMargin() and rightMargin() (bug 1017)
4997 * text.C: fix breaking of rows in nested lists
5000 * text2.C (updateCounters): fix up depth values
5003 2003-04-07 John Levon <levon@movementarian.org>
5005 * BufferView_pimpl.C: clear message when doc finishes resizing,
5006 and after a mouse event
5008 * lyxfunc.C: clear message after exiting inset
5010 2003-04-07 John Levon <levon@movementarian.org>
5012 * bufferview_funcs.C: show math status not outside
5013 status in the statusbar
5015 2003-04-07 John Levon <levon@movementarian.org>
5017 * lyxfunc.C: note status changed after a depth change
5019 2003-04-04 Angus Leeming <leeming@lyx.org>
5021 * LaTeX.h: move AuxInfo operator==, != out of line.
5022 Remove LaTeX virtual destructor; nothing derives from it.
5023 Move operator()() out of public area and rename it startscript().
5024 Change protected for private.
5026 2003-04-04 Angus Leeming <leeming@lyx.org>
5029 * text2.C: remove unneeded #includes.
5031 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5033 * text2.C (dEPM): fix the heigth of the next row
5035 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5037 * text.C: squashed an invalid getChar requester + some ws changes
5039 2003-04-03 John Levon <levon@movementarian.org>
5041 * bufferview_funcs.h:
5042 * bufferview_funcs.C:
5045 * text2.C: make getStatus work for the env depth lfuns
5047 2003-04-03 John Levon <levon@movementarian.org>
5049 * bufferview_funcs.h:
5050 * bufferview_funcs.C:
5053 * text2.C: parlistize decDepth(), by merging it with incDepth()
5055 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5057 * lyxrow.h: store a ParagraphList::iterator instead of a
5058 Paragraph* and adjust other class functions to suit.
5060 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5063 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5065 * text2.C (setCursor): do not anchor to cursor row for the time being
5067 2003-04-02 John Levon <levon@movementarian.org>
5074 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5076 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5078 * paragraph.h: make ParagraphList and ParagraphList::iterator
5079 friends of Paragraph.
5081 * buffer.C (makeLinuxDocFile): move towards ParagraphList
5083 * ParagraphList.C: Use the private next_ and previous_ from
5086 2003-04-01 John Levon <levon@movementarian.org>
5090 * Makefile.am: rename, remove defaults gunk
5093 * MenuBackend.C: remove defaults gunk
5096 * Languages.C: remove defaults gunk
5099 * lyx_main.C: error out if files couldn't be found.
5101 2003-04-02 John Levon <levon@movementarian.org>
5103 * text2.C: make incDepth() use parlist
5105 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5107 * undo_funcs.C (firstUndoParagraph): adjust
5109 * text3.C (gotoInset): adjust
5110 (dispatch): adjust, and rewrite loop.
5112 * text2.C (init): adjust, and rewrite loop.
5113 (redoParagraphs): adjust
5114 (updateInset): adjust, and rewrite loop.
5115 (deleteEmptyParagraphMechanism): adjust
5117 * tabular.C (LyXTabular): adjust
5118 (SetMultiColumn): adjust
5121 * lyxtext.[Ch] (ownerParagraph): delete function
5122 (ownerParagraphs): new function returns a ParagraphList.
5124 * BufferView.C (removeAutoInsets): adjust
5125 (insertErrors): adjust
5126 (setCursorFromRow): adjust
5128 2003-04-01 Angus Leeming <leeming@lyx.org>
5130 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5133 2003-04-02 John Levon <levon@movementarian.org>
5139 * text_funcs.C: make transposeChars a free function
5141 * lyxrow_funcs.C: remove wrong comment
5143 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5146 * rowpainter.C: adjust
5151 * lyxrow_funcs. [Ch]: new files
5153 * lyxrow.[Ch]: remove next and previous pointers
5154 (next,previous): remove accessor functions
5155 (isParEnd): move to lyxrow_funcs
5156 (lastPos): move to lyxrow_funcs
5157 (nextRowIsAllInset): move to lyxrow_funcs
5158 (lastPrintablePos): move to lyxrow_funcs
5159 (numberOfSeparators): move to lyxrow_funcs
5160 (numberOfHfills): move to lyxrow_funcs
5161 (numberOfLabelHfills): move to lyxrow_funcs
5162 (hfillExpansion): move to lyxrow_funcs
5166 * bufferview_funcs.C (toggleAndShow): adjust
5168 * RowList.h: Remove class RowList from file leave just a
5171 * RowList.C: delete file
5173 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5176 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5178 * text3.C (cursorPrevious): adjust
5179 (cursorNext): adjust
5182 * text2.C (redoHeightOfParagraph): adjust
5183 (redoDrawingOfParagraph): adjust
5186 * text.C (breakParagraph): adjust
5187 (insertChar): adjust
5190 * rowpainter.C (RowPainter): adjust
5191 (leftMargin): simplify and adjust
5192 (most rowpainter functions): adjust.
5194 * rowpainter.h: store the row as RowList::iterator not as Row*
5196 * lyxcursor.C (row): taka RowList::iterator as arg
5199 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5202 2003-04-01 Angus Leeming <leeming@lyx.org>
5204 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5205 stuff like bool Bool.
5207 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5209 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5212 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5214 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5217 * lyxtext.h (rows): drop one version and leve a const variant that
5218 returns a RowList::iterator.
5220 2003-03-31 Angus Leeming <leeming@lyx.org>
5222 * text.C (fill): ensure that the signature is the same as that in the
5225 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
5227 * text2.C (redoParagraphs): adjust
5228 (updateCounters): adjust
5229 (checkParagraph): adjust
5230 (getColumnNearX): adjust and reformat a bit.
5232 * text.C (top_y): adjust
5234 (leftMargin): adjust
5235 (prepareToPrint): adjust
5237 (getRowNearY): adjust
5239 * lyxtext.h: make rowlist_ mutable.
5241 * RowList.h: add const_iterator
5242 * RowList.C: adjust for RowList::const_iterator.
5244 * text2.C (getCursorX): make it take a RowList::iterator as arg,
5247 2003-03-31 John Levon <levon@movementarian.org>
5250 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5252 * lyx_main.C: set default fonts from using lyx_gui funcs
5254 * exporter.C: pdf_mode moved from lyxrc
5257 * lyxfunc.C: changes from above
5259 2003-03-31 John Levon <levon@movementarian.org>
5261 * lyx_main.C: fix to the last fix
5263 2003-03-31 John Levon <levon@movementarian.org>
5265 * bufferlist.C: "Load original" -> "Load Original"
5271 * format.C: more Alert cleanups
5273 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5275 * text2.C (removeParagraph): make it take a RowList::iterator as
5277 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5278 (postRowPaint): make it take a RowList::iterator as arg, adjust.
5280 * text.C (anchor_row): make it take a RowList::iterator as arg,
5282 (computeBidiTables): make it take a const reference to Row instead
5283 of Row pointer, adjust.
5284 (leftMargin): make it take a RowList::iterator as arg, adjust.
5285 (rowBreakPoint): adjust
5286 (breakAgainOneRow): make it take a RowList::iterator as arg,
5288 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5290 * bufferview_funcs.C (toggleAndShow): adjust
5292 2003-03-30 John Levon <levon@movementarian.org>
5296 * boost-inst.C: moved to support
5298 * several files: changes as a result
5300 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5302 * text2.C (LyXText): adjust.
5304 (removeRow): make it take a RowList::iterator as arg, adjust.
5305 (fullRebreak): adjust
5306 (deleteEmptyParagraphMechanism): adjust
5307 (clearPaint): adjust
5310 * text.C (top_y): adjust
5311 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5312 (breakAgain): make it take a RowList::iterator as arg, adjust.
5313 (breakParagraph): adjust
5314 (insertChar): adjust
5317 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5318 need_break_row, and refresh_row.
5320 * text3.C (dispatch): adjust
5322 * text2.C (checkParagraph): adjust
5324 (setCursorFromCoordinates): adjust
5326 * text.C (top_y): adjust
5328 (getRow): make it return a RowList::iterator, adjust
5329 (getRowNearY): make it return a RowList::iterator, adjust
5331 * text2.C (init): adjust
5332 (insertRow): remove function
5333 (insertParagraph): adjust
5334 (redoParagraphs): adjust
5335 (fullRebreak): adjust
5336 (updateCounters): adjust
5338 * text.C (top_y): rewrite to use RowList iterators.
5340 (setHeightOfRow): rewrite to sue RowList iterators.
5341 (appendParagraph): adjust
5342 (breakAgain): adjust
5343 (breakAgainOneRow): adjust
5344 (breakParagraph): adjust
5346 (getRowNearY): adjust, and remove commented code.
5348 * lyxtext.h (firstRow): delete function
5349 (lastRow): delete function
5350 (rows): new function (const and non-const versions.)
5351 (insertRow): delete function
5353 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5355 2003-03-29 John Levon <levon@movementarian.org>
5357 * BufferView_pimpl.C: always update scrollbar top
5358 because pasting text when we're anchored could mean we
5359 miss an update altogether
5361 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5363 * text2.C (init): use rowlist_.end() and not 0.
5364 (insertRow): change to take a RowList::iterator as arg, adjust
5366 (insertParagraph): change to take a RowList::iterator as arg,
5368 (redoParagraphs): remove some debug msgs.
5370 * text.C (appendParagraph): change to take a RowList::iterator
5371 arg, adjust for this.
5372 (breakAgain): add an assert
5373 (breakAgainOneRow): ditto
5375 2003-03-29 John Levon <levon@movementarian.org>
5377 * text2.C: do not clear selection after inc/decDepth
5380 2003-03-29 John Levon <levon@movementarian.org>
5383 * buffer.C: fix broken strerrors according to Lars
5385 2003-03-29 John Levon <levon@movementarian.org>
5387 * converters.C: more Alert cleanups
5389 2003-03-29 John Levon <levon@movementarian.org>
5391 * bufferview_funcs.C: remove pointless Alert
5393 * buffer.C: fix confusing error message when
5394 a template is chmoded 000
5396 2003-03-29 John Levon <levon@movementarian.org>
5400 * BufferView_pimpl.C: Alert fixes
5404 * tabular-old.C: remove unused table compat reading
5406 2003-03-29 John Levon <levon@movementarian.org>
5411 * lyx_cb.C: more Alert cleanups
5413 * lyxfunc.C: don't allow chktex if not latex document
5415 2003-03-29 John Levon <levon@movementarian.org>
5419 * buffer.C: warnings pushed down from support/,
5422 2003-03-29 John Levon <levon@movementarian.org>
5424 * lyxfunc.C: safety check for C-r (revert)
5426 2003-03-29 John Levon <levon@movementarian.org>
5429 * bufferlist.C: several UI fixes using Alert::prompt.
5430 Fix the pointless looping quit code. Fix stupid revert
5435 * lyx_cb.C: use Alert::prompt
5437 * lyx_main.C: remove a silly question
5439 * lyxfunc.C: remove a couple of silly questions,
5442 2003-03-28 John Levon <levon@movementarian.org>
5444 * text2.C: fix bug 974 (End on empty par)
5446 2003-03-28 John Levon <levon@movementarian.org>
5448 * BufferView_pimpl.C:
5450 * lfuns.h: remove do-nothing math greek lfuns
5452 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5454 * lyxgluelength.h (isValidGlueLength): add default arg on
5455 parameter 2. Remove default arg from friend in class.
5457 * lyxlength.h (isValidLength): add default arg on parameter 2.
5458 Remove default arg from friend in class.
5460 * text2.C (LyXText): adjust, initialize refresh_row.
5464 (insertParagraph): adjst
5465 (redoParagraphs): adjust
5466 (fullRebreak): adjust
5467 (updateCounters): adjust
5468 (deleteEmptyParagraphMechanism): first attempt at fixing a
5471 * text.C (top_y): adjust
5472 (setHeightOfRow): adjust
5474 (getRowNearY): adjust
5476 * lyxtext.h: include RowList.h
5477 (~LyXText): not needed anymore, deleted.
5478 (firstRow): modify for RowList
5479 (lastRow): new function
5480 Delete firstrow and lastrow class variables, add a Rowlist
5481 rowlist_ class variable.
5483 * lyxrow.C (lastPos): use empty() and not !size() to check if a
5486 * RowList.C (insert): fix case where it == begin().
5488 2003-03-26 Angus Leeming <leeming@lyx.org>
5490 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5491 the thesaurus dialog.
5493 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5495 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5497 * RowList.[Ch]: new files
5499 * ParagraphList.C (erase): handle the case where it == begin
5502 2003-03-25 John Levon <levon@movementarian.org>
5506 * aspell.C: add new aspell support
5509 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5512 2003-03-25 Angus Leeming <leeming@lyx.org>
5515 * LyXAction.C (init): new LFUN_INSET_INSERT.
5517 * BufferView_pimpl.C (dispatch): split out part of the
5518 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5520 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5523 2003-03-25 Angus Leeming <leeming@lyx.org>
5525 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5527 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5530 * text3.C: remove useless row->height(0)
5532 2003-03-25 John Levon <levon@movementarian.org>
5536 * text3.C: rename the refreshing stuff to better names
5538 2003-03-24 John Levon <levon@movementarian.org>
5540 * BufferView_pimpl.h:
5541 * BufferView_pimpl.C: update layout choice on a mouse
5544 2003-03-23 John Levon <levon@movementarian.org>
5546 * Makefile.am: fix commandtags.h reference
5548 2003-03-22 John Levon <levon@movementarian.org>
5550 * BufferView_pimpl.C:
5555 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5557 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5560 * text.C: take the rtl methods out of line
5562 2003-03-21 André Pönitz <poenitz@gmx.net>
5564 * metricsinfo.[Ch]: new files containing structures to be passed around
5565 during the two-phase-drawing...
5567 2003-03-21 André Pönitz <poenitz@gmx.net>
5569 * lyxtextclass.C: read 'environment' tag.
5571 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5573 * text2.C (removeRow): fix bug 964
5575 2003-03-20 John Levon <levon@movementarian.org>
5579 * text2.C: paint cleanups. Inset::update() dropped font
5582 2003-03-19 John Levon <levon@movementarian.org>
5584 * lyxfunc.C: only fitcursor/markDirty if available()
5586 2003-03-19 John Levon <levon@movementarian.org>
5588 * commandtags.h: rename to ...
5590 * lfuns.h: ... this, and renumber / cleanup
5592 2003-03-19 John Levon <levon@movementarian.org>
5594 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5595 fit the cursor after an lfun
5599 * BufferView_pimpl.h:
5600 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5602 * LyXAction.C: layout-character should have ReadOnly
5604 * ParagraphParameters.C:
5606 * bufferview_funcs.C:
5613 * undo_funcs.C: changes from above
5615 2003-03-18 John Levon <levon@movementarian.org>
5617 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5618 remove it from update()
5620 * lyxfunc.C: update layout choice after an lfun
5622 * text3.C: remove extra updateLayoutChoice()s
5624 2003-03-18 John Levon <levon@movementarian.org>
5626 * text.C: top_y change means full repaint, fix
5627 a drawing bug with cursor movement
5629 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5633 * text2.C: anchor row on setCursor
5635 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5637 * lyxtext.h: remove almost all mutable keywords
5640 * text3.C: remove const keywords accordingly
5642 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5644 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5646 (TeXEnvironment): ditto
5649 2003-03-17 John Levon <levon@movementarian.org>
5651 * text.C (rowBreakPoint): remove attempt to fix displayed
5652 math insets inside a manual label
5654 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5656 * lyxtext.h: remove BufferView* as first arg from almost all class
5658 * other files: adjust.
5660 2003-03-17 John Levon <levon@movementarian.org>
5664 * text2.C: more paint cleanups
5666 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5669 * rowpainter.C: remove "smart" background painting code
5671 2003-03-16 John Levon <levon@movementarian.org>
5676 * text3.C: add helper functions for setting refresh_row/y
5678 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
5680 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5681 newline inset which *can* get inserted in the pass_thru layouts.
5682 This is primarily for literate documents.
5684 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
5686 * buffer.C: increment LYX_FORMAT to 223
5688 2003-03-14 André Pönitz <poenitz@gmx.net>
5690 * textclass.h: prepare for environment handling, ws changes
5691 * lyxlayout.C: read latexheader and latexfooter tags
5693 2003-03-14 John Levon <levon@movementarian.org>
5695 * text2.C: rewrite ::status() a bit
5697 2003-03-13 John Levon <levon@movementarian.org>
5699 * lyxtext.h: add some docs
5701 2003-03-13 John Levon <levon@movementarian.org>
5706 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5708 2003-03-13 John Levon <levon@movementarian.org>
5710 * text3.C: fix appendix redrawing
5712 2003-03-13 John Levon <levon@movementarian.org>
5714 * text.C (setHeightOfRow):
5716 * rowpainter.C: make appendix mark have the text
5717 "Appendix" so the user knows what it is
5720 * LColor.C: s/appendixline/appendix/ from above
5722 2003-03-13 John Levon <levon@movementarian.org>
5724 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5726 * text.C: fix a getChar(pos) bug properly
5728 2003-03-13 Angus Leeming <leeming@lyx.org>
5731 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5732 Probably only temporary. Let's see how things pan out.
5734 * BufferView.C (unlockInset):
5735 * BufferView_pimpl.C (fitCursor):
5736 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5738 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5739 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5741 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5742 new functions that convert ParagraphParameters to and from a string.
5744 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5745 BufferView::Pimpl's dispatch.
5746 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5748 2003-03-13 André Pönitz <poenitz@gmx.net>
5752 * factory.C: make it aware of InsetEnv
5754 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5756 * text2.C (setCursor): never ask for one past last
5757 (setCursor): add some debugging messages.
5759 * text.C (singleWidth): never ask for one past last
5760 (singleWidth): ditto
5762 (rightMargin): ditto
5763 (rowBreakPoint): ditto
5764 (setHeightOfRow): ditto
5765 (prepareToPrint): ditto
5767 * rowpainter.C (paintBackground): never ask for one past last
5768 (paintText): never ask for one past last
5770 * paragraph_pimpl.C (getChar): make the assert stricter, never
5771 allow the one past last pos to be taken
5773 * paragraph.C (getChar): ws changes only
5775 * lyxrow.C (nextRowIsAllInset): never ask for one past last
5776 (numberOfSeparators): ditto
5777 (numberOfHfills): ditto
5779 2003-03-12 John Levon <levon@movementarian.org>
5785 * paragraph_funcs.C: fix per-buffer authorlists
5787 2003-03-12 John Levon <levon@movementarian.org>
5789 * text.C: fix newline in right address
5791 2003-03-12 Angus Leeming <leeming@lyx.org>
5793 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5794 duplicate those in LyXFunc::dispatch.
5798 * ToolbarDefaults.C:
5799 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5800 Add LFUN_FONTFREE_UPDATE.
5802 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5803 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5805 * bufferview_func.[Ch]: several new functions to facilliate
5806 transfer of data to and from the character dialog.
5808 2003-03-12 John Levon <levon@movementarian.org>
5813 * paragraph_funcs.C:
5814 * paragraph_pimpl.C:
5818 * text3.C: remove META_NEWLINE in favour of an inset
5821 * rowpainter.C: remove paintNewline (done by inset)
5823 2003-03-12 John Levon <levon@movementarian.org>
5825 * paragraph_pimpl.C: complain about bad getChar()s
5826 for a while at least
5828 2003-03-12 John Levon <levon@movementarian.org>
5831 * buffer.C: move paragraph read into a separate function,
5832 a little renaming to reflect that.
5835 * bufferparams.C: remove the author_ids map, not necessary now
5838 * factory.C: moved Buffer::readInset to here
5840 * paragraph_funcs.h:
5841 * paragraph_funcs.C: readParagraph free function moved from
5844 * tabular.C: name change
5846 2003-03-12 John Levon <levon@movementarian.org>
5849 * ParagraphParameters.C: move par params input to
5852 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5853 behave like a normal read from the stream wrt reading
5854 a line vs. a \\token
5856 2003-03-12 John Levon <levon@movementarian.org>
5859 * ParagraphParameters.h:
5860 * ParagraphParameters.C: move output code to a
5863 2003-03-12 John Levon <levon@movementarian.org>
5865 * BufferView.C (insertLyXFile):
5868 * tabular.C: use a parlist iterator for creating the
5871 2003-03-12 John Levon <levon@movementarian.org>
5873 * buffer.C: make current_change static local not
5876 2003-03-12 John Levon <levon@movementarian.org>
5878 * buffer.C: fix insertStringAsLines for change tracking
5880 2003-03-12 John Levon <levon@movementarian.org>
5887 * bufferparams.C: move author list into params. Rename some
5888 functions. Move the header reading into a separate token
5889 loop. Move the header token reading into BufferParams.
5891 2003-03-12 John Levon <levon@movementarian.org>
5893 * changes.C: put debug inside lyxerr.debugging() checks
5895 2003-03-11 André Pönitz <poenitz@gmx.net>
5897 * factory.C: make it aware of InsetHFill
5899 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5901 * buffer.C (latexParagraphs): move function from here...
5902 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5905 2003-03-10 Angus Leeming <leeming@lyx.org>
5907 * LyXAction.C (init): fix bug in poplating array with multiple entries
5908 with the same LFUN (spotted by JMarc).
5910 2003-03-10 John Levon <levon@movementarian.org>
5913 * text2.C: move getColumnNearX() near its
5916 2003-03-10 John Levon <levon@movementarian.org>
5918 * text.C: fix break before a minipage
5920 2003-03-10 John Levon <levon@movementarian.org>
5922 * text.C: fix the last commit
5924 2003-03-09 John Levon <levon@movementarian.org>
5928 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5929 bug 365 (don't break before insets unless needed). Don't
5930 return a value > last under any circumstances.
5932 2003-03-09 Angus Leeming <leeming@lyx.org>
5934 * BufferView_pimpl.C (trackChanges, dispatch): call
5935 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5937 2003-03-09 Angus Leeming <leeming@lyx.org>
5939 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5940 than Dialogs::showAboutlyx().
5942 2003-03-09 Angus Leeming <leeming@lyx.org>
5944 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5945 than Dialogs::showTabularCreate().
5947 2003-03-09 John Levon <levon@movementarian.org>
5951 * text2.C: 3rd arg to nextBreakPoint was always the same.
5954 2003-03-08 John Levon <levon@movementarian.org>
5961 * text2.C: Remove the "main" bit from the "main body"
5964 2003-03-08 John Levon <levon@movementarian.org>
5966 * text.C (leftMargin): The left margin of an empty
5967 manual label paragraph should not include the label width
5970 * text.C (prepareToPrint): don't attempt to measure hfills
5971 for empty manual label paragraphs - the answer should be 0
5973 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5975 * CutAndPaste.C: remove commented code and reindent.
5977 2003-03-08 John Levon <levon@movementarian.org>
5980 * lyxfunc.C: move reloadBuffer()
5983 * BufferView.C: to here
5985 * lyxvc.C: add comment
5988 * vc-backend.C: call bv->reload() to avoid
5989 getStatus() check on MENURELOAD
5991 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
5993 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5994 to an old format .dep file.
5996 2003-03-07 Angus Leeming <leeming@lyx.org>
5998 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5999 when the LFUN_MOUSE_RELEASE should have been handled by
6000 inset->localDispatch.
6002 2003-03-07 Angus Leeming <leeming@lyx.org>
6004 * BufferView_pimpl.C (dispatch):
6005 * LyXAction.C (init):
6006 * ToolbarDefaults.C (init):
6008 * lyxfunc.C (getStatus):
6009 remove LFUN_INSET_GRAPHICS.
6011 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6013 2003-03-07 Angus Leeming <leeming@lyx.org>
6016 * LyXAction.C (init):
6017 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6019 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6022 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6024 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6025 localDispatch method LFUN_INSET_DIALOG_UPDATE.
6027 2003-03-07 Angus Leeming <leeming@lyx.org>
6029 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6032 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6034 * ParagraphList.C (front): new function
6037 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
6039 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6040 and top_row_offset_. removed var first_y.
6042 * text2.C (LyXText, removeRow):
6044 * BufferView_pimpl.C:
6045 use these methods instead of using first_y
6047 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6049 * text2.C (pasteSelection): adjust for checkPastePossible
6051 * CutAndPaste.C: remove Paragraph * buf and replace with
6052 ParagraphList paragraphs.
6053 (DeleteBuffer): delete
6054 (cutSelection): change the tc type to textclass_type
6055 (copySelection): change the tc type to textclass_type
6056 (copySelection): adjust for ParagraphList
6057 (pasteSelection): change the tc type to textclass_type
6058 (pasteSelection): adjust for Paragraphlist
6059 (nrOfParagraphs): simplify for ParagraphList
6060 (checkPastePossible): simplify for ParagraphList
6061 (checkPastePossible): remove unused arg
6063 * ParagraphList.C (insert): handle the case where there are no
6066 * CutAndPaste.h: make CutAndPaste a namespace.
6068 * text3.C (dispatch): adjust
6070 * text.C (breakParagraph): add a ParagraphList as arg
6072 * paragraph_funcs.C (breakParagraph): change to take a
6073 BufferParams and a ParagraphList as args.
6074 (breakParagraphConservative): ditto
6075 (mergeParagraph): ditto
6076 (TeXDeeper): add a ParagraphList arg
6077 (TeXEnvironment): ditto
6080 * buffer.C (readLyXformat2): adjust
6081 (insertStringAsLines): adjust
6082 (latexParagraphs): adjust
6084 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6085 (cutSelection): adjust
6086 (pasteSelection): adjust
6088 * BufferView_pimpl.C (insertInset): adjust
6090 2003-03-05 Angus Leeming <leeming@lyx.org>
6093 * LyXAction.C (init):
6094 * BufferView_pimpl.C (dispatch):
6095 * lyxfunc.C (getStatus):
6096 remove LFUN_CHILD_INSERT.
6098 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6100 2003-03-05 Angus Leeming <leeming@lyx.org>
6103 * LyXAction.C (init):
6104 * src/factory.C (createInset):
6105 * lyxfunc.C (getStatus):
6106 * text3.C (dispatch):
6107 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6109 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6111 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6113 * ParagraphList.C (insert): handle insert right before end()
6114 (erase): fix cases where it can be first or last paragraph.
6116 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6118 * paragraph_funcs.C (TeXEnvironment): remove all usage of
6119 Paragraph::next and Paragraph::previous
6122 * text.C (breakParagraph): adjust
6124 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6125 BufferParams& as arg.
6126 (breakParagraph): use ParagraphList::insert
6127 (breakParagraphConservative): take a Buffer* instead of a
6128 BufferParams& as arg.
6129 (breakParagraphConservative): use ParagraphList::insert.
6131 * buffer.C (insertStringAsLines): un-const it
6132 (insertStringAsLines): adjust
6134 * ParagraphList.C (insert): new function
6136 * CutAndPaste.C (pasteSelection): adjust
6138 * text.C (backspace): adjust
6140 * tabular.C (SetMultiColumn): adjust
6142 * CutAndPaste.C (cutSelection): adjust
6143 (pasteSelection): adjust
6145 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6146 Buffer const * as arg
6148 * ParagraphList.C (erase): new function
6149 * paragraph_funcs.C (mergeParagraph): use it
6150 (mergeParagraph): make it take a Buffer* instead of a
6151 BufferParams* as arg
6153 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6155 (breakParagraphConservative): ditto
6157 * paragraph.h: remove the breakParagraph friend
6159 * paragraph.C (eraseIntern): new function
6160 (setChange): new function
6162 * paragraph_funcs.C (mergeParagraph): make it take a
6163 ParagraphList::iterator instead of a Paragraph *, adjust
6166 * paragraph.h: move an #endif so that the change tracking stuff
6167 also works in the NO_NEXT case.
6169 2003-03-04 Angus Leeming <leeming@lyx.org>
6172 * LyXAction.C: new LFUN_INSET_MODIFY.
6174 * BufferView_pimpl.C (dispatch): if an inset is found to be open
6175 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6177 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6179 * several files: ws changes only
6181 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6182 (TeXEnvironment): ditto
6185 * buffer.C (makeLaTeXFile): adjust
6186 (latexParagraphs): make it take ParagraphList::iterator as args
6188 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6190 * buffer.C (latexParagraphs): adjust
6192 * paragraph.C (TeXOnePar): move function...
6193 (optArgInset): move function...
6194 (TeXEnvironment): move function...
6195 * paragraph_pimpl.C (TeXDeeper): move function...
6196 * paragraph_funcs.C: ...here
6198 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6200 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6202 * buffer.C (readInset): remove compability code for old Figure and
6205 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6207 * buffer.C: ws changes
6210 * BufferView_pimpl.C: ditto
6213 * bufferlist.h: ditto
6217 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
6219 * converter.[Ch]: split into itself +
6222 * Makefile.am: += graph.[Ch] + format.[Ch]
6229 * lyxrc.C: added #include "format.h"
6231 2003-02-27 Angus Leeming <leeming@lyx.org>
6233 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6236 * factory.C (createInset): add "label" to the factory.
6238 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6239 string and do no more.
6241 2003-02-27 Angus Leeming <leeming@lyx.org>
6244 * LyXAction.C (init):
6245 * factory.C (createInset):
6246 * BufferView_pimpl.C (dispatch):
6247 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6249 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6251 * lyxfunc.C (dispatch):
6252 * text3.C (dispatch): pass name to params2string.
6254 2003-02-26 Angus Leeming <leeming@lyx.org>
6256 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6258 Rearrange the ~includes. Strip out the unnecessary ones.
6260 * factory.C (createInset): reformat.
6261 create new insets for the various LFUN_XYZ_APPLY lfuns.
6263 2003-02-26 John Levon <levon@movementarian.org>
6266 * lyxrow.C: add isParStart,isParEnd helpers
6268 * paragraph.h: make isInserted/DeletedText take refs
6270 * paragraph_funcs.h:
6271 * paragraph_funcs.C: remove #if 0'd code
6276 * text.C: use lyxrow helpers above.
6277 Move draw and paint routines to RowPainter.
6278 Make several methods use refs not pointers.
6279 Make backgroundColor() const.
6280 Add markChangeInDraw(), isInInset().
6281 Merge changeRegionCase into changeCase.
6282 Make workWidth() shouldn't-happen code into an Assert.
6285 * rowpainter.C: new class for painting a row.
6288 * vspace.C: make inPixels take a ref
6290 2003-02-26 Angus Leeming <leeming@lyx.org>
6292 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6295 2003-02-25 John Levon <levon@movementarian.org>
6297 * ispell.C: give the forked command a more accurate name
6299 2003-02-22 John Levon <levon@movementarian.org>
6302 * toc.C: make TocItem store an id not a Paragraph *
6305 2003-02-21 Angus Leeming <leeming@lyx.org>
6307 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6308 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6309 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6310 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6311 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6312 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6314 * BufferView_pimpl.C (dispatch):
6315 * LyXAction.C (init):
6316 * factory.C (createInset):
6317 * lyxfunc.C (getStatus, dispatch):
6318 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6320 2003-02-21 Angus Leeming <leeming@lyx.org>
6322 * BufferView_pimpl.C (MenuInsertLyXFile):
6323 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6324 * lyxfunc.C (menuNew, open, doImport):
6325 no longer pass a LyXView & to fileDlg.
6327 2003-02-21 Angus Leeming <leeming@lyx.org>
6329 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6330 * LyXAction.C: change, BIBKEY to BIBITEM.
6331 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6332 Change InsetBibKey to InsetBibitem.
6333 Change BIBKEY_CODE to BIBITEM_CODE.
6334 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6335 * factory.C: replace insetbib.h with insetbibitem.h.
6336 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6337 * paragraph.C: replace insetbib.h with insetbibitem.h.
6338 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6339 Change bibkey() to bibitem().
6340 * text.C: remove insetbib.h.
6341 * text2.C: replace insetbib.h with insetbibitem.h.
6342 change bibkey() to bibitem().
6343 * text3.C: remove insetbib.h.
6344 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6346 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6348 * lyxrc.C (output): enclose user email in quotes (in case there are
6351 2003-02-18 John Levon <levon@movementarian.org>
6353 * buffer.h: add std::
6355 2003-02-17 John Levon <levon@movementarian.org>
6361 * pspell.C: reworking. Especially in ispell, a large
6362 number of clean ups and bug fixes.
6364 * lyxfunc.C: fix revert to behave sensibly
6366 2003-02-17 André Pönitz <poenitz@gmx.net>
6369 * commandtags.h: new LFUN_INSERT_BIBKEY
6379 * paragraph_func.C: remove special bibkey handling
6381 2003-02-17 John Levon <levon@movementarian.org>
6383 * text.C (Delete): fix case where delete at the end of
6384 the very first paragraph would not merge the pars
6386 2003-02-17 John Levon <levon@movementarian.org>
6388 * lyxrow.C: fix lastPrintablePos()
6390 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6392 * bufferparams.C (writeLaTeX): add a std:here
6394 * buffer.C: and remove a using directive there
6396 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6398 * buffer.C (makeLaTeXFile): move the code that generates the
6401 * bufferparams.C (writeLaTeX): ... in this new method
6403 * LaTeXFeatures.C (getEncodingSet): make const
6404 (getLanguages): make const
6406 * MenuBackend.C (binding): returns the binding associated to this
6408 (add): sets the status of each item by calling getStatus. Adds
6410 (read): add support for OptSubMenu
6411 (expand): remove extra separator at the end of expanded menu
6413 2003-02-15 John Levon <levon@movementarian.org>
6416 * BufferView_pimpl.C:
6418 * bufferlist.C: remove pointless BufferStorage bloat. Remove
6419 inset code that had no actual effect. Remove unneeded status
6422 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6424 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6427 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
6429 * text.C (drawLengthMarker): also draw an arrow marker for
6430 symbolic lengths (medskip...)
6432 2003-02-14 John Levon <levon@movementarian.org>
6435 * tabular.C: better method names
6437 2003-02-14 John Levon <levon@movementarian.org>
6439 * BufferView_pimpl.C:
6444 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6445 it's a more accurate name. Remove some pointless uses.
6447 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6449 * text2.C (LyXText): change order of initilizers to shut off
6452 2003-02-14 John Levon <levon@movementarian.org>
6454 * buffer.C: use ParIterator for getParFromID()
6458 * paragraph_pimpl.h:
6459 * paragraph_pimpl.C: remove unused getParFromID()
6461 2003-02-14 John Levon <levon@movementarian.org>
6463 * buffer.C: remove some very old #if 0'd parse code
6465 2003-02-13 John Levon <levon@movementarian.org>
6469 * text2.C: move hfillExpansion(), numberOfSeparators(),
6470 rowLast(), rowLastPrintable(), numberofHfills(),
6471 numberOfLabelHfills() ...
6474 * lyxrow.C: ... to member functions here.
6479 * text.C: remove LyXText::beginningOfMainBody(), and call
6480 p->beginningOfMainBody() directly. Move the check for
6481 LABEL_MANUAL into the latter.
6488 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6494 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6495 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6497 2003-02-13 John Levon <levon@movementarian.org>
6499 * CutAndPaste.C: remove debug
6501 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6503 * paragraph.C (asString): remove two unused variables
6505 * lyxtextclass.C (readTitleType):
6507 (LyXTextClass): handle new members titletype_ and titlename_
6509 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6511 2003-02-09 John Levon <levon@movementarian.org>
6514 * buffer.C: replace hand-coded list with a map for the dep clean
6516 2003-02-08 John Levon <levon@movementarian.org>
6518 * LaTeX.C: consolidate code into showRunMessage() helper
6520 2003-02-08 John Levon <levon@movementarian.org>
6525 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6526 and pass the size in explicitly
6528 * BufferView_pimpl.h:
6529 * BufferView_pimpl.C:
6531 * BufferView.C: add getCurrentChange()
6533 * BufferView_pimpl.h:
6534 * BufferView_pimpl.C: handle change lfuns
6536 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6537 for changes. Mark pasted paragraphs as new.
6539 * support/lyxtime.h:
6540 * support/lyxtime.C:
6541 * DepTable.C: abstract time_t as lyx::time_type
6544 * LColor.C: add colours for new text, deleted text, changebars
6546 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6547 package use "usenames" option.
6551 * LyXAction.C: add change lfuns
6555 * author.C: author handling
6558 * buffer.C: add a per-buffer author list, with first entry as
6559 current author. Handle new .lyx tokens for change tracking. Output
6560 author list to .lyx file. Output dvipost stuff to .tex preamble.
6561 Bump lyx format to 222.
6564 * bufferlist.C: add setCurrentAuthor() to reset current author details
6568 * bufferparams.C: add param for tracking
6570 * bufferview_funcs.C: output change info in minibuffer
6574 * changes.C: add change-tracking structure
6577 * debug.C: add CHANGES debug flag
6580 * lyxfind.C: add code for finding the next change piece
6583 * lyxrc.C: add user_name and user_email
6586 * lyxrow.C: add a metric for the top of the text line
6589 * text.C: implement accept/rejectChange()
6592 * text.C: paint changebars. Paint new/deleted text in the chosen
6593 colours. Strike through deleted text.
6597 * paragraph_pimpl.h:
6598 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6599 in the current change to the insert functions. Rework erase to
6600 mark text as deleted, adding an eraseIntern() and a range-based
6601 erase(). Implement per-paragraph change lookup and
6604 * paragraph_funcs.C: Fixup paste for change tracking.
6606 * tabular.C: mark added row/columns as new.
6608 * text.C: fix rowLast() to never return -1. Don't allow
6609 spellchecking of deleted text. Track transpose changes. Don't
6610 allow paragraph break or merge where appropriate.
6612 * text2.C: leave cursor at end of selection after a cut.
6614 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6616 * text.C (getLengthMarkerHeight):
6617 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6618 visible on screen too.
6620 2003-02-07 John Levon <levon@movementarian.org>
6622 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6624 2003-02-05 Angus Leeming <leeming@lyx.org>
6626 * lyxserver.C (read_ready): revert my patch of 11 September last year
6627 as it sends PC cpu through the roof. Presumably this means that
6628 the lyxserver will no longer run on an Alpha...
6630 2003-01-30 Angus Leeming <leeming@lyx.org>
6632 * factory.C (createInset): create an InsetCommandParam of type "index"
6633 and use it to 'do the right thing'.
6635 * text2.C (getStringToIndex): ensure that cursor position is always
6636 reset to the reset_cursor position.
6638 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6640 * lyxfunc.C (getStatus): "buffer-export custom" should never be
6643 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
6647 * lyxfunc.C: Output messages with identical spelling, punctuation,
6650 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
6652 * MenuBackend.C (expandFormats): List only viewable export formats
6655 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6658 * lyxfunc.C (getStatus): Make sure that formats other than
6659 "fax" can also be disabled
6661 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6663 * text3.C (dispatch): put the lfuns that insert insets in 3
6664 groups, and call doInsertInset with appropriate arguments.
6665 (doInsertInset): new function, that creates an inset and inserts
6666 it according to some boolean parameters.
6668 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6670 * buffer.C (readFile): remember to pass on 'par' when calling
6671 readFile recursively.
6673 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6675 * MenuBackend.C (expandFormats): add "..." to import formats.
6677 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
6679 * paragraph.C (asString): Remove XForms RTL hacks.
6681 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
6682 * buffer.C: fix typo
6684 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6686 * Makefile.am (LIBS): delete var
6687 (lyx_LDADD): add @LIBS@ here instead.
6689 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
6691 * Clarify the meaning of "wheel mouse jump"
6693 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6695 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6698 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6700 * importer.C (Loaders): do not preallocate 3 elements in the
6701 vector, since one ends up with 6 elements otherwise
6703 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6705 * DepTable.C (write): write the file name as last element of the
6706 .dep file (because it may contain spaces)
6707 (read): read info in the right order
6709 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6711 * paragraph_pimpl.C (simpleTeXBlanks):
6712 (simpleTeXSpecialChars):
6713 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6715 * tabular.C (latex): add some missing case statements. Reindent.
6717 * MenuBackend.C (expandToc): remove unused variable.
6719 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
6728 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6731 2003-01-05 John Levon <levon@movementarian.org>
6734 * BufferView.C: add getEncoding()
6737 * kbsequence.C: do not store last keypress
6740 * lyxfunc.C: store last keypress here instead. Pass encoding
6743 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6745 * lyx_main.C (init): remove annoying error message when following
6746 symbolic links (bug #780)
6748 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6750 * text.C (insertChar):
6751 * lyxrc.C (getDescription): remove extra spaces
6753 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6755 * lyxrc.C (getDescription): remove extra spaces
6757 2002-12-20 John Levon <levon@movementarian.org>
6759 * text3.C: hack fix for page up/down across tall rows
6761 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6763 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6766 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6768 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6769 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6770 thesaurus is not compiled in
6772 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
6774 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
6776 2002-12-16 Angus Leeming <leeming@lyx.org>
6779 * lyx_main.C (init): remove override_x_deadkeys stuff.
6781 2002-12-12 John Levon <levon@movementarian.org>
6783 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6784 insert. Only remove shift modifier under strict
6787 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6789 * MenuBackend.C (expandToc): fix crash.
6791 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6793 * MenuBackend.C (expandToc): gettext on float names.
6795 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6797 * lyxlength.[Ch]: set default unit to UNIT_NONE,
6798 implement bool empty() [bug 490]
6800 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6802 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6804 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6806 * several files: ws changes
6808 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6810 * text2.C (setCounter): clean up a bit, use boost.format.
6811 (updateCounters): initialize par upon declaration.
6813 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6814 if the layout exists. We do not just store the layout any more.
6815 (SwitchLayoutsBetweenClasses): use boost.format
6817 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6819 * converter.C (convert): if from and to files are the same, use a
6820 temporary files as intermediary
6822 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6825 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6827 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
6829 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6831 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6833 * tabular.C (asciiPrintCell): use string(size, char) instead of
6836 * sgml.C (openTag): fix order of arguments to string constructor
6839 * lyxfunc.C (dispatch): use boost.format
6841 * lots of files: change "c" -> 'c'
6843 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
6845 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6847 2002-11-25 Angus Leeming <leeming@lyx.org>
6849 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6851 * lyx_main.C (init): compile fix.
6853 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6855 * lyx_cb.C (start): boost.formatify
6856 do not include <iostream>
6858 * lengthcommon.C: ws only
6860 * boost-inst.C,BoostFormat.h: add more explict instantations
6862 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6864 * lots of files: handle USE_BOOST_FORMAT
6866 2002-11-21 John Levon <levon@movementarian.org>
6868 * pspell.C: fix compile
6870 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6872 * lyxfunc.C (dispatch): use boost::format
6876 * lyxfont.C (stateText): use boost::format
6878 * lyx_main.C (LyX): use boost::format
6880 (queryUserLyXDir): ditto
6883 (typedef boost::function): use the recommened syntax.
6885 * importer.C (Import): use boost::format
6887 * debug.C (showLevel): use boost::format
6889 * converter.C (view): use boost::format
6894 * bufferview_funcs.C (currentState): use boost::format
6896 * bufferlist.C (emergencyWrite): use boost::format
6898 * buffer.C (readLyXformat2): use boost::format
6899 (parseSingleLyXformat2Token): ditto
6901 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6903 * LaTeX.C (run): use boost::format
6905 * Chktex.C (scanLogFile): use boost::format
6907 * BufferView_pimpl.C (savePosition): use boost::format
6908 (restorePosition): ditto
6909 (MenuInsertLyXFile): ditto
6911 * BoostFormat.h: help file for explicit instation.
6913 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
6915 * tabular.C (latex): Support for block alignment in fixed width
6918 2002-11-17 John Levon <levon@movementarian.org>
6920 * BufferView_pimpl.C:
6922 * lyxfunc.C: split filedialog into open/save
6924 2002-11-08 Juergen Vigna <jug@sad.it>
6926 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6927 by my last patch (hopefully).
6929 2002-11-08 John Levon <levon@movementarian.org>
6938 * toc.C: ParConstIterator, and use it (from Lars)
6940 2002-11-07 Ben Stanley <bds02@uow.edu.au>
6942 * lyxtextclass.[Ch]: revise and add doxygen comments
6944 2002-11-07 John Levon <levon@movementarian.org>
6946 * text.C: fix progress value for spellchecker
6948 * toc.C: fix navigate menu for insetwrap inside minipage
6950 * paragraph_funcs.C: added FIXME for suspect code
6952 2002-11-07 John Levon <levon@movementarian.org>
6954 * BufferView_pimpl.C: fix redrawing of insets
6957 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6959 * text2.C (updateCounters): fix bug 668
6961 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
6963 * text3.C (dispatch): Do not make the buffer dirty when moving the
6966 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6968 * vc-backend.C: STRCONV
6971 * text2.C (setCounter): STRCONV
6973 * paragraph.C (asString): STRCONV
6975 * lyxlength.C (asString): STRCONV
6976 (asLatexString): ditto
6978 * lyxgluelength.C (asString): STRCONV
6979 (asLatexString): ditto
6981 * lyxfunc.C (dispatch): STRCONV
6984 * lyxfont.C (stateText): STRCONV
6986 * importer.C (Import): STRCONV
6988 * counters.C (labelItem): STRCONV
6989 (numberLabel): ditto
6990 (numberLabel): remove unused ostringstream o
6995 * bufferview_funcs.C (currentState): STRCONV
6997 * buffer.C (readFile): STRCONV
6998 (asciiParagraph): ditto
6999 (makeLaTeXFile): ditto
7001 * Spacing.C (writeEnvirBegin): STRCONV
7003 * LaTeXFeatures.C (getLanguages): STRCONV
7004 (getPackages): ditto
7006 (getBabelOptions): ditto
7007 (getTClassPreamble): ditto
7008 (getLyXSGMLEntities): ditto
7009 (getIncludedFiles): ditto
7013 (scanAuxFile): ditto
7016 * LString.h: add the STRCONV macros
7018 * BufferView_pimpl.C (savePosition): STRCONV
7019 (restorePosition): ditto
7020 (MenuInsertLyXFile): ditto
7022 * vc-backend.C (scanMaster): change from submatch[...] to
7025 * funcrequest.C: include config.h
7027 * factory.C: include config.h
7029 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7031 * box.C: include config.h
7033 * LaTeX.C (scanAuxFile): change from submatch[...] to
7037 2002-10-25 Angus Leeming <leeming@lyx.org>
7039 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7041 * ispell.[Ch] (setError): new method.
7042 * ispell.C (c-tor): move out child process into new class LaunchIspell.
7043 Use setError() insetead of goto END.
7045 * lyx_cb.C (AutoSave): move out child process into new class
7048 2002-10-30 John Levon <levon@movementarian.org>
7050 * text3.C: make start appendix undoable
7052 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
7054 * lyxlength.C (inPixels): Fix returned value.
7056 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7059 2002-10-24 Angus Leeming <leeming@lyx.org>
7061 * lyxgluelength.h: no need to forward declare BufferParams
7062 or BufferView, so don't.
7064 2002-10-21 John Levon <levon@movementarian.org>
7066 * BufferView.C: menuUndo ->undo, redo
7068 * BufferView.h: document, remove dead, make some methods private
7070 * paragraph_funcs.h:
7071 * paragraph_funcs.C:
7072 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7077 * sgml.C: move sgml open/close tag into sgml.C
7079 * bufferview_funcs.h: unused prototype
7082 * lyxfunc.C: remove unused
7085 * text.C: remove unused
7087 2002-10-21 John Levon <levon@movementarian.org>
7091 * BufferView_pimpl.h:
7092 * BufferView_pimpl.C: fix mouse wheel handling based on
7093 patch from Darren Freeman
7095 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
7097 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7099 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
7101 * lyxlength.C (inPixels): Fix hanfling of negative length.
7102 Fix LyXLength::MU case.
7104 2002-10-16 John Levon <levon@movementarian.org>
7106 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7108 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7110 * converter.C (view): add support for $$i (file name) and $$p
7111 (file path) for the viewer command. If $$i is not specified, then
7112 it is appended to the command (for compatibility with old syntax)
7114 2002-10-14 Juergen Vigna <jug@sad.it>
7116 * undo_funcs.C (textHandleUndo): alter the order in which the
7117 new undopar is added to the LyXText, as we have to set first
7118 the right prev/next and then add it as otherwise the rebuild of
7119 LyXText is not correct. Also reset the cursor to the right paragraph,
7120 with this IMO we could remove the hack in "redoParagraphs()".
7122 2002-10-09 Angus Leeming <leeming@lyx.org>
7124 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7125 to turn off an optimisation if a new inset is to be inserted.
7127 2002-10-11 André Pönitz <poenitz@gmx.net>
7129 * lyxtext.h: make some functions public to allow access
7130 from inset/lyxtext for handling LFUN_PRIOR/NEXT
7132 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7134 * text3.C (dispatch): when changing layout, avoid an infinite loop
7137 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7139 * lyxrc.C (read): treat a viewer or converter command of "none" as
7142 * MenuBackend.C (expandFormats): for an update, also allow the
7143 formats that are not viewable
7145 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7146 script if it is newer than the lyxrc.defaults in user directory
7148 2002-10-07 André Pönitz <poenitz@gmx.net>
7150 * text.C: Vitaly Lipatov's small i18n fix
7152 2002-09-25 Angus Leeming <leeming@lyx.org>
7154 * ispell.h: doxygen fix.
7156 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
7158 * buffer.h (readFile): Add a new argument to the method, to allow
7159 reading of old-format templates.
7161 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
7163 * toc.C (getTocList): Get TOC from InsetWrap.
7165 2002-09-16 John Levon <levon@movementarian.org>
7167 * lyxfunc.C: check tabular for cut/copy too
7169 2002-09-12 John Levon <levon@movementarian.org>
7174 * factory.C: add header
7176 * paragraph_funcs.h:
7177 * paragraph_funcs.C: cleanup
7179 2002-09-11 John Levon <levon@movementarian.org>
7181 * PrinterParams.h: odd/even default to true
7183 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
7185 * PrinterParams.h: update printer parameters for new xforms dialog
7187 2002-09-11 Angus Leeming <leeming@lyx.org>
7189 * lyxserver.C (read_ready): re-write to make it more transparent
7190 and to make it work in coherent fashion under Tru64 Unix.
7192 2002-09-11 André Pönitz <poenitz@gmx.net>
7196 * text3.C: implement LFUN_WORDSEL
7198 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7200 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7201 make floatlist_ a boost::shared_ptr<FloatList>
7203 * lyxtextclass.C: include FloatList.h
7204 (LyXTextClass): initialize floatlist_
7205 (TextClassTags): add TC_NOFLOAT
7206 (Read): match "nofloat" to TC_NOFLOAT and use it.
7207 (readFloat): modify call to floatlist_
7211 * FloatList.[Ch] (FloatList): remove commented out float
7213 (erase): new function
7215 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7217 * MenuBackend.C (expandToc): fix crash when there is no document
7220 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
7222 * many files: Add insetwrap.
7224 2002-09-09 John Levon <levon@movementarian.org>
7226 * text2.C: remove confusing and awkward depth wraparound
7228 2002-09-09 John Levon <levon@movementarian.org>
7230 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7233 * buffer.C: remove getIncludeonlyList()
7236 * lyxfunc.C: remove headers
7238 2002-09-09 Juergen Vigna <jug@sad.it>
7240 * text.C (getColumnNearX): fix form Michael this is most
7241 probably a cut&paste bug.
7243 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7245 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7247 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7248 references, ws changes.
7250 * text2.C (init): update counters after init
7251 (insertParagraph): no need to set counter on idividual paragraphs.
7252 (setCounter): access the counters object in the textclass object
7253 on in the buffer object.
7254 (updateCounters): ditto
7256 * lyxtextclass.C: include counters.h, add variable ctrs_ as
7257 shared_ptr<Counters> to avoid loading counters.h in all
7259 (LyXTextClass): initialize ctrs_
7260 (TextClassTags): add TC_COUNTER, and ...
7261 (Read): use it here.
7262 (CounterTags): new tags
7263 (readCounter): new function
7264 (counters): new funtion
7265 (defaultLayoutName): return a const reference
7267 * counters.C (Counters): remove contructor
7268 (newCounter): remove a couple of unneeded statements.
7269 (newCounter): simplify a bit.
7270 (numberLabel): some small formatting changes.
7272 * buffer.[Ch]: remove all traces of counters, move the Counters
7273 object to the LyXTextClass.
7275 2002-09-06 Alain Castera <castera@in2p3.fr>
7277 * tabular.C: uses \tabularnewline; uses >{...} construct from array
7278 package to set the horizontal alignment on fixed width columns.
7281 * lyx_sty.h: added tabularnewline macro def.
7283 * LaTeXFeatures.C: added NeedTabularnewline macro feature
7285 2002-09-06 John Levon <levon@movementarian.org>
7287 * LyXAction.C: tooltips for sub/superscript
7289 * MenuBackend.C: a bit more verbose
7291 * lyxfunc.C: tiny clean
7293 * undo_funcs.C: document undo_frozen
7295 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7297 * counters.C (Counters): add missing algorithm counter.
7299 * text2.C (setCounter): lookup the counter with layouts latexname
7300 instead of by section number.
7301 (setCounter): use a hackish way to lookup the correct enum
7303 a float name->type change
7304 reset enum couners with counter name directly instead of depth value.
7306 * counters.C (Counters): remove the push_backs, change to use the
7307 float type not the float name.
7308 (labelItem): remove unused string, float name->type change
7310 * counters.h: don't include vector, loose the enums and sects vectors
7312 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7314 * lyxtextclass.C (TextClassTags): add TC_FLOAT
7315 (Read): add float->TC_FLOAT to textclassTags
7316 (Read): and handle it in the switch
7317 (readFloat): new function
7319 * FloatList.C (FloatList): comment out the hardcoded float
7322 * lyxlayout.h: ws change.
7324 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
7326 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7328 2002-09-03 Angus Leeming <leeming@lyx.org>
7330 * BufferView_pimpl.h: qualified name is not allowed in member
7331 declaration: WorkArea & Pimpl::workarea() const;
7333 * factory.C: added using std::endl directive.
7335 * text3.C: added using std::find and std::vector directives.
7337 2002-08-29 André Pönitz <poenitz@gmx.net>
7340 * text2.C: remove unused member number_of_rows
7343 * BufferView2.C: remove file, move contents to...
7344 * BufferView.C: ... here
7346 * BufferView_pimpl.C:
7347 * factory.C: move more inset creation to factory
7349 * vspace.C: avoid direct usage of LyXText, ws changes
7352 don't provide direct access to WorkArea, use two simple
7353 acessors haveSelction() and workHeight() instead
7356 2002-08-29 John Levon <levon@movementarian.org>
7358 * BufferView_pimpl.C (dispatch): do not continue when
7361 2002-08-28 André Pönitz <poenitz@gmx.net>
7363 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7366 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7368 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
7370 * buffer.C: increment LYX_FORMAT to 221
7372 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7373 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7375 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7377 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7379 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7381 * factory.C (createInset): use LyXTextClass::floats
7383 * MenuBackend.C (expandFloatListInsert):
7384 (expandFloatInsert):
7387 * text2.C (setCounter):
7389 * LaTeXFeatures.C (useFloat):
7390 (getFloatDefinitions):
7392 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7394 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7395 floatlist_, with accessor floats().
7397 * FloatList.h: remove global FloatList
7399 2002-08-26 André Pönitz <poenitz@gmx.net>
7401 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7405 * BufferView_pimpl.C:
7406 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7408 2002-08-25 John Levon <levon@movementarian.org>
7410 * LyXAction.C: fix margin note description
7412 2002-08-24 John Levon <levon@movementarian.org>
7416 * bufferview_funcs.C:
7418 * undo_funcs.C: cleanups
7420 * lyxfunc.C: disable CUT/COPY when no selection
7422 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
7424 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7425 in "enum UNIT"; e.g. PTW for Percent of TextWidth
7427 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7428 Add backward compatibility to "mono", "gray" and "no".
7430 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
7432 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7433 (and file_format >= 200).
7435 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7437 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7439 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7441 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7443 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
7445 * BufferView_pimpl.C:
7452 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7453 inset and code to make it work with the paragraph code. The inset
7454 can be anywhere in the paragraph, but will only do the expected
7455 thing in LaTeX if the layout file contains the parameter line
7457 (or more generally, a nonzero value) for that layout.
7459 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7461 * paragraph.h: remove the declaration of undefined counters class
7464 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
7466 * text2.C (setCounter): fixed enumeration mis-count as reported by
7467 Dr. Richard Hawkins.
7469 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7471 * paragraph_funcs.h: remove some unneeded includes
7473 * text.C (backspace): pasteParagraph now in global scipe
7475 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7476 (pasteSelection): ditto
7478 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7479 * paragraph_funcs.C (pasteParagraph): ... here
7481 2002-08-20 André Pönitz <poenitz@gmx.net>
7483 * commandtags.h: new LFUNs for swapping/copying table row/colums
7486 * lyxfunc.C: support for new lfuns
7488 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7491 * buffer.[Ch]: remove NO_COMPABILITY stuff
7493 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
7495 * boost.C (throw_exception): new file, with helper function for
7496 boost compiled without exceptions.
7501 * ParameterStruct.h:
7502 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7504 * bufferlist.C (emergencyWriteAll): use boost bind
7506 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7508 * text.C: include paragraph_funcs.h
7509 (breakParagraph): breakParagraph is now in global scope
7511 * paragraph_funcs.[Ch]: new files
7513 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7516 * buffer.C: include paragraph_funcs.h
7517 (insertStringAsLines): breakParagraph is now in global scope
7519 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7522 * CutAndPaste.C: include paragraph_funcs.h
7523 (cutSelection): breakParagraphConservative is now in global scope
7524 (pasteSelection): ditto
7526 * buffer.h: declare oprator== and operator!= for
7527 Buffer::inset_iterator
7529 * bufferlist.C (emergencyWrite): don't use fmt(...)
7531 * text3.C: add using std::endl
7533 * BufferView.C (moveCursorUpdate): remove default arg
7535 2002-08-20 André Pönitz <poenitz@gmx.net>
7537 * buffer.[Ch]: move inline functions to .C
7540 * BufferView_pimpl.C:
7542 * buffer.[Ch]: use improved inset_iterator
7545 * paragraph.[Ch]: write one paragraph at a time
7547 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7549 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7550 style if style is not specified.
7552 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7554 * text2.C (setCounter): when searching for right label for a
7555 caption, make sure to recurse to parent insets (so that a caption
7556 in a minipage in a figure float works) (bug #568)
7558 2002-08-20 André Pönitz <poenitz@gmx.net>
7560 * text3.C: new file for LyXText::dispatch() and helpers
7562 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7564 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7566 2002-08-19 André Pönitz <poenitz@gmx.net>
7569 * text.C: new LyXText::dispatch()
7571 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7573 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7575 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7577 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7580 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7582 * Makefile.am: use $(variables) instead of @substitutions@
7584 2002-08-15 André Pönitz <poenitz@gmx.net>
7587 * BufferView_pimpl.C: streamlining mathed <-> outer world
7591 * LyXAction.C: remove unused LFUN_MATH
7593 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7595 * paragraph.[Ch]: add some NO_NEXT ifdefs.
7597 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7599 * paragraph.C (Paragraph): reformat a bit
7600 (cutIntoMinibuffer): use builtin InsetList function instad of
7604 * buffer.C: include boost/bind.hpp, add using std::for_each
7605 (writeFileAscii): use ParagraphList iterators
7606 (validate): use for_each for validate traversal of paragraphs
7607 (getBibkeyList): use ParagraphList iterators
7608 (resizeInsets): use for_each to resizeInsetsLyXText for all
7610 (getParFromID): use ParagraphList iterators
7612 * BufferView2.C (lockInset): use paragraph list and iterators
7614 2002-08-14 John Levon <levon@movementarian.org>
7616 * lyxserver.C: remove spurious xforms include
7618 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7620 * lyxfunc.C (getStatus): disable math-extern outside of math mode
7622 2002-08-13 André Pönitz <poenitz@gmx.net>
7625 * lyxfunc.C: further cleaning
7627 2002-08-13 André Pönitz <poenitz@gmx.net>
7629 * funcrequest.h: new constructor
7631 * funcrequest.C: move stuff here from .h
7634 * BufferView_pimpl.C:
7637 * lyxfunc.C: subsequent changes
7639 * lyxfunc.h: new view() member function
7641 * lyxfunc.C: subsequent changes
7643 2002-08-13 Angus Leeming <leeming@lyx.org>
7646 * BufferView_pimpl.C:
7654 changes due to the changed LyXView interface that now returns references
7655 to member variables not pointers.
7657 2002-08-13 Angus Leeming <leeming@lyx.org>
7659 * WordLangTuple (word, lang_code): return references to strings,
7664 * lyxtext.h: forward-declare WordLangTuple.
7669 * text.C: #include "WordLangTuple.h".
7672 * text.C: (selectNextWordToSpellcheck): constify return type.
7674 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
7680 * paragraph_pimpl.h:
7683 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7685 Made updateCounter always count from start of buffer, and removed
7686 second argument (par).
7687 Reverted floats number display to '#'. Perhaps I'll try again when the
7688 code base is sanitized a bit.
7690 2002-08-12 Angus Leeming <leeming@lyx.org>
7692 * buffer.[Ch] (getLabelList): constify.
7694 2002-08-07 André Pönitz <poenitz@gmx.net>
7696 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7698 * funcrequest.h: extension to keep mouse (x,y) position
7700 2002-08-12 Juergen Vigna <jug@sad.it>
7702 * BufferView2.C (insertErrors): forbid undo when inserting error
7705 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7707 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7709 * ParagraphList.[Ch]: new files
7711 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7713 * BufferView2.C (lockInset): ParagraphList changes
7716 * bufferlist.C: ditto
7720 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7722 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7723 unused class variable counter_,
7725 * paragraph.[Ch] (getFirstCounter): delete unused function
7727 * counters.C: include LAssert.h
7728 (reset): add a new function with no arg, change other version to
7729 not have def. arg and to not allow empty arg.
7731 * text2.C (setCounter): remove empty arg from call to Counters::reset
7733 2002-08-11 John Levon <levon@movementarian.org>
7735 * Makefile.am: add WordLangTuple.h
7737 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7739 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7740 lyxfunc.C lyxlex_pimpl.C: ws changes only.
7742 * insets/insettext.C: InsetList changes
7744 * graphics/GraphicsSupport.C (operator()): InsetList changes
7746 * toc.C (getTocList): InsetList changes
7748 * paragraph_pimpl.[Ch]: InsetList changes
7750 * paragraph.[Ch]: InsetList changes
7752 * buffer.C (inset_iterator): InsetList changes
7753 (setParagraph): ditto
7754 * buffer.h (inset_iterator): ditto
7755 * iterators.C (operator++): ditto
7756 * iterators.h: ditto
7758 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7760 * InsetList.[Ch]: new files, most InsetList handling moved out of
7763 * BufferView2.C (removeAutoInsets): InsetList changes
7765 (ChangeInsets): ditto
7767 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7769 * paragraph_pimpl.h (empty): new function
7771 * paragraph.[Ch] (empty): new function
7773 * other files: use the new Paragraph::empty function
7775 2002-08-09 John Levon <levon@movementarian.org>
7777 * lyxtext.h: remove unused refresh_height
7779 2002-08-09 John Levon <levon@movementarian.org>
7786 * paragraph.C: move sgml char escaping out of paragraph
7789 * paragraph.C: remove id setter
7793 * paragraph_pimpl.C: remove dead tex_code_break_column
7795 * bufferview_funcs.C: small cleanup
7797 * lyxfunc.C: remove dead proto
7799 * lyxtext.h: make some stuff private. Remove some dead stuff.
7801 * lyxgluelength.C: make as[LyX]String() readable
7803 2002-08-08 John Levon <levon@movementarian.org>
7808 * ToolbarDefaults.C:
7811 * toc.C: lyxaction cleanup
7813 2002-08-08 John Levon <levon@movementarian.org>
7815 * BufferView2.C: small cleanup
7818 * lyxfind.C: move unnecessary header into the .C
7820 2002-08-08 John Levon <levon@movementarian.org>
7822 * funcrequest.h: just tedious nonsense
7825 * lyx_main.C: cleanups
7828 * vspace.C: remove dead header lyx_main.h
7830 2002-08-07 Angus Leeming <leeming@lyx.org>
7833 * paragraph_pimpl.h:
7834 Forward declare class Counters in paragraph.h by moving the ctrs member
7835 variable into Paragraph::Pimpl.
7836 (counters): new method, returning a reference to pimpl_->ctrs.
7838 * text2.C: ensuing changes.
7840 2002-08-07 John Levon <levon@movementarian.org>
7842 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7844 * BufferView_pimpl.C: announce X selection on double/triple
7847 * lyx_main.C: use correct bool in batch dispatch
7849 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7851 2002-08-07 André Pönitz <poenitz@gmx.net>
7853 * funcrequest.h: new class to wrap a kb_action and its argument
7856 * BufferView_pimpl[Ch]:
7860 * lyxrc.C: subsequent changes
7863 2002-08-07 John Levon <levon@movementarian.org>
7865 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7866 document options change.
7868 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7873 * makefile.am: move counters functionality over from
7874 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7876 2002-08-06 John Levon <levon@movementarian.org>
7878 * WordLangTuple.h: new file for word + language code tuple
7889 * BufferView2.C: use WordLangTuple
7892 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7894 2002-08-06 John Levon <levon@movementarian.org>
7896 * lyx_main.C: fix cmdline batch handling
7898 2002-08-06 André Pönitz <poenitz@gmx.net>
7900 * lyxrc.C: set default for show_banner to true
7902 2002-08-06 John Levon <levon@movementarian.org>
7904 * pspell.C: fix a crash, and allow new aspell to work
7906 2002-08-06 John Levon <levon@movementarian.org>
7909 * kbmap.C: small cleanup
7912 * vspace.C: add const
7914 2002-08-05 John Levon <levon@movementarian.org>
7916 * LyXAction.C: back to tabular-insert
7918 2002-08-04 John Levon <levon@movementarian.org>
7921 * BufferView.C: cosmetic change
7923 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7933 * BufferView2.C: purge all "Lyx" not "LyX" strings
7936 * lyxcursor.C: attempt to add some documentation
7941 * ToolbarDefaults.C:
7942 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7943 merge with LFUN_TABULAR_INSERT
7950 * pspell.C: split up i/pspell implementations into separate
7951 files, many cleanups
7953 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7955 * text2.C: some cleanup
7957 * lyxfunc.C: don't check for isp_command == "none" any more, it
7958 didn't make any sense
7960 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7965 * makefile.am: move counters functionality over
7966 from text2.C/paragraph.[Ch] to counters.[Ch], and
7968 2002-08-02 John Levon <levon@movementarian.org>
7970 * buffer.C: s/lyxconvert/lyx2lyx/
7972 2002-08-02 Angus Leeming <leeming@lyx.org>
7974 * lyxlex.C: revert John's change as it breaks reading of the user
7977 2002-08-02 Angus Leeming <leeming@lyx.org>
7979 * importer.C (Import):
7980 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7981 changes due to LyXView::view() now returning a boost::shared_ptr.
7983 2002-08-02 John Levon <levon@movementarian.org>
7985 * lyxlex.C: small cleanup
7987 2002-08-02 John Levon <levon@movementarian.org>
7989 * text2.C (status): small cleanup, no logic change
7991 2002-08-01 John Levon <levon@movementarian.org>
7994 * buffer.C (writeFile): don't output alerts, caller
7998 * lyx_cb.C: from above
8000 * lyxfunc.C: allow to open non-existent files
8002 2002-07-31 John Levon <levon@movementarian.org>
8004 * lyxserver.C: don't let incidental errors get
8007 2002-07-30 John Levon <levon@movementarian.org>
8009 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8011 2002-07-30 John Levon <levon@movementarian.org>
8014 * lyxserver.C: remove I/O callback too
8016 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8018 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8021 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8023 * many files: strip,frontStrip -> trim,ltrim,rtrim
8025 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8027 * PrinterParams.h: remove extern containsOnly, and include
8028 support/lstrings.h instead.
8030 * LaTeX.C (scanAuxFile): modify because of strip changes
8032 * buffer.C (makeLaTeXFile): ditto
8033 * bufferparams.C (writeFile): ditt
8034 * lyxfont.C (stateText): ditto
8035 * lyxserver.C (read_ready): ditto
8036 * vc-backend.C (scanMaster): ditto
8038 * BufferView_pimpl.h: ws changes
8040 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8042 2002-07-26 André Pönitz <poenitz@gmx.net>
8044 * kb_sequence.C: remove unnedred usings
8046 2002-07-26 Juergen Vigna <jug@sad.it>
8048 * lyxfind.C (LyXReplace): we have to check better if the returned
8049 text is not of theLockingInset()->getLockingInset().
8051 2002-07-25 Juergen Vigna <jug@sad.it>
8053 * lyxfind.C (LyXReplace): don't replace if we don't get the
8056 * undo_funcs.C (createUndo): remove debugging code.
8058 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
8060 * buffer.C (parseSingleLyXformat2Token): Use default placement
8061 when reading old floats.
8063 * FloatList.C (FloatList): Change the default placement of figure
8064 and tables to "tbp".
8066 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
8068 * MenuBackend.C: using std::max
8070 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8072 * MenuBackend.C (expandToc):
8073 (expandToc2): code moved from xforms menu frontend. It is now
8074 generic and TOCs are transparent to menu frontends.
8076 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8078 * toc.C (getTocList): protect against buf=0
8080 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8081 Menu as first parameter. Now, this calls itself recursively to
8082 expand a whole tree (this will be useful for TOC handling)
8083 (expandFloatInsert): remove 'wide' version of floats
8085 * MenuBackend.h (submenuname): returns the name of the submenu.
8086 (submenu): returns the submenu itself, provided it has been
8087 created by MenuBackend::expand
8089 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8091 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8092 insets which have noFontChange == true. (bug #172)
8094 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8096 * BufferView_pimpl.C: add connection objects and use them...
8099 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8101 * MenuBackend.C (expandLastfiles):
8104 (expandFloatListInsert):
8105 (expandFloatInsert):
8106 (expand): split expand in parts
8108 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8110 * lyx_gui.C: use lyx_gui::exit()
8112 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8114 * LyXAction.C: show the failing pseudo action
8116 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
8118 * buffer.C (readFile): Run the lyxconvert script in order to read
8121 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8125 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8127 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8131 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8133 2002-07-22 Herbert Voss <voss@lyx.org>
8136 * lyxlength.[Ch]: add support for the vertical lengths
8138 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
8140 * toc.[Ch]: std:: fixes
8142 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8144 * lyxrc.C: do not include lyx_main.h
8146 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8152 * BufferView2.C: include "lyxlex.h"
8155 * bufferparams.h: do not #include "lyxlex.h"
8157 * lyxtextclasslist.C (Add): remove method
8158 (classlist): renamed to classlist_
8160 * paragraph_pimpl.C:
8164 * bufferview_funcs.C:
8169 * toc.C (getTocList): use BufferParams::getLyXTextClass
8171 * toc.C (getTocList): use InsetFloat::addToToc
8173 * toc.[Ch]: new files, containing helper functions to handle table
8176 * lyxfunc.C (dispatch): no need to remove spaces around command
8178 (getStatus): handle LFUN_SEQUENCE by returning the status of the
8179 first command of the sequence; it is not very clever, but I do not
8180 have a better idea, actually
8182 * LyXAction.C (LookupFunc): make sure to remove space at the
8183 beginning and end of the command
8185 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8187 * MenuBackend.C (getMenubar): new method: return the menubar of
8189 (read): treat differently reading of menu and menubar (in
8190 particular, the menubar has no name now)
8191 (Menu::menubar): remove
8193 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8196 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8198 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8199 a bibitem inset in a RTL paragraph.
8201 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
8203 * paragraph_pimpl.C: constify
8205 * BufferView_pimpl.C:
8207 * lyxfunc.C: fix dispatch in a nicer way
8209 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8211 * lyxfunc.C (dispatch):
8212 * BufferView_pimpl.C:
8213 * BufferView_pimpl.h:
8215 * BufferView.h: rename Dispatch() to dispatch()
8217 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8219 * lyxlayout.C (Read): honor DependsOn tag
8221 * lyxlayout.[Ch] (depends_on): new method
8223 * version.C.in: update lyx_docversion
8225 * LaTeXFeatures.C (getMacros): only define \LyX when needed
8227 * paragraph.C (validate): remove from here...
8228 * paragraph_pimpl.C (validate): ... and move here
8229 (isTextAt): make it const
8231 * buffer.C (getLists): ws cleanup
8233 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8235 * language.C (read): Use iso8859-1 encoding in latex_lang
8236 (this prevents LyX from crashing when using iso10646-1 encoding).
8238 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8240 * text2.C (toggleInset): if cursor is inside an inset, close the
8241 inset and leave cursor _after_ it
8243 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8245 * lyxfunc.C: move minibuffer completion handling out of here
8247 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8249 * BufferView_pimpl.C:
8250 * LaTeX.C: fix dispatch calls
8252 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
8254 * text.C (drawChars): Fix Arabic text rendering.
8256 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
8260 * lyxfunc.C: remove message-push/pop
8264 * lyxfunc.C: rationalise some code by removing verboseDispatch
8265 in favour of a bool argument to dispatch()
8267 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8269 * lyx_main.C (init): make sure to read symlinks as absolute paths
8271 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8274 * lyxfunc.C: no need for commandshortcut to be a member
8276 2002-07-15 André Pönitz <poenitz@gmx.net>
8278 * converter.C: add support for $$s (scripts from lib/scripts dir)
8279 * lyx_main.C: white space
8281 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8285 * lyxrc.C: remove second exit confirmation
8287 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8292 * BufferView_pimpl.h:
8293 * BufferView_pimpl.C:
8294 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8296 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8298 * MenuBackend.C (expand): add numeric shortcuts to document menu
8300 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8302 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8304 * lyxfont.C (setLyXFamily):
8311 * buffer.C (asciiParagraph): use ascii_lowercase
8313 2002-07-15 Mike Fabian <mfabian@suse.de>
8315 * lyxlex_pimpl.C (search_kw):
8316 * lyxlex.C (getLongString):
8317 * converter.h (operator<):
8318 * converter.C (operator<):
8319 * buffer.C (parseSingleLyXformat2Token):
8321 * ToolbarDefaults.C (read):
8322 * MenuBackend.C (checkShortcuts):
8324 * LColor.C (getFromGUIName):
8325 (getFromLyXName): use the compare_ascii_no_case instead of
8326 compare_no_case, because in turkish, 'i' is not the lowercase
8327 version of 'I', and thus turkish locale breaks parsing of tags.
8329 2002-07-16 Angus Leeming <leeming@lyx.org>
8331 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8332 now takes a Buffer const & argument.
8334 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
8336 * BufferView.C (resize): check there's a buffer to resize
8338 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
8340 * lyxfunc.C: remove dead code
8343 * lyxserver.C: use lyx_guii::set_read_callback
8345 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
8347 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8348 an inset in a RTL paragraph.
8350 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8352 * lyxfunc.C: repaint after a font size update
8354 2002-07-15 André Pönitz <poenitz@gmx.net>
8356 * lyxlength.C: inBP should be able to return negative values
8358 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8360 * lyxfunc.C: use lyx_gui::update_fonts()
8362 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8364 * lyxfunc.C: use lyx_gui::update_color()
8366 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8372 * lyxrc.C: remove file->new asks for name option, and let
8373 buffer-new take an argument
8375 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8377 * BufferView_pimpl.C: remove unneeded extra repaint()
8379 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
8381 * LyXAction.C: allow command-sequence with NoBuffer
8383 * lyxfunc.C: don't insist on trailing ';' for command-sequence
8385 2002-07-10 Angus Leeming <leeming@lyx.org>
8387 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8389 2002-07-09 Angus Leeming <leeming@lyx.org>
8391 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8393 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8395 * lengthcommon.h: whitespace
8397 * lyxfunc.C: update scrollbar after goto paragraph
8399 * lyxtext.h: factor out page break drawing, and fix it so
8400 page break/added space paints as selected nicely
8402 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8404 * BufferView_pimpl.C: add FIXMEs, clean up a little
8406 2002-07-09 André Pönitz <poenitz@gmx.net>
8408 * lyxfont.[Ch]: support for wasy symbols
8410 2002-07-08 André Pönitz <poenitz@gmx.net>
8412 * BufferView_pimpl.C: apply John's patch for #93.
8414 2002-07-05 Angus Leeming <leeming@lyx.org>
8416 * BufferView_pimpl.C (buffer): generate previews if desired.
8418 * LColor.h: add "preview" to the color enum.
8420 * LColor.C (LColor): add a corresponding entry to the items array.
8422 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8425 2002-07-05 Angus Leeming <leeming@lyx.org>
8427 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8428 The body of the code is now in the method that is passed an ostream &
8429 rather than a file name.
8430 Pass an additional only_preamble parameter, useful for the forthcoming
8433 2002-07-03 André Pönitz <poenitz@gmx.net>
8435 * lyxfunc.C: simplify getStatus() a bit for math stuff
8437 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8439 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8441 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8443 * text.C (changeRegionCase): do not change case of all the
8444 document when region ends at paragraph end (bug #461)
8446 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8448 * paragraph.C (startTeXParParams):
8449 (endTeXParParams): add \protect when necessary
8451 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8453 * BufferView_pimpl.C (workAreaExpose): remove warning
8455 2002-06-27 Angus Leeming <leeming@lyx.org>
8457 * Makefile.am: add lyxlayout_ptr_fwd.h.
8459 2002-06-26 André Pönitz <poenitz@gmx.net>
8461 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8463 2002-06-25 Angus Leeming <leeming@lyx.org>
8465 * lyxfunc.C (dispatch): Comment out the call to
8466 grfx::GCache::changeDisplay. The method no longer exists now that the
8467 pixmap generation part of the graphics loader has been moved into
8470 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8472 * text2.C: layout as layout
8474 * text.C: layout as layout
8476 * tabular.C (OldFormatRead): layout as layout
8478 * paragraph_pimpl.C (TeXDeeper): layout as layout
8479 (realizeFont): layout as layout
8481 * paragraph.C (writeFile): layout as layout
8482 (validate): layout as layout
8483 (getFont): layout as layout
8484 (getLabelFont): layout as layout
8485 (getLayoutFont): layout as layout
8486 (breakParagraph): layout as layout
8487 (stripLeadingSpaces): layout as layout
8488 (getEndLabel): layout as layout
8489 (getMaxDepthAfter): layout as layout
8490 (applyLayout): layout as layout
8491 (TeXOnePar): layout as layout
8492 (simpleTeXOnePar): layout as layout
8493 (TeXEnvironment): layout as layout
8494 (layout): layout as layout
8495 (layout): layout as layout
8497 * lyxtextclass.C (compare_name): new functor to work with
8498 shared_ptr, layout as layout
8499 (Read): layout as layout
8500 (hasLayout): layout as layout
8501 (operator): layout as layout
8502 (delete_layout): layout as layout
8503 (defaultLayout): layout as layout
8505 * lyxlayout_ptr_fwd.h: new file
8507 * lyxlayout.C (Read): layout as layout
8509 * lyx_cb.C (MenuInsertLabel): layout as layout
8511 * bufferlist.C (newFile): layout as layout
8513 * buffer.C (readLyXformat2): layout as layout
8514 (parseSingleLyXformat2Token): layout as layout
8515 (insertStringAsLines): layout as layout
8516 (asciiParagraph): layout as layout
8517 (latexParagraphs): layout as layout
8518 (makeLinuxDocFile): layout as layout
8519 (simpleLinuxDocOnePar): layout as layout
8520 (makeDocBookFile): layout as layout
8521 (simpleDocBookOnePar): layout as layout
8522 (getLists): layout as layout
8524 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8526 * CutAndPaste.C (cutSelection): layout as layout
8527 (pasteSelection): layout as layout
8528 (SwitchLayoutsBetweenClasses): layout as layout
8530 * BufferView_pimpl.C (Dispatch): layout as layout
8531 (smartQuote): layout as layout
8533 * BufferView2.C (unlockInset): layout as layout
8535 2002-06-24 André Pönitz <poenitz@gmx.net>
8537 * lyxfunc.C: fix #487
8539 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8543 * lyxfunc.C: remove display_shortcuts, show_banner
8545 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8547 * Buffer_pimpl.C: oops, update on resize
8549 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8556 * BufferView.C: use repaint()
8558 * BufferView_pimpl.h:
8559 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8560 as it's a clearer description. Remove superfluous
8563 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8565 * text.C: fix bug 488. Not ideal, but getting
8566 getWord() to work properly for the insets that
8567 matter is more difficult ...
8569 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8571 * BufferView_pimpl.C:
8574 * lyxfunc.C: remove the six million index lyxfuncs to just
8575 one, and DTRT (bug 458)
8577 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8581 * BufferView_pimpl.h:
8582 * BufferView_pimpl.C: clean up resize() stuff,
8583 and unnecessary updateScreen()s
8585 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8589 * BufferView_pimpl.h:
8590 * BufferView_pimpl.C:
8593 * minibuffer.C: remove focus management of workarea,
8594 not needed. Use screen's greyOut()
8596 2002-06-17 Herbert Voss <voss@lyx.org>
8598 * converter.C: (convert) do not post a message, when converting
8599 fails, let the calling function decide what to do in this case
8601 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
8603 * lyxfunc.C: tidy up a little
8605 2002-06-16 <alstrup@diku.dk>
8607 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8608 Got rid of FORMS_H_LOCATION include. Now we are
8611 2002-06-15 LyX Development team <lyx@rilke>
8613 * buffer.[Ch] (sgmlOpenTag):
8614 (sgmlCloseTag): Added support for avoiding pernicious mixed
8615 content. Return number of lines written.
8618 (makeDocBookFile): Fixed calls to sgml*Tag.
8619 Simple white space clean.
8621 (simpleDocBookOnePar): Simple white space clean.
8623 * tabular.[Ch] (docBook): Renamed to docbook and got another
8624 argument to related with the pernicious mixed content.
8626 (docbookRow): Fixed calls for docbook inset method.
8628 2002-06-15 Lyx Development team <larsbj@birdstep.com>
8630 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8631 so it's X11 independent.
8635 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8637 2002-06-15 Lyx Development team <lyx@electronia>
8639 * intl.h: Renamed getTrans to getTransManager.
8641 2002-06-14 Angus Leeming <leeming@lyx.org>
8643 * Makefile.am: nuke forgotten stl_string_fwd.h.
8645 2002-06-12 Angus Leeming <leeming@lyx.org>
8647 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8649 2002-06-13 Angus Leeming <leeming@lyx.org>
8652 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8654 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
8656 * kbmap.C (getiso): add support for cyrillic and greek
8658 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8662 * BufferView_pimpl.h:
8663 * BufferView_pimpl.C: move bogus scrolling logic
8666 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8669 * BufferView_pimpl.C: view->resize() change
8671 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8673 * BufferView_pimpl.C: topCursorVisible
8676 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8680 * lyx_gui.C: move to frontends/
8684 * lyx_main.C: changes from above
8686 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8693 * lyx_main.C: minor tidy
8695 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8697 * BufferView_pimpl.h:
8698 * BufferView_pimpl.C:
8700 * BufferView.C: make painter() const,
8703 * BufferView2.C: use screen() accessor
8706 * lyx_main.C: some minor cleanup
8708 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8710 * BufferView_pimpl.h:
8711 * BufferView_pimpl.C: remove enter/leaveView,
8714 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8719 * BufferView_pimpl.h:
8720 * BufferView_pimpl.C: only construct screen once,
8723 * lyxrc.C: remove pointless comment
8725 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8728 * BufferView.C: remove active() and belowMouse()
8730 * BufferView_pimpl.h:
8731 * BufferView_pimpl.C: use workarea() not workarea_,
8732 and make it use a scoped_ptr instead
8734 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8736 * lyx_gui.C: add debug message on BadWindow
8738 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8740 * sp_spell.C: fdopen is not part of the C++ standard.
8742 * paragraph.C (InsetIterator): use >= instead of ==
8744 2002-06-07 Angus Leeming <leeming@lyx.org>
8746 Fixes needed to compile with Compaq cxx 6.5.
8747 * BufferView_pimpl.C:
8754 * lyxtextclasslist.C:
8759 all c-library variables have been moved into namespace std. Wrap
8760 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8765 Add a using std::abs declaration.
8767 * kbmap.h (modifier_pair):
8768 * paragraph.h (InsetTable, InsetList):
8769 * lyxfont.h (FontBits):
8770 type definition made public.
8772 * bufferlist.C (emergencyWriteAll): the compiler complains that
8773 there is more than one possible lyx::class_fun template to choose from.
8774 I re-named the void specialisation as lyx::void_class_fun.
8776 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8778 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8779 the compiler is is unable to find tostr in write_attribute.
8781 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8783 * buffer.C (sgmlError): hide #warning
8785 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8787 * xtl/*: get rid of xtl, which is not in use anyway
8789 * LyXAction.C (init):
8790 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8791 were unimplemented xtl experimentation
8793 2002-06-04 André Pönitz <poenitz@gmx.net>
8795 * lyxfunc.C: disable array operation on simple formulae
8797 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
8799 * converter.C: constify a bit
8801 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
8803 * lyx_gui.C: check xforms version correctly
8805 2002-04-30 Herbert Voss <voss@lyx.org>
8807 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8810 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
8812 * lyxvc.C: fix bug 416 (make sure buffer is saved before
8813 attempt to register it with a VCS)
8815 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8817 * lyx_main.C (init): honor variables LYX_DIR_13x and
8820 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8824 * lyx_main.C: fix a crash on bad command line,
8825 and give a useful exit status on error
8827 * lyxfunc.C (doImport): allow -i lyx to work
8829 2002-03-30 André Pönitz <poenitz@gmx.net>
8831 * lyxfunc.C: mathed font changes
8833 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8848 * trans_mgr.h: srcdocs, and some minor cleanups
8850 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8852 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8853 call getFont all the time)
8855 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8857 * switch from SigC signals to boost::signals
8859 2002-05-29 André Pönitz <poenitz@gmx.net>
8861 * paragraph_pimpl.C (getChar): don't call size() too often...
8863 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8865 * paragraph_pimpl.C (insertChar): do not try to update tables when
8866 appending (pos == size())
8868 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8869 in order to reduce drastically the number of comparisons needed to
8870 parse a large document
8872 2002-05-29 André Pönitz <poenitz@gmx.net>
8878 * textclasslist.[Ch]:
8879 * sp_ispell.h: whitespace change
8881 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8883 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8884 lyxaction directly now.
8886 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
8890 * lyxvc.C: remove unused headers
8892 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8899 * undo_funcs.C: some cleanups. Use shared_ptr
8900 and a template for the undo stacks.
8902 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8904 * BufferView_pimpl.h:
8905 * BufferView_pimpl.C:
8912 * text2.C: use key_state/mouse_state
8914 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8916 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8919 * chset.C: change include order
8920 (loadFile): use boost regex and get rid of LRegex and LSubstring
8922 * Makefile.am (BOOST_LIBS): new variable
8925 * LaTeX.C: change include order.
8926 (scanAuxFile): use boost regex and get rid of LRegex and
8930 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8935 * FontInfo.C: moved to frontends/xforms/
8938 * FontLoader.C: moved into frontends for GUIIzation
8943 * lyxfunc.C: changes from above
8945 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8947 * LColor.C: remove spurious X include
8949 * BufferView_pimpl.C:
8954 * text2.C: move font metrics to frontends/
8956 2002-05-24 Juergen Vigna <jug@sad.it>
8958 * undo_funcs.C (textHandleUndo): fix the cursor selection after
8959 setting the undo_cursor.
8961 * ParagraphParameters.h: include local includes first.
8963 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8965 * BufferView_pimpl.C:
8966 * BufferView_pimpl.h:
8970 * screen.C: move WorkArea into frontends/
8976 * BufferView2.C: move LyXScreen into frontends/
8980 * lyx_gui.C: move lyxlookup into frontends/xforms/
8982 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8985 * BufferView_pimpl.C:
8995 * bufferview_funcs.C:
9008 * vc-backend.C: move LyX/XFormsView into frontends/
9010 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9022 * text2.C: move Painter to frontends/
9024 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9026 * buffer.C: comment out some some code that depend upon lyx_format
9029 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9030 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9032 * buffer.h (NO_COMPABILITY): turn off compability
9034 * ColorHandler.C: include scoped_array.hpp
9036 * font.C: Use more specific smart_ptr header.
9039 * ShareContainer.h: ditto
9043 * BufferView_pimpl.h: ditto
9044 * ColorHandler.h: ditto
9046 * kbmap.C (defkey): change call to shared_ptr::reset
9048 2002-05-21 Juergen Vigna <jug@sad.it>
9050 * buffer.C (insertErtContents): fix to insert ert asis if it is
9051 non empty. Skip it completely if it contains only whitespaces.
9053 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
9055 * BufferView_pimpl.C:
9056 * BufferView2.C: clear selection on paste (bug 393)
9058 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9060 * DepTable.C: include ctime
9062 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
9064 * buffer.C (latexParagraphs): Add new argument (moving_arg).
9066 2002-05-14 Juergen Vigna <jug@sad.it>
9068 * text.C (breakParagraph): fixed function to honor the keepempty
9069 layout in the right maner and also to permit the right breaking
9070 algorithm on empty or non empyt keepempty paragraphs.
9072 * paragraph.C (breakParagraph): we have to check also if the par
9073 is really empty (!size()) for isempty otherwise we do the wrong
9076 2002-05-10 Juergen Vigna <jug@sad.it>
9078 * buffer.[Ch] : The following are only changes to the ert
9079 compatibility read reading old LaTeX layout and font stuff and
9080 convert it to ERTInsets.
9082 * buffer.h: added isErtInset().
9084 * buffer.C (struct ErtComp): add a fromlayout bool to check
9085 if we're inside a LaTeX layout.
9086 (isErtInset): new helper function.
9087 (insertErtContents): look for other ert insets before this one
9088 and insert the contents there, so that we don't have subsequent
9089 ERT insets with nothing between them. This way we create only one
9090 inset with multiple paragraphs. Also check if we don't insert only
9091 spaces ' ' as they are ignored anyway afterwards in the .tex file
9092 so if we have only spaces we will ignore this latex part in the
9094 (parseSingleLyXformat2Token \\layout): better compatibility when
9095 reading layout-latex stuff.
9096 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9098 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9099 stuff after reading the inset only get the information back from
9102 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
9104 * buffer.C (makeLaTeXFile): Put language options after loading babel.
9106 * LaTeXFeatures.C (getBabelOptions): New method.
9108 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9110 * BufferView_pimpl.C (Dispatch): work around missing argument for
9113 2002-05-08 Juergen Vigna <jug@sad.it>
9115 * text.C (leftMargin): handle paragraph leftindent.
9117 * paragraph.C (writeFile): write the new \\leftindent tag.
9118 (validate): handle leftindent code.
9119 (TeXEnvironment): handle paragraphleftindent code again.
9121 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9123 * buffer.C (parseSingleLyXformat2Token): added compatibility code
9124 for paragrap_extra indent code and new token \\leftindent.
9125 (latexParagraphs): handle the leftindent as environment.
9127 * ParameterStruct.h: added leftindent support.
9129 * ParagraphParameters.C (leftIndent): added support functions for
9130 the paragraph left indent.
9132 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9135 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
9137 * paragraph.C (isRightToLeftPar): Return false for a paragraph
9140 * text.C (computeBidiTables): No bidi in insetERT.
9142 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9145 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9147 * version.C.in: pre 5
9149 2002-05-02 José Matos <jamatos@fep.up.pt>
9150 * buffer.C (makeDocBookFile): white space changes, add newline to
9152 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9154 * tabular.C (docBook): fix typo.
9156 2002-05-03 Juergen Vigna <jug@sad.it>
9158 * screen.C (drawFromTo): recalculate the rowpointer if we had a
9159 change in LyXText as we can not be sure it was not freed.
9160 (drawOneRow): remove unused code.
9162 * text.C (drawInset): redo the calculation of the need_break_row as
9163 it could have a row which was already freed.
9164 (draw): look at the return value of drawInset and return false if
9165 it also returned false.
9166 (paintRowText): look at the return value of draw and return false if
9167 it also returned false.
9169 * lyxtext.h: added bool return type to drawInset() and draw() so that
9170 if we have a change in the row so that the rowbreak has to be redone
9171 we abort drawing as it will be called again.
9173 2002-05-02 Juergen Vigna <jug@sad.it>
9175 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9176 a change in the maintext also if we're inside an inset.
9177 (Dispatch): set the cursor again after a break line and after the
9178 screen has been updated as it could be we're in a different row.
9180 * text2.C (fixCursorAfterDelete): check to make sure we don't request
9181 to set the cursor behind the pargraph with > size().
9182 (setCursor): check also for the same paragraph when checking where
9183 to put the cursor if we have a NFR inset.
9185 * buffer.C (parseSingleLyXformat2Token): move the compatibility
9186 parts of layout read further up as it still was in the wrong
9189 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9191 * screen.C (drawFromTo): change sine fullRebreak always return
9194 * buffer.C (parseSingleLyXformat2Token): reindent some
9196 * BufferView_pimpl.C (update): change since fullRebreak always
9198 (Dispatch): git rid of the last hardcoded "Standard"s.
9200 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9202 * text2.[Ch] (fullRebreak): make it return void now that we always
9205 2002-04-30 Juergen Vigna <jug@sad.it>
9207 * buffer.C (parseSingleLyXformat2Token): reset the font before the
9208 ert compatibility check for "latex" layout.
9210 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
9212 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9213 minipages: use col% instead of p%, and also use the current font.
9214 (makeLaTeXFile): Fix use babel condition.
9215 (parseSingleLyXformat2Token): Correct font when reading old floats.
9217 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
9219 * BufferView_pimpl.C (Dispatch): Check that float type exists when
9220 inserting list of floats.
9222 2002-04-25 Herbert Voss <voss@lyx.org>
9224 * MenuBackend.C (expand): don't add the graphics extensions to the
9227 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9229 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9230 non-existing layout, do not complain if it was the default layout
9231 of the original class (bug #342)
9233 2002-04-24 Juergen Vigna <jug@sad.it>
9235 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9236 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9238 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
9240 * buffer.C (getBibkeyList): If using \bibliography, return the
9241 option field with the reference itself. Enables us to provide natbib
9242 support when using \bibliography.
9244 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
9246 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9248 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9249 natbib is provided by the LaTeX class.
9251 2002-04-23 Juergen Vigna <jug@sad.it>
9253 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9256 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9258 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9260 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9262 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9263 ensuremath around textordmasculine, textordfeminine and
9266 2002-04-19 Juergen Vigna <jug@sad.it>
9268 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9269 reinitializing the buffer otherwise row-dimensions may be wrong.
9270 (update): reset also the selection cursors if they do exits otherwise
9271 their x/y positions may be wrong.
9273 * text2.C (cursorDown): don't enter the inset if we came from a row
9274 above and are one row over the inset.
9276 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9277 really leaving an inset.
9279 2002-04-18 Juergen Vigna <jug@sad.it>
9281 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9282 of the selected paragraph does not have the selected layout also if
9285 * text2.C (setLayout): fixed bug which did not change last selected
9288 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9289 changed the read and substituted \\end_float with \\end_inset!
9291 * BufferView_pimpl.C (cursorPrevious):
9292 (cursorNext): fixed to make it work with rows heigher than the work
9293 area without moving the cursor only the draw of the row.
9294 (workAreaMotionNotify): fix jumping over high rows.
9296 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9298 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9301 2002-04-16 Juergen Vigna <jug@sad.it>
9303 * text2.C (setCursor): set also the irow().
9304 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9306 (cursorDown): support for locking an inset if the x_fix value goes
9307 inside it. That way I can transverse insets too with cursor up/down.
9309 * lyxrow.h: added irow helper function same as other (i) functions.
9311 * BufferView_pimpl.C (cursorPrevious):
9312 (cursorNext): fixed for insets!
9314 2002-04-15 Juergen Vigna <jug@sad.it>
9316 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9317 position otherwise it is wrong in some cases.
9319 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9320 inside the inset before the call.
9322 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
9324 * buffer.[Ch] (getBibkeyList): make it const.
9326 2002-04-12 Juergen Vigna <jug@sad.it>
9328 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9330 * text2.C (getCursorX): new helper function
9331 (setCursor): compute also ix_
9332 (setCursorFromCoordinates): set also ix.
9334 * lyxcursor.h: added ix_ and helper functions.
9336 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9338 * buffer.C (insertStringAsLines): dont break paragraph if the this
9339 paragraph is inside an inset which does not permit it!
9341 * text.C (breakParagraph): honor keepempty flag and break the paragraph
9342 also with no chars on this paragraph.
9343 (paintRowText): only paint stuff if it's inside the workarea!
9345 * paragraph.C (breakParagraph): honor keepempty flag and break the
9346 paragraph always below not above.
9348 * BufferView2.C (unlockInset): update the paragraph layout on inset
9349 unlock as we changed paragraph in such a case.
9351 * lyxfind.C (LyXFind): clear the former selection if not found!
9353 * text2.C (insertInset): freeze Undo after setUndo so that it is not
9354 again called in insertChar().
9356 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9357 an inset which uses the whole row!
9358 (rightMargin): ditto.
9359 (insertChar): force a rebreak if we inserted an inset!
9361 2002-03-28 Herbert Voss <voss@lyx.org>
9363 * lyxlength.[Ch]: add inBP() to get the right PS-point
9364 units (BigPoint). With inPixels we have rounding errors
9366 2002-04-11 Juergen Vigna <jug@sad.it>
9368 * text2.C (setCursorFromCoordinates): set iy to the right value.
9369 (setCursor): add check if row->previous exists!
9371 * buffer.C (parseSingleLyXformat2Token): reset font after read of
9372 an old float_type as this was the case in the old code!
9374 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9376 * BufferView2.C (showLockedInsetCursor): use iy
9377 (fitLockedInsetCursor): ditto
9379 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9380 locked insets as there we have the right value now.
9382 * lyxcursor.C: added iy_ variable and iy functions to set to the
9383 baseline of cursor-y of the locked inset.
9385 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9386 (setCursor): fixed for insets which need a full row.
9388 * text.C (rowLastPrintable): don't ignore the last space when before
9389 an inset which needs a full row.
9390 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9391 as last character of a row when before a inset which needs a full row.
9393 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9395 * version.C.in: update date
9397 * text2.C (fullRebreak): try to always return true and see what
9400 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9402 * MenuBackend.C (expand): use Floating::listName
9404 * FloatList.C (FloatList): add listName argument to the built-in
9407 * Floating.[Ch]: add listName member, which is the 'List of XXX'
9408 text associated with the float.
9410 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9412 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9414 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9416 * ShareContainer.h: add a couple of missing typenames.
9418 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
9420 * lyxrc.C (getDescription): use _() correctly rather than N_().
9422 2002-03-28 Herbert Voss <voss@lyx.org>
9424 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9425 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9427 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9429 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9430 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9432 2002-03-29 Juergen Vigna <jug@sad.it>
9434 * lyxfunc.C (dispatch): add a missing fitCursor call.
9436 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9437 it was scrolled by a cursor move, so return the bool status.
9439 * BufferView.C (fitCursor): return the bool flag also to the outside
9440 world as this is needed.
9442 * screen.C (toggleToggle): don't subtract the offset if it's positive.
9444 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9445 call the edit() as it is not needed (and wrong) IMO.
9446 (workAreaButtonPress): set the screen_first variable before evt.
9447 unlock the inset as this may change screen_first and then we have
9448 a wrong y position for the click!
9450 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9452 * MenuBackend.C (expand): another translation that I missed
9454 2002-03-28 Juergen Vigna <jug@sad.it>
9456 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9458 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9460 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9462 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9464 * MenuBackend.C (expand): fix export/view/update when there is no
9467 2002-03-27 Herbert Voss <voss@lyx.org>
9469 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9472 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9474 * bufferview_funcs.C (currentState): only show paragraph number
9475 for is DEVEL_VERSION is set.
9477 * lyxfunc.C (dispatch): put warning in INFO channel
9479 * MenuBackend.C (expand): translate the name of floats
9481 * FloatList.C (FloatList): mark the float names for translation
9483 * converter.C (convert): use LibScriptSearch
9485 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9487 * MenuBackend.C (defaults): fix default menu (we might as well get
9490 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9492 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9495 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9497 * lyxvc.C: reorder includes.
9499 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
9501 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9504 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9506 * CutAndPaste.C: change layouts earlier on paste
9507 to avoid crashing when calling getFont()
9509 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9511 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9514 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9516 * WorkArea.C: remove 'Pending' debug message.
9518 * most files: ws cleanup
9520 * buffer.[Ch]: ws changes
9522 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9524 2002-03-21 Juergen Vigna <jug@sad.it>
9526 * tabular.C (SetMultiColumn): collapse also the contents of the
9527 cells and set the last border right. Added a Buffer const * param.
9529 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9531 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9534 2002-03-19 Juergen Vigna <jug@sad.it>
9536 * text2.C (clearSelection): reset also xsel_cache.
9538 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9539 where it needs to be called (John tells us to do so too :)
9540 (selectionLost): reset sel_cache.
9542 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9544 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9546 * text2.C (setCursorIntern): put debuging code in INSETS channel
9548 2002-03-19 André Pönitz <poenitz@gmx.net>
9550 * lyxfunc.C: tiny whitespace change
9552 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9554 * ToolbarDefaults.C (init):
9555 * LyXAction.C (init):
9557 * BufferView_pimpl.C (Dispatch):
9558 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9560 2002-03-19 Allan Rae <rae@lyx.org>
9562 * exporter.C (Export): removeAutoInsets before doing anything else.
9563 While I've just introduced a dependency on BufferView this really is
9564 the best place to clean the buffer otherwise you need to cleanup in
9565 a dozen places before calling export or cleanup in a dozen functions
9568 * converter.C (runLaTeX):
9569 (scanLog): Better handling of removeAutoInsets and screen updates.
9571 * lyxfunc.C (dispatch): small whitespace changes
9573 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9575 * WorkArea.C (C_WorkAreaEvent): return a value.
9576 (event_cb): return 1 if we handled the event, 0 otherwise.
9578 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9580 2002-03-18 Juergen Vigna <jug@sad.it>
9582 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9583 (GetAdditionalWidth): ditto.
9587 * BufferView2.C (copy): use getLyXText() so that we do it inside an
9588 inset if we're there actually (probably not used right now but this
9589 is the direction to go for unifying code).
9590 (paste): disable code to clear the selection.
9592 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9593 inside an InsetText and move the check further up as it is in the
9596 * text2.C (pasteSelection): set a selection over the pasted text.
9598 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
9600 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9601 and libgraphics to build on Cygwin.
9603 2002-03-15 Juergen Vigna <jug@sad.it>
9605 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9606 inserting an Inset into the paragraph. I know this is not the best
9607 fix but we already use current_view in CutAndPaste so we will remove
9608 all of it's using at the same time.
9610 * buffer.C (sgmlError): deactivated function till it is rewritten in
9611 the right mode, now it can create problems.
9613 * paragraph.C (isLineSeparator): check if getInset returns != 0,
9614 before accessing it.
9616 2002-03-14 Juergen Vigna <jug@sad.it>
9618 * undo_funcs.C (textHandleUndo): do the right thing when updating
9619 the inset after the undo/redo.
9621 * text2.C (setCursor): just some testcode for #44 not ready yet.
9623 * undo_funcs.C (textHandleUndo): set the next() and previous()
9624 pointers of the paragraph to 0 before deleting otherwise we have
9625 problems with the Paragraph::[destructor].
9627 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9628 on a paragraph insertion.
9630 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9632 * buffer.C (asciiParagraph): use += operator for char append to
9635 * paragraph.C (getFontSettings): compare >= not just >
9636 (highestFontInRange): ditto
9639 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9641 * paragraph.C: change several algorithm to be more appripriate for
9642 the problem domain. This is lookip in FontList and in the InsetList.
9644 2002-03-13 André Pönitz <poenitz@gmx.net>
9647 * LyXAction.C: remove unused LFUN_MATH_MACROARG
9649 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
9654 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9656 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9658 * Painter.C (display): anon helper function, adjust code for this
9660 (pixmap): remove function.
9662 * Painter.h: remove private display variable.
9664 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9666 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
9668 * WorkArea.[Ch]: remove figinset_canvas cruft.
9670 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9672 * lyxtextclass.C (operator): add one item cache optimization.
9674 * bufferlist.h: doxy changes
9676 * bufferlist.C: ws changes
9678 * DepTable.[Ch] (ext_exist): place const in the right spot.
9680 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9682 (workAreaExpose): call resizeInsets when the with BufferView changes.
9683 (Dispatch): adjust for protectedBlank removal
9684 (specialChar): call updateInset if the insert went ok.
9686 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9687 specialChar instead.
9689 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9691 * BufferView.h: doxy change
9693 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9695 * lyxtextclass.C (operator[]): remove non-const version
9696 (defaultLayout): remove non-const version
9698 2002-03-12 Juergen Vigna <jug@sad.it>
9700 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9701 did resize the LyXText too.
9703 * buffer.C (readLyXformat2): set layout information on newly allocated
9706 * tabular.C (OldFormatRead): set layout information on the paragraph.
9708 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9710 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9712 2002-03-11 Juergen Vigna <jug@sad.it>
9714 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9716 (resizeCurrentBuffer): force also the insets to resize themselfes.
9717 (moveCursorUpdate): fixed up for InsetText.
9719 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
9722 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9723 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9724 value of Dialogs::tooltipsEnabled().
9725 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9727 2002-03-08 Juergen Vigna <jug@sad.it>
9729 * BufferView_pimpl.C (updateInset): update inset inside inset also
9730 if it isn't inside theLockingInset().
9732 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9734 * buffer.C (asciiParagraph): redo some of the word and line length
9736 (getLists): look for Caption instead of caption.
9738 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9740 * buffer.C (Buffer): initialize niceFile to true
9743 (makeDocBookFile): make sure niceFile is true on exit
9745 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9747 * buffer.C (makeLaTeXFile): escape ~ in \input@path
9749 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
9751 * LyXSendto.C: remove.
9752 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9753 * lyx_gui.C: remove now-redundant comment.
9754 * ColorHandler.h: remove forward declaration of class WorkArea.
9755 * lyxfunc.C: remove #include "WorkArea.h".
9757 2002-03-07 Juergen Vigna <jug@sad.it>
9759 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9760 got moved away with the DEPM and also set the inset_owner always
9761 right which before could have been omitted.
9763 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9765 * buffer.C (parseSingleLyXformat2Token): use default layout is the
9766 wanted layout is not found.
9768 2002-03-07 Juergen Vigna <jug@sad.it>
9770 * CutAndPaste.C (cutSelection): another layout settings forgotten.
9772 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9774 * paragraph.C (breakParagraph): use default layout not layout of
9776 (Paragraph): clear ParagraphParameters.
9778 2002-03-06 Juergen Vigna <jug@sad.it>
9780 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9781 otherwise it would not be a valid lenght. Fixed a special case in
9782 the minipage compatibility read where we end the document with a
9785 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9786 was set as it could be 0 for InsetTexts first entry.
9788 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9790 * paragraph.C (writeFile): if layout is empty write out
9791 defaultLayoutName().
9793 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9794 file without named layout we set layout to defaultLayoutName().
9796 2002-03-06 Juergen Vigna <jug@sad.it>
9798 * CutAndPaste.C (copySelection): set layout for new paragraph.
9800 * text.C (prepareToPrint): leave ERT inset left aligned
9801 (leftMargin): don't indent paragraphs inside ERT insets
9803 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9805 * paragraph.C (breakParagraph): dont call clear do the work manually
9807 * paragraph.[Ch] (clear): remove function
9809 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9811 * paragraph.C (Paragraph): dont call clear, the work has already
9814 * lyxtextclass.C (operator): assert if n is empty
9816 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9817 work manually instead.
9819 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9821 * BufferView_pimpl.C: protect selectionLost against text == 0
9823 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9825 * text.C (breakParagraph): fix a setting layout to '0' problem.
9827 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9829 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9830 final location of file, for the included files, and graphics.
9832 2002-03-05 Juergen Vigna <jug@sad.it>
9834 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9836 2002-03-04 Juergen Vigna <jug@sad.it>
9838 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9840 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9841 last column of multicolumn cells.
9842 (SetWidthOfMulticolCell): recalculate NMC and real columns.
9844 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
9846 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9847 file if it doesn't go to a temporary file.
9849 * buffer.C (sgmlOpenTag):
9850 (sgmlCloseTag): remove extra newline insertion.
9852 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9854 * text.C (getRowNearY): comment out debug msg
9856 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9858 * text2.C: first -> first_y
9860 * text.C (getRowNearY): add some attemts at a possible
9861 optimization, not working.
9863 * tabular.[Ch]: add BufferParams to several function so that newly
9864 created paragraph can be initialized to he default layotu for the
9867 * tabular-old.C (ReadOld): add buf->params to call of Init
9869 * screen.C: rename text->first to text->first_y
9871 * paragraph.C (breakParagraph): always set layout in the broken
9874 * lyxtextclass.C (Read): remove lowercase
9877 (delete_layout): ditto
9879 * lyxtext.h: rename first -> first_y
9881 * lyxlayout.C (Read): remove lowercase
9884 (obsoleted_by): ditto
9886 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9888 * buffer.C (insertErtContents): add params are to InsetERT
9889 (parseSingleLyXformat2Token): add code to check if a paragraphs
9890 layout really exist.
9891 (parseSingleLyXformat2Token): add params to several inset
9893 (asciiParagraph): remove lowercase, do the layout comparisons with
9896 * BufferView_pimpl.C (cursorNext): first -> first_y
9897 (resizeCurrentBuffer): first -> first_y
9898 (updateScrollbar): first -> first_y
9899 (scrollCB): first -> first_y
9900 (workAreaMotionNotify): first -> first_y
9901 (workAreaButtonPress): first -> first_y
9902 (checkInsetHit): first -> first_y
9903 (cursorPrevious): first -> first_y
9904 (cursorNext): first -> first_y
9905 (Dispatch): add buffer_->params to severl inset contructors
9907 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9909 * lyxlayout.C (Read): remove some debug info that I forgot.
9911 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9912 clean up the code slightly.
9913 (makeLinuxDocFile): ditto
9914 (makeDocBookFile): ditto
9916 * text2.C: layout as string
9918 * text.C: layout as string
9920 * paragraph_pimpl.C: layout as string
9922 * paragraph.[Ch]: layout as string
9924 * lyxtextclasslist.[Ch]: layout as string
9926 * lyxtextclass.[Ch]: layout as string
9928 * lyxtext.h: layout as string
9930 * lyxlayout.[Ch]: layout as string
9932 * lyx_cb.C: layout as string
9934 * bufferview_funcs.C: layout as string
9936 * bufferparams.C: layout as string
9938 * buffer.C: layout as string
9940 * LyXView.[Ch]: layout as string
9942 * LaTeXFeatures.[Ch]: layout as string
9944 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9946 * BufferView_pimpl.C: change current_layout to string, remove
9951 (workAreaButtonRelease): layout as string
9953 * BufferView2.C (unlockInset): adjust
9955 * vspace.C (asLatexCommand): use an explict temp variable.
9957 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9959 * Makefile.am: use FRONTEND_*
9961 2002-03-01 Juergen Vigna <jug@sad.it>
9963 * tabular.C (SetWidthOfMulticolCell): changed to something better
9964 I hope but still work in progress.
9965 (recalculateMulticolumnsOfColumn): renamed function from
9966 recalculateMulticolCells as it is more appropriate now.
9967 (SetWidthOfCell): calculate multicols better.
9969 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9971 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9973 * lyxfunc.C (processKeySym): print sequence also if it is
9974 `deleted' (complete)
9976 * kbsequence.C (print): print sequence even if it is deleted
9977 (complete would be a better word, actually).
9979 * lyxfunc.C (dispatch): print complete options after a prefix key
9981 * vspace.C (asLatexCommand): rewrite in a slightly different form.
9983 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
9985 * text2.C (setCharFont): eliminate setCharFont code duplication.
9987 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9989 * BufferView_pimpl.C (Dispatch): remove bogus handling of
9990 LFUN_TABULAR_FEATURE (bug #177)
9992 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
9994 * Makefile.am: remove figure.h
9996 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
9998 * Bufferview_pimpl.C:
10010 * text2.C: remove #include "lyx_gui_misc.h".
10012 * LaTeX.C: added #include <cstdio>
10014 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10016 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10017 that the paragraph following this one can have.
10019 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10021 * vspace.C (asLatexCommand): fix bogus gcc warning
10023 * Makefile.am (lyx_SOURCES): remove vms_defines.h
10025 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
10027 * text2.C (setLayout): get rid of redundant code
10029 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
10031 * text2.C (incDepth): make sure depth cannot be increased beyond
10034 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
10036 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10037 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10039 * PainterBase.h (image):
10040 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10041 a LyXImage const *.
10043 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10047 * BufferView_pimpl.C:
10048 * BufferView_pimpl.h:
10068 * sp_spell.C: remove fig inset, and the crap house of
10069 cards that follows it
10071 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10076 * os2_errortable.h:
10077 * nt_defines.h: move .h into support/
10079 * vms_defines.h: remove
10081 * WorkArea.C: add space in debug output
10085 * buffer.C: add WITH_WARNINGS
10089 * bufferlist.C: s/retrive/retrieve/, add docs
10098 * chset.C: add docs
10100 * lyxgui.C: add ID to X error handler
10102 * lyxtestclass.c: fix typo
10104 2002-02-26 Juergen Vigna <jug@sad.it>
10106 * tabular_funcs.C (write_attribute): changed so that some default
10107 attributes are not written at all.
10108 (getTokenValue): set default values before trying to read the
10109 value so we have the return value always set as default if we don't
10110 find the token we search for.
10112 * tabular.C (Write): write bools as bools not as strings!
10114 2002-02-22 Juergen Vigna <jug@sad.it>
10116 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10117 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10119 * text.C (leftMargin): don't add an indent for paragraphs inside
10120 tabular cells (fix #208).
10122 2002-02-21 José Matos <jamatos@fep.up.pt>
10124 * tabular.C (docBook): fixed support for long tables.
10126 2002-02-20 Juergen Vigna <jug@sad.it>
10128 * text2.C (getFont): get the drawing font of the Inset if this
10129 paragraph is inside an inset (only important for InsetERT for now).
10131 * buffer.C (insertErtContents): use new lanugage params in ERT
10134 * CutAndPaste.C: commenting out seemingly uneeded code.
10136 2002-02-19 Allan Rae <rae@lyx.org>
10138 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10139 Iterators might be simple to use but they also get invalidated.
10140 (removeAutoInsets): renamed saved cursor tracking variables and added
10141 some comments to clarify what everything does.
10143 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
10150 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10151 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10154 * vc-backend.h: remove #include "support/syscall.h"
10158 * converter.C: rearrange #includes in Lars' approved fashion.
10160 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10161 forward declare class Timeout in the header file.
10163 * XFormsView.C: changes due to the above.
10165 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10166 similar to LyXView.
10168 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10169 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10171 2002-02-18 José Matos <jamatos@fep.up.pt>
10173 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10176 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10178 * a lot of small ws changes
10179 * add a lot of using std::XXX
10180 * use std construcs some places where approp.
10181 * use some exisint stuff from lyxfunctional where approp.
10182 * Make file changes to use partial linking (lets test this now...)
10184 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10188 remove #include "support/syscontr.h" as it's redundant. Always has been.
10196 change Systemcalls::System to Systemcalls::Wait and
10197 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10198 No change of functionality, just reflects the stripped down Systemcalls
10201 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10203 * debug.[Ch]: add a GRAPHICS type to the enum.
10205 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10207 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10209 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10212 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10214 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10215 match the changes below.
10217 * text2.C (toggleInset): if there is not editable inset at cursor
10218 position, try to see if cursor is _inside_ a collapsable inset
10221 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10223 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10224 document menu has a nice checkbox
10226 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10228 * lyxlength.C (asLatexString): change PW to output as percent of
10231 * lengthcommon.C: change '%' to 't%'
10233 * lyxfunc.C (dispatch): a few comments from Martin
10235 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
10239 * BufferView_pimpl.h:
10240 * BufferView_pimpl.C: clear our selection when X tells us we've lost
10243 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10245 * vspace.C (inPixels): fix compiler warning
10247 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10249 * lyxfunc.C (getStatus): fix status message for disabled commands.
10251 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
10253 * BufferView_pimpl.C: fix crash on close buffer
10254 during selection (#227)
10256 2002-01-27 Herbert Voss <voss@lyx.org>
10258 * buffer.C: link old Figure to new graphic inset
10260 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
10262 * FontLoader.C (getFontinfo): Change the latex font names in order
10263 to match the names of type1inst.
10265 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10267 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10269 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10270 (extchanged): ditto
10272 (remove_files_with_extension): ditto
10273 (remove_file): ditto
10276 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10277 document is smaller than the work area height. Do not initialize
10278 static variables to 0.
10280 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10282 * lyx_gui.C (init): give the toolbar tooltips a normal font.
10284 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10285 LFUN_LAYOUT_PARAGRAPHS.
10287 * tabular.C (GetCellFromInset): new method. Finds an inset in a
10288 tabular. It is possible to provide a possible cell, which will
10289 typically be the actcell from the corresponding insettabular
10291 * lyxfunc.C (getStatus): small cleanup; disable
10292 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10295 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10297 * tabular.C (Validate): remove broken optimization (fixes bug #201)
10299 * paragraph.C (startTeXParParams):
10300 (endTeXParParams): new methods. The LaTeX code to
10301 start/end paragraph formatting
10302 (simpleTeXOnePar): call startTeXParParams also when paragraph is
10303 empty (fixes bug #200)
10305 * vspace.C (inPixels): adapt to the change below
10306 (inPixels): [later] more cleanups (remove unused variables)
10308 * lyxlength.C (inPixels): change to use a width and a height as
10311 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10313 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10314 Replaced with \paperwidth
10316 * DepTable.C (insert): add std:: qualifier
10318 2002-01-18 Allan Rae <rae@lyx.org>
10320 * text2.C (removeRow): add comment. Should other refresh_?? vars be
10323 * text.C (drawInset): Turned out I didn't know enough about how
10324 rebreaking worked. This fixes most of the redraw problems. I see
10325 an occasional cursor trail when a line is broken now and the cursor
10326 placement can seem out by a few pixels also after a rebreak.
10328 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10330 * buffer.C (parseSingleLyXformat2Token): update because minipage
10331 width is now a LyXLength
10333 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10335 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10338 2002-01-17 Juergen Vigna <jug@sad.it>
10340 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10342 * BufferView2.C (lockInset): call edit() so that theLockingInset()
10343 is set correctly and the inset is updated correctly.
10345 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10347 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10348 the beginning of the loop.
10350 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
10352 * lyxrc.C: improve help for use_scalable_fonts
10354 2002-01-17 Allan Rae <rae@lyx.org>
10356 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10358 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10360 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10361 make sure to set their inset_owner to the right value (bug #171)
10363 2001-12-12 Ben Stanley <bds02@uow.edu.au>
10366 * DepTable.C: Implement mtime checking to reduce time spent doing
10369 2002-01-16 Juergen Vigna <jug@sad.it>
10371 * tabular.C (GetAdditionalHeight): one of error fixed.
10373 * lyxrc.C (output): small fix in writing use_pspell.
10375 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
10377 * sp_base.h: #include LString.h
10379 2002-01-16 Allan Rae <rae@lyx.org>
10381 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
10382 Can someone check this please?
10384 * text.C (drawInset): It was possible that p.row would be removed by
10385 breakAgainOneRow upsetting a few other settings. There may be another
10386 small tweak possible by setting need_break_row = 0 when p.row has been
10387 removed but I don't know enough about the logic here.
10389 2002-01-15 Allan Rae <rae@lyx.org>
10391 * text.C (insertChar): removed conditional truism.
10393 * BufferView2.C (removeAutoInsets): More tweaks.
10394 cur_par_prev could be a stray pointer. Check for trailing empty line
10395 in case last line was cur_par and only had an error inset on it.
10397 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10399 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10402 * vc-backend.C (most methods):
10403 * exporter.C (Export):
10404 * converter.C (convert):
10406 * LyXSendto.C (SendtoApplyCB):
10407 * lyxfunc.C (dispatch):
10411 * lyx_cb.C (AutoSave):
10413 * BufferView_pimpl.C (MenuInsertLyXFile):
10414 * buffer.C (runChktex): use Buffer::filePath().
10416 * buffer.h: rename filename to filename_; rename filepath to
10417 filepath_ and make it private
10418 (filePath): new method
10420 * buffer.C (writeFile): use fileName()
10423 * lyx_main.C (init): fix starting of LyX when the binary is a
10424 link from so,ewhere else.
10426 * minibuffer.C: include <cctype> for isprint
10428 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10430 * buffer.C (parseSingleLyXformat2Token): changes associated with the
10431 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10432 name clash with InsetCollapsable's width function.
10434 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10436 * lastfiles.C: include <iterator>
10438 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10440 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10443 * buffer.C (makeLaTeXFile): ditto.
10444 Also make loop operation more transparent.
10446 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10448 * ToolbarDefaults.C: remove trailing comma closing namespace.
10450 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10452 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10455 * trans.C (Load): comment out unused variable, allowed.
10457 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10459 * minibuffer.[Ch] (append_char): new method to recieve input from the
10460 drop-down completion browser. If a key was pressed, then recieve this
10461 char and append it to the existing string.
10462 (peek_event): modify the positioning data passed to the completion
10463 browser so that it can be placed above the minibuffer rather than below.
10464 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10466 * LyXAction.C (init): alloe error-next for readonly documents.
10468 * BufferView2.C (ChangeRefsIfUnique): use standard version of
10471 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10473 * bufferlist.C (readFile): create the buffer _after_ checking that
10476 * lyxfunc.C (verboseDispatch): fix handling of arguments
10478 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10480 * lyxrc.C: use string::erase() instead of initializing to "".
10483 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10485 * BufferView_pimpl.h:
10486 * BufferView_pimpl.C:
10489 * text2.C: tell X when we have made a selection for copying
10491 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10493 * BufferView_pimpl.C (MenuInsertLyXFile):
10494 * lyxfunc.C (menuNew):
10496 (doImport): add shortcuts to directory buttons
10498 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10501 * lyxfunc.C (setStatusMessage):
10502 (getStatusMessage): new methods
10503 (getStatus):use setStatusMessage instead of setErrorMessage
10504 (dispatch): when function is disabled, set error message here
10505 [instead of in getStatus previously]
10507 * BufferView_pimpl.C (workAreaButtonRelease): update
10508 toolbar/menubar here too.
10510 2002-01-13 Allan Rae <rae@lyx.org>
10512 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10513 Now seems indestructible. Remaining task is to audit all other
10514 code affected by deleteEmptyParagraphMechanism. One small quirk
10515 left is that an empty document with an error in the preamble can
10516 be made to report an error but no error box appears. I don't know
10518 (removeAutoInsets): Improved comments.
10520 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10523 * Thesaurus.C: update for Aiksaurus 0.14
10525 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10527 * text2.C (firstParagraph): removed member function, all uses
10528 replaces with ownerParagraph
10529 (redoParagraphs): here
10530 (updateInset): here
10531 (toggleAppendix): here
10532 * BufferView2.C (insertErrors): here
10533 (setCursorFromRow): here
10535 2002-01-13 Allan Rae <rae@lyx.org>
10537 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10538 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10539 There is still a way to segfault this although you may have to do this
10540 multiple times: Have an InsetERT with an unknown command in it.
10541 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10542 <down-arrow>, <Enter> again, View->DVI, BANG!
10544 * text2.C (setCursor):
10545 (deleteEmptyParagraphMechanism):
10546 * lyxtext.h (setCursor):
10547 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10548 Making use of the return value may help fix other bugs.
10550 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10552 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10554 * LyXView.C (updateMenubar): call MenuBar::update here
10555 (updateToolbar): but not here
10556 (showState): do not update toolbar/menubar
10558 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10559 should need to care about that.
10561 * lyxfunc.C (verboseDispatch): simplify a bit
10562 (getStatus): have a version which takes a pseudoaction, and
10563 another which requires a (kb_action,string).
10565 * LyXAction.C (retrieveActionArg): make it work also when action
10566 is not a pseudo-action.
10567 (getActionName): simplify a bit
10570 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10572 * lyxfunc.C (verboseDispatch): new families of methods with
10573 several ways to specify a command and a bool to indicate whether
10574 the command name and shortcut should be displayed in minibuffer
10575 (eventually, we could extend that to a finer bitmask like
10576 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10577 (dispatch): the pristine dispatch command which just, well,
10578 dispatchs! Note it still sets its result to minibuffer; I'm not
10581 * lyxfunc.h: remove setHintMessage
10583 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10585 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10587 * BufferView_pimpl.C (specialChar): delete new inset if we have
10588 not been able to insert it.
10590 * kbmap.C: revert to using int instead of kb_action, since all we
10591 are dealing with is pseudo-actions.
10593 * LyXAction.C (searchActionArg): change to return int instead of
10594 kb_action, since the result is a pseudoaction.
10596 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
10598 * buffer.C (insertErtContents): Fix (partially) the font bug.
10600 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10602 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10603 as the other one is broken on my machine!
10605 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
10608 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10610 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
10612 * lyxrc.[Ch]: change names and descriptions of popup font variables to
10613 reflect their actual use. Provide compatibility code for older lyxrc
10616 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10618 change names of popup font variables in line with the changes to lyxrc.C
10620 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10622 * buffer.C (asciiParagraph): avoid outputing a word twice after
10625 * lyxrc.C (getDescription): document that document_path and
10626 template_path can be empty.
10628 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10630 * LaTeXFeatures.C (getMacros):
10631 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10633 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10635 * LaTeXFeatures.C (useFloat): require "float" here instead of in
10637 (getPackages): rename feature "floats" to "float". Use an array to
10638 iterate over 'simple' features (i.e. just a \usepackage). Add
10639 handling of "amsmath" (renamed from "amsstyle").
10641 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
10643 * LaTeXFeatures.C (require): Prevent duplicate entries in the
10646 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
10648 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10649 FuncStaus::FuncStatus & FuncStaus::some_method().
10651 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
10653 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10654 of the func_satus stuff. Edited and massaged in various ways by
10657 * lyxfunc.C (getStatus): use FuncStatus
10659 2002-01-08 Juergen Vigna <jug@sad.it>
10661 * text.C (nextBreakPoint): use function Inset::isChar().
10663 * paragraph.C (TeXOnePar): use function
10664 Inset::forceDefaultParagraphs.
10666 * buffer.C (latexParagraphs): use function
10667 Inset::forceDefaultParagraphs.
10669 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10671 * lyx_gui.C (init): set the style of the menu popups to
10672 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10674 2002-01-07 Juergen Vigna <jug@sad.it>
10676 * text.C (setHeightOfRow): small fix
10677 (prepareToPrint): don't look at alignment if we don't have the place
10680 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10682 * box.C: New file. Move the Box methods and functions out of box.h,
10683 following Lars' suggestion.
10685 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10687 * box.h: #include "support/LOstream.h", needed for inlined function.
10690 * lyxtextclasslist.C: added some using std declarations.
10692 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
10694 * box.h: make signed dimensions to allow insets wider than
10695 the screen (bug #162)
10697 * BufferView_pimpl.C: add some insetHit debug
10699 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
10701 * vc-backend.C: add FIXME
10703 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10705 * lyxfunc.C (getStatus): enable code for showing math font status
10708 2002-01-07 Juergen Vigna <jug@sad.it>
10710 * text.C (nextBreakPoint): removed debug output not needed anymore.
10712 2002-01-06 Juergen Vigna <jug@sad.it>
10714 * text.C (nextBreakPoint): fixed up this function we had this bug
10715 since ever but now hopefully we break row better.
10716 (insertChar): we have to check if an inset is the next char as it
10717 could now happen that a large inset is causing a break.
10719 2002-01-05 Juergen Vigna <jug@sad.it>
10721 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10722 if it doesn't like to be drawed.
10724 2002-01-04 Juergen Vigna <jug@sad.it>
10726 * BufferView2.C (lockInset): forgot to set a cursor.
10728 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10730 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
10732 * FormMathsPanel.C:
10735 * form_maths_panel.C:
10736 * form_maths_panel.h:
10737 * form_maths_panel.fd: implemented sub- and super- buttons in math
10740 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10741 (or ^ space) to be used as in TeX (req'd by André).
10743 * lyxfunc.C: Allow ^ and _ again to be used both as
10744 super/subscript (mathed) and as themselves (in text).
10746 2002-01-03 Allan Rae <rae@lyx.org>
10748 * LyXView.C (updateWindowTitle): Setup a short icon title of either
10749 "LyX" or the filename of the current buffer if it has one. This is a
10750 modified form of John Levon's patch.
10752 * XFormsView.C (setWindowTitle): also set icon title.
10754 * LyXView.h (setWindowTitle): signature changed.
10755 * XFormsView.h (setWindowTitle): ditto.
10757 2002-01-02 Juergen Vigna <jug@sad.it>
10759 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10761 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10763 * screen.C (topCursorVisible): introduce a temp var for
10764 text->cursor.row(), handle the case where this row is null. (kindo
10767 * text2.C (setCursor): add a couple of asserts.
10769 * paragraph.h (inset_iterator): add -> operator
10771 * paragraph.[Ch] (autoDeleteInsets): remove member function
10773 * BufferView2.C (removeAutoInsets): rewrite to handle the old
10774 cursor pos correctly and handle inset deletion by itself.
10775 (insertErrors): move iterator declaration out of for expression
10777 * lyxtextclass.C: add <algorithm>
10779 * Makefile.am: added the new files to sources, removed layout.C
10781 * layout.C: removed file
10783 * layout.h: remove LYX_DUMMY_LAYOUT
10785 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10789 * lyxtextclass.[Ch]:
10790 * lyxtextclasslist.[Ch]: new files
10792 * include order changes to a lot of files, also changes because of
10795 2001-12-27 Juergen Vigna <jug@sad.it>
10797 * buffer.C (asciiParagraph): more fixes.
10799 * tabular.C (ascii): make ascii export support export of only the
10800 data separated by a column-delimiter.
10801 (ascii): better support for ascii export.
10803 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10805 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10807 * tabular_funcs.C: use a "using std::getline" instead of the
10808 previous fix from Angus (necessary for cxx + lyxstring)
10810 2001-12-24 Juergen Vigna <jug@sad.it>
10812 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10814 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10815 problems. First check a minipage also if we have some ert-contents
10816 (not only on par->size(), second set the right depth of the paragraph
10817 on the relink to the root-paragraph-list!
10819 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10820 which then did not anymore update the main paragraphs on undo/redo!
10822 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10824 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10825 code. Support all font-changing funcs (even those which are not in
10826 menu currently). Support for reporting font settings in
10827 mathed (disabled until Andre provides a function on mathed's side).
10829 * func_status.h (toggle): small helper function to set toggle
10832 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
10834 * tabular_funcs.C: getline -> std::getline
10836 2001-12-21 Juergen Vigna <jug@sad.it>
10838 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10839 accessed and could be 0 (I couldn't generate this but it seems
10842 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10844 * tabular_funcs.C: add LIstream.h, move write_attribute to..
10845 * tabular_funcs.h: here and include iosfwd
10847 2001-12-20 Juergen Vigna <jug@sad.it>
10849 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10850 inside inset but undo_par was.
10852 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10854 * Thesaurus.C: always include <config.h> in sources.
10858 * box.h: do not include <config.h> in header files
10860 * text.C (paintLastRow): remove unused variable
10862 * text.C (transformChar):
10864 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10866 * Painter.C (text):
10867 * font.C (width): rewrite to use uppercase() instead of
10870 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10872 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
10874 * lyxfind.C: clean up of find failure position change
10876 2001-12-20 Juergen Vigna <jug@sad.it>
10878 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10880 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10881 (TeXRow): added to LaTeX a single tabular row.
10882 (TeXLongtableHeaderFooter): added to output LT-h/f data.
10883 (Latex): simplified and finally good LT-h/f support.
10884 (various_functions): just small adaptions for LT-h/f support.
10886 * tabular_funcs.[hC]: added and moved here all not classfunctions
10889 2001-12-19 Juergen Vigna <jug@sad.it>
10891 * tabular.[Ch]: better support for longtabular options (not finished
10894 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10896 * text.C (paintLastRow): use the label font instead of the font of
10897 the last character to compute the size of *_BOX. This makes more
10898 sense and avoids a crash with empty paragraphs.
10899 Use Painter::rectangle to draw EMPTY_BOX.
10901 2001-12-19 Juergen Vigna <jug@sad.it>
10903 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10904 the paragraphs if the replaced paragraph is not the first one!
10905 Tried to delete not used paragraphs but does not work yet so for
10906 now it's inside #ifdef's and by default off!
10908 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10910 * MenuBackend.C: include "lyx_main.h" instead of declaring
10911 lastfiles (actually was declared as LastFiles* instead of a
10914 2001-12-17 Juergen Vigna <jug@sad.it>
10916 * tabular.C (AppendColumn): applied John's fix
10918 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
10922 * BufferView_pimpl.h:
10923 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10926 * box.h: new start of class for above
10928 * lyxfunc.C: ignore space-only minibuffer dispatches.
10929 Show the command name when it doesn't exist
10931 * minibuffer.C: don't add empty lines to the history
10933 * minibuffer.C: add a space on dropdown completion
10935 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
10937 * text.C: fix line above/below drawing in insets
10939 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10941 * lyxlength.C (LyXLength): Initialize private variables.
10943 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
10945 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10946 when inserting error insets.
10948 2001-12-13 Juergen Vigna <jug@sad.it>
10950 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10951 actually sometimes the before-paragraph.
10952 (setUndo): don't clear the redostack if we're not actually undoing!
10954 2001-12-06 Juergen Vigna <jug@sad.it>
10956 * undo_funcs.C (textHandleUndo): well after John's hint I got here
10957 and fixed redoing of main paragraph, so we can use it now ;)
10959 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10961 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10963 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10966 2001-12-13 André Pönitz <poenitz@gmx.net>
10969 * undo_func.C: minor cleanup
10971 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10973 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10974 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10975 font in urw-fonts package which is marked as -urw-fontspecific and
10976 does not work (incidentally, changing the encoding in the
10977 fonts.dir of this package to -adobe-fontspecific fixes the
10980 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10981 is a crash when undoing first paragraph (Juergen, please take a
10982 look). THis does not mean the undo fix is wrong, just that it
10985 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10986 the (Paragraph*) version when needed instead of duplicating the
10989 * text.C (workWidth): use Inset::parOwner to find out where the
10990 inset has been inserted. This is a huge performance gain for large
10991 documents with lots of insets. If Inset::parOwner is not set, fall
10992 back on the brute force method
10994 * paragraph_pimpl.C (insertInset):
10995 * paragraph.C (Paragraph):
10996 (cutIntoMinibuffer): set parOwner of insets when
10997 inserting/removing them
10999 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11001 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
11007 * mathed/formulabase.C:
11008 * mathed/math_cursor.[Ch]:
11009 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11012 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11014 * lyxlength.[Ch] (operator!=): new function
11016 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11018 * text.C (workWidth): use Inset::parOwner to find out where the
11019 inset has been inserted. This is a huge performance gain for large
11020 documents with lots of insets. If Inset::parOwner is not set, fall
11021 back on the brute force method
11023 * paragraph_pimpl.C (insertInset):
11024 * paragraph.C (Paragraph):
11025 (cutIntoMinibuffer): set parOwner of insets when
11026 inserting/removing them
11028 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11030 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11032 * tabular-old.C (getTokenValue):
11033 * tabular.C (getTokenValue):
11034 (write_attribute): new versions for LyXLength
11035 (everywhere): adjust the use of widths
11037 * tabular.h: change the type of widths from string to LyXLength
11039 2001-12-11 Ben Stanley <bds02@uow.edu.au>
11041 * paragraph.C: fixed missing line number count when exporting
11042 Environments to LaTeX file
11044 * buffer.C: added informational message for checking line numbers.
11046 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11048 * text2.C (deleteEmptyParagraphMechanism): if there is only one
11049 paragraph, do the 'double space' part, but not the 'empty
11052 * text.C (workWidth): small optimization
11053 (getLengthMarkerHeight): use minimal size for negative lengths.
11055 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
11057 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11059 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11061 2001-12-11 André Pönitz <poenitz@gmx.net>
11064 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11066 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11068 * text2.C: keep selection on a setFont()
11070 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11072 * lyx_cb.C: another bv->text misuse, from insert label
11074 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11077 * kbsequence.C: re-instate nmodifier mask
11079 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
11081 * lyx_main.h: make lyxGUI private.
11083 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11085 * lyxfind.C: place the cursor correctly on failed search
11087 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11089 * text.C (getLengthMarkerHeight): for small heights, the arrows
11090 are not always on top/bottom of the text
11091 (drawLengthMarker): smaller arrows; take the left margin in
11092 account; draw also vfills.
11094 (paintLastRow): remove special code for vfill and standard spaces,
11095 since everything is handled in drawLengthMarker now.
11097 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11099 * buffer.C (insertErtContents): try to handle font and language
11100 interaction a bit better.g
11102 * ColorHandler.C (updateColor): change the hash to cover the whole
11103 LColor enum, ws cleanup
11104 (getGCLinepars): ditto
11105 (getGCLinepars): only lookup in the linecache once.
11107 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
11109 * iterators.C (operator++): Make the iterator more robust
11111 * BufferView2.C (removeAutoInsets): Use paragraph iterators
11113 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11115 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11118 * text.C: better added space drawing
11120 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11123 * BufferView2.C: fix layout combo update on inset unlock
11125 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11127 * Makefile.am: don't compile unused files
11129 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11133 * LyXAction.C: remove old LFUN_LAYOUTNO
11135 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11137 * paragraph_pimpl.h:
11138 * paragraph_pimpl.C: isTextAt() doesn't need font param
11140 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11143 * lyxlex.C: little cleanup
11145 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11147 * BufferView_pimpl.C: fix insertAscii for insets
11149 2001-12-05 Juergen Vigna <jug@sad.it>
11151 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11152 set the right font on the "multi" paragraph paste!
11154 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11160 * lyxlength.C: remove out-commented code.
11162 * BufferView_pimpl:
11176 * vc-backend.C: change "while(" to "while ("
11178 * lyxlength.[Ch]: add zero function to check if length is zero or
11180 * lyxgluelength.C: use it
11182 2001-12-05 Allan Rae <rae@lyx.org>
11184 * lyxlength.C: Attempted a fix for the abs(int) header selection.
11185 Works for 2.95.3, from what I understand of Garst's reports this should
11186 work for other g++ versions. We're screwed if the abs(int) definition
11187 changed between bugfix releases of gcc.
11189 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11191 * text.C: fix chapter label offset !
11193 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11196 * text.C: fix hfill at end of line, clean up
11198 2001-12-04 Juergen Vigna <jug@sad.it>
11200 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11201 that we force an update of the inset and it's owners if neccessary.
11203 2001-12-03 Juergen Vigna <jug@sad.it>
11205 * text.C (rowLast): simplified code
11207 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11209 * lyxfunc.C: fix show options on timeout
11211 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11213 * screen.C (topCursorVisible): scroll half a page when the cursor
11214 reached top of bottom of screen
11216 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
11218 * minibuffer.C: deactivate on loss of focus
11220 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11222 * vspace.[Ch] (operator!=): add operator.
11224 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
11226 * BufferView_pimpl.C: refuse to open an inset when
11227 there's a selection.
11229 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
11231 * BufferView_pimpl.C: allow to click on RHS of full row insets
11233 2001-11-30 Juergen Vigna <jug@sad.it>
11235 * tabular.C (LyXTabular): add a same_id to set the same id's in the
11236 insets for undo reasons.
11238 2001-11-28 André Pönitz <poenitz@gmx.net>
11240 * vspace.[Ch]: cosmetical changes
11242 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11252 * kbsequence.C: part re-write of old kb code
11255 * WorkArea.C: remove Lgb_bug_find_hack
11257 2001-11-30 José Matos <jamatos@fep.up.pt>
11259 * buffer.C (makeDocBookFile): add a comment to point a hack.
11260 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11261 Fixed a double write of labels.
11263 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11266 * LaTeX.h Fixed bug in LaTeX class where it would not
11267 re-run latex if no depfiles were changed, but the .dvi was removed.
11269 2001-11-28 André Pönitz <poenitz@gmx.net>
11271 * all the files from the change on 2001/11/26:
11272 use lyx::layout_type instead of LyXTextClass::size_type
11273 use lyx::textclass_type instead of LyXTextClassList::size_type
11275 2001-11-29 Juergen Vigna <jug@sad.it>
11277 * text.C: added support for paragraph::isFreeSpacing()
11279 * buffer.C: same as above
11281 * paragraph.h: inserted isFreeSpacing() function to enable
11282 FreeSpacing inside InsetERT.
11284 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11285 of the paragraph's in the cut/copy buffer to 0!
11287 * text2.C (removeRow): remove the assert as it can!
11289 * lyxtext.h: added helper function firstRow returning firstrow and
11290 made firstrow private again.
11292 * BufferView2.C (lockInset): don't relock if we're already locked!
11294 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11295 the only paragraph.
11296 (removeRow): added Assert::(firstrow)
11298 * debug.C: forgot to add INSETTEXT here.
11300 2001-11-28 Juergen Vigna <jug@sad.it>
11302 * sp_spell.C (initialize): changed error text to more general
11303 spellchecker command use (not only ispell!)
11305 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11307 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11309 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11311 * vspace.C: initialise lyxgluelength on failure
11313 2001-11-28 Allan Rae <rae@lyx.org>
11315 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11316 declaration & definition that looks like a function declaration.
11318 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11320 * BufferView2.C (copy):
11321 (copyEnvironment): do not clear the selection when doing a copy.
11323 * text.C (paintFirstRow): compilation fix
11325 2001-11-27 Ben Stanley <bds02@uow.edu.au>
11327 * tabular.C (Latex): correct line count when writing latex.
11329 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
11331 * paragraph_pimpl.h:
11332 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11335 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11339 * LColor.C: change vfillline->added_space
11341 * text.C: add markers and text for added space
11343 * vspace.C: fix comment
11345 2001-11-28 André Pönitz <poenitz@gmx.net>
11347 * paragraph.C: whitespace changes
11348 * all the other files from the change on 2001/11/26:
11349 change *::pos_type into lyx::pos_type
11351 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
11353 * buffer.C (parseSingleLyXformat2Token): Set the language to the
11354 language of the document when inserting error insets.
11356 2001-11-26 André Pönitz <poenitz@gmx.net>
11358 * BufferView_pimpl.[Ch]:
11366 * paragraph_pimpl.[Ch]:
11369 * text2.C: reduce header dependencies, introduce type for positions
11371 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11373 * <various>: change to use Alert.h
11375 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
11377 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11378 when encountering an unknown token.
11379 (readLyXformat2): Show an error message if there were unknown tokens.
11381 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
11384 * BufferView_pimpl.C:
11388 * text2.C: use par->isInset()
11390 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11392 * paragraph_pimpl.h:
11393 * paragraph_pimpl.C: cleanup
11395 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11397 * text2.C (removeRow):
11398 * text.C (setHeightOfRow): remove useless (and costly) call to
11401 2001-11-20 Allan Rae <rae@lyx.org>
11403 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11404 Now need Inset*::checkInsertChar() to return true for appropriate
11405 cases so that the characters in the minibuffer will actually be
11408 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11410 * text.C: change the order of the includes.
11411 (workWidth): initialize it at once.
11412 (workWidth): make maxw unsigned
11413 (setHeightOfRow): remove unused variable (inset)
11414 (selectSelectedWord): remove unused variable (inset)
11415 (paintRowText): fix drawing of hfill characters, and clean up a bit.
11417 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11419 * lyxserver.C (emergencyCleanup): do not try to close pipes if
11420 server is not running.
11422 (closeConnection): add debug info when server is disabled.
11424 * ColorHandler.C (getGCForeground): send debug message to GUI
11427 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11429 * kbmap.C (bind): modify because return conventions of
11430 kb_sequence::parse have changed.
11432 * kbsequence.C (parse): only ignore spaces and not any stupid
11433 control character. This avoids tests like s[i] <= ' ', which are
11434 guaranteed to fail with 8bit characters and signed chars.
11435 Change return code to string::npos when there have been no error
11436 (0 was a bad idea when error is at first character)
11438 2001-11-14 José Matos <jamatos@fep.up.pt>
11441 * buffer.C (simpleDocBookOnePar): removed unused argument.
11443 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11445 * text.C (selectNextWordToSpellcheck): do not test explicitely for
11446 insets which are part of a word. Paragraph::isLetter takes care of
11447 that now. Use Paragraph::isInset to identify insets.
11448 (selectSelectedWord): do not test for hyphenation break.
11450 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11451 that protected spaces are considered as spaces.
11453 * paragraph.C (isLetter): cleanup the code for ispell extras; use
11456 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
11459 * lyxserver.C: fix it. and small cleanup.
11461 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11463 * BufferView_pimpl.C: use inline helpers
11466 * LaTeXFeatures.C: fix typos
11469 * Spacing.C: move spacing_string into class
11471 * ToolbarDefaults.C: move stuff into namespace anon
11473 * layout.h: update enum
11475 * lyxfunc.C: use better debug
11477 * minibuffer.h: fix typo
11481 * WorkArea.C: add and use Debug::WORKAREA
11485 * text2.C: code re-organisation, inline helpers
11487 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
11489 * Layout.C: replaced a few cases of std::vector.size() == 0 with
11490 std::vector.empty().
11492 2001-11-09 Allan Rae <rae@lyx.org>
11494 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11495 '\n's after tables. Tabular and ERT inset work now makes this no
11498 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11501 * minibuffer.C: fix crash, improve drop-down completion
11503 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11506 * lyxserver.C: invalidate fd's when doing endPipe()
11508 2001-11-08 José Matos <jamatos@fep.up.pt>
11510 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11511 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11514 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11516 2001-11-07 José Matos <jamatos@fep.up.pt>
11519 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11522 * buffer.C (sgmlOpenTag):
11523 * buffer.C (sgmlCloseTag): removed debug info.
11525 * buffer.h (sgmlOpenTag):
11526 * buffer.h (sgmlCloseTag): made public.
11528 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11530 * buffer.C (saveParamsAsDefaults):
11531 * lyx_cb.C (MenuLayoutSave): remove
11533 * LyXAction.C (init):
11535 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11537 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11539 * buffer.C (setPaperStuff): removed from here...
11541 * bufferparams.C (setPaperStuff): ... and moved there.
11543 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11547 * XFormsView.C: add support for drop-down completion
11549 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11551 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11554 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11556 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11559 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11561 * lyx_main.C: change ref to known bugs
11563 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11565 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11566 to work around older babel problems.
11568 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11570 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11572 2001-10-24 Juergen Vigna <jug@sad.it>
11574 * tabular-old.C (ReadOld): below variable changes reflected.
11576 * tabular.[Ch]: added ltType struct for longtable header/footer
11577 defines and changed all instances where they are used. Added
11578 future support for double top/bottom rows.
11580 2001-10-24 José Matos <jamatos@fep.up.pt>
11582 * buffer.h (docbookHandleCaption):
11583 * buffer.C (docbookHandleCaption): removed unused function.
11584 (makeDocBookFile): moved docbook supported version to v4.1.
11586 2001-10-24 José Matos <jamatos@fep.up.pt>
11589 * tabular.C (docbookRow): new function to export docbook code of a row.
11590 (DocBook): now honors the longtable flags.
11592 2001-10-23 José Matos <jamatos@fep.up.pt>
11595 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11596 of the lyx defined sgml entities used in a docbook/linuxdoc document.
11598 * buffer.C (makeLinuxDocFile):
11599 (makeDocBookFile): reworked the preamble, more clean, and with
11600 support for lyx defined entities. Changed the document declaration
11601 to be more XML friendly.
11603 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11604 if we need to output XML that should be done with a filter.
11606 2001-10-22 Juergen Vigna <jug@sad.it>
11608 * sp_pspell.h (class PSpell): add alive function needed in the
11609 controller to see if the spellchecker could be started.
11611 2001-10-22 Juergen Vigna <jug@sad.it>
11613 * buffer.C (insertStringAsLines): modify the font for inserting
11614 chars in certain conditions by calling checkInsertChar(font).
11616 2001-10-19 Juergen Vigna <jug@sad.it>
11618 * text.C (workWidth): use getRow instead of wrong algorithm.
11619 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11621 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
11626 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11628 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11630 * text.C (workWidth): do not search for the exact row when
11631 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11632 optimization for big documents.
11634 2001-10-18 Juergen Vigna <jug@sad.it>
11636 * text.C (workWidth): new function with added Inset * parameter.
11638 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11640 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11642 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11643 change return type of getColumnNearX.
11646 * text.C (changeRegionCase): use uppercase/lowercase instead of
11649 (rightMargin): simplify code by factoring out the uses of
11654 (appendParagraph): use Paragraph::size_type
11656 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11658 * vspace.C (asLatexString): add a missing break
11660 2001-10-15 Herbert Voss <voss@perce.de>
11662 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11664 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11666 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11669 2001-10-10 André Pönitz <poenitz@gmx.net>
11671 * lyxfunc.C: removed greek_kb_flag.
11673 2001-10-10 Herbert Voss <voss@perce.de>
11675 * lyx_main.C: delete global string help_lyxdir.
11677 2001-10-09 Herbert Voss <voss@perce.de>
11679 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11681 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11683 * lyx_main.C: added global string help_lyxdir.
11685 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11687 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
11689 * lyxrc.C (set_font_norm_type): support iso8859-4
11691 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
11693 * LaTeX.C (deplog): add another regex for MikTeX
11695 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
11697 * lyxrc.C (set_font_norm_type): support iso8859-3
11699 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11701 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11703 * LaTeXFeatures.C: remove special case of french and index
11705 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11706 before \begin{document}). This solves several incompatibilities.
11708 2001-10-03 Garst Reese <reese@isn.net>
11710 * lyx_cb.C: change CheckTex error msg.
11712 2001-10-03 José Matos <jamatos@fep.up.pt>
11714 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11716 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11718 * .cvsignore: update
11720 * lyx_main.C (commandLineVersionInfo): use new style version info.
11722 * buffer.C (writeFile):
11724 (makeLinuxDocFile):
11725 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11727 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11729 * version.h: update to use stuff in version.C
11731 * version.C.in: new file. Contains version information determined
11732 at compile time. This is a merging of version.h and
11735 2001-10-03 Juergen Vigna <jug@sad.it>
11737 * BufferView_pimpl.C (update): don't change "dirty" status in
11740 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
11742 * WorkArea.C (c-tor): re-position version string slightly.
11744 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
11746 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11747 revert to previous code.
11749 WorkArea.[Ch]: (show, destroySplash): methods removed.
11751 WorkArea.C: rework code so that it's an amalgam of the codes before and
11752 after the splash screen was moved to WorkArea.
11754 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11757 * vspace.C (inPixels):
11760 * buffer.C (insertStringAsLines):
11761 (asciiParagraph): fix types to be large enough
11763 * lyxlex_pimpl.h: change member status from short to int
11765 * layout.h: fix type of endlabeltype
11768 * kbsequence.C (parse): change return type to string::size_type
11770 * LaTeX.C (updateBibtexDependencies): comment out unneeded
11773 * Bullet.C (bulletSize):
11774 (bulletEntry): do not use short ints as parameters
11776 * BufferView2.C (insertLyXFile): change a char to an int.
11778 * WorkArea.C (WorkArea): remove unneeded floats in computation
11780 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
11782 * buffer.C (asciiParagraph): Treat '\\' as other chars.
11784 * paragraph.C (asString): Do not ignore newline/hfill chars when
11785 copying to the clipboard.
11787 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
11789 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11790 after a multi-line inset.
11792 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
11794 * paragraph.C (validate): Set NeedLyXFootnoteCode
11796 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11798 * lyxfont.C (LyXSizeNames): changed increase-error to increase
11799 and decrease-error to decrease.
11801 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11803 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11804 it more readable (should be equivalent)
11806 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
11808 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11810 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11812 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11813 of a cursor (row, etc.) after a character has been deleted
11814 (deleteEmptyParagraphMechanism): call the method above on _all_
11815 cursors held by the LyXText when a double space has been
11818 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11820 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11822 (resizeCurrentBuff): remove code to destroy the old splash dialog.
11824 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11825 background. Use greyOut() and the new show() methods to toggle between
11826 the foreground and background. Add code to remove the splash after
11827 its initial showing.
11829 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11830 (create_forms): no longer call Dialogs::showSplash.
11832 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11834 * .cvsignore: add version_info.h
11836 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11838 * version_info.h.in: new file
11840 * Makefile.am: add version_info.h.in
11842 * lyx_main.C (commandLineVersionInfo): use version_info defined in
11843 version_info.h instead of VERSION_INFO
11845 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
11847 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11848 The ERT inset now returns string().
11850 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
11852 * lyxtext.h, text.C (selectNextWord): renamed as
11853 selectNextWordToSpellcheck.
11855 * text.C (selectNextWordToSpellcheck): Modified to not select
11856 words inside an ERT inset.
11858 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11860 * lyx_cb.C (MenuLayoutSave): change a bit the question
11862 * sp_base.h: include <sys/types.h>
11864 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
11866 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11868 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
11870 * several files: fix typos in user-visible strings
11872 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11874 * text2.C (pasteSelection): do not set the selection, since it
11875 will be cleared later. Actually, the intent was to fix the way the
11876 selection was set, but I figured rmoving the code was just as good.
11878 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
11880 * FontLoader.C (available): Check if font is available without
11883 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11885 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11887 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
11889 * lyxrc.[Ch]: added display_graphics variable and associated code.
11891 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11893 * bufferparams.C (hasClassDefaults): new method. Returns true if
11894 the buffer parameters correspond to known class defaults
11896 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
11898 * XFormsView.C (show): set minimum size to the main window.
11900 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11902 * text2.C (copySelection):
11904 * lyxfind.C (LyXReplace):
11905 * BufferView_pimpl.C (Dispatch): pass the correct flag to
11906 LyXText::selectionAsString.
11908 * paragraph.C (asString): add "label" argument to the second form
11910 * text2.C (selectionAsString): add "label" argument and pass it to
11911 Paragraph::asString.
11913 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11915 * lyx_main.C (commandLineHelp): remove version information
11917 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
11919 * lyx_main.C: add -version commandline option
11921 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11923 * paragraph.h: make the optional constructor arg required instead.
11924 some modifications to other files because of this.
11926 * minibuffer.C (C_MiniBuffer_peek_event): make it static
11928 * lyxserver.C (C_LyXComm_callback): make it static
11930 * lyx_main.C (error_handler): make it static
11932 * lyx_gui.C (LyX_XErrHandler): make it static
11934 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11936 * WorkArea.C: make the extern "C" methods static.
11938 * Makefile.am (lyx_LDADD): simplify
11940 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11942 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11943 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11945 * LyXAction.C (init):
11946 * lyxfunc.C (dispatch): associated code removal.
11948 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11950 * lyxfont.h (isSymbolFont): shut off warning
11952 * text.C (setHeightOfRow):
11953 (getVisibleRow): fix crash with empty paragraphs which have a
11956 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
11958 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11961 2001-09-04 José Matos <jamatos@fep.up.pt>
11964 * tabular.C (docbook): rename docBook method to docbook.
11966 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11968 * Makefile.am: add dependencies to main.o.
11970 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
11972 * FontLoader.C (available): Return false if !lyxrc.use_gui
11974 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
11976 * FontInfo.C (query):
11977 * converter.C (view):
11978 * importer.C (Import):
11979 * exporter.C (Export): Can not -> cannot.
11981 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
11983 * BufferView_pimpl.C: allow to create index inset even if
11986 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11988 * buffer.C (getLists): replace boost::tie code with an explicit pair
11989 as boost::tie can break some compilers.
11991 * iterators.h: Added a std:: declaration to the return type of
11994 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
11996 * lyxrc.C: add help for view_dvi_paper_option, default to safe
11999 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
12001 * iterators.[Ch]: New files. Provide paragraph iterators.
12003 * buffer.C (changeLanguage): Use paragraph iterators.
12004 (isMultiLingual): ditto
12006 * BufferView2.C (ChangeInsets): Use paragraph iterators.
12008 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
12010 * FontLoader.C: Support for cmr font.
12012 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
12014 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12015 (available): New method.
12017 * FontInfo.C (getFontname): Use scalable fonts even when
12018 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12021 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12023 * converter.C (Formats::view): reverted! Incorrect fix.
12025 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12027 * converter.C (Formats::view): only output the -paper option
12028 if the dvi viewer is xdvi, thereby fixing bug #233429.
12030 2001-08-23 Herbert Voss <voss@perce>
12032 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12034 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
12036 * Spacing.h (Spacing): Set space to Default on in the default
12039 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
12041 * vc-backend.h (RCS::versionString): add RCS to version
12042 (CVS::versionString): add CVS to version
12044 * vc-backend.C (scanMaster): do not add CVS to version.
12045 (scanMaster): do not add RCS to version
12047 * lyxvc.C (versionString): new method
12049 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12051 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12053 * Spacing.C (set): initialize fval
12055 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
12057 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12060 2001-08-16 Juergen Vigna <jug@sad.it>
12062 * lyxfunc.C (dispatch): implemented the new FINISHED states.
12064 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12066 * BufferView_pimpl.C:
12069 * text2.C: setParagraph takes linespacing now
12071 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
12073 * LyxAction.C: add internal LFUN_CITATION_INSERT
12075 * LyXView.C: actually apply fix
12077 * bufferlist.C: fix open non-existent file
12079 * lyxfind.C: fix indentation
12081 * lyxfunc.C: remove unneeded assert, fix typo
12083 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12085 * MenuBackend.C: use "Floatname List"
12087 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
12089 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12090 when converting LaTeX layout to insetERT.
12091 Generate a non-collapsed float when reading old float
12093 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12095 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12098 2001-08-13 Juergen Vigna <jug@sad.it>
12100 * text.C (fill): return 0 instead of 20 as this seems to be the more
12103 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12105 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12108 2001-08-13 Juergen Vigna <jug@sad.it>
12110 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12112 (SearchBackward): comment out the unlocking of the inset_owner this
12113 should not be needed!
12115 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
12117 * Many files: Remove inherit_language, and add latex_language
12119 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12120 collapsible insets.
12122 2001-08-10 Juergen Vigna <jug@sad.it>
12124 * text.C (prepareToPrint): fixed hfill-width in draw!
12126 * BufferView2.C (selectLastWord): save the selection cursor as this
12127 now is cleared in the function LyXText::clearSelection!
12129 2001-08-08 Juergen Vigna <jug@sad.it>
12131 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12132 BACKSPACE type functions.
12134 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12135 is only cutted from the document but not put in the cut-buffer, where
12136 still the old stuff should be.
12138 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12140 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12142 * tabular.C (SetWidthOfCell): fixed special case where the width
12144 (LeftLine): handle '|' in align_special.
12146 (LeftAlreadyDrawed): ditto
12147 (SetWidthOfCell): ditto
12149 2001-08-07 Juergen Vigna <jug@sad.it>
12151 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12153 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12155 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12156 * lyxlex.[hC]: ditto
12158 2001-08-06 Juergen Vigna <jug@sad.it>
12160 * text.C (getVisibleRow): fix up row clearing a bit.
12162 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12164 * minibuffer.C: make sure the X server sees the changes in the input.
12166 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12168 * paragraph.C (getFont): split into...
12169 (getLabelFont): this
12170 (getLayoutFont): and this
12171 * paragraph_pimpl.C (realizeFont): calling this
12173 * text2.C (getFont): split into...
12174 (getLayoutFont): this
12175 (getLabelFont): and this
12176 (realizeFont): all three calling this
12178 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12181 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12183 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12185 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
12187 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12188 layouts from the Quote inset insertion.
12190 2001-08-03 Juergen Vigna <jug@sad.it>
12192 * BufferView_pimpl.C (update): do the fitCursor only at the end!
12194 * screen.C (drawFromTo): don't call fitcursor here and do the loop
12195 only if status not is already CHANGED_IN_DRAW (second level).
12197 * text.C (draw): don't set the need_break_row when inside an
12200 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12202 * buffer.C (parseSingleLyXformat2Token): handle more latex
12205 * bufferview_funcs.[hC]: change function names to
12206 begin with small char, adjust other files.
12208 2001-08-02 André Pönitz <poenitz@gmx.net>
12211 BufferView_pimpl.C: remove broken special code for math-greek
12213 2001-08-02 Juergen Vigna <jug@sad.it>
12215 * BufferView_pimpl.C (update): redone this function so that we
12216 update the text again if there was a CHANGE_IN_DRAW.
12218 * screen.C (cursorToggle): removed LyXText parameter and recoded.
12219 (drawFromTo): added a new internal bool which is used by draw() and
12221 (general): some cursor drawing problems fixed.
12223 2001-08-01 Juergen Vigna <jug@sad.it>
12225 * lyxfind.C (LyXFind): fixed
12226 (SearchForward): ditto
12227 (SearchBackward): ditto
12229 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12230 spurius drawing of the cursor in the main area.
12232 * text2.C (status): small fix which could lead to a segfault!
12233 (clearSelection): remove unneeded BufferView param.
12235 2001-08-01 André Pönitz <poenitz@gmx.net>
12237 * lyxfunc.C: small change due to changed mathed interface
12239 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12241 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12243 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
12245 * lyxfunc.c: fail gracefully if file doesn't exist
12250 * BufferView_pimpl.C: IsDirWriteable() proto changed
12252 * LyXView.C: fix updateWindowTitle() to store the last title
12254 2001-07-31 Juergen Vigna <jug@sad.it>
12256 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12257 the font (wrong since using of Paragraph::highestFontInRange).
12259 * paragraph.C (highestFontInRange): added a default_size parameter.
12261 * text.C (getVisibleRow): minor clear row changes (still not perfect).
12262 (setHeightOfRow): reformat
12264 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12266 * converter.[hC] + affected files: move to (inital-char)lowercase
12269 * ParagraphParameters.C (ParagraphParameters): remove commented code
12271 * PainterBase.[Ch]: remove commented code
12273 * LaTeXFeatures.h: add "bool floats" for float.sty
12275 * LaTeXFeatures.C (LaTeXFeatures): init floats
12276 (require): handle float
12277 (getPackages): do it with floats
12279 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12281 * BufferView_pimpl.C (Dispatch): improve handling of
12282 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12284 * commandtags.h: #include lyxfont.h here temporarily to avoid
12287 * bufferlist.h: include LString.h here.
12289 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12291 * text2.C (getStringToIndex): new method.
12293 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
12295 * *: Reduced header file dependencies all over.
12297 2001-07-30 Baruch Even <baruch@lyx.org>
12299 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12301 2001-07-29 Baruch Even <baruch@lyx.org>
12303 * buffer.C (readInset): Changed GRAPHICS to Graphics.
12305 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12307 * ParameterStruct.h (endif): add a default constructor to make
12308 sure that all variables is initialized.
12310 * ParagraphParameters.C (ParagraphParameters): adjust
12312 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12314 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12315 index; also, check that there is something to index, and that it
12316 does not span over several paragraphs.
12317 (doubleClick): use WHOLE_WORD_STRICT for double click.
12319 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12321 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12324 2001-07-26 Baruch Even <baruch@lyx.org>
12326 * buffer.C (readInset): Changed to call up InsetGraphics when reading
12327 an InsetFig figure, backwards compatible reading of old figure code.
12329 2001-07-27 Juergen Vigna <jug@sad.it>
12331 * text2.C: font.realize function adaption.
12333 * text.C (draw): add a warnings lyxerr text if needed.
12335 * layout.C: font.realize function adaption.
12337 * language.C: add inherit_language and implement it's handlings
12339 * bufferview_funcs.C (StyleReset): remove language parameter from
12340 font creation (should be language_inherit now).
12342 * bufferparams.C (writeFile): handle ignore_language.
12344 * paragraph.C (getFontSettings): the language has to be resolved
12345 otherwise we have problems in LyXFont!
12347 * lyxfont.C (lyxWriteChanges): added document_language parameter
12348 (update): removed unneeded language parameter
12350 * paragraph.C (validate): fixed wrong output of color-package when
12351 using interface colors for certain fonts in certain environments,
12352 which should not seen as that on the final output.
12354 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
12356 * BufferView_pimpl.C:
12361 * LyXAction.C: add thesaurus support
12364 * lyxfind.C: add "once" parameter, for thesaurus, to not
12365 move to the next match
12367 2001-07-26 Juergen Vigna <jug@sad.it>
12369 * lyxfont.C (realize): honor ignore_language too!
12372 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12374 * text.C (draw): one place more for ignore_language to not draw
12377 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
12379 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12381 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12383 * buffer.C (parseSingleLyXformat2Token): a more general fix for
12384 the minipage conversion problem.
12386 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12388 * buffer.C (parseSingleLyXformat2Token): check minipage if we
12391 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12393 * BufferView.h: don't forward declare WorkArea
12395 * BufferView.C: don't include WorkArea.h
12397 2001-07-25 André Pönitz <poenitz@gmx.net>
12401 * lyxfunc.C: new LFUN 'math-space'
12403 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12405 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12407 * text2.C (toggleInset): call open/close
12409 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12411 * lyxfunc.C (dispatch): add debug for the disabled case
12413 * font.C (buttonText): make similar to rectText
12415 * buffer.C (readInset): comment out parsing of insetlist and
12418 * PainterBase.C (rectText): small correction
12420 * BufferView_pimpl.C: comment out insettheorem and insetlist
12421 * LyXAction.C: ditto
12422 * commandtags.h: ditto
12424 2001-07-24 Juergen Vigna <jug@sad.it>
12426 * text.C (draw): honor the ignore_language.
12428 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12430 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12432 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12435 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12437 * lyxtext.h: remove unused (and unimplemented) methods
12439 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12441 * text.C (getVisibleRow): honor background color
12444 * Painter.h: remove default color argument for fillRectangle
12446 * text.C (backgroundColor): new method
12448 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12450 * text.C (getVisibleRow): adjust
12452 * font.[Ch] (rectText): new method, metrics
12453 (buttonText): new method, metrics
12455 * PainterBase.[hC]: make rectText and buttonText always draw and take
12458 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12460 * ToolbarDefaults.C (read):
12461 * MenuBackend.C (read): allow escaping in all strings
12463 * BufferView_pimpl.C (insertAndEditInset): new method.
12464 (Dispatch): use insertAndEditInset whenever appropriate.
12466 * BufferView_pimpl.C (insertNote): removed
12468 * BufferView_pimpl.C (smartQuote): new method, moved from
12469 BufferView; if an insetquote cannot be inserted, insert a '"'
12472 * BufferView2.C: remove insertCorrectQuote();
12474 * lyxfunc.C (getStatus): Add support for all remaingin
12475 inset-insert lfuns.
12477 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12479 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12480 command (necessary to pass " as parameter of self-insert.
12482 * text.C (selectWordWhenUnderCursor):
12483 (selectWord): add word_location parameter
12484 (selectWordWhenUnderCursor): same + remove special code for word
12486 (selectNextWord): use kind() to guess type of insetspecialchar,
12489 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12490 (insertErtContents): create ert insets as collapsed.
12491 (readInset): better compatibility code for Info inset.
12493 2001-07-20 Juergen Vigna <jug@sad.it>
12495 * lyxfunc.C (dispatch): use always LyXFind now!
12497 * text2.C (init): add a reinit flag so that the LyXText can be
12498 reinited instead of deleted and reallocated (used in InsetText).
12500 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12506 2001-07-18 Juergen Vigna <jug@sad.it>
12508 * text.C (selectNextWord): handle insets inside inset by calling
12509 always the bv->text functions so that we can go up the_locking_inset!
12511 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12512 in strange locations when inside an inset!
12514 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12515 handling to include insets.
12517 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12519 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12521 * LyXAction.C (init):
12523 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12524 LIGATURE_BREAK, since the name is so stupid.
12526 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12528 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12531 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12533 * sp_form.[Ch]: remove.
12535 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12537 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12540 * src/buffer.C (readInset): ditto.
12542 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12544 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12545 menuSeparator(), endOfSentenceDot(), ldots() and
12546 hyphenationPoint(), which are therefore removed.
12547 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12549 * LyXAction.C (init):
12550 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12552 * paragraph.C (getWord): removed.
12554 * BufferView_pimpl.C (Dispatch): use last word or selection for
12555 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12557 * lyx_main.C (queryUserLyXDir): do not ask before creating
12558 user_dir, except if it has been named explicitely.
12560 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12562 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12563 a document of zero size.
12565 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12567 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12568 approriately in the c-tor and in require().
12569 (getPackages): output the appropriate LaTeX for natbib support.
12571 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12572 variables "use_natbib" and "use_numerical_citations" when reading the
12574 (readInset): read the various natbib cite commands.
12575 (validate): white-space change.
12577 * bufferparams.[Ch]: new variables "bool use_natbib" and
12578 "bool use_numerical_citations".
12579 (writeFile): output them in the LyX file.
12581 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12583 * lyxfunc.C (getStatus): add support for all the inset insertion
12586 * text2.C (insertInset):
12587 * paragraph.C (insetAllowed):
12588 * BufferView_pimpl.C (insertInset): update to take in account the
12589 renaming of insertInsetAllowed
12591 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12593 * text2.C (getInset): new method. returns inset at cursor position.
12595 * BufferView_pimpl.C (Dispatch): changes because of this.
12597 * LyXAction.C (init): rename open-stuff to inset-toggle.
12599 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12601 * text2.C (toggleInset): renamed from openStuff; use
12604 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
12606 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12608 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12610 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
12612 * buffer.C (readLyXformat2): Add filename to the error dialog
12614 2001-07-18 Juergen Vigna <jug@sad.it>
12616 * tabular.C (GetCellNumber): put an assert here instead of the check!
12618 2001-07-17 Juergen Vigna <jug@sad.it>
12620 * BufferView_pimpl.C (toggleSelection): adapted too.
12622 * text.C (selectNextWord): adapted for use with insets.
12623 (selectSelectedWord): ditto
12625 2001-07-17 Juergen Vigna <jug@sad.it>
12627 * sp_spell.C (PSpell): fix initialitation order.
12629 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12631 * paragraph.C: spacing
12633 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
12635 * sp_spell.C: repair language selection for pspell
12637 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12639 * lyxfunc.h: change more methods to begin with lower char.
12641 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
12643 * buffer.C (parseSingleLyXformat2Token): Generate error insets
12644 for unknown layouts.
12646 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
12648 * buffer.C (readLyXformat2): Generate an error dialog if there are
12651 2001-07-16 Juergen Vigna <jug@sad.it>
12653 * sp_spell.C: always compile ISpell part.
12655 * lyxrc.C: added use_pspell entry and it's handling.
12657 2001-07-13 Juergen Vigna <jug@sad.it>
12659 * sp_spell.C: removed double includes.
12661 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
12663 Consistent use of Lsstream.h:
12664 * Lsstream.h: added using std::stringstream for consistencies sake.
12666 * buffer.C: removed using std::stringstream
12668 * lyxfont.C (stateText):
12669 * paragraph.C (asString):
12670 * text.C (selectNextWord, selectSelectedWord):
12671 * text2.C (setCounter):
12672 * vspace.C (asString, asLatexString):
12673 std::ostringstream -> ostringstream.
12675 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12677 * LyXAction.C: add LFUN_HELP_ABOUTLYX
12678 * commandtags.h: add LFUN_HELP_ABOUTLYX
12679 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12681 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12683 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12685 * lyx_gui_misc.C: remove spellchecker
12686 * lyxfunc.C: showSpellchecker
12688 * sp_ispell.h: added
12689 * sp_pspell.h: added
12690 * sp_spell.C: added
12691 * sp_form.[Ch]: removed
12692 * spellchecker.[Ch]: removed
12694 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
12696 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12698 (simpleTeXSpecialChars): Simply print the input character without
12699 any special translation if pass_thru is set.
12701 * layout.h: Added bool pass_thru to layout class for being able to
12702 implement pass through of a paragraph for Literate Programming.
12704 * layout.C: add LT_PASS_THRU to LayoutTags enum.
12705 * layout.C (LyXLayout): set pass_thru to flase in constructor.
12706 * layout.C (Read): add "passthru" to list of layout tags and add
12707 code to set the pass_thru boolean when it is read.
12709 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12711 * trans_decl.h: remove allowed from KmodInfo
12713 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12714 remove allowed code
12717 * paragraph_pimpl.C (erase): use boost::prior
12719 * Painter.C (text): use data() instead of c_str() when length is
12721 * WorkArea.C (putClipboard): ditto
12722 * font.h (width): ditto
12724 * BufferView2.C: use it-> instead of (*it). for iterators
12726 * paragraph_pimpl.C: ditto
12727 * paragraph.C: ditto
12728 * minibuffer.C: ditto
12729 * language.C: ditto
12731 * encoding.C: ditto
12732 * counters.C: ditto
12733 * converter.C: ditto
12735 * Variables.C: ditto
12736 * TextCache.C: ditto
12737 * MenuBackend.C: ditto
12738 * LyXAction.C: ditto
12740 * FloatList.C: ditto
12741 * DepTable.C: ditto
12742 * ColorHandler.C (LyXColorHandler): ditto
12744 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12746 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12748 * text2.C (openStuff): reintroduce this method (which had been
12749 nuked in NEW_INSETS frenzy).
12751 * lyxfunc.C (Dispatch): when an action has not been handled, use
12752 its name in the error message, not its number.
12754 * paragraph.C (inInset): change method name to begin with lowercase.
12757 * text2.C: updates because of this.
12759 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12761 * ToolbarDefaults.C (add): add spaces in error message
12763 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12765 * buffer.C (readLyXformat2): initialize the ert comp. variables.
12766 (readLyXformat2): rename return_par to first_par, use lyxlex's
12767 pushToken and remove the manual push handling.
12768 (parseSingleLyXformat2Token): add another ert comp. variable:
12769 in_tabular, rename return_par to first_par. handle newlines better
12771 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12773 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12775 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12777 * text2.C (getParFromID): removed
12779 * buffer.C (getParFromID): new method moved form lyxtext.
12780 * BufferView2.C (insertErrors): adjust
12781 (setCursorFromRow): adjust
12782 * BufferView_pimpl.C (restorePosition): adjust
12783 * lyxfunc.C (Dispatch): adjust
12784 * undo_funcs.C (textUndo): adjust
12786 (textHandleUndo): adjust
12787 (textHandleUndo): adjust
12789 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12791 * buffer.C: up' the LYX_FORMAT
12793 * lyxfont.h: turn NO_LATEX on as default
12795 * buffer.C (insertErtContents): new methods of tex style compability.
12796 (parseSingleLyXformat2Token): use it several places.
12797 * tabular.C (OldFormatRead): and here
12799 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12801 * text2.C: remove some commented code.
12804 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12805 * trans.C: changes because of the above.
12807 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
12809 * text2.C (setCounter): Fix counters bug with bibliography layout.
12811 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12813 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12814 own member functions
12815 (simpleTeXSpecialChars): ditto
12817 2001-07-06 Juergen Vigna <jug@sad.it>
12819 * a lot of files: changed the access to LyXText::status and the
12820 call of undo-functions.
12822 * undo.[Ch]: added a inset_id to the undo informations.
12824 * undo_funcs.[Ch]: added and moved here all undo functions.
12826 * lyxtext.h: give the status enum a weight, made status_ a private
12827 variable and made accessor functions for it, removed the whole bunch
12828 of undo-functions as they are now in their own file, make some
12829 functions publically available. Added function ownerParagraph with
12832 * paragraph.[Ch]: added "bool same_ids" to the constructor,
12833 made InInset() a const function, added getParFromID() function.
12835 * buffer.[Ch]: added const version for inset_iterator functions,
12836 added getInsetFromID() function.
12838 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12839 changed undo functions for new version.
12841 2001-07-05 Juergen Vigna <jug@sad.it>
12843 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12844 unknow mechanism does not call the proper constructor but only this
12845 one also if I request the other!?
12847 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12849 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12851 * text2.C (LyXText): use initialization lists.
12853 * lyxtext.h (Selection): initialize set_ and mark_
12854 (init): remove method
12856 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
12858 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12860 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12862 * screen.[Ch]: change method names to begin with lowercase
12864 * BufferView_pimpl.C (updateScrollbar): simplify further and
12865 hopefully make it a bit faster.
12867 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12869 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12870 calling directly xforms functions.
12872 * Painter.C (Painter):
12873 * lyx_cb.C (MenuWrite):
12874 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12877 * lyx_gui.C: remove bogus guiruntime extern declaration.
12879 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12881 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12883 (redoDrawingOfParagraph): ditto
12884 (redoParagraphs): ditto
12885 (cutSelection): don't create a object for CutAndPaste use the
12886 static method directly
12887 (pasteSelection): ditto
12889 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12892 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12894 * modifications to some other files because of this.
12896 * Makefile.am (lyx_SOURCES): add XFormsView
12898 * XFormsView.[Ch]: new files
12900 * LyXView.[Ch]: make LyXView a base class for the gui handling for
12901 the main window. Move the gui dependent stuff to XFormsView
12903 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12905 * tabular.C (GetCellInset): update cur_cell also in the row/col
12906 version of this function.
12908 * lyxfunc.C: no need to include figure_form.h here.
12914 * lyxvc.C: no need to include forms.h here.
12916 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12918 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12920 * lyxfunc.C (Dispatch):
12922 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12923 constructor argument.
12925 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12927 * paragraph.C (Paragraph): dont't clear, and just set layout.
12928 (makeSameLayout): use params's copy contructor.
12930 * ParagraphParameters.[Ch] (makeSame): delete method
12932 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
12934 * Variables.[Ch]: fix indentation, rename set to isSet
12936 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12938 * lyxfunc.C (Dispatch): fix typo
12940 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12942 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12945 * bufferlist.C: include assert.h for emergencyWrite().
12947 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12949 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12950 give up at last (bug #425202) !
12952 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
12958 * spellchecker.C: strip spellchecker options and bring up
12959 preferences tab instead
12961 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12963 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12964 the istringstream constructor
12966 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12968 * paragraph.C (getLayout): fix return value
12970 * paragraph.h: do not declare getLayout as inline.
12972 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12974 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12976 * lyxcursor.h (operator<): new func
12977 (operator>): new func
12978 (operator>=): new func
12979 (operator<=): new func
12981 * text.C (changeCase): use selection.start and selection.end
12982 (changeRegionCase): require from to be <= to. Require par to be a
12985 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12987 2001-06-27 Juergen Vigna <jug@sad.it>
12989 * text.C (cursorLeftOneWord): changed to return the cursor and added
12990 overlay with BufferView * parameter which calls this one.
12992 (selectWord): use new getWord function.
12993 (changeCase): renamed from changeWordCase as and extended to work
12994 also on selections.
12996 * lyxtext.h: added enum word_location
12998 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12999 changeCase as this operates now also on selections.
13001 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
13003 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13005 * many files: send debug output to Debug::INFO instead of
13008 * converter.C (View):
13010 (Move): send debug output to Debug::FILES instead of console.
13012 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
13014 * lyxfunc.C (getStatus): use func_status
13016 * func_status.h: new header, describing the results of
13017 LyXFunc::getStatus;
13019 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13022 2001-06-25 The LyX Project <jug@sad.it>
13024 * buffer.C (sgmlOpenTag):
13026 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
13028 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13030 * text2.C: remove some dead code
13032 * tabular.C (GetCellInset): store the last cell checked (gotten)
13034 * tabular.h: add the helper for the speedup
13036 * lyxtext.h: remove some dead code
13038 2001-06-26 The LyX Project <Asger>
13040 * paragraph.C: Change export to LaTeX of alignment to
13041 \begin{center} and family for better roundtrip work with reLyX.
13043 * Tune the math drawing a bit.
13045 2001-06-25 The LyX Project <Asger>
13047 * LColor.C (LColor): New color for math background. New color
13050 2001-06-25 The LyX Project <jug@sad.it>
13052 * lyxfunc.C (MenuNew): remove extra check for .lyx file
13054 * lyxfunc.C (Open):
13055 * bufferlist.C (newFile): do not restrict to files ending with
13058 * BufferView_pimpl.C (MenuInsertLyXFile):
13060 2001-06-24 The LyX Project <jug@sad.it>
13062 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13065 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13067 * lyxtext.h: rename most methods to begin with a small char.
13068 Lots of changes because of this.
13070 * paragraph.C (Paragraph): do not call fitToSize
13071 (erase): call Pimpl::erase
13072 (insertChar): call Pimpl::insertChar
13073 (insertInset): call Pipl::insertInset
13074 (breakParagraph): do not call fitToSize
13075 (breakParagraphConservative): do not call fitToSize
13076 (fitToSize): remove method
13078 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13080 2001-06-24 The LyX Project <Asger>
13082 * Fix Qt compilation^2
13084 2001-06-24 The LyX Project <jug@sad.it>
13086 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13087 depthHook(getDepth()-1).
13090 * ParagraphParameters.h:
13091 * ParameterStruct.h: change type of depth to unsigned int ==
13092 depth_type. Many adaptations to other files before of that.
13094 2001-06-24 The LyX Project <Asger>
13096 * Fix Qt compilation.
13098 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13100 * paragraph.h: renamed several methods to begin with small letter.
13101 several changes to many parts of the code because of this.
13103 2001-06-23 The LyX Project <jug@sad.it>
13105 * text2.C (InsertStringAsLines): renamed from InsertStringA;
13106 rewritten to discard all double spaces when KeepEmpty is off
13107 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13108 to only handle newlines but not fiddle with spaces and friends.
13110 * lyxfunc.C (MenuNew): when doing 'new from template', use
13111 template_path as default directory
13113 2001-06-23 The LyX Project <Asger>
13115 * Clean-up of header file includes all over
13116 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13118 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13120 * paragraph.h: renamed from lyxparagraph.h
13122 2001-06-23 Asger <lyx@violet.home.sad.it>
13124 * Buffer.h: Removed Buffer::resize
13125 * BufferList.h: Removed BufferList::resize
13126 * LyXView.h: Added LyXView::resize. This way, we will only reflow
13127 the document lazily when we change the width, or the font settings.
13129 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13131 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13133 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13135 * buffer.h: remove out of date comment
13137 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13140 * screen.C: fix "theoretical" GC leak
13142 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13144 * LaTeX.C (scanAuxFile):
13145 (deplog): remove trailing \r when reading stream (useful under
13148 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
13150 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13151 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13152 and BufferView::theLockingInset(Inset*), so should use them and not
13153 access bv_->text->the_locking_inset directly.
13155 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13157 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13160 * tex-defs.h: remove old unused file
13162 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
13164 * BufferView_pimpl.C: fix typo, remove minibuffer message
13165 when buffer has loaded
13167 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13169 * lyxfunc.C (Dispatch): use stringstream
13170 (MenuNew): use stringstream
13171 (Open): use stringstream
13173 * importer.C (Import): use stringstream
13175 * bufferview_funcs.C (CurrentState): use stringstream
13177 * LaTeX.C (run): use stringstream
13179 * BufferView_pimpl.C (savePosition): use stringstream
13180 (restorePosition): use stringstream
13181 (MenuInsertLyXFile): use stringstream
13183 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
13196 * vspace.C: removed // -*- C++ -*- as first line.
13199 * version.h: added // -*- C++ -*- as first line.
13201 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13203 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13205 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13208 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13210 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13213 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13215 * gettext.C: include LString.h even when --disable-nls is on.
13217 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
13219 * converter.h (Get): changed argument type from int to
13220 FormatList::size_type to avoid unnecessary conversion.
13222 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13225 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13227 * gettext.h: include LString.h even when --disable-nls is on.
13229 2001-06-07 Juergen Vigna <jug@sad.it>
13231 * text.C (BreakAgain): subst spaces with tabs.
13233 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13234 (resizeInsetsLyXText): set force on resizeLyXText.
13236 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13238 * gettext.h (gettext_init):
13239 (locale_init): use a real definition instead of a macro
13241 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13243 * Bufferview_pimpl.C:
13245 * LColor.C: further lcolor tidies
13247 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13249 * BufferView_pimpl.C (updateScrollbar): simplify.
13251 * BufferView2.C: don't include insets/insetinfo.h, change
13252 prototype for insertInset and call the Pimpl version. let
13253 updateInset call Pimpl version.
13255 * BufferView.h: move inset_slept to BufferView::Pimpl, move
13256 gotoInset to BufferView::Pimpl
13258 2001-06-01 Juergen Vigna <jug@sad.it>
13260 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13261 inside a LockingInset (is the update needed at all?).
13263 2001-05-31 Juergen Vigna <jug@sad.it>
13265 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13266 here not the old one otherwise how should we compare it afterwards
13269 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13274 * FontInfo.C: bring C functions into global namespace when
13277 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13279 * LString.h: make sure config.h has been loaded before LString.h.
13281 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13282 (one for each char read by EatLine!).
13284 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13287 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13289 * paragraph.C (BreakParagraph): set the inset_owner in the new par
13290 to the same as the par we break from
13292 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
13294 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13296 * MenuBackend.C (expand): also create menu entries for wide
13297 versions of the floats.
13299 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13301 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13303 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13304 frontends/Makefile.am
13310 * tabular.C (getTokenValue): add std::
13312 * tabular-old.C (getTokenValue): add std::
13313 (getTokenValue): ditto
13314 (getTokenValue): ditto
13316 * screen.C (ToggleSelection): adjust
13318 * lyxtext.h: put selection cursors inside a Selection struct.
13320 * lyxfunc.C (moveCursorUpdate): adjust
13322 * lyxfont.C (latexWriteStartChanges): add std::
13324 * lyxfind.C: adjust
13326 * font.h: delete with(char const *, LyXFont const &)
13328 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13330 * FontInfo.C (getFontname): add std::
13332 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13333 (workAreaButtonPress): adjust
13334 (tripleClick): adjust
13336 (moveCursorUpdate): adjust
13339 * BufferView2.C (gotoInset): adjust
13341 2001-05-30 Juergen Vigna <jug@sad.it>
13343 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13344 to check pspell I add this as default as I now have new pspell
13345 libraries and they seem to use this.
13347 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13349 * text2.C (CutSelection): make the cursor valid before the call to
13352 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13354 * kbsequence.C (parse): de-uglify a bit the parsing code, which
13355 relied on 0 terminated strings and other horrors. Bug found due to
13356 the new assert in lyxstring!
13358 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13361 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13363 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13366 * lyxfunc.C (processKeySym): change method of getting to the
13369 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13370 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13371 * BufferView_pimpl.[Ch]: here as private methods.
13373 2001-05-28 Juergen Vigna <jug@sad.it>
13375 * text.C (SetHeightOfRow): added the update() call again as it is
13376 needed to initialize inset dimensions!
13378 2001-05-16 Juergen Vigna <jug@sad.it>
13380 * text2.C (SetCharFont): Add new function with BufferView * and
13381 bool toggleall parameters for setting insets internal fonts.
13382 (SetFont): Freeze the undo as we may change fonts in Insets and
13383 all this change should be inside only one Undo!
13385 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13386 setting font's in insets as for them we have the SetFont function!
13388 2001-05-15 Juergen Vigna <jug@sad.it>
13390 * text2.C (ClearSelection): to be sure we REALLY don't have any
13393 * tabular.C (TeXCellPreamble): fixed the left border problem for
13396 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
13398 * LaTeX.C (deplog): Make sure that the main .tex file is in the
13401 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13403 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13404 LFUN_BREAKPARAGRAPH.
13406 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13407 help test to "internal only", similar for LFUN_INSERT_URL
13409 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13410 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13411 auto_region_delete and deadkeys.
13413 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
13416 * LColor.C: remove some dead entries, tidy a little
13418 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13420 * lyxfunc.C (processKeySym): comment the Escape handling, remove
13422 (Dispatch): implement LFUN_ESCAPE
13424 * commandtags.h: add LFUN_ESCAPE
13426 * LyXAction.C (init): add entry for LFUN_ESCAPE
13428 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13429 Remove commented code.
13430 (insertNote): moved here
13431 (open_new_inset): moved here
13433 * BufferView[2].[Ch]: move insertNote and open_new_inset to
13436 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13438 * kbmap.C (findbinding): clean it up and make it work correctly.
13440 * lyx_main.C (init): do not pass argc and argv as parameters
13442 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
13444 * buffer.C: fix path for OS/2 & Win32
13448 * lyx_main.C: Added os:: class.
13450 * os2_defines.h: update
13452 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13454 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13455 better by trying again with reduced state.
13457 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13459 * lyxrc.C (read): print error about invalid key sequence only when
13460 debugging (because not all latinX keysyms are known to some X
13463 * kbsequence.C (getiso): add a few std:: qualifiers
13464 (getiso): comment out extra return statement.
13466 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
13468 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13470 (Dispatch): enhance the accent inset a bit. (not perfect)
13472 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13474 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13476 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13478 * bufferlist.C (emergencyWrite): fix assert() call
13480 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
13482 * text.C (InsertChar): Added trivial patch to only send the "you
13483 can not do multiple spaces this way" message once during a
13486 2001-05-08 Baruch Even <baruch@lyx.org>
13488 * Makefile.am: Changed order of libraries to get LyX to link properly
13489 with the gnome frontend.
13491 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13493 * LaTeXFeatures.h: add a std:: qualifier
13495 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13497 * paragraph.C (String): use stringstream
13499 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13501 * paragraph.C (writeFile): remove footflag arg
13503 * buffer.C (makeLaTeXFile): use stringstream
13504 (latexParagraphs): remove footnot gurba
13506 * LaTeXFeatures.C (getPackages): use stringstream
13507 (getMacros): likewise
13508 (getTClassPreamble): likewise
13509 (getFloatDefinitions): new method
13511 * paragraph.C (writeFile): reindent
13514 * WorkArea.h: revert the xpos + etc changes.
13516 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13518 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13520 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13521 (pasteSelection): likewise
13522 * text2.C (CreateUndo): likewise
13524 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13526 * minibuffer.C (peek_event): temporarily reduce the functionality
13527 of the minibuffer (to allow args on lfuns)
13529 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13530 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13532 * buffer.C (readInset): add compability reading of old float
13533 lists, add reading of new style float list.
13534 (readInset): avoid reevaluation of inscmd.getCmdName()
13535 (getLists): reindent
13537 * MenuBackend.C (MenuItem): implement parsing of
13538 md_floatlistinsert and md_floatinsert.
13539 (expand::LastFiles): move initalizaton of iterators out of loop,
13540 avoid reevaluation.
13541 (expand::Documents): introduce typdedef vector<string> Strings,
13543 (expand::ExportFormats): introduce typedef vector<Format const *>
13544 Formats, and use it.
13545 (expand): implement FloatListInsert and FloatInsert.
13547 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13548 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13549 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13551 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13553 (Dispatch::LFUN_FLOAT_LIST): implement
13555 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13557 * LaTeX.C (run): Fix problem with --export code.
13559 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13561 * BufferView.[Ch] (workarea): removed.
13562 (getClipboard) new method; wrapper for workarea()->getClipboard()
13564 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13567 * WorkArea.h (width, height, xpos, ypos): These methods all
13568 returned the dimensions of the work_area sub-area of WorkArea,
13569 resulting in a position error if the WorkArea were resized. Now
13570 return the dimensions of the entire WorkArea.
13572 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13574 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13576 * LaTeX.C (deplog): correct the syntax of regex reg1
13578 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13580 * undo.C: remove !NEW_INSETS cruft
13582 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13584 * text2.C: remove !NEW_INSETS cruft
13586 * text.C: remove !NEW_INSETS cruft
13588 * tabular.C: remove !NEW_INSETS cruft
13590 * spellchecker.C: remove !NEW_INSETS cruft
13592 * lyxtext.h: remove !NEW_INSETS cruft
13594 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13596 * lyxfunc.C: remove !NEW_INSETS cruft
13598 * lyxfind.C: remove !NEW_INSETS cruft
13600 * lyx_cb.C: remove !NEW_INSETS cruft
13602 * figureForm.C: remove !NEW_INSETS cruft
13604 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13606 * buffer.[Ch]: remove !NEW_INSETS cruft
13608 * ToolbarDefaults.C: remove !NEW_INSETS cruft
13610 * CutAndPaste.C: remove !NEW_INSETS cruft
13612 * BufferView_pimpl.C: remove !NEW_INSETS cruft
13614 * BufferView2.C: remove !NEW_INSETS cruft
13616 * BufferView.h: remove !NEW_INSETS cruft
13618 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13620 * Lsstream.h: include LString.h before the sstream headers to
13621 fix problem with gcc 2.95.3 and lyxstring
13623 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13625 * lyx_main.C: add using directives when needed for C functions
13626 declared in std:: namespace.
13628 2001-04-27 Juergen Vigna <jug@sad.it>
13630 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13631 (SetHeightOfRow): comment out the update call should not be needed!
13633 2001-04-13 Juergen Vigna <jug@sad.it>
13635 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13636 (LyXTabular): tried to minimize operator= operations (and realized
13637 hopfully Lars wish).
13639 2001-04-27 Juergen Vigna <jug@sad.it>
13641 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13643 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13645 * lyxfunc.C (Dispatch): hack to make listof algorithm work
13647 * buffer.C (readInset): hack to make listof algorithm work
13649 * BufferView_pimpl.C: hack to make listof algorithm work
13651 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13653 * LyXAction.C: removed all !NEW_INSETS cruft
13654 (init): moved lfun_item in method
13656 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13658 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13660 * BufferView2.C (theLockingInset): white space.
13662 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13664 * minibuffer.C: include <iostream>
13666 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13668 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13670 * commandtags.h: add LFUN_TRANSPOSE_CHARS
13672 * text.[Ch] (TransposeChars): new method
13674 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13676 * call message directly through LyXView instead of through LyXFunc
13677 * BufferView2.C: adjust
13678 * BufferView_pimpl.C: adjust
13679 * FontLoader.C: adjust
13681 * bufferview_funcs.C: adjust
13682 * converter.C: adjust
13683 * figureForm.C: adjust
13684 * importer.C: adjust
13686 * lyx_gui_misc.C: adjust
13687 * lyxfunc.C: adjust
13690 + more files in subdirs
13692 * lyxparagraph.h (size): move up int file
13695 * adjust all uses of Assert to lyx::Assert.
13697 * BufferView2.C (ChangeCitationsIfUnique): adjust for
13698 lyxfunctional in namespace lyx
13699 * layout.C (hasLayout): ditto
13702 (delete_layout): ditto
13703 (NumberOfClass): ditto
13704 * converter.C (GetFormat): ditto
13709 * bufferlist.C (getFileNames): ditto
13710 (emergencyWriteAll): ditto
13713 * MenuBackend.C (hasSubmenu): ditto
13716 * BufferView_pimpl.C (getInsetByCode): ditto
13718 2001-04-18 Juergen Vigna <jug@sad.it>
13720 * vspace.C (asLatexString): fixed the 100% problem.
13722 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13724 * lyxfunc.C (Dispatch):
13726 * minibuffer.h: add a few std:: qualifiers
13728 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13730 * minibuffer.[Ch]: reimplement so that commands is initiated and
13731 run from lyxfunc, simplified som handling, and made the completion
13732 and history code for complete. wip.
13734 * lyxfunc.C (processKeySym): call message
13735 (miniDispatch): new temporary method
13736 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13737 (LFUN_MESSAGE): implement
13738 (LFUN_MESSAGE_PUSH): implement
13739 (LFUN_MESSAGE_POP): implement
13740 (initMiniBuffer): the initial/defualt minibuffer message.
13742 * lyxfont.[Ch]: inline some more getters
13744 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13746 * lyx_gui_misc.[Ch] (WriteStatus): remove method
13748 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13749 (AutoSave): use LFUN_MESSAGE
13750 (Reconfigure): ditto
13752 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13754 * figureForm.C: use LFUN_MESSAGE
13756 * converter.C (runLaTeX): use LFUN_MESSAGE
13758 * bufferview_funcs.C: use LFUN_MESSAGE
13760 (changeDepth): ditto
13762 * bufferparams.h: use boost::
13764 * bufferlist.h: inherit privately from noncopyable
13766 * bufferlist.C (loadLyXFile): remove some commented code.
13768 * buffer.C (runChktex): use LFUN_MESSAGE
13770 * ShareContainer.h: inherit privately from noncopyable
13772 * ParagraphParameters.[hC] (depth): inline it.
13774 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13776 (message): new method
13777 (messagePush): ditto
13778 (messagePop): ditto
13779 (show): init minibuffer
13780 (showState): direct call
13782 * LaTeX.[Ch]: inherit privately from noncopyable
13783 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13784 instead of WriteStatus.
13786 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13788 * BufferView_pimpl.C (buffer): don't init minibuffer
13789 (workAreaButtonPress): use LFUN_MESSAGE
13790 (workAreaButtonRelease): ditto
13791 (savePosition): ditto
13792 (restorePosition): ditto
13793 (MenuInsertLyXFile): ditto
13794 (workAreaExpose): don't init minibuffer
13795 (update): remove commented code, simplify
13797 * BufferView2.C (openStuff): use LFUN_MESSAGE
13798 (toggleFloat): ditto
13801 (copyEnvironment): ditto
13802 (pasteEnvironment): ditto
13807 (updateInset): remove some commented code
13809 * lastfiles.h: inherit privately from noncopyable
13812 * lyx_main.h: ditto
13814 * lyxlex_pimpl.h: ditto
13816 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13817 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13818 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13820 * LyXAction.h: inherit privately from noncopyable, add methods
13821 func_begin, func_end, returning iterators to the func map.
13823 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13824 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13825 (func_begin): new method
13826 (func_end): new method
13828 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13830 (copySelection): ditto
13831 (pasteSelection): ditto
13833 * BufferView.C: whitespace change
13834 * BufferView.h: inherit privately from noncopyable
13836 2001-04-16 Allan Rae <rae@lyx.org>
13838 * tabular-old.C (l_getline):
13839 * spellchecker.C (sc_check_word):
13840 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13841 an unrecognised preprocessor directive. So ensure they're wrapped.
13843 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
13845 * src/exporter.C (Export): Give an error message when path to file
13848 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
13850 * LaTeX.C (deplog): Always check that foundfile exists.
13852 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13855 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13857 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13859 * tabular.[Ch] (getLabelList): implement new method
13861 * minibuffer.h: comment ouf setTiimer
13863 * minibuffer.C (ExecutingCB): constify res
13864 (peek_event): constify s
13865 (Set): constify ntext
13866 (Init): constify nicename
13868 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13870 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13871 (savePosition): use two params to Minibuffer::Set
13872 (restorePosition): ditto
13874 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13876 * lyx_main.C: include language.h
13878 * Makefile.am (lyx_main.o): add language.h
13880 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13886 * CutAndPaste.C: include gettext.h
13888 * lyxfont.h: remove old hack with ON and OFF.
13891 * lyxfont.h: do not include language.h...
13896 * bufferview_funcs.C:
13902 * paragraph.C: ... but do it here instead
13904 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13906 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13908 * tabular.C: small reformat
13910 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13913 (BreakParagraph): ditto
13914 (SetOnlyLayout): ditto
13917 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13920 * lastfiles.C: removed most using decl, add std:: where needed
13922 * buffer.C: ws changes
13924 * MenuBackend.C (class compare_format): put into anon namespace
13925 (expand): constify label, names, action, action2
13928 * text.C (SingleWidth): constify font
13929 (IsBoundary): constify rtl2
13930 (GetVisibleRow): constify ww
13932 * LaTeX.C (deplog): constify logfile
13934 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13936 (workAreaExpose): constify widthChange, heightChange
13938 * lyxrow.C (par): moved
13941 * lyxrow.h: as inlines here
13943 * lyxfont.h (shape): moved from lyxfont.C
13944 (emph): moved from lyxfont.C
13946 * lyxfont.C (LyXFont): use initialization list for all
13948 (shape): move to lyxfont.h as inline
13949 (emph): move to lyxfont.h as inline
13952 2001-04-04 Juergen Vigna <jug@sad.it>
13954 * vspace.C: had to include stdio.h for use of sscanf
13956 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
13959 * BufferView_pimpl.h: remove xforms cruft. Both classes are
13960 independent of xforms.
13962 2001-04-02 Juergen Vigna <jug@sad.it>
13964 * spellchecker.C: fixed namespace placing!
13966 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
13968 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13969 the LyXParagraph * is 0.
13971 2001-03-29 Juergen Vigna <jug@sad.it>
13973 * vspace.C: added support for %, c%, p%, l%.
13974 (stringFromUnit): added helper function.
13975 (asLatexString): changed to give right results for the %-values.
13977 * buffer.C: convert the widthp in a width%.
13979 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
13981 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13984 * figureForm.[Ch]: stripped the FD_from_figure manipulation
13985 code out of lux_cb.[Ch], ready for its (imminent?) removal.
13987 * lyx_cb.[Ch]: see above.
13989 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13993 * lyx.[Ch]: replaced by figure_form.[Ch].
13997 * lyxfunc.C: changed headers associated with above changes.
13999 2001-03-27 Juergen Vigna <jug@sad.it>
14001 * BufferView_pimpl.C: set the temporary cursor right!
14003 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
14005 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14007 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
14009 * LString.h: removed "using std::getline"!
14011 * BufferView_pimpl.C (Dispatch): changes due to changes in
14012 InsetInclude::Params.
14014 * buffer.C (tag_name): removed redundant break statements as they were
14015 producing lots of warnings with my compiler.
14017 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14019 * LString.h: add "using std::getline" when using the real <string>.
14021 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
14023 * buffer.C: removed bitset usage.
14024 PAR_TAG moved to an anonymous name space.
14025 (tag_name): new funtion, also in the anonymous namespace.
14026 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14027 (makeDocBookFile): clean code. Completed transition from string arrays
14029 (SimpleDocBookOnePar): code clean.
14031 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14033 * tabular.C: add some comments.
14035 2001-03-22 Juergen Vigna <jug@sad.it>
14037 * buffer.C (parseSingleLyXformat2Token): redone the minipage
14038 compatibility read a bit and fixed bug with minipage in different
14041 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
14043 * buffer.C (pop_tag): removed.
14044 (push_tag): removed.
14045 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14046 array replaced with vector. Added support for CDATA sections.
14047 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14049 (makeDocBookFile): XML conformant declaration of CDATA section,
14050 fixed bug related to <emphasis> in the first paragraph char.
14051 (sgmlOpenTag): exclude empty tags.
14052 (sgmlCloseTag): ditto.
14054 * buffer.h (pop_tag): removed.
14055 (push_tag): removed.
14057 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
14059 * language.h (Languages): added size_type and size().
14061 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14063 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14064 response on compability reading of minipages. One probliem is that
14065 the old usage of minipages was «flertydig»
14067 * several files here and in subdirs: don't use static at file
14068 scope use anon namespaces instead.
14070 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
14072 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14073 LaTeX output. This is necessary for Literate document
14076 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14078 * buffer.C: insert hfill when needed.
14080 * tabular.C (l_getline): use string::erase, small whitespace change.
14082 * BufferView_pimpl.C: try the anon namespace.
14083 * WorkArea.C: ditto
14085 2001-03-16 Juergen Vigna <jug@sad.it>
14087 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14088 otherwise it won't open options-dialogs.
14090 * buffer.C: honor pextraWidth(p) on converting minipages.
14092 * tabular.C (l_getline): changed the functions to strip trailing \r.
14094 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
14096 * BufferView_pimpl.C:
14097 * minibuffer..C: added "using SigC::slot" declaration.
14099 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14101 * lyxlex_pimpl.h: noncopyable is in namespace boost.
14107 * paragraph.C: ditto
14109 * lyxtext.h: NO_PEXTRA
14111 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14113 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14114 * ParameterStruct.h: ditto
14115 * ParagraphParameters.h: ditto
14116 * lyxparagraph.h: ditto
14118 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14120 * buffer.C: add compability for minipage alignment.
14121 (latexParagraphs): remove unwanted pextra check.
14123 * several files: remove CXX_WORKING_NAMESPACES
14125 * buffer.C (pop_tag): tie is in namespace boost
14127 * BufferView.h: noncopyable is in namespace boost
14129 * lyx_main.h: ditto
14132 * lastfiles.h: ditto
14133 * bufferlist.h: ditto
14134 * ShareContainer.h: ditto
14136 * LyXAction.h: ditto
14139 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14141 * Merging changes from BRANCH_MVC back into HEAD.
14143 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14145 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
14147 * BufferView_pimpl.C: change from intl.C
14151 * Makefile.am: move combox.*
14157 * intl.C: remove dialog (covered by prefs)
14159 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14161 * lyxfunc.C (Dispatch): removed redundant break statement.
14163 2001-03-14 Juergen Vigna <jug@sad.it>
14165 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14167 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14169 * buffer.C: add hack to fix compability reading of minipages.
14171 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
14173 * buffer.C (getLists): Cleanup.
14175 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14177 * lyxfont.C (update): don't honor toggleall on font size.
14179 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
14183 * Makefile.am: moved to frontends/xforms/
14187 * BufferView_pimpl.C: changes for moved mathpanel
14189 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14191 * gettext.h: fix gettext_init() in --disable-nls
14193 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14195 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14197 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
14200 * lyx.h: strip external form
14202 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14204 * BufferView_pimpl.C: add comment, destroySplash()
14206 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14208 * BufferView_pimpl.C:
14212 * lyxfunc.C: use re-worked insetinclude
14214 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14216 * buffer.C: add using std::stringstream.
14218 * lyx_cb.C: readd using std::ios.
14220 * buffer.C: add using std::map.
14222 * BufferView_pimpl.C: add using std::vector.
14224 * ShareContainer.h: add std:: to swap.
14226 * buffer.h: add some typedefs
14227 * buffer.C (getLists): use them
14228 (getLists): renamed from getTocList.
14229 add a counter for the different float types and use it in the
14231 (getLists): use the same counter for the NEW_INSETS and the "non"
14234 * lyx_cb.h: remove unused items, includes, using etc.
14236 * ShareContainer.h: remove some commented code, add more comments
14237 and "documentation".
14239 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14241 * buffer.C (getTocList): make the list also when NEW_INSETS is
14244 * buffer.h: remove TocType
14246 * buffer.C (getTocList): change to return a map<string,
14247 vector<TocItem> >, implement for dynamic number of list.
14249 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14250 * text2.C (PasteSelection): adjust
14251 * CutAndPaste.C (pasteSelection): adjust
14253 * FloatList.C (FloatList): update from the new_insets branch.
14254 * Floating.[Ch]: ditto
14255 * LaTeXFeatures.C: ditto
14257 * lyxlex_pimpl.C: ditto
14259 * paragraph.C (Last): remove when NEW_INSETS is defined.
14261 * other file: changes because of the above.
14263 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14265 * lyxparagraph.h: rename next to next_, previous to previous_,
14266 make them private for NEW_INSETS. Rename Next() to next(),
14267 Previous() to previous().
14269 * other files: changes because of the above.
14271 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
14274 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14277 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14279 * main.C (main): pass lyx_localedir to gettext_init().
14281 * gettext.h: remove locale_init and gettext_init macros
14283 * gettext.C (locale_init): new function
14284 (gettext_init): new function
14286 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14289 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
14291 * Moved credits to frontends:
14292 * credits.[Ch]: removed
14293 * credits_form.[Ch]: removed
14294 * lyx_gui_misc.C: remove credits stuff
14297 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14299 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14301 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14302 unneeded destructor.
14304 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14305 a standalone pointer again.
14307 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14309 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
14315 * ToolbarDefaults.C:
14324 * BufferView_pimpl.C: use new file dialog in GUII
14327 * lyx_cb.C: remove LayoutsCB to Toolbar
14329 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14331 * ShareContainer.h (get): add std:: qualifier
14333 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14335 * ShareContainer.h: define a proper ShareContainer::value_type
14336 type (and use typename to please compaq cxx)
14338 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14340 * lyxparagraph.h: move serveral local vars to
14341 ParameterStruct/ParagraphParameters., use ShareContainer in
14342 FontTable., make vars in FontTable private and add getter and
14345 * paragraph.C: changes because of the above.
14347 * lyxfont.h: remove copy constructor and copy assignment. (the
14348 default ones is ok), move number inside FontBits. move inlines to
14351 * lyxfont.C: add number to initializaton of statics, move several
14352 inlines here. constify several local vars. some whitespace
14353 cleanup. Dont hide outerscope variables.
14355 * Spacing.h: add two new constructors to match the set methods.
14357 * ShareContainer.h: new file, will perhaps be moved to support
14359 * ParameterStruct.h: new file
14361 * ParagraphParameters.h: new file
14363 * ParagraphParameters.C: new file
14365 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14366 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14368 * BufferView_pimpl.C: ParagraphParameter changes.
14369 * buffer.C: Likewise.
14370 * bufferview_funcs.C: Likewise.
14371 * text.C: Likewise.
14372 * text2.C: Likewise.
14374 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14376 * lyxfind.C (LyXReplace): do not redefine default argument in
14378 (IsStringInText): ditto
14379 (SearchForward): ditto
14380 (SearchBackward): ditto
14382 2001-03-06 Juergen Vigna <jug@sad.it>
14384 * lyxfind.C (IsStringInText): put parentes around expressions.
14386 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
14388 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14390 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
14392 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14394 * stl_string_fwd.h: add comment
14396 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14399 * tabular.C: remove unused DocBook methods
14405 killed DO_USE_DEFAULT_LANGUAGE
14407 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14409 * lyx_gui.C: do not include language.h.
14411 * bufferview_funcs.C (ToggleAndShow): do not provide optional
14412 arguments in function implementation.
14414 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14416 * BufferView_pimpl.C: add <ctime>
14418 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14420 * BufferView_pimpl.C: add using std::find_if
14422 2001-02-27 José Matos <jamatos@fep.up.pt>
14424 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14427 2001-02-11 José Matos <jamatos@fep.up.pt>
14429 * buffer.C (makeDocBookFile): command styles now have a parameter as
14430 "title" by default.
14432 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
14434 * layout_forms.[Ch]: removed
14435 * lyx_cb.[Ch]: out character
14436 * lyx_gui.C: out character
14437 * lyx_gui_misc.C: out character
14438 * bufferview_funcs.C: : out character,
14439 added toggleall as parameter in ToggleAndShow
14441 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
14443 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14445 * text2.C (SetCurrentFont): Disable number property at boundary.
14447 2001-02-26 Juergen Vigna <jug@sad.it>
14449 * lyxfunc.C (getStatus): added a string argument override function so
14450 that this is correctly called from LyXFunc::Dispatch if it contains a
14451 do_not_use_argument which is used!
14452 (Dispatch): added check for "custom" export and call appropriate func.
14454 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
14456 * lyxrc.C: Add language_command_local, language_use_babel and
14457 language_global_options.
14459 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14461 * buffer.C (makeLaTeXFile): Use language_use_babel and
14462 language_global_options.
14464 2001-02-23 Juergen Vigna <jug@sad.it>
14466 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14467 which works with LyXText and putted it inside BufferView. Here now we
14468 only call for that part the BufferView::Dispatch() function.
14470 * BufferView.C (Dispatch): added.
14472 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14473 functions which needs to use a LyXText over from LyXFunc.
14474 (MenuInsertLyXFile): added
14475 (getInsetByCode): added
14476 (moveCursorUpdate): added
14477 (static TEXT): added
14479 2001-02-22 Juergen Vigna <jug@sad.it>
14481 * BufferView_pimpl.C (update): call a status update to see if LyXText
14484 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14486 * vc-backend.C (revert): implement for CVS
14487 (getLog): implement for CVS
14489 2001-02-20 Juergen Vigna <jug@sad.it>
14491 * text2.C (ClearSelection): added BufferView param for inset_owner call
14493 * lyxfunc.C (TEXT): added this function and use it instead of
14494 directly owner->view()-text of getLyXText().
14496 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
14498 * src/layout_forms.C: out preamble
14499 * src/layout_forms.h: out preamble
14500 * src/lyx_cb.C: out preamble
14501 * src/lyx_cb.h: out preamble
14502 * src/lyx_gui.C: out preamble
14503 * src/lyx_gui_misc.C: out preamble
14504 * src/lyxfunc.C: connect with guii preamble
14506 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14508 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14510 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14512 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14513 whether to run bibtex.
14515 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14517 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14519 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14521 * Makefile.am (lyx_SOURCES): removed bibforms.h
14523 * vspace.h: doxygen
14525 * text.C (GetVisibleRow): make several local vars const
14527 * tabular.C: small cleanup.
14529 * lyxserver.C (callback): use compare instead of strncmp
14531 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14532 inlines to after class or to paragraph.C
14534 * lyxfont.h: remove friend operator!=
14536 * converter.h: move friend bool operator< to non friend and after
14539 * combox.h: small cleanup
14541 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14542 to inlines after class def.
14544 * buffer.C (pop_tag): use string operations instead of strcmp
14546 * bmtable.c: doxygen, small cleanup
14548 * LaTeX.h: remove friend operator==
14550 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14562 * BufferView_pimpl.C:
14563 * BufferView.[Ch]: remove cruft
14565 2001-02-14 Juergen Vigna <jug@sad.it>
14567 * lyxfunc.C: removed #if 0 unused code
14569 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14571 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14573 * text2.C (SetSelection): added a BufferView * parameter
14575 2001-02-13 Juergen Vigna <jug@sad.it>
14577 * lyxfunc.C (Dispatch): fixed protected blank problem.
14578 * BufferView2.C (protectedBlank): added LyxText * parameter.
14580 * tabular.C (AppendRow): forgot to set row_info of newly added row.
14581 (AppendColumn): same as above for column_info.
14583 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14584 (moveCursorUpdate): use a LyXText param for support of InsetText.
14586 * BufferView_pimpl.C (doubleClick): added support for InsetText.
14587 (tripleClick): ditto
14589 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14591 * BufferView_pimpl.C (update): added LyXText param to honor insets.
14593 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14595 * text2.C (SetSelection): set correct update status if inset_owner
14596 (ToggleFree): ditto
14598 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
14600 * tabular.C: remove some commented code.
14602 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
14604 * BufferView_pimpl.C: call hideSplash()
14606 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14609 * bibforms.h: remove
14612 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14613 add LFUN_CHILD_CREATE
14615 * counters.h: fix tiny typo
14620 * lyx.C: move splash to frontends/xforms/
14622 * lyx_gui_misc.C: move Include and Bibform to frontends
14624 * lyxvc.h: clarify comment
14626 * vspace.C: tiny housekeeping
14628 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
14630 * text.C (PrepareToPrint): RTL Fix.
14632 * paragraph.C (GetUChar): New method.
14633 (String): Use GetUChar.
14635 * buffer.C (asciiParagraph): Use GetUChar.
14637 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
14639 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14641 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
14644 * buffer.C: rename to getLogName(), handle
14645 build log / latex log nicely
14647 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14650 * MenuBackend.h: remove support for reference menuitem type.
14652 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
14654 * BufferView_pimpl.C: housekeeping
14655 * BufferView_pimpl.h:
14660 * minibuffer.h: move Timeout GUI-I
14662 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
14664 * lyxrc.C (read): Update converters data-structures.
14666 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
14668 * LaTeX.h (operator!=): add operator != for Aux_Info
14670 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
14672 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14674 * LaTeXLog.C: deleted, useful code moved to Buffer
14677 * buffer.C: new function getLatexLogName()
14683 * lyxfunc.C: use frontends for LaTeX and VC logs
14685 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14687 * LaTeX.h: yet another std:: that Allan forgot.
14689 * Variables.C (set): renamed from isset(), because this clashes
14690 with some HP-UX macros (grr).
14692 2001-02-06 Allan Rae <rae@lyx.org>
14694 * LaTeX.h: Another bug fix. Missing std:: this time.
14696 2001-02-04 Allan Rae <rae@lyx.org>
14698 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14699 floats problem. I've left it commented out because it's not quite
14700 correct. It should also test that the current object is a table or
14701 figure inset. But I haven't gotten around to figuring out how to do
14702 that. I *think* it'll be something like: "table" == inset.type()
14704 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14707 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
14709 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14710 all the citation/databases/styles in the auxilary file.
14711 (run): Rerun latex if there was a babel language error.
14713 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
14715 * text.C (Backspace): Preserve the font when changing newline char
14717 (BreakParagraph): If the cursor is before a space, delete the space.
14719 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14721 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
14723 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14724 new argument (code).
14725 (ChangeCitationsIfUnique): New method.
14727 * paragraph.C (GetPositionOfInset): Handle bibkey.
14729 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14731 * BufferView_pimpl.h: change type of Position::par_pos to
14732 LyXParagraph::size_type.
14734 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
14736 * BufferView_pimpl.C (savePosition, restorePosition): Write
14737 messages to minibuffer.
14739 2001-01-28 José Matos <jamatos@fep.up.pt>
14741 * buffer.C (makeDocBookFile): adds support for document language.
14742 A silly restriction on the name of LatexCommand types where removed.
14743 Added support for CDATA sections, allows to chars unescaped, used
14744 among others in code, to avoid escape < and >.
14746 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14748 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14749 saved positions instrad of a stack. Furthermore, a position is
14750 stored using paragraph id/paragraph position.
14752 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14753 Remove LFUN_REF_BACK.
14755 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14757 * converter.C (dvipdfm_options): New method.
14759 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
14761 * vspace.C (isValidLength): Fix for empty input string.
14763 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14765 * LyXAction.C (init): change description of LFUN_FIGURE to
14768 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14770 * LaTeX.C: add using directive
14772 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14774 * MenuBackend.C (expand): Fix the sorting of the formats.
14776 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
14778 * lyx_main.C: tiny error message fix
14780 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14782 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14783 calling fl_initialize(). This fixes the problem with ',' as
14784 decimal separator in text files.
14786 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14788 * trans.C (process): Fix the keymap bug.
14790 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
14792 * LaTeX.C (scanAuxFiles): New method. Provides support for
14793 multiple bibliographies (when using the bibtopic/bibunits pacakges).
14794 (scanLogFile) Scan for "run BibTeX" messages.
14796 * buffer.C (makeLaTeXFile): Do not load the ae package when using
14797 OT1 font encoding. Also, load the aecompl package if the ae
14800 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14802 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14804 * texrow.C (increasePos): turn two error messages into debug
14807 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
14809 * LaTeX.C (scanAux): Handle the \@input macro.
14810 (runBibTeX): Use scanAux().
14812 * language.C (latex_options_): New field.
14814 * LaTeXFeatures.C (getMacros): Add language macros.
14816 * buffer.C (makeLaTeXFile): Small fix.
14818 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14820 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14822 * text2.C: add a using directive.
14824 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
14829 * lyxfunc.C: kill LyXBell.
14831 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
14833 * text.C (IsBoundary): Remove the error message
14835 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14837 * lyxrc.C (setDefaults): Correct initialization value for
14840 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
14842 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14845 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14846 and GotoNextNote().
14848 * src/LyXAction.C: Added reference-next.
14850 * text.C (InsertChar): Use contains instead of strchr.
14852 * lyx_cb.C (MenuInsertLabel): Enable default value code.
14854 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
14856 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14857 alignment commands (when needed).
14859 * text.C (InsertChar): Add ':' to number separator chars.