2 2004-03-19 André Pönitz <poenitz@gmx.net>
4 * cursor.[Ch] (reset): take main text inset as argument
7 * BufferView_pimpl.C: adjust
9 * paragraph.[Ch]: fix completely broken operator=()
12 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14 * LColor.C (getFromLyXName): make sure that the color name is used
16 2004-03-17 Angus Leeming <leeming@lyx.org>
19 * LyXAction.C (init): remove LFUN_FORKS_KILL.
21 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
22 dialog and to kill a forked process.
24 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
26 * text2.C (setCursorFromCoordinates): fix font problem
28 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
30 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
31 bogus "rebuild cursor" code
33 2004-03-11 André Pönitz <poenitz@gmx.net>
35 * buffer.[Ch]: use InsetText instead of LyXText as container for
38 * dociterator.[Ch]: drop the BufferView * member which is not needed
39 anymore after the change to buffer.C
45 * BufferView_pimpl.[Ch]:
47 * cursor_slice.[Ch]: adjust
49 * text3.C: fix bug in mathDispatch
51 2004-03-08 André Pönitz <poenitz@gmx.net>
53 * undo.[Ch]: use 'StableDocumentIterator' as base for
56 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
59 * bufferparams.[Ch]: add jurabib support and param.
61 * LaTeX.C: add FIXME/comment.
63 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
65 * buffer.C: increment file format to 230.
67 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
69 * cursor.C (dispatch): avoid infinite loops
71 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
73 * rowpainter.C (paintSelection): fix x coordinates
75 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
77 * text.C (rowBreakPoint): fix breaking before displayed insets
79 2004-03-01 André Pönitz <poenitz@gmx.net>
81 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
83 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
95 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
101 * BufferView_pimpl.C: rename textwidth -> maxwidth,
102 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
104 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
106 * Bidi.[Ch] (computeTables): const correctness
107 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
108 fill_hfill, fill_label_hfill and x from Row
109 * lyxtext.h: prepareToPrint returns a RowMetrics
110 * rowPainter.C: adjust
111 * text.C (prepareToPrint): use width, not textWidth. adjust
112 (redoParagraphInternal, cursorX): adjust
113 * text2.C (getColumnNearX): adjust
114 (init): put a default value to the top LyXText::width
116 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
118 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
120 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
122 * lyxtext.h: add FontIterator class
124 * text.C (FontIterator, operator*, operator->, operator++): add
125 (rowBreakPoint, setRowWidth): adjust (fixing a
128 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
130 * BufferView_pimpl.C (workAreaDispatch): allow also
131 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
133 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
135 * text.C (rowBreakPoint): fix a bug showing with very large insets
137 2004-02-25 André Pönitz <poenitz@gmx.net>
140 * cursor.[Ch]: move some mathed specific code to mathed
142 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
144 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
145 use_tempdir in preferences
146 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
148 * lyx_main.C: ensure that tempdir is valid
149 * lyxlex.h: correct typo
150 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
151 * paragraph.[Ch] (isMultiLingual): make const
152 * cursor.[Ch] (openable): make const
154 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
156 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
158 2004-02-20 André Pönitz <poenitz@gmx.net>
160 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
162 * cursor.[Ch]: prepare for localized getStatus()
168 * text3.C: streamlines the LyXText cursor movement handlers a bit.
170 2004-02-20 André Pönitz <poenitz@gmx.net>
172 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
174 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
176 * text2.C (setCursorFromCoordinates): switch to absolute coords
179 * text3.C (dispatch): adjust
181 2004-02-16 André Pönitz <poenitz@gmx.net>
183 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
186 * cursor_slice.[Ch]: remove unneeded acessor function
188 * lyxtext.h: rename rtl() to isRTL()
196 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
198 * rowpainter.C (paintSelection): coord fix
200 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
202 * Spacing.C: compile fix
204 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
206 * cursor.C (dispatch): restore current_ before returning
208 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
210 * text2.C (cursorUp, cursorDown): fix coords
213 2004-02-12 André Pönitz <poenitz@gmx.net>
218 * text3.C: add LCursor & parameter to most cursor movement functions
219 remove usage of LyXText::cursorRow() and cursorPar()
221 * cursor.[Ch]: add textRow() needed members
224 * BufferView_pimpl.C:
227 * BufferView_pimpl.C: adjust
229 2004-02-11 André Pönitz <poenitz@gmx.net>
233 * BufferView_pimpl.C: shift undo/redo handling
235 * cursor.[Ch]: fix mathed crash
238 * lyxtext.h: move selectionAsText to LCursor
246 * rowpainter.C: fix excessive drawing
248 2004-02-06 André Pönitz <poenitz@gmx.net>
251 * BufferView_pimpl.[Ch]:
252 * text3.C: move some text specific LFUN handling
254 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
256 * text3.C (checkInsetHit): adjust coords
257 * text2.C (getColumnNearX): adjust coords
258 (edit): adjust coords
259 * text.C (getRowNearY): add two asserts
261 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
264 * format.C: add using std::distance to compile on gcc 2.95/stlport
266 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
268 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
270 2004-02-04 André Pönitz <poenitz@gmx.net>
272 * BufferView.[Ch] (insertInset):
273 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
278 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
280 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
281 on the default clause of the switch
282 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
283 wasn't catched by LCursor::dispatch
285 2004-02-03 André Pönitz <poenitz@gmx.net>
288 * cursor.[Ch]: some additional asserts
290 * undo.[Ch]: remove LyXText dependency in interface
294 * lyxtext.h (firstPar, lastPar): remove dead functions
299 * paragraph.[Ch]: adjust
301 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
303 * lyxfind.C (find): fix argument order in call to ::find
305 2004-02-02 André Pönitz <poenitz@gmx.net>
307 * cursor.[Ch]: remove direct access to anchor
309 * text.C: remove findText() hack
311 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
313 * iterators.[Ch] (lockPath): remove in favour of...
314 * BufferView.[Ch] (setCursor): this addition
315 * BufferView.C (putSelectionAt): adjust
316 * undo.C (performUndoOrRedo): adjust
317 * lyxfunc.C (dispatch): adjust
319 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
321 * iterators.C (lockPath): add a missing slice
322 * undo.C (performUndoOrRedo): remove redundant positioning code
324 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
326 * vc-backend.C (scanMaster): ";" -> ';'
328 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
330 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
333 * lyxtextclass.C (compare_name): rename to...
334 (LayoutNamesEqual): ...this
336 * lyxlex_pimpl.C (compare_tags): inherit from
337 std::binary_function, put back into anon namespace
339 * lyxfind.C (MatchString): inherig from std::binary_function
340 (findChange): use empty() istead of !size()
342 * format.C (FormatNamesEqual): new functor
349 * converter.C (compare_Converter): rename to...
350 (ConverterEqual): ...this, and fixup a bit.
351 (getConverter): use it, and make function const
352 (getNumber): use it, and make function const
356 * bufferlist.C: add using boost::bind
358 * MenuBackend.C (MenuNamesEqual): new functor
359 (hasMenu): use it, and make function const
360 (hasSubmenu): use nested bind to get rid of compare_memfun.
362 2004-01-30 André Pönitz <poenitz@gmx.net>
364 * BufferView_pimpl.C:
375 * text3.C: move some of the edit(x,y) handling to the insets
376 some coordinate changes.
378 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
380 * text.C: add using statements for std::advance and std::distance
382 * paragraph.C: add using statement for std::distance
384 * lyxfind.C: add using statement for std::advance
386 * cursor.C (region): remove std:: from swap
387 (openable): use nucleus in stead of operator->
389 * BufferView.C: add using statements for std::distance and std::swap
391 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
393 * iterators.C: Remove the pimple, move the needed structures to
394 the header file. Create accessor for the positions stack.
395 (asPosIterator): remove function
397 * PosIterator.C (PosIterator): move constructors to top of file
398 (PosIterator): reimplement the constructor taking a ParIterator in
400 (setFrom): new function
401 (operator!=): inline it
403 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
405 * lyxfind.C (replaceAll): use std::advance
407 * iterators.h: inherit from std::iterator.
409 * PosIterator.C (advance, distance): remove
410 * PosIterator.h: interit from std::iterator.
412 2004-01-26 André Pönitz <poenitz@gmx.net>
415 * BufferView_pimpl.[Ch]:
419 * bufferview_funcs.C:
430 * output_plaintext.C:
432 * paragraph_funcs.[Ch]:
433 * paragraph_pimpl.[Ch]:
439 * text3.C: more IU: dumps most of the rest of the mathcursor
440 implementation into cursor.[Ch]; "globalize" a bit of it.
442 2004-01-25 Angus Leeming <leeming@lyx.org>
444 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
446 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
448 * LaTeXFeatures.h: add nice_ and nice() const
449 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
451 2004-01-20 André Pönitz <poenitz@gmx.net>
454 * BufferView_pimpl.C:
456 * bufferview_funcs.C:
469 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
470 LCursor and mathcursor parts to LCursor and InsetBase.
472 2004-01-15 André Pönitz <poenitz@gmx.net>
474 * cursor_slice.[Ch]: add a few covienience functions
476 * funcrequest.[Ch]: remove BufferView * member
478 * BufferView_pimpl.C:
485 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
487 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
489 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
490 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
492 2004-01-13 André Pönitz <poenitz@gmx.net>
495 * lyxtext.h: hide cursor and selection anchor behind accessor function
498 * BufferView_pimpl.[Ch]:
500 * bufferview_funcs.C:
510 * cursor_slice.[Ch]: some integer type changes for inset unification
512 * lyxcursor.[hC]: remove, it's CursorSlice now.
515 * BufferView_pimpl.[Ch]:
516 * bufferview_funcs.C:
522 * textcursor.[Ch]: adjust
524 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
526 * text2.C (undoSpan): add and use
527 * text.C (breakParagraph): use undoSpan (fix bug 578)
530 2004-01-08 Angus Leeming <leeming@lyx.org>
532 * BufferView_pimpl.C (MenuInsertLyXFile):
533 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
534 * lyxfunc.C (menuNew, open, doImport):
535 FileFilterList change to the FileDialog open and save functions.
537 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
539 * ShareContainer.h: make isEqual and isUnique adaptable
541 * CutAndPaste.C: make resetOwnerAndChanges adaptable
543 2004-01-07 Angus Leeming <leeming@lyx.org>
546 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
548 * BufferView_pimpl.C (dispatch): act on these LFUNs.
550 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
551 functions replacing find, replace and replaceAll.
553 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
554 LFUN_WORDFIND(FORWARD|BACKWARD).
556 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
558 * text.C (breakParagraph): remove an outdated #warning
560 2004-01-07 André Pönitz <poenitz@gmx.net>
562 * lyxfind.C: somewhat clearer logic
564 * text.C: prevent crash in cursorX on unitialized row cache
566 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
568 * lyxcursor.[Ch] (operator>): add
569 * textcursor.C (selStart, selEnd): use std::min and std::max
571 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
573 * Chktex.C: include boost/format.hpp
575 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
577 * InsetList.C: replace functor MathcIt with adaptable functor
579 (insetIterator): modify accordingly
581 * BranchList.h: move the BranchNamesEqual functor here from...
582 * BranchList.C: ... to here
584 * BranchList.C: new BranchListEqual fuctor, use it. Remove
586 (add): replace a finding loop with std::find_if.
588 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
590 * output_docbook.C: moving LatexParam functionality into
593 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
595 * buffer.C: increment format to 229.
597 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
600 * lyx_sty.[Ch]: remove minipageindent_def
606 * text3.C: remove LFUN_INSET_MINIPAGE
608 2003-12-28 Angus Leeming <leeming@lyx.org>
610 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
612 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
614 * text2.C (setParagraph): fix off-by-one crash
616 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
618 * output_docbook.C: header stuff for AGU
620 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
622 * text2.C (redoCursor): remove
625 * BufferView_pimpl.C: remove calls to redoCursor and
626 setCursor(cursor.par(), cursor.pos()) all around
628 2003-12-15 Angus Leeming <leeming@lyx.org>
630 * buffer.C: up the format to 228.
632 2003-12-15 André Pönitz <poenitz@gmx.net>
634 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
639 * BufferView_pimpl.C:
648 2003-12-15 Angus Leeming <leeming@lyx.org>
650 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
651 than getFromGUIName to manipulate the color.
653 2003-12-14 Angus Leeming <leeming@lyx.org>
655 * BranchList.[Ch]: minimize the API.
656 (Branch::getBranch, getColor): now return a 'const &'.
657 (Branch::setSelected) now returns a bool set to true if the
658 selection status changes.
659 (BranchList::clear, size, getColor, setColor, setSelected,
660 allBranches, allSelected, separator): removed.
661 (BranchList::find): new functions, returning the Branch with
663 (BranchList::add, remove): return a bool indicating that
664 the operation was successful.
666 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
667 new InsetBranch::isBranchSlected member function.
669 * LColor.[Ch]: mimimize the API.
670 (fill): renamed as addColor and made private.
671 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
672 versions of these functions taking a string arg have been removed.
674 * bufferparams.C (readToken):
675 * lyxfunc.C (dispatch):
676 * lyxrc.C (read): changes due to the altered BranchList and
679 * factory.C (createInset, readInset): changes due to altered
682 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
685 * lyxfunc.C: remove insetminipage. "minipage-insert"
686 now produces a frameless minipage box inset.
688 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
690 * textcursor.[Ch] (selStart,selEnd): add new methods
691 remove selection::start, end, use LyXCursor::operator<
692 * lyxcursor.[Ch] (operator<): add
693 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
694 * BufferView.[Ch] (unsetXSel): add
695 * text2.C (clearSelection): use unsetXSel,adjust
698 * rowpainter.C: adjust
699 * bufferview_funcs.C (put_selection_at): adjust
701 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
703 * BufferView_pimpl.C: small coord. correction
705 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
707 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
708 dragging over the splash screen.
710 2003-12-11 Angus Leeming <leeming@lyx.org>
712 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
713 as it is now handled in LyXText::dispatch.
715 * text3.C (doInsertInset): remove a level of nesting.
717 2003-12-11 Angus Leeming <leeming@lyx.org>
719 * factory.C (createInset): changes due to the changed interface to
720 InsetCommandMailer::string2params.
722 2003-12-10 Angus Leeming <leeming@lyx.org>
724 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
725 'dialog-show-new-inset <inset name>'
727 2003-12-10 Angus Leeming <leeming@lyx.org>
729 * buffer.C: up the format to 227.
731 * factory.C: the box inset is now identified simply by 'Box'.
733 2003-12-10 Angus Leeming <leeming@lyx.org>
735 * buffer.C: up the format to 226.
737 * factory.C: the note inset is now identified simply by 'Note'.
739 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
741 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
742 when a pit is enough. Standarize a couple of loops.
744 2003-12-05 Angus Leeming <leeming@lyx.org>
746 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
747 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
748 data to the re-worked "log" dialog.
750 2003-12-03 André Pönitz <poenitz@gmx.net>
758 * text2.C: use Inset::getText instead of Inset::getParagraph
760 2003-12-03 André Pönitz <poenitz@gmx.net>
764 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
765 InsetText::read() as LyXText::read()
767 2003-12-02 Angus Leeming <leeming@lyx.org>
769 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
770 type. Add a comment in the implementation that the function uses
771 the stream's bad() function rather than fail() as the std::streams
774 2003-12-02 André Pönitz <poenitz@gmx.net>
776 * lyxlex.[Ch]: make interface more similar to std::stream
778 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
780 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
782 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
784 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
786 * vspace.[Ch]: remove VSpace::NONE
788 2003-12-01 André Pönitz <poenitz@gmx.net>
791 * lyxtext.h: move ParagraphList member to LyXText
792 rename LyXText::ownerParagraphs to LyXText::paragraph
795 * bufferview_funcs.C:
805 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
807 * undo.C: fix cursor positioning
809 2003-12-01 John Levon <levon@movementarian.org>
811 * BufferView_pimpl.C: fix a crash on exit with
814 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
816 * BranchList.C: fix setSelected() method.
818 2003-11-28 André Pönitz <poenitz@gmx.net>
820 * ParagraphParameters.[Ch]:
821 * ParameterStruct.h: remove space above/below from Paragraph to
824 * BufferView_pimpl.C:
836 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
838 * factory.C: Syntax change for CharStyles
840 2003-11-28 André Pönitz <poenitz@gmx.net>
845 * buffer.[Ch]: move LyXText member
847 2003-11-28 André Pönitz <poenitz@gmx.net>
849 * BufferView.[Ch]: make LyXText * text a private member
851 * BufferView_pimpl.C:
862 * output_plaintext.C: cleanup
864 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
867 * lyxtextclass.[Ch]: parametrize SGML document header
869 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
872 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
875 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
877 * text2.C (setFont): rework using PosIterator (no more recursive)
878 (setCharFont): no more needed
879 (setLayout): no more selection cursors fiddling (done by redoCursor)
880 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
881 destroy remaining ones)
883 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
885 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
887 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
890 * text3.C: adjust + re-allow multi par depth changes
891 * textcursor.C: simplify a bit
893 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
899 * src/output_docbook.C:
900 * src/output_latex.C:
905 * src/text2.C: Introducing a number of tags parametrizing various
906 XML formats that we may want to support
908 2003-11-25 André Pönitz <poenitz@gmx.net>
910 * InsetList.[Ch] (begein, end): inline as suggested by profiler
912 * lyxtext.h (leftMargin/rightMargin): simplify interface
919 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
921 * lyxfunc.C (dispatch): propogate the bibtex databases from the
922 master file to any child files. Fixes bug 546.
924 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
926 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
928 2003-11-24 André Pönitz <poenitz@gmx.net>
930 * rowpainter.C: simplification
932 * text2.C (updateCounters): remove call to redoParagraph on
933 changed labels as this is far too expensive.
935 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
937 * converter.C (convert): fix a crash: this function gets
938 called with buffer == 0 from importer code.
940 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
942 * text3.C (cursorPrevious): make sure that we do not compare
943 iterators form different containers.
946 * rowpainter.C (paintSelection): make sure that we do not compare
947 iterators from different containers.
949 * text3.C (dispatch): [PRIOR] make sure that we do not compare
950 iterators from different ParagraphList containers.
953 * text2.C (LyXText): change order of initialization slightly
954 (operator=): new function. copy all variables except cache_par_
955 (moveUp): make sure that we do not compare iterators from
956 different ParagraphList constainers.
959 * text.C (firstPar): new function
960 (lastPar): new function
961 (endPar): new function
963 * lyxtext.h: move things around and group public functions, public
964 variables, private functions, private variables
966 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
968 * factory.C: change call to InsetERT constructor to avoid
969 additional invocation of method status
970 * text2.C (toggleInset): remove redundant update() call
971 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
972 instead of a Bufferview pointer
974 2003-11-21 André Pönitz <poenitz@gmx.net>
976 * rowpainter.C: simplification
978 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
980 * text3.C (dispatch): make possible to extend a word/row selection
983 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
985 * lyxtext.h: x0_,y0_ -> xo_,yo_
986 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
987 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
988 * rowpainter.C (paintRows): paint full paragraphs
990 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
992 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
995 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
997 * lyxtext.h: add x0_, y0_
998 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
999 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1001 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
1003 * text2.C (setCursorIntern): move the x_target update here *
1004 * text3.C: change some bv() to true/false in calls to
1005 cursorUp/Down/Right/Left
1006 * cursor.C: use helper function.
1008 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1010 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1011 * paragraph_funcs.[Ch]: correct comment
1012 * rowpainter.C: do not paint selections away from bv->cursor()
1013 Fix a long standing selection painting bug.
1014 * text3.C: generalize mouse-selection code to LyXTexts other that
1016 * textcursor.C: do not use y coords if we can use par offsets
1018 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1020 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1021 cursor position after e.g. inset insert)
1023 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
1025 * lyxfind.C (replace): adjust to locking removal + some
1028 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
1030 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1033 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
1036 * output_docbook.C: XML sanitation: new layout
1037 parameters InnerTag and CommandDepth
1039 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
1041 * BufferView_pimpl.C:
1043 * text3.C: Fix the insertion and modification of button-style
1046 2003-11-13 André Pönitz <poenitz@gmx.net>
1048 * InsetList.[Ch]: remove deleteLyXText
1050 * paragraph.[Ch]: cache beginOfBody position
1055 * text3.C: remove superfluous update() calls
1059 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1061 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1062 * BufferView.C (fitLockedInsetCursor): remove
1063 * cursor.[Ch] (getDim): add
1064 * text.C (getRowNearY): add faster version
1065 * text3.C: remove some update calls
1067 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1079 * text3.C: The Character Style /XML short element patch.
1081 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
1084 * factory.C: Small step to solving 'unable to insert some insets'
1087 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1089 * cursor.[Ch] (updatePos): new function for updating the y
1090 position of the tip inset
1091 * bufferview_funcs.C (put_selection_at):
1092 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1094 2003-11-11 André Pönitz <poenitz@gmx.net>
1096 * text.C: remove big comment on invalid Paragraph pointers as it is
1099 2003-11-11 André Pönitz <poenitz@gmx.net>
1101 * text_funcs.[Ch]: merge with ...
1109 * Makefile.am: remove text_funcs.[Ch]
1111 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1113 * cursor.C (getPos): return absolute cached y coord
1115 * BufferView_pimpl.C (fitCursor): new simplistic code
1116 (workAreaDispatch): add a fitCursor call
1118 2003-11-10 André Pönitz <poenitz@gmx.net>
1121 * BufferView_pimpl.[Ch]: merge update() and updateInset()
1123 2003-11-10 André Pönitz <poenitz@gmx.net>
1125 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1126 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1127 indicate that the cursor needs to leave an inset
1129 * lyxtext.h: remove inset locking
1131 * cursor.[Ch]: re-implement functionality provided by inset locking
1134 * BufferView_pimpl.[Ch]:
1136 * bufferview_funcs.[Ch]:
1148 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1150 * PosIterator.[Ch]: replace the stack with a vector, add inset
1152 * iterators.[C]: adjust
1154 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1156 * lyxfind.C (replaceAll): mark the buffer dirty if something was
1158 * paragraph_funcs.C (readParToken): put the correct id in the
1159 error item, not the id of the top paragraph
1161 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1163 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1164 * bufferview_funcs.C (put_selection_at): use the above
1166 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1168 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1170 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1172 * output_linuxdoc.h:
1173 * output_plaintext.h:
1175 * output_docbook.h: add #include statements
1177 2003-11-05 José Matos <jamatos@lyx.org>
1179 * output_docbook.[Ch]:
1180 * output_latex.[Ch]:
1181 * output_linuxdoc.[Ch]:
1182 * output_plaintext.[Ch]: New files for output formats.
1183 * output.[Ch]: New file for helper functions.
1186 * paragraph_funcs.[Ch]: output functions moved to new files.
1188 * outputparams.h: rename of latexrunparams.h
1196 * paragraph_funcs.[Ch]:
1197 * paragraph_pimpl.[Ch]:
1198 * tabular.[Ch]: rename ascii to plaintext
1199 and LatexRunParams to OutputParams.
1201 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1203 * iterators.[Ch] (text): require bv argument
1204 * undo.C (recordUndo):
1205 * lyxfunc.C (dispatch):
1206 * bufferview_funcs.C (put_selection_at): adjust
1208 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
1210 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1212 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1214 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1217 2003-11-04 André Pönitz <poenitz@gmx.net>
1219 * cursor.[Ch]: restructure
1222 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1224 * iterators.[Ch] (asCursor): remove
1226 * lfuns.h: remove LFUN_INSET_EDIT
1232 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1234 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1236 * lyxfind.[Ch]: complete overhaul
1237 * BufferView_pimpl.C:
1239 * paragraph.[Ch] (insert): add
1241 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1245 * text.C: remove dead spellcheck code
1247 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1249 * dispatchresult.h: add a val setter
1251 * cursor.C (dispatch): use a tempvar for data_[i]
1253 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1255 * PosIterator.[Ch]: compile fix
1257 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1259 * text.C (cursorPar): deactivate the cursor cache
1261 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1263 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1265 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1267 * text3.C (dispatch): adjust for new DisptchResult semantics.
1269 * lyxfunc.C (dispatch): handle update when return from
1270 Cursor::dispatch, adjust for new DispatchResult semantics.
1272 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1273 DispatchResult(true) mean to not update. Add class functions for
1274 setting dispatched and update, as well as reading.
1276 * cursor.C (dispatch): don't handle update here
1278 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1280 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1281 * trans_mgr.C: adjust
1283 * paragraph_funcs.C (readParToken): exception safety
1285 * lyxvc.h: store the vcs pointer in a scoped_ptr
1288 * lyxsocket.C (serverCallback): exception safety
1290 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1292 * ispell.C (clone): make it return a auto_ptr
1294 * factory.C (createInset): exception safety
1295 (readInset): exception safety
1297 * bufferlist.C (newBuffer): exception safety
1299 * Thesaurus.C (Thesaurus): use initialization for aik_
1301 * MenuBackend.C (expandToc): exception safety.
1303 2003-11-03 André Pönitz <poenitz@gmx.net>
1307 * bufferview_funcs.C: remove getInsetFromId()
1310 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1316 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1318 * PosIterator.C (distance, advance): new
1319 * bufferview_funcs.[Ch] (put_selection_at): new
1320 * iterators.[Ch] (lockPath): new
1322 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
1324 * iterators.[Ch] (asPosIterator): added
1325 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1326 * PosIterator.[Ch]: added
1328 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1332 * cursor.C (dispatch):
1333 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1335 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1336 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1337 contructor, add a class function dispatched. Remove operator>=
1339 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1341 * debug.C: only use the default constructor for debugstream
1344 * main.C (main): include debug.h and setup the lyxerr streambuf
1347 2003-10-31 José Matos <jamatos@lyx.org>
1349 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1351 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1352 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1353 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1354 * paragraph_pimpl.C (simpleTeXSpecialC):
1355 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1356 add LatexRunParams argument.
1358 * exporter.C (Export): change call accordingly.
1360 * latexrunparams.h: add new member to take care of the other backends.
1361 2003-10-30 José Matos <jamatos@lyx.org>
1363 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1364 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1365 factorise code for paragraph output.
1367 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1370 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1372 * text3.C (dispatch):
1373 * lyxfunc.C (dispatch):
1374 * cursor.C (dispatch):
1375 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1377 * dispatchresult.h: make the dispatch_result_t ctor explicit
1379 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1382 * buffer.C: small refactoring of docbook stuff
1384 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1386 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1389 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1391 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1392 operator dispatch_result_t, and operators for == != and >=
1394 * cursor.C (dispatch): adjust for operator dispatch_result_t
1395 removal. comment out call to update
1397 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1399 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1407 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1410 * dispatchresult.h: new file, DispatchResult broken out of
1413 * Makefile.am (lyx_SOURCES): add dispatchresult.h
1415 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1417 * text.C (rowBreakPoint): put a hack inside #if 0
1419 2003-10-28 André Pönitz <poenitz@gmx.net>
1423 * paragraph_funcs.C:
1426 * text2.C: general cleanup (lots of small stuff)
1428 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1430 * text2.C (cursorEnd): simple fix to the "end key goes to one
1431 before the end on last row" bug
1433 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1435 * text.C (backspace): fix the "zombie characters"
1437 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1439 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1441 2003-10-27 André Pönitz <poenitz@gmx.net>
1443 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1445 * factory.C: handle new InsetPagebreak, InsetLine
1447 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1448 and move handling into new InsetPagebreak, InsetLine
1450 * BufferView_pimpl.C:
1452 * ParagraphParameters.C:
1453 * ParameterStruct.h:
1458 * paragraph_funcs.C:
1459 * paragraph_pimpl.C:
1465 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1468 * lyxrow_funcs.[Ch]:
1474 * text3.C: remove lastPos uses in favour of Row::endpos
1476 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1478 * undo.C (performUndoOrRedo): fix two crashes by setting a
1479 cursor by hand and reordering some calls. Use bv->lockInset instead
1480 of inset->edit because the latter loses cursor information
1482 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
1484 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1486 (rowBreakPoint): fix width. change point to point + 1.
1487 Add a missing check.
1489 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
1492 * lyxfunc.C: fix (at least partly) the problems
1493 with the Nav menu and headers inside branch insets
1496 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
1498 * paragraph.C (getChar): add strong asserts
1500 * lyxrow_funcs.C (lastPos): remove hideous hack
1502 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1503 (fill): adjust to that (avoid an infinite loop)
1505 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1507 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1509 2003-10-23 André Pönitz <poenitz@gmx.net>
1511 * RowList_fwd.h: change list<> to vector<> to gain speed
1512 after suggestion from Alfredo
1514 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1516 * lyxtext.h: move the bidi stuff from here...
1519 * Bidi.[Ch]: ... to here
1521 2003-10-23 André Pönitz <poenitz@gmx.net>
1524 * text.C (isLastRow, isFirstRow): new functions
1526 * paragraph.h: new width cache member
1528 * rowpainter.C: replace RowList::iterator with Row & where possible
1530 * lyxfunc.C: replace several view()->text with a single call
1532 * toc.C: fix 'unused' warning
1534 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1536 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1537 when woring with stream::pos_type
1538 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1540 2003-10-22 André Pönitz <poenitz@gmx.net>
1543 * text.C: use Row & instead of RowList::iterator
1545 * lyxrow.h: rename end() to endpos()
1551 2003-10-22 Angus Leeming <leeming@lyx.org>
1553 * buffer.[Ch] (fully_loaded): new member function, returning true
1554 only when the file has been loaded fully.
1555 Used to prevent the premature generation of previews and by the
1556 citation inset to prevent computation of the natbib-style label.
1558 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1559 templates are all set up.
1561 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1563 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
1565 * text.C: fixed an "oops" in the "is a bit silly"
1568 2003-10-21 André Pönitz <poenitz@gmx.net>
1570 * FuncStatus.[Ch]: small stuff, whitespace
1572 * lyxfont.[Ch]: operator<<() for debug reasons
1576 * lyxtext.h: whitespace, spelling
1578 * paragraph.C: naming of variables
1581 * text2.C: small stuff
1584 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1586 * text.C: (1) finish off the inset display() work;
1587 (2) fix the "is a bit silly" bug (accessing char
1590 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1592 * text.C: re-introduce display() for insets, fixing the
1593 various bugs (stretch of line above, math inset
1596 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1598 * text.C (rightMargin): remove spurious semicolon
1600 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1603 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1605 * text3.C: fix one crash due to wrong cursor def
1607 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1609 * vc-backend.C (scanMaster): make the regex static
1611 * LaTeX.C (scanAuxFile): make the regexs static
1613 * text3.C (doInsertInset, dispatch, dispatch):
1614 * text2.C (cursorUp, cursorDown):
1615 * text.C (selectNextWordToSpellcheck):
1616 * BufferView_pimpl.C (dispatch):
1617 * lyxfunc.C (dispatch): localDispatch -> dispatch
1619 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1621 * lyxsocket.C: include <cerrno>
1623 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1625 * lyxfunc.C (dispatch): remove textcache stuff
1627 * bufferlist.C (release): remove textcache stuff
1630 * TextCache.C: delete file
1631 * TextCache.h: delete file
1633 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1635 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1636 delete of the bv_->text.
1637 (resizeCurrentBuffer): remove texcache stuff
1638 (workAreaResize): ditto
1640 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1642 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1645 2003-10-16 André Pönitz <poenitz@gmx.net>
1652 * text3.C: speed up by storing y positions per paragraph plus per-row
1653 offset instead of having a 'full' y position in the row.
1655 2003-10-15 André Pönitz <poenitz@gmx.net>
1659 * undo.[Ch]: make undo aware of inner insets
1661 2003-10-14 Angus Leeming <leeming@lyx.org>
1663 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1664 static member functions LyX::ref() and LyX::cref.
1665 (lastfiles): new accessor functions for the new lastfiles_ member var.
1666 (addLyXView, views_): add a new LyXView to the list of views_.
1667 (updateInset): loop over all LyXViews to call their own updateInset
1668 member function, returning a pointer to the Buffer owning the inset.
1670 * BufferView_pimpl.C (loadLyXFile):
1671 * MenuBackend.C (expandLastfiles):
1672 * bufferlist.C (MenuWrite, QuitLyX):
1673 lastfiles is no longer a global variable.
1674 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1676 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1677 static function. Access through LyX::cref().emergencyCleanup().
1679 2003-10-14 André Pönitz <poenitz@gmx.net>
1681 * iterators.[Ch]: new direct access to innermost LyXText and Inset
1683 * undo.[Ch]: restoring part of 'undo in insets'
1686 * undo_funcs.[Ch]: merge with undo.[Ch]
1688 * tabular.C: small cleansing stuff
1690 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
1692 * paragraph_funcs.C (readParToken): report unknown insets as error
1693 boxes. Use the outer paragraph as location (also for unknown
1696 * factory.C (readInset): do not abort on reading an unknown inset.
1697 Eat it and return 0.
1699 2003-10-13 Angus Leeming <leeming@lyx.org>
1701 * lyx_main.C (LyX): remove call to setDisplayTranslator().
1703 * lyxrc.C: displayTranslator is now a function,
1704 declared in GraphicsTypes.h.
1706 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1708 * format.C: new placeholder $$a to pass the socket address.
1710 * bufferlist.[Ch]: new function getBufferFromTmp.
1712 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1713 files in the temporary dir.
1715 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1717 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1719 * Makefile.am: add lyxsocket.[Ch].
1721 * lyx_main.C (error_handler): handle SIGPIPE.
1723 2003-10-13 André Pönitz <poenitz@gmx.net>
1725 * BufferView_pimpl.C:
1730 * undo_funcs.[Ch]: use paroffset_type instead of
1731 ParagraphList::iterators to prevent multiple conversion
1732 (and get a more robust interface)
1734 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1736 * lyxfunc.C (dispatch): RESULT -> dispatch_result
1738 * text3.C (dispatch): ditto
1740 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1742 * LaTeX.C (handleFoundFile): move the static to smaller scope,
1743 move the onlyfile, use onlyfile instead of foundfile in a couple
1746 * DepTable.C (update): flush the error stream a bit more
1748 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1750 * lyxserver.C (callback): adjust
1752 * lyxfunc.C (getStatus): add a missing brace in commented code
1753 (ensureBufferClean): reindent
1754 (dispatch): delete version taking a string
1756 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1758 * LaTeX.C (deplog): move found file handlig from here...
1759 (handleFoundFile): .. to new function here.
1760 (deplog): make sure to discover several files mentioned on the
1763 2003-10-10 André Pönitz <poenitz@gmx.net>
1770 * text3.C: fix some of the tabular crashes
1772 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1774 * MenuBackend.C (binding): put debug message into Debug::KBMAP
1776 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1778 2003-10-09 André Pönitz <poenitz@gmx.net>
1780 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1783 * BufferView_pimpl.C:
1784 * bufferview_funcs.C:
1795 * undo_funcs.C: adjust
1797 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1799 * text2.C (incrementItemDepth): new function, use a backtracking
1800 algorithm to discover the correct item depth.
1801 (resetEnumCounterIfNeeded): new function, use a backtracking
1802 algorithm to discover if counter reset is needed.
1803 (setCounter): use them. Simplify a bit. Add different labels for
1804 different item depths for itemize.
1806 * paragraph.C (Paragraph): remove initialization of enumdepth
1809 * paragraph.h: get rid of enumdepth, and use itemdepth both for
1810 enumerate and itemize. Change the type of itemdepth to signed char.
1812 2003-10-08 André Pönitz <poenitz@gmx.net>
1814 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1819 * tabular.[Ch]: fix crash after 'row-insert'
1821 2003-10-08 Angus Leeming <leeming@lyx.org>
1823 Fix doxygen warnings.
1825 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1826 Remove CutAndPaste:: prefix from header file declaration.
1828 * LColor.h (fill): remove LColor:: prefix from declaration.
1830 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1831 use lyx::depth_type rather than Paragraph::depth_type so that
1832 header file and .C file match.
1834 * converter.h (intToFormat): remove Converters:: prefix from declaration.
1836 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1837 * aspell.C: \file aspell_local.C -> \file aspell.C
1838 * gettext.C: \file gettext.C -> \file src/gettext.C
1839 * gettext.h: \file gettext.h -> \file src/gettext.h
1840 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1841 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1842 * text.C: \file text.C -> \file src/text.C
1844 * toc.C: move comment so that doxygen is not confused.
1846 2003-10-07 Angus Leeming <leeming@lyx.org>
1848 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1850 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1853 * aspell_local.h: add forgotten std::string's.
1855 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1862 * text3.C: The Box patch. Fancybox support, minipage, parbox
1864 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1870 * ParagraphParameters.h:
1880 * lyxtextclasslist.h:
1883 * paragraph_pimpl.C:
1884 * textcursor.h: add <string> and other small fixes to make Lars'
1885 std::string patch compile with STLport.
1887 2003-10-06 Angus Leeming <leeming@lyx.org>
1889 * LColor.h: Add missing #include <string>.
1891 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1893 * All most all file in all subdirs: Make <string> be the prefered
1894 way of getting to std::string, add using declarations.
1896 2003-10-06 André Pönitz <poenitz@gmx.net>
1898 * metricsinfo.C: initialize LyXFont before changing attribute.
1899 (fixes the 'math in \emph is upright' bug)
1901 2003-10-06 André Pönitz <poenitz@gmx.net>
1903 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1905 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
1908 * paragraph_pimpl.C: Small fixes to build using STLport
1910 2003-10-02 André Pönitz <poenitz@gmx.net>
1913 * text3.C: move handling of LFUN_DEPTH *; fix #1360
1915 2003-10-01 André Pönitz <poenitz@gmx.net>
1917 * factory.C: assert early
1919 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1921 * lyx_main.C: remove the global debug object
1923 * debug.h: adjust for new debugstream
1925 * debug.C: adjust for new debugstream and keep the global debug
1928 2003-09-22 Angus Leeming <leeming@lyx.org>
1930 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1931 of g++ which otherwise complain that the scoped_ptr destructor can't delete
1932 an incomplete class LyXFont.
1934 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1936 * factory.C: bug fix in branches
1938 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1940 * lyxfunc.C (processKeySym): adjust
1942 (dispatch): change arg name from ev to func, adjust
1943 (sendDispatchMessage): ditto
1945 * lyx_main.C (defaultKeyBindings): adjust keybindings
1946 (deadKeyBindings): ditto
1948 * kbsequence.C (addkey): return a FuncRequest
1950 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1952 * kbmap.C (bind): take a FuncRequest as arg, adjust
1955 (defkey): change to take a FuncRequest as arg, adjust
1956 (findbinding): take a FuncRequest as arg, adjust.
1958 * funcrequest.h (operator=): added
1960 * funcrequest.C (FuncRequest): default kb_action changed from
1961 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1963 * buffer.C (dispatch): simplify
1964 (dispatch): adjust to take a FuncRequest as arg, adjust
1966 * boost.C (assertion_failed): change assertion message slightly
1968 * ToolbarBackend.C (read): simplify
1970 * MenuBackend.C (binding): adjust call to findbinding, add a
1971 message if no binding is found.
1973 (expandToc): correct by adding a empty FuncRequest
1975 * LyXAction.C: include <boost/assert.hpp>
1976 (isPseudoAction): delete function
1977 (LookupFunc): change name to...
1978 (lookupFunc): this. change return type to FuncRequest.
1979 (getActionName): take kb_action as arg, simplify
1980 (funcHasFlag): add an assert, simplify.
1982 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1984 * toc.C (action): return a FuncRequest, simplify
1986 * lyxfunc.C (processKeySym): adjust
1987 (getStatus): delete version that takes an int.
1989 (dispatch): delete version that takes action as int
1991 (sendDispatchMessage): simplify and adjust
1993 * funcrequest.C (getArg): take unsigned int as arg
1995 * ToolbarBackend.C (read): adjust
1996 (add): delete version that takes func as a string.
1997 (getIton): take a FuncRequest as arg
1999 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2002 * MenuBackend.C (MenuItem): add a new construct that only takes a
2003 Kind, simplify the constructor use for submenus.
2005 (expandLastfiles): adjust
2006 (expandDocuments): adjust
2007 (expandFormats): adjust
2008 (expandFloatListInsert): adjust
2009 (expandFloatInsert): adjust
2010 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2012 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2013 Remove class variables lyx_pseudo_map and lyx_arg_map
2015 * LyXAction.C (searchActionArg): delete function
2016 (getPseudoAction): delete function
2017 (retrieveActionArg): delete function
2018 (LookupFunc): make it return kb_action, simplify.
2019 (getActionName): simplify
2021 * factory.C (createInset): fix new bug
2023 2003-09-19 Angus Leeming <leeming@lyx.org>
2025 * CutAndPaste.C (pasteSelection): remove fudge used to set the
2026 masterFilename_ parameter in the include inset.
2028 * factory.C (createInset): changes due to the changes to InsetInclude.
2030 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2032 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2034 2003-09-18 Angus Leeming <leeming@lyx.org>
2037 * BufferView.C: pass the buffer when calling Inset::getLabelList,
2038 Inset::fillWithBibKeys.
2039 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2041 2003-09-18 Angus Leeming <leeming@lyx.org>
2043 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2045 (ctor): pass and store a 'Buffer const &'
2046 (buffer): new member function.
2048 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2049 '*this' to the LaTeXFeatures ctor.
2051 2003-09-18 Angus Leeming <leeming@lyx.org>
2057 * text.C: rename EnumLColor as LColor_color.
2059 2003-09-18 Angus Leeming <leeming@lyx.org>
2061 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2062 remove #include "insets/insetbase.h" from cursor.h.
2064 2003-09-18 Angus Leeming <leeming@lyx.org>
2066 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2067 InsetOld_code to remove #include "inset.h".
2069 * iterators.C: add #include "insets/inset.h"
2071 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
2073 * BufferView.C: remove more locking stuff that apparently doesn't
2074 do anything sensible.
2076 2003-09-16 André Pönitz <poenitz@gmx.net>
2079 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2082 2003-09-16 Angus Leeming <leeming@lyx.org>
2084 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2086 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2089 * paragraph.h: remove #include "lyxfont.h". Forward declare
2092 2003-09-16 Angus Leeming <leeming@lyx.org>
2094 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2095 of support/textutils.h.
2096 (isWord): move the contents of support/textutils.h's IsWordChar here.
2102 * text2.C: add #include "paragraph.h".
2105 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2107 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2113 * LaTeX.C: use namespace alias for lyx::support::os
2115 2003-09-16 Angus Leeming <leeming@lyx.org>
2118 * bufferview_funcs.C:
2121 * paragraph_pimpl.C:
2123 * text.C: add #include "LColor.h".
2125 2003-09-16 Angus Leeming <leeming@lyx.org>
2127 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2128 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2130 Store the FontBits::color variable as an int rather than as an
2131 LColor::colorso that we can move LColor.h out of the lyxfont.h header
2134 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2135 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2136 string calls together.
2138 * lyxrc.C: add #include "LColor.h".
2140 2003-09-15 Angus Leeming <leeming@lyx.org>
2142 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2145 2003-09-15 Angus Leeming <leeming@lyx.org>
2147 * LColor.h: add an EnumLColor wrapper for LColor::color.
2149 * lyxfont.[Ch] (color, setColor, realColor):
2150 * lyxtext.h, text.C (backgroundColor):
2151 pass EnumLColor args to/from the functions, rather than LColor::color
2155 * lyxtext.h: forward declare EnumLColor.
2157 * lyx_main.C: add #include "LColor.h".
2159 2003-09-15 Angus Leeming <leeming@lyx.org>
2161 * .cvsignore: add lyx-gtk.
2163 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2168 * ParagraphParameters.C
2172 * bufferview_funcs.C
2182 * vc-backend.C: remove usage of STRCONV
2184 2003-09-15 Angus Leeming <leeming@lyx.org>
2186 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2187 explicitly define the color passed to the painter.
2189 2003-09-15 Angus Leeming <leeming@lyx.org>
2191 * bufferparams.C (BufferParams): reorder member initializers to avoid
2194 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
2196 * CutAndPaste.C (pasteSelection): remove an outdated #warning
2197 * text.C (updateRowPositions): remove an unusual nop
2199 2003-09-12 André Pönitz <poenitz@gmx.net>
2201 * BufferView_pimpl.C:
2210 * Counters.[Ch]: finish the 'automatic counters' job
2212 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2214 * aspell.C: include <boost/assert.cpp> (compile fix)
2216 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2218 * boost.C (assertion_failed): use lyx::support::abort instead of
2221 2003-09-10 Angus Leeming <leeming@lyx.org>
2223 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2224 with their _fwd progeny.
2226 2003-09-09 Angus Leeming <leeming@lyx.org>
2228 134 files throughtout the source tree: replace 'using namespace abc;'
2229 directives with the appropriate 'using abc::xyz;' declarations.
2231 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2233 * boost.C (emergencyCleanup): moved here from LAssert.c
2234 (assertion_failed): new function, called by BOOST_ASSERT
2236 * several files: change Assert to BOOST_ASSERT
2238 2003-09-09 Angus Leeming <leeming@lyx.org>
2240 * buffer.[Ch]: Add an Impl class and move Buffer's member
2241 variables into it. As a result move several header files out of
2244 Add header files to lots of .C files all over the tree as a result.
2246 2003-09-09 Angus Leeming <leeming@lyx.org>
2248 * buffer.[Ch]: make Buffer's member variables private. Add
2251 Lots of changes all over the tree as a result.
2253 2003-09-08 Angus Leeming <leeming@lyx.org>
2255 * graph.C: #include <config.h>.
2257 2003-09-08 Angus Leeming <leeming@lyx.org>
2261 * BufferView_pimpl.C:
2290 * toc.C: remove redundant using directives.
2292 2003-09-07 Angus Leeming <leeming@lyx.org>
2294 * LaTeXFeatures.h: remove #include "support/types.h".
2295 * ToolbarBackend.h: remove #include <algorithm>.
2296 * changes.h: remove #include <ctime>.
2297 * debug.h: remove #include <iosfwd>.
2298 * graph.h: remove #include "support/std_string.h".
2299 * lyx_main.h: remove #include <csignal>.
2300 * lyxlex_pimpl.h: remove #include <fstream>.
2301 * sgml.h: remove #include <algorithm>, <utility>.
2302 * toc.h: remove #include "support/std_ostream.h".
2303 Add #include <iosfwd>.
2305 2003-09-07 Angus Leeming <leeming@lyx.org>
2307 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2309 * converter.h: forward declare LatexRunParams.
2310 * encoding.h: remove #include "lyxrc.h".
2311 * lyxtext.h: remove #include "LColor.h".
2312 * lyxtextclass.h: remove #include "support/types.h".
2313 * trans.h: remove #include "tex-accent.h".
2314 * trans_mgr.h: remove #include "tex-accent.h".
2315 * insets/inset.h: remove #include "support/types.h", <vector>.
2316 * insets/insetcollapsable.h: remove #include "LColor.h".
2317 * insets/insetinclude.h: remove #include "dimension.h".
2318 * insets/insetlatexaccent.h: remove #include "dimension.h".
2319 * insets/insetoptarg.h:: remove #include "insettext.h".
2320 * insets/insettext.h: remove #include "dimension.h",
2321 <boost/shared_ptr.hpp>
2323 * insets/renderers.h: add #include "dimension.h".
2324 * insets/updatableinset.h: add #include "support/types.h".
2326 * many .C files: Associated changes.
2328 2003-09-06 Angus Leeming <leeming@lyx.org>
2330 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2331 one, inside testInvariant.
2333 * PrinterParams.C: new file.
2334 * PrinterParams.[Ch]: move the function bodies out of line.
2336 2003-09-06 Angus Leeming <leeming@lyx.org>
2338 * ParagraphParameters.h: forward declare ParameterStruct rather than
2339 including its header file.
2340 (depth): moved out-of-line.
2342 2003-09-06 Angus Leeming <leeming@lyx.org>
2344 * BufferView_pimpl.h:
2347 * lyxfunc.h: forward declare LyXKeySym rather than
2348 #include "frontends/LyXKeySym.h".
2350 * BufferView_pimpl.C:
2353 * lyxfunc.C: associated changes.
2355 2003-09-06 Angus Leeming <leeming@lyx.org>
2357 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2358 As a result, can remove the #include "insets/inset.h" from BufferView.h
2360 2003-09-06 Angus Leeming <leeming@lyx.org>
2362 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2363 As a result, can remove the #include "insets/inset.h" from BufferView.h
2365 2003-09-06 Angus Leeming <leeming@lyx.org>
2371 * bufferview_funcs.C:
2372 * BufferView_pimpl.C:
2377 * ParagraphParameters.C:
2382 * frontends/controllers/ControlDocument.C:
2383 * insets/insetcaption.C: rearrange the #includes into some sort of
2386 * buffer.h: remove #includes ErrorList.h, undo.h
2388 2003-09-06 Angus Leeming <leeming@lyx.org>
2390 * support/types.h: add a 'depth_type' typedef, used to store the
2391 nesting depth of a paragraph.
2394 * ParameterStruct.h: use this lyx::depth_type typedef rather than
2395 defining explicitly.
2398 * paragraph_funcs.h:
2399 * ParagraphParameters.h:
2400 * sgml.h: use lyx::depth_type rather than Paragraph or
2401 ParameterStruct's depth_type.
2404 * paragraph_funcs.h: no need to #include paragraph.h anymore.
2407 * BufferView_pimpl.C:
2409 * ParagraphParameters.C:
2412 * bufferview_funcs.C:
2419 * frontends/LyXView.C:
2420 * frontends/controllers/ControlDocument.C:
2421 * frontends/controllers/ControlErrorList.C:
2422 * insets/insetbibitem.C:
2423 * insets/insetbranch.C:
2424 * insets/insetcaption.C:
2425 * insets/insetcollapsable.C:
2426 * insets/insetenv.C:
2427 * insets/insetert.C:
2428 * insets/insetfloat.C:
2429 * insets/insetfoot.C:
2430 * insets/insetfootlike.C:
2431 * insets/insetnewline.C:
2432 * insets/insetquotes.C:
2433 * insets/insettabular.C:
2434 * insets/insettext.C:
2435 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2437 * frontends/controllers/ControlChanges.C: #include "changes.h".
2439 2003-09-06 Angus Leeming <leeming@lyx.org>
2441 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2442 than #including paragraph.h.
2445 * RowList.h: deleted. Superfluous.
2455 * insets/insettext.h: use ParagraphList_fwd.h rather than
2458 * paragraph.h: don't forward declare ParagraphList.
2461 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2462 rather than ParagraphList.h. paragraph.h is still needed for the
2463 Paragraph::depth_type parameters.
2465 * textcursor.h: enable it to compile stand-alone in light of the
2468 * bufferview_funcs.C:
2480 * frontends/controllers/ControlParagraph.C:
2481 * frontends/controllers/ControlTabular.C:
2482 * insets/insetmarginal.C:
2483 * insets/insetminipage.C:
2484 * insets/insetnote.C:
2485 * insets/insetoptarg.C: add header files needed to compile again.
2487 2003-09-06 Angus Leeming <leeming@lyx.org>
2489 * RowList_fwd.h: new file, forward-declaring Row rather than
2490 #including lyxrow.h.
2495 * insets/insettext.h: use it instead of RowList.h
2497 * bufferview_funcs.C:
2504 * text3.C: #include "RowList.h".
2506 2003-09-05 Angus Leeming <leeming@lyx.org>
2508 * factory.C (createInset):
2509 * vspace.C (c-tor): replace sscanf call with an istringstream.
2510 * ispell.C: re-add missing HP/UX headers.
2511 * lyxserver.C: re-add missing os2 headers.
2513 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
2522 * text3.C: re-add missing system headers, needed for 2.95.2.
2524 2003-09-05 Angus Leeming <leeming@lyx.org>
2526 Changes most place everywhere due to the removal of using directives
2527 from support/std_sstream.h.
2529 2003-09-05 Angus Leeming <leeming@lyx.org>
2531 Replace LString.h with support/std_string.h,
2532 Lsstream.h with support/std_sstream.h,
2533 support/LIstream.h with support/std_istream.h,
2534 support/LOstream.h with support/std_ostream.h.
2536 Changes resulting throughout the tree.
2538 2003-09-05 Angus Leeming <leeming@lyx.org>
2540 * sgml.h: ensure that the header file can be compiled stand-alone.
2541 * *.C: strip out redundant #includes. (320 in total.)
2543 2003-09-04 Angus Leeming <leeming@lyx.org>
2545 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2546 here (from getPackages).
2548 * debug.[Ch]: add a new EXTERNAL tag.
2550 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2552 * text2.C (cursorEnd): simplify
2554 (getColumnNearX): adjust
2556 * text.C (computeBidiTables): adjust
2559 * rowpainter.C (paintChars): adjust
2560 (paintSelection): adjust
2561 (paintChangeBar): adjust
2564 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2566 (numberOfSeparators): adjust
2568 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2574 * text3.C: Restricts the mouse click functionality
2575 of insets like bibtex, include, toc and floatlist to the visible
2576 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2577 up the dialogs. Cursor has to be in front of the inset (i.e.
2578 start of row) for this to function.
2580 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2582 * bufferview_funcs.C (currentState): output row information
2584 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2586 * bufferview_funcs.C (currentState): output paragraph position
2588 2003-09-04 Angus Leeming <leeming@lyx.org>
2590 * FloatList.h: move out #include "Floating.h".
2591 * LaTeX.h: move out #include "DepTable.h".
2592 * LyXAction.h: move out #include "funcrequest.h".
2593 * buffer.h: move out #include "author.h", "iterators.h".
2594 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2595 * lyx_main.h: move out #include "errorlist.h".
2596 * lyxfunc.h: move out #include "FuncStatus.h".
2597 * lyxtext: move out #include "lyxcursor.h".
2598 * paragraph_pimpl.h: move out #include "counters.h".
2600 2003-09-03 Angus Leeming <leeming@lyx.org>
2602 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2603 preamble_snippets list, enabling us to add snippets to the preamble
2604 only if the snippet was not there already.
2606 2003-09-04 Angus Leeming <leeming@lyx.org>
2608 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2610 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2612 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2615 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2617 * BranchList.C: point fix, earlier forgotten
2619 2003-09-02 Angus Leeming <leeming@lyx.org>
2621 * box.C (contains): renamed from 'contained' after a fantastic
2624 2003-09-02 John Levon <levon@movementarian.org>
2630 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2632 2003-09-02 John Levon <levon@movementarian.org>
2634 * text2.C: simplification of cursorEnd(), including partial
2637 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2639 * buffer.C (readFile): add a space
2641 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
2643 * BufferView_pimpl.C (update): remove bogus fitCursor() call
2645 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2647 * buffer.C (readFile): new function, take a filename and a
2648 ParagraphList::iterator
2650 (readFile): adjust, make it private. don't use setStream, make
2651 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2652 always contain the filename.
2654 * BufferView.C (insertLyXFile): simplify and make it work for
2657 2003-08-30 John Levon <levon@movementarian.org>
2659 * Makefile.am: fix dist (from Kayvan)
2661 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2663 * most files: change to use const Buffer refs
2665 2003-08-27 André Pönitz <poenitz@gmx.net>
2667 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2668 on top of ownerPar().
2670 2003-08-27 John Levon <levon@movementarian.org>
2672 * funcrequest.C: properly initialise POD members
2674 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2676 * lyxtext.h (top_y): move top_y from here
2681 * BufferView_pimpl.[Ch]: to here
2682 * frontends/screen.C:
2683 * insets/insettabular.C:
2684 * insets/insettext.C: adjust
2685 * rowpainter.[Ch] (paintRows): remove LyXText & argument
2687 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2690 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2692 2003-08-26 André Pönitz <poenitz@gmx.net>
2694 * paragraph_func.[Ch] (outerPar): new function
2697 * paragraph_funcs.C:
2698 * paragraph_funcs.h:
2699 * paragraph_pimpl.C:
2700 * text2.C: remove Inset::par_owner
2702 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2707 * text2.C: eliminates the needFullRow/display() stuff
2708 altogether, putting the logic in metrics/draw in the insets.
2710 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
2712 * text2.C (redoParagraphInternal, redoParagraphs):
2713 * text.C (redoParagraph): add a call to updateRowPositions at the
2714 end of each 'metrics-like' call. Remove all others.
2715 (getRow): remove the 'y-computing' version.
2716 (getRowNearY): do not compute nor return the real y. Solve the
2717 'y < 0' problem and simplify.
2719 2003-08-22 Angus Leeming <leeming@lyx.org>
2721 * *.[Ch]: clean-up of licence and author blurbs.
2722 Also move config.h out of a few .h files and into a few .C files.
2724 2003-08-22 André Pönitz <poenitz@gmx.net>
2726 * lyxrow.[Ch]: add x_ and *fill_ members
2731 * text2.C: adjust/remove prepareToPrint() calls
2733 2003-08-22 André Pönitz <poenitz@gmx.net>
2735 * lyxrow.[Ch]: add end_ member
2737 * lyxrow_funcs.C: use LyXRow::end_
2739 * lyxtext.h (singleWidth): add LyXFont parameter
2742 * text2.C: adjust LyXText::singleWidth() calls
2744 * text.C (redoParagraph): simplify row breaking logic
2747 2003-08-19 André Pönitz <poenitz@gmx.net>
2749 * funcrequest.C: initialize button_ member
2752 * rowpainter.[Ch]: interface consolidation
2754 2003-08-18 André Pönitz <poenitz@gmx.net>
2757 * BufferView_pimpl.C:
2759 * paragraph_funcs.C:
2761 * text3.C: remove LyXScreen::draw() and fitCursor calls
2763 * BranchList.h: remove spurious semicolons
2765 * MenuBackend.C: fix branchlist related crash
2767 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2775 * bufferparams.[Ch]:
2779 * text3.C: implements the 'branch inset'
2780 idea. This allows the output of various versions of a document
2781 from a single source version, selectively outputing or suppressing
2782 output of parts of the text.
2783 This implementation contains a 'branch list editor' in a separate
2784 tab of the document settings dialog. Branches are user definable
2785 and have a "display colour" to distinguish them on-screen.
2787 ColorHandler was somewhat cleaned up.
2788 (1) make possible a dynamically growing LColor list by allowing
2789 the graphic context cache to grow along (vector);
2790 (2) eliminate an IMHO unnecessary step in colour allocation.
2792 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
2794 * BufferView_pimpl.C: compile fix
2796 2003-08-15 André Pönitz <poenitz@gmx.net>
2798 * rowpainter.C: remove extra metrics calls
2800 * lyxtext.h: merge the two constructors into a single one,
2801 pass reference to owner's par list
2803 * BufferView_pimpl.C:
2807 2003-08-15 André Pönitz <poenitz@gmx.net>
2809 * lyxrow_funcs.[Ch]:
2812 * paragraph_funcs.C:
2817 * text_funcs.C: split LyXText::rowlist_ into individual
2818 Paragraph::rows_ chunks
2821 * BufferView_pimpl.[Ch]:
2824 * text3.C: remove toggleSelection()
2826 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2828 * bufferlist.C: beautify two alerts (shorter text of buttons)
2829 * buffer.C: Remove redundant ' ' from message
2831 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2832 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2833 rename VALIGN_CENTER to VALIGN_MIDDLE
2835 2003-08-11 André Pönitz <poenitz@gmx.net>
2837 * lyxtext.h (getPar):
2838 * text.C: new function
2840 2003-08-11 André Pönitz <poenitz@gmx.net>
2843 * tracer.[Ch]: remove unneeded files
2845 * InsetList.[Ch]: remove resizeInsetsLyXText()
2850 * text3.C: merge insertParagraphs() and appendParagraph()
2851 remove breakAgain(), update()
2853 * BufferView_pimpl.[Ch]:
2854 * bufferview_funcs.[Ch]:
2858 * tabular.C: adjust after text & InsetList changes.
2860 2003-08-08 André Pönitz <poenitz@gmx.net>
2862 * text.C (insertChar, backspace): replace rowlist fiddling
2863 with rebreak of full par
2866 * text.C (breakAgainOneRow, redoHeightOfParagraph,
2867 checkParagraph, updateInset): removed
2869 2003-08-07 André Pönitz <poenitz@gmx.net>
2872 * text3.C: merge some LFUN handlers, remove dead code
2874 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2876 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2878 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
2880 * text2.C (DEPM): fix part of bug 1255 and 1256
2882 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2884 * BufferView_pimpl.C (workAreaDispatch): change to use
2885 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2886 that are no mouse related.
2888 2003-08-05 André Pönitz <poenitz@gmx.net>
2891 * BufferView_pimpl.[Ch]:
2892 * bufferview_funcs.C:
2894 * text3.C: rip out "deep update"
2896 * textcursor.[Ch] (last_sel_cursor): remove unused member
2898 2003-08-04 André Pönitz <poenitz@gmx.net>
2901 * BufferView_pimpl.[Ch]:
2902 * ParagraphParameters.C:
2903 * bufferview_funcs.C:
2909 * text3.C: replace "complicated" BufferView::update(...) calls with
2912 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2914 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
2916 * Makefile.am (lyx_SOURCES): add paper.h
2918 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2920 * Makefile.am: move things around so that both lyx-qt and
2921 lyx-xforms can be built (according to --with-frontend). Then lyx
2922 is a symbolic link to lyx-[firstfrontend]
2924 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2926 * Always use std::endl with lyxerr
2928 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
2930 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2932 2003-08-01 André Pönitz <poenitz@gmx.net>
2935 * BufferView_pimpl.[Ch]:
2937 * text3.C: merge BufferView::repaint() and BufferView::update()
2939 2003-08-01 José Matos <jamatos@lyx.org>
2941 * buffer.[Ch]: file_format is no longer a buffer data element.
2943 2003-08-01 André Pönitz <poenitz@gmx.net>
2948 * text2.C: make redoParagraph more independent of current cursor
2950 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2952 * text2.C: remove unneeded members
2954 2003-07-30 André Pönitz <poenitz@gmx.net>
2956 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2958 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2959 create a single function...
2961 * paragraph_funcs.C (moveItem): ... here.
2964 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2966 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2968 * LColor.[Ch]: Add comment and greyedout logical colors.
2970 2003-07-30 André Pönitz <poenitz@gmx.net>
2972 * tabular.C: don't use Assert too heavily. This crashes where it
2975 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
2977 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2978 is disabled (bug 1232)
2980 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2982 * factory.C: limited 'arg' scope
2984 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2986 * factory.C: fixed Note submenu issues
2988 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2990 * factory.C: submenu for Note/Comment/Greyedout
2992 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
2995 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2997 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
3000 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3001 greyedout. Patch provided by Jürgen Spitzmüller.
3003 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3005 * kbmap.C (read): fix error message when reading bind files
3007 2003-07-29 Angus Leeming <leeming@lyx.org>
3009 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3010 certainly does not do what it purports to do. I am doing it, and
3011 us, a favour by killing it.
3013 2003-07-28 José Matos <jamatos@lyx.org>
3015 * buffer.C (readBody, do_writeFile):
3016 * paragraph.C(readParagraph): \end_document replaces \the_end.
3018 2003-07-29 André Pönitz <poenitz@gmx.net>
3021 * BufferView_pimpl.[Ch]:
3025 * textcursor.[Ch]: remove toggleToggle & Co
3027 2003-07-28 José Matos <jamatos@fep.up.pt>
3029 * buffer.C (readParagraph):
3030 * params_func (readParToken, readParagraph):
3031 * paragraph.C (write): \layout -> \begin_layout.
3033 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3035 * lyxlex_pimpl.C (setFile): clean up slightly.
3037 * bufferparams.h: add compressed var
3039 * buffer_funcs.C (readFile): adjust for LyXLex change
3040 (newFile): ditto + simplify
3042 * buffer.C (writeFile): handle writing of compressed files
3044 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3045 Check if the file is compressed and set a bufferparm if so.
3047 * Makefile.am (lyx_LDADD): remove explicit -lz
3049 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3051 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3052 makeDocBookFile): put the real LyX version in the first line of
3056 * version.C.in: remove lyx_docversion
3058 * tabular.C (write_attribute): add a template-based version to
3059 write enums properly
3061 2003-07-28 André Pönitz <poenitz@gmx.net>
3066 * text3.C: use doubles again for x-coordinates. They are needed.
3068 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3070 * messages.C (getLocaleDir): use lyx_localedir()
3072 * lyxlex_pimpl.C (setFile): compress stuff
3074 * buffer.C (writeFile): add some compression stuff
3075 (do_writeFile): new func, dont call expliti close... will this
3078 * Makefile.am (lyx_LDADD): add -lz
3080 2003-07-28 José Matos <jamatos@fep.up.pt>
3082 * buffer.C: increment file format.
3083 * paragraph_funcs (readParagraph, readParToken):
3084 * paragraph.C (readParagraph): add \end_layout.
3086 2003-07-27 Angus Leeming <leeming@lyx.org>
3088 * Makefile.am: remove special casing for configure-time setting of
3089 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3091 * lyx_main.C (init): remove all Jean-Marc's magic setting of
3092 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3094 2003-07-26 André Pönitz <poenitz@gmx.net>
3096 * paragraph_func.[Ch]:
3097 * paragraph.C (realizeFont): inline it whereever it is used
3102 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3105 2003-07-26 André Pönitz <poenitz@gmx.net>
3109 * text2.C: get rid of LyXText::need_break_row
3111 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3113 * toc.[Ch]: put namespace toc inside namespace lyx
3115 * MenuBackend.C (expandToc2): adjust for lyx::toc
3118 * lyxfunc.C (dispatch): adjust for lyx::find
3120 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3121 lyx::find instead. Reorganize a bit.
3122 (LyXReplace): rename to replace
3123 (LyXFind): rename to find
3125 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3128 2003-07-26 André Pönitz <poenitz@gmx.net>
3130 * text.C (setHeightOfRow): restrict scope of temporary variable
3132 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
3133 code (never has been used?)
3135 2003-07-27 Asger Alstrup <alstrup@local>
3137 * text.C (fill): Optimise algorithm to exploit that we can reuse
3138 the LyXFont for many characters.
3139 (setHeightOfRow): Same thing.
3140 (rowBreakPoint): Same thing.
3142 2003-07-26 Asger Alstrup <alstrup@local>
3144 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3146 * text.C (singleWidth): Spurious font copying in hot-spot
3147 singleWidth avoided. Reorder tests for arabic for efficiency.
3149 * text.C (fill): handle empty paragraphs better.
3151 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3154 * encoding.h: add includes
3156 * lyxrc.C: remove reading of bind files
3158 * lyx_main.C (init): setup bindings and menus only if we have a
3161 * kbmap.C (read): new method. Do the actual reading of bind
3164 * converter.C (dvipdfm_options):
3167 (output): adapt PAPER_* enums.
3169 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3171 * bufferparams.h: remove paper-related enums from there
3173 * paper.h: New file. A trivial header file to hold paper-related
3174 enums. It should later expand to contain many paper-related
3177 * lyxrc.C: declare extern displayTranslator
3179 2003-07-27 José Matos <jamatos@fep.up.pt>
3181 * tabular.[Ch] (linuxdoc): add support for tables and figures
3184 2003-07-27 José Matos <jamatos@fep.up.pt>
3186 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3187 consistency in both functions.
3188 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3190 2003-07-26 Asger Alstrup <alstrup@local>
3192 * rowpainter.C (paintRows): Change algorithm to work directly on
3193 the insets rather than asking every character in the document
3194 whether its an inset.
3196 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
3198 * buffer.C (openFileWrite): factorize some code
3200 2003-07-26 Angus Leeming <leeming@lyx.org>
3203 * lyx_main.[Ch]: replace occurances of system_tempdir with
3206 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3208 * rename Inset to InsetOld
3210 2003-07-25 Asger Alstrup <alstrup@diku.dk>
3212 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3213 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3214 which I think is a bit clearer. EDIT is gone, since it was
3215 premature optimisation, and broken for mathed anyway.
3216 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3217 with cursor positioning in insets as well (math insets still do not
3218 work, but that's a different story anyway.) It mysteriously
3219 crashes sometimes with undo in the first paragraph, but I'm fairly
3220 confident that this is a compiler bug.
3222 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3224 * paragraph.C (Paragraph): adjust for new clone return type
3226 (copyIntoMinibuffer): ditto
3228 2003-07-25 Asger Alstrup <alstrup@lyx.org>
3230 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3231 by not having a special case, and always doing a full rebreak of
3232 the document after undo.
3234 2003-07-23 Angus Leeming <leeming@lyx.org>
3236 * factory.C (createInset): InsetExternal::setParams now takes a
3239 2003-07-23 Angus Leeming <leeming@lyx.org>
3241 * factory.C (createInset): changed interface to the external and
3242 graphics mailers' string2params functions.
3244 2003-07-23 Angus Leeming <leeming@lyx.org>
3246 * factory.C (createInset): pass a
3247 Buffer const * parameter to InsetExternalMailer's string2params.
3249 2003-07-22 John Levon <levon@movementarian.org>
3251 * Thesaurus.h: include the right aiksaurus header
3253 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3255 * MenuBackend.C (expand): check menu shortcuts unconditionally
3257 2003-07-21 Angus Leeming <leeming@lyx.org>
3259 * factory.C (createInset): pass a
3260 buffer_path parameter to InsetGraphicsMailer's string2params.
3262 2003-07-21 Angus Leeming <leeming@lyx.org>
3264 * BufferView_pimpl.C (buffer):
3267 * lyxfunc.C (dispatch):
3268 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3269 rather than the grfx shortcut.
3271 2003-07-21 André Pönitz <poenitz@gmx.net>
3273 * rowpainter.C: remove unused variables
3276 * tabular_funcs.h: move to tabular.C
3277 * Makefile.am: adjust
3279 * tabular.[Ch]: basic optical cleaning
3281 * author.h: pass references, not values
3283 2003-07-18 André Pönitz <poenitz@gmx.net>
3291 * text3.C: two-phase drawing for InsetText and InsetTabular
3292 some float -> int changes.
3294 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3296 * lyx_main.C: fix the fix
3298 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3300 * lyx_main.C: fix a crash in batch mode if no files specified
3303 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
3305 * format.[Ch] (papersize): moved to BufferParams
3306 * converter.[Ch] (dvips_options): moved to BufferParams
3307 (dvipdfm_options): moved to anon namespace
3308 * bufferparams.[Ch]: added above functions.
3310 2003-07-17 André Pönitz <poenitz@gmx.net>
3314 * text2.C: don't call inset->update() anymore
3316 * metricsinfo.[Ch]: add convenience constructor
3318 2003-07-16 André Pönitz <poenitz@gmx.net>
3323 * text2.C: replace the LyXCursor::irow_ member with
3324 on-demand computation of the value
3326 2003-07-16 John Levon <levon@movementarian.org>
3328 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3330 2003-07-15 André Pönitz <poenitz@gmx.net>
3333 * text2.C: remove no more needed refresh_row
3335 2003-07-15 André Pönitz <poenitz@gmx.net>
3340 * text3.C: refresh_status tristate -> need_update bool
3342 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3344 * lyxtext.h (init): remove reinit argument (act as if always true)
3345 * text2.C: adjust to that
3347 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3349 * bufferview_funcs.[Ch]: introduce function replaceSelection()
3350 * text3.C: use it to delete selections in some cases
3351 (bugs 441, 673, 702, 954).
3353 2003-07-14 André Pönitz <poenitz@gmx.net>
3355 * rowpainter.[Ch]: reduce interface
3357 2003-07-14 André Pönitz <poenitz@gmx.net>
3359 * BufferView_pimpl.C:
3360 * text2.C: adjust after removing unused BufferView * argument
3362 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
3364 * text2.C (init): fix a crash fired on resize
3366 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
3368 * buffer.[Ch]: added new closing signal
3369 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3370 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3371 BufferView::Pimpl via the closing the signal
3373 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
3375 * buffer.[Ch]: take out all bv-related from buffer
3377 * BufferView_pimpl.[Ch]: connect to new signals
3378 * CutAndPaste.C: removed useless asserts
3379 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3382 * lyxfunc.C: moved view-related funciontality from vc here
3383 * paragraph.C: removed outdated comments
3386 2003-07-10 André Pönitz <poenitz@gmx.net>
3388 * BufferView_pimpl.C:
3392 * text2.C: remove InsetText::InnerCache, clean up consequences
3394 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3396 * ispell.C: fix two typos in error messages
3398 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
3400 * Extend Note inset to other forms of annotation like Comment
3401 and Greyedout. Right button click gives dialog.
3403 Files modified or added (+):
3407 * ControlNote.[Ch] +
3409 * Makefile.am in frontends/xforms, frontends/xforms/forms,
3410 frontends/controllers
3414 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3416 * aspell.C: add missing namespace lyx::support
3418 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
3420 * BufferView.[Ch] (newFile): Add
3421 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3422 * LaTeX.[Ch] (message): added this signal and use it
3423 * buffer.[Ch] (busy, message): added these signals and use them
3424 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3428 * importer.C: use buffer signals instead of direct bv calling
3429 * lyx_cb.[Ch] (ShowMessage): removed
3432 * paragraph_funcs.C:
3433 * text2.C: use buffer signals
3435 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3437 * introduce namespace lyx::graphics
3439 2003-07-02 André Pönitz <poenitz@gmx.net>
3441 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3443 2003-07-01 André Pönitz <poenitz@gmx.net>
3450 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3451 text*.C to text_func.C
3453 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3455 * introduce namespace lyx::support
3457 2003-06-30 André Pönitz <poenitz@gmx.net>
3462 * text.C: re-enable --with-included-string
3464 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3466 * textcursor.C: add <config.h>
3468 * text.C (getWord): remove const from word_location arg
3470 * lyxvc.C (getLogFile): fix const type order
3472 * lyxtext.h: remove const from word_location arg, add arg name
3474 * lyxlayout.h: currect type on labeltype.
3476 * importer.C: correct \file
3478 * converter.C (intToFormat): use std:: on ret val, ws changes
3480 * bufferlist.h: correct \file
3482 * buffer.C (makeLinuxDocFile): fix const type order
3483 (makeDocBookFile): ditto
3484 (fillWithBibKeys): use std:: on stdlib args.
3486 * CutAndPaste.C: fix authors.
3487 (availableSelections): use std:: on return vector
3489 2003-06-27 André Pönitz <poenitz@gmx.net>
3491 * BufferView_pimpl.C:
3492 * bufferview_funcs.C:
3500 * text3.C: remove LyXCursor::row_ member
3503 * text.C: rename fullRebreak() to partialRebreak() and implement
3504 a fullRebreak() that really bereks fully
3506 * textcursor.h: new struct for cursor-related data
3508 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
3510 * lyx_main.C (LyX): get full path of document loaded on the
3513 2003-06-26 André Pönitz <poenitz@gmx.net>
3515 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3516 remove unused/broken operator>,<,>=.
3518 * text.C: remove only use of broken operator<= in an Assert().
3520 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3522 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3523 moved errorlist_.clear to showErrorList
3525 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3527 * converter.C (scanLog, runLaTeX):
3528 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3529 move the bv->showErrorList call to the callers
3530 * lyxfunc.C: i.e. here...
3532 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3533 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3534 namespace, the second to...
3535 * buffer_funcs (BufferFormat, parseErrors): added
3536 * errorlist.C (ErrorList(TeXErrors const &)): removed
3538 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3540 * ToolbarBackend.C (getIcon): complain when icon cannot be found
3542 2003-06-24 "Garst R. Reese" <reese@isn.net>
3546 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3548 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3550 * version.C.in: change docversion to 1.4
3552 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
3554 * buffer.C: fix a bug just introduced
3556 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3558 * buffer.[Ch]: added the parseError signal and use it, removed
3560 * BufferView.[Ch] (addError): moved to ...
3561 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3562 to the Buffer::parseError signal to catch (guess what) parse errors
3563 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3565 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3567 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3568 ability to create a buffer and to return an existing one from
3569 the list. Moved these functions to...
3570 * buffer_funcs.[Ch]: added
3571 * BufferView.[Ch] (loadLyXFile): added
3572 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3573 job removed from bufferlist::loadLyXFile.
3574 * buffer.C (setReadOnly): make it work without view
3575 (i.e added an if (users))
3577 2003-06-19 Angus Leeming <leeming@lyx.org>
3580 * LyXAction.C (init):
3581 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3582 with LFUN_DIALOG_SHOW <name> <data>.
3584 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3586 * CutAndPaste.C (availableSelections): small compilation fix for
3587 ancient (gcc 2.9x) compilers
3589 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3591 * text3.C (cursorNext): add tmp var
3593 * text2.C (updateCounters): for function calling out of for clause
3594 (replaceSelectionWithString): ditto
3595 (insertStringAsParagraphs): ditto
3596 (getColumnNearX): add tmp var
3597 (setCursorFromCoordinates): add tmp var
3598 (cursorDownParagraph): add tmp var
3599 (deleteEmptyParagraphMechanism): add tmp var
3601 * text.C (insertChar): add tmp var
3603 * rowpainter.C (paintDepthBar): add tmp var
3605 * CutAndPaste.C (availableSelections): potentially check all
3606 paragraphs in a cut to fill the shown strings.
3608 2003-06-18 André Pönitz <poenitz@gmx.net>
3610 * kbmap.[Ch]: use vector<> instead of list<>
3612 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3614 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3615 pasteSelection with index
3617 * text2.C (pasteSelection): modify, call pasteSelection with index
3619 * paragraph.C (asString): reimplement version with no interval to
3620 call the one with interval.
3622 * lyxtext.h: add index arg to pasteSelection
3624 * MenuBackend.C (MenuItem): handle PasteRecent
3625 (Menu::read::Menutags): add md_pasterecent
3627 (expandPasteRecent): new function
3630 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3632 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3634 (availableSelections): new function
3636 2003-06-17 Angus Leeming <leeming@lyx.org>
3638 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3640 2003-06-17 Angus Leeming <leeming@lyx.org>
3643 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3645 * lyxfunc.C (dispatch): invoke it.
3647 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3649 * iterators.C (operator++, ParPosition): reintroduce some
3650 const_cast for the benefit of older compilers.
3652 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3654 * text3.C (dispatch): do not modify clipboard when doing
3655 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3656 LFUN_DELETE_SKIP on a selection selection
3658 2003-06-16 André Pönitz <poenitz@gmx.net>
3664 * tabular.[Ch]: IU of clone() and getLabelList();
3666 2003-06-13 André Pönitz <poenitz@gmx.net>
3668 * tabular.h: compactification
3670 2003-06-12 André Pönitz <poenitz@gmx.net>
3674 * tabular_funcs.h: some renaming plus whitespace
3676 2003-06-12 André Pönitz <poenitz@gmx.net>
3679 * BufferView_pimpl.C:
3685 * toc.C: Return a Paragraph & for ParIterator::operator*()
3687 2003-06-11 John Levon <levon@movementarian.org>
3691 * ToolbarBackend.C: add "Toolbars" section and
3694 2003-06-10 Angus Leeming <leeming@lyx.org>
3697 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3699 * lyxfunc.C (dispatch): invoke it.
3701 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3703 * main.C: protect <ios> with HAVE_IOS
3704 (main): protect sync_with_stdio with HAVE_IOS
3706 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3708 * text2.C (cutSelection): adjust
3709 (pasteSelection): adjust
3711 * messages.C: handle get of empty string
3713 * main.C (main): use sync_with_stdio(false)
3715 * lyxfunc.C (dispatch): adjust
3717 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3718 (WriteAs): remove unneeded BufferView arg.
3720 * bufferparams.h: use correct types on papersize, papersize2 and
3723 * bufferparams.C (readToken): adjust for type
3724 (writeLaTeX): add missing cases to switch.
3726 * bufferlist.C (quitWriteBuffer): adjust
3729 * buffer.C (asciiParagraph): remove some commented code.
3731 * CutAndPaste.C: remove current_view extern variable.
3732 (cutSelection): add BufferParams arg.
3733 (eraseSelection): add BufferParams arg.
3734 (pasteSelection): add Buffer const & arg
3736 2003-06-07 John Levon <levon@movementarian.org>
3739 * paragraph_funcs.C:
3740 * paragraph_pimpl.C:
3744 * paragraph.C: allow InsetERT to freely space lines,
3745 and some consolidation of code
3747 2003-06-06 José Matos <jamatos@fep.up.pt>
3749 * buffer.C (makeDocBookFile): fix bug #821
3751 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3753 * BufferView_pimpl.C (dispatch): use Dialogs::visible
3755 2003-06-04 Angus Leeming <leeming@lyx.org>
3757 * buffer.C: bump format to 224.
3759 2003-06-05 André Pönitz <poenitz@gmx.net>
3761 * text2.C (redoParagraphs): remove two const_cast<>
3763 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3765 * ParagraphList.h: remove last remnants of NO_STD_LIST
3767 2003-06-03 Angus Leeming <leeming@lyx.org>
3769 * factory.C (createInset): small change to the way InsetExternal's params
3772 2003-06-04 André Pönitz <poenitz@gmx.net>
3774 * buffer.h: use Undo directly instead of shared_ptr<Undo>
3776 * paragraph_pimpl.h:
3777 * paragraph.[Ch]: some Inset -> UpdatableInset changes
3779 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3781 * undo_funcs.C: make some simple cases of undo work again
3783 2003-06-03 John Levon <levon@movementarian.org>
3785 * ispell.C: HPUX doesn't have sys/select.h
3788 2003-06-03 John Levon <levon@movementarian.org>
3790 * CutAndPaste.C: update tabular and include inset
3795 * paragraph.C: remove owningBuffer(), don't pass Buffer
3798 * factory.C: insetGraphicsParams changed
3800 2003-06-02 John Levon <levon@movementarian.org>
3806 * text3.C: remove insetparent
3808 2003-06-02 John Levon <levon@movementarian.org>
3811 * buffer.C: fix inset_iterator.end(), move out of line
3814 2003-06-01 John Levon <levon@movementarian.org>
3816 * text3.C: use a proper cut/paste when doing inset
3817 insert (from Jürgen Spitzmüller)
3819 2003-06-01 John Levon <levon@movementarian.org>
3821 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3823 2003-05-30 André Pönitz <poenitz@gmx.net>
3825 * rowpainter.C: unify second drawing phase
3827 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3829 * trans_mgr.C: remove one case of current_view
3831 * text2.C (cursorBottom): delete NO_STD_LIST stuff
3833 * paragraph_funcs.h: remove paragraph.h include
3835 * paragraph.h: delete NO_STD_LIST stuff
3837 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3839 * buffer.h: remove paragraph.h include
3841 * ParagraphList.C: delete file
3843 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3845 * toc.C (getTocList): adjust
3847 * paragraph_pimpl.C (validate): adjust
3849 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3851 * paragraph.C (Paragraph): adjust
3852 (getPositionOfInset): use const_iterator, adjust
3853 (bibitem): use const_iterator, adjust
3854 (setInsetOwner): adjust
3856 * iterators.C (operator++): adjust
3858 * InsetList.[Ch]: Replace selfmade iterator with standard
3859 vector::iterator also introduce const_iterator. Remove getPos,
3860 getInset and setInset from InsetTable. Adjust accordingly.
3862 * BufferView.C (lockInset): adjust
3863 (ChangeInsets): adjust
3865 * tabular.[Ch]: delete commented same_id functions
3867 2003-05-28 John Levon <levon@movementarian.org>
3869 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3871 2003-05-28 André Pönitz <poenitz@gmx.net>
3873 * metricsinfo.[Ch]: remove 'fullredraw' member
3875 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
3877 * lyxtextclass.C (operator): remove caching.
3879 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3883 * text2.C (cursorBottom): adjust
3884 (setCounter): use ParagraphList::find, adjust
3886 * text.C (workWidth): use ParagraphList::find, adjust
3888 * lyxcursor.C (LyXCursor): adjust
3890 * buffer.C (inset_iterator): adjust
3892 * ParagraphList.h: make iterator(value_type) private, make
3893 ParagraphList a friend of iterator.
3895 * ParagraphList.C (find): new function
3897 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3899 2003-05-27 André Pönitz <poenitz@gmx.net>
3901 * dimension.[Ch]: a -> asc, d -> des, w -> wid
3903 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3905 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3907 2003-05-26 John Levon <levon@movementarian.org>
3909 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3911 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3913 * remove same_id from function signatures, adjust.
3915 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3917 * undo_funcs.C (createUndo): use the id functions directly, adjust.
3919 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3921 * paragraph.C (Paragraph): get rid of same_ids parameter
3923 * ParagraphList.C (insert): adjust
3926 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3928 * paragraph_funcs.C (breakParagraph): adjust
3929 (breakParagraphConservative): adjust
3931 * buffer.C (readParagraph): adjust
3933 * ParagraphList.C (insert): take a reference instead of a pointer
3936 * paragraph.[Ch] (id): new function
3938 * bufferlist.C (newFile): adjust
3940 * ParagraphList.C (ParagraphList): adjust
3942 (push_back): take a reference instead of a pointer.
3944 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3946 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3949 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3950 set else use old code.
3952 * ParagraphList.C: remove all NO_NEXT code and only compile this
3953 code of NO_STD_LIST is set.
3955 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3957 * BufferView_pimpl.C:
3967 * graphics/GraphicsConverter.C:
3968 * graphics/PreviewLoader.C: header adjustment
3970 2003-05-23 Angus Leeming <leeming@lyx.org>
3972 * LaTeXFeatures.[Ch] (useBabel): new method.
3973 * bufferparams.C (writeLaTeX): use it.
3975 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3977 * ParagraphList.h (set): remove unused function.
3979 2003-05-23 André Pönitz <poenitz@gmx.net>
3982 * BufferView_pimpl.C:
3986 * undo_funcs.C: setUndo reworked
3988 * iterators.[Ch]: add access to topmost ParagraphList
3990 * lyxtext.[Ch] (workWidth): add a const
3992 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3994 * texrow.[Ch] (increasePos): remove function
3995 * exporter.C (export): removed unused var and outdated comment
3997 2003-05-23 Angus Leeming <leeming@lyx.org>
3999 * latexrunparams.h: rename fragile as moving_arg.
4000 * paragraph.C (simpleTeXOnePar): ditto.
4001 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4003 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4005 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4007 (textUndoOrRedo): comment out a currently unused var.
4009 * paragraph.h (NO_NEXT): enable NO_NEXT
4011 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4013 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4015 * exporter.C (Export): adjust for removeAutoInsets removal.
4017 * buffer.C (runChktex): adjust for removeAutoInsets removal.
4019 * LyXAction.C (init): remove LFUN_REMOVEERRORS
4021 * BufferView.[Ch] (removeAutoInsets): delete function
4023 2003-05-22 Angus Leeming <leeming@lyx.org>
4025 * latexrunparams.h: add a free_spacing variable.
4027 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4028 to pass moving_arg, as the data is stored in runparams.fragile.
4030 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4031 to Inset::latexOptional or to simpleTeXOnePar.
4033 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4034 free_spacing arg to Inset::latexOptional.
4036 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4039 2003-05-22 Angus Leeming <leeming@lyx.org>
4041 * latexrunparams.h: add fragile and use_babel variables.
4043 * bufferparams.[Ch] (writeLaTeX): return use_babel.
4044 * buffer.C (makeLaTeXFile): store this returned value in
4045 runparams.use_babel, thus passing it to the inset::latex methods.
4047 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4048 simpleTeXSpecialChars as it is now stored in runparams.fragile.
4050 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4051 longer has a fragile arg, as it is stored in runparams.fragile.
4053 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4054 moving_arg parameter as the data is stored in runparams.fragile.
4056 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4057 a fragile parameter as the data is stored in runparams.fragile.
4059 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4061 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4063 2003-05-22 Angus Leeming <leeming@lyx.org>
4065 * latexrunparams.h: add a 'bool nice' which defaults to false.
4067 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4068 now encapsulated within runparams.
4070 * bufferlist.C (updateIncludedTeXfiles):
4071 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4073 2003-05-22 Angus Leeming <leeming@lyx.org>
4075 * latexrunparams.h: new file containing struct LatexRunParams.
4076 * Makefile.am: add new file.
4078 * LaTeX.[Ch] (c-tor, run):
4079 * buffer.[Ch] (makeLaTeXFile):
4080 * bufferlist.[Ch] (updateIncludedTeXfiles):
4081 * converter.C (convert, scanLog):
4082 * converter.[Ch] (runLaTeX):
4083 * exporter.C (Export):
4084 * paragraph.[Ch] (simpleTeXOnePar):
4085 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4086 * paragraph_funcs.[Ch] (latexParagraphs):
4087 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4088 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4089 pass around a LatexRunParams parameter.
4091 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4093 * paragraph.[Ch]: remove unused constructor
4095 * ParagraphList.C (erase): new function, taking two iterators
4097 2003-05-22 André Pönitz <poenitz@gmx.net>
4099 * undo_funcs.C: remove duplicated code
4101 * iterator.[Ch]: operator=
4103 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4105 * tabular.C (SetMultiColumn): ws changes
4107 * rowpainter.C (paintFirst): get rid of a ->previous
4109 * lyx_cb.C (getPossibleLabel): parlist simplification
4111 * BufferView.C (ChangeInsets): simplify slightly.
4113 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4115 * LyXAction.C: new lfun space-insert, kill protected-space-insert
4116 * lfuns.h: new LFUN_SPACE
4117 * lyxfunc.C: protected space has a new lfun
4118 * paragraph_funcs.C: read new space insets
4120 * factory.C: handle new space insets
4122 2003-05-22 André Pönitz <poenitz@gmx.net>
4125 * BufferView_pimpl.C:
4128 * undo_funcs.C: return a ParIterator from getParFromID.
4130 * iterators.[Ch]: add two const's
4132 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4134 * toc.C (getTocList): adjust
4136 * iterators.[Ch]: rework for parlist
4138 * buffer.C (par_iterator_begin): adjust
4139 (par_iterator_end): adjust
4141 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4143 * BufferView.C (removeAutoInsets): adjust
4144 (ChangeInsets): adjust
4146 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
4148 * text.C (top_y): fix bug 1110
4150 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
4152 * errorlist.[Ch]: added
4155 * BufferView_pimpl.C:
4156 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4159 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4161 * Makefile.am: ensure that lyx is relinked upon changes to the
4162 various "convenience" libs.
4164 2003-05-20 Angus Leeming <leeming@lyx.org>
4166 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4167 files are compiled in alphabetical order again.
4169 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4171 2003-05-19 Angus Leeming <leeming@lyx.org>
4173 * gettext.[Ch]: remove "char const * _(char const *)".
4175 2003-05-19 André Pönitz <poenitz@gmx.net>
4177 * dimension.[Ch]: promote from mathed/dimension.[Ch]
4186 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4188 2003-05-19 André Pönitz <poenitz@gmx.net>
4192 * lyxtextclass.[Ch]:
4194 * paragraph_funcs.[Ch]:
4196 * text3.C: more insetenv work
4198 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
4200 * ParagraphParameters.C (params2string): small bug fixed
4202 2003-05-16 André Pönitz <poenitz@gmx.net>
4205 * bufferview_funcs.C: patch from Kornel Benko to prevent
4206 crash when _(...) is called twice in a statement
4208 2003-05-16 André Pönitz <poenitz@gmx.net>
4215 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4217 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
4219 * lyx_main.C (init): remove spurious static_cast
4221 2003-05-14 André Pönitz <poenitz@gmx.net>
4223 * BufferView.C: fix format string
4225 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
4227 * BufferView.[Ch] (insertErrors): removed
4228 * BufferView.[Ch] (showErrorList): added
4229 * buffer.C (runChkTeX):
4230 * converter.C (scanLog): call showErrorList instead of inserterrors
4232 2003-05-13 André Pönitz <poenitz@gmx.net>
4234 * BufferView_pimpl.C:
4236 * bufferview_func.C:
4243 * tabular_funcs.h: tostr() from its own header
4245 * ParagraphParameters.C:
4250 * text3.C: STRCONV()
4252 2003-05-12 André Pönitz <poenitz@gmx.net>
4255 * BufferView_pimpl.C:
4259 * ParagraphParameters.C:
4263 * bufferview_funcs.C:
4276 * paragraph_funcs.C:
4280 * text3.C: boost::format -> bformat all over the place
4283 2003-05-09 André Pönitz <poenitz@gmx.net>
4285 * LColor.[Ch]: Pimpl the #include <map> away
4287 2003-05-09 John Levon <levon@movementarian.org>
4289 * bufferlist.C: never remove emergency saves
4291 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4293 * Makefile.am: better lib building
4295 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4297 * texrow.[Ch]: remove dependency on Paragraph and just store a id
4299 * paragraph_pimpl.C (simpleTeXBlanks): adjust
4300 (simpleTeXSpecialChars): adjust
4301 (simpleTeXSpecialChars): adjust
4302 * paragraph.C (simpleTeXOnePar): adjust
4303 * buffer.C (makeLaTeXFile): adjust
4305 * Makefile.am (BOOST_LIBS): allow boost as system lib.
4307 * text2.C (changeDepth): parlist cleanup
4308 (getColumnNearX): ditto
4310 * rowpainter.C (getLabelFont): parlist cleanup
4312 * bufferlist.C (newFile): parlist cleanup
4314 * CutAndPaste.C (eraseSelection): parlist cleanup
4316 * BufferView_pimpl.C (trackChanges): parlist cleanup
4319 * BufferView.C (lockInset): parlist cleanup.
4320 (ChangeInsets): ditto
4322 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4324 * CutAndPaste.h: Update file header.
4326 * CutAndPaste.C: Update file header.
4327 Store the parts cut out of the Document in a limited_stack.
4328 (copySelection): adjust
4329 (pasteSelection): new function, takes the index in the limited stack.
4330 (nrOfParagraphs): adjust
4331 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4332 simplify error inset insertion.
4333 (checkPastePossible): adjust
4335 2003-05-06 John Levon <levon@movementarian.org>
4337 * text2.C: don't cast wrap inset to float
4339 2003-05-05 André Pönitz <poenitz@gmx.net>
4342 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4344 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4345 few naked Paragraph *.
4347 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
4349 * bufferparams.C: Output warning if a document with missing
4350 TeX document class is loaded
4351 * exporter.C: Disable TeX exports if the document class is missing
4354 * lyxtextclasslist.C: Handle new textclass.lst format; new method
4355 isTeXClassAvailable()
4357 2003-05-03 John Levon <levon@movementarian.org>
4360 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4361 explicit cursor show/hide
4363 * BufferView_pimpl.h:
4364 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4365 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4367 * lyxfunc.C: hide cursor before dispatching.
4372 * text3.C: remove explicit cursor hides
4374 2003-05-02 André Pönitz <poenitz@gmx.net>
4376 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4379 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4382 * text2.C: tiny whitespace
4384 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4386 * undo_funcs.C: almost only ws changes.
4388 * ParagraphList.C (splice): just return if pl is empty.
4390 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4392 * ParagraphList.C (splice): new function.
4394 * CutAndPaste.C (pasteSelection): use it
4396 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4398 * CutAndPaste.C (pasteSelection): remove the last next and
4399 previous from this file.
4401 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4403 * CutAndPaste.C (pasteSelection): more clean up, user proper
4404 ParagraphList functions for pasteing.
4406 * ParagraphList.C (insert): new function, three arg insert
4408 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4410 * ParagraphList.C (insert): new function, three arg insert
4412 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4415 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4417 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4419 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4421 * CutAndPaste.C (pasteSelection): remove some unneeded code.
4423 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4425 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4426 (copySelection): clean up a bit.
4427 (pasteSelection): use make_pair
4429 * ParagraphList.C (ParagraphList): implement copy constructor
4430 (operator=): implement, base on copy constructor.
4433 * paragraph.C (erase): return a bool
4435 * paragraph_pimpl.C (erasePos): remove function, move contents...
4436 (erase): ... here. Return a bool.
4437 (erase): call erase instead of erasePos.
4439 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
4441 * ParagraphList.h: define PitPosPair
4442 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4443 ParagraphList, fix a bug on pasting multiple pars
4444 * text2.C: change interface to C&P
4446 2003-04-30 André Pönitz <poenitz@gmx.net>
4448 * undo_func.C: revert part of yesterday's patch 2
4450 2003-04-30 John Levon <levon@movementarian.org>
4452 * LColor.C: s/tabular/table/
4454 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4456 * text3.C (dispatch): do not convert iterator -> pointer
4457 * undo_funcs.C (setCursorParUndo): ditto
4458 * text_funcs.C (transposeChars): ditto
4460 * text2.C (setLayout): ws changes only
4462 * text.C (breakParagraph): do not convert iterator -> pointer
4464 (acceptChange): ditto
4465 (rejectChange): ditto
4470 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4473 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4475 * text3.C (gotoInset): YABG (yet another bad getChar)
4477 2003-04-29 André Pönitz <poenitz@gmx.net>
4479 * paragraph.h: make operator= private unimplemented as long as
4482 * ParagraphList.C: whitespace
4485 * paragraph_pimpl.[Ch]:
4486 * paragraph_funcs.C:
4488 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
4491 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4493 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4495 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4496 * paragraph.[Ch] (erase):
4497 * paragraph_pimpl.[Ch] (erase): change return type and value
4498 * text2.C (cutSelection): some rework
4500 2003-04-28 John Levon <levon@movementarian.org>
4502 * bufferlist.C: changes for unsaved changes dialog
4504 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4506 * bufferlist.C (newFile): set language (messages_) for new
4509 * buffer.C (readFile): ws changes only.
4511 2003-04-28 André Pönitz <poenitz@gmx.net>
4516 * BufferView_pimpl.C:
4517 * BufferView.C: getParFromID related ParagraphList::iterator changes
4519 2003-04-28 André Pönitz <poenitz@gmx.net>
4521 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4524 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4526 * messages.C: remove one more localedir class variable.
4528 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4530 * messages.C (getLocaleDir): singleton generation function
4532 (Messages): add a default constructor.
4534 * main.C (main): do not setup localedir here, do not call
4537 * gettext.C (_): use it.
4538 (gettext_init): delete funciton
4540 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4542 * gettext.C (getLyXMessages): new singleton generating function.
4544 * buffer.C (updateDocLang): adjust
4546 * Makefile.am (messages.o): add target
4547 (main.o): remove target
4549 2003-04-27 John Levon <levon@movementarian.org>
4554 * lyxvc.C: specify cancel button in Alert::prompt
4556 2003-04-26 John Levon <levon@movementarian.org>
4561 * LyXAction.C: add LFUN_INSET_SETTINGS
4563 * lyxfunc.C: don't enable tabular-feature when there's
4564 just any locking inset
4566 2003-04-26 John Levon <levon@movementarian.org>
4568 * bufferlist.C: re-add Cancel to buffer close question
4570 * lyxfunc.C: fix import UI a bit
4572 2003-04-25 John Levon <levon@movementarian.org>
4574 * gettext.C: remove the broken asserts for now
4576 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4578 * messages.C: make case where setlocale cannot comply work better.
4580 * buffer.C (updateDocLang): new function
4581 (changeLanguage): use it
4584 * text2.C (setCounter): use B_ a bit.
4586 * lyxlayout.C (Read): be sure to trim the label strings.
4588 * messages.C (Messages): fix typo in comment
4590 * buffer.C (readFile): set message_ after file is loaded.
4591 (makeDocBookFile): remove double return
4592 (changeLanguage): reset message_ upon language change.
4593 (B_): new func, use this to get translated buffer strings.
4595 * main.C: add myself and Jean Marc as authors.
4597 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4599 * messages.[hC]: pimplify Messages, and three different pimpls to be
4600 used in different circumstances.
4602 * gettext.[Ch]: change for use with new message code.
4604 2003-04-24 André Pönitz <poenitz@gmx.net>
4606 * factory.C: support for eqref
4608 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4610 * messages.[Ch]: add missing char
4612 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4614 * messages.[Ch]: New files
4616 2003-04-18 John Levon <levon@movementarian.org>
4620 * BufferView_pimpl.C:
4624 * text2.C: remove layout-copy/paste (bug 778)
4626 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4628 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4630 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4632 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4633 if they succeed. Act accordingly.
4635 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4637 * text2.C (setCharFont): adjust
4638 (setCounter): adjust
4639 (insertStringAsLines): adjust
4641 * text.C (leftMargin): adjust
4642 (setHeightOfRow): adjust
4644 * rowpainter.C (paintFirst): adjust
4647 * paragraph_funcs.C (depthHook): ParagraphList::iterators
4649 (isFirstInSequence): ditto
4650 (getEndLabel): ditto
4653 * paragraph.C (getParLanguage): comment out some hard stuff.
4655 * buffer.C (insertStringAsLines): take a ParagraphList as arg
4657 (simpleDocBookOnePar): ditto
4658 (makeDocBookFile): use ParagraphList::iterator
4660 * CutAndPaste.C (pasteSelection): adjust
4662 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4664 * text2.C (getFont): adjust
4665 (getLayoutFont): adjust
4666 (getLabelFont): adjust
4668 * paragraph_funcs.C (TeXOnePar): adjust
4670 * buffer.C (simpleLinuxDocOnePar): adjust
4671 (simpleDocBookOnePar): adjust
4673 * CutAndPaste.C (pasteSelection): adjust
4675 * BufferView.C (getEncoding): adjust
4677 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4679 2003-04-16 John Levon <levon@movementarian.org>
4681 * lyxfind.C: use parlist stuff for search/changes
4683 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4685 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4687 * text2.C (deleteEmptyParagraphMechanism): adjust
4689 * text2.[Ch] (ownerParagraph): delete func (both of them
4691 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4693 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4695 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4697 * ParagraphList.C: prepare for NO_NEXT
4699 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4701 * text2.C (getFont): adjust
4702 (getLayoutFont): adjust
4703 (getLabelFont): adjust
4705 * paragraph.C (getFont): adjust
4706 (getLabelFont): adjust
4707 (getLayoutFont): adjust
4709 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4711 2003-04-15 John Levon <levon@movementarian.org>
4715 * lyx_main.C: handle Include in .ui files
4717 2003-04-15 John Levon <levon@movementarian.org>
4719 * MenuBackend.C: make the doc files length shorter
4722 * ToolbarBackend.C: handle toolbar placement flags,
4725 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4727 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4730 * paragraph_funcs.C (TeXOnePar): adjust
4732 * paragraph.C (getLabelFont): add outerfont arg, adjust
4733 (getLayoutFont): ditto
4734 (simpleTeXOnePar): adjust
4736 * paragraph_pimpl.C (realizeFont): delete func
4738 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
4740 * text2.C (beforeFullRowInset): added a bad getchar check, removed
4741 row argument, constify cur argument.
4743 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4745 * text2.C (getFont): adjust
4746 (getLayoutFont): adjust
4747 (getLabelFont): adjust
4749 * paragraph_funcs.C (TeXOnePar): adjust
4750 (outerFont): new func...
4751 (realizeFont): ...moved out from here, changed this to facilitate
4754 * paragraph.C (getFont): take outerfont as arg, adjust
4755 (simpleTeXOnePar): add outerfont arg, adjust
4757 * buffer.C (simpleLinuxDocOnePar): adjust
4758 (simpleDocBookOnePar): adjust
4760 * CutAndPaste.C (pasteSelection): adjust
4762 * BufferView.C (getEncoding): adjust
4764 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4766 * text2.C (setCharFont): adjust
4767 (setCounter): adjust
4769 * text.C (leftMargin): adjust
4770 (setHeightOfRow): adjust
4772 * rowpainter.C (paintFirst): adjust
4775 * paragraph_pimpl.C (realizeFont): adjust
4777 * paragraph.C (isFirstInSequence): move from here...
4778 * paragraph_funcs.C (isFirstInSequence): ...to here
4780 * paragraph.C (outerHook): move from here...
4781 * paragraph_funcs.C (outerHook): ...to here
4783 * paragraph.C (depthHook): move from here...
4784 * paragraph_funcs.C (depthHook): ...to here
4786 * paragraph.C (getEndLabel): move from here...
4787 * paragraph_funcs.C (getEndLabel): ...to here
4789 * text2.C (realizeFont): move from here...
4790 * paragraph_funcs.C (realizeFont): ...to here
4792 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4794 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4796 2003-04-14 Angus Leeming <leeming@lyx.org>
4798 * LColor.[Ch]: scrap LColor mathcursor.
4800 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4802 * lyxlex.[Ch] (text): delete function
4803 * trans.C (Load): adjust
4804 * paragraph_funcs.C (readParToken): adjust
4806 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4808 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4809 vector<char> instead of a char[].
4811 * lyxlex_pimpl.C (getString): adjust
4813 (lex): use getString
4817 * lyxlex.C (text): use pimpl_->getString()
4821 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4823 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4824 (makeFontEntriesLayoutSpecific): temp var for par.size()
4825 (setLayout): temp var for ownerParagraphs().end()
4826 (fullRebreak): temp var for rows().end()
4827 (selectionAsString): temp var for boost::next(startpit), realize
4828 that the while really is a regular for loop.
4829 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4830 setCursor in one place.
4831 (setParagraph): temp vr for ownerParagraphs().end()
4832 (updateCounters): make the while loop a for loop
4833 (cutSelection): temp var for ownerParagraphs().end()
4834 (updateInset): make the do {} while() a regular for loop
4835 (getCursorX): use temp vars
4836 (setCurrentFont): use temp vars
4837 (getColumnNearX): use temp vars
4839 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4841 * text.C (transformChar): use temp var for getChar
4842 (computeBidiTables): use temp var for row->par()
4843 (fill): move temp vars for row->par() and pit->layout() earlier in
4845 (labelFill): use temp var for row->par()
4846 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4847 asc and desc, realize that pit never changes and that firstpit is
4848 just a duplicate and not needed. Exchange rit->par() with pit in a
4850 (breakAgain): use a temp var for boost::next(rit)
4851 (breakAgainOneRow): ditto
4852 (breakParagraph): use a temp var for rows().begin()
4853 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4854 (cursorRightOneWord): use temp var for cursor.par() and
4855 cursor.pos(), remove usage of tmpcursor.
4856 (cursorLeftOneWord): use temp var for cursor.par() and
4857 cursor.pos() only set cur at end of function.
4859 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4861 * text.C, text2.C: exchange all usage of Paragraph::next with
4862 boost::next(ParagraphList::iterator)
4864 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4866 * text2.C (cursorTop): simplify implementation
4867 (cursorBottom): ditto
4868 (setParagraph): use ParagraphList::iterator
4869 (setCurrentFont): adjust
4870 (getColumnNearX): adjust
4871 (cursorRight): adjust
4872 (cursorLeft): remove usage of Paragraph::previous
4873 (cursorUpParagraph): ditto
4874 (deleteEmptyParagraphMechanism): slight cleanup
4876 * text.C (isBoundary): take a Paragraph const & instead of a
4878 (addressBreakPoint): ditto
4879 (leftMargin): remove usage of Paragraph::previous.
4880 (setHeightOfRow): ditto
4881 (cursorLeftOneWord): ditto
4882 (selectNextWordToSpellcheck): ditto
4885 (breakParagraph): remove one usage of Paragraph::next
4886 (redoParagraph): ditto
4887 (acceptChange): ditto
4888 (insertChar): adjust
4889 (rowBreakPoint): adjust
4891 * bufferview_funcs.C (toggleAndShow): adjust
4893 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
4895 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4896 methods to access it.
4898 * text.C: Added updateRowPositions to compute all row positions.
4899 Make top_y and getRowNearY() to use the cached y position
4901 2003-04-11 John Levon <levon@movementarian.org>
4903 * text.C (rowBreakPoint): reintroduce the labelEnd
4904 checks, code copied from the row fill stuff. Deep voodoo.
4906 * text.C (fill): add a comment and debugging for the
4909 2003-04-11 John Levon <levon@movementarian.org>
4911 * text.C: make sure fullrow insets get wrapped to the next line,
4912 even when they're in a manual label
4914 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4916 * text2.C (insertParagraph): make it take ParagraphList::iterator
4918 (setLayout): make it return ParagraphList::iterator
4919 (redoParagraphs): ditto
4921 (checkParagraph): ditto
4923 * text.C (getRow): make getrow take ParagraphList::iterator as arg
4925 * text2.C: adjust several funcs.
4926 (realizeFont): take a ParagraphList::iterator as arg.
4927 (getLayoutFont): ditto
4928 (getLabelFont): ditto
4929 (setCharFont): ditto
4931 * text.C: adjust several funcs.
4933 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4935 * text.C (selectNextWordToSpellcheck): don't accidentally
4938 2003-04-10 John Levon <levon@movementarian.org>
4940 * ToolbarBackend.C (getIcon): special handling for
4943 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4945 * text2.C (cursorRight): a getChar assert fixed
4947 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4949 * text2.C (getFont): change to take a ParagraphList::iterator
4950 instead of Paragraph*
4951 Adjust several functions.
4953 * text.C (transformChar): change to take a ParagraphList::iterator
4954 instead of Paragraph*
4955 (singleWidth): ditto
4956 Adjust several functions.
4958 * rowpainter.C: adjust several functions
4959 * rowpainter.h:store a ParagraphList::iterator and not a
4963 2003-04-09 John Levon <levon@movementarian.org>
4968 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4969 and the "help" bits as well
4971 2003-04-09 John Levon <levon@movementarian.org>
4974 * ToolbarBackend.C: allow multiple toolbars
4976 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4978 * undo_funcs.C (setCursorParUndo): adjust
4980 * text_funcs.C (transposeChars): adjust
4982 * text3.C (gotoNextInset): adjust
4985 * text2.C (setLayout): adjust
4986 (changeDepth): adjust
4988 (redoParagraphs): adjust
4989 (selectionAsString): adjust
4990 (setParagraph): adjust
4991 (insertInset): adjust
4992 (cutSelection): adjust
4993 (copySelection): adjust
4994 (pasteSelection): adjust
4995 (insertStringAsLines): adjust
4996 (updateInset): adjust
4997 (setCursor): change to take a ParagraphList::iterator parameter
4998 (setCursorIntern): change to take a ParagraphList::iterator parameter
4999 (setCurrentFont): adjust
5000 (cursorLeft): adjust
5001 (cursorRight): adjust
5002 (deleteEmptyParagraphMechanism): adjust
5004 * text.C (breakParagraph): adjust
5005 (insertChar): adjust
5006 (acceptChange): adjust
5007 (rejectChange): adjust
5008 (selectNextWordToSpellcheck): adjust
5009 (changeCase): adjust
5013 * lyxfind.C (SearchForward): adjust
5014 (SearchBackward): adjust
5015 (nextChange): adjust
5017 * lyxcursor.C (par): adjust
5019 * lyxcursor.h: store a ParagraphList::iterator instead of a
5022 * lyx_cb.C (getPossibleLabel): adjust
5024 * bufferview_funcs.C (toggleAndShow): adjust
5026 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5029 * BufferView.C (removeAutoInsets): adjust
5030 (lockedInsetStoreUndo): adjust
5032 2003-04-09 John Levon <levon@movementarian.org>
5034 * ToolbarBackend.C: try icon without argument
5035 if with argument fails
5037 2003-04-08 John Levon <levon@movementarian.org>
5040 * ToolbarBackend.C: add getIcon(), handle tooltip,
5041 and change from "Icon" to "Item".
5043 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5045 * BufferView.C (lockInset): another bad getchar crunched
5047 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5049 * text2.C (changeDepth): do not setUndo on test_only (make undo work
5052 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
5054 * lyxfind.C (searchForward, searchBackwards): bug 782
5056 2003-04-07 John Levon <levon@movementarian.org>
5058 * paragraph.C: remove dead comment
5060 * text.C: remove troublesome depth-fiddling code
5061 in leftMargin() and rightMargin() (bug 1017)
5063 * text.C: fix breaking of rows in nested lists
5066 * text2.C (updateCounters): fix up depth values
5069 2003-04-07 John Levon <levon@movementarian.org>
5071 * BufferView_pimpl.C: clear message when doc finishes resizing,
5072 and after a mouse event
5074 * lyxfunc.C: clear message after exiting inset
5076 2003-04-07 John Levon <levon@movementarian.org>
5078 * bufferview_funcs.C: show math status not outside
5079 status in the statusbar
5081 2003-04-07 John Levon <levon@movementarian.org>
5083 * lyxfunc.C: note status changed after a depth change
5085 2003-04-04 Angus Leeming <leeming@lyx.org>
5087 * LaTeX.h: move AuxInfo operator==, != out of line.
5088 Remove LaTeX virtual destructor; nothing derives from it.
5089 Move operator()() out of public area and rename it startscript().
5090 Change protected for private.
5092 2003-04-04 Angus Leeming <leeming@lyx.org>
5095 * text2.C: remove unneeded #includes.
5097 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5099 * text2.C (dEPM): fix the heigth of the next row
5101 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5103 * text.C: squashed an invalid getChar requester + some ws changes
5105 2003-04-03 John Levon <levon@movementarian.org>
5107 * bufferview_funcs.h:
5108 * bufferview_funcs.C:
5111 * text2.C: make getStatus work for the env depth lfuns
5113 2003-04-03 John Levon <levon@movementarian.org>
5115 * bufferview_funcs.h:
5116 * bufferview_funcs.C:
5119 * text2.C: parlistize decDepth(), by merging it with incDepth()
5121 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5123 * lyxrow.h: store a ParagraphList::iterator instead of a
5124 Paragraph* and adjust other class functions to suit.
5126 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5129 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5131 * text2.C (setCursor): do not anchor to cursor row for the time being
5133 2003-04-02 John Levon <levon@movementarian.org>
5140 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5142 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5144 * paragraph.h: make ParagraphList and ParagraphList::iterator
5145 friends of Paragraph.
5147 * buffer.C (makeLinuxDocFile): move towards ParagraphList
5149 * ParagraphList.C: Use the private next_ and previous_ from
5152 2003-04-01 John Levon <levon@movementarian.org>
5156 * Makefile.am: rename, remove defaults gunk
5159 * MenuBackend.C: remove defaults gunk
5162 * Languages.C: remove defaults gunk
5165 * lyx_main.C: error out if files couldn't be found.
5167 2003-04-02 John Levon <levon@movementarian.org>
5169 * text2.C: make incDepth() use parlist
5171 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5173 * undo_funcs.C (firstUndoParagraph): adjust
5175 * text3.C (gotoInset): adjust
5176 (dispatch): adjust, and rewrite loop.
5178 * text2.C (init): adjust, and rewrite loop.
5179 (redoParagraphs): adjust
5180 (updateInset): adjust, and rewrite loop.
5181 (deleteEmptyParagraphMechanism): adjust
5183 * tabular.C (LyXTabular): adjust
5184 (SetMultiColumn): adjust
5187 * lyxtext.[Ch] (ownerParagraph): delete function
5188 (ownerParagraphs): new function returns a ParagraphList.
5190 * BufferView.C (removeAutoInsets): adjust
5191 (insertErrors): adjust
5192 (setCursorFromRow): adjust
5194 2003-04-01 Angus Leeming <leeming@lyx.org>
5196 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5199 2003-04-02 John Levon <levon@movementarian.org>
5205 * text_funcs.C: make transposeChars a free function
5207 * lyxrow_funcs.C: remove wrong comment
5209 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5212 * rowpainter.C: adjust
5217 * lyxrow_funcs. [Ch]: new files
5219 * lyxrow.[Ch]: remove next and previous pointers
5220 (next,previous): remove accessor functions
5221 (isParEnd): move to lyxrow_funcs
5222 (lastPos): move to lyxrow_funcs
5223 (nextRowIsAllInset): move to lyxrow_funcs
5224 (lastPrintablePos): move to lyxrow_funcs
5225 (numberOfSeparators): move to lyxrow_funcs
5226 (numberOfHfills): move to lyxrow_funcs
5227 (numberOfLabelHfills): move to lyxrow_funcs
5228 (hfillExpansion): move to lyxrow_funcs
5232 * bufferview_funcs.C (toggleAndShow): adjust
5234 * RowList.h: Remove class RowList from file leave just a
5237 * RowList.C: delete file
5239 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5242 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5244 * text3.C (cursorPrevious): adjust
5245 (cursorNext): adjust
5248 * text2.C (redoHeightOfParagraph): adjust
5249 (redoDrawingOfParagraph): adjust
5252 * text.C (breakParagraph): adjust
5253 (insertChar): adjust
5256 * rowpainter.C (RowPainter): adjust
5257 (leftMargin): simplify and adjust
5258 (most rowpainter functions): adjust.
5260 * rowpainter.h: store the row as RowList::iterator not as Row*
5262 * lyxcursor.C (row): taka RowList::iterator as arg
5265 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5268 2003-04-01 Angus Leeming <leeming@lyx.org>
5270 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5271 stuff like bool Bool.
5273 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5275 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5278 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5280 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5283 * lyxtext.h (rows): drop one version and leve a const variant that
5284 returns a RowList::iterator.
5286 2003-03-31 Angus Leeming <leeming@lyx.org>
5288 * text.C (fill): ensure that the signature is the same as that in the
5291 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
5293 * text2.C (redoParagraphs): adjust
5294 (updateCounters): adjust
5295 (checkParagraph): adjust
5296 (getColumnNearX): adjust and reformat a bit.
5298 * text.C (top_y): adjust
5300 (leftMargin): adjust
5301 (prepareToPrint): adjust
5303 (getRowNearY): adjust
5305 * lyxtext.h: make rowlist_ mutable.
5307 * RowList.h: add const_iterator
5308 * RowList.C: adjust for RowList::const_iterator.
5310 * text2.C (getCursorX): make it take a RowList::iterator as arg,
5313 2003-03-31 John Levon <levon@movementarian.org>
5316 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5318 * lyx_main.C: set default fonts from using lyx_gui funcs
5320 * exporter.C: pdf_mode moved from lyxrc
5323 * lyxfunc.C: changes from above
5325 2003-03-31 John Levon <levon@movementarian.org>
5327 * lyx_main.C: fix to the last fix
5329 2003-03-31 John Levon <levon@movementarian.org>
5331 * bufferlist.C: "Load original" -> "Load Original"
5337 * format.C: more Alert cleanups
5339 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5341 * text2.C (removeParagraph): make it take a RowList::iterator as
5343 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5344 (postRowPaint): make it take a RowList::iterator as arg, adjust.
5346 * text.C (anchor_row): make it take a RowList::iterator as arg,
5348 (computeBidiTables): make it take a const reference to Row instead
5349 of Row pointer, adjust.
5350 (leftMargin): make it take a RowList::iterator as arg, adjust.
5351 (rowBreakPoint): adjust
5352 (breakAgainOneRow): make it take a RowList::iterator as arg,
5354 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5356 * bufferview_funcs.C (toggleAndShow): adjust
5358 2003-03-30 John Levon <levon@movementarian.org>
5362 * boost-inst.C: moved to support
5364 * several files: changes as a result
5366 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5368 * text2.C (LyXText): adjust.
5370 (removeRow): make it take a RowList::iterator as arg, adjust.
5371 (fullRebreak): adjust
5372 (deleteEmptyParagraphMechanism): adjust
5373 (clearPaint): adjust
5376 * text.C (top_y): adjust
5377 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5378 (breakAgain): make it take a RowList::iterator as arg, adjust.
5379 (breakParagraph): adjust
5380 (insertChar): adjust
5383 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5384 need_break_row, and refresh_row.
5386 * text3.C (dispatch): adjust
5388 * text2.C (checkParagraph): adjust
5390 (setCursorFromCoordinates): adjust
5392 * text.C (top_y): adjust
5394 (getRow): make it return a RowList::iterator, adjust
5395 (getRowNearY): make it return a RowList::iterator, adjust
5397 * text2.C (init): adjust
5398 (insertRow): remove function
5399 (insertParagraph): adjust
5400 (redoParagraphs): adjust
5401 (fullRebreak): adjust
5402 (updateCounters): adjust
5404 * text.C (top_y): rewrite to use RowList iterators.
5406 (setHeightOfRow): rewrite to sue RowList iterators.
5407 (appendParagraph): adjust
5408 (breakAgain): adjust
5409 (breakAgainOneRow): adjust
5410 (breakParagraph): adjust
5412 (getRowNearY): adjust, and remove commented code.
5414 * lyxtext.h (firstRow): delete function
5415 (lastRow): delete function
5416 (rows): new function (const and non-const versions.)
5417 (insertRow): delete function
5419 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5421 2003-03-29 John Levon <levon@movementarian.org>
5423 * BufferView_pimpl.C: always update scrollbar top
5424 because pasting text when we're anchored could mean we
5425 miss an update altogether
5427 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5429 * text2.C (init): use rowlist_.end() and not 0.
5430 (insertRow): change to take a RowList::iterator as arg, adjust
5432 (insertParagraph): change to take a RowList::iterator as arg,
5434 (redoParagraphs): remove some debug msgs.
5436 * text.C (appendParagraph): change to take a RowList::iterator
5437 arg, adjust for this.
5438 (breakAgain): add an assert
5439 (breakAgainOneRow): ditto
5441 2003-03-29 John Levon <levon@movementarian.org>
5443 * text2.C: do not clear selection after inc/decDepth
5446 2003-03-29 John Levon <levon@movementarian.org>
5449 * buffer.C: fix broken strerrors according to Lars
5451 2003-03-29 John Levon <levon@movementarian.org>
5453 * converters.C: more Alert cleanups
5455 2003-03-29 John Levon <levon@movementarian.org>
5457 * bufferview_funcs.C: remove pointless Alert
5459 * buffer.C: fix confusing error message when
5460 a template is chmoded 000
5462 2003-03-29 John Levon <levon@movementarian.org>
5466 * BufferView_pimpl.C: Alert fixes
5470 * tabular-old.C: remove unused table compat reading
5472 2003-03-29 John Levon <levon@movementarian.org>
5477 * lyx_cb.C: more Alert cleanups
5479 * lyxfunc.C: don't allow chktex if not latex document
5481 2003-03-29 John Levon <levon@movementarian.org>
5485 * buffer.C: warnings pushed down from support/,
5488 2003-03-29 John Levon <levon@movementarian.org>
5490 * lyxfunc.C: safety check for C-r (revert)
5492 2003-03-29 John Levon <levon@movementarian.org>
5495 * bufferlist.C: several UI fixes using Alert::prompt.
5496 Fix the pointless looping quit code. Fix stupid revert
5501 * lyx_cb.C: use Alert::prompt
5503 * lyx_main.C: remove a silly question
5505 * lyxfunc.C: remove a couple of silly questions,
5508 2003-03-28 John Levon <levon@movementarian.org>
5510 * text2.C: fix bug 974 (End on empty par)
5512 2003-03-28 John Levon <levon@movementarian.org>
5514 * BufferView_pimpl.C:
5516 * lfuns.h: remove do-nothing math greek lfuns
5518 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5520 * lyxgluelength.h (isValidGlueLength): add default arg on
5521 parameter 2. Remove default arg from friend in class.
5523 * lyxlength.h (isValidLength): add default arg on parameter 2.
5524 Remove default arg from friend in class.
5526 * text2.C (LyXText): adjust, initialize refresh_row.
5530 (insertParagraph): adjst
5531 (redoParagraphs): adjust
5532 (fullRebreak): adjust
5533 (updateCounters): adjust
5534 (deleteEmptyParagraphMechanism): first attempt at fixing a
5537 * text.C (top_y): adjust
5538 (setHeightOfRow): adjust
5540 (getRowNearY): adjust
5542 * lyxtext.h: include RowList.h
5543 (~LyXText): not needed anymore, deleted.
5544 (firstRow): modify for RowList
5545 (lastRow): new function
5546 Delete firstrow and lastrow class variables, add a Rowlist
5547 rowlist_ class variable.
5549 * lyxrow.C (lastPos): use empty() and not !size() to check if a
5552 * RowList.C (insert): fix case where it == begin().
5554 2003-03-26 Angus Leeming <leeming@lyx.org>
5556 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5557 the thesaurus dialog.
5559 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5561 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5563 * RowList.[Ch]: new files
5565 * ParagraphList.C (erase): handle the case where it == begin
5568 2003-03-25 John Levon <levon@movementarian.org>
5572 * aspell.C: add new aspell support
5575 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5578 2003-03-25 Angus Leeming <leeming@lyx.org>
5581 * LyXAction.C (init): new LFUN_INSET_INSERT.
5583 * BufferView_pimpl.C (dispatch): split out part of the
5584 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5586 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5589 2003-03-25 Angus Leeming <leeming@lyx.org>
5591 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5593 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5596 * text3.C: remove useless row->height(0)
5598 2003-03-25 John Levon <levon@movementarian.org>
5602 * text3.C: rename the refreshing stuff to better names
5604 2003-03-24 John Levon <levon@movementarian.org>
5606 * BufferView_pimpl.h:
5607 * BufferView_pimpl.C: update layout choice on a mouse
5610 2003-03-23 John Levon <levon@movementarian.org>
5612 * Makefile.am: fix commandtags.h reference
5614 2003-03-22 John Levon <levon@movementarian.org>
5616 * BufferView_pimpl.C:
5621 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5623 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5626 * text.C: take the rtl methods out of line
5628 2003-03-21 André Pönitz <poenitz@gmx.net>
5630 * metricsinfo.[Ch]: new files containing structures to be passed around
5631 during the two-phase-drawing...
5633 2003-03-21 André Pönitz <poenitz@gmx.net>
5635 * lyxtextclass.C: read 'environment' tag.
5637 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5639 * text2.C (removeRow): fix bug 964
5641 2003-03-20 John Levon <levon@movementarian.org>
5645 * text2.C: paint cleanups. Inset::update() dropped font
5648 2003-03-19 John Levon <levon@movementarian.org>
5650 * lyxfunc.C: only fitcursor/markDirty if available()
5652 2003-03-19 John Levon <levon@movementarian.org>
5654 * commandtags.h: rename to ...
5656 * lfuns.h: ... this, and renumber / cleanup
5658 2003-03-19 John Levon <levon@movementarian.org>
5660 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5661 fit the cursor after an lfun
5665 * BufferView_pimpl.h:
5666 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5668 * LyXAction.C: layout-character should have ReadOnly
5670 * ParagraphParameters.C:
5672 * bufferview_funcs.C:
5679 * undo_funcs.C: changes from above
5681 2003-03-18 John Levon <levon@movementarian.org>
5683 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5684 remove it from update()
5686 * lyxfunc.C: update layout choice after an lfun
5688 * text3.C: remove extra updateLayoutChoice()s
5690 2003-03-18 John Levon <levon@movementarian.org>
5692 * text.C: top_y change means full repaint, fix
5693 a drawing bug with cursor movement
5695 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5699 * text2.C: anchor row on setCursor
5701 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5703 * lyxtext.h: remove almost all mutable keywords
5706 * text3.C: remove const keywords accordingly
5708 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5710 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5712 (TeXEnvironment): ditto
5715 2003-03-17 John Levon <levon@movementarian.org>
5717 * text.C (rowBreakPoint): remove attempt to fix displayed
5718 math insets inside a manual label
5720 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5722 * lyxtext.h: remove BufferView* as first arg from almost all class
5724 * other files: adjust.
5726 2003-03-17 John Levon <levon@movementarian.org>
5730 * text2.C: more paint cleanups
5732 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5735 * rowpainter.C: remove "smart" background painting code
5737 2003-03-16 John Levon <levon@movementarian.org>
5742 * text3.C: add helper functions for setting refresh_row/y
5744 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
5746 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5747 newline inset which *can* get inserted in the pass_thru layouts.
5748 This is primarily for literate documents.
5750 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
5752 * buffer.C: increment LYX_FORMAT to 223
5754 2003-03-14 André Pönitz <poenitz@gmx.net>
5756 * textclass.h: prepare for environment handling, ws changes
5757 * lyxlayout.C: read latexheader and latexfooter tags
5759 2003-03-14 John Levon <levon@movementarian.org>
5761 * text2.C: rewrite ::status() a bit
5763 2003-03-13 John Levon <levon@movementarian.org>
5765 * lyxtext.h: add some docs
5767 2003-03-13 John Levon <levon@movementarian.org>
5772 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5774 2003-03-13 John Levon <levon@movementarian.org>
5776 * text3.C: fix appendix redrawing
5778 2003-03-13 John Levon <levon@movementarian.org>
5780 * text.C (setHeightOfRow):
5782 * rowpainter.C: make appendix mark have the text
5783 "Appendix" so the user knows what it is
5786 * LColor.C: s/appendixline/appendix/ from above
5788 2003-03-13 John Levon <levon@movementarian.org>
5790 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5792 * text.C: fix a getChar(pos) bug properly
5794 2003-03-13 Angus Leeming <leeming@lyx.org>
5797 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5798 Probably only temporary. Let's see how things pan out.
5800 * BufferView.C (unlockInset):
5801 * BufferView_pimpl.C (fitCursor):
5802 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5804 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5805 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5807 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5808 new functions that convert ParagraphParameters to and from a string.
5810 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5811 BufferView::Pimpl's dispatch.
5812 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5814 2003-03-13 André Pönitz <poenitz@gmx.net>
5818 * factory.C: make it aware of InsetEnv
5820 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5822 * text2.C (setCursor): never ask for one past last
5823 (setCursor): add some debugging messages.
5825 * text.C (singleWidth): never ask for one past last
5826 (singleWidth): ditto
5828 (rightMargin): ditto
5829 (rowBreakPoint): ditto
5830 (setHeightOfRow): ditto
5831 (prepareToPrint): ditto
5833 * rowpainter.C (paintBackground): never ask for one past last
5834 (paintText): never ask for one past last
5836 * paragraph_pimpl.C (getChar): make the assert stricter, never
5837 allow the one past last pos to be taken
5839 * paragraph.C (getChar): ws changes only
5841 * lyxrow.C (nextRowIsAllInset): never ask for one past last
5842 (numberOfSeparators): ditto
5843 (numberOfHfills): ditto
5845 2003-03-12 John Levon <levon@movementarian.org>
5851 * paragraph_funcs.C: fix per-buffer authorlists
5853 2003-03-12 John Levon <levon@movementarian.org>
5855 * text.C: fix newline in right address
5857 2003-03-12 Angus Leeming <leeming@lyx.org>
5859 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5860 duplicate those in LyXFunc::dispatch.
5864 * ToolbarDefaults.C:
5865 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5866 Add LFUN_FONTFREE_UPDATE.
5868 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5869 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5871 * bufferview_func.[Ch]: several new functions to facilliate
5872 transfer of data to and from the character dialog.
5874 2003-03-12 John Levon <levon@movementarian.org>
5879 * paragraph_funcs.C:
5880 * paragraph_pimpl.C:
5884 * text3.C: remove META_NEWLINE in favour of an inset
5887 * rowpainter.C: remove paintNewline (done by inset)
5889 2003-03-12 John Levon <levon@movementarian.org>
5891 * paragraph_pimpl.C: complain about bad getChar()s
5892 for a while at least
5894 2003-03-12 John Levon <levon@movementarian.org>
5897 * buffer.C: move paragraph read into a separate function,
5898 a little renaming to reflect that.
5901 * bufferparams.C: remove the author_ids map, not necessary now
5904 * factory.C: moved Buffer::readInset to here
5906 * paragraph_funcs.h:
5907 * paragraph_funcs.C: readParagraph free function moved from
5910 * tabular.C: name change
5912 2003-03-12 John Levon <levon@movementarian.org>
5915 * ParagraphParameters.C: move par params input to
5918 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5919 behave like a normal read from the stream wrt reading
5920 a line vs. a \\token
5922 2003-03-12 John Levon <levon@movementarian.org>
5925 * ParagraphParameters.h:
5926 * ParagraphParameters.C: move output code to a
5929 2003-03-12 John Levon <levon@movementarian.org>
5931 * BufferView.C (insertLyXFile):
5934 * tabular.C: use a parlist iterator for creating the
5937 2003-03-12 John Levon <levon@movementarian.org>
5939 * buffer.C: make current_change static local not
5942 2003-03-12 John Levon <levon@movementarian.org>
5944 * buffer.C: fix insertStringAsLines for change tracking
5946 2003-03-12 John Levon <levon@movementarian.org>
5953 * bufferparams.C: move author list into params. Rename some
5954 functions. Move the header reading into a separate token
5955 loop. Move the header token reading into BufferParams.
5957 2003-03-12 John Levon <levon@movementarian.org>
5959 * changes.C: put debug inside lyxerr.debugging() checks
5961 2003-03-11 André Pönitz <poenitz@gmx.net>
5963 * factory.C: make it aware of InsetHFill
5965 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5967 * buffer.C (latexParagraphs): move function from here...
5968 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5971 2003-03-10 Angus Leeming <leeming@lyx.org>
5973 * LyXAction.C (init): fix bug in poplating array with multiple entries
5974 with the same LFUN (spotted by JMarc).
5976 2003-03-10 John Levon <levon@movementarian.org>
5979 * text2.C: move getColumnNearX() near its
5982 2003-03-10 John Levon <levon@movementarian.org>
5984 * text.C: fix break before a minipage
5986 2003-03-10 John Levon <levon@movementarian.org>
5988 * text.C: fix the last commit
5990 2003-03-09 John Levon <levon@movementarian.org>
5994 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5995 bug 365 (don't break before insets unless needed). Don't
5996 return a value > last under any circumstances.
5998 2003-03-09 Angus Leeming <leeming@lyx.org>
6000 * BufferView_pimpl.C (trackChanges, dispatch): call
6001 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6003 2003-03-09 Angus Leeming <leeming@lyx.org>
6005 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6006 than Dialogs::showAboutlyx().
6008 2003-03-09 Angus Leeming <leeming@lyx.org>
6010 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6011 than Dialogs::showTabularCreate().
6013 2003-03-09 John Levon <levon@movementarian.org>
6017 * text2.C: 3rd arg to nextBreakPoint was always the same.
6020 2003-03-08 John Levon <levon@movementarian.org>
6027 * text2.C: Remove the "main" bit from the "main body"
6030 2003-03-08 John Levon <levon@movementarian.org>
6032 * text.C (leftMargin): The left margin of an empty
6033 manual label paragraph should not include the label width
6036 * text.C (prepareToPrint): don't attempt to measure hfills
6037 for empty manual label paragraphs - the answer should be 0
6039 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6041 * CutAndPaste.C: remove commented code and reindent.
6043 2003-03-08 John Levon <levon@movementarian.org>
6046 * lyxfunc.C: move reloadBuffer()
6049 * BufferView.C: to here
6051 * lyxvc.C: add comment
6054 * vc-backend.C: call bv->reload() to avoid
6055 getStatus() check on MENURELOAD
6057 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
6059 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6060 to an old format .dep file.
6062 2003-03-07 Angus Leeming <leeming@lyx.org>
6064 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6065 when the LFUN_MOUSE_RELEASE should have been handled by
6066 inset->localDispatch.
6068 2003-03-07 Angus Leeming <leeming@lyx.org>
6070 * BufferView_pimpl.C (dispatch):
6071 * LyXAction.C (init):
6072 * ToolbarDefaults.C (init):
6074 * lyxfunc.C (getStatus):
6075 remove LFUN_INSET_GRAPHICS.
6077 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6079 2003-03-07 Angus Leeming <leeming@lyx.org>
6082 * LyXAction.C (init):
6083 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6085 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6088 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6090 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6091 localDispatch method LFUN_INSET_DIALOG_UPDATE.
6093 2003-03-07 Angus Leeming <leeming@lyx.org>
6095 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6098 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6100 * ParagraphList.C (front): new function
6103 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
6105 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6106 and top_row_offset_. removed var first_y.
6108 * text2.C (LyXText, removeRow):
6110 * BufferView_pimpl.C:
6111 use these methods instead of using first_y
6113 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6115 * text2.C (pasteSelection): adjust for checkPastePossible
6117 * CutAndPaste.C: remove Paragraph * buf and replace with
6118 ParagraphList paragraphs.
6119 (DeleteBuffer): delete
6120 (cutSelection): change the tc type to textclass_type
6121 (copySelection): change the tc type to textclass_type
6122 (copySelection): adjust for ParagraphList
6123 (pasteSelection): change the tc type to textclass_type
6124 (pasteSelection): adjust for Paragraphlist
6125 (nrOfParagraphs): simplify for ParagraphList
6126 (checkPastePossible): simplify for ParagraphList
6127 (checkPastePossible): remove unused arg
6129 * ParagraphList.C (insert): handle the case where there are no
6132 * CutAndPaste.h: make CutAndPaste a namespace.
6134 * text3.C (dispatch): adjust
6136 * text.C (breakParagraph): add a ParagraphList as arg
6138 * paragraph_funcs.C (breakParagraph): change to take a
6139 BufferParams and a ParagraphList as args.
6140 (breakParagraphConservative): ditto
6141 (mergeParagraph): ditto
6142 (TeXDeeper): add a ParagraphList arg
6143 (TeXEnvironment): ditto
6146 * buffer.C (readLyXformat2): adjust
6147 (insertStringAsLines): adjust
6148 (latexParagraphs): adjust
6150 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6151 (cutSelection): adjust
6152 (pasteSelection): adjust
6154 * BufferView_pimpl.C (insertInset): adjust
6156 2003-03-05 Angus Leeming <leeming@lyx.org>
6159 * LyXAction.C (init):
6160 * BufferView_pimpl.C (dispatch):
6161 * lyxfunc.C (getStatus):
6162 remove LFUN_CHILD_INSERT.
6164 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6166 2003-03-05 Angus Leeming <leeming@lyx.org>
6169 * LyXAction.C (init):
6170 * src/factory.C (createInset):
6171 * lyxfunc.C (getStatus):
6172 * text3.C (dispatch):
6173 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6175 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6177 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6179 * ParagraphList.C (insert): handle insert right before end()
6180 (erase): fix cases where it can be first or last paragraph.
6182 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6184 * paragraph_funcs.C (TeXEnvironment): remove all usage of
6185 Paragraph::next and Paragraph::previous
6188 * text.C (breakParagraph): adjust
6190 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6191 BufferParams& as arg.
6192 (breakParagraph): use ParagraphList::insert
6193 (breakParagraphConservative): take a Buffer* instead of a
6194 BufferParams& as arg.
6195 (breakParagraphConservative): use ParagraphList::insert.
6197 * buffer.C (insertStringAsLines): un-const it
6198 (insertStringAsLines): adjust
6200 * ParagraphList.C (insert): new function
6202 * CutAndPaste.C (pasteSelection): adjust
6204 * text.C (backspace): adjust
6206 * tabular.C (SetMultiColumn): adjust
6208 * CutAndPaste.C (cutSelection): adjust
6209 (pasteSelection): adjust
6211 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6212 Buffer const * as arg
6214 * ParagraphList.C (erase): new function
6215 * paragraph_funcs.C (mergeParagraph): use it
6216 (mergeParagraph): make it take a Buffer* instead of a
6217 BufferParams* as arg
6219 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6221 (breakParagraphConservative): ditto
6223 * paragraph.h: remove the breakParagraph friend
6225 * paragraph.C (eraseIntern): new function
6226 (setChange): new function
6228 * paragraph_funcs.C (mergeParagraph): make it take a
6229 ParagraphList::iterator instead of a Paragraph *, adjust
6232 * paragraph.h: move an #endif so that the change tracking stuff
6233 also works in the NO_NEXT case.
6235 2003-03-04 Angus Leeming <leeming@lyx.org>
6238 * LyXAction.C: new LFUN_INSET_MODIFY.
6240 * BufferView_pimpl.C (dispatch): if an inset is found to be open
6241 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6243 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6245 * several files: ws changes only
6247 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6248 (TeXEnvironment): ditto
6251 * buffer.C (makeLaTeXFile): adjust
6252 (latexParagraphs): make it take ParagraphList::iterator as args
6254 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6256 * buffer.C (latexParagraphs): adjust
6258 * paragraph.C (TeXOnePar): move function...
6259 (optArgInset): move function...
6260 (TeXEnvironment): move function...
6261 * paragraph_pimpl.C (TeXDeeper): move function...
6262 * paragraph_funcs.C: ...here
6264 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6266 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6268 * buffer.C (readInset): remove compability code for old Figure and
6271 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6273 * buffer.C: ws changes
6276 * BufferView_pimpl.C: ditto
6279 * bufferlist.h: ditto
6283 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
6285 * converter.[Ch]: split into itself +
6288 * Makefile.am: += graph.[Ch] + format.[Ch]
6295 * lyxrc.C: added #include "format.h"
6297 2003-02-27 Angus Leeming <leeming@lyx.org>
6299 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6302 * factory.C (createInset): add "label" to the factory.
6304 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6305 string and do no more.
6307 2003-02-27 Angus Leeming <leeming@lyx.org>
6310 * LyXAction.C (init):
6311 * factory.C (createInset):
6312 * BufferView_pimpl.C (dispatch):
6313 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6315 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6317 * lyxfunc.C (dispatch):
6318 * text3.C (dispatch): pass name to params2string.
6320 2003-02-26 Angus Leeming <leeming@lyx.org>
6322 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6324 Rearrange the ~includes. Strip out the unnecessary ones.
6326 * factory.C (createInset): reformat.
6327 create new insets for the various LFUN_XYZ_APPLY lfuns.
6329 2003-02-26 John Levon <levon@movementarian.org>
6332 * lyxrow.C: add isParStart,isParEnd helpers
6334 * paragraph.h: make isInserted/DeletedText take refs
6336 * paragraph_funcs.h:
6337 * paragraph_funcs.C: remove #if 0'd code
6342 * text.C: use lyxrow helpers above.
6343 Move draw and paint routines to RowPainter.
6344 Make several methods use refs not pointers.
6345 Make backgroundColor() const.
6346 Add markChangeInDraw(), isInInset().
6347 Merge changeRegionCase into changeCase.
6348 Make workWidth() shouldn't-happen code into an Assert.
6351 * rowpainter.C: new class for painting a row.
6354 * vspace.C: make inPixels take a ref
6356 2003-02-26 Angus Leeming <leeming@lyx.org>
6358 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6361 2003-02-25 John Levon <levon@movementarian.org>
6363 * ispell.C: give the forked command a more accurate name
6365 2003-02-22 John Levon <levon@movementarian.org>
6368 * toc.C: make TocItem store an id not a Paragraph *
6371 2003-02-21 Angus Leeming <leeming@lyx.org>
6373 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6374 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6375 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6376 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6377 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6378 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6380 * BufferView_pimpl.C (dispatch):
6381 * LyXAction.C (init):
6382 * factory.C (createInset):
6383 * lyxfunc.C (getStatus, dispatch):
6384 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6386 2003-02-21 Angus Leeming <leeming@lyx.org>
6388 * BufferView_pimpl.C (MenuInsertLyXFile):
6389 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6390 * lyxfunc.C (menuNew, open, doImport):
6391 no longer pass a LyXView & to fileDlg.
6393 2003-02-21 Angus Leeming <leeming@lyx.org>
6395 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6396 * LyXAction.C: change, BIBKEY to BIBITEM.
6397 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6398 Change InsetBibKey to InsetBibitem.
6399 Change BIBKEY_CODE to BIBITEM_CODE.
6400 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6401 * factory.C: replace insetbib.h with insetbibitem.h.
6402 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6403 * paragraph.C: replace insetbib.h with insetbibitem.h.
6404 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6405 Change bibkey() to bibitem().
6406 * text.C: remove insetbib.h.
6407 * text2.C: replace insetbib.h with insetbibitem.h.
6408 change bibkey() to bibitem().
6409 * text3.C: remove insetbib.h.
6410 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6412 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6414 * lyxrc.C (output): enclose user email in quotes (in case there are
6417 2003-02-18 John Levon <levon@movementarian.org>
6419 * buffer.h: add std::
6421 2003-02-17 John Levon <levon@movementarian.org>
6427 * pspell.C: reworking. Especially in ispell, a large
6428 number of clean ups and bug fixes.
6430 * lyxfunc.C: fix revert to behave sensibly
6432 2003-02-17 André Pönitz <poenitz@gmx.net>
6435 * commandtags.h: new LFUN_INSERT_BIBKEY
6445 * paragraph_func.C: remove special bibkey handling
6447 2003-02-17 John Levon <levon@movementarian.org>
6449 * text.C (Delete): fix case where delete at the end of
6450 the very first paragraph would not merge the pars
6452 2003-02-17 John Levon <levon@movementarian.org>
6454 * lyxrow.C: fix lastPrintablePos()
6456 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6458 * bufferparams.C (writeLaTeX): add a std:here
6460 * buffer.C: and remove a using directive there
6462 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6464 * buffer.C (makeLaTeXFile): move the code that generates the
6467 * bufferparams.C (writeLaTeX): ... in this new method
6469 * LaTeXFeatures.C (getEncodingSet): make const
6470 (getLanguages): make const
6472 * MenuBackend.C (binding): returns the binding associated to this
6474 (add): sets the status of each item by calling getStatus. Adds
6476 (read): add support for OptSubMenu
6477 (expand): remove extra separator at the end of expanded menu
6479 2003-02-15 John Levon <levon@movementarian.org>
6482 * BufferView_pimpl.C:
6484 * bufferlist.C: remove pointless BufferStorage bloat. Remove
6485 inset code that had no actual effect. Remove unneeded status
6488 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6490 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6493 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
6495 * text.C (drawLengthMarker): also draw an arrow marker for
6496 symbolic lengths (medskip...)
6498 2003-02-14 John Levon <levon@movementarian.org>
6501 * tabular.C: better method names
6503 2003-02-14 John Levon <levon@movementarian.org>
6505 * BufferView_pimpl.C:
6510 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6511 it's a more accurate name. Remove some pointless uses.
6513 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6515 * text2.C (LyXText): change order of initilizers to shut off
6518 2003-02-14 John Levon <levon@movementarian.org>
6520 * buffer.C: use ParIterator for getParFromID()
6524 * paragraph_pimpl.h:
6525 * paragraph_pimpl.C: remove unused getParFromID()
6527 2003-02-14 John Levon <levon@movementarian.org>
6529 * buffer.C: remove some very old #if 0'd parse code
6531 2003-02-13 John Levon <levon@movementarian.org>
6535 * text2.C: move hfillExpansion(), numberOfSeparators(),
6536 rowLast(), rowLastPrintable(), numberofHfills(),
6537 numberOfLabelHfills() ...
6540 * lyxrow.C: ... to member functions here.
6545 * text.C: remove LyXText::beginningOfMainBody(), and call
6546 p->beginningOfMainBody() directly. Move the check for
6547 LABEL_MANUAL into the latter.
6554 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6560 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6561 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6563 2003-02-13 John Levon <levon@movementarian.org>
6565 * CutAndPaste.C: remove debug
6567 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6569 * paragraph.C (asString): remove two unused variables
6571 * lyxtextclass.C (readTitleType):
6573 (LyXTextClass): handle new members titletype_ and titlename_
6575 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6577 2003-02-09 John Levon <levon@movementarian.org>
6580 * buffer.C: replace hand-coded list with a map for the dep clean
6582 2003-02-08 John Levon <levon@movementarian.org>
6584 * LaTeX.C: consolidate code into showRunMessage() helper
6586 2003-02-08 John Levon <levon@movementarian.org>
6591 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6592 and pass the size in explicitly
6594 * BufferView_pimpl.h:
6595 * BufferView_pimpl.C:
6597 * BufferView.C: add getCurrentChange()
6599 * BufferView_pimpl.h:
6600 * BufferView_pimpl.C: handle change lfuns
6602 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6603 for changes. Mark pasted paragraphs as new.
6605 * support/lyxtime.h:
6606 * support/lyxtime.C:
6607 * DepTable.C: abstract time_t as lyx::time_type
6610 * LColor.C: add colours for new text, deleted text, changebars
6612 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6613 package use "usenames" option.
6617 * LyXAction.C: add change lfuns
6621 * author.C: author handling
6624 * buffer.C: add a per-buffer author list, with first entry as
6625 current author. Handle new .lyx tokens for change tracking. Output
6626 author list to .lyx file. Output dvipost stuff to .tex preamble.
6627 Bump lyx format to 222.
6630 * bufferlist.C: add setCurrentAuthor() to reset current author details
6634 * bufferparams.C: add param for tracking
6636 * bufferview_funcs.C: output change info in minibuffer
6640 * changes.C: add change-tracking structure
6643 * debug.C: add CHANGES debug flag
6646 * lyxfind.C: add code for finding the next change piece
6649 * lyxrc.C: add user_name and user_email
6652 * lyxrow.C: add a metric for the top of the text line
6655 * text.C: implement accept/rejectChange()
6658 * text.C: paint changebars. Paint new/deleted text in the chosen
6659 colours. Strike through deleted text.
6663 * paragraph_pimpl.h:
6664 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6665 in the current change to the insert functions. Rework erase to
6666 mark text as deleted, adding an eraseIntern() and a range-based
6667 erase(). Implement per-paragraph change lookup and
6670 * paragraph_funcs.C: Fixup paste for change tracking.
6672 * tabular.C: mark added row/columns as new.
6674 * text.C: fix rowLast() to never return -1. Don't allow
6675 spellchecking of deleted text. Track transpose changes. Don't
6676 allow paragraph break or merge where appropriate.
6678 * text2.C: leave cursor at end of selection after a cut.
6680 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6682 * text.C (getLengthMarkerHeight):
6683 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6684 visible on screen too.
6686 2003-02-07 John Levon <levon@movementarian.org>
6688 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6690 2003-02-05 Angus Leeming <leeming@lyx.org>
6692 * lyxserver.C (read_ready): revert my patch of 11 September last year
6693 as it sends PC cpu through the roof. Presumably this means that
6694 the lyxserver will no longer run on an Alpha...
6696 2003-01-30 Angus Leeming <leeming@lyx.org>
6698 * factory.C (createInset): create an InsetCommandParam of type "index"
6699 and use it to 'do the right thing'.
6701 * text2.C (getStringToIndex): ensure that cursor position is always
6702 reset to the reset_cursor position.
6704 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6706 * lyxfunc.C (getStatus): "buffer-export custom" should never be
6709 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
6713 * lyxfunc.C: Output messages with identical spelling, punctuation,
6716 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
6718 * MenuBackend.C (expandFormats): List only viewable export formats
6721 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6724 * lyxfunc.C (getStatus): Make sure that formats other than
6725 "fax" can also be disabled
6727 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6729 * text3.C (dispatch): put the lfuns that insert insets in 3
6730 groups, and call doInsertInset with appropriate arguments.
6731 (doInsertInset): new function, that creates an inset and inserts
6732 it according to some boolean parameters.
6734 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6736 * buffer.C (readFile): remember to pass on 'par' when calling
6737 readFile recursively.
6739 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6741 * MenuBackend.C (expandFormats): add "..." to import formats.
6743 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
6745 * paragraph.C (asString): Remove XForms RTL hacks.
6747 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
6748 * buffer.C: fix typo
6750 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6752 * Makefile.am (LIBS): delete var
6753 (lyx_LDADD): add @LIBS@ here instead.
6755 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
6757 * Clarify the meaning of "wheel mouse jump"
6759 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6761 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6764 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6766 * importer.C (Loaders): do not preallocate 3 elements in the
6767 vector, since one ends up with 6 elements otherwise
6769 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6771 * DepTable.C (write): write the file name as last element of the
6772 .dep file (because it may contain spaces)
6773 (read): read info in the right order
6775 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6777 * paragraph_pimpl.C (simpleTeXBlanks):
6778 (simpleTeXSpecialChars):
6779 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6781 * tabular.C (latex): add some missing case statements. Reindent.
6783 * MenuBackend.C (expandToc): remove unused variable.
6785 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
6794 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6797 2003-01-05 John Levon <levon@movementarian.org>
6800 * BufferView.C: add getEncoding()
6803 * kbsequence.C: do not store last keypress
6806 * lyxfunc.C: store last keypress here instead. Pass encoding
6809 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6811 * lyx_main.C (init): remove annoying error message when following
6812 symbolic links (bug #780)
6814 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6816 * text.C (insertChar):
6817 * lyxrc.C (getDescription): remove extra spaces
6819 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6821 * lyxrc.C (getDescription): remove extra spaces
6823 2002-12-20 John Levon <levon@movementarian.org>
6825 * text3.C: hack fix for page up/down across tall rows
6827 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6829 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6832 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6834 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6835 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6836 thesaurus is not compiled in
6838 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
6840 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
6842 2002-12-16 Angus Leeming <leeming@lyx.org>
6845 * lyx_main.C (init): remove override_x_deadkeys stuff.
6847 2002-12-12 John Levon <levon@movementarian.org>
6849 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6850 insert. Only remove shift modifier under strict
6853 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6855 * MenuBackend.C (expandToc): fix crash.
6857 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6859 * MenuBackend.C (expandToc): gettext on float names.
6861 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6863 * lyxlength.[Ch]: set default unit to UNIT_NONE,
6864 implement bool empty() [bug 490]
6866 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6868 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6870 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6872 * several files: ws changes
6874 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6876 * text2.C (setCounter): clean up a bit, use boost.format.
6877 (updateCounters): initialize par upon declaration.
6879 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6880 if the layout exists. We do not just store the layout any more.
6881 (SwitchLayoutsBetweenClasses): use boost.format
6883 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6885 * converter.C (convert): if from and to files are the same, use a
6886 temporary files as intermediary
6888 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6891 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6893 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
6895 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6897 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6899 * tabular.C (asciiPrintCell): use string(size, char) instead of
6902 * sgml.C (openTag): fix order of arguments to string constructor
6905 * lyxfunc.C (dispatch): use boost.format
6907 * lots of files: change "c" -> 'c'
6909 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
6911 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6913 2002-11-25 Angus Leeming <leeming@lyx.org>
6915 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6917 * lyx_main.C (init): compile fix.
6919 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6921 * lyx_cb.C (start): boost.formatify
6922 do not include <iostream>
6924 * lengthcommon.C: ws only
6926 * boost-inst.C,BoostFormat.h: add more explict instantations
6928 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6930 * lots of files: handle USE_BOOST_FORMAT
6932 2002-11-21 John Levon <levon@movementarian.org>
6934 * pspell.C: fix compile
6936 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6938 * lyxfunc.C (dispatch): use boost::format
6942 * lyxfont.C (stateText): use boost::format
6944 * lyx_main.C (LyX): use boost::format
6946 (queryUserLyXDir): ditto
6949 (typedef boost::function): use the recommened syntax.
6951 * importer.C (Import): use boost::format
6953 * debug.C (showLevel): use boost::format
6955 * converter.C (view): use boost::format
6960 * bufferview_funcs.C (currentState): use boost::format
6962 * bufferlist.C (emergencyWrite): use boost::format
6964 * buffer.C (readLyXformat2): use boost::format
6965 (parseSingleLyXformat2Token): ditto
6967 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6969 * LaTeX.C (run): use boost::format
6971 * Chktex.C (scanLogFile): use boost::format
6973 * BufferView_pimpl.C (savePosition): use boost::format
6974 (restorePosition): ditto
6975 (MenuInsertLyXFile): ditto
6977 * BoostFormat.h: help file for explicit instation.
6979 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
6981 * tabular.C (latex): Support for block alignment in fixed width
6984 2002-11-17 John Levon <levon@movementarian.org>
6986 * BufferView_pimpl.C:
6988 * lyxfunc.C: split filedialog into open/save
6990 2002-11-08 Juergen Vigna <jug@sad.it>
6992 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6993 by my last patch (hopefully).
6995 2002-11-08 John Levon <levon@movementarian.org>
7004 * toc.C: ParConstIterator, and use it (from Lars)
7006 2002-11-07 Ben Stanley <bds02@uow.edu.au>
7008 * lyxtextclass.[Ch]: revise and add doxygen comments
7010 2002-11-07 John Levon <levon@movementarian.org>
7012 * text.C: fix progress value for spellchecker
7014 * toc.C: fix navigate menu for insetwrap inside minipage
7016 * paragraph_funcs.C: added FIXME for suspect code
7018 2002-11-07 John Levon <levon@movementarian.org>
7020 * BufferView_pimpl.C: fix redrawing of insets
7023 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7025 * text2.C (updateCounters): fix bug 668
7027 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
7029 * text3.C (dispatch): Do not make the buffer dirty when moving the
7032 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7034 * vc-backend.C: STRCONV
7037 * text2.C (setCounter): STRCONV
7039 * paragraph.C (asString): STRCONV
7041 * lyxlength.C (asString): STRCONV
7042 (asLatexString): ditto
7044 * lyxgluelength.C (asString): STRCONV
7045 (asLatexString): ditto
7047 * lyxfunc.C (dispatch): STRCONV
7050 * lyxfont.C (stateText): STRCONV
7052 * importer.C (Import): STRCONV
7054 * counters.C (labelItem): STRCONV
7055 (numberLabel): ditto
7056 (numberLabel): remove unused ostringstream o
7061 * bufferview_funcs.C (currentState): STRCONV
7063 * buffer.C (readFile): STRCONV
7064 (asciiParagraph): ditto
7065 (makeLaTeXFile): ditto
7067 * Spacing.C (writeEnvirBegin): STRCONV
7069 * LaTeXFeatures.C (getLanguages): STRCONV
7070 (getPackages): ditto
7072 (getBabelOptions): ditto
7073 (getTClassPreamble): ditto
7074 (getLyXSGMLEntities): ditto
7075 (getIncludedFiles): ditto
7079 (scanAuxFile): ditto
7082 * LString.h: add the STRCONV macros
7084 * BufferView_pimpl.C (savePosition): STRCONV
7085 (restorePosition): ditto
7086 (MenuInsertLyXFile): ditto
7088 * vc-backend.C (scanMaster): change from submatch[...] to
7091 * funcrequest.C: include config.h
7093 * factory.C: include config.h
7095 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7097 * box.C: include config.h
7099 * LaTeX.C (scanAuxFile): change from submatch[...] to
7103 2002-10-25 Angus Leeming <leeming@lyx.org>
7105 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7107 * ispell.[Ch] (setError): new method.
7108 * ispell.C (c-tor): move out child process into new class LaunchIspell.
7109 Use setError() insetead of goto END.
7111 * lyx_cb.C (AutoSave): move out child process into new class
7114 2002-10-30 John Levon <levon@movementarian.org>
7116 * text3.C: make start appendix undoable
7118 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
7120 * lyxlength.C (inPixels): Fix returned value.
7122 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7125 2002-10-24 Angus Leeming <leeming@lyx.org>
7127 * lyxgluelength.h: no need to forward declare BufferParams
7128 or BufferView, so don't.
7130 2002-10-21 John Levon <levon@movementarian.org>
7132 * BufferView.C: menuUndo ->undo, redo
7134 * BufferView.h: document, remove dead, make some methods private
7136 * paragraph_funcs.h:
7137 * paragraph_funcs.C:
7138 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7143 * sgml.C: move sgml open/close tag into sgml.C
7145 * bufferview_funcs.h: unused prototype
7148 * lyxfunc.C: remove unused
7151 * text.C: remove unused
7153 2002-10-21 John Levon <levon@movementarian.org>
7157 * BufferView_pimpl.h:
7158 * BufferView_pimpl.C: fix mouse wheel handling based on
7159 patch from Darren Freeman
7161 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
7163 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7165 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
7167 * lyxlength.C (inPixels): Fix hanfling of negative length.
7168 Fix LyXLength::MU case.
7170 2002-10-16 John Levon <levon@movementarian.org>
7172 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7174 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7176 * converter.C (view): add support for $$i (file name) and $$p
7177 (file path) for the viewer command. If $$i is not specified, then
7178 it is appended to the command (for compatibility with old syntax)
7180 2002-10-14 Juergen Vigna <jug@sad.it>
7182 * undo_funcs.C (textHandleUndo): alter the order in which the
7183 new undopar is added to the LyXText, as we have to set first
7184 the right prev/next and then add it as otherwise the rebuild of
7185 LyXText is not correct. Also reset the cursor to the right paragraph,
7186 with this IMO we could remove the hack in "redoParagraphs()".
7188 2002-10-09 Angus Leeming <leeming@lyx.org>
7190 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7191 to turn off an optimisation if a new inset is to be inserted.
7193 2002-10-11 André Pönitz <poenitz@gmx.net>
7195 * lyxtext.h: make some functions public to allow access
7196 from inset/lyxtext for handling LFUN_PRIOR/NEXT
7198 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7200 * text3.C (dispatch): when changing layout, avoid an infinite loop
7203 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7205 * lyxrc.C (read): treat a viewer or converter command of "none" as
7208 * MenuBackend.C (expandFormats): for an update, also allow the
7209 formats that are not viewable
7211 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7212 script if it is newer than the lyxrc.defaults in user directory
7214 2002-10-07 André Pönitz <poenitz@gmx.net>
7216 * text.C: Vitaly Lipatov's small i18n fix
7218 2002-09-25 Angus Leeming <leeming@lyx.org>
7220 * ispell.h: doxygen fix.
7222 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
7224 * buffer.h (readFile): Add a new argument to the method, to allow
7225 reading of old-format templates.
7227 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
7229 * toc.C (getTocList): Get TOC from InsetWrap.
7231 2002-09-16 John Levon <levon@movementarian.org>
7233 * lyxfunc.C: check tabular for cut/copy too
7235 2002-09-12 John Levon <levon@movementarian.org>
7240 * factory.C: add header
7242 * paragraph_funcs.h:
7243 * paragraph_funcs.C: cleanup
7245 2002-09-11 John Levon <levon@movementarian.org>
7247 * PrinterParams.h: odd/even default to true
7249 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
7251 * PrinterParams.h: update printer parameters for new xforms dialog
7253 2002-09-11 Angus Leeming <leeming@lyx.org>
7255 * lyxserver.C (read_ready): re-write to make it more transparent
7256 and to make it work in coherent fashion under Tru64 Unix.
7258 2002-09-11 André Pönitz <poenitz@gmx.net>
7262 * text3.C: implement LFUN_WORDSEL
7264 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7266 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7267 make floatlist_ a boost::shared_ptr<FloatList>
7269 * lyxtextclass.C: include FloatList.h
7270 (LyXTextClass): initialize floatlist_
7271 (TextClassTags): add TC_NOFLOAT
7272 (Read): match "nofloat" to TC_NOFLOAT and use it.
7273 (readFloat): modify call to floatlist_
7277 * FloatList.[Ch] (FloatList): remove commented out float
7279 (erase): new function
7281 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7283 * MenuBackend.C (expandToc): fix crash when there is no document
7286 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
7288 * many files: Add insetwrap.
7290 2002-09-09 John Levon <levon@movementarian.org>
7292 * text2.C: remove confusing and awkward depth wraparound
7294 2002-09-09 John Levon <levon@movementarian.org>
7296 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7299 * buffer.C: remove getIncludeonlyList()
7302 * lyxfunc.C: remove headers
7304 2002-09-09 Juergen Vigna <jug@sad.it>
7306 * text.C (getColumnNearX): fix form Michael this is most
7307 probably a cut&paste bug.
7309 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7311 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7313 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7314 references, ws changes.
7316 * text2.C (init): update counters after init
7317 (insertParagraph): no need to set counter on idividual paragraphs.
7318 (setCounter): access the counters object in the textclass object
7319 on in the buffer object.
7320 (updateCounters): ditto
7322 * lyxtextclass.C: include counters.h, add variable ctrs_ as
7323 shared_ptr<Counters> to avoid loading counters.h in all
7325 (LyXTextClass): initialize ctrs_
7326 (TextClassTags): add TC_COUNTER, and ...
7327 (Read): use it here.
7328 (CounterTags): new tags
7329 (readCounter): new function
7330 (counters): new funtion
7331 (defaultLayoutName): return a const reference
7333 * counters.C (Counters): remove contructor
7334 (newCounter): remove a couple of unneeded statements.
7335 (newCounter): simplify a bit.
7336 (numberLabel): some small formatting changes.
7338 * buffer.[Ch]: remove all traces of counters, move the Counters
7339 object to the LyXTextClass.
7341 2002-09-06 Alain Castera <castera@in2p3.fr>
7343 * tabular.C: uses \tabularnewline; uses >{...} construct from array
7344 package to set the horizontal alignment on fixed width columns.
7347 * lyx_sty.h: added tabularnewline macro def.
7349 * LaTeXFeatures.C: added NeedTabularnewline macro feature
7351 2002-09-06 John Levon <levon@movementarian.org>
7353 * LyXAction.C: tooltips for sub/superscript
7355 * MenuBackend.C: a bit more verbose
7357 * lyxfunc.C: tiny clean
7359 * undo_funcs.C: document undo_frozen
7361 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7363 * counters.C (Counters): add missing algorithm counter.
7365 * text2.C (setCounter): lookup the counter with layouts latexname
7366 instead of by section number.
7367 (setCounter): use a hackish way to lookup the correct enum
7369 a float name->type change
7370 reset enum couners with counter name directly instead of depth value.
7372 * counters.C (Counters): remove the push_backs, change to use the
7373 float type not the float name.
7374 (labelItem): remove unused string, float name->type change
7376 * counters.h: don't include vector, loose the enums and sects vectors
7378 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7380 * lyxtextclass.C (TextClassTags): add TC_FLOAT
7381 (Read): add float->TC_FLOAT to textclassTags
7382 (Read): and handle it in the switch
7383 (readFloat): new function
7385 * FloatList.C (FloatList): comment out the hardcoded float
7388 * lyxlayout.h: ws change.
7390 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
7392 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7394 2002-09-03 Angus Leeming <leeming@lyx.org>
7396 * BufferView_pimpl.h: qualified name is not allowed in member
7397 declaration: WorkArea & Pimpl::workarea() const;
7399 * factory.C: added using std::endl directive.
7401 * text3.C: added using std::find and std::vector directives.
7403 2002-08-29 André Pönitz <poenitz@gmx.net>
7406 * text2.C: remove unused member number_of_rows
7409 * BufferView2.C: remove file, move contents to...
7410 * BufferView.C: ... here
7412 * BufferView_pimpl.C:
7413 * factory.C: move more inset creation to factory
7415 * vspace.C: avoid direct usage of LyXText, ws changes
7418 don't provide direct access to WorkArea, use two simple
7419 acessors haveSelction() and workHeight() instead
7422 2002-08-29 John Levon <levon@movementarian.org>
7424 * BufferView_pimpl.C (dispatch): do not continue when
7427 2002-08-28 André Pönitz <poenitz@gmx.net>
7429 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7432 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7434 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
7436 * buffer.C: increment LYX_FORMAT to 221
7438 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7439 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7441 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7443 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7445 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7447 * factory.C (createInset): use LyXTextClass::floats
7449 * MenuBackend.C (expandFloatListInsert):
7450 (expandFloatInsert):
7453 * text2.C (setCounter):
7455 * LaTeXFeatures.C (useFloat):
7456 (getFloatDefinitions):
7458 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7460 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7461 floatlist_, with accessor floats().
7463 * FloatList.h: remove global FloatList
7465 2002-08-26 André Pönitz <poenitz@gmx.net>
7467 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7471 * BufferView_pimpl.C:
7472 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7474 2002-08-25 John Levon <levon@movementarian.org>
7476 * LyXAction.C: fix margin note description
7478 2002-08-24 John Levon <levon@movementarian.org>
7482 * bufferview_funcs.C:
7484 * undo_funcs.C: cleanups
7486 * lyxfunc.C: disable CUT/COPY when no selection
7488 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
7490 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7491 in "enum UNIT"; e.g. PTW for Percent of TextWidth
7493 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7494 Add backward compatibility to "mono", "gray" and "no".
7496 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
7498 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7499 (and file_format >= 200).
7501 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7503 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7505 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7507 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7509 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
7511 * BufferView_pimpl.C:
7518 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7519 inset and code to make it work with the paragraph code. The inset
7520 can be anywhere in the paragraph, but will only do the expected
7521 thing in LaTeX if the layout file contains the parameter line
7523 (or more generally, a nonzero value) for that layout.
7525 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7527 * paragraph.h: remove the declaration of undefined counters class
7530 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
7532 * text2.C (setCounter): fixed enumeration mis-count as reported by
7533 Dr. Richard Hawkins.
7535 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7537 * paragraph_funcs.h: remove some unneeded includes
7539 * text.C (backspace): pasteParagraph now in global scipe
7541 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7542 (pasteSelection): ditto
7544 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7545 * paragraph_funcs.C (pasteParagraph): ... here
7547 2002-08-20 André Pönitz <poenitz@gmx.net>
7549 * commandtags.h: new LFUNs for swapping/copying table row/colums
7552 * lyxfunc.C: support for new lfuns
7554 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7557 * buffer.[Ch]: remove NO_COMPABILITY stuff
7559 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
7561 * boost.C (throw_exception): new file, with helper function for
7562 boost compiled without exceptions.
7567 * ParameterStruct.h:
7568 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7570 * bufferlist.C (emergencyWriteAll): use boost bind
7572 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7574 * text.C: include paragraph_funcs.h
7575 (breakParagraph): breakParagraph is now in global scope
7577 * paragraph_funcs.[Ch]: new files
7579 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7582 * buffer.C: include paragraph_funcs.h
7583 (insertStringAsLines): breakParagraph is now in global scope
7585 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7588 * CutAndPaste.C: include paragraph_funcs.h
7589 (cutSelection): breakParagraphConservative is now in global scope
7590 (pasteSelection): ditto
7592 * buffer.h: declare oprator== and operator!= for
7593 Buffer::inset_iterator
7595 * bufferlist.C (emergencyWrite): don't use fmt(...)
7597 * text3.C: add using std::endl
7599 * BufferView.C (moveCursorUpdate): remove default arg
7601 2002-08-20 André Pönitz <poenitz@gmx.net>
7603 * buffer.[Ch]: move inline functions to .C
7606 * BufferView_pimpl.C:
7608 * buffer.[Ch]: use improved inset_iterator
7611 * paragraph.[Ch]: write one paragraph at a time
7613 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7615 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7616 style if style is not specified.
7618 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7620 * text2.C (setCounter): when searching for right label for a
7621 caption, make sure to recurse to parent insets (so that a caption
7622 in a minipage in a figure float works) (bug #568)
7624 2002-08-20 André Pönitz <poenitz@gmx.net>
7626 * text3.C: new file for LyXText::dispatch() and helpers
7628 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7630 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7632 2002-08-19 André Pönitz <poenitz@gmx.net>
7635 * text.C: new LyXText::dispatch()
7637 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7639 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7641 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7643 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7646 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7648 * Makefile.am: use $(variables) instead of @substitutions@
7650 2002-08-15 André Pönitz <poenitz@gmx.net>
7653 * BufferView_pimpl.C: streamlining mathed <-> outer world
7657 * LyXAction.C: remove unused LFUN_MATH
7659 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7661 * paragraph.[Ch]: add some NO_NEXT ifdefs.
7663 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7665 * paragraph.C (Paragraph): reformat a bit
7666 (cutIntoMinibuffer): use builtin InsetList function instad of
7670 * buffer.C: include boost/bind.hpp, add using std::for_each
7671 (writeFileAscii): use ParagraphList iterators
7672 (validate): use for_each for validate traversal of paragraphs
7673 (getBibkeyList): use ParagraphList iterators
7674 (resizeInsets): use for_each to resizeInsetsLyXText for all
7676 (getParFromID): use ParagraphList iterators
7678 * BufferView2.C (lockInset): use paragraph list and iterators
7680 2002-08-14 John Levon <levon@movementarian.org>
7682 * lyxserver.C: remove spurious xforms include
7684 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7686 * lyxfunc.C (getStatus): disable math-extern outside of math mode
7688 2002-08-13 André Pönitz <poenitz@gmx.net>
7691 * lyxfunc.C: further cleaning
7693 2002-08-13 André Pönitz <poenitz@gmx.net>
7695 * funcrequest.h: new constructor
7697 * funcrequest.C: move stuff here from .h
7700 * BufferView_pimpl.C:
7703 * lyxfunc.C: subsequent changes
7705 * lyxfunc.h: new view() member function
7707 * lyxfunc.C: subsequent changes
7709 2002-08-13 Angus Leeming <leeming@lyx.org>
7712 * BufferView_pimpl.C:
7720 changes due to the changed LyXView interface that now returns references
7721 to member variables not pointers.
7723 2002-08-13 Angus Leeming <leeming@lyx.org>
7725 * WordLangTuple (word, lang_code): return references to strings,
7730 * lyxtext.h: forward-declare WordLangTuple.
7735 * text.C: #include "WordLangTuple.h".
7738 * text.C: (selectNextWordToSpellcheck): constify return type.
7740 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
7746 * paragraph_pimpl.h:
7749 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7751 Made updateCounter always count from start of buffer, and removed
7752 second argument (par).
7753 Reverted floats number display to '#'. Perhaps I'll try again when the
7754 code base is sanitized a bit.
7756 2002-08-12 Angus Leeming <leeming@lyx.org>
7758 * buffer.[Ch] (getLabelList): constify.
7760 2002-08-07 André Pönitz <poenitz@gmx.net>
7762 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7764 * funcrequest.h: extension to keep mouse (x,y) position
7766 2002-08-12 Juergen Vigna <jug@sad.it>
7768 * BufferView2.C (insertErrors): forbid undo when inserting error
7771 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7773 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7775 * ParagraphList.[Ch]: new files
7777 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7779 * BufferView2.C (lockInset): ParagraphList changes
7782 * bufferlist.C: ditto
7786 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7788 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7789 unused class variable counter_,
7791 * paragraph.[Ch] (getFirstCounter): delete unused function
7793 * counters.C: include LAssert.h
7794 (reset): add a new function with no arg, change other version to
7795 not have def. arg and to not allow empty arg.
7797 * text2.C (setCounter): remove empty arg from call to Counters::reset
7799 2002-08-11 John Levon <levon@movementarian.org>
7801 * Makefile.am: add WordLangTuple.h
7803 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7805 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7806 lyxfunc.C lyxlex_pimpl.C: ws changes only.
7808 * insets/insettext.C: InsetList changes
7810 * graphics/GraphicsSupport.C (operator()): InsetList changes
7812 * toc.C (getTocList): InsetList changes
7814 * paragraph_pimpl.[Ch]: InsetList changes
7816 * paragraph.[Ch]: InsetList changes
7818 * buffer.C (inset_iterator): InsetList changes
7819 (setParagraph): ditto
7820 * buffer.h (inset_iterator): ditto
7821 * iterators.C (operator++): ditto
7822 * iterators.h: ditto
7824 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7826 * InsetList.[Ch]: new files, most InsetList handling moved out of
7829 * BufferView2.C (removeAutoInsets): InsetList changes
7831 (ChangeInsets): ditto
7833 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7835 * paragraph_pimpl.h (empty): new function
7837 * paragraph.[Ch] (empty): new function
7839 * other files: use the new Paragraph::empty function
7841 2002-08-09 John Levon <levon@movementarian.org>
7843 * lyxtext.h: remove unused refresh_height
7845 2002-08-09 John Levon <levon@movementarian.org>
7852 * paragraph.C: move sgml char escaping out of paragraph
7855 * paragraph.C: remove id setter
7859 * paragraph_pimpl.C: remove dead tex_code_break_column
7861 * bufferview_funcs.C: small cleanup
7863 * lyxfunc.C: remove dead proto
7865 * lyxtext.h: make some stuff private. Remove some dead stuff.
7867 * lyxgluelength.C: make as[LyX]String() readable
7869 2002-08-08 John Levon <levon@movementarian.org>
7874 * ToolbarDefaults.C:
7877 * toc.C: lyxaction cleanup
7879 2002-08-08 John Levon <levon@movementarian.org>
7881 * BufferView2.C: small cleanup
7884 * lyxfind.C: move unnecessary header into the .C
7886 2002-08-08 John Levon <levon@movementarian.org>
7888 * funcrequest.h: just tedious nonsense
7891 * lyx_main.C: cleanups
7894 * vspace.C: remove dead header lyx_main.h
7896 2002-08-07 Angus Leeming <leeming@lyx.org>
7899 * paragraph_pimpl.h:
7900 Forward declare class Counters in paragraph.h by moving the ctrs member
7901 variable into Paragraph::Pimpl.
7902 (counters): new method, returning a reference to pimpl_->ctrs.
7904 * text2.C: ensuing changes.
7906 2002-08-07 John Levon <levon@movementarian.org>
7908 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7910 * BufferView_pimpl.C: announce X selection on double/triple
7913 * lyx_main.C: use correct bool in batch dispatch
7915 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7917 2002-08-07 André Pönitz <poenitz@gmx.net>
7919 * funcrequest.h: new class to wrap a kb_action and its argument
7922 * BufferView_pimpl[Ch]:
7926 * lyxrc.C: subsequent changes
7929 2002-08-07 John Levon <levon@movementarian.org>
7931 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7932 document options change.
7934 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7939 * makefile.am: move counters functionality over from
7940 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7942 2002-08-06 John Levon <levon@movementarian.org>
7944 * WordLangTuple.h: new file for word + language code tuple
7955 * BufferView2.C: use WordLangTuple
7958 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7960 2002-08-06 John Levon <levon@movementarian.org>
7962 * lyx_main.C: fix cmdline batch handling
7964 2002-08-06 André Pönitz <poenitz@gmx.net>
7966 * lyxrc.C: set default for show_banner to true
7968 2002-08-06 John Levon <levon@movementarian.org>
7970 * pspell.C: fix a crash, and allow new aspell to work
7972 2002-08-06 John Levon <levon@movementarian.org>
7975 * kbmap.C: small cleanup
7978 * vspace.C: add const
7980 2002-08-05 John Levon <levon@movementarian.org>
7982 * LyXAction.C: back to tabular-insert
7984 2002-08-04 John Levon <levon@movementarian.org>
7987 * BufferView.C: cosmetic change
7989 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7999 * BufferView2.C: purge all "Lyx" not "LyX" strings
8002 * lyxcursor.C: attempt to add some documentation
8007 * ToolbarDefaults.C:
8008 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8009 merge with LFUN_TABULAR_INSERT
8016 * pspell.C: split up i/pspell implementations into separate
8017 files, many cleanups
8019 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8021 * text2.C: some cleanup
8023 * lyxfunc.C: don't check for isp_command == "none" any more, it
8024 didn't make any sense
8026 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8031 * makefile.am: move counters functionality over
8032 from text2.C/paragraph.[Ch] to counters.[Ch], and
8034 2002-08-02 John Levon <levon@movementarian.org>
8036 * buffer.C: s/lyxconvert/lyx2lyx/
8038 2002-08-02 Angus Leeming <leeming@lyx.org>
8040 * lyxlex.C: revert John's change as it breaks reading of the user
8043 2002-08-02 Angus Leeming <leeming@lyx.org>
8045 * importer.C (Import):
8046 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8047 changes due to LyXView::view() now returning a boost::shared_ptr.
8049 2002-08-02 John Levon <levon@movementarian.org>
8051 * lyxlex.C: small cleanup
8053 2002-08-02 John Levon <levon@movementarian.org>
8055 * text2.C (status): small cleanup, no logic change
8057 2002-08-01 John Levon <levon@movementarian.org>
8060 * buffer.C (writeFile): don't output alerts, caller
8064 * lyx_cb.C: from above
8066 * lyxfunc.C: allow to open non-existent files
8068 2002-07-31 John Levon <levon@movementarian.org>
8070 * lyxserver.C: don't let incidental errors get
8073 2002-07-30 John Levon <levon@movementarian.org>
8075 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8077 2002-07-30 John Levon <levon@movementarian.org>
8080 * lyxserver.C: remove I/O callback too
8082 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8084 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8087 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8089 * many files: strip,frontStrip -> trim,ltrim,rtrim
8091 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8093 * PrinterParams.h: remove extern containsOnly, and include
8094 support/lstrings.h instead.
8096 * LaTeX.C (scanAuxFile): modify because of strip changes
8098 * buffer.C (makeLaTeXFile): ditto
8099 * bufferparams.C (writeFile): ditt
8100 * lyxfont.C (stateText): ditto
8101 * lyxserver.C (read_ready): ditto
8102 * vc-backend.C (scanMaster): ditto
8104 * BufferView_pimpl.h: ws changes
8106 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8108 2002-07-26 André Pönitz <poenitz@gmx.net>
8110 * kb_sequence.C: remove unnedred usings
8112 2002-07-26 Juergen Vigna <jug@sad.it>
8114 * lyxfind.C (LyXReplace): we have to check better if the returned
8115 text is not of theLockingInset()->getLockingInset().
8117 2002-07-25 Juergen Vigna <jug@sad.it>
8119 * lyxfind.C (LyXReplace): don't replace if we don't get the
8122 * undo_funcs.C (createUndo): remove debugging code.
8124 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
8126 * buffer.C (parseSingleLyXformat2Token): Use default placement
8127 when reading old floats.
8129 * FloatList.C (FloatList): Change the default placement of figure
8130 and tables to "tbp".
8132 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
8134 * MenuBackend.C: using std::max
8136 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8138 * MenuBackend.C (expandToc):
8139 (expandToc2): code moved from xforms menu frontend. It is now
8140 generic and TOCs are transparent to menu frontends.
8142 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8144 * toc.C (getTocList): protect against buf=0
8146 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8147 Menu as first parameter. Now, this calls itself recursively to
8148 expand a whole tree (this will be useful for TOC handling)
8149 (expandFloatInsert): remove 'wide' version of floats
8151 * MenuBackend.h (submenuname): returns the name of the submenu.
8152 (submenu): returns the submenu itself, provided it has been
8153 created by MenuBackend::expand
8155 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8157 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8158 insets which have noFontChange == true. (bug #172)
8160 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8162 * BufferView_pimpl.C: add connection objects and use them...
8165 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8167 * MenuBackend.C (expandLastfiles):
8170 (expandFloatListInsert):
8171 (expandFloatInsert):
8172 (expand): split expand in parts
8174 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8176 * lyx_gui.C: use lyx_gui::exit()
8178 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8180 * LyXAction.C: show the failing pseudo action
8182 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
8184 * buffer.C (readFile): Run the lyxconvert script in order to read
8187 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8191 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8193 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8197 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8199 2002-07-22 Herbert Voss <voss@lyx.org>
8202 * lyxlength.[Ch]: add support for the vertical lengths
8204 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
8206 * toc.[Ch]: std:: fixes
8208 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8210 * lyxrc.C: do not include lyx_main.h
8212 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8218 * BufferView2.C: include "lyxlex.h"
8221 * bufferparams.h: do not #include "lyxlex.h"
8223 * lyxtextclasslist.C (Add): remove method
8224 (classlist): renamed to classlist_
8226 * paragraph_pimpl.C:
8230 * bufferview_funcs.C:
8235 * toc.C (getTocList): use BufferParams::getLyXTextClass
8237 * toc.C (getTocList): use InsetFloat::addToToc
8239 * toc.[Ch]: new files, containing helper functions to handle table
8242 * lyxfunc.C (dispatch): no need to remove spaces around command
8244 (getStatus): handle LFUN_SEQUENCE by returning the status of the
8245 first command of the sequence; it is not very clever, but I do not
8246 have a better idea, actually
8248 * LyXAction.C (LookupFunc): make sure to remove space at the
8249 beginning and end of the command
8251 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8253 * MenuBackend.C (getMenubar): new method: return the menubar of
8255 (read): treat differently reading of menu and menubar (in
8256 particular, the menubar has no name now)
8257 (Menu::menubar): remove
8259 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8262 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8264 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8265 a bibitem inset in a RTL paragraph.
8267 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
8269 * paragraph_pimpl.C: constify
8271 * BufferView_pimpl.C:
8273 * lyxfunc.C: fix dispatch in a nicer way
8275 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8277 * lyxfunc.C (dispatch):
8278 * BufferView_pimpl.C:
8279 * BufferView_pimpl.h:
8281 * BufferView.h: rename Dispatch() to dispatch()
8283 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8285 * lyxlayout.C (Read): honor DependsOn tag
8287 * lyxlayout.[Ch] (depends_on): new method
8289 * version.C.in: update lyx_docversion
8291 * LaTeXFeatures.C (getMacros): only define \LyX when needed
8293 * paragraph.C (validate): remove from here...
8294 * paragraph_pimpl.C (validate): ... and move here
8295 (isTextAt): make it const
8297 * buffer.C (getLists): ws cleanup
8299 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8301 * language.C (read): Use iso8859-1 encoding in latex_lang
8302 (this prevents LyX from crashing when using iso10646-1 encoding).
8304 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8306 * text2.C (toggleInset): if cursor is inside an inset, close the
8307 inset and leave cursor _after_ it
8309 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8311 * lyxfunc.C: move minibuffer completion handling out of here
8313 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8315 * BufferView_pimpl.C:
8316 * LaTeX.C: fix dispatch calls
8318 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
8320 * text.C (drawChars): Fix Arabic text rendering.
8322 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
8326 * lyxfunc.C: remove message-push/pop
8330 * lyxfunc.C: rationalise some code by removing verboseDispatch
8331 in favour of a bool argument to dispatch()
8333 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8335 * lyx_main.C (init): make sure to read symlinks as absolute paths
8337 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8340 * lyxfunc.C: no need for commandshortcut to be a member
8342 2002-07-15 André Pönitz <poenitz@gmx.net>
8344 * converter.C: add support for $$s (scripts from lib/scripts dir)
8345 * lyx_main.C: white space
8347 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8351 * lyxrc.C: remove second exit confirmation
8353 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8358 * BufferView_pimpl.h:
8359 * BufferView_pimpl.C:
8360 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8362 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8364 * MenuBackend.C (expand): add numeric shortcuts to document menu
8366 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8368 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8370 * lyxfont.C (setLyXFamily):
8377 * buffer.C (asciiParagraph): use ascii_lowercase
8379 2002-07-15 Mike Fabian <mfabian@suse.de>
8381 * lyxlex_pimpl.C (search_kw):
8382 * lyxlex.C (getLongString):
8383 * converter.h (operator<):
8384 * converter.C (operator<):
8385 * buffer.C (parseSingleLyXformat2Token):
8387 * ToolbarDefaults.C (read):
8388 * MenuBackend.C (checkShortcuts):
8390 * LColor.C (getFromGUIName):
8391 (getFromLyXName): use the compare_ascii_no_case instead of
8392 compare_no_case, because in turkish, 'i' is not the lowercase
8393 version of 'I', and thus turkish locale breaks parsing of tags.
8395 2002-07-16 Angus Leeming <leeming@lyx.org>
8397 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8398 now takes a Buffer const & argument.
8400 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
8402 * BufferView.C (resize): check there's a buffer to resize
8404 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
8406 * lyxfunc.C: remove dead code
8409 * lyxserver.C: use lyx_guii::set_read_callback
8411 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
8413 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8414 an inset in a RTL paragraph.
8416 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8418 * lyxfunc.C: repaint after a font size update
8420 2002-07-15 André Pönitz <poenitz@gmx.net>
8422 * lyxlength.C: inBP should be able to return negative values
8424 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8426 * lyxfunc.C: use lyx_gui::update_fonts()
8428 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8430 * lyxfunc.C: use lyx_gui::update_color()
8432 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8438 * lyxrc.C: remove file->new asks for name option, and let
8439 buffer-new take an argument
8441 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8443 * BufferView_pimpl.C: remove unneeded extra repaint()
8445 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
8447 * LyXAction.C: allow command-sequence with NoBuffer
8449 * lyxfunc.C: don't insist on trailing ';' for command-sequence
8451 2002-07-10 Angus Leeming <leeming@lyx.org>
8453 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8455 2002-07-09 Angus Leeming <leeming@lyx.org>
8457 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8459 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8461 * lengthcommon.h: whitespace
8463 * lyxfunc.C: update scrollbar after goto paragraph
8465 * lyxtext.h: factor out page break drawing, and fix it so
8466 page break/added space paints as selected nicely
8468 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8470 * BufferView_pimpl.C: add FIXMEs, clean up a little
8472 2002-07-09 André Pönitz <poenitz@gmx.net>
8474 * lyxfont.[Ch]: support for wasy symbols
8476 2002-07-08 André Pönitz <poenitz@gmx.net>
8478 * BufferView_pimpl.C: apply John's patch for #93.
8480 2002-07-05 Angus Leeming <leeming@lyx.org>
8482 * BufferView_pimpl.C (buffer): generate previews if desired.
8484 * LColor.h: add "preview" to the color enum.
8486 * LColor.C (LColor): add a corresponding entry to the items array.
8488 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8491 2002-07-05 Angus Leeming <leeming@lyx.org>
8493 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8494 The body of the code is now in the method that is passed an ostream &
8495 rather than a file name.
8496 Pass an additional only_preamble parameter, useful for the forthcoming
8499 2002-07-03 André Pönitz <poenitz@gmx.net>
8501 * lyxfunc.C: simplify getStatus() a bit for math stuff
8503 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8505 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8507 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8509 * text.C (changeRegionCase): do not change case of all the
8510 document when region ends at paragraph end (bug #461)
8512 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8514 * paragraph.C (startTeXParParams):
8515 (endTeXParParams): add \protect when necessary
8517 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8519 * BufferView_pimpl.C (workAreaExpose): remove warning
8521 2002-06-27 Angus Leeming <leeming@lyx.org>
8523 * Makefile.am: add lyxlayout_ptr_fwd.h.
8525 2002-06-26 André Pönitz <poenitz@gmx.net>
8527 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8529 2002-06-25 Angus Leeming <leeming@lyx.org>
8531 * lyxfunc.C (dispatch): Comment out the call to
8532 grfx::GCache::changeDisplay. The method no longer exists now that the
8533 pixmap generation part of the graphics loader has been moved into
8536 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8538 * text2.C: layout as layout
8540 * text.C: layout as layout
8542 * tabular.C (OldFormatRead): layout as layout
8544 * paragraph_pimpl.C (TeXDeeper): layout as layout
8545 (realizeFont): layout as layout
8547 * paragraph.C (writeFile): layout as layout
8548 (validate): layout as layout
8549 (getFont): layout as layout
8550 (getLabelFont): layout as layout
8551 (getLayoutFont): layout as layout
8552 (breakParagraph): layout as layout
8553 (stripLeadingSpaces): layout as layout
8554 (getEndLabel): layout as layout
8555 (getMaxDepthAfter): layout as layout
8556 (applyLayout): layout as layout
8557 (TeXOnePar): layout as layout
8558 (simpleTeXOnePar): layout as layout
8559 (TeXEnvironment): layout as layout
8560 (layout): layout as layout
8561 (layout): layout as layout
8563 * lyxtextclass.C (compare_name): new functor to work with
8564 shared_ptr, layout as layout
8565 (Read): layout as layout
8566 (hasLayout): layout as layout
8567 (operator): layout as layout
8568 (delete_layout): layout as layout
8569 (defaultLayout): layout as layout
8571 * lyxlayout_ptr_fwd.h: new file
8573 * lyxlayout.C (Read): layout as layout
8575 * lyx_cb.C (MenuInsertLabel): layout as layout
8577 * bufferlist.C (newFile): layout as layout
8579 * buffer.C (readLyXformat2): layout as layout
8580 (parseSingleLyXformat2Token): layout as layout
8581 (insertStringAsLines): layout as layout
8582 (asciiParagraph): layout as layout
8583 (latexParagraphs): layout as layout
8584 (makeLinuxDocFile): layout as layout
8585 (simpleLinuxDocOnePar): layout as layout
8586 (makeDocBookFile): layout as layout
8587 (simpleDocBookOnePar): layout as layout
8588 (getLists): layout as layout
8590 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8592 * CutAndPaste.C (cutSelection): layout as layout
8593 (pasteSelection): layout as layout
8594 (SwitchLayoutsBetweenClasses): layout as layout
8596 * BufferView_pimpl.C (Dispatch): layout as layout
8597 (smartQuote): layout as layout
8599 * BufferView2.C (unlockInset): layout as layout
8601 2002-06-24 André Pönitz <poenitz@gmx.net>
8603 * lyxfunc.C: fix #487
8605 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8609 * lyxfunc.C: remove display_shortcuts, show_banner
8611 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8613 * Buffer_pimpl.C: oops, update on resize
8615 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8622 * BufferView.C: use repaint()
8624 * BufferView_pimpl.h:
8625 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8626 as it's a clearer description. Remove superfluous
8629 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8631 * text.C: fix bug 488. Not ideal, but getting
8632 getWord() to work properly for the insets that
8633 matter is more difficult ...
8635 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8637 * BufferView_pimpl.C:
8640 * lyxfunc.C: remove the six million index lyxfuncs to just
8641 one, and DTRT (bug 458)
8643 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8647 * BufferView_pimpl.h:
8648 * BufferView_pimpl.C: clean up resize() stuff,
8649 and unnecessary updateScreen()s
8651 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8655 * BufferView_pimpl.h:
8656 * BufferView_pimpl.C:
8659 * minibuffer.C: remove focus management of workarea,
8660 not needed. Use screen's greyOut()
8662 2002-06-17 Herbert Voss <voss@lyx.org>
8664 * converter.C: (convert) do not post a message, when converting
8665 fails, let the calling function decide what to do in this case
8667 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
8669 * lyxfunc.C: tidy up a little
8671 2002-06-16 <alstrup@diku.dk>
8673 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8674 Got rid of FORMS_H_LOCATION include. Now we are
8677 2002-06-15 LyX Development team <lyx@rilke>
8679 * buffer.[Ch] (sgmlOpenTag):
8680 (sgmlCloseTag): Added support for avoiding pernicious mixed
8681 content. Return number of lines written.
8684 (makeDocBookFile): Fixed calls to sgml*Tag.
8685 Simple white space clean.
8687 (simpleDocBookOnePar): Simple white space clean.
8689 * tabular.[Ch] (docBook): Renamed to docbook and got another
8690 argument to related with the pernicious mixed content.
8692 (docbookRow): Fixed calls for docbook inset method.
8694 2002-06-15 Lyx Development team <larsbj@birdstep.com>
8696 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8697 so it's X11 independent.
8701 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8703 2002-06-15 Lyx Development team <lyx@electronia>
8705 * intl.h: Renamed getTrans to getTransManager.
8707 2002-06-14 Angus Leeming <leeming@lyx.org>
8709 * Makefile.am: nuke forgotten stl_string_fwd.h.
8711 2002-06-12 Angus Leeming <leeming@lyx.org>
8713 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8715 2002-06-13 Angus Leeming <leeming@lyx.org>
8718 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8720 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
8722 * kbmap.C (getiso): add support for cyrillic and greek
8724 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8728 * BufferView_pimpl.h:
8729 * BufferView_pimpl.C: move bogus scrolling logic
8732 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8735 * BufferView_pimpl.C: view->resize() change
8737 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8739 * BufferView_pimpl.C: topCursorVisible
8742 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8746 * lyx_gui.C: move to frontends/
8750 * lyx_main.C: changes from above
8752 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8759 * lyx_main.C: minor tidy
8761 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8763 * BufferView_pimpl.h:
8764 * BufferView_pimpl.C:
8766 * BufferView.C: make painter() const,
8769 * BufferView2.C: use screen() accessor
8772 * lyx_main.C: some minor cleanup
8774 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8776 * BufferView_pimpl.h:
8777 * BufferView_pimpl.C: remove enter/leaveView,
8780 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8785 * BufferView_pimpl.h:
8786 * BufferView_pimpl.C: only construct screen once,
8789 * lyxrc.C: remove pointless comment
8791 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8794 * BufferView.C: remove active() and belowMouse()
8796 * BufferView_pimpl.h:
8797 * BufferView_pimpl.C: use workarea() not workarea_,
8798 and make it use a scoped_ptr instead
8800 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8802 * lyx_gui.C: add debug message on BadWindow
8804 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8806 * sp_spell.C: fdopen is not part of the C++ standard.
8808 * paragraph.C (InsetIterator): use >= instead of ==
8810 2002-06-07 Angus Leeming <leeming@lyx.org>
8812 Fixes needed to compile with Compaq cxx 6.5.
8813 * BufferView_pimpl.C:
8820 * lyxtextclasslist.C:
8825 all c-library variables have been moved into namespace std. Wrap
8826 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8831 Add a using std::abs declaration.
8833 * kbmap.h (modifier_pair):
8834 * paragraph.h (InsetTable, InsetList):
8835 * lyxfont.h (FontBits):
8836 type definition made public.
8838 * bufferlist.C (emergencyWriteAll): the compiler complains that
8839 there is more than one possible lyx::class_fun template to choose from.
8840 I re-named the void specialisation as lyx::void_class_fun.
8842 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8844 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8845 the compiler is is unable to find tostr in write_attribute.
8847 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8849 * buffer.C (sgmlError): hide #warning
8851 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8853 * xtl/*: get rid of xtl, which is not in use anyway
8855 * LyXAction.C (init):
8856 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8857 were unimplemented xtl experimentation
8859 2002-06-04 André Pönitz <poenitz@gmx.net>
8861 * lyxfunc.C: disable array operation on simple formulae
8863 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
8865 * converter.C: constify a bit
8867 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
8869 * lyx_gui.C: check xforms version correctly
8871 2002-04-30 Herbert Voss <voss@lyx.org>
8873 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8876 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
8878 * lyxvc.C: fix bug 416 (make sure buffer is saved before
8879 attempt to register it with a VCS)
8881 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8883 * lyx_main.C (init): honor variables LYX_DIR_13x and
8886 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8890 * lyx_main.C: fix a crash on bad command line,
8891 and give a useful exit status on error
8893 * lyxfunc.C (doImport): allow -i lyx to work
8895 2002-03-30 André Pönitz <poenitz@gmx.net>
8897 * lyxfunc.C: mathed font changes
8899 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8914 * trans_mgr.h: srcdocs, and some minor cleanups
8916 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8918 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8919 call getFont all the time)
8921 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8923 * switch from SigC signals to boost::signals
8925 2002-05-29 André Pönitz <poenitz@gmx.net>
8927 * paragraph_pimpl.C (getChar): don't call size() too often...
8929 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8931 * paragraph_pimpl.C (insertChar): do not try to update tables when
8932 appending (pos == size())
8934 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8935 in order to reduce drastically the number of comparisons needed to
8936 parse a large document
8938 2002-05-29 André Pönitz <poenitz@gmx.net>
8944 * textclasslist.[Ch]:
8945 * sp_ispell.h: whitespace change
8947 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8949 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8950 lyxaction directly now.
8952 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
8956 * lyxvc.C: remove unused headers
8958 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8965 * undo_funcs.C: some cleanups. Use shared_ptr
8966 and a template for the undo stacks.
8968 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8970 * BufferView_pimpl.h:
8971 * BufferView_pimpl.C:
8978 * text2.C: use key_state/mouse_state
8980 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8982 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8985 * chset.C: change include order
8986 (loadFile): use boost regex and get rid of LRegex and LSubstring
8988 * Makefile.am (BOOST_LIBS): new variable
8991 * LaTeX.C: change include order.
8992 (scanAuxFile): use boost regex and get rid of LRegex and
8996 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9001 * FontInfo.C: moved to frontends/xforms/
9004 * FontLoader.C: moved into frontends for GUIIzation
9009 * lyxfunc.C: changes from above
9011 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9013 * LColor.C: remove spurious X include
9015 * BufferView_pimpl.C:
9020 * text2.C: move font metrics to frontends/
9022 2002-05-24 Juergen Vigna <jug@sad.it>
9024 * undo_funcs.C (textHandleUndo): fix the cursor selection after
9025 setting the undo_cursor.
9027 * ParagraphParameters.h: include local includes first.
9029 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9031 * BufferView_pimpl.C:
9032 * BufferView_pimpl.h:
9036 * screen.C: move WorkArea into frontends/
9042 * BufferView2.C: move LyXScreen into frontends/
9046 * lyx_gui.C: move lyxlookup into frontends/xforms/
9048 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9051 * BufferView_pimpl.C:
9061 * bufferview_funcs.C:
9074 * vc-backend.C: move LyX/XFormsView into frontends/
9076 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9088 * text2.C: move Painter to frontends/
9090 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9092 * buffer.C: comment out some some code that depend upon lyx_format
9095 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9096 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9098 * buffer.h (NO_COMPABILITY): turn off compability
9100 * ColorHandler.C: include scoped_array.hpp
9102 * font.C: Use more specific smart_ptr header.
9105 * ShareContainer.h: ditto
9109 * BufferView_pimpl.h: ditto
9110 * ColorHandler.h: ditto
9112 * kbmap.C (defkey): change call to shared_ptr::reset
9114 2002-05-21 Juergen Vigna <jug@sad.it>
9116 * buffer.C (insertErtContents): fix to insert ert asis if it is
9117 non empty. Skip it completely if it contains only whitespaces.
9119 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
9121 * BufferView_pimpl.C:
9122 * BufferView2.C: clear selection on paste (bug 393)
9124 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9126 * DepTable.C: include ctime
9128 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
9130 * buffer.C (latexParagraphs): Add new argument (moving_arg).
9132 2002-05-14 Juergen Vigna <jug@sad.it>
9134 * text.C (breakParagraph): fixed function to honor the keepempty
9135 layout in the right maner and also to permit the right breaking
9136 algorithm on empty or non empyt keepempty paragraphs.
9138 * paragraph.C (breakParagraph): we have to check also if the par
9139 is really empty (!size()) for isempty otherwise we do the wrong
9142 2002-05-10 Juergen Vigna <jug@sad.it>
9144 * buffer.[Ch] : The following are only changes to the ert
9145 compatibility read reading old LaTeX layout and font stuff and
9146 convert it to ERTInsets.
9148 * buffer.h: added isErtInset().
9150 * buffer.C (struct ErtComp): add a fromlayout bool to check
9151 if we're inside a LaTeX layout.
9152 (isErtInset): new helper function.
9153 (insertErtContents): look for other ert insets before this one
9154 and insert the contents there, so that we don't have subsequent
9155 ERT insets with nothing between them. This way we create only one
9156 inset with multiple paragraphs. Also check if we don't insert only
9157 spaces ' ' as they are ignored anyway afterwards in the .tex file
9158 so if we have only spaces we will ignore this latex part in the
9160 (parseSingleLyXformat2Token \\layout): better compatibility when
9161 reading layout-latex stuff.
9162 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9164 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9165 stuff after reading the inset only get the information back from
9168 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
9170 * buffer.C (makeLaTeXFile): Put language options after loading babel.
9172 * LaTeXFeatures.C (getBabelOptions): New method.
9174 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9176 * BufferView_pimpl.C (Dispatch): work around missing argument for
9179 2002-05-08 Juergen Vigna <jug@sad.it>
9181 * text.C (leftMargin): handle paragraph leftindent.
9183 * paragraph.C (writeFile): write the new \\leftindent tag.
9184 (validate): handle leftindent code.
9185 (TeXEnvironment): handle paragraphleftindent code again.
9187 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9189 * buffer.C (parseSingleLyXformat2Token): added compatibility code
9190 for paragrap_extra indent code and new token \\leftindent.
9191 (latexParagraphs): handle the leftindent as environment.
9193 * ParameterStruct.h: added leftindent support.
9195 * ParagraphParameters.C (leftIndent): added support functions for
9196 the paragraph left indent.
9198 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9201 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
9203 * paragraph.C (isRightToLeftPar): Return false for a paragraph
9206 * text.C (computeBidiTables): No bidi in insetERT.
9208 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9211 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9213 * version.C.in: pre 5
9215 2002-05-02 José Matos <jamatos@fep.up.pt>
9216 * buffer.C (makeDocBookFile): white space changes, add newline to
9218 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9220 * tabular.C (docBook): fix typo.
9222 2002-05-03 Juergen Vigna <jug@sad.it>
9224 * screen.C (drawFromTo): recalculate the rowpointer if we had a
9225 change in LyXText as we can not be sure it was not freed.
9226 (drawOneRow): remove unused code.
9228 * text.C (drawInset): redo the calculation of the need_break_row as
9229 it could have a row which was already freed.
9230 (draw): look at the return value of drawInset and return false if
9231 it also returned false.
9232 (paintRowText): look at the return value of draw and return false if
9233 it also returned false.
9235 * lyxtext.h: added bool return type to drawInset() and draw() so that
9236 if we have a change in the row so that the rowbreak has to be redone
9237 we abort drawing as it will be called again.
9239 2002-05-02 Juergen Vigna <jug@sad.it>
9241 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9242 a change in the maintext also if we're inside an inset.
9243 (Dispatch): set the cursor again after a break line and after the
9244 screen has been updated as it could be we're in a different row.
9246 * text2.C (fixCursorAfterDelete): check to make sure we don't request
9247 to set the cursor behind the pargraph with > size().
9248 (setCursor): check also for the same paragraph when checking where
9249 to put the cursor if we have a NFR inset.
9251 * buffer.C (parseSingleLyXformat2Token): move the compatibility
9252 parts of layout read further up as it still was in the wrong
9255 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9257 * screen.C (drawFromTo): change sine fullRebreak always return
9260 * buffer.C (parseSingleLyXformat2Token): reindent some
9262 * BufferView_pimpl.C (update): change since fullRebreak always
9264 (Dispatch): git rid of the last hardcoded "Standard"s.
9266 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9268 * text2.[Ch] (fullRebreak): make it return void now that we always
9271 2002-04-30 Juergen Vigna <jug@sad.it>
9273 * buffer.C (parseSingleLyXformat2Token): reset the font before the
9274 ert compatibility check for "latex" layout.
9276 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
9278 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9279 minipages: use col% instead of p%, and also use the current font.
9280 (makeLaTeXFile): Fix use babel condition.
9281 (parseSingleLyXformat2Token): Correct font when reading old floats.
9283 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
9285 * BufferView_pimpl.C (Dispatch): Check that float type exists when
9286 inserting list of floats.
9288 2002-04-25 Herbert Voss <voss@lyx.org>
9290 * MenuBackend.C (expand): don't add the graphics extensions to the
9293 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9295 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9296 non-existing layout, do not complain if it was the default layout
9297 of the original class (bug #342)
9299 2002-04-24 Juergen Vigna <jug@sad.it>
9301 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9302 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9304 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
9306 * buffer.C (getBibkeyList): If using \bibliography, return the
9307 option field with the reference itself. Enables us to provide natbib
9308 support when using \bibliography.
9310 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
9312 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9314 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9315 natbib is provided by the LaTeX class.
9317 2002-04-23 Juergen Vigna <jug@sad.it>
9319 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9322 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9324 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9326 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9328 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9329 ensuremath around textordmasculine, textordfeminine and
9332 2002-04-19 Juergen Vigna <jug@sad.it>
9334 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9335 reinitializing the buffer otherwise row-dimensions may be wrong.
9336 (update): reset also the selection cursors if they do exits otherwise
9337 their x/y positions may be wrong.
9339 * text2.C (cursorDown): don't enter the inset if we came from a row
9340 above and are one row over the inset.
9342 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9343 really leaving an inset.
9345 2002-04-18 Juergen Vigna <jug@sad.it>
9347 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9348 of the selected paragraph does not have the selected layout also if
9351 * text2.C (setLayout): fixed bug which did not change last selected
9354 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9355 changed the read and substituted \\end_float with \\end_inset!
9357 * BufferView_pimpl.C (cursorPrevious):
9358 (cursorNext): fixed to make it work with rows heigher than the work
9359 area without moving the cursor only the draw of the row.
9360 (workAreaMotionNotify): fix jumping over high rows.
9362 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9364 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9367 2002-04-16 Juergen Vigna <jug@sad.it>
9369 * text2.C (setCursor): set also the irow().
9370 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9372 (cursorDown): support for locking an inset if the x_fix value goes
9373 inside it. That way I can transverse insets too with cursor up/down.
9375 * lyxrow.h: added irow helper function same as other (i) functions.
9377 * BufferView_pimpl.C (cursorPrevious):
9378 (cursorNext): fixed for insets!
9380 2002-04-15 Juergen Vigna <jug@sad.it>
9382 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9383 position otherwise it is wrong in some cases.
9385 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9386 inside the inset before the call.
9388 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
9390 * buffer.[Ch] (getBibkeyList): make it const.
9392 2002-04-12 Juergen Vigna <jug@sad.it>
9394 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9396 * text2.C (getCursorX): new helper function
9397 (setCursor): compute also ix_
9398 (setCursorFromCoordinates): set also ix.
9400 * lyxcursor.h: added ix_ and helper functions.
9402 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9404 * buffer.C (insertStringAsLines): dont break paragraph if the this
9405 paragraph is inside an inset which does not permit it!
9407 * text.C (breakParagraph): honor keepempty flag and break the paragraph
9408 also with no chars on this paragraph.
9409 (paintRowText): only paint stuff if it's inside the workarea!
9411 * paragraph.C (breakParagraph): honor keepempty flag and break the
9412 paragraph always below not above.
9414 * BufferView2.C (unlockInset): update the paragraph layout on inset
9415 unlock as we changed paragraph in such a case.
9417 * lyxfind.C (LyXFind): clear the former selection if not found!
9419 * text2.C (insertInset): freeze Undo after setUndo so that it is not
9420 again called in insertChar().
9422 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9423 an inset which uses the whole row!
9424 (rightMargin): ditto.
9425 (insertChar): force a rebreak if we inserted an inset!
9427 2002-03-28 Herbert Voss <voss@lyx.org>
9429 * lyxlength.[Ch]: add inBP() to get the right PS-point
9430 units (BigPoint). With inPixels we have rounding errors
9432 2002-04-11 Juergen Vigna <jug@sad.it>
9434 * text2.C (setCursorFromCoordinates): set iy to the right value.
9435 (setCursor): add check if row->previous exists!
9437 * buffer.C (parseSingleLyXformat2Token): reset font after read of
9438 an old float_type as this was the case in the old code!
9440 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9442 * BufferView2.C (showLockedInsetCursor): use iy
9443 (fitLockedInsetCursor): ditto
9445 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9446 locked insets as there we have the right value now.
9448 * lyxcursor.C: added iy_ variable and iy functions to set to the
9449 baseline of cursor-y of the locked inset.
9451 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9452 (setCursor): fixed for insets which need a full row.
9454 * text.C (rowLastPrintable): don't ignore the last space when before
9455 an inset which needs a full row.
9456 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9457 as last character of a row when before a inset which needs a full row.
9459 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9461 * version.C.in: update date
9463 * text2.C (fullRebreak): try to always return true and see what
9466 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9468 * MenuBackend.C (expand): use Floating::listName
9470 * FloatList.C (FloatList): add listName argument to the built-in
9473 * Floating.[Ch]: add listName member, which is the 'List of XXX'
9474 text associated with the float.
9476 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9478 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9480 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9482 * ShareContainer.h: add a couple of missing typenames.
9484 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
9486 * lyxrc.C (getDescription): use _() correctly rather than N_().
9488 2002-03-28 Herbert Voss <voss@lyx.org>
9490 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9491 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9493 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9495 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9496 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9498 2002-03-29 Juergen Vigna <jug@sad.it>
9500 * lyxfunc.C (dispatch): add a missing fitCursor call.
9502 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9503 it was scrolled by a cursor move, so return the bool status.
9505 * BufferView.C (fitCursor): return the bool flag also to the outside
9506 world as this is needed.
9508 * screen.C (toggleToggle): don't subtract the offset if it's positive.
9510 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9511 call the edit() as it is not needed (and wrong) IMO.
9512 (workAreaButtonPress): set the screen_first variable before evt.
9513 unlock the inset as this may change screen_first and then we have
9514 a wrong y position for the click!
9516 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9518 * MenuBackend.C (expand): another translation that I missed
9520 2002-03-28 Juergen Vigna <jug@sad.it>
9522 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9524 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9526 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9528 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9530 * MenuBackend.C (expand): fix export/view/update when there is no
9533 2002-03-27 Herbert Voss <voss@lyx.org>
9535 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9538 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9540 * bufferview_funcs.C (currentState): only show paragraph number
9541 for is DEVEL_VERSION is set.
9543 * lyxfunc.C (dispatch): put warning in INFO channel
9545 * MenuBackend.C (expand): translate the name of floats
9547 * FloatList.C (FloatList): mark the float names for translation
9549 * converter.C (convert): use LibScriptSearch
9551 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9553 * MenuBackend.C (defaults): fix default menu (we might as well get
9556 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9558 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9561 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9563 * lyxvc.C: reorder includes.
9565 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
9567 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9570 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9572 * CutAndPaste.C: change layouts earlier on paste
9573 to avoid crashing when calling getFont()
9575 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9577 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9580 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9582 * WorkArea.C: remove 'Pending' debug message.
9584 * most files: ws cleanup
9586 * buffer.[Ch]: ws changes
9588 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9590 2002-03-21 Juergen Vigna <jug@sad.it>
9592 * tabular.C (SetMultiColumn): collapse also the contents of the
9593 cells and set the last border right. Added a Buffer const * param.
9595 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9597 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9600 2002-03-19 Juergen Vigna <jug@sad.it>
9602 * text2.C (clearSelection): reset also xsel_cache.
9604 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9605 where it needs to be called (John tells us to do so too :)
9606 (selectionLost): reset sel_cache.
9608 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9610 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9612 * text2.C (setCursorIntern): put debuging code in INSETS channel
9614 2002-03-19 André Pönitz <poenitz@gmx.net>
9616 * lyxfunc.C: tiny whitespace change
9618 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9620 * ToolbarDefaults.C (init):
9621 * LyXAction.C (init):
9623 * BufferView_pimpl.C (Dispatch):
9624 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9626 2002-03-19 Allan Rae <rae@lyx.org>
9628 * exporter.C (Export): removeAutoInsets before doing anything else.
9629 While I've just introduced a dependency on BufferView this really is
9630 the best place to clean the buffer otherwise you need to cleanup in
9631 a dozen places before calling export or cleanup in a dozen functions
9634 * converter.C (runLaTeX):
9635 (scanLog): Better handling of removeAutoInsets and screen updates.
9637 * lyxfunc.C (dispatch): small whitespace changes
9639 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9641 * WorkArea.C (C_WorkAreaEvent): return a value.
9642 (event_cb): return 1 if we handled the event, 0 otherwise.
9644 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9646 2002-03-18 Juergen Vigna <jug@sad.it>
9648 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9649 (GetAdditionalWidth): ditto.
9653 * BufferView2.C (copy): use getLyXText() so that we do it inside an
9654 inset if we're there actually (probably not used right now but this
9655 is the direction to go for unifying code).
9656 (paste): disable code to clear the selection.
9658 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9659 inside an InsetText and move the check further up as it is in the
9662 * text2.C (pasteSelection): set a selection over the pasted text.
9664 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
9666 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9667 and libgraphics to build on Cygwin.
9669 2002-03-15 Juergen Vigna <jug@sad.it>
9671 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9672 inserting an Inset into the paragraph. I know this is not the best
9673 fix but we already use current_view in CutAndPaste so we will remove
9674 all of it's using at the same time.
9676 * buffer.C (sgmlError): deactivated function till it is rewritten in
9677 the right mode, now it can create problems.
9679 * paragraph.C (isLineSeparator): check if getInset returns != 0,
9680 before accessing it.
9682 2002-03-14 Juergen Vigna <jug@sad.it>
9684 * undo_funcs.C (textHandleUndo): do the right thing when updating
9685 the inset after the undo/redo.
9687 * text2.C (setCursor): just some testcode for #44 not ready yet.
9689 * undo_funcs.C (textHandleUndo): set the next() and previous()
9690 pointers of the paragraph to 0 before deleting otherwise we have
9691 problems with the Paragraph::[destructor].
9693 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9694 on a paragraph insertion.
9696 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9698 * buffer.C (asciiParagraph): use += operator for char append to
9701 * paragraph.C (getFontSettings): compare >= not just >
9702 (highestFontInRange): ditto
9705 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9707 * paragraph.C: change several algorithm to be more appripriate for
9708 the problem domain. This is lookip in FontList and in the InsetList.
9710 2002-03-13 André Pönitz <poenitz@gmx.net>
9713 * LyXAction.C: remove unused LFUN_MATH_MACROARG
9715 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
9720 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9722 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9724 * Painter.C (display): anon helper function, adjust code for this
9726 (pixmap): remove function.
9728 * Painter.h: remove private display variable.
9730 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9732 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
9734 * WorkArea.[Ch]: remove figinset_canvas cruft.
9736 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9738 * lyxtextclass.C (operator): add one item cache optimization.
9740 * bufferlist.h: doxy changes
9742 * bufferlist.C: ws changes
9744 * DepTable.[Ch] (ext_exist): place const in the right spot.
9746 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9748 (workAreaExpose): call resizeInsets when the with BufferView changes.
9749 (Dispatch): adjust for protectedBlank removal
9750 (specialChar): call updateInset if the insert went ok.
9752 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9753 specialChar instead.
9755 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9757 * BufferView.h: doxy change
9759 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9761 * lyxtextclass.C (operator[]): remove non-const version
9762 (defaultLayout): remove non-const version
9764 2002-03-12 Juergen Vigna <jug@sad.it>
9766 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9767 did resize the LyXText too.
9769 * buffer.C (readLyXformat2): set layout information on newly allocated
9772 * tabular.C (OldFormatRead): set layout information on the paragraph.
9774 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9776 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9778 2002-03-11 Juergen Vigna <jug@sad.it>
9780 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9782 (resizeCurrentBuffer): force also the insets to resize themselfes.
9783 (moveCursorUpdate): fixed up for InsetText.
9785 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
9788 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9789 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9790 value of Dialogs::tooltipsEnabled().
9791 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9793 2002-03-08 Juergen Vigna <jug@sad.it>
9795 * BufferView_pimpl.C (updateInset): update inset inside inset also
9796 if it isn't inside theLockingInset().
9798 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9800 * buffer.C (asciiParagraph): redo some of the word and line length
9802 (getLists): look for Caption instead of caption.
9804 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9806 * buffer.C (Buffer): initialize niceFile to true
9809 (makeDocBookFile): make sure niceFile is true on exit
9811 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9813 * buffer.C (makeLaTeXFile): escape ~ in \input@path
9815 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
9817 * LyXSendto.C: remove.
9818 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9819 * lyx_gui.C: remove now-redundant comment.
9820 * ColorHandler.h: remove forward declaration of class WorkArea.
9821 * lyxfunc.C: remove #include "WorkArea.h".
9823 2002-03-07 Juergen Vigna <jug@sad.it>
9825 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9826 got moved away with the DEPM and also set the inset_owner always
9827 right which before could have been omitted.
9829 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9831 * buffer.C (parseSingleLyXformat2Token): use default layout is the
9832 wanted layout is not found.
9834 2002-03-07 Juergen Vigna <jug@sad.it>
9836 * CutAndPaste.C (cutSelection): another layout settings forgotten.
9838 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9840 * paragraph.C (breakParagraph): use default layout not layout of
9842 (Paragraph): clear ParagraphParameters.
9844 2002-03-06 Juergen Vigna <jug@sad.it>
9846 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9847 otherwise it would not be a valid lenght. Fixed a special case in
9848 the minipage compatibility read where we end the document with a
9851 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9852 was set as it could be 0 for InsetTexts first entry.
9854 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9856 * paragraph.C (writeFile): if layout is empty write out
9857 defaultLayoutName().
9859 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9860 file without named layout we set layout to defaultLayoutName().
9862 2002-03-06 Juergen Vigna <jug@sad.it>
9864 * CutAndPaste.C (copySelection): set layout for new paragraph.
9866 * text.C (prepareToPrint): leave ERT inset left aligned
9867 (leftMargin): don't indent paragraphs inside ERT insets
9869 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9871 * paragraph.C (breakParagraph): dont call clear do the work manually
9873 * paragraph.[Ch] (clear): remove function
9875 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9877 * paragraph.C (Paragraph): dont call clear, the work has already
9880 * lyxtextclass.C (operator): assert if n is empty
9882 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9883 work manually instead.
9885 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9887 * BufferView_pimpl.C: protect selectionLost against text == 0
9889 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9891 * text.C (breakParagraph): fix a setting layout to '0' problem.
9893 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9895 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9896 final location of file, for the included files, and graphics.
9898 2002-03-05 Juergen Vigna <jug@sad.it>
9900 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9902 2002-03-04 Juergen Vigna <jug@sad.it>
9904 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9906 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9907 last column of multicolumn cells.
9908 (SetWidthOfMulticolCell): recalculate NMC and real columns.
9910 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
9912 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9913 file if it doesn't go to a temporary file.
9915 * buffer.C (sgmlOpenTag):
9916 (sgmlCloseTag): remove extra newline insertion.
9918 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9920 * text.C (getRowNearY): comment out debug msg
9922 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9924 * text2.C: first -> first_y
9926 * text.C (getRowNearY): add some attemts at a possible
9927 optimization, not working.
9929 * tabular.[Ch]: add BufferParams to several function so that newly
9930 created paragraph can be initialized to he default layotu for the
9933 * tabular-old.C (ReadOld): add buf->params to call of Init
9935 * screen.C: rename text->first to text->first_y
9937 * paragraph.C (breakParagraph): always set layout in the broken
9940 * lyxtextclass.C (Read): remove lowercase
9943 (delete_layout): ditto
9945 * lyxtext.h: rename first -> first_y
9947 * lyxlayout.C (Read): remove lowercase
9950 (obsoleted_by): ditto
9952 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9954 * buffer.C (insertErtContents): add params are to InsetERT
9955 (parseSingleLyXformat2Token): add code to check if a paragraphs
9956 layout really exist.
9957 (parseSingleLyXformat2Token): add params to several inset
9959 (asciiParagraph): remove lowercase, do the layout comparisons with
9962 * BufferView_pimpl.C (cursorNext): first -> first_y
9963 (resizeCurrentBuffer): first -> first_y
9964 (updateScrollbar): first -> first_y
9965 (scrollCB): first -> first_y
9966 (workAreaMotionNotify): first -> first_y
9967 (workAreaButtonPress): first -> first_y
9968 (checkInsetHit): first -> first_y
9969 (cursorPrevious): first -> first_y
9970 (cursorNext): first -> first_y
9971 (Dispatch): add buffer_->params to severl inset contructors
9973 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9975 * lyxlayout.C (Read): remove some debug info that I forgot.
9977 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9978 clean up the code slightly.
9979 (makeLinuxDocFile): ditto
9980 (makeDocBookFile): ditto
9982 * text2.C: layout as string
9984 * text.C: layout as string
9986 * paragraph_pimpl.C: layout as string
9988 * paragraph.[Ch]: layout as string
9990 * lyxtextclasslist.[Ch]: layout as string
9992 * lyxtextclass.[Ch]: layout as string
9994 * lyxtext.h: layout as string
9996 * lyxlayout.[Ch]: layout as string
9998 * lyx_cb.C: layout as string
10000 * bufferview_funcs.C: layout as string
10002 * bufferparams.C: layout as string
10004 * buffer.C: layout as string
10006 * LyXView.[Ch]: layout as string
10008 * LaTeXFeatures.[Ch]: layout as string
10010 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10012 * BufferView_pimpl.C: change current_layout to string, remove
10017 (workAreaButtonRelease): layout as string
10019 * BufferView2.C (unlockInset): adjust
10021 * vspace.C (asLatexCommand): use an explict temp variable.
10023 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10025 * Makefile.am: use FRONTEND_*
10027 2002-03-01 Juergen Vigna <jug@sad.it>
10029 * tabular.C (SetWidthOfMulticolCell): changed to something better
10030 I hope but still work in progress.
10031 (recalculateMulticolumnsOfColumn): renamed function from
10032 recalculateMulticolCells as it is more appropriate now.
10033 (SetWidthOfCell): calculate multicols better.
10035 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10037 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10039 * lyxfunc.C (processKeySym): print sequence also if it is
10040 `deleted' (complete)
10042 * kbsequence.C (print): print sequence even if it is deleted
10043 (complete would be a better word, actually).
10045 * lyxfunc.C (dispatch): print complete options after a prefix key
10047 * vspace.C (asLatexCommand): rewrite in a slightly different form.
10049 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
10051 * text2.C (setCharFont): eliminate setCharFont code duplication.
10053 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10055 * BufferView_pimpl.C (Dispatch): remove bogus handling of
10056 LFUN_TABULAR_FEATURE (bug #177)
10058 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
10060 * Makefile.am: remove figure.h
10062 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
10064 * Bufferview_pimpl.C:
10076 * text2.C: remove #include "lyx_gui_misc.h".
10078 * LaTeX.C: added #include <cstdio>
10080 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10082 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10083 that the paragraph following this one can have.
10085 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10087 * vspace.C (asLatexCommand): fix bogus gcc warning
10089 * Makefile.am (lyx_SOURCES): remove vms_defines.h
10091 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
10093 * text2.C (setLayout): get rid of redundant code
10095 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
10097 * text2.C (incDepth): make sure depth cannot be increased beyond
10100 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
10102 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10103 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10105 * PainterBase.h (image):
10106 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10107 a LyXImage const *.
10109 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10113 * BufferView_pimpl.C:
10114 * BufferView_pimpl.h:
10134 * sp_spell.C: remove fig inset, and the crap house of
10135 cards that follows it
10137 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10142 * os2_errortable.h:
10143 * nt_defines.h: move .h into support/
10145 * vms_defines.h: remove
10147 * WorkArea.C: add space in debug output
10151 * buffer.C: add WITH_WARNINGS
10155 * bufferlist.C: s/retrive/retrieve/, add docs
10164 * chset.C: add docs
10166 * lyxgui.C: add ID to X error handler
10168 * lyxtestclass.c: fix typo
10170 2002-02-26 Juergen Vigna <jug@sad.it>
10172 * tabular_funcs.C (write_attribute): changed so that some default
10173 attributes are not written at all.
10174 (getTokenValue): set default values before trying to read the
10175 value so we have the return value always set as default if we don't
10176 find the token we search for.
10178 * tabular.C (Write): write bools as bools not as strings!
10180 2002-02-22 Juergen Vigna <jug@sad.it>
10182 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10183 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10185 * text.C (leftMargin): don't add an indent for paragraphs inside
10186 tabular cells (fix #208).
10188 2002-02-21 José Matos <jamatos@fep.up.pt>
10190 * tabular.C (docBook): fixed support for long tables.
10192 2002-02-20 Juergen Vigna <jug@sad.it>
10194 * text2.C (getFont): get the drawing font of the Inset if this
10195 paragraph is inside an inset (only important for InsetERT for now).
10197 * buffer.C (insertErtContents): use new lanugage params in ERT
10200 * CutAndPaste.C: commenting out seemingly uneeded code.
10202 2002-02-19 Allan Rae <rae@lyx.org>
10204 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10205 Iterators might be simple to use but they also get invalidated.
10206 (removeAutoInsets): renamed saved cursor tracking variables and added
10207 some comments to clarify what everything does.
10209 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
10216 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10217 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10220 * vc-backend.h: remove #include "support/syscall.h"
10224 * converter.C: rearrange #includes in Lars' approved fashion.
10226 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10227 forward declare class Timeout in the header file.
10229 * XFormsView.C: changes due to the above.
10231 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10232 similar to LyXView.
10234 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10235 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10237 2002-02-18 José Matos <jamatos@fep.up.pt>
10239 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10242 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10244 * a lot of small ws changes
10245 * add a lot of using std::XXX
10246 * use std construcs some places where approp.
10247 * use some exisint stuff from lyxfunctional where approp.
10248 * Make file changes to use partial linking (lets test this now...)
10250 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10254 remove #include "support/syscontr.h" as it's redundant. Always has been.
10262 change Systemcalls::System to Systemcalls::Wait and
10263 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10264 No change of functionality, just reflects the stripped down Systemcalls
10267 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10269 * debug.[Ch]: add a GRAPHICS type to the enum.
10271 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10273 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10275 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10278 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10280 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10281 match the changes below.
10283 * text2.C (toggleInset): if there is not editable inset at cursor
10284 position, try to see if cursor is _inside_ a collapsable inset
10287 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10289 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10290 document menu has a nice checkbox
10292 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10294 * lyxlength.C (asLatexString): change PW to output as percent of
10297 * lengthcommon.C: change '%' to 't%'
10299 * lyxfunc.C (dispatch): a few comments from Martin
10301 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
10305 * BufferView_pimpl.h:
10306 * BufferView_pimpl.C: clear our selection when X tells us we've lost
10309 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10311 * vspace.C (inPixels): fix compiler warning
10313 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10315 * lyxfunc.C (getStatus): fix status message for disabled commands.
10317 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
10319 * BufferView_pimpl.C: fix crash on close buffer
10320 during selection (#227)
10322 2002-01-27 Herbert Voss <voss@lyx.org>
10324 * buffer.C: link old Figure to new graphic inset
10326 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
10328 * FontLoader.C (getFontinfo): Change the latex font names in order
10329 to match the names of type1inst.
10331 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10333 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10335 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10336 (extchanged): ditto
10338 (remove_files_with_extension): ditto
10339 (remove_file): ditto
10342 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10343 document is smaller than the work area height. Do not initialize
10344 static variables to 0.
10346 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10348 * lyx_gui.C (init): give the toolbar tooltips a normal font.
10350 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10351 LFUN_LAYOUT_PARAGRAPHS.
10353 * tabular.C (GetCellFromInset): new method. Finds an inset in a
10354 tabular. It is possible to provide a possible cell, which will
10355 typically be the actcell from the corresponding insettabular
10357 * lyxfunc.C (getStatus): small cleanup; disable
10358 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10361 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10363 * tabular.C (Validate): remove broken optimization (fixes bug #201)
10365 * paragraph.C (startTeXParParams):
10366 (endTeXParParams): new methods. The LaTeX code to
10367 start/end paragraph formatting
10368 (simpleTeXOnePar): call startTeXParParams also when paragraph is
10369 empty (fixes bug #200)
10371 * vspace.C (inPixels): adapt to the change below
10372 (inPixels): [later] more cleanups (remove unused variables)
10374 * lyxlength.C (inPixels): change to use a width and a height as
10377 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10379 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10380 Replaced with \paperwidth
10382 * DepTable.C (insert): add std:: qualifier
10384 2002-01-18 Allan Rae <rae@lyx.org>
10386 * text2.C (removeRow): add comment. Should other refresh_?? vars be
10389 * text.C (drawInset): Turned out I didn't know enough about how
10390 rebreaking worked. This fixes most of the redraw problems. I see
10391 an occasional cursor trail when a line is broken now and the cursor
10392 placement can seem out by a few pixels also after a rebreak.
10394 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10396 * buffer.C (parseSingleLyXformat2Token): update because minipage
10397 width is now a LyXLength
10399 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10401 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10404 2002-01-17 Juergen Vigna <jug@sad.it>
10406 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10408 * BufferView2.C (lockInset): call edit() so that theLockingInset()
10409 is set correctly and the inset is updated correctly.
10411 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10413 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10414 the beginning of the loop.
10416 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
10418 * lyxrc.C: improve help for use_scalable_fonts
10420 2002-01-17 Allan Rae <rae@lyx.org>
10422 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10424 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10426 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10427 make sure to set their inset_owner to the right value (bug #171)
10429 2001-12-12 Ben Stanley <bds02@uow.edu.au>
10432 * DepTable.C: Implement mtime checking to reduce time spent doing
10435 2002-01-16 Juergen Vigna <jug@sad.it>
10437 * tabular.C (GetAdditionalHeight): one of error fixed.
10439 * lyxrc.C (output): small fix in writing use_pspell.
10441 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
10443 * sp_base.h: #include LString.h
10445 2002-01-16 Allan Rae <rae@lyx.org>
10447 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
10448 Can someone check this please?
10450 * text.C (drawInset): It was possible that p.row would be removed by
10451 breakAgainOneRow upsetting a few other settings. There may be another
10452 small tweak possible by setting need_break_row = 0 when p.row has been
10453 removed but I don't know enough about the logic here.
10455 2002-01-15 Allan Rae <rae@lyx.org>
10457 * text.C (insertChar): removed conditional truism.
10459 * BufferView2.C (removeAutoInsets): More tweaks.
10460 cur_par_prev could be a stray pointer. Check for trailing empty line
10461 in case last line was cur_par and only had an error inset on it.
10463 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10465 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10468 * vc-backend.C (most methods):
10469 * exporter.C (Export):
10470 * converter.C (convert):
10472 * LyXSendto.C (SendtoApplyCB):
10473 * lyxfunc.C (dispatch):
10477 * lyx_cb.C (AutoSave):
10479 * BufferView_pimpl.C (MenuInsertLyXFile):
10480 * buffer.C (runChktex): use Buffer::filePath().
10482 * buffer.h: rename filename to filename_; rename filepath to
10483 filepath_ and make it private
10484 (filePath): new method
10486 * buffer.C (writeFile): use fileName()
10489 * lyx_main.C (init): fix starting of LyX when the binary is a
10490 link from so,ewhere else.
10492 * minibuffer.C: include <cctype> for isprint
10494 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10496 * buffer.C (parseSingleLyXformat2Token): changes associated with the
10497 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10498 name clash with InsetCollapsable's width function.
10500 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10502 * lastfiles.C: include <iterator>
10504 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10506 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10509 * buffer.C (makeLaTeXFile): ditto.
10510 Also make loop operation more transparent.
10512 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10514 * ToolbarDefaults.C: remove trailing comma closing namespace.
10516 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10518 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10521 * trans.C (Load): comment out unused variable, allowed.
10523 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10525 * minibuffer.[Ch] (append_char): new method to recieve input from the
10526 drop-down completion browser. If a key was pressed, then recieve this
10527 char and append it to the existing string.
10528 (peek_event): modify the positioning data passed to the completion
10529 browser so that it can be placed above the minibuffer rather than below.
10530 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10532 * LyXAction.C (init): alloe error-next for readonly documents.
10534 * BufferView2.C (ChangeRefsIfUnique): use standard version of
10537 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10539 * bufferlist.C (readFile): create the buffer _after_ checking that
10542 * lyxfunc.C (verboseDispatch): fix handling of arguments
10544 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10546 * lyxrc.C: use string::erase() instead of initializing to "".
10549 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10551 * BufferView_pimpl.h:
10552 * BufferView_pimpl.C:
10555 * text2.C: tell X when we have made a selection for copying
10557 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10559 * BufferView_pimpl.C (MenuInsertLyXFile):
10560 * lyxfunc.C (menuNew):
10562 (doImport): add shortcuts to directory buttons
10564 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10567 * lyxfunc.C (setStatusMessage):
10568 (getStatusMessage): new methods
10569 (getStatus):use setStatusMessage instead of setErrorMessage
10570 (dispatch): when function is disabled, set error message here
10571 [instead of in getStatus previously]
10573 * BufferView_pimpl.C (workAreaButtonRelease): update
10574 toolbar/menubar here too.
10576 2002-01-13 Allan Rae <rae@lyx.org>
10578 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10579 Now seems indestructible. Remaining task is to audit all other
10580 code affected by deleteEmptyParagraphMechanism. One small quirk
10581 left is that an empty document with an error in the preamble can
10582 be made to report an error but no error box appears. I don't know
10584 (removeAutoInsets): Improved comments.
10586 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10589 * Thesaurus.C: update for Aiksaurus 0.14
10591 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10593 * text2.C (firstParagraph): removed member function, all uses
10594 replaces with ownerParagraph
10595 (redoParagraphs): here
10596 (updateInset): here
10597 (toggleAppendix): here
10598 * BufferView2.C (insertErrors): here
10599 (setCursorFromRow): here
10601 2002-01-13 Allan Rae <rae@lyx.org>
10603 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10604 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10605 There is still a way to segfault this although you may have to do this
10606 multiple times: Have an InsetERT with an unknown command in it.
10607 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10608 <down-arrow>, <Enter> again, View->DVI, BANG!
10610 * text2.C (setCursor):
10611 (deleteEmptyParagraphMechanism):
10612 * lyxtext.h (setCursor):
10613 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10614 Making use of the return value may help fix other bugs.
10616 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10618 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10620 * LyXView.C (updateMenubar): call MenuBar::update here
10621 (updateToolbar): but not here
10622 (showState): do not update toolbar/menubar
10624 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10625 should need to care about that.
10627 * lyxfunc.C (verboseDispatch): simplify a bit
10628 (getStatus): have a version which takes a pseudoaction, and
10629 another which requires a (kb_action,string).
10631 * LyXAction.C (retrieveActionArg): make it work also when action
10632 is not a pseudo-action.
10633 (getActionName): simplify a bit
10636 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10638 * lyxfunc.C (verboseDispatch): new families of methods with
10639 several ways to specify a command and a bool to indicate whether
10640 the command name and shortcut should be displayed in minibuffer
10641 (eventually, we could extend that to a finer bitmask like
10642 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10643 (dispatch): the pristine dispatch command which just, well,
10644 dispatchs! Note it still sets its result to minibuffer; I'm not
10647 * lyxfunc.h: remove setHintMessage
10649 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10651 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10653 * BufferView_pimpl.C (specialChar): delete new inset if we have
10654 not been able to insert it.
10656 * kbmap.C: revert to using int instead of kb_action, since all we
10657 are dealing with is pseudo-actions.
10659 * LyXAction.C (searchActionArg): change to return int instead of
10660 kb_action, since the result is a pseudoaction.
10662 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
10664 * buffer.C (insertErtContents): Fix (partially) the font bug.
10666 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10668 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10669 as the other one is broken on my machine!
10671 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
10674 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10676 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
10678 * lyxrc.[Ch]: change names and descriptions of popup font variables to
10679 reflect their actual use. Provide compatibility code for older lyxrc
10682 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10684 change names of popup font variables in line with the changes to lyxrc.C
10686 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10688 * buffer.C (asciiParagraph): avoid outputing a word twice after
10691 * lyxrc.C (getDescription): document that document_path and
10692 template_path can be empty.
10694 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10696 * LaTeXFeatures.C (getMacros):
10697 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10699 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10701 * LaTeXFeatures.C (useFloat): require "float" here instead of in
10703 (getPackages): rename feature "floats" to "float". Use an array to
10704 iterate over 'simple' features (i.e. just a \usepackage). Add
10705 handling of "amsmath" (renamed from "amsstyle").
10707 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
10709 * LaTeXFeatures.C (require): Prevent duplicate entries in the
10712 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
10714 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10715 FuncStaus::FuncStatus & FuncStaus::some_method().
10717 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
10719 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10720 of the func_satus stuff. Edited and massaged in various ways by
10723 * lyxfunc.C (getStatus): use FuncStatus
10725 2002-01-08 Juergen Vigna <jug@sad.it>
10727 * text.C (nextBreakPoint): use function Inset::isChar().
10729 * paragraph.C (TeXOnePar): use function
10730 Inset::forceDefaultParagraphs.
10732 * buffer.C (latexParagraphs): use function
10733 Inset::forceDefaultParagraphs.
10735 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10737 * lyx_gui.C (init): set the style of the menu popups to
10738 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10740 2002-01-07 Juergen Vigna <jug@sad.it>
10742 * text.C (setHeightOfRow): small fix
10743 (prepareToPrint): don't look at alignment if we don't have the place
10746 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10748 * box.C: New file. Move the Box methods and functions out of box.h,
10749 following Lars' suggestion.
10751 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10753 * box.h: #include "support/LOstream.h", needed for inlined function.
10756 * lyxtextclasslist.C: added some using std declarations.
10758 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
10760 * box.h: make signed dimensions to allow insets wider than
10761 the screen (bug #162)
10763 * BufferView_pimpl.C: add some insetHit debug
10765 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
10767 * vc-backend.C: add FIXME
10769 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10771 * lyxfunc.C (getStatus): enable code for showing math font status
10774 2002-01-07 Juergen Vigna <jug@sad.it>
10776 * text.C (nextBreakPoint): removed debug output not needed anymore.
10778 2002-01-06 Juergen Vigna <jug@sad.it>
10780 * text.C (nextBreakPoint): fixed up this function we had this bug
10781 since ever but now hopefully we break row better.
10782 (insertChar): we have to check if an inset is the next char as it
10783 could now happen that a large inset is causing a break.
10785 2002-01-05 Juergen Vigna <jug@sad.it>
10787 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10788 if it doesn't like to be drawed.
10790 2002-01-04 Juergen Vigna <jug@sad.it>
10792 * BufferView2.C (lockInset): forgot to set a cursor.
10794 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10796 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
10798 * FormMathsPanel.C:
10801 * form_maths_panel.C:
10802 * form_maths_panel.h:
10803 * form_maths_panel.fd: implemented sub- and super- buttons in math
10806 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10807 (or ^ space) to be used as in TeX (req'd by André).
10809 * lyxfunc.C: Allow ^ and _ again to be used both as
10810 super/subscript (mathed) and as themselves (in text).
10812 2002-01-03 Allan Rae <rae@lyx.org>
10814 * LyXView.C (updateWindowTitle): Setup a short icon title of either
10815 "LyX" or the filename of the current buffer if it has one. This is a
10816 modified form of John Levon's patch.
10818 * XFormsView.C (setWindowTitle): also set icon title.
10820 * LyXView.h (setWindowTitle): signature changed.
10821 * XFormsView.h (setWindowTitle): ditto.
10823 2002-01-02 Juergen Vigna <jug@sad.it>
10825 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10827 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10829 * screen.C (topCursorVisible): introduce a temp var for
10830 text->cursor.row(), handle the case where this row is null. (kindo
10833 * text2.C (setCursor): add a couple of asserts.
10835 * paragraph.h (inset_iterator): add -> operator
10837 * paragraph.[Ch] (autoDeleteInsets): remove member function
10839 * BufferView2.C (removeAutoInsets): rewrite to handle the old
10840 cursor pos correctly and handle inset deletion by itself.
10841 (insertErrors): move iterator declaration out of for expression
10843 * lyxtextclass.C: add <algorithm>
10845 * Makefile.am: added the new files to sources, removed layout.C
10847 * layout.C: removed file
10849 * layout.h: remove LYX_DUMMY_LAYOUT
10851 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10855 * lyxtextclass.[Ch]:
10856 * lyxtextclasslist.[Ch]: new files
10858 * include order changes to a lot of files, also changes because of
10861 2001-12-27 Juergen Vigna <jug@sad.it>
10863 * buffer.C (asciiParagraph): more fixes.
10865 * tabular.C (ascii): make ascii export support export of only the
10866 data separated by a column-delimiter.
10867 (ascii): better support for ascii export.
10869 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10871 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10873 * tabular_funcs.C: use a "using std::getline" instead of the
10874 previous fix from Angus (necessary for cxx + lyxstring)
10876 2001-12-24 Juergen Vigna <jug@sad.it>
10878 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10880 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10881 problems. First check a minipage also if we have some ert-contents
10882 (not only on par->size(), second set the right depth of the paragraph
10883 on the relink to the root-paragraph-list!
10885 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10886 which then did not anymore update the main paragraphs on undo/redo!
10888 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10890 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10891 code. Support all font-changing funcs (even those which are not in
10892 menu currently). Support for reporting font settings in
10893 mathed (disabled until Andre provides a function on mathed's side).
10895 * func_status.h (toggle): small helper function to set toggle
10898 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
10900 * tabular_funcs.C: getline -> std::getline
10902 2001-12-21 Juergen Vigna <jug@sad.it>
10904 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10905 accessed and could be 0 (I couldn't generate this but it seems
10908 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10910 * tabular_funcs.C: add LIstream.h, move write_attribute to..
10911 * tabular_funcs.h: here and include iosfwd
10913 2001-12-20 Juergen Vigna <jug@sad.it>
10915 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10916 inside inset but undo_par was.
10918 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10920 * Thesaurus.C: always include <config.h> in sources.
10924 * box.h: do not include <config.h> in header files
10926 * text.C (paintLastRow): remove unused variable
10928 * text.C (transformChar):
10930 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10932 * Painter.C (text):
10933 * font.C (width): rewrite to use uppercase() instead of
10936 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10938 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
10940 * lyxfind.C: clean up of find failure position change
10942 2001-12-20 Juergen Vigna <jug@sad.it>
10944 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10946 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10947 (TeXRow): added to LaTeX a single tabular row.
10948 (TeXLongtableHeaderFooter): added to output LT-h/f data.
10949 (Latex): simplified and finally good LT-h/f support.
10950 (various_functions): just small adaptions for LT-h/f support.
10952 * tabular_funcs.[hC]: added and moved here all not classfunctions
10955 2001-12-19 Juergen Vigna <jug@sad.it>
10957 * tabular.[Ch]: better support for longtabular options (not finished
10960 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10962 * text.C (paintLastRow): use the label font instead of the font of
10963 the last character to compute the size of *_BOX. This makes more
10964 sense and avoids a crash with empty paragraphs.
10965 Use Painter::rectangle to draw EMPTY_BOX.
10967 2001-12-19 Juergen Vigna <jug@sad.it>
10969 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10970 the paragraphs if the replaced paragraph is not the first one!
10971 Tried to delete not used paragraphs but does not work yet so for
10972 now it's inside #ifdef's and by default off!
10974 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10976 * MenuBackend.C: include "lyx_main.h" instead of declaring
10977 lastfiles (actually was declared as LastFiles* instead of a
10980 2001-12-17 Juergen Vigna <jug@sad.it>
10982 * tabular.C (AppendColumn): applied John's fix
10984 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
10988 * BufferView_pimpl.h:
10989 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10992 * box.h: new start of class for above
10994 * lyxfunc.C: ignore space-only minibuffer dispatches.
10995 Show the command name when it doesn't exist
10997 * minibuffer.C: don't add empty lines to the history
10999 * minibuffer.C: add a space on dropdown completion
11001 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
11003 * text.C: fix line above/below drawing in insets
11005 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11007 * lyxlength.C (LyXLength): Initialize private variables.
11009 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
11011 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11012 when inserting error insets.
11014 2001-12-13 Juergen Vigna <jug@sad.it>
11016 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11017 actually sometimes the before-paragraph.
11018 (setUndo): don't clear the redostack if we're not actually undoing!
11020 2001-12-06 Juergen Vigna <jug@sad.it>
11022 * undo_funcs.C (textHandleUndo): well after John's hint I got here
11023 and fixed redoing of main paragraph, so we can use it now ;)
11025 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11027 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11029 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11032 2001-12-13 André Pönitz <poenitz@gmx.net>
11035 * undo_func.C: minor cleanup
11037 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11039 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11040 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11041 font in urw-fonts package which is marked as -urw-fontspecific and
11042 does not work (incidentally, changing the encoding in the
11043 fonts.dir of this package to -adobe-fontspecific fixes the
11046 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11047 is a crash when undoing first paragraph (Juergen, please take a
11048 look). THis does not mean the undo fix is wrong, just that it
11051 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11052 the (Paragraph*) version when needed instead of duplicating the
11055 * text.C (workWidth): use Inset::parOwner to find out where the
11056 inset has been inserted. This is a huge performance gain for large
11057 documents with lots of insets. If Inset::parOwner is not set, fall
11058 back on the brute force method
11060 * paragraph_pimpl.C (insertInset):
11061 * paragraph.C (Paragraph):
11062 (cutIntoMinibuffer): set parOwner of insets when
11063 inserting/removing them
11065 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11067 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
11073 * mathed/formulabase.C:
11074 * mathed/math_cursor.[Ch]:
11075 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11078 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11080 * lyxlength.[Ch] (operator!=): new function
11082 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11084 * text.C (workWidth): use Inset::parOwner to find out where the
11085 inset has been inserted. This is a huge performance gain for large
11086 documents with lots of insets. If Inset::parOwner is not set, fall
11087 back on the brute force method
11089 * paragraph_pimpl.C (insertInset):
11090 * paragraph.C (Paragraph):
11091 (cutIntoMinibuffer): set parOwner of insets when
11092 inserting/removing them
11094 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11096 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11098 * tabular-old.C (getTokenValue):
11099 * tabular.C (getTokenValue):
11100 (write_attribute): new versions for LyXLength
11101 (everywhere): adjust the use of widths
11103 * tabular.h: change the type of widths from string to LyXLength
11105 2001-12-11 Ben Stanley <bds02@uow.edu.au>
11107 * paragraph.C: fixed missing line number count when exporting
11108 Environments to LaTeX file
11110 * buffer.C: added informational message for checking line numbers.
11112 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11114 * text2.C (deleteEmptyParagraphMechanism): if there is only one
11115 paragraph, do the 'double space' part, but not the 'empty
11118 * text.C (workWidth): small optimization
11119 (getLengthMarkerHeight): use minimal size for negative lengths.
11121 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
11123 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11125 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11127 2001-12-11 André Pönitz <poenitz@gmx.net>
11130 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11132 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11134 * text2.C: keep selection on a setFont()
11136 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11138 * lyx_cb.C: another bv->text misuse, from insert label
11140 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11143 * kbsequence.C: re-instate nmodifier mask
11145 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
11147 * lyx_main.h: make lyxGUI private.
11149 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11151 * lyxfind.C: place the cursor correctly on failed search
11153 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11155 * text.C (getLengthMarkerHeight): for small heights, the arrows
11156 are not always on top/bottom of the text
11157 (drawLengthMarker): smaller arrows; take the left margin in
11158 account; draw also vfills.
11160 (paintLastRow): remove special code for vfill and standard spaces,
11161 since everything is handled in drawLengthMarker now.
11163 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11165 * buffer.C (insertErtContents): try to handle font and language
11166 interaction a bit better.g
11168 * ColorHandler.C (updateColor): change the hash to cover the whole
11169 LColor enum, ws cleanup
11170 (getGCLinepars): ditto
11171 (getGCLinepars): only lookup in the linecache once.
11173 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
11175 * iterators.C (operator++): Make the iterator more robust
11177 * BufferView2.C (removeAutoInsets): Use paragraph iterators
11179 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11181 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11184 * text.C: better added space drawing
11186 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11189 * BufferView2.C: fix layout combo update on inset unlock
11191 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11193 * Makefile.am: don't compile unused files
11195 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11199 * LyXAction.C: remove old LFUN_LAYOUTNO
11201 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11203 * paragraph_pimpl.h:
11204 * paragraph_pimpl.C: isTextAt() doesn't need font param
11206 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11209 * lyxlex.C: little cleanup
11211 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11213 * BufferView_pimpl.C: fix insertAscii for insets
11215 2001-12-05 Juergen Vigna <jug@sad.it>
11217 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11218 set the right font on the "multi" paragraph paste!
11220 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11226 * lyxlength.C: remove out-commented code.
11228 * BufferView_pimpl:
11242 * vc-backend.C: change "while(" to "while ("
11244 * lyxlength.[Ch]: add zero function to check if length is zero or
11246 * lyxgluelength.C: use it
11248 2001-12-05 Allan Rae <rae@lyx.org>
11250 * lyxlength.C: Attempted a fix for the abs(int) header selection.
11251 Works for 2.95.3, from what I understand of Garst's reports this should
11252 work for other g++ versions. We're screwed if the abs(int) definition
11253 changed between bugfix releases of gcc.
11255 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11257 * text.C: fix chapter label offset !
11259 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11262 * text.C: fix hfill at end of line, clean up
11264 2001-12-04 Juergen Vigna <jug@sad.it>
11266 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11267 that we force an update of the inset and it's owners if neccessary.
11269 2001-12-03 Juergen Vigna <jug@sad.it>
11271 * text.C (rowLast): simplified code
11273 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11275 * lyxfunc.C: fix show options on timeout
11277 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11279 * screen.C (topCursorVisible): scroll half a page when the cursor
11280 reached top of bottom of screen
11282 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
11284 * minibuffer.C: deactivate on loss of focus
11286 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11288 * vspace.[Ch] (operator!=): add operator.
11290 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
11292 * BufferView_pimpl.C: refuse to open an inset when
11293 there's a selection.
11295 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
11297 * BufferView_pimpl.C: allow to click on RHS of full row insets
11299 2001-11-30 Juergen Vigna <jug@sad.it>
11301 * tabular.C (LyXTabular): add a same_id to set the same id's in the
11302 insets for undo reasons.
11304 2001-11-28 André Pönitz <poenitz@gmx.net>
11306 * vspace.[Ch]: cosmetical changes
11308 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11318 * kbsequence.C: part re-write of old kb code
11321 * WorkArea.C: remove Lgb_bug_find_hack
11323 2001-11-30 José Matos <jamatos@fep.up.pt>
11325 * buffer.C (makeDocBookFile): add a comment to point a hack.
11326 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11327 Fixed a double write of labels.
11329 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11332 * LaTeX.h Fixed bug in LaTeX class where it would not
11333 re-run latex if no depfiles were changed, but the .dvi was removed.
11335 2001-11-28 André Pönitz <poenitz@gmx.net>
11337 * all the files from the change on 2001/11/26:
11338 use lyx::layout_type instead of LyXTextClass::size_type
11339 use lyx::textclass_type instead of LyXTextClassList::size_type
11341 2001-11-29 Juergen Vigna <jug@sad.it>
11343 * text.C: added support for paragraph::isFreeSpacing()
11345 * buffer.C: same as above
11347 * paragraph.h: inserted isFreeSpacing() function to enable
11348 FreeSpacing inside InsetERT.
11350 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11351 of the paragraph's in the cut/copy buffer to 0!
11353 * text2.C (removeRow): remove the assert as it can!
11355 * lyxtext.h: added helper function firstRow returning firstrow and
11356 made firstrow private again.
11358 * BufferView2.C (lockInset): don't relock if we're already locked!
11360 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11361 the only paragraph.
11362 (removeRow): added Assert::(firstrow)
11364 * debug.C: forgot to add INSETTEXT here.
11366 2001-11-28 Juergen Vigna <jug@sad.it>
11368 * sp_spell.C (initialize): changed error text to more general
11369 spellchecker command use (not only ispell!)
11371 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11373 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11375 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11377 * vspace.C: initialise lyxgluelength on failure
11379 2001-11-28 Allan Rae <rae@lyx.org>
11381 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11382 declaration & definition that looks like a function declaration.
11384 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11386 * BufferView2.C (copy):
11387 (copyEnvironment): do not clear the selection when doing a copy.
11389 * text.C (paintFirstRow): compilation fix
11391 2001-11-27 Ben Stanley <bds02@uow.edu.au>
11393 * tabular.C (Latex): correct line count when writing latex.
11395 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
11397 * paragraph_pimpl.h:
11398 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11401 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11405 * LColor.C: change vfillline->added_space
11407 * text.C: add markers and text for added space
11409 * vspace.C: fix comment
11411 2001-11-28 André Pönitz <poenitz@gmx.net>
11413 * paragraph.C: whitespace changes
11414 * all the other files from the change on 2001/11/26:
11415 change *::pos_type into lyx::pos_type
11417 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
11419 * buffer.C (parseSingleLyXformat2Token): Set the language to the
11420 language of the document when inserting error insets.
11422 2001-11-26 André Pönitz <poenitz@gmx.net>
11424 * BufferView_pimpl.[Ch]:
11432 * paragraph_pimpl.[Ch]:
11435 * text2.C: reduce header dependencies, introduce type for positions
11437 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11439 * <various>: change to use Alert.h
11441 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
11443 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11444 when encountering an unknown token.
11445 (readLyXformat2): Show an error message if there were unknown tokens.
11447 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
11450 * BufferView_pimpl.C:
11454 * text2.C: use par->isInset()
11456 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11458 * paragraph_pimpl.h:
11459 * paragraph_pimpl.C: cleanup
11461 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11463 * text2.C (removeRow):
11464 * text.C (setHeightOfRow): remove useless (and costly) call to
11467 2001-11-20 Allan Rae <rae@lyx.org>
11469 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11470 Now need Inset*::checkInsertChar() to return true for appropriate
11471 cases so that the characters in the minibuffer will actually be
11474 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11476 * text.C: change the order of the includes.
11477 (workWidth): initialize it at once.
11478 (workWidth): make maxw unsigned
11479 (setHeightOfRow): remove unused variable (inset)
11480 (selectSelectedWord): remove unused variable (inset)
11481 (paintRowText): fix drawing of hfill characters, and clean up a bit.
11483 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11485 * lyxserver.C (emergencyCleanup): do not try to close pipes if
11486 server is not running.
11488 (closeConnection): add debug info when server is disabled.
11490 * ColorHandler.C (getGCForeground): send debug message to GUI
11493 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11495 * kbmap.C (bind): modify because return conventions of
11496 kb_sequence::parse have changed.
11498 * kbsequence.C (parse): only ignore spaces and not any stupid
11499 control character. This avoids tests like s[i] <= ' ', which are
11500 guaranteed to fail with 8bit characters and signed chars.
11501 Change return code to string::npos when there have been no error
11502 (0 was a bad idea when error is at first character)
11504 2001-11-14 José Matos <jamatos@fep.up.pt>
11507 * buffer.C (simpleDocBookOnePar): removed unused argument.
11509 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11511 * text.C (selectNextWordToSpellcheck): do not test explicitely for
11512 insets which are part of a word. Paragraph::isLetter takes care of
11513 that now. Use Paragraph::isInset to identify insets.
11514 (selectSelectedWord): do not test for hyphenation break.
11516 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11517 that protected spaces are considered as spaces.
11519 * paragraph.C (isLetter): cleanup the code for ispell extras; use
11522 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
11525 * lyxserver.C: fix it. and small cleanup.
11527 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11529 * BufferView_pimpl.C: use inline helpers
11532 * LaTeXFeatures.C: fix typos
11535 * Spacing.C: move spacing_string into class
11537 * ToolbarDefaults.C: move stuff into namespace anon
11539 * layout.h: update enum
11541 * lyxfunc.C: use better debug
11543 * minibuffer.h: fix typo
11547 * WorkArea.C: add and use Debug::WORKAREA
11551 * text2.C: code re-organisation, inline helpers
11553 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
11555 * Layout.C: replaced a few cases of std::vector.size() == 0 with
11556 std::vector.empty().
11558 2001-11-09 Allan Rae <rae@lyx.org>
11560 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11561 '\n's after tables. Tabular and ERT inset work now makes this no
11564 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11567 * minibuffer.C: fix crash, improve drop-down completion
11569 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11572 * lyxserver.C: invalidate fd's when doing endPipe()
11574 2001-11-08 José Matos <jamatos@fep.up.pt>
11576 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11577 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11580 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11582 2001-11-07 José Matos <jamatos@fep.up.pt>
11585 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11588 * buffer.C (sgmlOpenTag):
11589 * buffer.C (sgmlCloseTag): removed debug info.
11591 * buffer.h (sgmlOpenTag):
11592 * buffer.h (sgmlCloseTag): made public.
11594 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11596 * buffer.C (saveParamsAsDefaults):
11597 * lyx_cb.C (MenuLayoutSave): remove
11599 * LyXAction.C (init):
11601 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11603 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11605 * buffer.C (setPaperStuff): removed from here...
11607 * bufferparams.C (setPaperStuff): ... and moved there.
11609 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11613 * XFormsView.C: add support for drop-down completion
11615 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11617 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11620 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11622 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11625 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11627 * lyx_main.C: change ref to known bugs
11629 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11631 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11632 to work around older babel problems.
11634 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11636 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11638 2001-10-24 Juergen Vigna <jug@sad.it>
11640 * tabular-old.C (ReadOld): below variable changes reflected.
11642 * tabular.[Ch]: added ltType struct for longtable header/footer
11643 defines and changed all instances where they are used. Added
11644 future support for double top/bottom rows.
11646 2001-10-24 José Matos <jamatos@fep.up.pt>
11648 * buffer.h (docbookHandleCaption):
11649 * buffer.C (docbookHandleCaption): removed unused function.
11650 (makeDocBookFile): moved docbook supported version to v4.1.
11652 2001-10-24 José Matos <jamatos@fep.up.pt>
11655 * tabular.C (docbookRow): new function to export docbook code of a row.
11656 (DocBook): now honors the longtable flags.
11658 2001-10-23 José Matos <jamatos@fep.up.pt>
11661 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11662 of the lyx defined sgml entities used in a docbook/linuxdoc document.
11664 * buffer.C (makeLinuxDocFile):
11665 (makeDocBookFile): reworked the preamble, more clean, and with
11666 support for lyx defined entities. Changed the document declaration
11667 to be more XML friendly.
11669 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11670 if we need to output XML that should be done with a filter.
11672 2001-10-22 Juergen Vigna <jug@sad.it>
11674 * sp_pspell.h (class PSpell): add alive function needed in the
11675 controller to see if the spellchecker could be started.
11677 2001-10-22 Juergen Vigna <jug@sad.it>
11679 * buffer.C (insertStringAsLines): modify the font for inserting
11680 chars in certain conditions by calling checkInsertChar(font).
11682 2001-10-19 Juergen Vigna <jug@sad.it>
11684 * text.C (workWidth): use getRow instead of wrong algorithm.
11685 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11687 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
11692 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11694 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11696 * text.C (workWidth): do not search for the exact row when
11697 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11698 optimization for big documents.
11700 2001-10-18 Juergen Vigna <jug@sad.it>
11702 * text.C (workWidth): new function with added Inset * parameter.
11704 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11706 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11708 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11709 change return type of getColumnNearX.
11712 * text.C (changeRegionCase): use uppercase/lowercase instead of
11715 (rightMargin): simplify code by factoring out the uses of
11720 (appendParagraph): use Paragraph::size_type
11722 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11724 * vspace.C (asLatexString): add a missing break
11726 2001-10-15 Herbert Voss <voss@perce.de>
11728 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11730 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11732 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11735 2001-10-10 André Pönitz <poenitz@gmx.net>
11737 * lyxfunc.C: removed greek_kb_flag.
11739 2001-10-10 Herbert Voss <voss@perce.de>
11741 * lyx_main.C: delete global string help_lyxdir.
11743 2001-10-09 Herbert Voss <voss@perce.de>
11745 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11747 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11749 * lyx_main.C: added global string help_lyxdir.
11751 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11753 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
11755 * lyxrc.C (set_font_norm_type): support iso8859-4
11757 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
11759 * LaTeX.C (deplog): add another regex for MikTeX
11761 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
11763 * lyxrc.C (set_font_norm_type): support iso8859-3
11765 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11767 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11769 * LaTeXFeatures.C: remove special case of french and index
11771 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11772 before \begin{document}). This solves several incompatibilities.
11774 2001-10-03 Garst Reese <reese@isn.net>
11776 * lyx_cb.C: change CheckTex error msg.
11778 2001-10-03 José Matos <jamatos@fep.up.pt>
11780 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11782 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11784 * .cvsignore: update
11786 * lyx_main.C (commandLineVersionInfo): use new style version info.
11788 * buffer.C (writeFile):
11790 (makeLinuxDocFile):
11791 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11793 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11795 * version.h: update to use stuff in version.C
11797 * version.C.in: new file. Contains version information determined
11798 at compile time. This is a merging of version.h and
11801 2001-10-03 Juergen Vigna <jug@sad.it>
11803 * BufferView_pimpl.C (update): don't change "dirty" status in
11806 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
11808 * WorkArea.C (c-tor): re-position version string slightly.
11810 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
11812 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11813 revert to previous code.
11815 WorkArea.[Ch]: (show, destroySplash): methods removed.
11817 WorkArea.C: rework code so that it's an amalgam of the codes before and
11818 after the splash screen was moved to WorkArea.
11820 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11823 * vspace.C (inPixels):
11826 * buffer.C (insertStringAsLines):
11827 (asciiParagraph): fix types to be large enough
11829 * lyxlex_pimpl.h: change member status from short to int
11831 * layout.h: fix type of endlabeltype
11834 * kbsequence.C (parse): change return type to string::size_type
11836 * LaTeX.C (updateBibtexDependencies): comment out unneeded
11839 * Bullet.C (bulletSize):
11840 (bulletEntry): do not use short ints as parameters
11842 * BufferView2.C (insertLyXFile): change a char to an int.
11844 * WorkArea.C (WorkArea): remove unneeded floats in computation
11846 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
11848 * buffer.C (asciiParagraph): Treat '\\' as other chars.
11850 * paragraph.C (asString): Do not ignore newline/hfill chars when
11851 copying to the clipboard.
11853 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
11855 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11856 after a multi-line inset.
11858 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
11860 * paragraph.C (validate): Set NeedLyXFootnoteCode
11862 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11864 * lyxfont.C (LyXSizeNames): changed increase-error to increase
11865 and decrease-error to decrease.
11867 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11869 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11870 it more readable (should be equivalent)
11872 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
11874 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11876 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11878 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11879 of a cursor (row, etc.) after a character has been deleted
11880 (deleteEmptyParagraphMechanism): call the method above on _all_
11881 cursors held by the LyXText when a double space has been
11884 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11886 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11888 (resizeCurrentBuff): remove code to destroy the old splash dialog.
11890 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11891 background. Use greyOut() and the new show() methods to toggle between
11892 the foreground and background. Add code to remove the splash after
11893 its initial showing.
11895 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11896 (create_forms): no longer call Dialogs::showSplash.
11898 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11900 * .cvsignore: add version_info.h
11902 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11904 * version_info.h.in: new file
11906 * Makefile.am: add version_info.h.in
11908 * lyx_main.C (commandLineVersionInfo): use version_info defined in
11909 version_info.h instead of VERSION_INFO
11911 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
11913 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11914 The ERT inset now returns string().
11916 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
11918 * lyxtext.h, text.C (selectNextWord): renamed as
11919 selectNextWordToSpellcheck.
11921 * text.C (selectNextWordToSpellcheck): Modified to not select
11922 words inside an ERT inset.
11924 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11926 * lyx_cb.C (MenuLayoutSave): change a bit the question
11928 * sp_base.h: include <sys/types.h>
11930 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
11932 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11934 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
11936 * several files: fix typos in user-visible strings
11938 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11940 * text2.C (pasteSelection): do not set the selection, since it
11941 will be cleared later. Actually, the intent was to fix the way the
11942 selection was set, but I figured rmoving the code was just as good.
11944 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
11946 * FontLoader.C (available): Check if font is available without
11949 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11951 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11953 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
11955 * lyxrc.[Ch]: added display_graphics variable and associated code.
11957 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11959 * bufferparams.C (hasClassDefaults): new method. Returns true if
11960 the buffer parameters correspond to known class defaults
11962 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
11964 * XFormsView.C (show): set minimum size to the main window.
11966 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11968 * text2.C (copySelection):
11970 * lyxfind.C (LyXReplace):
11971 * BufferView_pimpl.C (Dispatch): pass the correct flag to
11972 LyXText::selectionAsString.
11974 * paragraph.C (asString): add "label" argument to the second form
11976 * text2.C (selectionAsString): add "label" argument and pass it to
11977 Paragraph::asString.
11979 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11981 * lyx_main.C (commandLineHelp): remove version information
11983 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
11985 * lyx_main.C: add -version commandline option
11987 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11989 * paragraph.h: make the optional constructor arg required instead.
11990 some modifications to other files because of this.
11992 * minibuffer.C (C_MiniBuffer_peek_event): make it static
11994 * lyxserver.C (C_LyXComm_callback): make it static
11996 * lyx_main.C (error_handler): make it static
11998 * lyx_gui.C (LyX_XErrHandler): make it static
12000 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12002 * WorkArea.C: make the extern "C" methods static.
12004 * Makefile.am (lyx_LDADD): simplify
12006 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12008 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12009 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12011 * LyXAction.C (init):
12012 * lyxfunc.C (dispatch): associated code removal.
12014 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12016 * lyxfont.h (isSymbolFont): shut off warning
12018 * text.C (setHeightOfRow):
12019 (getVisibleRow): fix crash with empty paragraphs which have a
12022 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
12024 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12027 2001-09-04 José Matos <jamatos@fep.up.pt>
12030 * tabular.C (docbook): rename docBook method to docbook.
12032 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12034 * Makefile.am: add dependencies to main.o.
12036 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
12038 * FontLoader.C (available): Return false if !lyxrc.use_gui
12040 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
12042 * FontInfo.C (query):
12043 * converter.C (view):
12044 * importer.C (Import):
12045 * exporter.C (Export): Can not -> cannot.
12047 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
12049 * BufferView_pimpl.C: allow to create index inset even if
12052 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12054 * buffer.C (getLists): replace boost::tie code with an explicit pair
12055 as boost::tie can break some compilers.
12057 * iterators.h: Added a std:: declaration to the return type of
12060 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
12062 * lyxrc.C: add help for view_dvi_paper_option, default to safe
12065 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
12067 * iterators.[Ch]: New files. Provide paragraph iterators.
12069 * buffer.C (changeLanguage): Use paragraph iterators.
12070 (isMultiLingual): ditto
12072 * BufferView2.C (ChangeInsets): Use paragraph iterators.
12074 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
12076 * FontLoader.C: Support for cmr font.
12078 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
12080 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12081 (available): New method.
12083 * FontInfo.C (getFontname): Use scalable fonts even when
12084 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12087 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12089 * converter.C (Formats::view): reverted! Incorrect fix.
12091 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12093 * converter.C (Formats::view): only output the -paper option
12094 if the dvi viewer is xdvi, thereby fixing bug #233429.
12096 2001-08-23 Herbert Voss <voss@perce>
12098 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12100 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
12102 * Spacing.h (Spacing): Set space to Default on in the default
12105 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
12107 * vc-backend.h (RCS::versionString): add RCS to version
12108 (CVS::versionString): add CVS to version
12110 * vc-backend.C (scanMaster): do not add CVS to version.
12111 (scanMaster): do not add RCS to version
12113 * lyxvc.C (versionString): new method
12115 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12117 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12119 * Spacing.C (set): initialize fval
12121 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
12123 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12126 2001-08-16 Juergen Vigna <jug@sad.it>
12128 * lyxfunc.C (dispatch): implemented the new FINISHED states.
12130 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12132 * BufferView_pimpl.C:
12135 * text2.C: setParagraph takes linespacing now
12137 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
12139 * LyxAction.C: add internal LFUN_CITATION_INSERT
12141 * LyXView.C: actually apply fix
12143 * bufferlist.C: fix open non-existent file
12145 * lyxfind.C: fix indentation
12147 * lyxfunc.C: remove unneeded assert, fix typo
12149 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12151 * MenuBackend.C: use "Floatname List"
12153 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
12155 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12156 when converting LaTeX layout to insetERT.
12157 Generate a non-collapsed float when reading old float
12159 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12161 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12164 2001-08-13 Juergen Vigna <jug@sad.it>
12166 * text.C (fill): return 0 instead of 20 as this seems to be the more
12169 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12171 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12174 2001-08-13 Juergen Vigna <jug@sad.it>
12176 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12178 (SearchBackward): comment out the unlocking of the inset_owner this
12179 should not be needed!
12181 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
12183 * Many files: Remove inherit_language, and add latex_language
12185 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12186 collapsible insets.
12188 2001-08-10 Juergen Vigna <jug@sad.it>
12190 * text.C (prepareToPrint): fixed hfill-width in draw!
12192 * BufferView2.C (selectLastWord): save the selection cursor as this
12193 now is cleared in the function LyXText::clearSelection!
12195 2001-08-08 Juergen Vigna <jug@sad.it>
12197 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12198 BACKSPACE type functions.
12200 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12201 is only cutted from the document but not put in the cut-buffer, where
12202 still the old stuff should be.
12204 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12206 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12208 * tabular.C (SetWidthOfCell): fixed special case where the width
12210 (LeftLine): handle '|' in align_special.
12212 (LeftAlreadyDrawed): ditto
12213 (SetWidthOfCell): ditto
12215 2001-08-07 Juergen Vigna <jug@sad.it>
12217 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12219 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12221 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12222 * lyxlex.[hC]: ditto
12224 2001-08-06 Juergen Vigna <jug@sad.it>
12226 * text.C (getVisibleRow): fix up row clearing a bit.
12228 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12230 * minibuffer.C: make sure the X server sees the changes in the input.
12232 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12234 * paragraph.C (getFont): split into...
12235 (getLabelFont): this
12236 (getLayoutFont): and this
12237 * paragraph_pimpl.C (realizeFont): calling this
12239 * text2.C (getFont): split into...
12240 (getLayoutFont): this
12241 (getLabelFont): and this
12242 (realizeFont): all three calling this
12244 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12247 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12249 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12251 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
12253 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12254 layouts from the Quote inset insertion.
12256 2001-08-03 Juergen Vigna <jug@sad.it>
12258 * BufferView_pimpl.C (update): do the fitCursor only at the end!
12260 * screen.C (drawFromTo): don't call fitcursor here and do the loop
12261 only if status not is already CHANGED_IN_DRAW (second level).
12263 * text.C (draw): don't set the need_break_row when inside an
12266 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12268 * buffer.C (parseSingleLyXformat2Token): handle more latex
12271 * bufferview_funcs.[hC]: change function names to
12272 begin with small char, adjust other files.
12274 2001-08-02 André Pönitz <poenitz@gmx.net>
12277 BufferView_pimpl.C: remove broken special code for math-greek
12279 2001-08-02 Juergen Vigna <jug@sad.it>
12281 * BufferView_pimpl.C (update): redone this function so that we
12282 update the text again if there was a CHANGE_IN_DRAW.
12284 * screen.C (cursorToggle): removed LyXText parameter and recoded.
12285 (drawFromTo): added a new internal bool which is used by draw() and
12287 (general): some cursor drawing problems fixed.
12289 2001-08-01 Juergen Vigna <jug@sad.it>
12291 * lyxfind.C (LyXFind): fixed
12292 (SearchForward): ditto
12293 (SearchBackward): ditto
12295 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12296 spurius drawing of the cursor in the main area.
12298 * text2.C (status): small fix which could lead to a segfault!
12299 (clearSelection): remove unneeded BufferView param.
12301 2001-08-01 André Pönitz <poenitz@gmx.net>
12303 * lyxfunc.C: small change due to changed mathed interface
12305 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12307 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12309 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
12311 * lyxfunc.c: fail gracefully if file doesn't exist
12316 * BufferView_pimpl.C: IsDirWriteable() proto changed
12318 * LyXView.C: fix updateWindowTitle() to store the last title
12320 2001-07-31 Juergen Vigna <jug@sad.it>
12322 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12323 the font (wrong since using of Paragraph::highestFontInRange).
12325 * paragraph.C (highestFontInRange): added a default_size parameter.
12327 * text.C (getVisibleRow): minor clear row changes (still not perfect).
12328 (setHeightOfRow): reformat
12330 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12332 * converter.[hC] + affected files: move to (inital-char)lowercase
12335 * ParagraphParameters.C (ParagraphParameters): remove commented code
12337 * PainterBase.[Ch]: remove commented code
12339 * LaTeXFeatures.h: add "bool floats" for float.sty
12341 * LaTeXFeatures.C (LaTeXFeatures): init floats
12342 (require): handle float
12343 (getPackages): do it with floats
12345 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12347 * BufferView_pimpl.C (Dispatch): improve handling of
12348 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12350 * commandtags.h: #include lyxfont.h here temporarily to avoid
12353 * bufferlist.h: include LString.h here.
12355 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12357 * text2.C (getStringToIndex): new method.
12359 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
12361 * *: Reduced header file dependencies all over.
12363 2001-07-30 Baruch Even <baruch@lyx.org>
12365 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12367 2001-07-29 Baruch Even <baruch@lyx.org>
12369 * buffer.C (readInset): Changed GRAPHICS to Graphics.
12371 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12373 * ParameterStruct.h (endif): add a default constructor to make
12374 sure that all variables is initialized.
12376 * ParagraphParameters.C (ParagraphParameters): adjust
12378 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12380 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12381 index; also, check that there is something to index, and that it
12382 does not span over several paragraphs.
12383 (doubleClick): use WHOLE_WORD_STRICT for double click.
12385 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12387 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12390 2001-07-26 Baruch Even <baruch@lyx.org>
12392 * buffer.C (readInset): Changed to call up InsetGraphics when reading
12393 an InsetFig figure, backwards compatible reading of old figure code.
12395 2001-07-27 Juergen Vigna <jug@sad.it>
12397 * text2.C: font.realize function adaption.
12399 * text.C (draw): add a warnings lyxerr text if needed.
12401 * layout.C: font.realize function adaption.
12403 * language.C: add inherit_language and implement it's handlings
12405 * bufferview_funcs.C (StyleReset): remove language parameter from
12406 font creation (should be language_inherit now).
12408 * bufferparams.C (writeFile): handle ignore_language.
12410 * paragraph.C (getFontSettings): the language has to be resolved
12411 otherwise we have problems in LyXFont!
12413 * lyxfont.C (lyxWriteChanges): added document_language parameter
12414 (update): removed unneeded language parameter
12416 * paragraph.C (validate): fixed wrong output of color-package when
12417 using interface colors for certain fonts in certain environments,
12418 which should not seen as that on the final output.
12420 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
12422 * BufferView_pimpl.C:
12427 * LyXAction.C: add thesaurus support
12430 * lyxfind.C: add "once" parameter, for thesaurus, to not
12431 move to the next match
12433 2001-07-26 Juergen Vigna <jug@sad.it>
12435 * lyxfont.C (realize): honor ignore_language too!
12438 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12440 * text.C (draw): one place more for ignore_language to not draw
12443 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
12445 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12447 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12449 * buffer.C (parseSingleLyXformat2Token): a more general fix for
12450 the minipage conversion problem.
12452 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12454 * buffer.C (parseSingleLyXformat2Token): check minipage if we
12457 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12459 * BufferView.h: don't forward declare WorkArea
12461 * BufferView.C: don't include WorkArea.h
12463 2001-07-25 André Pönitz <poenitz@gmx.net>
12467 * lyxfunc.C: new LFUN 'math-space'
12469 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12471 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12473 * text2.C (toggleInset): call open/close
12475 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12477 * lyxfunc.C (dispatch): add debug for the disabled case
12479 * font.C (buttonText): make similar to rectText
12481 * buffer.C (readInset): comment out parsing of insetlist and
12484 * PainterBase.C (rectText): small correction
12486 * BufferView_pimpl.C: comment out insettheorem and insetlist
12487 * LyXAction.C: ditto
12488 * commandtags.h: ditto
12490 2001-07-24 Juergen Vigna <jug@sad.it>
12492 * text.C (draw): honor the ignore_language.
12494 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12496 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12498 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12501 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12503 * lyxtext.h: remove unused (and unimplemented) methods
12505 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12507 * text.C (getVisibleRow): honor background color
12510 * Painter.h: remove default color argument for fillRectangle
12512 * text.C (backgroundColor): new method
12514 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12516 * text.C (getVisibleRow): adjust
12518 * font.[Ch] (rectText): new method, metrics
12519 (buttonText): new method, metrics
12521 * PainterBase.[hC]: make rectText and buttonText always draw and take
12524 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12526 * ToolbarDefaults.C (read):
12527 * MenuBackend.C (read): allow escaping in all strings
12529 * BufferView_pimpl.C (insertAndEditInset): new method.
12530 (Dispatch): use insertAndEditInset whenever appropriate.
12532 * BufferView_pimpl.C (insertNote): removed
12534 * BufferView_pimpl.C (smartQuote): new method, moved from
12535 BufferView; if an insetquote cannot be inserted, insert a '"'
12538 * BufferView2.C: remove insertCorrectQuote();
12540 * lyxfunc.C (getStatus): Add support for all remaingin
12541 inset-insert lfuns.
12543 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12545 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12546 command (necessary to pass " as parameter of self-insert.
12548 * text.C (selectWordWhenUnderCursor):
12549 (selectWord): add word_location parameter
12550 (selectWordWhenUnderCursor): same + remove special code for word
12552 (selectNextWord): use kind() to guess type of insetspecialchar,
12555 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12556 (insertErtContents): create ert insets as collapsed.
12557 (readInset): better compatibility code for Info inset.
12559 2001-07-20 Juergen Vigna <jug@sad.it>
12561 * lyxfunc.C (dispatch): use always LyXFind now!
12563 * text2.C (init): add a reinit flag so that the LyXText can be
12564 reinited instead of deleted and reallocated (used in InsetText).
12566 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12572 2001-07-18 Juergen Vigna <jug@sad.it>
12574 * text.C (selectNextWord): handle insets inside inset by calling
12575 always the bv->text functions so that we can go up the_locking_inset!
12577 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12578 in strange locations when inside an inset!
12580 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12581 handling to include insets.
12583 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12585 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12587 * LyXAction.C (init):
12589 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12590 LIGATURE_BREAK, since the name is so stupid.
12592 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12594 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12597 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12599 * sp_form.[Ch]: remove.
12601 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12603 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12606 * src/buffer.C (readInset): ditto.
12608 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12610 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12611 menuSeparator(), endOfSentenceDot(), ldots() and
12612 hyphenationPoint(), which are therefore removed.
12613 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12615 * LyXAction.C (init):
12616 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12618 * paragraph.C (getWord): removed.
12620 * BufferView_pimpl.C (Dispatch): use last word or selection for
12621 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12623 * lyx_main.C (queryUserLyXDir): do not ask before creating
12624 user_dir, except if it has been named explicitely.
12626 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12628 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12629 a document of zero size.
12631 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12633 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12634 approriately in the c-tor and in require().
12635 (getPackages): output the appropriate LaTeX for natbib support.
12637 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12638 variables "use_natbib" and "use_numerical_citations" when reading the
12640 (readInset): read the various natbib cite commands.
12641 (validate): white-space change.
12643 * bufferparams.[Ch]: new variables "bool use_natbib" and
12644 "bool use_numerical_citations".
12645 (writeFile): output them in the LyX file.
12647 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12649 * lyxfunc.C (getStatus): add support for all the inset insertion
12652 * text2.C (insertInset):
12653 * paragraph.C (insetAllowed):
12654 * BufferView_pimpl.C (insertInset): update to take in account the
12655 renaming of insertInsetAllowed
12657 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12659 * text2.C (getInset): new method. returns inset at cursor position.
12661 * BufferView_pimpl.C (Dispatch): changes because of this.
12663 * LyXAction.C (init): rename open-stuff to inset-toggle.
12665 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12667 * text2.C (toggleInset): renamed from openStuff; use
12670 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
12672 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12674 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12676 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
12678 * buffer.C (readLyXformat2): Add filename to the error dialog
12680 2001-07-18 Juergen Vigna <jug@sad.it>
12682 * tabular.C (GetCellNumber): put an assert here instead of the check!
12684 2001-07-17 Juergen Vigna <jug@sad.it>
12686 * BufferView_pimpl.C (toggleSelection): adapted too.
12688 * text.C (selectNextWord): adapted for use with insets.
12689 (selectSelectedWord): ditto
12691 2001-07-17 Juergen Vigna <jug@sad.it>
12693 * sp_spell.C (PSpell): fix initialitation order.
12695 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12697 * paragraph.C: spacing
12699 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
12701 * sp_spell.C: repair language selection for pspell
12703 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12705 * lyxfunc.h: change more methods to begin with lower char.
12707 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
12709 * buffer.C (parseSingleLyXformat2Token): Generate error insets
12710 for unknown layouts.
12712 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
12714 * buffer.C (readLyXformat2): Generate an error dialog if there are
12717 2001-07-16 Juergen Vigna <jug@sad.it>
12719 * sp_spell.C: always compile ISpell part.
12721 * lyxrc.C: added use_pspell entry and it's handling.
12723 2001-07-13 Juergen Vigna <jug@sad.it>
12725 * sp_spell.C: removed double includes.
12727 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
12729 Consistent use of Lsstream.h:
12730 * Lsstream.h: added using std::stringstream for consistencies sake.
12732 * buffer.C: removed using std::stringstream
12734 * lyxfont.C (stateText):
12735 * paragraph.C (asString):
12736 * text.C (selectNextWord, selectSelectedWord):
12737 * text2.C (setCounter):
12738 * vspace.C (asString, asLatexString):
12739 std::ostringstream -> ostringstream.
12741 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12743 * LyXAction.C: add LFUN_HELP_ABOUTLYX
12744 * commandtags.h: add LFUN_HELP_ABOUTLYX
12745 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12747 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12749 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12751 * lyx_gui_misc.C: remove spellchecker
12752 * lyxfunc.C: showSpellchecker
12754 * sp_ispell.h: added
12755 * sp_pspell.h: added
12756 * sp_spell.C: added
12757 * sp_form.[Ch]: removed
12758 * spellchecker.[Ch]: removed
12760 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
12762 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12764 (simpleTeXSpecialChars): Simply print the input character without
12765 any special translation if pass_thru is set.
12767 * layout.h: Added bool pass_thru to layout class for being able to
12768 implement pass through of a paragraph for Literate Programming.
12770 * layout.C: add LT_PASS_THRU to LayoutTags enum.
12771 * layout.C (LyXLayout): set pass_thru to flase in constructor.
12772 * layout.C (Read): add "passthru" to list of layout tags and add
12773 code to set the pass_thru boolean when it is read.
12775 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12777 * trans_decl.h: remove allowed from KmodInfo
12779 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12780 remove allowed code
12783 * paragraph_pimpl.C (erase): use boost::prior
12785 * Painter.C (text): use data() instead of c_str() when length is
12787 * WorkArea.C (putClipboard): ditto
12788 * font.h (width): ditto
12790 * BufferView2.C: use it-> instead of (*it). for iterators
12792 * paragraph_pimpl.C: ditto
12793 * paragraph.C: ditto
12794 * minibuffer.C: ditto
12795 * language.C: ditto
12797 * encoding.C: ditto
12798 * counters.C: ditto
12799 * converter.C: ditto
12801 * Variables.C: ditto
12802 * TextCache.C: ditto
12803 * MenuBackend.C: ditto
12804 * LyXAction.C: ditto
12806 * FloatList.C: ditto
12807 * DepTable.C: ditto
12808 * ColorHandler.C (LyXColorHandler): ditto
12810 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12812 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12814 * text2.C (openStuff): reintroduce this method (which had been
12815 nuked in NEW_INSETS frenzy).
12817 * lyxfunc.C (Dispatch): when an action has not been handled, use
12818 its name in the error message, not its number.
12820 * paragraph.C (inInset): change method name to begin with lowercase.
12823 * text2.C: updates because of this.
12825 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12827 * ToolbarDefaults.C (add): add spaces in error message
12829 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12831 * buffer.C (readLyXformat2): initialize the ert comp. variables.
12832 (readLyXformat2): rename return_par to first_par, use lyxlex's
12833 pushToken and remove the manual push handling.
12834 (parseSingleLyXformat2Token): add another ert comp. variable:
12835 in_tabular, rename return_par to first_par. handle newlines better
12837 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12839 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12841 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12843 * text2.C (getParFromID): removed
12845 * buffer.C (getParFromID): new method moved form lyxtext.
12846 * BufferView2.C (insertErrors): adjust
12847 (setCursorFromRow): adjust
12848 * BufferView_pimpl.C (restorePosition): adjust
12849 * lyxfunc.C (Dispatch): adjust
12850 * undo_funcs.C (textUndo): adjust
12852 (textHandleUndo): adjust
12853 (textHandleUndo): adjust
12855 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12857 * buffer.C: up' the LYX_FORMAT
12859 * lyxfont.h: turn NO_LATEX on as default
12861 * buffer.C (insertErtContents): new methods of tex style compability.
12862 (parseSingleLyXformat2Token): use it several places.
12863 * tabular.C (OldFormatRead): and here
12865 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12867 * text2.C: remove some commented code.
12870 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12871 * trans.C: changes because of the above.
12873 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
12875 * text2.C (setCounter): Fix counters bug with bibliography layout.
12877 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12879 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12880 own member functions
12881 (simpleTeXSpecialChars): ditto
12883 2001-07-06 Juergen Vigna <jug@sad.it>
12885 * a lot of files: changed the access to LyXText::status and the
12886 call of undo-functions.
12888 * undo.[Ch]: added a inset_id to the undo informations.
12890 * undo_funcs.[Ch]: added and moved here all undo functions.
12892 * lyxtext.h: give the status enum a weight, made status_ a private
12893 variable and made accessor functions for it, removed the whole bunch
12894 of undo-functions as they are now in their own file, make some
12895 functions publically available. Added function ownerParagraph with
12898 * paragraph.[Ch]: added "bool same_ids" to the constructor,
12899 made InInset() a const function, added getParFromID() function.
12901 * buffer.[Ch]: added const version for inset_iterator functions,
12902 added getInsetFromID() function.
12904 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12905 changed undo functions for new version.
12907 2001-07-05 Juergen Vigna <jug@sad.it>
12909 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12910 unknow mechanism does not call the proper constructor but only this
12911 one also if I request the other!?
12913 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12915 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12917 * text2.C (LyXText): use initialization lists.
12919 * lyxtext.h (Selection): initialize set_ and mark_
12920 (init): remove method
12922 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
12924 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12926 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12928 * screen.[Ch]: change method names to begin with lowercase
12930 * BufferView_pimpl.C (updateScrollbar): simplify further and
12931 hopefully make it a bit faster.
12933 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12935 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12936 calling directly xforms functions.
12938 * Painter.C (Painter):
12939 * lyx_cb.C (MenuWrite):
12940 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12943 * lyx_gui.C: remove bogus guiruntime extern declaration.
12945 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12947 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12949 (redoDrawingOfParagraph): ditto
12950 (redoParagraphs): ditto
12951 (cutSelection): don't create a object for CutAndPaste use the
12952 static method directly
12953 (pasteSelection): ditto
12955 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12958 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12960 * modifications to some other files because of this.
12962 * Makefile.am (lyx_SOURCES): add XFormsView
12964 * XFormsView.[Ch]: new files
12966 * LyXView.[Ch]: make LyXView a base class for the gui handling for
12967 the main window. Move the gui dependent stuff to XFormsView
12969 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12971 * tabular.C (GetCellInset): update cur_cell also in the row/col
12972 version of this function.
12974 * lyxfunc.C: no need to include figure_form.h here.
12980 * lyxvc.C: no need to include forms.h here.
12982 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12984 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12986 * lyxfunc.C (Dispatch):
12988 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12989 constructor argument.
12991 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12993 * paragraph.C (Paragraph): dont't clear, and just set layout.
12994 (makeSameLayout): use params's copy contructor.
12996 * ParagraphParameters.[Ch] (makeSame): delete method
12998 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
13000 * Variables.[Ch]: fix indentation, rename set to isSet
13002 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13004 * lyxfunc.C (Dispatch): fix typo
13006 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13008 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13011 * bufferlist.C: include assert.h for emergencyWrite().
13013 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13015 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13016 give up at last (bug #425202) !
13018 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
13024 * spellchecker.C: strip spellchecker options and bring up
13025 preferences tab instead
13027 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13029 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13030 the istringstream constructor
13032 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13034 * paragraph.C (getLayout): fix return value
13036 * paragraph.h: do not declare getLayout as inline.
13038 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13040 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13042 * lyxcursor.h (operator<): new func
13043 (operator>): new func
13044 (operator>=): new func
13045 (operator<=): new func
13047 * text.C (changeCase): use selection.start and selection.end
13048 (changeRegionCase): require from to be <= to. Require par to be a
13051 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13053 2001-06-27 Juergen Vigna <jug@sad.it>
13055 * text.C (cursorLeftOneWord): changed to return the cursor and added
13056 overlay with BufferView * parameter which calls this one.
13058 (selectWord): use new getWord function.
13059 (changeCase): renamed from changeWordCase as and extended to work
13060 also on selections.
13062 * lyxtext.h: added enum word_location
13064 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13065 changeCase as this operates now also on selections.
13067 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
13069 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13071 * many files: send debug output to Debug::INFO instead of
13074 * converter.C (View):
13076 (Move): send debug output to Debug::FILES instead of console.
13078 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
13080 * lyxfunc.C (getStatus): use func_status
13082 * func_status.h: new header, describing the results of
13083 LyXFunc::getStatus;
13085 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13088 2001-06-25 The LyX Project <jug@sad.it>
13090 * buffer.C (sgmlOpenTag):
13092 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
13094 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13096 * text2.C: remove some dead code
13098 * tabular.C (GetCellInset): store the last cell checked (gotten)
13100 * tabular.h: add the helper for the speedup
13102 * lyxtext.h: remove some dead code
13104 2001-06-26 The LyX Project <Asger>
13106 * paragraph.C: Change export to LaTeX of alignment to
13107 \begin{center} and family for better roundtrip work with reLyX.
13109 * Tune the math drawing a bit.
13111 2001-06-25 The LyX Project <Asger>
13113 * LColor.C (LColor): New color for math background. New color
13116 2001-06-25 The LyX Project <jug@sad.it>
13118 * lyxfunc.C (MenuNew): remove extra check for .lyx file
13120 * lyxfunc.C (Open):
13121 * bufferlist.C (newFile): do not restrict to files ending with
13124 * BufferView_pimpl.C (MenuInsertLyXFile):
13126 2001-06-24 The LyX Project <jug@sad.it>
13128 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13131 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13133 * lyxtext.h: rename most methods to begin with a small char.
13134 Lots of changes because of this.
13136 * paragraph.C (Paragraph): do not call fitToSize
13137 (erase): call Pimpl::erase
13138 (insertChar): call Pimpl::insertChar
13139 (insertInset): call Pipl::insertInset
13140 (breakParagraph): do not call fitToSize
13141 (breakParagraphConservative): do not call fitToSize
13142 (fitToSize): remove method
13144 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13146 2001-06-24 The LyX Project <Asger>
13148 * Fix Qt compilation^2
13150 2001-06-24 The LyX Project <jug@sad.it>
13152 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13153 depthHook(getDepth()-1).
13156 * ParagraphParameters.h:
13157 * ParameterStruct.h: change type of depth to unsigned int ==
13158 depth_type. Many adaptations to other files before of that.
13160 2001-06-24 The LyX Project <Asger>
13162 * Fix Qt compilation.
13164 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13166 * paragraph.h: renamed several methods to begin with small letter.
13167 several changes to many parts of the code because of this.
13169 2001-06-23 The LyX Project <jug@sad.it>
13171 * text2.C (InsertStringAsLines): renamed from InsertStringA;
13172 rewritten to discard all double spaces when KeepEmpty is off
13173 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13174 to only handle newlines but not fiddle with spaces and friends.
13176 * lyxfunc.C (MenuNew): when doing 'new from template', use
13177 template_path as default directory
13179 2001-06-23 The LyX Project <Asger>
13181 * Clean-up of header file includes all over
13182 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13184 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13186 * paragraph.h: renamed from lyxparagraph.h
13188 2001-06-23 Asger <lyx@violet.home.sad.it>
13190 * Buffer.h: Removed Buffer::resize
13191 * BufferList.h: Removed BufferList::resize
13192 * LyXView.h: Added LyXView::resize. This way, we will only reflow
13193 the document lazily when we change the width, or the font settings.
13195 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13197 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13199 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13201 * buffer.h: remove out of date comment
13203 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13206 * screen.C: fix "theoretical" GC leak
13208 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13210 * LaTeX.C (scanAuxFile):
13211 (deplog): remove trailing \r when reading stream (useful under
13214 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
13216 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13217 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13218 and BufferView::theLockingInset(Inset*), so should use them and not
13219 access bv_->text->the_locking_inset directly.
13221 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13223 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13226 * tex-defs.h: remove old unused file
13228 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
13230 * BufferView_pimpl.C: fix typo, remove minibuffer message
13231 when buffer has loaded
13233 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13235 * lyxfunc.C (Dispatch): use stringstream
13236 (MenuNew): use stringstream
13237 (Open): use stringstream
13239 * importer.C (Import): use stringstream
13241 * bufferview_funcs.C (CurrentState): use stringstream
13243 * LaTeX.C (run): use stringstream
13245 * BufferView_pimpl.C (savePosition): use stringstream
13246 (restorePosition): use stringstream
13247 (MenuInsertLyXFile): use stringstream
13249 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
13262 * vspace.C: removed // -*- C++ -*- as first line.
13265 * version.h: added // -*- C++ -*- as first line.
13267 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13269 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13271 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13274 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13276 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13279 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13281 * gettext.C: include LString.h even when --disable-nls is on.
13283 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
13285 * converter.h (Get): changed argument type from int to
13286 FormatList::size_type to avoid unnecessary conversion.
13288 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13291 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13293 * gettext.h: include LString.h even when --disable-nls is on.
13295 2001-06-07 Juergen Vigna <jug@sad.it>
13297 * text.C (BreakAgain): subst spaces with tabs.
13299 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13300 (resizeInsetsLyXText): set force on resizeLyXText.
13302 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13304 * gettext.h (gettext_init):
13305 (locale_init): use a real definition instead of a macro
13307 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13309 * Bufferview_pimpl.C:
13311 * LColor.C: further lcolor tidies
13313 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13315 * BufferView_pimpl.C (updateScrollbar): simplify.
13317 * BufferView2.C: don't include insets/insetinfo.h, change
13318 prototype for insertInset and call the Pimpl version. let
13319 updateInset call Pimpl version.
13321 * BufferView.h: move inset_slept to BufferView::Pimpl, move
13322 gotoInset to BufferView::Pimpl
13324 2001-06-01 Juergen Vigna <jug@sad.it>
13326 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13327 inside a LockingInset (is the update needed at all?).
13329 2001-05-31 Juergen Vigna <jug@sad.it>
13331 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13332 here not the old one otherwise how should we compare it afterwards
13335 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13340 * FontInfo.C: bring C functions into global namespace when
13343 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13345 * LString.h: make sure config.h has been loaded before LString.h.
13347 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13348 (one for each char read by EatLine!).
13350 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13353 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13355 * paragraph.C (BreakParagraph): set the inset_owner in the new par
13356 to the same as the par we break from
13358 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
13360 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13362 * MenuBackend.C (expand): also create menu entries for wide
13363 versions of the floats.
13365 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13367 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13369 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13370 frontends/Makefile.am
13376 * tabular.C (getTokenValue): add std::
13378 * tabular-old.C (getTokenValue): add std::
13379 (getTokenValue): ditto
13380 (getTokenValue): ditto
13382 * screen.C (ToggleSelection): adjust
13384 * lyxtext.h: put selection cursors inside a Selection struct.
13386 * lyxfunc.C (moveCursorUpdate): adjust
13388 * lyxfont.C (latexWriteStartChanges): add std::
13390 * lyxfind.C: adjust
13392 * font.h: delete with(char const *, LyXFont const &)
13394 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13396 * FontInfo.C (getFontname): add std::
13398 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13399 (workAreaButtonPress): adjust
13400 (tripleClick): adjust
13402 (moveCursorUpdate): adjust
13405 * BufferView2.C (gotoInset): adjust
13407 2001-05-30 Juergen Vigna <jug@sad.it>
13409 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13410 to check pspell I add this as default as I now have new pspell
13411 libraries and they seem to use this.
13413 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13415 * text2.C (CutSelection): make the cursor valid before the call to
13418 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13420 * kbsequence.C (parse): de-uglify a bit the parsing code, which
13421 relied on 0 terminated strings and other horrors. Bug found due to
13422 the new assert in lyxstring!
13424 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13427 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13429 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13432 * lyxfunc.C (processKeySym): change method of getting to the
13435 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13436 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13437 * BufferView_pimpl.[Ch]: here as private methods.
13439 2001-05-28 Juergen Vigna <jug@sad.it>
13441 * text.C (SetHeightOfRow): added the update() call again as it is
13442 needed to initialize inset dimensions!
13444 2001-05-16 Juergen Vigna <jug@sad.it>
13446 * text2.C (SetCharFont): Add new function with BufferView * and
13447 bool toggleall parameters for setting insets internal fonts.
13448 (SetFont): Freeze the undo as we may change fonts in Insets and
13449 all this change should be inside only one Undo!
13451 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13452 setting font's in insets as for them we have the SetFont function!
13454 2001-05-15 Juergen Vigna <jug@sad.it>
13456 * text2.C (ClearSelection): to be sure we REALLY don't have any
13459 * tabular.C (TeXCellPreamble): fixed the left border problem for
13462 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
13464 * LaTeX.C (deplog): Make sure that the main .tex file is in the
13467 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13469 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13470 LFUN_BREAKPARAGRAPH.
13472 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13473 help test to "internal only", similar for LFUN_INSERT_URL
13475 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13476 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13477 auto_region_delete and deadkeys.
13479 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
13482 * LColor.C: remove some dead entries, tidy a little
13484 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13486 * lyxfunc.C (processKeySym): comment the Escape handling, remove
13488 (Dispatch): implement LFUN_ESCAPE
13490 * commandtags.h: add LFUN_ESCAPE
13492 * LyXAction.C (init): add entry for LFUN_ESCAPE
13494 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13495 Remove commented code.
13496 (insertNote): moved here
13497 (open_new_inset): moved here
13499 * BufferView[2].[Ch]: move insertNote and open_new_inset to
13502 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13504 * kbmap.C (findbinding): clean it up and make it work correctly.
13506 * lyx_main.C (init): do not pass argc and argv as parameters
13508 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
13510 * buffer.C: fix path for OS/2 & Win32
13514 * lyx_main.C: Added os:: class.
13516 * os2_defines.h: update
13518 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13520 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13521 better by trying again with reduced state.
13523 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13525 * lyxrc.C (read): print error about invalid key sequence only when
13526 debugging (because not all latinX keysyms are known to some X
13529 * kbsequence.C (getiso): add a few std:: qualifiers
13530 (getiso): comment out extra return statement.
13532 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
13534 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13536 (Dispatch): enhance the accent inset a bit. (not perfect)
13538 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13540 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13542 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13544 * bufferlist.C (emergencyWrite): fix assert() call
13546 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
13548 * text.C (InsertChar): Added trivial patch to only send the "you
13549 can not do multiple spaces this way" message once during a
13552 2001-05-08 Baruch Even <baruch@lyx.org>
13554 * Makefile.am: Changed order of libraries to get LyX to link properly
13555 with the gnome frontend.
13557 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13559 * LaTeXFeatures.h: add a std:: qualifier
13561 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13563 * paragraph.C (String): use stringstream
13565 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13567 * paragraph.C (writeFile): remove footflag arg
13569 * buffer.C (makeLaTeXFile): use stringstream
13570 (latexParagraphs): remove footnot gurba
13572 * LaTeXFeatures.C (getPackages): use stringstream
13573 (getMacros): likewise
13574 (getTClassPreamble): likewise
13575 (getFloatDefinitions): new method
13577 * paragraph.C (writeFile): reindent
13580 * WorkArea.h: revert the xpos + etc changes.
13582 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13584 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13586 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13587 (pasteSelection): likewise
13588 * text2.C (CreateUndo): likewise
13590 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13592 * minibuffer.C (peek_event): temporarily reduce the functionality
13593 of the minibuffer (to allow args on lfuns)
13595 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13596 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13598 * buffer.C (readInset): add compability reading of old float
13599 lists, add reading of new style float list.
13600 (readInset): avoid reevaluation of inscmd.getCmdName()
13601 (getLists): reindent
13603 * MenuBackend.C (MenuItem): implement parsing of
13604 md_floatlistinsert and md_floatinsert.
13605 (expand::LastFiles): move initalizaton of iterators out of loop,
13606 avoid reevaluation.
13607 (expand::Documents): introduce typdedef vector<string> Strings,
13609 (expand::ExportFormats): introduce typedef vector<Format const *>
13610 Formats, and use it.
13611 (expand): implement FloatListInsert and FloatInsert.
13613 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13614 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13615 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13617 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13619 (Dispatch::LFUN_FLOAT_LIST): implement
13621 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13623 * LaTeX.C (run): Fix problem with --export code.
13625 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13627 * BufferView.[Ch] (workarea): removed.
13628 (getClipboard) new method; wrapper for workarea()->getClipboard()
13630 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13633 * WorkArea.h (width, height, xpos, ypos): These methods all
13634 returned the dimensions of the work_area sub-area of WorkArea,
13635 resulting in a position error if the WorkArea were resized. Now
13636 return the dimensions of the entire WorkArea.
13638 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13640 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13642 * LaTeX.C (deplog): correct the syntax of regex reg1
13644 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13646 * undo.C: remove !NEW_INSETS cruft
13648 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13650 * text2.C: remove !NEW_INSETS cruft
13652 * text.C: remove !NEW_INSETS cruft
13654 * tabular.C: remove !NEW_INSETS cruft
13656 * spellchecker.C: remove !NEW_INSETS cruft
13658 * lyxtext.h: remove !NEW_INSETS cruft
13660 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13662 * lyxfunc.C: remove !NEW_INSETS cruft
13664 * lyxfind.C: remove !NEW_INSETS cruft
13666 * lyx_cb.C: remove !NEW_INSETS cruft
13668 * figureForm.C: remove !NEW_INSETS cruft
13670 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13672 * buffer.[Ch]: remove !NEW_INSETS cruft
13674 * ToolbarDefaults.C: remove !NEW_INSETS cruft
13676 * CutAndPaste.C: remove !NEW_INSETS cruft
13678 * BufferView_pimpl.C: remove !NEW_INSETS cruft
13680 * BufferView2.C: remove !NEW_INSETS cruft
13682 * BufferView.h: remove !NEW_INSETS cruft
13684 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13686 * Lsstream.h: include LString.h before the sstream headers to
13687 fix problem with gcc 2.95.3 and lyxstring
13689 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13691 * lyx_main.C: add using directives when needed for C functions
13692 declared in std:: namespace.
13694 2001-04-27 Juergen Vigna <jug@sad.it>
13696 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13697 (SetHeightOfRow): comment out the update call should not be needed!
13699 2001-04-13 Juergen Vigna <jug@sad.it>
13701 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13702 (LyXTabular): tried to minimize operator= operations (and realized
13703 hopfully Lars wish).
13705 2001-04-27 Juergen Vigna <jug@sad.it>
13707 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13709 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13711 * lyxfunc.C (Dispatch): hack to make listof algorithm work
13713 * buffer.C (readInset): hack to make listof algorithm work
13715 * BufferView_pimpl.C: hack to make listof algorithm work
13717 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13719 * LyXAction.C: removed all !NEW_INSETS cruft
13720 (init): moved lfun_item in method
13722 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13724 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13726 * BufferView2.C (theLockingInset): white space.
13728 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13730 * minibuffer.C: include <iostream>
13732 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13734 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13736 * commandtags.h: add LFUN_TRANSPOSE_CHARS
13738 * text.[Ch] (TransposeChars): new method
13740 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13742 * call message directly through LyXView instead of through LyXFunc
13743 * BufferView2.C: adjust
13744 * BufferView_pimpl.C: adjust
13745 * FontLoader.C: adjust
13747 * bufferview_funcs.C: adjust
13748 * converter.C: adjust
13749 * figureForm.C: adjust
13750 * importer.C: adjust
13752 * lyx_gui_misc.C: adjust
13753 * lyxfunc.C: adjust
13756 + more files in subdirs
13758 * lyxparagraph.h (size): move up int file
13761 * adjust all uses of Assert to lyx::Assert.
13763 * BufferView2.C (ChangeCitationsIfUnique): adjust for
13764 lyxfunctional in namespace lyx
13765 * layout.C (hasLayout): ditto
13768 (delete_layout): ditto
13769 (NumberOfClass): ditto
13770 * converter.C (GetFormat): ditto
13775 * bufferlist.C (getFileNames): ditto
13776 (emergencyWriteAll): ditto
13779 * MenuBackend.C (hasSubmenu): ditto
13782 * BufferView_pimpl.C (getInsetByCode): ditto
13784 2001-04-18 Juergen Vigna <jug@sad.it>
13786 * vspace.C (asLatexString): fixed the 100% problem.
13788 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13790 * lyxfunc.C (Dispatch):
13792 * minibuffer.h: add a few std:: qualifiers
13794 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13796 * minibuffer.[Ch]: reimplement so that commands is initiated and
13797 run from lyxfunc, simplified som handling, and made the completion
13798 and history code for complete. wip.
13800 * lyxfunc.C (processKeySym): call message
13801 (miniDispatch): new temporary method
13802 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13803 (LFUN_MESSAGE): implement
13804 (LFUN_MESSAGE_PUSH): implement
13805 (LFUN_MESSAGE_POP): implement
13806 (initMiniBuffer): the initial/defualt minibuffer message.
13808 * lyxfont.[Ch]: inline some more getters
13810 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13812 * lyx_gui_misc.[Ch] (WriteStatus): remove method
13814 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13815 (AutoSave): use LFUN_MESSAGE
13816 (Reconfigure): ditto
13818 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13820 * figureForm.C: use LFUN_MESSAGE
13822 * converter.C (runLaTeX): use LFUN_MESSAGE
13824 * bufferview_funcs.C: use LFUN_MESSAGE
13826 (changeDepth): ditto
13828 * bufferparams.h: use boost::
13830 * bufferlist.h: inherit privately from noncopyable
13832 * bufferlist.C (loadLyXFile): remove some commented code.
13834 * buffer.C (runChktex): use LFUN_MESSAGE
13836 * ShareContainer.h: inherit privately from noncopyable
13838 * ParagraphParameters.[hC] (depth): inline it.
13840 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13842 (message): new method
13843 (messagePush): ditto
13844 (messagePop): ditto
13845 (show): init minibuffer
13846 (showState): direct call
13848 * LaTeX.[Ch]: inherit privately from noncopyable
13849 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13850 instead of WriteStatus.
13852 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13854 * BufferView_pimpl.C (buffer): don't init minibuffer
13855 (workAreaButtonPress): use LFUN_MESSAGE
13856 (workAreaButtonRelease): ditto
13857 (savePosition): ditto
13858 (restorePosition): ditto
13859 (MenuInsertLyXFile): ditto
13860 (workAreaExpose): don't init minibuffer
13861 (update): remove commented code, simplify
13863 * BufferView2.C (openStuff): use LFUN_MESSAGE
13864 (toggleFloat): ditto
13867 (copyEnvironment): ditto
13868 (pasteEnvironment): ditto
13873 (updateInset): remove some commented code
13875 * lastfiles.h: inherit privately from noncopyable
13878 * lyx_main.h: ditto
13880 * lyxlex_pimpl.h: ditto
13882 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13883 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13884 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13886 * LyXAction.h: inherit privately from noncopyable, add methods
13887 func_begin, func_end, returning iterators to the func map.
13889 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13890 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13891 (func_begin): new method
13892 (func_end): new method
13894 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13896 (copySelection): ditto
13897 (pasteSelection): ditto
13899 * BufferView.C: whitespace change
13900 * BufferView.h: inherit privately from noncopyable
13902 2001-04-16 Allan Rae <rae@lyx.org>
13904 * tabular-old.C (l_getline):
13905 * spellchecker.C (sc_check_word):
13906 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13907 an unrecognised preprocessor directive. So ensure they're wrapped.
13909 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
13911 * src/exporter.C (Export): Give an error message when path to file
13914 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
13916 * LaTeX.C (deplog): Always check that foundfile exists.
13918 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13921 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13923 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13925 * tabular.[Ch] (getLabelList): implement new method
13927 * minibuffer.h: comment ouf setTiimer
13929 * minibuffer.C (ExecutingCB): constify res
13930 (peek_event): constify s
13931 (Set): constify ntext
13932 (Init): constify nicename
13934 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13936 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13937 (savePosition): use two params to Minibuffer::Set
13938 (restorePosition): ditto
13940 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13942 * lyx_main.C: include language.h
13944 * Makefile.am (lyx_main.o): add language.h
13946 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13952 * CutAndPaste.C: include gettext.h
13954 * lyxfont.h: remove old hack with ON and OFF.
13957 * lyxfont.h: do not include language.h...
13962 * bufferview_funcs.C:
13968 * paragraph.C: ... but do it here instead
13970 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13972 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13974 * tabular.C: small reformat
13976 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13979 (BreakParagraph): ditto
13980 (SetOnlyLayout): ditto
13983 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13986 * lastfiles.C: removed most using decl, add std:: where needed
13988 * buffer.C: ws changes
13990 * MenuBackend.C (class compare_format): put into anon namespace
13991 (expand): constify label, names, action, action2
13994 * text.C (SingleWidth): constify font
13995 (IsBoundary): constify rtl2
13996 (GetVisibleRow): constify ww
13998 * LaTeX.C (deplog): constify logfile
14000 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14002 (workAreaExpose): constify widthChange, heightChange
14004 * lyxrow.C (par): moved
14007 * lyxrow.h: as inlines here
14009 * lyxfont.h (shape): moved from lyxfont.C
14010 (emph): moved from lyxfont.C
14012 * lyxfont.C (LyXFont): use initialization list for all
14014 (shape): move to lyxfont.h as inline
14015 (emph): move to lyxfont.h as inline
14018 2001-04-04 Juergen Vigna <jug@sad.it>
14020 * vspace.C: had to include stdio.h for use of sscanf
14022 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
14025 * BufferView_pimpl.h: remove xforms cruft. Both classes are
14026 independent of xforms.
14028 2001-04-02 Juergen Vigna <jug@sad.it>
14030 * spellchecker.C: fixed namespace placing!
14032 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
14034 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14035 the LyXParagraph * is 0.
14037 2001-03-29 Juergen Vigna <jug@sad.it>
14039 * vspace.C: added support for %, c%, p%, l%.
14040 (stringFromUnit): added helper function.
14041 (asLatexString): changed to give right results for the %-values.
14043 * buffer.C: convert the widthp in a width%.
14045 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
14047 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14050 * figureForm.[Ch]: stripped the FD_from_figure manipulation
14051 code out of lux_cb.[Ch], ready for its (imminent?) removal.
14053 * lyx_cb.[Ch]: see above.
14055 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14059 * lyx.[Ch]: replaced by figure_form.[Ch].
14063 * lyxfunc.C: changed headers associated with above changes.
14065 2001-03-27 Juergen Vigna <jug@sad.it>
14067 * BufferView_pimpl.C: set the temporary cursor right!
14069 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
14071 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14073 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
14075 * LString.h: removed "using std::getline"!
14077 * BufferView_pimpl.C (Dispatch): changes due to changes in
14078 InsetInclude::Params.
14080 * buffer.C (tag_name): removed redundant break statements as they were
14081 producing lots of warnings with my compiler.
14083 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14085 * LString.h: add "using std::getline" when using the real <string>.
14087 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
14089 * buffer.C: removed bitset usage.
14090 PAR_TAG moved to an anonymous name space.
14091 (tag_name): new funtion, also in the anonymous namespace.
14092 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14093 (makeDocBookFile): clean code. Completed transition from string arrays
14095 (SimpleDocBookOnePar): code clean.
14097 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14099 * tabular.C: add some comments.
14101 2001-03-22 Juergen Vigna <jug@sad.it>
14103 * buffer.C (parseSingleLyXformat2Token): redone the minipage
14104 compatibility read a bit and fixed bug with minipage in different
14107 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
14109 * buffer.C (pop_tag): removed.
14110 (push_tag): removed.
14111 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14112 array replaced with vector. Added support for CDATA sections.
14113 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14115 (makeDocBookFile): XML conformant declaration of CDATA section,
14116 fixed bug related to <emphasis> in the first paragraph char.
14117 (sgmlOpenTag): exclude empty tags.
14118 (sgmlCloseTag): ditto.
14120 * buffer.h (pop_tag): removed.
14121 (push_tag): removed.
14123 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
14125 * language.h (Languages): added size_type and size().
14127 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14129 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14130 response on compability reading of minipages. One probliem is that
14131 the old usage of minipages was «flertydig»
14133 * several files here and in subdirs: don't use static at file
14134 scope use anon namespaces instead.
14136 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
14138 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14139 LaTeX output. This is necessary for Literate document
14142 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14144 * buffer.C: insert hfill when needed.
14146 * tabular.C (l_getline): use string::erase, small whitespace change.
14148 * BufferView_pimpl.C: try the anon namespace.
14149 * WorkArea.C: ditto
14151 2001-03-16 Juergen Vigna <jug@sad.it>
14153 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14154 otherwise it won't open options-dialogs.
14156 * buffer.C: honor pextraWidth(p) on converting minipages.
14158 * tabular.C (l_getline): changed the functions to strip trailing \r.
14160 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
14162 * BufferView_pimpl.C:
14163 * minibuffer..C: added "using SigC::slot" declaration.
14165 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14167 * lyxlex_pimpl.h: noncopyable is in namespace boost.
14173 * paragraph.C: ditto
14175 * lyxtext.h: NO_PEXTRA
14177 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14179 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14180 * ParameterStruct.h: ditto
14181 * ParagraphParameters.h: ditto
14182 * lyxparagraph.h: ditto
14184 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14186 * buffer.C: add compability for minipage alignment.
14187 (latexParagraphs): remove unwanted pextra check.
14189 * several files: remove CXX_WORKING_NAMESPACES
14191 * buffer.C (pop_tag): tie is in namespace boost
14193 * BufferView.h: noncopyable is in namespace boost
14195 * lyx_main.h: ditto
14198 * lastfiles.h: ditto
14199 * bufferlist.h: ditto
14200 * ShareContainer.h: ditto
14202 * LyXAction.h: ditto
14205 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14207 * Merging changes from BRANCH_MVC back into HEAD.
14209 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14211 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
14213 * BufferView_pimpl.C: change from intl.C
14217 * Makefile.am: move combox.*
14223 * intl.C: remove dialog (covered by prefs)
14225 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14227 * lyxfunc.C (Dispatch): removed redundant break statement.
14229 2001-03-14 Juergen Vigna <jug@sad.it>
14231 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14233 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14235 * buffer.C: add hack to fix compability reading of minipages.
14237 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
14239 * buffer.C (getLists): Cleanup.
14241 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14243 * lyxfont.C (update): don't honor toggleall on font size.
14245 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
14249 * Makefile.am: moved to frontends/xforms/
14253 * BufferView_pimpl.C: changes for moved mathpanel
14255 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14257 * gettext.h: fix gettext_init() in --disable-nls
14259 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14261 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14263 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
14266 * lyx.h: strip external form
14268 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14270 * BufferView_pimpl.C: add comment, destroySplash()
14272 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14274 * BufferView_pimpl.C:
14278 * lyxfunc.C: use re-worked insetinclude
14280 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14282 * buffer.C: add using std::stringstream.
14284 * lyx_cb.C: readd using std::ios.
14286 * buffer.C: add using std::map.
14288 * BufferView_pimpl.C: add using std::vector.
14290 * ShareContainer.h: add std:: to swap.
14292 * buffer.h: add some typedefs
14293 * buffer.C (getLists): use them
14294 (getLists): renamed from getTocList.
14295 add a counter for the different float types and use it in the
14297 (getLists): use the same counter for the NEW_INSETS and the "non"
14300 * lyx_cb.h: remove unused items, includes, using etc.
14302 * ShareContainer.h: remove some commented code, add more comments
14303 and "documentation".
14305 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14307 * buffer.C (getTocList): make the list also when NEW_INSETS is
14310 * buffer.h: remove TocType
14312 * buffer.C (getTocList): change to return a map<string,
14313 vector<TocItem> >, implement for dynamic number of list.
14315 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14316 * text2.C (PasteSelection): adjust
14317 * CutAndPaste.C (pasteSelection): adjust
14319 * FloatList.C (FloatList): update from the new_insets branch.
14320 * Floating.[Ch]: ditto
14321 * LaTeXFeatures.C: ditto
14323 * lyxlex_pimpl.C: ditto
14325 * paragraph.C (Last): remove when NEW_INSETS is defined.
14327 * other file: changes because of the above.
14329 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14331 * lyxparagraph.h: rename next to next_, previous to previous_,
14332 make them private for NEW_INSETS. Rename Next() to next(),
14333 Previous() to previous().
14335 * other files: changes because of the above.
14337 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
14340 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14343 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14345 * main.C (main): pass lyx_localedir to gettext_init().
14347 * gettext.h: remove locale_init and gettext_init macros
14349 * gettext.C (locale_init): new function
14350 (gettext_init): new function
14352 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14355 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
14357 * Moved credits to frontends:
14358 * credits.[Ch]: removed
14359 * credits_form.[Ch]: removed
14360 * lyx_gui_misc.C: remove credits stuff
14363 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14365 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14367 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14368 unneeded destructor.
14370 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14371 a standalone pointer again.
14373 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14375 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
14381 * ToolbarDefaults.C:
14390 * BufferView_pimpl.C: use new file dialog in GUII
14393 * lyx_cb.C: remove LayoutsCB to Toolbar
14395 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14397 * ShareContainer.h (get): add std:: qualifier
14399 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14401 * ShareContainer.h: define a proper ShareContainer::value_type
14402 type (and use typename to please compaq cxx)
14404 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14406 * lyxparagraph.h: move serveral local vars to
14407 ParameterStruct/ParagraphParameters., use ShareContainer in
14408 FontTable., make vars in FontTable private and add getter and
14411 * paragraph.C: changes because of the above.
14413 * lyxfont.h: remove copy constructor and copy assignment. (the
14414 default ones is ok), move number inside FontBits. move inlines to
14417 * lyxfont.C: add number to initializaton of statics, move several
14418 inlines here. constify several local vars. some whitespace
14419 cleanup. Dont hide outerscope variables.
14421 * Spacing.h: add two new constructors to match the set methods.
14423 * ShareContainer.h: new file, will perhaps be moved to support
14425 * ParameterStruct.h: new file
14427 * ParagraphParameters.h: new file
14429 * ParagraphParameters.C: new file
14431 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14432 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14434 * BufferView_pimpl.C: ParagraphParameter changes.
14435 * buffer.C: Likewise.
14436 * bufferview_funcs.C: Likewise.
14437 * text.C: Likewise.
14438 * text2.C: Likewise.
14440 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14442 * lyxfind.C (LyXReplace): do not redefine default argument in
14444 (IsStringInText): ditto
14445 (SearchForward): ditto
14446 (SearchBackward): ditto
14448 2001-03-06 Juergen Vigna <jug@sad.it>
14450 * lyxfind.C (IsStringInText): put parentes around expressions.
14452 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
14454 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14456 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
14458 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14460 * stl_string_fwd.h: add comment
14462 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14465 * tabular.C: remove unused DocBook methods
14471 killed DO_USE_DEFAULT_LANGUAGE
14473 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14475 * lyx_gui.C: do not include language.h.
14477 * bufferview_funcs.C (ToggleAndShow): do not provide optional
14478 arguments in function implementation.
14480 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14482 * BufferView_pimpl.C: add <ctime>
14484 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14486 * BufferView_pimpl.C: add using std::find_if
14488 2001-02-27 José Matos <jamatos@fep.up.pt>
14490 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14493 2001-02-11 José Matos <jamatos@fep.up.pt>
14495 * buffer.C (makeDocBookFile): command styles now have a parameter as
14496 "title" by default.
14498 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
14500 * layout_forms.[Ch]: removed
14501 * lyx_cb.[Ch]: out character
14502 * lyx_gui.C: out character
14503 * lyx_gui_misc.C: out character
14504 * bufferview_funcs.C: : out character,
14505 added toggleall as parameter in ToggleAndShow
14507 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
14509 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14511 * text2.C (SetCurrentFont): Disable number property at boundary.
14513 2001-02-26 Juergen Vigna <jug@sad.it>
14515 * lyxfunc.C (getStatus): added a string argument override function so
14516 that this is correctly called from LyXFunc::Dispatch if it contains a
14517 do_not_use_argument which is used!
14518 (Dispatch): added check for "custom" export and call appropriate func.
14520 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
14522 * lyxrc.C: Add language_command_local, language_use_babel and
14523 language_global_options.
14525 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14527 * buffer.C (makeLaTeXFile): Use language_use_babel and
14528 language_global_options.
14530 2001-02-23 Juergen Vigna <jug@sad.it>
14532 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14533 which works with LyXText and putted it inside BufferView. Here now we
14534 only call for that part the BufferView::Dispatch() function.
14536 * BufferView.C (Dispatch): added.
14538 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14539 functions which needs to use a LyXText over from LyXFunc.
14540 (MenuInsertLyXFile): added
14541 (getInsetByCode): added
14542 (moveCursorUpdate): added
14543 (static TEXT): added
14545 2001-02-22 Juergen Vigna <jug@sad.it>
14547 * BufferView_pimpl.C (update): call a status update to see if LyXText
14550 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14552 * vc-backend.C (revert): implement for CVS
14553 (getLog): implement for CVS
14555 2001-02-20 Juergen Vigna <jug@sad.it>
14557 * text2.C (ClearSelection): added BufferView param for inset_owner call
14559 * lyxfunc.C (TEXT): added this function and use it instead of
14560 directly owner->view()-text of getLyXText().
14562 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
14564 * src/layout_forms.C: out preamble
14565 * src/layout_forms.h: out preamble
14566 * src/lyx_cb.C: out preamble
14567 * src/lyx_cb.h: out preamble
14568 * src/lyx_gui.C: out preamble
14569 * src/lyx_gui_misc.C: out preamble
14570 * src/lyxfunc.C: connect with guii preamble
14572 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14574 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14576 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14578 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14579 whether to run bibtex.
14581 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14583 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14585 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14587 * Makefile.am (lyx_SOURCES): removed bibforms.h
14589 * vspace.h: doxygen
14591 * text.C (GetVisibleRow): make several local vars const
14593 * tabular.C: small cleanup.
14595 * lyxserver.C (callback): use compare instead of strncmp
14597 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14598 inlines to after class or to paragraph.C
14600 * lyxfont.h: remove friend operator!=
14602 * converter.h: move friend bool operator< to non friend and after
14605 * combox.h: small cleanup
14607 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14608 to inlines after class def.
14610 * buffer.C (pop_tag): use string operations instead of strcmp
14612 * bmtable.c: doxygen, small cleanup
14614 * LaTeX.h: remove friend operator==
14616 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14628 * BufferView_pimpl.C:
14629 * BufferView.[Ch]: remove cruft
14631 2001-02-14 Juergen Vigna <jug@sad.it>
14633 * lyxfunc.C: removed #if 0 unused code
14635 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14637 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14639 * text2.C (SetSelection): added a BufferView * parameter
14641 2001-02-13 Juergen Vigna <jug@sad.it>
14643 * lyxfunc.C (Dispatch): fixed protected blank problem.
14644 * BufferView2.C (protectedBlank): added LyxText * parameter.
14646 * tabular.C (AppendRow): forgot to set row_info of newly added row.
14647 (AppendColumn): same as above for column_info.
14649 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14650 (moveCursorUpdate): use a LyXText param for support of InsetText.
14652 * BufferView_pimpl.C (doubleClick): added support for InsetText.
14653 (tripleClick): ditto
14655 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14657 * BufferView_pimpl.C (update): added LyXText param to honor insets.
14659 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14661 * text2.C (SetSelection): set correct update status if inset_owner
14662 (ToggleFree): ditto
14664 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
14666 * tabular.C: remove some commented code.
14668 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
14670 * BufferView_pimpl.C: call hideSplash()
14672 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14675 * bibforms.h: remove
14678 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14679 add LFUN_CHILD_CREATE
14681 * counters.h: fix tiny typo
14686 * lyx.C: move splash to frontends/xforms/
14688 * lyx_gui_misc.C: move Include and Bibform to frontends
14690 * lyxvc.h: clarify comment
14692 * vspace.C: tiny housekeeping
14694 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
14696 * text.C (PrepareToPrint): RTL Fix.
14698 * paragraph.C (GetUChar): New method.
14699 (String): Use GetUChar.
14701 * buffer.C (asciiParagraph): Use GetUChar.
14703 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
14705 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14707 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
14710 * buffer.C: rename to getLogName(), handle
14711 build log / latex log nicely
14713 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14716 * MenuBackend.h: remove support for reference menuitem type.
14718 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
14720 * BufferView_pimpl.C: housekeeping
14721 * BufferView_pimpl.h:
14726 * minibuffer.h: move Timeout GUI-I
14728 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
14730 * lyxrc.C (read): Update converters data-structures.
14732 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
14734 * LaTeX.h (operator!=): add operator != for Aux_Info
14736 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
14738 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14740 * LaTeXLog.C: deleted, useful code moved to Buffer
14743 * buffer.C: new function getLatexLogName()
14749 * lyxfunc.C: use frontends for LaTeX and VC logs
14751 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14753 * LaTeX.h: yet another std:: that Allan forgot.
14755 * Variables.C (set): renamed from isset(), because this clashes
14756 with some HP-UX macros (grr).
14758 2001-02-06 Allan Rae <rae@lyx.org>
14760 * LaTeX.h: Another bug fix. Missing std:: this time.
14762 2001-02-04 Allan Rae <rae@lyx.org>
14764 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14765 floats problem. I've left it commented out because it's not quite
14766 correct. It should also test that the current object is a table or
14767 figure inset. But I haven't gotten around to figuring out how to do
14768 that. I *think* it'll be something like: "table" == inset.type()
14770 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14773 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
14775 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14776 all the citation/databases/styles in the auxilary file.
14777 (run): Rerun latex if there was a babel language error.
14779 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
14781 * text.C (Backspace): Preserve the font when changing newline char
14783 (BreakParagraph): If the cursor is before a space, delete the space.
14785 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14787 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
14789 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14790 new argument (code).
14791 (ChangeCitationsIfUnique): New method.
14793 * paragraph.C (GetPositionOfInset): Handle bibkey.
14795 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14797 * BufferView_pimpl.h: change type of Position::par_pos to
14798 LyXParagraph::size_type.
14800 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
14802 * BufferView_pimpl.C (savePosition, restorePosition): Write
14803 messages to minibuffer.
14805 2001-01-28 José Matos <jamatos@fep.up.pt>
14807 * buffer.C (makeDocBookFile): adds support for document language.
14808 A silly restriction on the name of LatexCommand types where removed.
14809 Added support for CDATA sections, allows to chars unescaped, used
14810 among others in code, to avoid escape < and >.
14812 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14814 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14815 saved positions instrad of a stack. Furthermore, a position is
14816 stored using paragraph id/paragraph position.
14818 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14819 Remove LFUN_REF_BACK.
14821 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14823 * converter.C (dvipdfm_options): New method.
14825 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
14827 * vspace.C (isValidLength): Fix for empty input string.
14829 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14831 * LyXAction.C (init): change description of LFUN_FIGURE to
14834 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14836 * LaTeX.C: add using directive
14838 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14840 * MenuBackend.C (expand): Fix the sorting of the formats.
14842 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
14844 * lyx_main.C: tiny error message fix
14846 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14848 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14849 calling fl_initialize(). This fixes the problem with ',' as
14850 decimal separator in text files.
14852 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14854 * trans.C (process): Fix the keymap bug.
14856 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
14858 * LaTeX.C (scanAuxFiles): New method. Provides support for
14859 multiple bibliographies (when using the bibtopic/bibunits pacakges).
14860 (scanLogFile) Scan for "run BibTeX" messages.
14862 * buffer.C (makeLaTeXFile): Do not load the ae package when using
14863 OT1 font encoding. Also, load the aecompl package if the ae
14866 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14868 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14870 * texrow.C (increasePos): turn two error messages into debug
14873 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
14875 * LaTeX.C (scanAux): Handle the \@input macro.
14876 (runBibTeX): Use scanAux().
14878 * language.C (latex_options_): New field.
14880 * LaTeXFeatures.C (getMacros): Add language macros.
14882 * buffer.C (makeLaTeXFile): Small fix.
14884 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14886 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14888 * text2.C: add a using directive.
14890 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
14895 * lyxfunc.C: kill LyXBell.
14897 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
14899 * text.C (IsBoundary): Remove the error message
14901 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14903 * lyxrc.C (setDefaults): Correct initialization value for
14906 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
14908 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14911 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14912 and GotoNextNote().
14914 * src/LyXAction.C: Added reference-next.
14916 * text.C (InsertChar): Use contains instead of strchr.
14918 * lyx_cb.C (MenuInsertLabel): Enable default value code.
14920 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
14922 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14923 alignment commands (when needed).
14925 * text.C (InsertChar): Add ':' to number separator chars.