2 2004-03-11 André Pönitz <poenitz@gmx.net>
4 * buffer.[Ch]: use InsetText instead of LyXText as container for
7 * dociterator.[Ch]: drop the BufferView * member which is not needed
8 anymore after the change to buffer.C
14 * BufferView_pimpl.[Ch]:
16 * cursor_slice.[Ch]: adjust
18 * text3.C: fix bug in mathDispatch
20 2004-03-08 André Pönitz <poenitz@gmx.net>
22 * undo.[Ch]: use 'StableDocumentIterator' as base for
25 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
28 * bufferparams.[Ch]: add jurabib support and param.
30 * LaTeX.C: add FIXME/comment.
32 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
34 * buffer.C: increment file format to 230.
36 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
38 * cursor.C (dispatch): avoid infinite loops
40 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
42 * rowpainter.C (paintSelection): fix x coordinates
44 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
46 * text.C (rowBreakPoint): fix breaking before displayed insets
48 2004-03-01 André Pönitz <poenitz@gmx.net>
50 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
52 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
64 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
70 * BufferView_pimpl.C: rename textwidth -> maxwidth,
71 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
73 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
75 * Bidi.[Ch] (computeTables): const correctness
76 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
77 fill_hfill, fill_label_hfill and x from Row
78 * lyxtext.h: prepareToPrint returns a RowMetrics
79 * rowPainter.C: adjust
80 * text.C (prepareToPrint): use width, not textWidth. adjust
81 (redoParagraphInternal, cursorX): adjust
82 * text2.C (getColumnNearX): adjust
83 (init): put a default value to the top LyXText::width
85 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
87 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
89 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
91 * lyxtext.h: add FontIterator class
93 * text.C (FontIterator, operator*, operator->, operator++): add
94 (rowBreakPoint, setRowWidth): adjust (fixing a
97 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
99 * BufferView_pimpl.C (workAreaDispatch): allow also
100 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
102 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
104 * text.C (rowBreakPoint): fix a bug showing with very large insets
106 2004-02-25 André Pönitz <poenitz@gmx.net>
109 * cursor.[Ch]: move some mathed specific code to mathed
111 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
113 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
114 use_tempdir in preferences
115 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
117 * lyx_main.C: ensure that tempdir is valid
118 * lyxlex.h: correct typo
119 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
120 * paragraph.[Ch] (isMultiLingual): make const
121 * cursor.[Ch] (openable): make const
123 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
125 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
127 2004-02-20 André Pönitz <poenitz@gmx.net>
129 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
131 * cursor.[Ch]: prepare for localized getStatus()
137 * text3.C: streamlines the LyXText cursor movement handlers a bit.
139 2004-02-20 André Pönitz <poenitz@gmx.net>
141 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
143 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
145 * text2.C (setCursorFromCoordinates): switch to absolute coords
148 * text3.C (dispatch): adjust
150 2004-02-16 André Pönitz <poenitz@gmx.net>
152 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
155 * cursor_slice.[Ch]: remove unneeded acessor function
157 * lyxtext.h: rename rtl() to isRTL()
165 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
167 * rowpainter.C (paintSelection): coord fix
169 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
171 * Spacing.C: compile fix
173 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
175 * cursor.C (dispatch): restore current_ before returning
177 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
179 * text2.C (cursorUp, cursorDown): fix coords
182 2004-02-12 André Pönitz <poenitz@gmx.net>
187 * text3.C: add LCursor & parameter to most cursor movement functions
188 remove usage of LyXText::cursorRow() and cursorPar()
190 * cursor.[Ch]: add textRow() needed members
193 * BufferView_pimpl.C:
196 * BufferView_pimpl.C: adjust
198 2004-02-11 André Pönitz <poenitz@gmx.net>
202 * BufferView_pimpl.C: shift undo/redo handling
204 * cursor.[Ch]: fix mathed crash
207 * lyxtext.h: move selectionAsText to LCursor
215 * rowpainter.C: fix excessive drawing
217 2004-02-06 André Pönitz <poenitz@gmx.net>
220 * BufferView_pimpl.[Ch]:
221 * text3.C: move some text specific LFUN handling
223 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
225 * text3.C (checkInsetHit): adjust coords
226 * text2.C (getColumnNearX): adjust coords
227 (edit): adjust coords
228 * text.C (getRowNearY): add two asserts
230 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
233 * format.C: add using std::distance to compile on gcc 2.95/stlport
235 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
237 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
239 2004-02-04 André Pönitz <poenitz@gmx.net>
241 * BufferView.[Ch] (insertInset):
242 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
247 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
249 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
250 on the default clause of the switch
251 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
252 wasn't catched by LCursor::dispatch
254 2004-02-03 André Pönitz <poenitz@gmx.net>
257 * cursor.[Ch]: some additional asserts
259 * undo.[Ch]: remove LyXText dependency in interface
263 * lyxtext.h (firstPar, lastPar): remove dead functions
268 * paragraph.[Ch]: adjust
270 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
272 * lyxfind.C (find): fix argument order in call to ::find
274 2004-02-02 André Pönitz <poenitz@gmx.net>
276 * cursor.[Ch]: remove direct access to anchor
278 * text.C: remove findText() hack
280 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
282 * iterators.[Ch] (lockPath): remove in favour of...
283 * BufferView.[Ch] (setCursor): this addition
284 * BufferView.C (putSelectionAt): adjust
285 * undo.C (performUndoOrRedo): adjust
286 * lyxfunc.C (dispatch): adjust
288 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
290 * iterators.C (lockPath): add a missing slice
291 * undo.C (performUndoOrRedo): remove redundant positioning code
293 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
295 * vc-backend.C (scanMaster): ";" -> ';'
297 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
299 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
302 * lyxtextclass.C (compare_name): rename to...
303 (LayoutNamesEqual): ...this
305 * lyxlex_pimpl.C (compare_tags): inherit from
306 std::binary_function, put back into anon namespace
308 * lyxfind.C (MatchString): inherig from std::binary_function
309 (findChange): use empty() istead of !size()
311 * format.C (FormatNamesEqual): new functor
318 * converter.C (compare_Converter): rename to...
319 (ConverterEqual): ...this, and fixup a bit.
320 (getConverter): use it, and make function const
321 (getNumber): use it, and make function const
325 * bufferlist.C: add using boost::bind
327 * MenuBackend.C (MenuNamesEqual): new functor
328 (hasMenu): use it, and make function const
329 (hasSubmenu): use nested bind to get rid of compare_memfun.
331 2004-01-30 André Pönitz <poenitz@gmx.net>
333 * BufferView_pimpl.C:
344 * text3.C: move some of the edit(x,y) handling to the insets
345 some coordinate changes.
347 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
349 * text.C: add using statements for std::advance and std::distance
351 * paragraph.C: add using statement for std::distance
353 * lyxfind.C: add using statement for std::advance
355 * cursor.C (region): remove std:: from swap
356 (openable): use nucleus in stead of operator->
358 * BufferView.C: add using statements for std::distance and std::swap
360 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
362 * iterators.C: Remove the pimple, move the needed structures to
363 the header file. Create accessor for the positions stack.
364 (asPosIterator): remove function
366 * PosIterator.C (PosIterator): move constructors to top of file
367 (PosIterator): reimplement the constructor taking a ParIterator in
369 (setFrom): new function
370 (operator!=): inline it
372 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
374 * lyxfind.C (replaceAll): use std::advance
376 * iterators.h: inherit from std::iterator.
378 * PosIterator.C (advance, distance): remove
379 * PosIterator.h: interit from std::iterator.
381 2004-01-26 André Pönitz <poenitz@gmx.net>
384 * BufferView_pimpl.[Ch]:
388 * bufferview_funcs.C:
399 * output_plaintext.C:
401 * paragraph_funcs.[Ch]:
402 * paragraph_pimpl.[Ch]:
408 * text3.C: more IU: dumps most of the rest of the mathcursor
409 implementation into cursor.[Ch]; "globalize" a bit of it.
411 2004-01-25 Angus Leeming <leeming@lyx.org>
413 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
415 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
417 * LaTeXFeatures.h: add nice_ and nice() const
418 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
420 2004-01-20 André Pönitz <poenitz@gmx.net>
423 * BufferView_pimpl.C:
425 * bufferview_funcs.C:
438 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
439 LCursor and mathcursor parts to LCursor and InsetBase.
441 2004-01-15 André Pönitz <poenitz@gmx.net>
443 * cursor_slice.[Ch]: add a few covienience functions
445 * funcrequest.[Ch]: remove BufferView * member
447 * BufferView_pimpl.C:
454 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
456 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
458 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
459 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
461 2004-01-13 André Pönitz <poenitz@gmx.net>
464 * lyxtext.h: hide cursor and selection anchor behind accessor function
467 * BufferView_pimpl.[Ch]:
469 * bufferview_funcs.C:
479 * cursor_slice.[Ch]: some integer type changes for inset unification
481 * lyxcursor.[hC]: remove, it's CursorSlice now.
484 * BufferView_pimpl.[Ch]:
485 * bufferview_funcs.C:
491 * textcursor.[Ch]: adjust
493 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
495 * text2.C (undoSpan): add and use
496 * text.C (breakParagraph): use undoSpan (fix bug 578)
499 2004-01-08 Angus Leeming <leeming@lyx.org>
501 * BufferView_pimpl.C (MenuInsertLyXFile):
502 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
503 * lyxfunc.C (menuNew, open, doImport):
504 FileFilterList change to the FileDialog open and save functions.
506 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
508 * ShareContainer.h: make isEqual and isUnique adaptable
510 * CutAndPaste.C: make resetOwnerAndChanges adaptable
512 2004-01-07 Angus Leeming <leeming@lyx.org>
515 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
517 * BufferView_pimpl.C (dispatch): act on these LFUNs.
519 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
520 functions replacing find, replace and replaceAll.
522 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
523 LFUN_WORDFIND(FORWARD|BACKWARD).
525 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
527 * text.C (breakParagraph): remove an outdated #warning
529 2004-01-07 André Pönitz <poenitz@gmx.net>
531 * lyxfind.C: somewhat clearer logic
533 * text.C: prevent crash in cursorX on unitialized row cache
535 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
537 * lyxcursor.[Ch] (operator>): add
538 * textcursor.C (selStart, selEnd): use std::min and std::max
540 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
542 * Chktex.C: include boost/format.hpp
544 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
546 * InsetList.C: replace functor MathcIt with adaptable functor
548 (insetIterator): modify accordingly
550 * BranchList.h: move the BranchNamesEqual functor here from...
551 * BranchList.C: ... to here
553 * BranchList.C: new BranchListEqual fuctor, use it. Remove
555 (add): replace a finding loop with std::find_if.
557 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
559 * output_docbook.C: moving LatexParam functionality into
562 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
564 * buffer.C: increment format to 229.
566 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
569 * lyx_sty.[Ch]: remove minipageindent_def
575 * text3.C: remove LFUN_INSET_MINIPAGE
577 2003-12-28 Angus Leeming <leeming@lyx.org>
579 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
581 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
583 * text2.C (setParagraph): fix off-by-one crash
585 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
587 * output_docbook.C: header stuff for AGU
589 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
591 * text2.C (redoCursor): remove
594 * BufferView_pimpl.C: remove calls to redoCursor and
595 setCursor(cursor.par(), cursor.pos()) all around
597 2003-12-15 Angus Leeming <leeming@lyx.org>
599 * buffer.C: up the format to 228.
601 2003-12-15 André Pönitz <poenitz@gmx.net>
603 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
608 * BufferView_pimpl.C:
617 2003-12-15 Angus Leeming <leeming@lyx.org>
619 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
620 than getFromGUIName to manipulate the color.
622 2003-12-14 Angus Leeming <leeming@lyx.org>
624 * BranchList.[Ch]: minimize the API.
625 (Branch::getBranch, getColor): now return a 'const &'.
626 (Branch::setSelected) now returns a bool set to true if the
627 selection status changes.
628 (BranchList::clear, size, getColor, setColor, setSelected,
629 allBranches, allSelected, separator): removed.
630 (BranchList::find): new functions, returning the Branch with
632 (BranchList::add, remove): return a bool indicating that
633 the operation was successful.
635 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
636 new InsetBranch::isBranchSlected member function.
638 * LColor.[Ch]: mimimize the API.
639 (fill): renamed as addColor and made private.
640 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
641 versions of these functions taking a string arg have been removed.
643 * bufferparams.C (readToken):
644 * lyxfunc.C (dispatch):
645 * lyxrc.C (read): changes due to the altered BranchList and
648 * factory.C (createInset, readInset): changes due to altered
651 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
654 * lyxfunc.C: remove insetminipage. "minipage-insert"
655 now produces a frameless minipage box inset.
657 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
659 * textcursor.[Ch] (selStart,selEnd): add new methods
660 remove selection::start, end, use LyXCursor::operator<
661 * lyxcursor.[Ch] (operator<): add
662 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
663 * BufferView.[Ch] (unsetXSel): add
664 * text2.C (clearSelection): use unsetXSel,adjust
667 * rowpainter.C: adjust
668 * bufferview_funcs.C (put_selection_at): adjust
670 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
672 * BufferView_pimpl.C: small coord. correction
674 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
676 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
677 dragging over the splash screen.
679 2003-12-11 Angus Leeming <leeming@lyx.org>
681 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
682 as it is now handled in LyXText::dispatch.
684 * text3.C (doInsertInset): remove a level of nesting.
686 2003-12-11 Angus Leeming <leeming@lyx.org>
688 * factory.C (createInset): changes due to the changed interface to
689 InsetCommandMailer::string2params.
691 2003-12-10 Angus Leeming <leeming@lyx.org>
693 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
694 'dialog-show-new-inset <inset name>'
696 2003-12-10 Angus Leeming <leeming@lyx.org>
698 * buffer.C: up the format to 227.
700 * factory.C: the box inset is now identified simply by 'Box'.
702 2003-12-10 Angus Leeming <leeming@lyx.org>
704 * buffer.C: up the format to 226.
706 * factory.C: the note inset is now identified simply by 'Note'.
708 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
710 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
711 when a pit is enough. Standarize a couple of loops.
713 2003-12-05 Angus Leeming <leeming@lyx.org>
715 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
716 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
717 data to the re-worked "log" dialog.
719 2003-12-03 André Pönitz <poenitz@gmx.net>
727 * text2.C: use Inset::getText instead of Inset::getParagraph
729 2003-12-03 André Pönitz <poenitz@gmx.net>
733 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
734 InsetText::read() as LyXText::read()
736 2003-12-02 Angus Leeming <leeming@lyx.org>
738 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
739 type. Add a comment in the implementation that the function uses
740 the stream's bad() function rather than fail() as the std::streams
743 2003-12-02 André Pönitz <poenitz@gmx.net>
745 * lyxlex.[Ch]: make interface more similar to std::stream
747 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
749 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
751 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
753 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
755 * vspace.[Ch]: remove VSpace::NONE
757 2003-12-01 André Pönitz <poenitz@gmx.net>
760 * lyxtext.h: move ParagraphList member to LyXText
761 rename LyXText::ownerParagraphs to LyXText::paragraph
764 * bufferview_funcs.C:
774 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
776 * undo.C: fix cursor positioning
778 2003-12-01 John Levon <levon@movementarian.org>
780 * BufferView_pimpl.C: fix a crash on exit with
783 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
785 * BranchList.C: fix setSelected() method.
787 2003-11-28 André Pönitz <poenitz@gmx.net>
789 * ParagraphParameters.[Ch]:
790 * ParameterStruct.h: remove space above/below from Paragraph to
793 * BufferView_pimpl.C:
805 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
807 * factory.C: Syntax change for CharStyles
809 2003-11-28 André Pönitz <poenitz@gmx.net>
814 * buffer.[Ch]: move LyXText member
816 2003-11-28 André Pönitz <poenitz@gmx.net>
818 * BufferView.[Ch]: make LyXText * text a private member
820 * BufferView_pimpl.C:
831 * output_plaintext.C: cleanup
833 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
836 * lyxtextclass.[Ch]: parametrize SGML document header
838 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
841 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
844 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
846 * text2.C (setFont): rework using PosIterator (no more recursive)
847 (setCharFont): no more needed
848 (setLayout): no more selection cursors fiddling (done by redoCursor)
849 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
850 destroy remaining ones)
852 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
854 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
856 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
859 * text3.C: adjust + re-allow multi par depth changes
860 * textcursor.C: simplify a bit
862 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
868 * src/output_docbook.C:
869 * src/output_latex.C:
874 * src/text2.C: Introducing a number of tags parametrizing various
875 XML formats that we may want to support
877 2003-11-25 André Pönitz <poenitz@gmx.net>
879 * InsetList.[Ch] (begein, end): inline as suggested by profiler
881 * lyxtext.h (leftMargin/rightMargin): simplify interface
888 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
890 * lyxfunc.C (dispatch): propogate the bibtex databases from the
891 master file to any child files. Fixes bug 546.
893 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
895 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
897 2003-11-24 André Pönitz <poenitz@gmx.net>
899 * rowpainter.C: simplification
901 * text2.C (updateCounters): remove call to redoParagraph on
902 changed labels as this is far too expensive.
904 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
906 * converter.C (convert): fix a crash: this function gets
907 called with buffer == 0 from importer code.
909 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
911 * text3.C (cursorPrevious): make sure that we do not compare
912 iterators form different containers.
915 * rowpainter.C (paintSelection): make sure that we do not compare
916 iterators from different containers.
918 * text3.C (dispatch): [PRIOR] make sure that we do not compare
919 iterators from different ParagraphList containers.
922 * text2.C (LyXText): change order of initialization slightly
923 (operator=): new function. copy all variables except cache_par_
924 (moveUp): make sure that we do not compare iterators from
925 different ParagraphList constainers.
928 * text.C (firstPar): new function
929 (lastPar): new function
930 (endPar): new function
932 * lyxtext.h: move things around and group public functions, public
933 variables, private functions, private variables
935 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
937 * factory.C: change call to InsetERT constructor to avoid
938 additional invocation of method status
939 * text2.C (toggleInset): remove redundant update() call
940 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
941 instead of a Bufferview pointer
943 2003-11-21 André Pönitz <poenitz@gmx.net>
945 * rowpainter.C: simplification
947 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
949 * text3.C (dispatch): make possible to extend a word/row selection
952 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
954 * lyxtext.h: x0_,y0_ -> xo_,yo_
955 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
956 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
957 * rowpainter.C (paintRows): paint full paragraphs
959 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
961 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
964 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
966 * lyxtext.h: add x0_, y0_
967 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
968 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
970 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
972 * text2.C (setCursorIntern): move the x_target update here *
973 * text3.C: change some bv() to true/false in calls to
974 cursorUp/Down/Right/Left
975 * cursor.C: use helper function.
977 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
979 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
980 * paragraph_funcs.[Ch]: correct comment
981 * rowpainter.C: do not paint selections away from bv->cursor()
982 Fix a long standing selection painting bug.
983 * text3.C: generalize mouse-selection code to LyXTexts other that
985 * textcursor.C: do not use y coords if we can use par offsets
987 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
989 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
990 cursor position after e.g. inset insert)
992 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
994 * lyxfind.C (replace): adjust to locking removal + some
997 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
999 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1002 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
1005 * output_docbook.C: XML sanitation: new layout
1006 parameters InnerTag and CommandDepth
1008 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
1010 * BufferView_pimpl.C:
1012 * text3.C: Fix the insertion and modification of button-style
1015 2003-11-13 André Pönitz <poenitz@gmx.net>
1017 * InsetList.[Ch]: remove deleteLyXText
1019 * paragraph.[Ch]: cache beginOfBody position
1024 * text3.C: remove superfluous update() calls
1028 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1030 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1031 * BufferView.C (fitLockedInsetCursor): remove
1032 * cursor.[Ch] (getDim): add
1033 * text.C (getRowNearY): add faster version
1034 * text3.C: remove some update calls
1036 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1048 * text3.C: The Character Style /XML short element patch.
1050 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
1053 * factory.C: Small step to solving 'unable to insert some insets'
1056 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1058 * cursor.[Ch] (updatePos): new function for updating the y
1059 position of the tip inset
1060 * bufferview_funcs.C (put_selection_at):
1061 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1063 2003-11-11 André Pönitz <poenitz@gmx.net>
1065 * text.C: remove big comment on invalid Paragraph pointers as it is
1068 2003-11-11 André Pönitz <poenitz@gmx.net>
1070 * text_funcs.[Ch]: merge with ...
1078 * Makefile.am: remove text_funcs.[Ch]
1080 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1082 * cursor.C (getPos): return absolute cached y coord
1084 * BufferView_pimpl.C (fitCursor): new simplistic code
1085 (workAreaDispatch): add a fitCursor call
1087 2003-11-10 André Pönitz <poenitz@gmx.net>
1090 * BufferView_pimpl.[Ch]: merge update() and updateInset()
1092 2003-11-10 André Pönitz <poenitz@gmx.net>
1094 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1095 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1096 indicate that the cursor needs to leave an inset
1098 * lyxtext.h: remove inset locking
1100 * cursor.[Ch]: re-implement functionality provided by inset locking
1103 * BufferView_pimpl.[Ch]:
1105 * bufferview_funcs.[Ch]:
1117 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1119 * PosIterator.[Ch]: replace the stack with a vector, add inset
1121 * iterators.[C]: adjust
1123 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1125 * lyxfind.C (replaceAll): mark the buffer dirty if something was
1127 * paragraph_funcs.C (readParToken): put the correct id in the
1128 error item, not the id of the top paragraph
1130 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1132 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1133 * bufferview_funcs.C (put_selection_at): use the above
1135 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1137 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1139 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1141 * output_linuxdoc.h:
1142 * output_plaintext.h:
1144 * output_docbook.h: add #include statements
1146 2003-11-05 José Matos <jamatos@lyx.org>
1148 * output_docbook.[Ch]:
1149 * output_latex.[Ch]:
1150 * output_linuxdoc.[Ch]:
1151 * output_plaintext.[Ch]: New files for output formats.
1152 * output.[Ch]: New file for helper functions.
1155 * paragraph_funcs.[Ch]: output functions moved to new files.
1157 * outputparams.h: rename of latexrunparams.h
1165 * paragraph_funcs.[Ch]:
1166 * paragraph_pimpl.[Ch]:
1167 * tabular.[Ch]: rename ascii to plaintext
1168 and LatexRunParams to OutputParams.
1170 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1172 * iterators.[Ch] (text): require bv argument
1173 * undo.C (recordUndo):
1174 * lyxfunc.C (dispatch):
1175 * bufferview_funcs.C (put_selection_at): adjust
1177 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
1179 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1181 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1183 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1186 2003-11-04 André Pönitz <poenitz@gmx.net>
1188 * cursor.[Ch]: restructure
1191 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1193 * iterators.[Ch] (asCursor): remove
1195 * lfuns.h: remove LFUN_INSET_EDIT
1201 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1203 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1205 * lyxfind.[Ch]: complete overhaul
1206 * BufferView_pimpl.C:
1208 * paragraph.[Ch] (insert): add
1210 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1214 * text.C: remove dead spellcheck code
1216 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1218 * dispatchresult.h: add a val setter
1220 * cursor.C (dispatch): use a tempvar for data_[i]
1222 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1224 * PosIterator.[Ch]: compile fix
1226 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1228 * text.C (cursorPar): deactivate the cursor cache
1230 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1232 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1234 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1236 * text3.C (dispatch): adjust for new DisptchResult semantics.
1238 * lyxfunc.C (dispatch): handle update when return from
1239 Cursor::dispatch, adjust for new DispatchResult semantics.
1241 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1242 DispatchResult(true) mean to not update. Add class functions for
1243 setting dispatched and update, as well as reading.
1245 * cursor.C (dispatch): don't handle update here
1247 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1249 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1250 * trans_mgr.C: adjust
1252 * paragraph_funcs.C (readParToken): exception safety
1254 * lyxvc.h: store the vcs pointer in a scoped_ptr
1257 * lyxsocket.C (serverCallback): exception safety
1259 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1261 * ispell.C (clone): make it return a auto_ptr
1263 * factory.C (createInset): exception safety
1264 (readInset): exception safety
1266 * bufferlist.C (newBuffer): exception safety
1268 * Thesaurus.C (Thesaurus): use initialization for aik_
1270 * MenuBackend.C (expandToc): exception safety.
1272 2003-11-03 André Pönitz <poenitz@gmx.net>
1276 * bufferview_funcs.C: remove getInsetFromId()
1279 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1285 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1287 * PosIterator.C (distance, advance): new
1288 * bufferview_funcs.[Ch] (put_selection_at): new
1289 * iterators.[Ch] (lockPath): new
1291 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
1293 * iterators.[Ch] (asPosIterator): added
1294 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1295 * PosIterator.[Ch]: added
1297 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1301 * cursor.C (dispatch):
1302 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1304 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1305 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1306 contructor, add a class function dispatched. Remove operator>=
1308 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1310 * debug.C: only use the default constructor for debugstream
1313 * main.C (main): include debug.h and setup the lyxerr streambuf
1316 2003-10-31 José Matos <jamatos@lyx.org>
1318 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1320 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1321 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1322 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1323 * paragraph_pimpl.C (simpleTeXSpecialC):
1324 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1325 add LatexRunParams argument.
1327 * exporter.C (Export): change call accordingly.
1329 * latexrunparams.h: add new member to take care of the other backends.
1330 2003-10-30 José Matos <jamatos@lyx.org>
1332 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1333 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1334 factorise code for paragraph output.
1336 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1339 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1341 * text3.C (dispatch):
1342 * lyxfunc.C (dispatch):
1343 * cursor.C (dispatch):
1344 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1346 * dispatchresult.h: make the dispatch_result_t ctor explicit
1348 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1351 * buffer.C: small refactoring of docbook stuff
1353 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1355 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1358 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1360 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1361 operator dispatch_result_t, and operators for == != and >=
1363 * cursor.C (dispatch): adjust for operator dispatch_result_t
1364 removal. comment out call to update
1366 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1368 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1376 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1379 * dispatchresult.h: new file, DispatchResult broken out of
1382 * Makefile.am (lyx_SOURCES): add dispatchresult.h
1384 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1386 * text.C (rowBreakPoint): put a hack inside #if 0
1388 2003-10-28 André Pönitz <poenitz@gmx.net>
1392 * paragraph_funcs.C:
1395 * text2.C: general cleanup (lots of small stuff)
1397 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1399 * text2.C (cursorEnd): simple fix to the "end key goes to one
1400 before the end on last row" bug
1402 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1404 * text.C (backspace): fix the "zombie characters"
1406 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1408 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1410 2003-10-27 André Pönitz <poenitz@gmx.net>
1412 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1414 * factory.C: handle new InsetPagebreak, InsetLine
1416 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1417 and move handling into new InsetPagebreak, InsetLine
1419 * BufferView_pimpl.C:
1421 * ParagraphParameters.C:
1422 * ParameterStruct.h:
1427 * paragraph_funcs.C:
1428 * paragraph_pimpl.C:
1434 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1437 * lyxrow_funcs.[Ch]:
1443 * text3.C: remove lastPos uses in favour of Row::endpos
1445 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1447 * undo.C (performUndoOrRedo): fix two crashes by setting a
1448 cursor by hand and reordering some calls. Use bv->lockInset instead
1449 of inset->edit because the latter loses cursor information
1451 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
1453 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1455 (rowBreakPoint): fix width. change point to point + 1.
1456 Add a missing check.
1458 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
1461 * lyxfunc.C: fix (at least partly) the problems
1462 with the Nav menu and headers inside branch insets
1465 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
1467 * paragraph.C (getChar): add strong asserts
1469 * lyxrow_funcs.C (lastPos): remove hideous hack
1471 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1472 (fill): adjust to that (avoid an infinite loop)
1474 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1476 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1478 2003-10-23 André Pönitz <poenitz@gmx.net>
1480 * RowList_fwd.h: change list<> to vector<> to gain speed
1481 after suggestion from Alfredo
1483 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1485 * lyxtext.h: move the bidi stuff from here...
1488 * Bidi.[Ch]: ... to here
1490 2003-10-23 André Pönitz <poenitz@gmx.net>
1493 * text.C (isLastRow, isFirstRow): new functions
1495 * paragraph.h: new width cache member
1497 * rowpainter.C: replace RowList::iterator with Row & where possible
1499 * lyxfunc.C: replace several view()->text with a single call
1501 * toc.C: fix 'unused' warning
1503 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1505 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1506 when woring with stream::pos_type
1507 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1509 2003-10-22 André Pönitz <poenitz@gmx.net>
1512 * text.C: use Row & instead of RowList::iterator
1514 * lyxrow.h: rename end() to endpos()
1520 2003-10-22 Angus Leeming <leeming@lyx.org>
1522 * buffer.[Ch] (fully_loaded): new member function, returning true
1523 only when the file has been loaded fully.
1524 Used to prevent the premature generation of previews and by the
1525 citation inset to prevent computation of the natbib-style label.
1527 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1528 templates are all set up.
1530 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1532 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
1534 * text.C: fixed an "oops" in the "is a bit silly"
1537 2003-10-21 André Pönitz <poenitz@gmx.net>
1539 * FuncStatus.[Ch]: small stuff, whitespace
1541 * lyxfont.[Ch]: operator<<() for debug reasons
1545 * lyxtext.h: whitespace, spelling
1547 * paragraph.C: naming of variables
1550 * text2.C: small stuff
1553 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1555 * text.C: (1) finish off the inset display() work;
1556 (2) fix the "is a bit silly" bug (accessing char
1559 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1561 * text.C: re-introduce display() for insets, fixing the
1562 various bugs (stretch of line above, math inset
1565 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1567 * text.C (rightMargin): remove spurious semicolon
1569 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1572 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1574 * text3.C: fix one crash due to wrong cursor def
1576 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1578 * vc-backend.C (scanMaster): make the regex static
1580 * LaTeX.C (scanAuxFile): make the regexs static
1582 * text3.C (doInsertInset, dispatch, dispatch):
1583 * text2.C (cursorUp, cursorDown):
1584 * text.C (selectNextWordToSpellcheck):
1585 * BufferView_pimpl.C (dispatch):
1586 * lyxfunc.C (dispatch): localDispatch -> dispatch
1588 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1590 * lyxsocket.C: include <cerrno>
1592 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1594 * lyxfunc.C (dispatch): remove textcache stuff
1596 * bufferlist.C (release): remove textcache stuff
1599 * TextCache.C: delete file
1600 * TextCache.h: delete file
1602 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1604 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1605 delete of the bv_->text.
1606 (resizeCurrentBuffer): remove texcache stuff
1607 (workAreaResize): ditto
1609 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1611 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1614 2003-10-16 André Pönitz <poenitz@gmx.net>
1621 * text3.C: speed up by storing y positions per paragraph plus per-row
1622 offset instead of having a 'full' y position in the row.
1624 2003-10-15 André Pönitz <poenitz@gmx.net>
1628 * undo.[Ch]: make undo aware of inner insets
1630 2003-10-14 Angus Leeming <leeming@lyx.org>
1632 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1633 static member functions LyX::ref() and LyX::cref.
1634 (lastfiles): new accessor functions for the new lastfiles_ member var.
1635 (addLyXView, views_): add a new LyXView to the list of views_.
1636 (updateInset): loop over all LyXViews to call their own updateInset
1637 member function, returning a pointer to the Buffer owning the inset.
1639 * BufferView_pimpl.C (loadLyXFile):
1640 * MenuBackend.C (expandLastfiles):
1641 * bufferlist.C (MenuWrite, QuitLyX):
1642 lastfiles is no longer a global variable.
1643 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1645 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1646 static function. Access through LyX::cref().emergencyCleanup().
1648 2003-10-14 André Pönitz <poenitz@gmx.net>
1650 * iterators.[Ch]: new direct access to innermost LyXText and Inset
1652 * undo.[Ch]: restoring part of 'undo in insets'
1655 * undo_funcs.[Ch]: merge with undo.[Ch]
1657 * tabular.C: small cleansing stuff
1659 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
1661 * paragraph_funcs.C (readParToken): report unknown insets as error
1662 boxes. Use the outer paragraph as location (also for unknown
1665 * factory.C (readInset): do not abort on reading an unknown inset.
1666 Eat it and return 0.
1668 2003-10-13 Angus Leeming <leeming@lyx.org>
1670 * lyx_main.C (LyX): remove call to setDisplayTranslator().
1672 * lyxrc.C: displayTranslator is now a function,
1673 declared in GraphicsTypes.h.
1675 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1677 * format.C: new placeholder $$a to pass the socket address.
1679 * bufferlist.[Ch]: new function getBufferFromTmp.
1681 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1682 files in the temporary dir.
1684 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1686 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1688 * Makefile.am: add lyxsocket.[Ch].
1690 * lyx_main.C (error_handler): handle SIGPIPE.
1692 2003-10-13 André Pönitz <poenitz@gmx.net>
1694 * BufferView_pimpl.C:
1699 * undo_funcs.[Ch]: use paroffset_type instead of
1700 ParagraphList::iterators to prevent multiple conversion
1701 (and get a more robust interface)
1703 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1705 * lyxfunc.C (dispatch): RESULT -> dispatch_result
1707 * text3.C (dispatch): ditto
1709 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1711 * LaTeX.C (handleFoundFile): move the static to smaller scope,
1712 move the onlyfile, use onlyfile instead of foundfile in a couple
1715 * DepTable.C (update): flush the error stream a bit more
1717 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1719 * lyxserver.C (callback): adjust
1721 * lyxfunc.C (getStatus): add a missing brace in commented code
1722 (ensureBufferClean): reindent
1723 (dispatch): delete version taking a string
1725 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1727 * LaTeX.C (deplog): move found file handlig from here...
1728 (handleFoundFile): .. to new function here.
1729 (deplog): make sure to discover several files mentioned on the
1732 2003-10-10 André Pönitz <poenitz@gmx.net>
1739 * text3.C: fix some of the tabular crashes
1741 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1743 * MenuBackend.C (binding): put debug message into Debug::KBMAP
1745 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1747 2003-10-09 André Pönitz <poenitz@gmx.net>
1749 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1752 * BufferView_pimpl.C:
1753 * bufferview_funcs.C:
1764 * undo_funcs.C: adjust
1766 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1768 * text2.C (incrementItemDepth): new function, use a backtracking
1769 algorithm to discover the correct item depth.
1770 (resetEnumCounterIfNeeded): new function, use a backtracking
1771 algorithm to discover if counter reset is needed.
1772 (setCounter): use them. Simplify a bit. Add different labels for
1773 different item depths for itemize.
1775 * paragraph.C (Paragraph): remove initialization of enumdepth
1778 * paragraph.h: get rid of enumdepth, and use itemdepth both for
1779 enumerate and itemize. Change the type of itemdepth to signed char.
1781 2003-10-08 André Pönitz <poenitz@gmx.net>
1783 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1788 * tabular.[Ch]: fix crash after 'row-insert'
1790 2003-10-08 Angus Leeming <leeming@lyx.org>
1792 Fix doxygen warnings.
1794 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1795 Remove CutAndPaste:: prefix from header file declaration.
1797 * LColor.h (fill): remove LColor:: prefix from declaration.
1799 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1800 use lyx::depth_type rather than Paragraph::depth_type so that
1801 header file and .C file match.
1803 * converter.h (intToFormat): remove Converters:: prefix from declaration.
1805 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1806 * aspell.C: \file aspell_local.C -> \file aspell.C
1807 * gettext.C: \file gettext.C -> \file src/gettext.C
1808 * gettext.h: \file gettext.h -> \file src/gettext.h
1809 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1810 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1811 * text.C: \file text.C -> \file src/text.C
1813 * toc.C: move comment so that doxygen is not confused.
1815 2003-10-07 Angus Leeming <leeming@lyx.org>
1817 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1819 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1822 * aspell_local.h: add forgotten std::string's.
1824 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1831 * text3.C: The Box patch. Fancybox support, minipage, parbox
1833 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1839 * ParagraphParameters.h:
1849 * lyxtextclasslist.h:
1852 * paragraph_pimpl.C:
1853 * textcursor.h: add <string> and other small fixes to make Lars'
1854 std::string patch compile with STLport.
1856 2003-10-06 Angus Leeming <leeming@lyx.org>
1858 * LColor.h: Add missing #include <string>.
1860 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1862 * All most all file in all subdirs: Make <string> be the prefered
1863 way of getting to std::string, add using declarations.
1865 2003-10-06 André Pönitz <poenitz@gmx.net>
1867 * metricsinfo.C: initialize LyXFont before changing attribute.
1868 (fixes the 'math in \emph is upright' bug)
1870 2003-10-06 André Pönitz <poenitz@gmx.net>
1872 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1874 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
1877 * paragraph_pimpl.C: Small fixes to build using STLport
1879 2003-10-02 André Pönitz <poenitz@gmx.net>
1882 * text3.C: move handling of LFUN_DEPTH *; fix #1360
1884 2003-10-01 André Pönitz <poenitz@gmx.net>
1886 * factory.C: assert early
1888 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1890 * lyx_main.C: remove the global debug object
1892 * debug.h: adjust for new debugstream
1894 * debug.C: adjust for new debugstream and keep the global debug
1897 2003-09-22 Angus Leeming <leeming@lyx.org>
1899 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1900 of g++ which otherwise complain that the scoped_ptr destructor can't delete
1901 an incomplete class LyXFont.
1903 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1905 * factory.C: bug fix in branches
1907 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1909 * lyxfunc.C (processKeySym): adjust
1911 (dispatch): change arg name from ev to func, adjust
1912 (sendDispatchMessage): ditto
1914 * lyx_main.C (defaultKeyBindings): adjust keybindings
1915 (deadKeyBindings): ditto
1917 * kbsequence.C (addkey): return a FuncRequest
1919 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1921 * kbmap.C (bind): take a FuncRequest as arg, adjust
1924 (defkey): change to take a FuncRequest as arg, adjust
1925 (findbinding): take a FuncRequest as arg, adjust.
1927 * funcrequest.h (operator=): added
1929 * funcrequest.C (FuncRequest): default kb_action changed from
1930 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1932 * buffer.C (dispatch): simplify
1933 (dispatch): adjust to take a FuncRequest as arg, adjust
1935 * boost.C (assertion_failed): change assertion message slightly
1937 * ToolbarBackend.C (read): simplify
1939 * MenuBackend.C (binding): adjust call to findbinding, add a
1940 message if no binding is found.
1942 (expandToc): correct by adding a empty FuncRequest
1944 * LyXAction.C: include <boost/assert.hpp>
1945 (isPseudoAction): delete function
1946 (LookupFunc): change name to...
1947 (lookupFunc): this. change return type to FuncRequest.
1948 (getActionName): take kb_action as arg, simplify
1949 (funcHasFlag): add an assert, simplify.
1951 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1953 * toc.C (action): return a FuncRequest, simplify
1955 * lyxfunc.C (processKeySym): adjust
1956 (getStatus): delete version that takes an int.
1958 (dispatch): delete version that takes action as int
1960 (sendDispatchMessage): simplify and adjust
1962 * funcrequest.C (getArg): take unsigned int as arg
1964 * ToolbarBackend.C (read): adjust
1965 (add): delete version that takes func as a string.
1966 (getIton): take a FuncRequest as arg
1968 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1971 * MenuBackend.C (MenuItem): add a new construct that only takes a
1972 Kind, simplify the constructor use for submenus.
1974 (expandLastfiles): adjust
1975 (expandDocuments): adjust
1976 (expandFormats): adjust
1977 (expandFloatListInsert): adjust
1978 (expandFloatInsert): adjust
1979 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1981 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1982 Remove class variables lyx_pseudo_map and lyx_arg_map
1984 * LyXAction.C (searchActionArg): delete function
1985 (getPseudoAction): delete function
1986 (retrieveActionArg): delete function
1987 (LookupFunc): make it return kb_action, simplify.
1988 (getActionName): simplify
1990 * factory.C (createInset): fix new bug
1992 2003-09-19 Angus Leeming <leeming@lyx.org>
1994 * CutAndPaste.C (pasteSelection): remove fudge used to set the
1995 masterFilename_ parameter in the include inset.
1997 * factory.C (createInset): changes due to the changes to InsetInclude.
1999 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2001 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2003 2003-09-18 Angus Leeming <leeming@lyx.org>
2006 * BufferView.C: pass the buffer when calling Inset::getLabelList,
2007 Inset::fillWithBibKeys.
2008 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2010 2003-09-18 Angus Leeming <leeming@lyx.org>
2012 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2014 (ctor): pass and store a 'Buffer const &'
2015 (buffer): new member function.
2017 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2018 '*this' to the LaTeXFeatures ctor.
2020 2003-09-18 Angus Leeming <leeming@lyx.org>
2026 * text.C: rename EnumLColor as LColor_color.
2028 2003-09-18 Angus Leeming <leeming@lyx.org>
2030 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2031 remove #include "insets/insetbase.h" from cursor.h.
2033 2003-09-18 Angus Leeming <leeming@lyx.org>
2035 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2036 InsetOld_code to remove #include "inset.h".
2038 * iterators.C: add #include "insets/inset.h"
2040 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
2042 * BufferView.C: remove more locking stuff that apparently doesn't
2043 do anything sensible.
2045 2003-09-16 André Pönitz <poenitz@gmx.net>
2048 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2051 2003-09-16 Angus Leeming <leeming@lyx.org>
2053 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2055 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2058 * paragraph.h: remove #include "lyxfont.h". Forward declare
2061 2003-09-16 Angus Leeming <leeming@lyx.org>
2063 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2064 of support/textutils.h.
2065 (isWord): move the contents of support/textutils.h's IsWordChar here.
2071 * text2.C: add #include "paragraph.h".
2074 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2076 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2082 * LaTeX.C: use namespace alias for lyx::support::os
2084 2003-09-16 Angus Leeming <leeming@lyx.org>
2087 * bufferview_funcs.C:
2090 * paragraph_pimpl.C:
2092 * text.C: add #include "LColor.h".
2094 2003-09-16 Angus Leeming <leeming@lyx.org>
2096 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2097 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2099 Store the FontBits::color variable as an int rather than as an
2100 LColor::colorso that we can move LColor.h out of the lyxfont.h header
2103 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2104 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2105 string calls together.
2107 * lyxrc.C: add #include "LColor.h".
2109 2003-09-15 Angus Leeming <leeming@lyx.org>
2111 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2114 2003-09-15 Angus Leeming <leeming@lyx.org>
2116 * LColor.h: add an EnumLColor wrapper for LColor::color.
2118 * lyxfont.[Ch] (color, setColor, realColor):
2119 * lyxtext.h, text.C (backgroundColor):
2120 pass EnumLColor args to/from the functions, rather than LColor::color
2124 * lyxtext.h: forward declare EnumLColor.
2126 * lyx_main.C: add #include "LColor.h".
2128 2003-09-15 Angus Leeming <leeming@lyx.org>
2130 * .cvsignore: add lyx-gtk.
2132 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2137 * ParagraphParameters.C
2141 * bufferview_funcs.C
2151 * vc-backend.C: remove usage of STRCONV
2153 2003-09-15 Angus Leeming <leeming@lyx.org>
2155 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2156 explicitly define the color passed to the painter.
2158 2003-09-15 Angus Leeming <leeming@lyx.org>
2160 * bufferparams.C (BufferParams): reorder member initializers to avoid
2163 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
2165 * CutAndPaste.C (pasteSelection): remove an outdated #warning
2166 * text.C (updateRowPositions): remove an unusual nop
2168 2003-09-12 André Pönitz <poenitz@gmx.net>
2170 * BufferView_pimpl.C:
2179 * Counters.[Ch]: finish the 'automatic counters' job
2181 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2183 * aspell.C: include <boost/assert.cpp> (compile fix)
2185 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2187 * boost.C (assertion_failed): use lyx::support::abort instead of
2190 2003-09-10 Angus Leeming <leeming@lyx.org>
2192 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2193 with their _fwd progeny.
2195 2003-09-09 Angus Leeming <leeming@lyx.org>
2197 134 files throughtout the source tree: replace 'using namespace abc;'
2198 directives with the appropriate 'using abc::xyz;' declarations.
2200 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2202 * boost.C (emergencyCleanup): moved here from LAssert.c
2203 (assertion_failed): new function, called by BOOST_ASSERT
2205 * several files: change Assert to BOOST_ASSERT
2207 2003-09-09 Angus Leeming <leeming@lyx.org>
2209 * buffer.[Ch]: Add an Impl class and move Buffer's member
2210 variables into it. As a result move several header files out of
2213 Add header files to lots of .C files all over the tree as a result.
2215 2003-09-09 Angus Leeming <leeming@lyx.org>
2217 * buffer.[Ch]: make Buffer's member variables private. Add
2220 Lots of changes all over the tree as a result.
2222 2003-09-08 Angus Leeming <leeming@lyx.org>
2224 * graph.C: #include <config.h>.
2226 2003-09-08 Angus Leeming <leeming@lyx.org>
2230 * BufferView_pimpl.C:
2259 * toc.C: remove redundant using directives.
2261 2003-09-07 Angus Leeming <leeming@lyx.org>
2263 * LaTeXFeatures.h: remove #include "support/types.h".
2264 * ToolbarBackend.h: remove #include <algorithm>.
2265 * changes.h: remove #include <ctime>.
2266 * debug.h: remove #include <iosfwd>.
2267 * graph.h: remove #include "support/std_string.h".
2268 * lyx_main.h: remove #include <csignal>.
2269 * lyxlex_pimpl.h: remove #include <fstream>.
2270 * sgml.h: remove #include <algorithm>, <utility>.
2271 * toc.h: remove #include "support/std_ostream.h".
2272 Add #include <iosfwd>.
2274 2003-09-07 Angus Leeming <leeming@lyx.org>
2276 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2278 * converter.h: forward declare LatexRunParams.
2279 * encoding.h: remove #include "lyxrc.h".
2280 * lyxtext.h: remove #include "LColor.h".
2281 * lyxtextclass.h: remove #include "support/types.h".
2282 * trans.h: remove #include "tex-accent.h".
2283 * trans_mgr.h: remove #include "tex-accent.h".
2284 * insets/inset.h: remove #include "support/types.h", <vector>.
2285 * insets/insetcollapsable.h: remove #include "LColor.h".
2286 * insets/insetinclude.h: remove #include "dimension.h".
2287 * insets/insetlatexaccent.h: remove #include "dimension.h".
2288 * insets/insetoptarg.h:: remove #include "insettext.h".
2289 * insets/insettext.h: remove #include "dimension.h",
2290 <boost/shared_ptr.hpp>
2292 * insets/renderers.h: add #include "dimension.h".
2293 * insets/updatableinset.h: add #include "support/types.h".
2295 * many .C files: Associated changes.
2297 2003-09-06 Angus Leeming <leeming@lyx.org>
2299 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2300 one, inside testInvariant.
2302 * PrinterParams.C: new file.
2303 * PrinterParams.[Ch]: move the function bodies out of line.
2305 2003-09-06 Angus Leeming <leeming@lyx.org>
2307 * ParagraphParameters.h: forward declare ParameterStruct rather than
2308 including its header file.
2309 (depth): moved out-of-line.
2311 2003-09-06 Angus Leeming <leeming@lyx.org>
2313 * BufferView_pimpl.h:
2316 * lyxfunc.h: forward declare LyXKeySym rather than
2317 #include "frontends/LyXKeySym.h".
2319 * BufferView_pimpl.C:
2322 * lyxfunc.C: associated changes.
2324 2003-09-06 Angus Leeming <leeming@lyx.org>
2326 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2327 As a result, can remove the #include "insets/inset.h" from BufferView.h
2329 2003-09-06 Angus Leeming <leeming@lyx.org>
2331 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2332 As a result, can remove the #include "insets/inset.h" from BufferView.h
2334 2003-09-06 Angus Leeming <leeming@lyx.org>
2340 * bufferview_funcs.C:
2341 * BufferView_pimpl.C:
2346 * ParagraphParameters.C:
2351 * frontends/controllers/ControlDocument.C:
2352 * insets/insetcaption.C: rearrange the #includes into some sort of
2355 * buffer.h: remove #includes ErrorList.h, undo.h
2357 2003-09-06 Angus Leeming <leeming@lyx.org>
2359 * support/types.h: add a 'depth_type' typedef, used to store the
2360 nesting depth of a paragraph.
2363 * ParameterStruct.h: use this lyx::depth_type typedef rather than
2364 defining explicitly.
2367 * paragraph_funcs.h:
2368 * ParagraphParameters.h:
2369 * sgml.h: use lyx::depth_type rather than Paragraph or
2370 ParameterStruct's depth_type.
2373 * paragraph_funcs.h: no need to #include paragraph.h anymore.
2376 * BufferView_pimpl.C:
2378 * ParagraphParameters.C:
2381 * bufferview_funcs.C:
2388 * frontends/LyXView.C:
2389 * frontends/controllers/ControlDocument.C:
2390 * frontends/controllers/ControlErrorList.C:
2391 * insets/insetbibitem.C:
2392 * insets/insetbranch.C:
2393 * insets/insetcaption.C:
2394 * insets/insetcollapsable.C:
2395 * insets/insetenv.C:
2396 * insets/insetert.C:
2397 * insets/insetfloat.C:
2398 * insets/insetfoot.C:
2399 * insets/insetfootlike.C:
2400 * insets/insetnewline.C:
2401 * insets/insetquotes.C:
2402 * insets/insettabular.C:
2403 * insets/insettext.C:
2404 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2406 * frontends/controllers/ControlChanges.C: #include "changes.h".
2408 2003-09-06 Angus Leeming <leeming@lyx.org>
2410 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2411 than #including paragraph.h.
2414 * RowList.h: deleted. Superfluous.
2424 * insets/insettext.h: use ParagraphList_fwd.h rather than
2427 * paragraph.h: don't forward declare ParagraphList.
2430 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2431 rather than ParagraphList.h. paragraph.h is still needed for the
2432 Paragraph::depth_type parameters.
2434 * textcursor.h: enable it to compile stand-alone in light of the
2437 * bufferview_funcs.C:
2449 * frontends/controllers/ControlParagraph.C:
2450 * frontends/controllers/ControlTabular.C:
2451 * insets/insetmarginal.C:
2452 * insets/insetminipage.C:
2453 * insets/insetnote.C:
2454 * insets/insetoptarg.C: add header files needed to compile again.
2456 2003-09-06 Angus Leeming <leeming@lyx.org>
2458 * RowList_fwd.h: new file, forward-declaring Row rather than
2459 #including lyxrow.h.
2464 * insets/insettext.h: use it instead of RowList.h
2466 * bufferview_funcs.C:
2473 * text3.C: #include "RowList.h".
2475 2003-09-05 Angus Leeming <leeming@lyx.org>
2477 * factory.C (createInset):
2478 * vspace.C (c-tor): replace sscanf call with an istringstream.
2479 * ispell.C: re-add missing HP/UX headers.
2480 * lyxserver.C: re-add missing os2 headers.
2482 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
2491 * text3.C: re-add missing system headers, needed for 2.95.2.
2493 2003-09-05 Angus Leeming <leeming@lyx.org>
2495 Changes most place everywhere due to the removal of using directives
2496 from support/std_sstream.h.
2498 2003-09-05 Angus Leeming <leeming@lyx.org>
2500 Replace LString.h with support/std_string.h,
2501 Lsstream.h with support/std_sstream.h,
2502 support/LIstream.h with support/std_istream.h,
2503 support/LOstream.h with support/std_ostream.h.
2505 Changes resulting throughout the tree.
2507 2003-09-05 Angus Leeming <leeming@lyx.org>
2509 * sgml.h: ensure that the header file can be compiled stand-alone.
2510 * *.C: strip out redundant #includes. (320 in total.)
2512 2003-09-04 Angus Leeming <leeming@lyx.org>
2514 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2515 here (from getPackages).
2517 * debug.[Ch]: add a new EXTERNAL tag.
2519 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2521 * text2.C (cursorEnd): simplify
2523 (getColumnNearX): adjust
2525 * text.C (computeBidiTables): adjust
2528 * rowpainter.C (paintChars): adjust
2529 (paintSelection): adjust
2530 (paintChangeBar): adjust
2533 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2535 (numberOfSeparators): adjust
2537 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2543 * text3.C: Restricts the mouse click functionality
2544 of insets like bibtex, include, toc and floatlist to the visible
2545 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2546 up the dialogs. Cursor has to be in front of the inset (i.e.
2547 start of row) for this to function.
2549 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2551 * bufferview_funcs.C (currentState): output row information
2553 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2555 * bufferview_funcs.C (currentState): output paragraph position
2557 2003-09-04 Angus Leeming <leeming@lyx.org>
2559 * FloatList.h: move out #include "Floating.h".
2560 * LaTeX.h: move out #include "DepTable.h".
2561 * LyXAction.h: move out #include "funcrequest.h".
2562 * buffer.h: move out #include "author.h", "iterators.h".
2563 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2564 * lyx_main.h: move out #include "errorlist.h".
2565 * lyxfunc.h: move out #include "FuncStatus.h".
2566 * lyxtext: move out #include "lyxcursor.h".
2567 * paragraph_pimpl.h: move out #include "counters.h".
2569 2003-09-03 Angus Leeming <leeming@lyx.org>
2571 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2572 preamble_snippets list, enabling us to add snippets to the preamble
2573 only if the snippet was not there already.
2575 2003-09-04 Angus Leeming <leeming@lyx.org>
2577 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2579 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2581 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2584 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2586 * BranchList.C: point fix, earlier forgotten
2588 2003-09-02 Angus Leeming <leeming@lyx.org>
2590 * box.C (contains): renamed from 'contained' after a fantastic
2593 2003-09-02 John Levon <levon@movementarian.org>
2599 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2601 2003-09-02 John Levon <levon@movementarian.org>
2603 * text2.C: simplification of cursorEnd(), including partial
2606 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2608 * buffer.C (readFile): add a space
2610 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
2612 * BufferView_pimpl.C (update): remove bogus fitCursor() call
2614 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2616 * buffer.C (readFile): new function, take a filename and a
2617 ParagraphList::iterator
2619 (readFile): adjust, make it private. don't use setStream, make
2620 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2621 always contain the filename.
2623 * BufferView.C (insertLyXFile): simplify and make it work for
2626 2003-08-30 John Levon <levon@movementarian.org>
2628 * Makefile.am: fix dist (from Kayvan)
2630 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2632 * most files: change to use const Buffer refs
2634 2003-08-27 André Pönitz <poenitz@gmx.net>
2636 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2637 on top of ownerPar().
2639 2003-08-27 John Levon <levon@movementarian.org>
2641 * funcrequest.C: properly initialise POD members
2643 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2645 * lyxtext.h (top_y): move top_y from here
2650 * BufferView_pimpl.[Ch]: to here
2651 * frontends/screen.C:
2652 * insets/insettabular.C:
2653 * insets/insettext.C: adjust
2654 * rowpainter.[Ch] (paintRows): remove LyXText & argument
2656 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2659 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2661 2003-08-26 André Pönitz <poenitz@gmx.net>
2663 * paragraph_func.[Ch] (outerPar): new function
2666 * paragraph_funcs.C:
2667 * paragraph_funcs.h:
2668 * paragraph_pimpl.C:
2669 * text2.C: remove Inset::par_owner
2671 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2676 * text2.C: eliminates the needFullRow/display() stuff
2677 altogether, putting the logic in metrics/draw in the insets.
2679 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
2681 * text2.C (redoParagraphInternal, redoParagraphs):
2682 * text.C (redoParagraph): add a call to updateRowPositions at the
2683 end of each 'metrics-like' call. Remove all others.
2684 (getRow): remove the 'y-computing' version.
2685 (getRowNearY): do not compute nor return the real y. Solve the
2686 'y < 0' problem and simplify.
2688 2003-08-22 Angus Leeming <leeming@lyx.org>
2690 * *.[Ch]: clean-up of licence and author blurbs.
2691 Also move config.h out of a few .h files and into a few .C files.
2693 2003-08-22 André Pönitz <poenitz@gmx.net>
2695 * lyxrow.[Ch]: add x_ and *fill_ members
2700 * text2.C: adjust/remove prepareToPrint() calls
2702 2003-08-22 André Pönitz <poenitz@gmx.net>
2704 * lyxrow.[Ch]: add end_ member
2706 * lyxrow_funcs.C: use LyXRow::end_
2708 * lyxtext.h (singleWidth): add LyXFont parameter
2711 * text2.C: adjust LyXText::singleWidth() calls
2713 * text.C (redoParagraph): simplify row breaking logic
2716 2003-08-19 André Pönitz <poenitz@gmx.net>
2718 * funcrequest.C: initialize button_ member
2721 * rowpainter.[Ch]: interface consolidation
2723 2003-08-18 André Pönitz <poenitz@gmx.net>
2726 * BufferView_pimpl.C:
2728 * paragraph_funcs.C:
2730 * text3.C: remove LyXScreen::draw() and fitCursor calls
2732 * BranchList.h: remove spurious semicolons
2734 * MenuBackend.C: fix branchlist related crash
2736 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2744 * bufferparams.[Ch]:
2748 * text3.C: implements the 'branch inset'
2749 idea. This allows the output of various versions of a document
2750 from a single source version, selectively outputing or suppressing
2751 output of parts of the text.
2752 This implementation contains a 'branch list editor' in a separate
2753 tab of the document settings dialog. Branches are user definable
2754 and have a "display colour" to distinguish them on-screen.
2756 ColorHandler was somewhat cleaned up.
2757 (1) make possible a dynamically growing LColor list by allowing
2758 the graphic context cache to grow along (vector);
2759 (2) eliminate an IMHO unnecessary step in colour allocation.
2761 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
2763 * BufferView_pimpl.C: compile fix
2765 2003-08-15 André Pönitz <poenitz@gmx.net>
2767 * rowpainter.C: remove extra metrics calls
2769 * lyxtext.h: merge the two constructors into a single one,
2770 pass reference to owner's par list
2772 * BufferView_pimpl.C:
2776 2003-08-15 André Pönitz <poenitz@gmx.net>
2778 * lyxrow_funcs.[Ch]:
2781 * paragraph_funcs.C:
2786 * text_funcs.C: split LyXText::rowlist_ into individual
2787 Paragraph::rows_ chunks
2790 * BufferView_pimpl.[Ch]:
2793 * text3.C: remove toggleSelection()
2795 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2797 * bufferlist.C: beautify two alerts (shorter text of buttons)
2798 * buffer.C: Remove redundant ' ' from message
2800 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2801 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2802 rename VALIGN_CENTER to VALIGN_MIDDLE
2804 2003-08-11 André Pönitz <poenitz@gmx.net>
2806 * lyxtext.h (getPar):
2807 * text.C: new function
2809 2003-08-11 André Pönitz <poenitz@gmx.net>
2812 * tracer.[Ch]: remove unneeded files
2814 * InsetList.[Ch]: remove resizeInsetsLyXText()
2819 * text3.C: merge insertParagraphs() and appendParagraph()
2820 remove breakAgain(), update()
2822 * BufferView_pimpl.[Ch]:
2823 * bufferview_funcs.[Ch]:
2827 * tabular.C: adjust after text & InsetList changes.
2829 2003-08-08 André Pönitz <poenitz@gmx.net>
2831 * text.C (insertChar, backspace): replace rowlist fiddling
2832 with rebreak of full par
2835 * text.C (breakAgainOneRow, redoHeightOfParagraph,
2836 checkParagraph, updateInset): removed
2838 2003-08-07 André Pönitz <poenitz@gmx.net>
2841 * text3.C: merge some LFUN handlers, remove dead code
2843 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2845 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2847 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
2849 * text2.C (DEPM): fix part of bug 1255 and 1256
2851 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2853 * BufferView_pimpl.C (workAreaDispatch): change to use
2854 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2855 that are no mouse related.
2857 2003-08-05 André Pönitz <poenitz@gmx.net>
2860 * BufferView_pimpl.[Ch]:
2861 * bufferview_funcs.C:
2863 * text3.C: rip out "deep update"
2865 * textcursor.[Ch] (last_sel_cursor): remove unused member
2867 2003-08-04 André Pönitz <poenitz@gmx.net>
2870 * BufferView_pimpl.[Ch]:
2871 * ParagraphParameters.C:
2872 * bufferview_funcs.C:
2878 * text3.C: replace "complicated" BufferView::update(...) calls with
2881 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2883 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
2885 * Makefile.am (lyx_SOURCES): add paper.h
2887 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2889 * Makefile.am: move things around so that both lyx-qt and
2890 lyx-xforms can be built (according to --with-frontend). Then lyx
2891 is a symbolic link to lyx-[firstfrontend]
2893 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2895 * Always use std::endl with lyxerr
2897 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
2899 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2901 2003-08-01 André Pönitz <poenitz@gmx.net>
2904 * BufferView_pimpl.[Ch]:
2906 * text3.C: merge BufferView::repaint() and BufferView::update()
2908 2003-08-01 José Matos <jamatos@lyx.org>
2910 * buffer.[Ch]: file_format is no longer a buffer data element.
2912 2003-08-01 André Pönitz <poenitz@gmx.net>
2917 * text2.C: make redoParagraph more independent of current cursor
2919 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2921 * text2.C: remove unneeded members
2923 2003-07-30 André Pönitz <poenitz@gmx.net>
2925 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2927 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2928 create a single function...
2930 * paragraph_funcs.C (moveItem): ... here.
2933 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2935 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2937 * LColor.[Ch]: Add comment and greyedout logical colors.
2939 2003-07-30 André Pönitz <poenitz@gmx.net>
2941 * tabular.C: don't use Assert too heavily. This crashes where it
2944 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
2946 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2947 is disabled (bug 1232)
2949 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2951 * factory.C: limited 'arg' scope
2953 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2955 * factory.C: fixed Note submenu issues
2957 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2959 * factory.C: submenu for Note/Comment/Greyedout
2961 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
2964 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2966 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2969 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2970 greyedout. Patch provided by Jürgen Spitzmüller.
2972 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2974 * kbmap.C (read): fix error message when reading bind files
2976 2003-07-29 Angus Leeming <leeming@lyx.org>
2978 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2979 certainly does not do what it purports to do. I am doing it, and
2980 us, a favour by killing it.
2982 2003-07-28 José Matos <jamatos@lyx.org>
2984 * buffer.C (readBody, do_writeFile):
2985 * paragraph.C(readParagraph): \end_document replaces \the_end.
2987 2003-07-29 André Pönitz <poenitz@gmx.net>
2990 * BufferView_pimpl.[Ch]:
2994 * textcursor.[Ch]: remove toggleToggle & Co
2996 2003-07-28 José Matos <jamatos@fep.up.pt>
2998 * buffer.C (readParagraph):
2999 * params_func (readParToken, readParagraph):
3000 * paragraph.C (write): \layout -> \begin_layout.
3002 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3004 * lyxlex_pimpl.C (setFile): clean up slightly.
3006 * bufferparams.h: add compressed var
3008 * buffer_funcs.C (readFile): adjust for LyXLex change
3009 (newFile): ditto + simplify
3011 * buffer.C (writeFile): handle writing of compressed files
3013 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3014 Check if the file is compressed and set a bufferparm if so.
3016 * Makefile.am (lyx_LDADD): remove explicit -lz
3018 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3020 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3021 makeDocBookFile): put the real LyX version in the first line of
3025 * version.C.in: remove lyx_docversion
3027 * tabular.C (write_attribute): add a template-based version to
3028 write enums properly
3030 2003-07-28 André Pönitz <poenitz@gmx.net>
3035 * text3.C: use doubles again for x-coordinates. They are needed.
3037 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3039 * messages.C (getLocaleDir): use lyx_localedir()
3041 * lyxlex_pimpl.C (setFile): compress stuff
3043 * buffer.C (writeFile): add some compression stuff
3044 (do_writeFile): new func, dont call expliti close... will this
3047 * Makefile.am (lyx_LDADD): add -lz
3049 2003-07-28 José Matos <jamatos@fep.up.pt>
3051 * buffer.C: increment file format.
3052 * paragraph_funcs (readParagraph, readParToken):
3053 * paragraph.C (readParagraph): add \end_layout.
3055 2003-07-27 Angus Leeming <leeming@lyx.org>
3057 * Makefile.am: remove special casing for configure-time setting of
3058 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3060 * lyx_main.C (init): remove all Jean-Marc's magic setting of
3061 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3063 2003-07-26 André Pönitz <poenitz@gmx.net>
3065 * paragraph_func.[Ch]:
3066 * paragraph.C (realizeFont): inline it whereever it is used
3071 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3074 2003-07-26 André Pönitz <poenitz@gmx.net>
3078 * text2.C: get rid of LyXText::need_break_row
3080 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3082 * toc.[Ch]: put namespace toc inside namespace lyx
3084 * MenuBackend.C (expandToc2): adjust for lyx::toc
3087 * lyxfunc.C (dispatch): adjust for lyx::find
3089 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3090 lyx::find instead. Reorganize a bit.
3091 (LyXReplace): rename to replace
3092 (LyXFind): rename to find
3094 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3097 2003-07-26 André Pönitz <poenitz@gmx.net>
3099 * text.C (setHeightOfRow): restrict scope of temporary variable
3101 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
3102 code (never has been used?)
3104 2003-07-27 Asger Alstrup <alstrup@local>
3106 * text.C (fill): Optimise algorithm to exploit that we can reuse
3107 the LyXFont for many characters.
3108 (setHeightOfRow): Same thing.
3109 (rowBreakPoint): Same thing.
3111 2003-07-26 Asger Alstrup <alstrup@local>
3113 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3115 * text.C (singleWidth): Spurious font copying in hot-spot
3116 singleWidth avoided. Reorder tests for arabic for efficiency.
3118 * text.C (fill): handle empty paragraphs better.
3120 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3123 * encoding.h: add includes
3125 * lyxrc.C: remove reading of bind files
3127 * lyx_main.C (init): setup bindings and menus only if we have a
3130 * kbmap.C (read): new method. Do the actual reading of bind
3133 * converter.C (dvipdfm_options):
3136 (output): adapt PAPER_* enums.
3138 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3140 * bufferparams.h: remove paper-related enums from there
3142 * paper.h: New file. A trivial header file to hold paper-related
3143 enums. It should later expand to contain many paper-related
3146 * lyxrc.C: declare extern displayTranslator
3148 2003-07-27 José Matos <jamatos@fep.up.pt>
3150 * tabular.[Ch] (linuxdoc): add support for tables and figures
3153 2003-07-27 José Matos <jamatos@fep.up.pt>
3155 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3156 consistency in both functions.
3157 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3159 2003-07-26 Asger Alstrup <alstrup@local>
3161 * rowpainter.C (paintRows): Change algorithm to work directly on
3162 the insets rather than asking every character in the document
3163 whether its an inset.
3165 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
3167 * buffer.C (openFileWrite): factorize some code
3169 2003-07-26 Angus Leeming <leeming@lyx.org>
3172 * lyx_main.[Ch]: replace occurances of system_tempdir with
3175 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3177 * rename Inset to InsetOld
3179 2003-07-25 Asger Alstrup <alstrup@diku.dk>
3181 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3182 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3183 which I think is a bit clearer. EDIT is gone, since it was
3184 premature optimisation, and broken for mathed anyway.
3185 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3186 with cursor positioning in insets as well (math insets still do not
3187 work, but that's a different story anyway.) It mysteriously
3188 crashes sometimes with undo in the first paragraph, but I'm fairly
3189 confident that this is a compiler bug.
3191 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3193 * paragraph.C (Paragraph): adjust for new clone return type
3195 (copyIntoMinibuffer): ditto
3197 2003-07-25 Asger Alstrup <alstrup@lyx.org>
3199 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3200 by not having a special case, and always doing a full rebreak of
3201 the document after undo.
3203 2003-07-23 Angus Leeming <leeming@lyx.org>
3205 * factory.C (createInset): InsetExternal::setParams now takes a
3208 2003-07-23 Angus Leeming <leeming@lyx.org>
3210 * factory.C (createInset): changed interface to the external and
3211 graphics mailers' string2params functions.
3213 2003-07-23 Angus Leeming <leeming@lyx.org>
3215 * factory.C (createInset): pass a
3216 Buffer const * parameter to InsetExternalMailer's string2params.
3218 2003-07-22 John Levon <levon@movementarian.org>
3220 * Thesaurus.h: include the right aiksaurus header
3222 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3224 * MenuBackend.C (expand): check menu shortcuts unconditionally
3226 2003-07-21 Angus Leeming <leeming@lyx.org>
3228 * factory.C (createInset): pass a
3229 buffer_path parameter to InsetGraphicsMailer's string2params.
3231 2003-07-21 Angus Leeming <leeming@lyx.org>
3233 * BufferView_pimpl.C (buffer):
3236 * lyxfunc.C (dispatch):
3237 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3238 rather than the grfx shortcut.
3240 2003-07-21 André Pönitz <poenitz@gmx.net>
3242 * rowpainter.C: remove unused variables
3245 * tabular_funcs.h: move to tabular.C
3246 * Makefile.am: adjust
3248 * tabular.[Ch]: basic optical cleaning
3250 * author.h: pass references, not values
3252 2003-07-18 André Pönitz <poenitz@gmx.net>
3260 * text3.C: two-phase drawing for InsetText and InsetTabular
3261 some float -> int changes.
3263 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3265 * lyx_main.C: fix the fix
3267 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3269 * lyx_main.C: fix a crash in batch mode if no files specified
3272 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
3274 * format.[Ch] (papersize): moved to BufferParams
3275 * converter.[Ch] (dvips_options): moved to BufferParams
3276 (dvipdfm_options): moved to anon namespace
3277 * bufferparams.[Ch]: added above functions.
3279 2003-07-17 André Pönitz <poenitz@gmx.net>
3283 * text2.C: don't call inset->update() anymore
3285 * metricsinfo.[Ch]: add convenience constructor
3287 2003-07-16 André Pönitz <poenitz@gmx.net>
3292 * text2.C: replace the LyXCursor::irow_ member with
3293 on-demand computation of the value
3295 2003-07-16 John Levon <levon@movementarian.org>
3297 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3299 2003-07-15 André Pönitz <poenitz@gmx.net>
3302 * text2.C: remove no more needed refresh_row
3304 2003-07-15 André Pönitz <poenitz@gmx.net>
3309 * text3.C: refresh_status tristate -> need_update bool
3311 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3313 * lyxtext.h (init): remove reinit argument (act as if always true)
3314 * text2.C: adjust to that
3316 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3318 * bufferview_funcs.[Ch]: introduce function replaceSelection()
3319 * text3.C: use it to delete selections in some cases
3320 (bugs 441, 673, 702, 954).
3322 2003-07-14 André Pönitz <poenitz@gmx.net>
3324 * rowpainter.[Ch]: reduce interface
3326 2003-07-14 André Pönitz <poenitz@gmx.net>
3328 * BufferView_pimpl.C:
3329 * text2.C: adjust after removing unused BufferView * argument
3331 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
3333 * text2.C (init): fix a crash fired on resize
3335 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
3337 * buffer.[Ch]: added new closing signal
3338 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3339 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3340 BufferView::Pimpl via the closing the signal
3342 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
3344 * buffer.[Ch]: take out all bv-related from buffer
3346 * BufferView_pimpl.[Ch]: connect to new signals
3347 * CutAndPaste.C: removed useless asserts
3348 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3351 * lyxfunc.C: moved view-related funciontality from vc here
3352 * paragraph.C: removed outdated comments
3355 2003-07-10 André Pönitz <poenitz@gmx.net>
3357 * BufferView_pimpl.C:
3361 * text2.C: remove InsetText::InnerCache, clean up consequences
3363 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3365 * ispell.C: fix two typos in error messages
3367 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
3369 * Extend Note inset to other forms of annotation like Comment
3370 and Greyedout. Right button click gives dialog.
3372 Files modified or added (+):
3376 * ControlNote.[Ch] +
3378 * Makefile.am in frontends/xforms, frontends/xforms/forms,
3379 frontends/controllers
3383 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3385 * aspell.C: add missing namespace lyx::support
3387 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
3389 * BufferView.[Ch] (newFile): Add
3390 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3391 * LaTeX.[Ch] (message): added this signal and use it
3392 * buffer.[Ch] (busy, message): added these signals and use them
3393 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3397 * importer.C: use buffer signals instead of direct bv calling
3398 * lyx_cb.[Ch] (ShowMessage): removed
3401 * paragraph_funcs.C:
3402 * text2.C: use buffer signals
3404 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3406 * introduce namespace lyx::graphics
3408 2003-07-02 André Pönitz <poenitz@gmx.net>
3410 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3412 2003-07-01 André Pönitz <poenitz@gmx.net>
3419 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3420 text*.C to text_func.C
3422 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3424 * introduce namespace lyx::support
3426 2003-06-30 André Pönitz <poenitz@gmx.net>
3431 * text.C: re-enable --with-included-string
3433 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3435 * textcursor.C: add <config.h>
3437 * text.C (getWord): remove const from word_location arg
3439 * lyxvc.C (getLogFile): fix const type order
3441 * lyxtext.h: remove const from word_location arg, add arg name
3443 * lyxlayout.h: currect type on labeltype.
3445 * importer.C: correct \file
3447 * converter.C (intToFormat): use std:: on ret val, ws changes
3449 * bufferlist.h: correct \file
3451 * buffer.C (makeLinuxDocFile): fix const type order
3452 (makeDocBookFile): ditto
3453 (fillWithBibKeys): use std:: on stdlib args.
3455 * CutAndPaste.C: fix authors.
3456 (availableSelections): use std:: on return vector
3458 2003-06-27 André Pönitz <poenitz@gmx.net>
3460 * BufferView_pimpl.C:
3461 * bufferview_funcs.C:
3469 * text3.C: remove LyXCursor::row_ member
3472 * text.C: rename fullRebreak() to partialRebreak() and implement
3473 a fullRebreak() that really bereks fully
3475 * textcursor.h: new struct for cursor-related data
3477 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
3479 * lyx_main.C (LyX): get full path of document loaded on the
3482 2003-06-26 André Pönitz <poenitz@gmx.net>
3484 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3485 remove unused/broken operator>,<,>=.
3487 * text.C: remove only use of broken operator<= in an Assert().
3489 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3491 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3492 moved errorlist_.clear to showErrorList
3494 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3496 * converter.C (scanLog, runLaTeX):
3497 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3498 move the bv->showErrorList call to the callers
3499 * lyxfunc.C: i.e. here...
3501 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3502 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3503 namespace, the second to...
3504 * buffer_funcs (BufferFormat, parseErrors): added
3505 * errorlist.C (ErrorList(TeXErrors const &)): removed
3507 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3509 * ToolbarBackend.C (getIcon): complain when icon cannot be found
3511 2003-06-24 "Garst R. Reese" <reese@isn.net>
3515 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3517 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3519 * version.C.in: change docversion to 1.4
3521 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
3523 * buffer.C: fix a bug just introduced
3525 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3527 * buffer.[Ch]: added the parseError signal and use it, removed
3529 * BufferView.[Ch] (addError): moved to ...
3530 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3531 to the Buffer::parseError signal to catch (guess what) parse errors
3532 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3534 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3536 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3537 ability to create a buffer and to return an existing one from
3538 the list. Moved these functions to...
3539 * buffer_funcs.[Ch]: added
3540 * BufferView.[Ch] (loadLyXFile): added
3541 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3542 job removed from bufferlist::loadLyXFile.
3543 * buffer.C (setReadOnly): make it work without view
3544 (i.e added an if (users))
3546 2003-06-19 Angus Leeming <leeming@lyx.org>
3549 * LyXAction.C (init):
3550 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3551 with LFUN_DIALOG_SHOW <name> <data>.
3553 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3555 * CutAndPaste.C (availableSelections): small compilation fix for
3556 ancient (gcc 2.9x) compilers
3558 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3560 * text3.C (cursorNext): add tmp var
3562 * text2.C (updateCounters): for function calling out of for clause
3563 (replaceSelectionWithString): ditto
3564 (insertStringAsParagraphs): ditto
3565 (getColumnNearX): add tmp var
3566 (setCursorFromCoordinates): add tmp var
3567 (cursorDownParagraph): add tmp var
3568 (deleteEmptyParagraphMechanism): add tmp var
3570 * text.C (insertChar): add tmp var
3572 * rowpainter.C (paintDepthBar): add tmp var
3574 * CutAndPaste.C (availableSelections): potentially check all
3575 paragraphs in a cut to fill the shown strings.
3577 2003-06-18 André Pönitz <poenitz@gmx.net>
3579 * kbmap.[Ch]: use vector<> instead of list<>
3581 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3583 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3584 pasteSelection with index
3586 * text2.C (pasteSelection): modify, call pasteSelection with index
3588 * paragraph.C (asString): reimplement version with no interval to
3589 call the one with interval.
3591 * lyxtext.h: add index arg to pasteSelection
3593 * MenuBackend.C (MenuItem): handle PasteRecent
3594 (Menu::read::Menutags): add md_pasterecent
3596 (expandPasteRecent): new function
3599 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3601 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3603 (availableSelections): new function
3605 2003-06-17 Angus Leeming <leeming@lyx.org>
3607 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3609 2003-06-17 Angus Leeming <leeming@lyx.org>
3612 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3614 * lyxfunc.C (dispatch): invoke it.
3616 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3618 * iterators.C (operator++, ParPosition): reintroduce some
3619 const_cast for the benefit of older compilers.
3621 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3623 * text3.C (dispatch): do not modify clipboard when doing
3624 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3625 LFUN_DELETE_SKIP on a selection selection
3627 2003-06-16 André Pönitz <poenitz@gmx.net>
3633 * tabular.[Ch]: IU of clone() and getLabelList();
3635 2003-06-13 André Pönitz <poenitz@gmx.net>
3637 * tabular.h: compactification
3639 2003-06-12 André Pönitz <poenitz@gmx.net>
3643 * tabular_funcs.h: some renaming plus whitespace
3645 2003-06-12 André Pönitz <poenitz@gmx.net>
3648 * BufferView_pimpl.C:
3654 * toc.C: Return a Paragraph & for ParIterator::operator*()
3656 2003-06-11 John Levon <levon@movementarian.org>
3660 * ToolbarBackend.C: add "Toolbars" section and
3663 2003-06-10 Angus Leeming <leeming@lyx.org>
3666 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3668 * lyxfunc.C (dispatch): invoke it.
3670 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3672 * main.C: protect <ios> with HAVE_IOS
3673 (main): protect sync_with_stdio with HAVE_IOS
3675 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3677 * text2.C (cutSelection): adjust
3678 (pasteSelection): adjust
3680 * messages.C: handle get of empty string
3682 * main.C (main): use sync_with_stdio(false)
3684 * lyxfunc.C (dispatch): adjust
3686 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3687 (WriteAs): remove unneeded BufferView arg.
3689 * bufferparams.h: use correct types on papersize, papersize2 and
3692 * bufferparams.C (readToken): adjust for type
3693 (writeLaTeX): add missing cases to switch.
3695 * bufferlist.C (quitWriteBuffer): adjust
3698 * buffer.C (asciiParagraph): remove some commented code.
3700 * CutAndPaste.C: remove current_view extern variable.
3701 (cutSelection): add BufferParams arg.
3702 (eraseSelection): add BufferParams arg.
3703 (pasteSelection): add Buffer const & arg
3705 2003-06-07 John Levon <levon@movementarian.org>
3708 * paragraph_funcs.C:
3709 * paragraph_pimpl.C:
3713 * paragraph.C: allow InsetERT to freely space lines,
3714 and some consolidation of code
3716 2003-06-06 José Matos <jamatos@fep.up.pt>
3718 * buffer.C (makeDocBookFile): fix bug #821
3720 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3722 * BufferView_pimpl.C (dispatch): use Dialogs::visible
3724 2003-06-04 Angus Leeming <leeming@lyx.org>
3726 * buffer.C: bump format to 224.
3728 2003-06-05 André Pönitz <poenitz@gmx.net>
3730 * text2.C (redoParagraphs): remove two const_cast<>
3732 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3734 * ParagraphList.h: remove last remnants of NO_STD_LIST
3736 2003-06-03 Angus Leeming <leeming@lyx.org>
3738 * factory.C (createInset): small change to the way InsetExternal's params
3741 2003-06-04 André Pönitz <poenitz@gmx.net>
3743 * buffer.h: use Undo directly instead of shared_ptr<Undo>
3745 * paragraph_pimpl.h:
3746 * paragraph.[Ch]: some Inset -> UpdatableInset changes
3748 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3750 * undo_funcs.C: make some simple cases of undo work again
3752 2003-06-03 John Levon <levon@movementarian.org>
3754 * ispell.C: HPUX doesn't have sys/select.h
3757 2003-06-03 John Levon <levon@movementarian.org>
3759 * CutAndPaste.C: update tabular and include inset
3764 * paragraph.C: remove owningBuffer(), don't pass Buffer
3767 * factory.C: insetGraphicsParams changed
3769 2003-06-02 John Levon <levon@movementarian.org>
3775 * text3.C: remove insetparent
3777 2003-06-02 John Levon <levon@movementarian.org>
3780 * buffer.C: fix inset_iterator.end(), move out of line
3783 2003-06-01 John Levon <levon@movementarian.org>
3785 * text3.C: use a proper cut/paste when doing inset
3786 insert (from Jürgen Spitzmüller)
3788 2003-06-01 John Levon <levon@movementarian.org>
3790 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3792 2003-05-30 André Pönitz <poenitz@gmx.net>
3794 * rowpainter.C: unify second drawing phase
3796 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3798 * trans_mgr.C: remove one case of current_view
3800 * text2.C (cursorBottom): delete NO_STD_LIST stuff
3802 * paragraph_funcs.h: remove paragraph.h include
3804 * paragraph.h: delete NO_STD_LIST stuff
3806 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3808 * buffer.h: remove paragraph.h include
3810 * ParagraphList.C: delete file
3812 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3814 * toc.C (getTocList): adjust
3816 * paragraph_pimpl.C (validate): adjust
3818 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3820 * paragraph.C (Paragraph): adjust
3821 (getPositionOfInset): use const_iterator, adjust
3822 (bibitem): use const_iterator, adjust
3823 (setInsetOwner): adjust
3825 * iterators.C (operator++): adjust
3827 * InsetList.[Ch]: Replace selfmade iterator with standard
3828 vector::iterator also introduce const_iterator. Remove getPos,
3829 getInset and setInset from InsetTable. Adjust accordingly.
3831 * BufferView.C (lockInset): adjust
3832 (ChangeInsets): adjust
3834 * tabular.[Ch]: delete commented same_id functions
3836 2003-05-28 John Levon <levon@movementarian.org>
3838 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3840 2003-05-28 André Pönitz <poenitz@gmx.net>
3842 * metricsinfo.[Ch]: remove 'fullredraw' member
3844 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
3846 * lyxtextclass.C (operator): remove caching.
3848 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3852 * text2.C (cursorBottom): adjust
3853 (setCounter): use ParagraphList::find, adjust
3855 * text.C (workWidth): use ParagraphList::find, adjust
3857 * lyxcursor.C (LyXCursor): adjust
3859 * buffer.C (inset_iterator): adjust
3861 * ParagraphList.h: make iterator(value_type) private, make
3862 ParagraphList a friend of iterator.
3864 * ParagraphList.C (find): new function
3866 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3868 2003-05-27 André Pönitz <poenitz@gmx.net>
3870 * dimension.[Ch]: a -> asc, d -> des, w -> wid
3872 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3874 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3876 2003-05-26 John Levon <levon@movementarian.org>
3878 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3880 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3882 * remove same_id from function signatures, adjust.
3884 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3886 * undo_funcs.C (createUndo): use the id functions directly, adjust.
3888 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3890 * paragraph.C (Paragraph): get rid of same_ids parameter
3892 * ParagraphList.C (insert): adjust
3895 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3897 * paragraph_funcs.C (breakParagraph): adjust
3898 (breakParagraphConservative): adjust
3900 * buffer.C (readParagraph): adjust
3902 * ParagraphList.C (insert): take a reference instead of a pointer
3905 * paragraph.[Ch] (id): new function
3907 * bufferlist.C (newFile): adjust
3909 * ParagraphList.C (ParagraphList): adjust
3911 (push_back): take a reference instead of a pointer.
3913 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3915 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3918 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3919 set else use old code.
3921 * ParagraphList.C: remove all NO_NEXT code and only compile this
3922 code of NO_STD_LIST is set.
3924 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3926 * BufferView_pimpl.C:
3936 * graphics/GraphicsConverter.C:
3937 * graphics/PreviewLoader.C: header adjustment
3939 2003-05-23 Angus Leeming <leeming@lyx.org>
3941 * LaTeXFeatures.[Ch] (useBabel): new method.
3942 * bufferparams.C (writeLaTeX): use it.
3944 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3946 * ParagraphList.h (set): remove unused function.
3948 2003-05-23 André Pönitz <poenitz@gmx.net>
3951 * BufferView_pimpl.C:
3955 * undo_funcs.C: setUndo reworked
3957 * iterators.[Ch]: add access to topmost ParagraphList
3959 * lyxtext.[Ch] (workWidth): add a const
3961 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3963 * texrow.[Ch] (increasePos): remove function
3964 * exporter.C (export): removed unused var and outdated comment
3966 2003-05-23 Angus Leeming <leeming@lyx.org>
3968 * latexrunparams.h: rename fragile as moving_arg.
3969 * paragraph.C (simpleTeXOnePar): ditto.
3970 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3972 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3974 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3976 (textUndoOrRedo): comment out a currently unused var.
3978 * paragraph.h (NO_NEXT): enable NO_NEXT
3980 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3982 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3984 * exporter.C (Export): adjust for removeAutoInsets removal.
3986 * buffer.C (runChktex): adjust for removeAutoInsets removal.
3988 * LyXAction.C (init): remove LFUN_REMOVEERRORS
3990 * BufferView.[Ch] (removeAutoInsets): delete function
3992 2003-05-22 Angus Leeming <leeming@lyx.org>
3994 * latexrunparams.h: add a free_spacing variable.
3996 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3997 to pass moving_arg, as the data is stored in runparams.fragile.
3999 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4000 to Inset::latexOptional or to simpleTeXOnePar.
4002 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4003 free_spacing arg to Inset::latexOptional.
4005 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4008 2003-05-22 Angus Leeming <leeming@lyx.org>
4010 * latexrunparams.h: add fragile and use_babel variables.
4012 * bufferparams.[Ch] (writeLaTeX): return use_babel.
4013 * buffer.C (makeLaTeXFile): store this returned value in
4014 runparams.use_babel, thus passing it to the inset::latex methods.
4016 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4017 simpleTeXSpecialChars as it is now stored in runparams.fragile.
4019 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4020 longer has a fragile arg, as it is stored in runparams.fragile.
4022 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4023 moving_arg parameter as the data is stored in runparams.fragile.
4025 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4026 a fragile parameter as the data is stored in runparams.fragile.
4028 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4030 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4032 2003-05-22 Angus Leeming <leeming@lyx.org>
4034 * latexrunparams.h: add a 'bool nice' which defaults to false.
4036 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4037 now encapsulated within runparams.
4039 * bufferlist.C (updateIncludedTeXfiles):
4040 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4042 2003-05-22 Angus Leeming <leeming@lyx.org>
4044 * latexrunparams.h: new file containing struct LatexRunParams.
4045 * Makefile.am: add new file.
4047 * LaTeX.[Ch] (c-tor, run):
4048 * buffer.[Ch] (makeLaTeXFile):
4049 * bufferlist.[Ch] (updateIncludedTeXfiles):
4050 * converter.C (convert, scanLog):
4051 * converter.[Ch] (runLaTeX):
4052 * exporter.C (Export):
4053 * paragraph.[Ch] (simpleTeXOnePar):
4054 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4055 * paragraph_funcs.[Ch] (latexParagraphs):
4056 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4057 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4058 pass around a LatexRunParams parameter.
4060 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4062 * paragraph.[Ch]: remove unused constructor
4064 * ParagraphList.C (erase): new function, taking two iterators
4066 2003-05-22 André Pönitz <poenitz@gmx.net>
4068 * undo_funcs.C: remove duplicated code
4070 * iterator.[Ch]: operator=
4072 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4074 * tabular.C (SetMultiColumn): ws changes
4076 * rowpainter.C (paintFirst): get rid of a ->previous
4078 * lyx_cb.C (getPossibleLabel): parlist simplification
4080 * BufferView.C (ChangeInsets): simplify slightly.
4082 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4084 * LyXAction.C: new lfun space-insert, kill protected-space-insert
4085 * lfuns.h: new LFUN_SPACE
4086 * lyxfunc.C: protected space has a new lfun
4087 * paragraph_funcs.C: read new space insets
4089 * factory.C: handle new space insets
4091 2003-05-22 André Pönitz <poenitz@gmx.net>
4094 * BufferView_pimpl.C:
4097 * undo_funcs.C: return a ParIterator from getParFromID.
4099 * iterators.[Ch]: add two const's
4101 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4103 * toc.C (getTocList): adjust
4105 * iterators.[Ch]: rework for parlist
4107 * buffer.C (par_iterator_begin): adjust
4108 (par_iterator_end): adjust
4110 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4112 * BufferView.C (removeAutoInsets): adjust
4113 (ChangeInsets): adjust
4115 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
4117 * text.C (top_y): fix bug 1110
4119 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
4121 * errorlist.[Ch]: added
4124 * BufferView_pimpl.C:
4125 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4128 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4130 * Makefile.am: ensure that lyx is relinked upon changes to the
4131 various "convenience" libs.
4133 2003-05-20 Angus Leeming <leeming@lyx.org>
4135 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4136 files are compiled in alphabetical order again.
4138 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4140 2003-05-19 Angus Leeming <leeming@lyx.org>
4142 * gettext.[Ch]: remove "char const * _(char const *)".
4144 2003-05-19 André Pönitz <poenitz@gmx.net>
4146 * dimension.[Ch]: promote from mathed/dimension.[Ch]
4155 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4157 2003-05-19 André Pönitz <poenitz@gmx.net>
4161 * lyxtextclass.[Ch]:
4163 * paragraph_funcs.[Ch]:
4165 * text3.C: more insetenv work
4167 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
4169 * ParagraphParameters.C (params2string): small bug fixed
4171 2003-05-16 André Pönitz <poenitz@gmx.net>
4174 * bufferview_funcs.C: patch from Kornel Benko to prevent
4175 crash when _(...) is called twice in a statement
4177 2003-05-16 André Pönitz <poenitz@gmx.net>
4184 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4186 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
4188 * lyx_main.C (init): remove spurious static_cast
4190 2003-05-14 André Pönitz <poenitz@gmx.net>
4192 * BufferView.C: fix format string
4194 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
4196 * BufferView.[Ch] (insertErrors): removed
4197 * BufferView.[Ch] (showErrorList): added
4198 * buffer.C (runChkTeX):
4199 * converter.C (scanLog): call showErrorList instead of inserterrors
4201 2003-05-13 André Pönitz <poenitz@gmx.net>
4203 * BufferView_pimpl.C:
4205 * bufferview_func.C:
4212 * tabular_funcs.h: tostr() from its own header
4214 * ParagraphParameters.C:
4219 * text3.C: STRCONV()
4221 2003-05-12 André Pönitz <poenitz@gmx.net>
4224 * BufferView_pimpl.C:
4228 * ParagraphParameters.C:
4232 * bufferview_funcs.C:
4245 * paragraph_funcs.C:
4249 * text3.C: boost::format -> bformat all over the place
4252 2003-05-09 André Pönitz <poenitz@gmx.net>
4254 * LColor.[Ch]: Pimpl the #include <map> away
4256 2003-05-09 John Levon <levon@movementarian.org>
4258 * bufferlist.C: never remove emergency saves
4260 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4262 * Makefile.am: better lib building
4264 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4266 * texrow.[Ch]: remove dependency on Paragraph and just store a id
4268 * paragraph_pimpl.C (simpleTeXBlanks): adjust
4269 (simpleTeXSpecialChars): adjust
4270 (simpleTeXSpecialChars): adjust
4271 * paragraph.C (simpleTeXOnePar): adjust
4272 * buffer.C (makeLaTeXFile): adjust
4274 * Makefile.am (BOOST_LIBS): allow boost as system lib.
4276 * text2.C (changeDepth): parlist cleanup
4277 (getColumnNearX): ditto
4279 * rowpainter.C (getLabelFont): parlist cleanup
4281 * bufferlist.C (newFile): parlist cleanup
4283 * CutAndPaste.C (eraseSelection): parlist cleanup
4285 * BufferView_pimpl.C (trackChanges): parlist cleanup
4288 * BufferView.C (lockInset): parlist cleanup.
4289 (ChangeInsets): ditto
4291 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4293 * CutAndPaste.h: Update file header.
4295 * CutAndPaste.C: Update file header.
4296 Store the parts cut out of the Document in a limited_stack.
4297 (copySelection): adjust
4298 (pasteSelection): new function, takes the index in the limited stack.
4299 (nrOfParagraphs): adjust
4300 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4301 simplify error inset insertion.
4302 (checkPastePossible): adjust
4304 2003-05-06 John Levon <levon@movementarian.org>
4306 * text2.C: don't cast wrap inset to float
4308 2003-05-05 André Pönitz <poenitz@gmx.net>
4311 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4313 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4314 few naked Paragraph *.
4316 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
4318 * bufferparams.C: Output warning if a document with missing
4319 TeX document class is loaded
4320 * exporter.C: Disable TeX exports if the document class is missing
4323 * lyxtextclasslist.C: Handle new textclass.lst format; new method
4324 isTeXClassAvailable()
4326 2003-05-03 John Levon <levon@movementarian.org>
4329 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4330 explicit cursor show/hide
4332 * BufferView_pimpl.h:
4333 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4334 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4336 * lyxfunc.C: hide cursor before dispatching.
4341 * text3.C: remove explicit cursor hides
4343 2003-05-02 André Pönitz <poenitz@gmx.net>
4345 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4348 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4351 * text2.C: tiny whitespace
4353 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4355 * undo_funcs.C: almost only ws changes.
4357 * ParagraphList.C (splice): just return if pl is empty.
4359 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4361 * ParagraphList.C (splice): new function.
4363 * CutAndPaste.C (pasteSelection): use it
4365 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4367 * CutAndPaste.C (pasteSelection): remove the last next and
4368 previous from this file.
4370 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4372 * CutAndPaste.C (pasteSelection): more clean up, user proper
4373 ParagraphList functions for pasteing.
4375 * ParagraphList.C (insert): new function, three arg insert
4377 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4379 * ParagraphList.C (insert): new function, three arg insert
4381 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4384 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4386 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4388 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4390 * CutAndPaste.C (pasteSelection): remove some unneeded code.
4392 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4394 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4395 (copySelection): clean up a bit.
4396 (pasteSelection): use make_pair
4398 * ParagraphList.C (ParagraphList): implement copy constructor
4399 (operator=): implement, base on copy constructor.
4402 * paragraph.C (erase): return a bool
4404 * paragraph_pimpl.C (erasePos): remove function, move contents...
4405 (erase): ... here. Return a bool.
4406 (erase): call erase instead of erasePos.
4408 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
4410 * ParagraphList.h: define PitPosPair
4411 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4412 ParagraphList, fix a bug on pasting multiple pars
4413 * text2.C: change interface to C&P
4415 2003-04-30 André Pönitz <poenitz@gmx.net>
4417 * undo_func.C: revert part of yesterday's patch 2
4419 2003-04-30 John Levon <levon@movementarian.org>
4421 * LColor.C: s/tabular/table/
4423 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4425 * text3.C (dispatch): do not convert iterator -> pointer
4426 * undo_funcs.C (setCursorParUndo): ditto
4427 * text_funcs.C (transposeChars): ditto
4429 * text2.C (setLayout): ws changes only
4431 * text.C (breakParagraph): do not convert iterator -> pointer
4433 (acceptChange): ditto
4434 (rejectChange): ditto
4439 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4442 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4444 * text3.C (gotoInset): YABG (yet another bad getChar)
4446 2003-04-29 André Pönitz <poenitz@gmx.net>
4448 * paragraph.h: make operator= private unimplemented as long as
4451 * ParagraphList.C: whitespace
4454 * paragraph_pimpl.[Ch]:
4455 * paragraph_funcs.C:
4457 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
4460 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4462 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4464 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4465 * paragraph.[Ch] (erase):
4466 * paragraph_pimpl.[Ch] (erase): change return type and value
4467 * text2.C (cutSelection): some rework
4469 2003-04-28 John Levon <levon@movementarian.org>
4471 * bufferlist.C: changes for unsaved changes dialog
4473 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4475 * bufferlist.C (newFile): set language (messages_) for new
4478 * buffer.C (readFile): ws changes only.
4480 2003-04-28 André Pönitz <poenitz@gmx.net>
4485 * BufferView_pimpl.C:
4486 * BufferView.C: getParFromID related ParagraphList::iterator changes
4488 2003-04-28 André Pönitz <poenitz@gmx.net>
4490 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4493 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4495 * messages.C: remove one more localedir class variable.
4497 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4499 * messages.C (getLocaleDir): singleton generation function
4501 (Messages): add a default constructor.
4503 * main.C (main): do not setup localedir here, do not call
4506 * gettext.C (_): use it.
4507 (gettext_init): delete funciton
4509 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4511 * gettext.C (getLyXMessages): new singleton generating function.
4513 * buffer.C (updateDocLang): adjust
4515 * Makefile.am (messages.o): add target
4516 (main.o): remove target
4518 2003-04-27 John Levon <levon@movementarian.org>
4523 * lyxvc.C: specify cancel button in Alert::prompt
4525 2003-04-26 John Levon <levon@movementarian.org>
4530 * LyXAction.C: add LFUN_INSET_SETTINGS
4532 * lyxfunc.C: don't enable tabular-feature when there's
4533 just any locking inset
4535 2003-04-26 John Levon <levon@movementarian.org>
4537 * bufferlist.C: re-add Cancel to buffer close question
4539 * lyxfunc.C: fix import UI a bit
4541 2003-04-25 John Levon <levon@movementarian.org>
4543 * gettext.C: remove the broken asserts for now
4545 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4547 * messages.C: make case where setlocale cannot comply work better.
4549 * buffer.C (updateDocLang): new function
4550 (changeLanguage): use it
4553 * text2.C (setCounter): use B_ a bit.
4555 * lyxlayout.C (Read): be sure to trim the label strings.
4557 * messages.C (Messages): fix typo in comment
4559 * buffer.C (readFile): set message_ after file is loaded.
4560 (makeDocBookFile): remove double return
4561 (changeLanguage): reset message_ upon language change.
4562 (B_): new func, use this to get translated buffer strings.
4564 * main.C: add myself and Jean Marc as authors.
4566 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4568 * messages.[hC]: pimplify Messages, and three different pimpls to be
4569 used in different circumstances.
4571 * gettext.[Ch]: change for use with new message code.
4573 2003-04-24 André Pönitz <poenitz@gmx.net>
4575 * factory.C: support for eqref
4577 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4579 * messages.[Ch]: add missing char
4581 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4583 * messages.[Ch]: New files
4585 2003-04-18 John Levon <levon@movementarian.org>
4589 * BufferView_pimpl.C:
4593 * text2.C: remove layout-copy/paste (bug 778)
4595 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4597 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4599 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4601 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4602 if they succeed. Act accordingly.
4604 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4606 * text2.C (setCharFont): adjust
4607 (setCounter): adjust
4608 (insertStringAsLines): adjust
4610 * text.C (leftMargin): adjust
4611 (setHeightOfRow): adjust
4613 * rowpainter.C (paintFirst): adjust
4616 * paragraph_funcs.C (depthHook): ParagraphList::iterators
4618 (isFirstInSequence): ditto
4619 (getEndLabel): ditto
4622 * paragraph.C (getParLanguage): comment out some hard stuff.
4624 * buffer.C (insertStringAsLines): take a ParagraphList as arg
4626 (simpleDocBookOnePar): ditto
4627 (makeDocBookFile): use ParagraphList::iterator
4629 * CutAndPaste.C (pasteSelection): adjust
4631 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4633 * text2.C (getFont): adjust
4634 (getLayoutFont): adjust
4635 (getLabelFont): adjust
4637 * paragraph_funcs.C (TeXOnePar): adjust
4639 * buffer.C (simpleLinuxDocOnePar): adjust
4640 (simpleDocBookOnePar): adjust
4642 * CutAndPaste.C (pasteSelection): adjust
4644 * BufferView.C (getEncoding): adjust
4646 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4648 2003-04-16 John Levon <levon@movementarian.org>
4650 * lyxfind.C: use parlist stuff for search/changes
4652 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4654 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4656 * text2.C (deleteEmptyParagraphMechanism): adjust
4658 * text2.[Ch] (ownerParagraph): delete func (both of them
4660 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4662 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4664 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4666 * ParagraphList.C: prepare for NO_NEXT
4668 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4670 * text2.C (getFont): adjust
4671 (getLayoutFont): adjust
4672 (getLabelFont): adjust
4674 * paragraph.C (getFont): adjust
4675 (getLabelFont): adjust
4676 (getLayoutFont): adjust
4678 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4680 2003-04-15 John Levon <levon@movementarian.org>
4684 * lyx_main.C: handle Include in .ui files
4686 2003-04-15 John Levon <levon@movementarian.org>
4688 * MenuBackend.C: make the doc files length shorter
4691 * ToolbarBackend.C: handle toolbar placement flags,
4694 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4696 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4699 * paragraph_funcs.C (TeXOnePar): adjust
4701 * paragraph.C (getLabelFont): add outerfont arg, adjust
4702 (getLayoutFont): ditto
4703 (simpleTeXOnePar): adjust
4705 * paragraph_pimpl.C (realizeFont): delete func
4707 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
4709 * text2.C (beforeFullRowInset): added a bad getchar check, removed
4710 row argument, constify cur argument.
4712 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4714 * text2.C (getFont): adjust
4715 (getLayoutFont): adjust
4716 (getLabelFont): adjust
4718 * paragraph_funcs.C (TeXOnePar): adjust
4719 (outerFont): new func...
4720 (realizeFont): ...moved out from here, changed this to facilitate
4723 * paragraph.C (getFont): take outerfont as arg, adjust
4724 (simpleTeXOnePar): add outerfont arg, adjust
4726 * buffer.C (simpleLinuxDocOnePar): adjust
4727 (simpleDocBookOnePar): adjust
4729 * CutAndPaste.C (pasteSelection): adjust
4731 * BufferView.C (getEncoding): adjust
4733 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4735 * text2.C (setCharFont): adjust
4736 (setCounter): adjust
4738 * text.C (leftMargin): adjust
4739 (setHeightOfRow): adjust
4741 * rowpainter.C (paintFirst): adjust
4744 * paragraph_pimpl.C (realizeFont): adjust
4746 * paragraph.C (isFirstInSequence): move from here...
4747 * paragraph_funcs.C (isFirstInSequence): ...to here
4749 * paragraph.C (outerHook): move from here...
4750 * paragraph_funcs.C (outerHook): ...to here
4752 * paragraph.C (depthHook): move from here...
4753 * paragraph_funcs.C (depthHook): ...to here
4755 * paragraph.C (getEndLabel): move from here...
4756 * paragraph_funcs.C (getEndLabel): ...to here
4758 * text2.C (realizeFont): move from here...
4759 * paragraph_funcs.C (realizeFont): ...to here
4761 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4763 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4765 2003-04-14 Angus Leeming <leeming@lyx.org>
4767 * LColor.[Ch]: scrap LColor mathcursor.
4769 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4771 * lyxlex.[Ch] (text): delete function
4772 * trans.C (Load): adjust
4773 * paragraph_funcs.C (readParToken): adjust
4775 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4777 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4778 vector<char> instead of a char[].
4780 * lyxlex_pimpl.C (getString): adjust
4782 (lex): use getString
4786 * lyxlex.C (text): use pimpl_->getString()
4790 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4792 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4793 (makeFontEntriesLayoutSpecific): temp var for par.size()
4794 (setLayout): temp var for ownerParagraphs().end()
4795 (fullRebreak): temp var for rows().end()
4796 (selectionAsString): temp var for boost::next(startpit), realize
4797 that the while really is a regular for loop.
4798 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4799 setCursor in one place.
4800 (setParagraph): temp vr for ownerParagraphs().end()
4801 (updateCounters): make the while loop a for loop
4802 (cutSelection): temp var for ownerParagraphs().end()
4803 (updateInset): make the do {} while() a regular for loop
4804 (getCursorX): use temp vars
4805 (setCurrentFont): use temp vars
4806 (getColumnNearX): use temp vars
4808 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4810 * text.C (transformChar): use temp var for getChar
4811 (computeBidiTables): use temp var for row->par()
4812 (fill): move temp vars for row->par() and pit->layout() earlier in
4814 (labelFill): use temp var for row->par()
4815 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4816 asc and desc, realize that pit never changes and that firstpit is
4817 just a duplicate and not needed. Exchange rit->par() with pit in a
4819 (breakAgain): use a temp var for boost::next(rit)
4820 (breakAgainOneRow): ditto
4821 (breakParagraph): use a temp var for rows().begin()
4822 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4823 (cursorRightOneWord): use temp var for cursor.par() and
4824 cursor.pos(), remove usage of tmpcursor.
4825 (cursorLeftOneWord): use temp var for cursor.par() and
4826 cursor.pos() only set cur at end of function.
4828 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4830 * text.C, text2.C: exchange all usage of Paragraph::next with
4831 boost::next(ParagraphList::iterator)
4833 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4835 * text2.C (cursorTop): simplify implementation
4836 (cursorBottom): ditto
4837 (setParagraph): use ParagraphList::iterator
4838 (setCurrentFont): adjust
4839 (getColumnNearX): adjust
4840 (cursorRight): adjust
4841 (cursorLeft): remove usage of Paragraph::previous
4842 (cursorUpParagraph): ditto
4843 (deleteEmptyParagraphMechanism): slight cleanup
4845 * text.C (isBoundary): take a Paragraph const & instead of a
4847 (addressBreakPoint): ditto
4848 (leftMargin): remove usage of Paragraph::previous.
4849 (setHeightOfRow): ditto
4850 (cursorLeftOneWord): ditto
4851 (selectNextWordToSpellcheck): ditto
4854 (breakParagraph): remove one usage of Paragraph::next
4855 (redoParagraph): ditto
4856 (acceptChange): ditto
4857 (insertChar): adjust
4858 (rowBreakPoint): adjust
4860 * bufferview_funcs.C (toggleAndShow): adjust
4862 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
4864 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4865 methods to access it.
4867 * text.C: Added updateRowPositions to compute all row positions.
4868 Make top_y and getRowNearY() to use the cached y position
4870 2003-04-11 John Levon <levon@movementarian.org>
4872 * text.C (rowBreakPoint): reintroduce the labelEnd
4873 checks, code copied from the row fill stuff. Deep voodoo.
4875 * text.C (fill): add a comment and debugging for the
4878 2003-04-11 John Levon <levon@movementarian.org>
4880 * text.C: make sure fullrow insets get wrapped to the next line,
4881 even when they're in a manual label
4883 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4885 * text2.C (insertParagraph): make it take ParagraphList::iterator
4887 (setLayout): make it return ParagraphList::iterator
4888 (redoParagraphs): ditto
4890 (checkParagraph): ditto
4892 * text.C (getRow): make getrow take ParagraphList::iterator as arg
4894 * text2.C: adjust several funcs.
4895 (realizeFont): take a ParagraphList::iterator as arg.
4896 (getLayoutFont): ditto
4897 (getLabelFont): ditto
4898 (setCharFont): ditto
4900 * text.C: adjust several funcs.
4902 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4904 * text.C (selectNextWordToSpellcheck): don't accidentally
4907 2003-04-10 John Levon <levon@movementarian.org>
4909 * ToolbarBackend.C (getIcon): special handling for
4912 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4914 * text2.C (cursorRight): a getChar assert fixed
4916 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4918 * text2.C (getFont): change to take a ParagraphList::iterator
4919 instead of Paragraph*
4920 Adjust several functions.
4922 * text.C (transformChar): change to take a ParagraphList::iterator
4923 instead of Paragraph*
4924 (singleWidth): ditto
4925 Adjust several functions.
4927 * rowpainter.C: adjust several functions
4928 * rowpainter.h:store a ParagraphList::iterator and not a
4932 2003-04-09 John Levon <levon@movementarian.org>
4937 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4938 and the "help" bits as well
4940 2003-04-09 John Levon <levon@movementarian.org>
4943 * ToolbarBackend.C: allow multiple toolbars
4945 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4947 * undo_funcs.C (setCursorParUndo): adjust
4949 * text_funcs.C (transposeChars): adjust
4951 * text3.C (gotoNextInset): adjust
4954 * text2.C (setLayout): adjust
4955 (changeDepth): adjust
4957 (redoParagraphs): adjust
4958 (selectionAsString): adjust
4959 (setParagraph): adjust
4960 (insertInset): adjust
4961 (cutSelection): adjust
4962 (copySelection): adjust
4963 (pasteSelection): adjust
4964 (insertStringAsLines): adjust
4965 (updateInset): adjust
4966 (setCursor): change to take a ParagraphList::iterator parameter
4967 (setCursorIntern): change to take a ParagraphList::iterator parameter
4968 (setCurrentFont): adjust
4969 (cursorLeft): adjust
4970 (cursorRight): adjust
4971 (deleteEmptyParagraphMechanism): adjust
4973 * text.C (breakParagraph): adjust
4974 (insertChar): adjust
4975 (acceptChange): adjust
4976 (rejectChange): adjust
4977 (selectNextWordToSpellcheck): adjust
4978 (changeCase): adjust
4982 * lyxfind.C (SearchForward): adjust
4983 (SearchBackward): adjust
4984 (nextChange): adjust
4986 * lyxcursor.C (par): adjust
4988 * lyxcursor.h: store a ParagraphList::iterator instead of a
4991 * lyx_cb.C (getPossibleLabel): adjust
4993 * bufferview_funcs.C (toggleAndShow): adjust
4995 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4998 * BufferView.C (removeAutoInsets): adjust
4999 (lockedInsetStoreUndo): adjust
5001 2003-04-09 John Levon <levon@movementarian.org>
5003 * ToolbarBackend.C: try icon without argument
5004 if with argument fails
5006 2003-04-08 John Levon <levon@movementarian.org>
5009 * ToolbarBackend.C: add getIcon(), handle tooltip,
5010 and change from "Icon" to "Item".
5012 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5014 * BufferView.C (lockInset): another bad getchar crunched
5016 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5018 * text2.C (changeDepth): do not setUndo on test_only (make undo work
5021 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
5023 * lyxfind.C (searchForward, searchBackwards): bug 782
5025 2003-04-07 John Levon <levon@movementarian.org>
5027 * paragraph.C: remove dead comment
5029 * text.C: remove troublesome depth-fiddling code
5030 in leftMargin() and rightMargin() (bug 1017)
5032 * text.C: fix breaking of rows in nested lists
5035 * text2.C (updateCounters): fix up depth values
5038 2003-04-07 John Levon <levon@movementarian.org>
5040 * BufferView_pimpl.C: clear message when doc finishes resizing,
5041 and after a mouse event
5043 * lyxfunc.C: clear message after exiting inset
5045 2003-04-07 John Levon <levon@movementarian.org>
5047 * bufferview_funcs.C: show math status not outside
5048 status in the statusbar
5050 2003-04-07 John Levon <levon@movementarian.org>
5052 * lyxfunc.C: note status changed after a depth change
5054 2003-04-04 Angus Leeming <leeming@lyx.org>
5056 * LaTeX.h: move AuxInfo operator==, != out of line.
5057 Remove LaTeX virtual destructor; nothing derives from it.
5058 Move operator()() out of public area and rename it startscript().
5059 Change protected for private.
5061 2003-04-04 Angus Leeming <leeming@lyx.org>
5064 * text2.C: remove unneeded #includes.
5066 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5068 * text2.C (dEPM): fix the heigth of the next row
5070 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5072 * text.C: squashed an invalid getChar requester + some ws changes
5074 2003-04-03 John Levon <levon@movementarian.org>
5076 * bufferview_funcs.h:
5077 * bufferview_funcs.C:
5080 * text2.C: make getStatus work for the env depth lfuns
5082 2003-04-03 John Levon <levon@movementarian.org>
5084 * bufferview_funcs.h:
5085 * bufferview_funcs.C:
5088 * text2.C: parlistize decDepth(), by merging it with incDepth()
5090 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5092 * lyxrow.h: store a ParagraphList::iterator instead of a
5093 Paragraph* and adjust other class functions to suit.
5095 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5098 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5100 * text2.C (setCursor): do not anchor to cursor row for the time being
5102 2003-04-02 John Levon <levon@movementarian.org>
5109 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5111 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5113 * paragraph.h: make ParagraphList and ParagraphList::iterator
5114 friends of Paragraph.
5116 * buffer.C (makeLinuxDocFile): move towards ParagraphList
5118 * ParagraphList.C: Use the private next_ and previous_ from
5121 2003-04-01 John Levon <levon@movementarian.org>
5125 * Makefile.am: rename, remove defaults gunk
5128 * MenuBackend.C: remove defaults gunk
5131 * Languages.C: remove defaults gunk
5134 * lyx_main.C: error out if files couldn't be found.
5136 2003-04-02 John Levon <levon@movementarian.org>
5138 * text2.C: make incDepth() use parlist
5140 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5142 * undo_funcs.C (firstUndoParagraph): adjust
5144 * text3.C (gotoInset): adjust
5145 (dispatch): adjust, and rewrite loop.
5147 * text2.C (init): adjust, and rewrite loop.
5148 (redoParagraphs): adjust
5149 (updateInset): adjust, and rewrite loop.
5150 (deleteEmptyParagraphMechanism): adjust
5152 * tabular.C (LyXTabular): adjust
5153 (SetMultiColumn): adjust
5156 * lyxtext.[Ch] (ownerParagraph): delete function
5157 (ownerParagraphs): new function returns a ParagraphList.
5159 * BufferView.C (removeAutoInsets): adjust
5160 (insertErrors): adjust
5161 (setCursorFromRow): adjust
5163 2003-04-01 Angus Leeming <leeming@lyx.org>
5165 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5168 2003-04-02 John Levon <levon@movementarian.org>
5174 * text_funcs.C: make transposeChars a free function
5176 * lyxrow_funcs.C: remove wrong comment
5178 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5181 * rowpainter.C: adjust
5186 * lyxrow_funcs. [Ch]: new files
5188 * lyxrow.[Ch]: remove next and previous pointers
5189 (next,previous): remove accessor functions
5190 (isParEnd): move to lyxrow_funcs
5191 (lastPos): move to lyxrow_funcs
5192 (nextRowIsAllInset): move to lyxrow_funcs
5193 (lastPrintablePos): move to lyxrow_funcs
5194 (numberOfSeparators): move to lyxrow_funcs
5195 (numberOfHfills): move to lyxrow_funcs
5196 (numberOfLabelHfills): move to lyxrow_funcs
5197 (hfillExpansion): move to lyxrow_funcs
5201 * bufferview_funcs.C (toggleAndShow): adjust
5203 * RowList.h: Remove class RowList from file leave just a
5206 * RowList.C: delete file
5208 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5211 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5213 * text3.C (cursorPrevious): adjust
5214 (cursorNext): adjust
5217 * text2.C (redoHeightOfParagraph): adjust
5218 (redoDrawingOfParagraph): adjust
5221 * text.C (breakParagraph): adjust
5222 (insertChar): adjust
5225 * rowpainter.C (RowPainter): adjust
5226 (leftMargin): simplify and adjust
5227 (most rowpainter functions): adjust.
5229 * rowpainter.h: store the row as RowList::iterator not as Row*
5231 * lyxcursor.C (row): taka RowList::iterator as arg
5234 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5237 2003-04-01 Angus Leeming <leeming@lyx.org>
5239 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5240 stuff like bool Bool.
5242 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5244 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5247 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5249 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5252 * lyxtext.h (rows): drop one version and leve a const variant that
5253 returns a RowList::iterator.
5255 2003-03-31 Angus Leeming <leeming@lyx.org>
5257 * text.C (fill): ensure that the signature is the same as that in the
5260 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
5262 * text2.C (redoParagraphs): adjust
5263 (updateCounters): adjust
5264 (checkParagraph): adjust
5265 (getColumnNearX): adjust and reformat a bit.
5267 * text.C (top_y): adjust
5269 (leftMargin): adjust
5270 (prepareToPrint): adjust
5272 (getRowNearY): adjust
5274 * lyxtext.h: make rowlist_ mutable.
5276 * RowList.h: add const_iterator
5277 * RowList.C: adjust for RowList::const_iterator.
5279 * text2.C (getCursorX): make it take a RowList::iterator as arg,
5282 2003-03-31 John Levon <levon@movementarian.org>
5285 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5287 * lyx_main.C: set default fonts from using lyx_gui funcs
5289 * exporter.C: pdf_mode moved from lyxrc
5292 * lyxfunc.C: changes from above
5294 2003-03-31 John Levon <levon@movementarian.org>
5296 * lyx_main.C: fix to the last fix
5298 2003-03-31 John Levon <levon@movementarian.org>
5300 * bufferlist.C: "Load original" -> "Load Original"
5306 * format.C: more Alert cleanups
5308 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5310 * text2.C (removeParagraph): make it take a RowList::iterator as
5312 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5313 (postRowPaint): make it take a RowList::iterator as arg, adjust.
5315 * text.C (anchor_row): make it take a RowList::iterator as arg,
5317 (computeBidiTables): make it take a const reference to Row instead
5318 of Row pointer, adjust.
5319 (leftMargin): make it take a RowList::iterator as arg, adjust.
5320 (rowBreakPoint): adjust
5321 (breakAgainOneRow): make it take a RowList::iterator as arg,
5323 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5325 * bufferview_funcs.C (toggleAndShow): adjust
5327 2003-03-30 John Levon <levon@movementarian.org>
5331 * boost-inst.C: moved to support
5333 * several files: changes as a result
5335 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5337 * text2.C (LyXText): adjust.
5339 (removeRow): make it take a RowList::iterator as arg, adjust.
5340 (fullRebreak): adjust
5341 (deleteEmptyParagraphMechanism): adjust
5342 (clearPaint): adjust
5345 * text.C (top_y): adjust
5346 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5347 (breakAgain): make it take a RowList::iterator as arg, adjust.
5348 (breakParagraph): adjust
5349 (insertChar): adjust
5352 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5353 need_break_row, and refresh_row.
5355 * text3.C (dispatch): adjust
5357 * text2.C (checkParagraph): adjust
5359 (setCursorFromCoordinates): adjust
5361 * text.C (top_y): adjust
5363 (getRow): make it return a RowList::iterator, adjust
5364 (getRowNearY): make it return a RowList::iterator, adjust
5366 * text2.C (init): adjust
5367 (insertRow): remove function
5368 (insertParagraph): adjust
5369 (redoParagraphs): adjust
5370 (fullRebreak): adjust
5371 (updateCounters): adjust
5373 * text.C (top_y): rewrite to use RowList iterators.
5375 (setHeightOfRow): rewrite to sue RowList iterators.
5376 (appendParagraph): adjust
5377 (breakAgain): adjust
5378 (breakAgainOneRow): adjust
5379 (breakParagraph): adjust
5381 (getRowNearY): adjust, and remove commented code.
5383 * lyxtext.h (firstRow): delete function
5384 (lastRow): delete function
5385 (rows): new function (const and non-const versions.)
5386 (insertRow): delete function
5388 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5390 2003-03-29 John Levon <levon@movementarian.org>
5392 * BufferView_pimpl.C: always update scrollbar top
5393 because pasting text when we're anchored could mean we
5394 miss an update altogether
5396 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5398 * text2.C (init): use rowlist_.end() and not 0.
5399 (insertRow): change to take a RowList::iterator as arg, adjust
5401 (insertParagraph): change to take a RowList::iterator as arg,
5403 (redoParagraphs): remove some debug msgs.
5405 * text.C (appendParagraph): change to take a RowList::iterator
5406 arg, adjust for this.
5407 (breakAgain): add an assert
5408 (breakAgainOneRow): ditto
5410 2003-03-29 John Levon <levon@movementarian.org>
5412 * text2.C: do not clear selection after inc/decDepth
5415 2003-03-29 John Levon <levon@movementarian.org>
5418 * buffer.C: fix broken strerrors according to Lars
5420 2003-03-29 John Levon <levon@movementarian.org>
5422 * converters.C: more Alert cleanups
5424 2003-03-29 John Levon <levon@movementarian.org>
5426 * bufferview_funcs.C: remove pointless Alert
5428 * buffer.C: fix confusing error message when
5429 a template is chmoded 000
5431 2003-03-29 John Levon <levon@movementarian.org>
5435 * BufferView_pimpl.C: Alert fixes
5439 * tabular-old.C: remove unused table compat reading
5441 2003-03-29 John Levon <levon@movementarian.org>
5446 * lyx_cb.C: more Alert cleanups
5448 * lyxfunc.C: don't allow chktex if not latex document
5450 2003-03-29 John Levon <levon@movementarian.org>
5454 * buffer.C: warnings pushed down from support/,
5457 2003-03-29 John Levon <levon@movementarian.org>
5459 * lyxfunc.C: safety check for C-r (revert)
5461 2003-03-29 John Levon <levon@movementarian.org>
5464 * bufferlist.C: several UI fixes using Alert::prompt.
5465 Fix the pointless looping quit code. Fix stupid revert
5470 * lyx_cb.C: use Alert::prompt
5472 * lyx_main.C: remove a silly question
5474 * lyxfunc.C: remove a couple of silly questions,
5477 2003-03-28 John Levon <levon@movementarian.org>
5479 * text2.C: fix bug 974 (End on empty par)
5481 2003-03-28 John Levon <levon@movementarian.org>
5483 * BufferView_pimpl.C:
5485 * lfuns.h: remove do-nothing math greek lfuns
5487 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5489 * lyxgluelength.h (isValidGlueLength): add default arg on
5490 parameter 2. Remove default arg from friend in class.
5492 * lyxlength.h (isValidLength): add default arg on parameter 2.
5493 Remove default arg from friend in class.
5495 * text2.C (LyXText): adjust, initialize refresh_row.
5499 (insertParagraph): adjst
5500 (redoParagraphs): adjust
5501 (fullRebreak): adjust
5502 (updateCounters): adjust
5503 (deleteEmptyParagraphMechanism): first attempt at fixing a
5506 * text.C (top_y): adjust
5507 (setHeightOfRow): adjust
5509 (getRowNearY): adjust
5511 * lyxtext.h: include RowList.h
5512 (~LyXText): not needed anymore, deleted.
5513 (firstRow): modify for RowList
5514 (lastRow): new function
5515 Delete firstrow and lastrow class variables, add a Rowlist
5516 rowlist_ class variable.
5518 * lyxrow.C (lastPos): use empty() and not !size() to check if a
5521 * RowList.C (insert): fix case where it == begin().
5523 2003-03-26 Angus Leeming <leeming@lyx.org>
5525 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5526 the thesaurus dialog.
5528 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5530 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5532 * RowList.[Ch]: new files
5534 * ParagraphList.C (erase): handle the case where it == begin
5537 2003-03-25 John Levon <levon@movementarian.org>
5541 * aspell.C: add new aspell support
5544 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5547 2003-03-25 Angus Leeming <leeming@lyx.org>
5550 * LyXAction.C (init): new LFUN_INSET_INSERT.
5552 * BufferView_pimpl.C (dispatch): split out part of the
5553 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5555 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5558 2003-03-25 Angus Leeming <leeming@lyx.org>
5560 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5562 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5565 * text3.C: remove useless row->height(0)
5567 2003-03-25 John Levon <levon@movementarian.org>
5571 * text3.C: rename the refreshing stuff to better names
5573 2003-03-24 John Levon <levon@movementarian.org>
5575 * BufferView_pimpl.h:
5576 * BufferView_pimpl.C: update layout choice on a mouse
5579 2003-03-23 John Levon <levon@movementarian.org>
5581 * Makefile.am: fix commandtags.h reference
5583 2003-03-22 John Levon <levon@movementarian.org>
5585 * BufferView_pimpl.C:
5590 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5592 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5595 * text.C: take the rtl methods out of line
5597 2003-03-21 André Pönitz <poenitz@gmx.net>
5599 * metricsinfo.[Ch]: new files containing structures to be passed around
5600 during the two-phase-drawing...
5602 2003-03-21 André Pönitz <poenitz@gmx.net>
5604 * lyxtextclass.C: read 'environment' tag.
5606 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5608 * text2.C (removeRow): fix bug 964
5610 2003-03-20 John Levon <levon@movementarian.org>
5614 * text2.C: paint cleanups. Inset::update() dropped font
5617 2003-03-19 John Levon <levon@movementarian.org>
5619 * lyxfunc.C: only fitcursor/markDirty if available()
5621 2003-03-19 John Levon <levon@movementarian.org>
5623 * commandtags.h: rename to ...
5625 * lfuns.h: ... this, and renumber / cleanup
5627 2003-03-19 John Levon <levon@movementarian.org>
5629 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5630 fit the cursor after an lfun
5634 * BufferView_pimpl.h:
5635 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5637 * LyXAction.C: layout-character should have ReadOnly
5639 * ParagraphParameters.C:
5641 * bufferview_funcs.C:
5648 * undo_funcs.C: changes from above
5650 2003-03-18 John Levon <levon@movementarian.org>
5652 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5653 remove it from update()
5655 * lyxfunc.C: update layout choice after an lfun
5657 * text3.C: remove extra updateLayoutChoice()s
5659 2003-03-18 John Levon <levon@movementarian.org>
5661 * text.C: top_y change means full repaint, fix
5662 a drawing bug with cursor movement
5664 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5668 * text2.C: anchor row on setCursor
5670 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5672 * lyxtext.h: remove almost all mutable keywords
5675 * text3.C: remove const keywords accordingly
5677 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5679 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5681 (TeXEnvironment): ditto
5684 2003-03-17 John Levon <levon@movementarian.org>
5686 * text.C (rowBreakPoint): remove attempt to fix displayed
5687 math insets inside a manual label
5689 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5691 * lyxtext.h: remove BufferView* as first arg from almost all class
5693 * other files: adjust.
5695 2003-03-17 John Levon <levon@movementarian.org>
5699 * text2.C: more paint cleanups
5701 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5704 * rowpainter.C: remove "smart" background painting code
5706 2003-03-16 John Levon <levon@movementarian.org>
5711 * text3.C: add helper functions for setting refresh_row/y
5713 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
5715 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5716 newline inset which *can* get inserted in the pass_thru layouts.
5717 This is primarily for literate documents.
5719 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
5721 * buffer.C: increment LYX_FORMAT to 223
5723 2003-03-14 André Pönitz <poenitz@gmx.net>
5725 * textclass.h: prepare for environment handling, ws changes
5726 * lyxlayout.C: read latexheader and latexfooter tags
5728 2003-03-14 John Levon <levon@movementarian.org>
5730 * text2.C: rewrite ::status() a bit
5732 2003-03-13 John Levon <levon@movementarian.org>
5734 * lyxtext.h: add some docs
5736 2003-03-13 John Levon <levon@movementarian.org>
5741 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5743 2003-03-13 John Levon <levon@movementarian.org>
5745 * text3.C: fix appendix redrawing
5747 2003-03-13 John Levon <levon@movementarian.org>
5749 * text.C (setHeightOfRow):
5751 * rowpainter.C: make appendix mark have the text
5752 "Appendix" so the user knows what it is
5755 * LColor.C: s/appendixline/appendix/ from above
5757 2003-03-13 John Levon <levon@movementarian.org>
5759 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5761 * text.C: fix a getChar(pos) bug properly
5763 2003-03-13 Angus Leeming <leeming@lyx.org>
5766 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5767 Probably only temporary. Let's see how things pan out.
5769 * BufferView.C (unlockInset):
5770 * BufferView_pimpl.C (fitCursor):
5771 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5773 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5774 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5776 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5777 new functions that convert ParagraphParameters to and from a string.
5779 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5780 BufferView::Pimpl's dispatch.
5781 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5783 2003-03-13 André Pönitz <poenitz@gmx.net>
5787 * factory.C: make it aware of InsetEnv
5789 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5791 * text2.C (setCursor): never ask for one past last
5792 (setCursor): add some debugging messages.
5794 * text.C (singleWidth): never ask for one past last
5795 (singleWidth): ditto
5797 (rightMargin): ditto
5798 (rowBreakPoint): ditto
5799 (setHeightOfRow): ditto
5800 (prepareToPrint): ditto
5802 * rowpainter.C (paintBackground): never ask for one past last
5803 (paintText): never ask for one past last
5805 * paragraph_pimpl.C (getChar): make the assert stricter, never
5806 allow the one past last pos to be taken
5808 * paragraph.C (getChar): ws changes only
5810 * lyxrow.C (nextRowIsAllInset): never ask for one past last
5811 (numberOfSeparators): ditto
5812 (numberOfHfills): ditto
5814 2003-03-12 John Levon <levon@movementarian.org>
5820 * paragraph_funcs.C: fix per-buffer authorlists
5822 2003-03-12 John Levon <levon@movementarian.org>
5824 * text.C: fix newline in right address
5826 2003-03-12 Angus Leeming <leeming@lyx.org>
5828 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5829 duplicate those in LyXFunc::dispatch.
5833 * ToolbarDefaults.C:
5834 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5835 Add LFUN_FONTFREE_UPDATE.
5837 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5838 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5840 * bufferview_func.[Ch]: several new functions to facilliate
5841 transfer of data to and from the character dialog.
5843 2003-03-12 John Levon <levon@movementarian.org>
5848 * paragraph_funcs.C:
5849 * paragraph_pimpl.C:
5853 * text3.C: remove META_NEWLINE in favour of an inset
5856 * rowpainter.C: remove paintNewline (done by inset)
5858 2003-03-12 John Levon <levon@movementarian.org>
5860 * paragraph_pimpl.C: complain about bad getChar()s
5861 for a while at least
5863 2003-03-12 John Levon <levon@movementarian.org>
5866 * buffer.C: move paragraph read into a separate function,
5867 a little renaming to reflect that.
5870 * bufferparams.C: remove the author_ids map, not necessary now
5873 * factory.C: moved Buffer::readInset to here
5875 * paragraph_funcs.h:
5876 * paragraph_funcs.C: readParagraph free function moved from
5879 * tabular.C: name change
5881 2003-03-12 John Levon <levon@movementarian.org>
5884 * ParagraphParameters.C: move par params input to
5887 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5888 behave like a normal read from the stream wrt reading
5889 a line vs. a \\token
5891 2003-03-12 John Levon <levon@movementarian.org>
5894 * ParagraphParameters.h:
5895 * ParagraphParameters.C: move output code to a
5898 2003-03-12 John Levon <levon@movementarian.org>
5900 * BufferView.C (insertLyXFile):
5903 * tabular.C: use a parlist iterator for creating the
5906 2003-03-12 John Levon <levon@movementarian.org>
5908 * buffer.C: make current_change static local not
5911 2003-03-12 John Levon <levon@movementarian.org>
5913 * buffer.C: fix insertStringAsLines for change tracking
5915 2003-03-12 John Levon <levon@movementarian.org>
5922 * bufferparams.C: move author list into params. Rename some
5923 functions. Move the header reading into a separate token
5924 loop. Move the header token reading into BufferParams.
5926 2003-03-12 John Levon <levon@movementarian.org>
5928 * changes.C: put debug inside lyxerr.debugging() checks
5930 2003-03-11 André Pönitz <poenitz@gmx.net>
5932 * factory.C: make it aware of InsetHFill
5934 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5936 * buffer.C (latexParagraphs): move function from here...
5937 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5940 2003-03-10 Angus Leeming <leeming@lyx.org>
5942 * LyXAction.C (init): fix bug in poplating array with multiple entries
5943 with the same LFUN (spotted by JMarc).
5945 2003-03-10 John Levon <levon@movementarian.org>
5948 * text2.C: move getColumnNearX() near its
5951 2003-03-10 John Levon <levon@movementarian.org>
5953 * text.C: fix break before a minipage
5955 2003-03-10 John Levon <levon@movementarian.org>
5957 * text.C: fix the last commit
5959 2003-03-09 John Levon <levon@movementarian.org>
5963 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5964 bug 365 (don't break before insets unless needed). Don't
5965 return a value > last under any circumstances.
5967 2003-03-09 Angus Leeming <leeming@lyx.org>
5969 * BufferView_pimpl.C (trackChanges, dispatch): call
5970 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5972 2003-03-09 Angus Leeming <leeming@lyx.org>
5974 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5975 than Dialogs::showAboutlyx().
5977 2003-03-09 Angus Leeming <leeming@lyx.org>
5979 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5980 than Dialogs::showTabularCreate().
5982 2003-03-09 John Levon <levon@movementarian.org>
5986 * text2.C: 3rd arg to nextBreakPoint was always the same.
5989 2003-03-08 John Levon <levon@movementarian.org>
5996 * text2.C: Remove the "main" bit from the "main body"
5999 2003-03-08 John Levon <levon@movementarian.org>
6001 * text.C (leftMargin): The left margin of an empty
6002 manual label paragraph should not include the label width
6005 * text.C (prepareToPrint): don't attempt to measure hfills
6006 for empty manual label paragraphs - the answer should be 0
6008 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6010 * CutAndPaste.C: remove commented code and reindent.
6012 2003-03-08 John Levon <levon@movementarian.org>
6015 * lyxfunc.C: move reloadBuffer()
6018 * BufferView.C: to here
6020 * lyxvc.C: add comment
6023 * vc-backend.C: call bv->reload() to avoid
6024 getStatus() check on MENURELOAD
6026 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
6028 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6029 to an old format .dep file.
6031 2003-03-07 Angus Leeming <leeming@lyx.org>
6033 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6034 when the LFUN_MOUSE_RELEASE should have been handled by
6035 inset->localDispatch.
6037 2003-03-07 Angus Leeming <leeming@lyx.org>
6039 * BufferView_pimpl.C (dispatch):
6040 * LyXAction.C (init):
6041 * ToolbarDefaults.C (init):
6043 * lyxfunc.C (getStatus):
6044 remove LFUN_INSET_GRAPHICS.
6046 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6048 2003-03-07 Angus Leeming <leeming@lyx.org>
6051 * LyXAction.C (init):
6052 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6054 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6057 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6059 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6060 localDispatch method LFUN_INSET_DIALOG_UPDATE.
6062 2003-03-07 Angus Leeming <leeming@lyx.org>
6064 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6067 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6069 * ParagraphList.C (front): new function
6072 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
6074 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6075 and top_row_offset_. removed var first_y.
6077 * text2.C (LyXText, removeRow):
6079 * BufferView_pimpl.C:
6080 use these methods instead of using first_y
6082 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6084 * text2.C (pasteSelection): adjust for checkPastePossible
6086 * CutAndPaste.C: remove Paragraph * buf and replace with
6087 ParagraphList paragraphs.
6088 (DeleteBuffer): delete
6089 (cutSelection): change the tc type to textclass_type
6090 (copySelection): change the tc type to textclass_type
6091 (copySelection): adjust for ParagraphList
6092 (pasteSelection): change the tc type to textclass_type
6093 (pasteSelection): adjust for Paragraphlist
6094 (nrOfParagraphs): simplify for ParagraphList
6095 (checkPastePossible): simplify for ParagraphList
6096 (checkPastePossible): remove unused arg
6098 * ParagraphList.C (insert): handle the case where there are no
6101 * CutAndPaste.h: make CutAndPaste a namespace.
6103 * text3.C (dispatch): adjust
6105 * text.C (breakParagraph): add a ParagraphList as arg
6107 * paragraph_funcs.C (breakParagraph): change to take a
6108 BufferParams and a ParagraphList as args.
6109 (breakParagraphConservative): ditto
6110 (mergeParagraph): ditto
6111 (TeXDeeper): add a ParagraphList arg
6112 (TeXEnvironment): ditto
6115 * buffer.C (readLyXformat2): adjust
6116 (insertStringAsLines): adjust
6117 (latexParagraphs): adjust
6119 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6120 (cutSelection): adjust
6121 (pasteSelection): adjust
6123 * BufferView_pimpl.C (insertInset): adjust
6125 2003-03-05 Angus Leeming <leeming@lyx.org>
6128 * LyXAction.C (init):
6129 * BufferView_pimpl.C (dispatch):
6130 * lyxfunc.C (getStatus):
6131 remove LFUN_CHILD_INSERT.
6133 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6135 2003-03-05 Angus Leeming <leeming@lyx.org>
6138 * LyXAction.C (init):
6139 * src/factory.C (createInset):
6140 * lyxfunc.C (getStatus):
6141 * text3.C (dispatch):
6142 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6144 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6146 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6148 * ParagraphList.C (insert): handle insert right before end()
6149 (erase): fix cases where it can be first or last paragraph.
6151 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6153 * paragraph_funcs.C (TeXEnvironment): remove all usage of
6154 Paragraph::next and Paragraph::previous
6157 * text.C (breakParagraph): adjust
6159 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6160 BufferParams& as arg.
6161 (breakParagraph): use ParagraphList::insert
6162 (breakParagraphConservative): take a Buffer* instead of a
6163 BufferParams& as arg.
6164 (breakParagraphConservative): use ParagraphList::insert.
6166 * buffer.C (insertStringAsLines): un-const it
6167 (insertStringAsLines): adjust
6169 * ParagraphList.C (insert): new function
6171 * CutAndPaste.C (pasteSelection): adjust
6173 * text.C (backspace): adjust
6175 * tabular.C (SetMultiColumn): adjust
6177 * CutAndPaste.C (cutSelection): adjust
6178 (pasteSelection): adjust
6180 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6181 Buffer const * as arg
6183 * ParagraphList.C (erase): new function
6184 * paragraph_funcs.C (mergeParagraph): use it
6185 (mergeParagraph): make it take a Buffer* instead of a
6186 BufferParams* as arg
6188 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6190 (breakParagraphConservative): ditto
6192 * paragraph.h: remove the breakParagraph friend
6194 * paragraph.C (eraseIntern): new function
6195 (setChange): new function
6197 * paragraph_funcs.C (mergeParagraph): make it take a
6198 ParagraphList::iterator instead of a Paragraph *, adjust
6201 * paragraph.h: move an #endif so that the change tracking stuff
6202 also works in the NO_NEXT case.
6204 2003-03-04 Angus Leeming <leeming@lyx.org>
6207 * LyXAction.C: new LFUN_INSET_MODIFY.
6209 * BufferView_pimpl.C (dispatch): if an inset is found to be open
6210 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6212 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6214 * several files: ws changes only
6216 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6217 (TeXEnvironment): ditto
6220 * buffer.C (makeLaTeXFile): adjust
6221 (latexParagraphs): make it take ParagraphList::iterator as args
6223 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6225 * buffer.C (latexParagraphs): adjust
6227 * paragraph.C (TeXOnePar): move function...
6228 (optArgInset): move function...
6229 (TeXEnvironment): move function...
6230 * paragraph_pimpl.C (TeXDeeper): move function...
6231 * paragraph_funcs.C: ...here
6233 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6235 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6237 * buffer.C (readInset): remove compability code for old Figure and
6240 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6242 * buffer.C: ws changes
6245 * BufferView_pimpl.C: ditto
6248 * bufferlist.h: ditto
6252 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
6254 * converter.[Ch]: split into itself +
6257 * Makefile.am: += graph.[Ch] + format.[Ch]
6264 * lyxrc.C: added #include "format.h"
6266 2003-02-27 Angus Leeming <leeming@lyx.org>
6268 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6271 * factory.C (createInset): add "label" to the factory.
6273 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6274 string and do no more.
6276 2003-02-27 Angus Leeming <leeming@lyx.org>
6279 * LyXAction.C (init):
6280 * factory.C (createInset):
6281 * BufferView_pimpl.C (dispatch):
6282 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6284 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6286 * lyxfunc.C (dispatch):
6287 * text3.C (dispatch): pass name to params2string.
6289 2003-02-26 Angus Leeming <leeming@lyx.org>
6291 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6293 Rearrange the ~includes. Strip out the unnecessary ones.
6295 * factory.C (createInset): reformat.
6296 create new insets for the various LFUN_XYZ_APPLY lfuns.
6298 2003-02-26 John Levon <levon@movementarian.org>
6301 * lyxrow.C: add isParStart,isParEnd helpers
6303 * paragraph.h: make isInserted/DeletedText take refs
6305 * paragraph_funcs.h:
6306 * paragraph_funcs.C: remove #if 0'd code
6311 * text.C: use lyxrow helpers above.
6312 Move draw and paint routines to RowPainter.
6313 Make several methods use refs not pointers.
6314 Make backgroundColor() const.
6315 Add markChangeInDraw(), isInInset().
6316 Merge changeRegionCase into changeCase.
6317 Make workWidth() shouldn't-happen code into an Assert.
6320 * rowpainter.C: new class for painting a row.
6323 * vspace.C: make inPixels take a ref
6325 2003-02-26 Angus Leeming <leeming@lyx.org>
6327 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6330 2003-02-25 John Levon <levon@movementarian.org>
6332 * ispell.C: give the forked command a more accurate name
6334 2003-02-22 John Levon <levon@movementarian.org>
6337 * toc.C: make TocItem store an id not a Paragraph *
6340 2003-02-21 Angus Leeming <leeming@lyx.org>
6342 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6343 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6344 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6345 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6346 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6347 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6349 * BufferView_pimpl.C (dispatch):
6350 * LyXAction.C (init):
6351 * factory.C (createInset):
6352 * lyxfunc.C (getStatus, dispatch):
6353 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6355 2003-02-21 Angus Leeming <leeming@lyx.org>
6357 * BufferView_pimpl.C (MenuInsertLyXFile):
6358 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6359 * lyxfunc.C (menuNew, open, doImport):
6360 no longer pass a LyXView & to fileDlg.
6362 2003-02-21 Angus Leeming <leeming@lyx.org>
6364 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6365 * LyXAction.C: change, BIBKEY to BIBITEM.
6366 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6367 Change InsetBibKey to InsetBibitem.
6368 Change BIBKEY_CODE to BIBITEM_CODE.
6369 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6370 * factory.C: replace insetbib.h with insetbibitem.h.
6371 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6372 * paragraph.C: replace insetbib.h with insetbibitem.h.
6373 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6374 Change bibkey() to bibitem().
6375 * text.C: remove insetbib.h.
6376 * text2.C: replace insetbib.h with insetbibitem.h.
6377 change bibkey() to bibitem().
6378 * text3.C: remove insetbib.h.
6379 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6381 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6383 * lyxrc.C (output): enclose user email in quotes (in case there are
6386 2003-02-18 John Levon <levon@movementarian.org>
6388 * buffer.h: add std::
6390 2003-02-17 John Levon <levon@movementarian.org>
6396 * pspell.C: reworking. Especially in ispell, a large
6397 number of clean ups and bug fixes.
6399 * lyxfunc.C: fix revert to behave sensibly
6401 2003-02-17 André Pönitz <poenitz@gmx.net>
6404 * commandtags.h: new LFUN_INSERT_BIBKEY
6414 * paragraph_func.C: remove special bibkey handling
6416 2003-02-17 John Levon <levon@movementarian.org>
6418 * text.C (Delete): fix case where delete at the end of
6419 the very first paragraph would not merge the pars
6421 2003-02-17 John Levon <levon@movementarian.org>
6423 * lyxrow.C: fix lastPrintablePos()
6425 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6427 * bufferparams.C (writeLaTeX): add a std:here
6429 * buffer.C: and remove a using directive there
6431 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6433 * buffer.C (makeLaTeXFile): move the code that generates the
6436 * bufferparams.C (writeLaTeX): ... in this new method
6438 * LaTeXFeatures.C (getEncodingSet): make const
6439 (getLanguages): make const
6441 * MenuBackend.C (binding): returns the binding associated to this
6443 (add): sets the status of each item by calling getStatus. Adds
6445 (read): add support for OptSubMenu
6446 (expand): remove extra separator at the end of expanded menu
6448 2003-02-15 John Levon <levon@movementarian.org>
6451 * BufferView_pimpl.C:
6453 * bufferlist.C: remove pointless BufferStorage bloat. Remove
6454 inset code that had no actual effect. Remove unneeded status
6457 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6459 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6462 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
6464 * text.C (drawLengthMarker): also draw an arrow marker for
6465 symbolic lengths (medskip...)
6467 2003-02-14 John Levon <levon@movementarian.org>
6470 * tabular.C: better method names
6472 2003-02-14 John Levon <levon@movementarian.org>
6474 * BufferView_pimpl.C:
6479 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6480 it's a more accurate name. Remove some pointless uses.
6482 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6484 * text2.C (LyXText): change order of initilizers to shut off
6487 2003-02-14 John Levon <levon@movementarian.org>
6489 * buffer.C: use ParIterator for getParFromID()
6493 * paragraph_pimpl.h:
6494 * paragraph_pimpl.C: remove unused getParFromID()
6496 2003-02-14 John Levon <levon@movementarian.org>
6498 * buffer.C: remove some very old #if 0'd parse code
6500 2003-02-13 John Levon <levon@movementarian.org>
6504 * text2.C: move hfillExpansion(), numberOfSeparators(),
6505 rowLast(), rowLastPrintable(), numberofHfills(),
6506 numberOfLabelHfills() ...
6509 * lyxrow.C: ... to member functions here.
6514 * text.C: remove LyXText::beginningOfMainBody(), and call
6515 p->beginningOfMainBody() directly. Move the check for
6516 LABEL_MANUAL into the latter.
6523 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6529 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6530 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6532 2003-02-13 John Levon <levon@movementarian.org>
6534 * CutAndPaste.C: remove debug
6536 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6538 * paragraph.C (asString): remove two unused variables
6540 * lyxtextclass.C (readTitleType):
6542 (LyXTextClass): handle new members titletype_ and titlename_
6544 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6546 2003-02-09 John Levon <levon@movementarian.org>
6549 * buffer.C: replace hand-coded list with a map for the dep clean
6551 2003-02-08 John Levon <levon@movementarian.org>
6553 * LaTeX.C: consolidate code into showRunMessage() helper
6555 2003-02-08 John Levon <levon@movementarian.org>
6560 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6561 and pass the size in explicitly
6563 * BufferView_pimpl.h:
6564 * BufferView_pimpl.C:
6566 * BufferView.C: add getCurrentChange()
6568 * BufferView_pimpl.h:
6569 * BufferView_pimpl.C: handle change lfuns
6571 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6572 for changes. Mark pasted paragraphs as new.
6574 * support/lyxtime.h:
6575 * support/lyxtime.C:
6576 * DepTable.C: abstract time_t as lyx::time_type
6579 * LColor.C: add colours for new text, deleted text, changebars
6581 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6582 package use "usenames" option.
6586 * LyXAction.C: add change lfuns
6590 * author.C: author handling
6593 * buffer.C: add a per-buffer author list, with first entry as
6594 current author. Handle new .lyx tokens for change tracking. Output
6595 author list to .lyx file. Output dvipost stuff to .tex preamble.
6596 Bump lyx format to 222.
6599 * bufferlist.C: add setCurrentAuthor() to reset current author details
6603 * bufferparams.C: add param for tracking
6605 * bufferview_funcs.C: output change info in minibuffer
6609 * changes.C: add change-tracking structure
6612 * debug.C: add CHANGES debug flag
6615 * lyxfind.C: add code for finding the next change piece
6618 * lyxrc.C: add user_name and user_email
6621 * lyxrow.C: add a metric for the top of the text line
6624 * text.C: implement accept/rejectChange()
6627 * text.C: paint changebars. Paint new/deleted text in the chosen
6628 colours. Strike through deleted text.
6632 * paragraph_pimpl.h:
6633 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6634 in the current change to the insert functions. Rework erase to
6635 mark text as deleted, adding an eraseIntern() and a range-based
6636 erase(). Implement per-paragraph change lookup and
6639 * paragraph_funcs.C: Fixup paste for change tracking.
6641 * tabular.C: mark added row/columns as new.
6643 * text.C: fix rowLast() to never return -1. Don't allow
6644 spellchecking of deleted text. Track transpose changes. Don't
6645 allow paragraph break or merge where appropriate.
6647 * text2.C: leave cursor at end of selection after a cut.
6649 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6651 * text.C (getLengthMarkerHeight):
6652 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6653 visible on screen too.
6655 2003-02-07 John Levon <levon@movementarian.org>
6657 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6659 2003-02-05 Angus Leeming <leeming@lyx.org>
6661 * lyxserver.C (read_ready): revert my patch of 11 September last year
6662 as it sends PC cpu through the roof. Presumably this means that
6663 the lyxserver will no longer run on an Alpha...
6665 2003-01-30 Angus Leeming <leeming@lyx.org>
6667 * factory.C (createInset): create an InsetCommandParam of type "index"
6668 and use it to 'do the right thing'.
6670 * text2.C (getStringToIndex): ensure that cursor position is always
6671 reset to the reset_cursor position.
6673 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6675 * lyxfunc.C (getStatus): "buffer-export custom" should never be
6678 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
6682 * lyxfunc.C: Output messages with identical spelling, punctuation,
6685 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
6687 * MenuBackend.C (expandFormats): List only viewable export formats
6690 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6693 * lyxfunc.C (getStatus): Make sure that formats other than
6694 "fax" can also be disabled
6696 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6698 * text3.C (dispatch): put the lfuns that insert insets in 3
6699 groups, and call doInsertInset with appropriate arguments.
6700 (doInsertInset): new function, that creates an inset and inserts
6701 it according to some boolean parameters.
6703 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6705 * buffer.C (readFile): remember to pass on 'par' when calling
6706 readFile recursively.
6708 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6710 * MenuBackend.C (expandFormats): add "..." to import formats.
6712 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
6714 * paragraph.C (asString): Remove XForms RTL hacks.
6716 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
6717 * buffer.C: fix typo
6719 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6721 * Makefile.am (LIBS): delete var
6722 (lyx_LDADD): add @LIBS@ here instead.
6724 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
6726 * Clarify the meaning of "wheel mouse jump"
6728 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6730 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6733 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6735 * importer.C (Loaders): do not preallocate 3 elements in the
6736 vector, since one ends up with 6 elements otherwise
6738 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6740 * DepTable.C (write): write the file name as last element of the
6741 .dep file (because it may contain spaces)
6742 (read): read info in the right order
6744 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6746 * paragraph_pimpl.C (simpleTeXBlanks):
6747 (simpleTeXSpecialChars):
6748 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6750 * tabular.C (latex): add some missing case statements. Reindent.
6752 * MenuBackend.C (expandToc): remove unused variable.
6754 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
6763 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6766 2003-01-05 John Levon <levon@movementarian.org>
6769 * BufferView.C: add getEncoding()
6772 * kbsequence.C: do not store last keypress
6775 * lyxfunc.C: store last keypress here instead. Pass encoding
6778 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6780 * lyx_main.C (init): remove annoying error message when following
6781 symbolic links (bug #780)
6783 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6785 * text.C (insertChar):
6786 * lyxrc.C (getDescription): remove extra spaces
6788 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6790 * lyxrc.C (getDescription): remove extra spaces
6792 2002-12-20 John Levon <levon@movementarian.org>
6794 * text3.C: hack fix for page up/down across tall rows
6796 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6798 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6801 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6803 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6804 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6805 thesaurus is not compiled in
6807 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
6809 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
6811 2002-12-16 Angus Leeming <leeming@lyx.org>
6814 * lyx_main.C (init): remove override_x_deadkeys stuff.
6816 2002-12-12 John Levon <levon@movementarian.org>
6818 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6819 insert. Only remove shift modifier under strict
6822 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6824 * MenuBackend.C (expandToc): fix crash.
6826 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6828 * MenuBackend.C (expandToc): gettext on float names.
6830 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6832 * lyxlength.[Ch]: set default unit to UNIT_NONE,
6833 implement bool empty() [bug 490]
6835 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6837 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6839 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6841 * several files: ws changes
6843 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6845 * text2.C (setCounter): clean up a bit, use boost.format.
6846 (updateCounters): initialize par upon declaration.
6848 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6849 if the layout exists. We do not just store the layout any more.
6850 (SwitchLayoutsBetweenClasses): use boost.format
6852 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6854 * converter.C (convert): if from and to files are the same, use a
6855 temporary files as intermediary
6857 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6860 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6862 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
6864 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6866 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6868 * tabular.C (asciiPrintCell): use string(size, char) instead of
6871 * sgml.C (openTag): fix order of arguments to string constructor
6874 * lyxfunc.C (dispatch): use boost.format
6876 * lots of files: change "c" -> 'c'
6878 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
6880 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6882 2002-11-25 Angus Leeming <leeming@lyx.org>
6884 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6886 * lyx_main.C (init): compile fix.
6888 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6890 * lyx_cb.C (start): boost.formatify
6891 do not include <iostream>
6893 * lengthcommon.C: ws only
6895 * boost-inst.C,BoostFormat.h: add more explict instantations
6897 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6899 * lots of files: handle USE_BOOST_FORMAT
6901 2002-11-21 John Levon <levon@movementarian.org>
6903 * pspell.C: fix compile
6905 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6907 * lyxfunc.C (dispatch): use boost::format
6911 * lyxfont.C (stateText): use boost::format
6913 * lyx_main.C (LyX): use boost::format
6915 (queryUserLyXDir): ditto
6918 (typedef boost::function): use the recommened syntax.
6920 * importer.C (Import): use boost::format
6922 * debug.C (showLevel): use boost::format
6924 * converter.C (view): use boost::format
6929 * bufferview_funcs.C (currentState): use boost::format
6931 * bufferlist.C (emergencyWrite): use boost::format
6933 * buffer.C (readLyXformat2): use boost::format
6934 (parseSingleLyXformat2Token): ditto
6936 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6938 * LaTeX.C (run): use boost::format
6940 * Chktex.C (scanLogFile): use boost::format
6942 * BufferView_pimpl.C (savePosition): use boost::format
6943 (restorePosition): ditto
6944 (MenuInsertLyXFile): ditto
6946 * BoostFormat.h: help file for explicit instation.
6948 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
6950 * tabular.C (latex): Support for block alignment in fixed width
6953 2002-11-17 John Levon <levon@movementarian.org>
6955 * BufferView_pimpl.C:
6957 * lyxfunc.C: split filedialog into open/save
6959 2002-11-08 Juergen Vigna <jug@sad.it>
6961 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6962 by my last patch (hopefully).
6964 2002-11-08 John Levon <levon@movementarian.org>
6973 * toc.C: ParConstIterator, and use it (from Lars)
6975 2002-11-07 Ben Stanley <bds02@uow.edu.au>
6977 * lyxtextclass.[Ch]: revise and add doxygen comments
6979 2002-11-07 John Levon <levon@movementarian.org>
6981 * text.C: fix progress value for spellchecker
6983 * toc.C: fix navigate menu for insetwrap inside minipage
6985 * paragraph_funcs.C: added FIXME for suspect code
6987 2002-11-07 John Levon <levon@movementarian.org>
6989 * BufferView_pimpl.C: fix redrawing of insets
6992 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6994 * text2.C (updateCounters): fix bug 668
6996 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
6998 * text3.C (dispatch): Do not make the buffer dirty when moving the
7001 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7003 * vc-backend.C: STRCONV
7006 * text2.C (setCounter): STRCONV
7008 * paragraph.C (asString): STRCONV
7010 * lyxlength.C (asString): STRCONV
7011 (asLatexString): ditto
7013 * lyxgluelength.C (asString): STRCONV
7014 (asLatexString): ditto
7016 * lyxfunc.C (dispatch): STRCONV
7019 * lyxfont.C (stateText): STRCONV
7021 * importer.C (Import): STRCONV
7023 * counters.C (labelItem): STRCONV
7024 (numberLabel): ditto
7025 (numberLabel): remove unused ostringstream o
7030 * bufferview_funcs.C (currentState): STRCONV
7032 * buffer.C (readFile): STRCONV
7033 (asciiParagraph): ditto
7034 (makeLaTeXFile): ditto
7036 * Spacing.C (writeEnvirBegin): STRCONV
7038 * LaTeXFeatures.C (getLanguages): STRCONV
7039 (getPackages): ditto
7041 (getBabelOptions): ditto
7042 (getTClassPreamble): ditto
7043 (getLyXSGMLEntities): ditto
7044 (getIncludedFiles): ditto
7048 (scanAuxFile): ditto
7051 * LString.h: add the STRCONV macros
7053 * BufferView_pimpl.C (savePosition): STRCONV
7054 (restorePosition): ditto
7055 (MenuInsertLyXFile): ditto
7057 * vc-backend.C (scanMaster): change from submatch[...] to
7060 * funcrequest.C: include config.h
7062 * factory.C: include config.h
7064 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7066 * box.C: include config.h
7068 * LaTeX.C (scanAuxFile): change from submatch[...] to
7072 2002-10-25 Angus Leeming <leeming@lyx.org>
7074 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7076 * ispell.[Ch] (setError): new method.
7077 * ispell.C (c-tor): move out child process into new class LaunchIspell.
7078 Use setError() insetead of goto END.
7080 * lyx_cb.C (AutoSave): move out child process into new class
7083 2002-10-30 John Levon <levon@movementarian.org>
7085 * text3.C: make start appendix undoable
7087 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
7089 * lyxlength.C (inPixels): Fix returned value.
7091 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7094 2002-10-24 Angus Leeming <leeming@lyx.org>
7096 * lyxgluelength.h: no need to forward declare BufferParams
7097 or BufferView, so don't.
7099 2002-10-21 John Levon <levon@movementarian.org>
7101 * BufferView.C: menuUndo ->undo, redo
7103 * BufferView.h: document, remove dead, make some methods private
7105 * paragraph_funcs.h:
7106 * paragraph_funcs.C:
7107 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7112 * sgml.C: move sgml open/close tag into sgml.C
7114 * bufferview_funcs.h: unused prototype
7117 * lyxfunc.C: remove unused
7120 * text.C: remove unused
7122 2002-10-21 John Levon <levon@movementarian.org>
7126 * BufferView_pimpl.h:
7127 * BufferView_pimpl.C: fix mouse wheel handling based on
7128 patch from Darren Freeman
7130 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
7132 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7134 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
7136 * lyxlength.C (inPixels): Fix hanfling of negative length.
7137 Fix LyXLength::MU case.
7139 2002-10-16 John Levon <levon@movementarian.org>
7141 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7143 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7145 * converter.C (view): add support for $$i (file name) and $$p
7146 (file path) for the viewer command. If $$i is not specified, then
7147 it is appended to the command (for compatibility with old syntax)
7149 2002-10-14 Juergen Vigna <jug@sad.it>
7151 * undo_funcs.C (textHandleUndo): alter the order in which the
7152 new undopar is added to the LyXText, as we have to set first
7153 the right prev/next and then add it as otherwise the rebuild of
7154 LyXText is not correct. Also reset the cursor to the right paragraph,
7155 with this IMO we could remove the hack in "redoParagraphs()".
7157 2002-10-09 Angus Leeming <leeming@lyx.org>
7159 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7160 to turn off an optimisation if a new inset is to be inserted.
7162 2002-10-11 André Pönitz <poenitz@gmx.net>
7164 * lyxtext.h: make some functions public to allow access
7165 from inset/lyxtext for handling LFUN_PRIOR/NEXT
7167 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7169 * text3.C (dispatch): when changing layout, avoid an infinite loop
7172 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7174 * lyxrc.C (read): treat a viewer or converter command of "none" as
7177 * MenuBackend.C (expandFormats): for an update, also allow the
7178 formats that are not viewable
7180 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7181 script if it is newer than the lyxrc.defaults in user directory
7183 2002-10-07 André Pönitz <poenitz@gmx.net>
7185 * text.C: Vitaly Lipatov's small i18n fix
7187 2002-09-25 Angus Leeming <leeming@lyx.org>
7189 * ispell.h: doxygen fix.
7191 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
7193 * buffer.h (readFile): Add a new argument to the method, to allow
7194 reading of old-format templates.
7196 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
7198 * toc.C (getTocList): Get TOC from InsetWrap.
7200 2002-09-16 John Levon <levon@movementarian.org>
7202 * lyxfunc.C: check tabular for cut/copy too
7204 2002-09-12 John Levon <levon@movementarian.org>
7209 * factory.C: add header
7211 * paragraph_funcs.h:
7212 * paragraph_funcs.C: cleanup
7214 2002-09-11 John Levon <levon@movementarian.org>
7216 * PrinterParams.h: odd/even default to true
7218 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
7220 * PrinterParams.h: update printer parameters for new xforms dialog
7222 2002-09-11 Angus Leeming <leeming@lyx.org>
7224 * lyxserver.C (read_ready): re-write to make it more transparent
7225 and to make it work in coherent fashion under Tru64 Unix.
7227 2002-09-11 André Pönitz <poenitz@gmx.net>
7231 * text3.C: implement LFUN_WORDSEL
7233 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7235 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7236 make floatlist_ a boost::shared_ptr<FloatList>
7238 * lyxtextclass.C: include FloatList.h
7239 (LyXTextClass): initialize floatlist_
7240 (TextClassTags): add TC_NOFLOAT
7241 (Read): match "nofloat" to TC_NOFLOAT and use it.
7242 (readFloat): modify call to floatlist_
7246 * FloatList.[Ch] (FloatList): remove commented out float
7248 (erase): new function
7250 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7252 * MenuBackend.C (expandToc): fix crash when there is no document
7255 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
7257 * many files: Add insetwrap.
7259 2002-09-09 John Levon <levon@movementarian.org>
7261 * text2.C: remove confusing and awkward depth wraparound
7263 2002-09-09 John Levon <levon@movementarian.org>
7265 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7268 * buffer.C: remove getIncludeonlyList()
7271 * lyxfunc.C: remove headers
7273 2002-09-09 Juergen Vigna <jug@sad.it>
7275 * text.C (getColumnNearX): fix form Michael this is most
7276 probably a cut&paste bug.
7278 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7280 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7282 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7283 references, ws changes.
7285 * text2.C (init): update counters after init
7286 (insertParagraph): no need to set counter on idividual paragraphs.
7287 (setCounter): access the counters object in the textclass object
7288 on in the buffer object.
7289 (updateCounters): ditto
7291 * lyxtextclass.C: include counters.h, add variable ctrs_ as
7292 shared_ptr<Counters> to avoid loading counters.h in all
7294 (LyXTextClass): initialize ctrs_
7295 (TextClassTags): add TC_COUNTER, and ...
7296 (Read): use it here.
7297 (CounterTags): new tags
7298 (readCounter): new function
7299 (counters): new funtion
7300 (defaultLayoutName): return a const reference
7302 * counters.C (Counters): remove contructor
7303 (newCounter): remove a couple of unneeded statements.
7304 (newCounter): simplify a bit.
7305 (numberLabel): some small formatting changes.
7307 * buffer.[Ch]: remove all traces of counters, move the Counters
7308 object to the LyXTextClass.
7310 2002-09-06 Alain Castera <castera@in2p3.fr>
7312 * tabular.C: uses \tabularnewline; uses >{...} construct from array
7313 package to set the horizontal alignment on fixed width columns.
7316 * lyx_sty.h: added tabularnewline macro def.
7318 * LaTeXFeatures.C: added NeedTabularnewline macro feature
7320 2002-09-06 John Levon <levon@movementarian.org>
7322 * LyXAction.C: tooltips for sub/superscript
7324 * MenuBackend.C: a bit more verbose
7326 * lyxfunc.C: tiny clean
7328 * undo_funcs.C: document undo_frozen
7330 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7332 * counters.C (Counters): add missing algorithm counter.
7334 * text2.C (setCounter): lookup the counter with layouts latexname
7335 instead of by section number.
7336 (setCounter): use a hackish way to lookup the correct enum
7338 a float name->type change
7339 reset enum couners with counter name directly instead of depth value.
7341 * counters.C (Counters): remove the push_backs, change to use the
7342 float type not the float name.
7343 (labelItem): remove unused string, float name->type change
7345 * counters.h: don't include vector, loose the enums and sects vectors
7347 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7349 * lyxtextclass.C (TextClassTags): add TC_FLOAT
7350 (Read): add float->TC_FLOAT to textclassTags
7351 (Read): and handle it in the switch
7352 (readFloat): new function
7354 * FloatList.C (FloatList): comment out the hardcoded float
7357 * lyxlayout.h: ws change.
7359 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
7361 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7363 2002-09-03 Angus Leeming <leeming@lyx.org>
7365 * BufferView_pimpl.h: qualified name is not allowed in member
7366 declaration: WorkArea & Pimpl::workarea() const;
7368 * factory.C: added using std::endl directive.
7370 * text3.C: added using std::find and std::vector directives.
7372 2002-08-29 André Pönitz <poenitz@gmx.net>
7375 * text2.C: remove unused member number_of_rows
7378 * BufferView2.C: remove file, move contents to...
7379 * BufferView.C: ... here
7381 * BufferView_pimpl.C:
7382 * factory.C: move more inset creation to factory
7384 * vspace.C: avoid direct usage of LyXText, ws changes
7387 don't provide direct access to WorkArea, use two simple
7388 acessors haveSelction() and workHeight() instead
7391 2002-08-29 John Levon <levon@movementarian.org>
7393 * BufferView_pimpl.C (dispatch): do not continue when
7396 2002-08-28 André Pönitz <poenitz@gmx.net>
7398 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7401 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7403 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
7405 * buffer.C: increment LYX_FORMAT to 221
7407 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7408 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7410 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7412 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7414 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7416 * factory.C (createInset): use LyXTextClass::floats
7418 * MenuBackend.C (expandFloatListInsert):
7419 (expandFloatInsert):
7422 * text2.C (setCounter):
7424 * LaTeXFeatures.C (useFloat):
7425 (getFloatDefinitions):
7427 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7429 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7430 floatlist_, with accessor floats().
7432 * FloatList.h: remove global FloatList
7434 2002-08-26 André Pönitz <poenitz@gmx.net>
7436 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7440 * BufferView_pimpl.C:
7441 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7443 2002-08-25 John Levon <levon@movementarian.org>
7445 * LyXAction.C: fix margin note description
7447 2002-08-24 John Levon <levon@movementarian.org>
7451 * bufferview_funcs.C:
7453 * undo_funcs.C: cleanups
7455 * lyxfunc.C: disable CUT/COPY when no selection
7457 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
7459 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7460 in "enum UNIT"; e.g. PTW for Percent of TextWidth
7462 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7463 Add backward compatibility to "mono", "gray" and "no".
7465 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
7467 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7468 (and file_format >= 200).
7470 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7472 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7474 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7476 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7478 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
7480 * BufferView_pimpl.C:
7487 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7488 inset and code to make it work with the paragraph code. The inset
7489 can be anywhere in the paragraph, but will only do the expected
7490 thing in LaTeX if the layout file contains the parameter line
7492 (or more generally, a nonzero value) for that layout.
7494 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7496 * paragraph.h: remove the declaration of undefined counters class
7499 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
7501 * text2.C (setCounter): fixed enumeration mis-count as reported by
7502 Dr. Richard Hawkins.
7504 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7506 * paragraph_funcs.h: remove some unneeded includes
7508 * text.C (backspace): pasteParagraph now in global scipe
7510 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7511 (pasteSelection): ditto
7513 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7514 * paragraph_funcs.C (pasteParagraph): ... here
7516 2002-08-20 André Pönitz <poenitz@gmx.net>
7518 * commandtags.h: new LFUNs for swapping/copying table row/colums
7521 * lyxfunc.C: support for new lfuns
7523 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7526 * buffer.[Ch]: remove NO_COMPABILITY stuff
7528 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
7530 * boost.C (throw_exception): new file, with helper function for
7531 boost compiled without exceptions.
7536 * ParameterStruct.h:
7537 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7539 * bufferlist.C (emergencyWriteAll): use boost bind
7541 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7543 * text.C: include paragraph_funcs.h
7544 (breakParagraph): breakParagraph is now in global scope
7546 * paragraph_funcs.[Ch]: new files
7548 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7551 * buffer.C: include paragraph_funcs.h
7552 (insertStringAsLines): breakParagraph is now in global scope
7554 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7557 * CutAndPaste.C: include paragraph_funcs.h
7558 (cutSelection): breakParagraphConservative is now in global scope
7559 (pasteSelection): ditto
7561 * buffer.h: declare oprator== and operator!= for
7562 Buffer::inset_iterator
7564 * bufferlist.C (emergencyWrite): don't use fmt(...)
7566 * text3.C: add using std::endl
7568 * BufferView.C (moveCursorUpdate): remove default arg
7570 2002-08-20 André Pönitz <poenitz@gmx.net>
7572 * buffer.[Ch]: move inline functions to .C
7575 * BufferView_pimpl.C:
7577 * buffer.[Ch]: use improved inset_iterator
7580 * paragraph.[Ch]: write one paragraph at a time
7582 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7584 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7585 style if style is not specified.
7587 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7589 * text2.C (setCounter): when searching for right label for a
7590 caption, make sure to recurse to parent insets (so that a caption
7591 in a minipage in a figure float works) (bug #568)
7593 2002-08-20 André Pönitz <poenitz@gmx.net>
7595 * text3.C: new file for LyXText::dispatch() and helpers
7597 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7599 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7601 2002-08-19 André Pönitz <poenitz@gmx.net>
7604 * text.C: new LyXText::dispatch()
7606 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7608 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7610 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7612 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7615 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7617 * Makefile.am: use $(variables) instead of @substitutions@
7619 2002-08-15 André Pönitz <poenitz@gmx.net>
7622 * BufferView_pimpl.C: streamlining mathed <-> outer world
7626 * LyXAction.C: remove unused LFUN_MATH
7628 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7630 * paragraph.[Ch]: add some NO_NEXT ifdefs.
7632 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7634 * paragraph.C (Paragraph): reformat a bit
7635 (cutIntoMinibuffer): use builtin InsetList function instad of
7639 * buffer.C: include boost/bind.hpp, add using std::for_each
7640 (writeFileAscii): use ParagraphList iterators
7641 (validate): use for_each for validate traversal of paragraphs
7642 (getBibkeyList): use ParagraphList iterators
7643 (resizeInsets): use for_each to resizeInsetsLyXText for all
7645 (getParFromID): use ParagraphList iterators
7647 * BufferView2.C (lockInset): use paragraph list and iterators
7649 2002-08-14 John Levon <levon@movementarian.org>
7651 * lyxserver.C: remove spurious xforms include
7653 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7655 * lyxfunc.C (getStatus): disable math-extern outside of math mode
7657 2002-08-13 André Pönitz <poenitz@gmx.net>
7660 * lyxfunc.C: further cleaning
7662 2002-08-13 André Pönitz <poenitz@gmx.net>
7664 * funcrequest.h: new constructor
7666 * funcrequest.C: move stuff here from .h
7669 * BufferView_pimpl.C:
7672 * lyxfunc.C: subsequent changes
7674 * lyxfunc.h: new view() member function
7676 * lyxfunc.C: subsequent changes
7678 2002-08-13 Angus Leeming <leeming@lyx.org>
7681 * BufferView_pimpl.C:
7689 changes due to the changed LyXView interface that now returns references
7690 to member variables not pointers.
7692 2002-08-13 Angus Leeming <leeming@lyx.org>
7694 * WordLangTuple (word, lang_code): return references to strings,
7699 * lyxtext.h: forward-declare WordLangTuple.
7704 * text.C: #include "WordLangTuple.h".
7707 * text.C: (selectNextWordToSpellcheck): constify return type.
7709 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
7715 * paragraph_pimpl.h:
7718 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7720 Made updateCounter always count from start of buffer, and removed
7721 second argument (par).
7722 Reverted floats number display to '#'. Perhaps I'll try again when the
7723 code base is sanitized a bit.
7725 2002-08-12 Angus Leeming <leeming@lyx.org>
7727 * buffer.[Ch] (getLabelList): constify.
7729 2002-08-07 André Pönitz <poenitz@gmx.net>
7731 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7733 * funcrequest.h: extension to keep mouse (x,y) position
7735 2002-08-12 Juergen Vigna <jug@sad.it>
7737 * BufferView2.C (insertErrors): forbid undo when inserting error
7740 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7742 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7744 * ParagraphList.[Ch]: new files
7746 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7748 * BufferView2.C (lockInset): ParagraphList changes
7751 * bufferlist.C: ditto
7755 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7757 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7758 unused class variable counter_,
7760 * paragraph.[Ch] (getFirstCounter): delete unused function
7762 * counters.C: include LAssert.h
7763 (reset): add a new function with no arg, change other version to
7764 not have def. arg and to not allow empty arg.
7766 * text2.C (setCounter): remove empty arg from call to Counters::reset
7768 2002-08-11 John Levon <levon@movementarian.org>
7770 * Makefile.am: add WordLangTuple.h
7772 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7774 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7775 lyxfunc.C lyxlex_pimpl.C: ws changes only.
7777 * insets/insettext.C: InsetList changes
7779 * graphics/GraphicsSupport.C (operator()): InsetList changes
7781 * toc.C (getTocList): InsetList changes
7783 * paragraph_pimpl.[Ch]: InsetList changes
7785 * paragraph.[Ch]: InsetList changes
7787 * buffer.C (inset_iterator): InsetList changes
7788 (setParagraph): ditto
7789 * buffer.h (inset_iterator): ditto
7790 * iterators.C (operator++): ditto
7791 * iterators.h: ditto
7793 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7795 * InsetList.[Ch]: new files, most InsetList handling moved out of
7798 * BufferView2.C (removeAutoInsets): InsetList changes
7800 (ChangeInsets): ditto
7802 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7804 * paragraph_pimpl.h (empty): new function
7806 * paragraph.[Ch] (empty): new function
7808 * other files: use the new Paragraph::empty function
7810 2002-08-09 John Levon <levon@movementarian.org>
7812 * lyxtext.h: remove unused refresh_height
7814 2002-08-09 John Levon <levon@movementarian.org>
7821 * paragraph.C: move sgml char escaping out of paragraph
7824 * paragraph.C: remove id setter
7828 * paragraph_pimpl.C: remove dead tex_code_break_column
7830 * bufferview_funcs.C: small cleanup
7832 * lyxfunc.C: remove dead proto
7834 * lyxtext.h: make some stuff private. Remove some dead stuff.
7836 * lyxgluelength.C: make as[LyX]String() readable
7838 2002-08-08 John Levon <levon@movementarian.org>
7843 * ToolbarDefaults.C:
7846 * toc.C: lyxaction cleanup
7848 2002-08-08 John Levon <levon@movementarian.org>
7850 * BufferView2.C: small cleanup
7853 * lyxfind.C: move unnecessary header into the .C
7855 2002-08-08 John Levon <levon@movementarian.org>
7857 * funcrequest.h: just tedious nonsense
7860 * lyx_main.C: cleanups
7863 * vspace.C: remove dead header lyx_main.h
7865 2002-08-07 Angus Leeming <leeming@lyx.org>
7868 * paragraph_pimpl.h:
7869 Forward declare class Counters in paragraph.h by moving the ctrs member
7870 variable into Paragraph::Pimpl.
7871 (counters): new method, returning a reference to pimpl_->ctrs.
7873 * text2.C: ensuing changes.
7875 2002-08-07 John Levon <levon@movementarian.org>
7877 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7879 * BufferView_pimpl.C: announce X selection on double/triple
7882 * lyx_main.C: use correct bool in batch dispatch
7884 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7886 2002-08-07 André Pönitz <poenitz@gmx.net>
7888 * funcrequest.h: new class to wrap a kb_action and its argument
7891 * BufferView_pimpl[Ch]:
7895 * lyxrc.C: subsequent changes
7898 2002-08-07 John Levon <levon@movementarian.org>
7900 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7901 document options change.
7903 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7908 * makefile.am: move counters functionality over from
7909 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7911 2002-08-06 John Levon <levon@movementarian.org>
7913 * WordLangTuple.h: new file for word + language code tuple
7924 * BufferView2.C: use WordLangTuple
7927 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7929 2002-08-06 John Levon <levon@movementarian.org>
7931 * lyx_main.C: fix cmdline batch handling
7933 2002-08-06 André Pönitz <poenitz@gmx.net>
7935 * lyxrc.C: set default for show_banner to true
7937 2002-08-06 John Levon <levon@movementarian.org>
7939 * pspell.C: fix a crash, and allow new aspell to work
7941 2002-08-06 John Levon <levon@movementarian.org>
7944 * kbmap.C: small cleanup
7947 * vspace.C: add const
7949 2002-08-05 John Levon <levon@movementarian.org>
7951 * LyXAction.C: back to tabular-insert
7953 2002-08-04 John Levon <levon@movementarian.org>
7956 * BufferView.C: cosmetic change
7958 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7968 * BufferView2.C: purge all "Lyx" not "LyX" strings
7971 * lyxcursor.C: attempt to add some documentation
7976 * ToolbarDefaults.C:
7977 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7978 merge with LFUN_TABULAR_INSERT
7985 * pspell.C: split up i/pspell implementations into separate
7986 files, many cleanups
7988 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7990 * text2.C: some cleanup
7992 * lyxfunc.C: don't check for isp_command == "none" any more, it
7993 didn't make any sense
7995 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8000 * makefile.am: move counters functionality over
8001 from text2.C/paragraph.[Ch] to counters.[Ch], and
8003 2002-08-02 John Levon <levon@movementarian.org>
8005 * buffer.C: s/lyxconvert/lyx2lyx/
8007 2002-08-02 Angus Leeming <leeming@lyx.org>
8009 * lyxlex.C: revert John's change as it breaks reading of the user
8012 2002-08-02 Angus Leeming <leeming@lyx.org>
8014 * importer.C (Import):
8015 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8016 changes due to LyXView::view() now returning a boost::shared_ptr.
8018 2002-08-02 John Levon <levon@movementarian.org>
8020 * lyxlex.C: small cleanup
8022 2002-08-02 John Levon <levon@movementarian.org>
8024 * text2.C (status): small cleanup, no logic change
8026 2002-08-01 John Levon <levon@movementarian.org>
8029 * buffer.C (writeFile): don't output alerts, caller
8033 * lyx_cb.C: from above
8035 * lyxfunc.C: allow to open non-existent files
8037 2002-07-31 John Levon <levon@movementarian.org>
8039 * lyxserver.C: don't let incidental errors get
8042 2002-07-30 John Levon <levon@movementarian.org>
8044 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8046 2002-07-30 John Levon <levon@movementarian.org>
8049 * lyxserver.C: remove I/O callback too
8051 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8053 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8056 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8058 * many files: strip,frontStrip -> trim,ltrim,rtrim
8060 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8062 * PrinterParams.h: remove extern containsOnly, and include
8063 support/lstrings.h instead.
8065 * LaTeX.C (scanAuxFile): modify because of strip changes
8067 * buffer.C (makeLaTeXFile): ditto
8068 * bufferparams.C (writeFile): ditt
8069 * lyxfont.C (stateText): ditto
8070 * lyxserver.C (read_ready): ditto
8071 * vc-backend.C (scanMaster): ditto
8073 * BufferView_pimpl.h: ws changes
8075 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8077 2002-07-26 André Pönitz <poenitz@gmx.net>
8079 * kb_sequence.C: remove unnedred usings
8081 2002-07-26 Juergen Vigna <jug@sad.it>
8083 * lyxfind.C (LyXReplace): we have to check better if the returned
8084 text is not of theLockingInset()->getLockingInset().
8086 2002-07-25 Juergen Vigna <jug@sad.it>
8088 * lyxfind.C (LyXReplace): don't replace if we don't get the
8091 * undo_funcs.C (createUndo): remove debugging code.
8093 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
8095 * buffer.C (parseSingleLyXformat2Token): Use default placement
8096 when reading old floats.
8098 * FloatList.C (FloatList): Change the default placement of figure
8099 and tables to "tbp".
8101 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
8103 * MenuBackend.C: using std::max
8105 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8107 * MenuBackend.C (expandToc):
8108 (expandToc2): code moved from xforms menu frontend. It is now
8109 generic and TOCs are transparent to menu frontends.
8111 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8113 * toc.C (getTocList): protect against buf=0
8115 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8116 Menu as first parameter. Now, this calls itself recursively to
8117 expand a whole tree (this will be useful for TOC handling)
8118 (expandFloatInsert): remove 'wide' version of floats
8120 * MenuBackend.h (submenuname): returns the name of the submenu.
8121 (submenu): returns the submenu itself, provided it has been
8122 created by MenuBackend::expand
8124 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8126 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8127 insets which have noFontChange == true. (bug #172)
8129 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8131 * BufferView_pimpl.C: add connection objects and use them...
8134 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8136 * MenuBackend.C (expandLastfiles):
8139 (expandFloatListInsert):
8140 (expandFloatInsert):
8141 (expand): split expand in parts
8143 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8145 * lyx_gui.C: use lyx_gui::exit()
8147 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8149 * LyXAction.C: show the failing pseudo action
8151 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
8153 * buffer.C (readFile): Run the lyxconvert script in order to read
8156 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8160 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8162 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8166 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8168 2002-07-22 Herbert Voss <voss@lyx.org>
8171 * lyxlength.[Ch]: add support for the vertical lengths
8173 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
8175 * toc.[Ch]: std:: fixes
8177 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8179 * lyxrc.C: do not include lyx_main.h
8181 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8187 * BufferView2.C: include "lyxlex.h"
8190 * bufferparams.h: do not #include "lyxlex.h"
8192 * lyxtextclasslist.C (Add): remove method
8193 (classlist): renamed to classlist_
8195 * paragraph_pimpl.C:
8199 * bufferview_funcs.C:
8204 * toc.C (getTocList): use BufferParams::getLyXTextClass
8206 * toc.C (getTocList): use InsetFloat::addToToc
8208 * toc.[Ch]: new files, containing helper functions to handle table
8211 * lyxfunc.C (dispatch): no need to remove spaces around command
8213 (getStatus): handle LFUN_SEQUENCE by returning the status of the
8214 first command of the sequence; it is not very clever, but I do not
8215 have a better idea, actually
8217 * LyXAction.C (LookupFunc): make sure to remove space at the
8218 beginning and end of the command
8220 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8222 * MenuBackend.C (getMenubar): new method: return the menubar of
8224 (read): treat differently reading of menu and menubar (in
8225 particular, the menubar has no name now)
8226 (Menu::menubar): remove
8228 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8231 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8233 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8234 a bibitem inset in a RTL paragraph.
8236 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
8238 * paragraph_pimpl.C: constify
8240 * BufferView_pimpl.C:
8242 * lyxfunc.C: fix dispatch in a nicer way
8244 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8246 * lyxfunc.C (dispatch):
8247 * BufferView_pimpl.C:
8248 * BufferView_pimpl.h:
8250 * BufferView.h: rename Dispatch() to dispatch()
8252 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8254 * lyxlayout.C (Read): honor DependsOn tag
8256 * lyxlayout.[Ch] (depends_on): new method
8258 * version.C.in: update lyx_docversion
8260 * LaTeXFeatures.C (getMacros): only define \LyX when needed
8262 * paragraph.C (validate): remove from here...
8263 * paragraph_pimpl.C (validate): ... and move here
8264 (isTextAt): make it const
8266 * buffer.C (getLists): ws cleanup
8268 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8270 * language.C (read): Use iso8859-1 encoding in latex_lang
8271 (this prevents LyX from crashing when using iso10646-1 encoding).
8273 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8275 * text2.C (toggleInset): if cursor is inside an inset, close the
8276 inset and leave cursor _after_ it
8278 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8280 * lyxfunc.C: move minibuffer completion handling out of here
8282 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8284 * BufferView_pimpl.C:
8285 * LaTeX.C: fix dispatch calls
8287 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
8289 * text.C (drawChars): Fix Arabic text rendering.
8291 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
8295 * lyxfunc.C: remove message-push/pop
8299 * lyxfunc.C: rationalise some code by removing verboseDispatch
8300 in favour of a bool argument to dispatch()
8302 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8304 * lyx_main.C (init): make sure to read symlinks as absolute paths
8306 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8309 * lyxfunc.C: no need for commandshortcut to be a member
8311 2002-07-15 André Pönitz <poenitz@gmx.net>
8313 * converter.C: add support for $$s (scripts from lib/scripts dir)
8314 * lyx_main.C: white space
8316 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8320 * lyxrc.C: remove second exit confirmation
8322 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8327 * BufferView_pimpl.h:
8328 * BufferView_pimpl.C:
8329 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8331 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8333 * MenuBackend.C (expand): add numeric shortcuts to document menu
8335 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8337 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8339 * lyxfont.C (setLyXFamily):
8346 * buffer.C (asciiParagraph): use ascii_lowercase
8348 2002-07-15 Mike Fabian <mfabian@suse.de>
8350 * lyxlex_pimpl.C (search_kw):
8351 * lyxlex.C (getLongString):
8352 * converter.h (operator<):
8353 * converter.C (operator<):
8354 * buffer.C (parseSingleLyXformat2Token):
8356 * ToolbarDefaults.C (read):
8357 * MenuBackend.C (checkShortcuts):
8359 * LColor.C (getFromGUIName):
8360 (getFromLyXName): use the compare_ascii_no_case instead of
8361 compare_no_case, because in turkish, 'i' is not the lowercase
8362 version of 'I', and thus turkish locale breaks parsing of tags.
8364 2002-07-16 Angus Leeming <leeming@lyx.org>
8366 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8367 now takes a Buffer const & argument.
8369 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
8371 * BufferView.C (resize): check there's a buffer to resize
8373 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
8375 * lyxfunc.C: remove dead code
8378 * lyxserver.C: use lyx_guii::set_read_callback
8380 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
8382 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8383 an inset in a RTL paragraph.
8385 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8387 * lyxfunc.C: repaint after a font size update
8389 2002-07-15 André Pönitz <poenitz@gmx.net>
8391 * lyxlength.C: inBP should be able to return negative values
8393 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8395 * lyxfunc.C: use lyx_gui::update_fonts()
8397 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8399 * lyxfunc.C: use lyx_gui::update_color()
8401 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8407 * lyxrc.C: remove file->new asks for name option, and let
8408 buffer-new take an argument
8410 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8412 * BufferView_pimpl.C: remove unneeded extra repaint()
8414 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
8416 * LyXAction.C: allow command-sequence with NoBuffer
8418 * lyxfunc.C: don't insist on trailing ';' for command-sequence
8420 2002-07-10 Angus Leeming <leeming@lyx.org>
8422 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8424 2002-07-09 Angus Leeming <leeming@lyx.org>
8426 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8428 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8430 * lengthcommon.h: whitespace
8432 * lyxfunc.C: update scrollbar after goto paragraph
8434 * lyxtext.h: factor out page break drawing, and fix it so
8435 page break/added space paints as selected nicely
8437 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8439 * BufferView_pimpl.C: add FIXMEs, clean up a little
8441 2002-07-09 André Pönitz <poenitz@gmx.net>
8443 * lyxfont.[Ch]: support for wasy symbols
8445 2002-07-08 André Pönitz <poenitz@gmx.net>
8447 * BufferView_pimpl.C: apply John's patch for #93.
8449 2002-07-05 Angus Leeming <leeming@lyx.org>
8451 * BufferView_pimpl.C (buffer): generate previews if desired.
8453 * LColor.h: add "preview" to the color enum.
8455 * LColor.C (LColor): add a corresponding entry to the items array.
8457 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8460 2002-07-05 Angus Leeming <leeming@lyx.org>
8462 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8463 The body of the code is now in the method that is passed an ostream &
8464 rather than a file name.
8465 Pass an additional only_preamble parameter, useful for the forthcoming
8468 2002-07-03 André Pönitz <poenitz@gmx.net>
8470 * lyxfunc.C: simplify getStatus() a bit for math stuff
8472 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8474 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8476 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8478 * text.C (changeRegionCase): do not change case of all the
8479 document when region ends at paragraph end (bug #461)
8481 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8483 * paragraph.C (startTeXParParams):
8484 (endTeXParParams): add \protect when necessary
8486 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8488 * BufferView_pimpl.C (workAreaExpose): remove warning
8490 2002-06-27 Angus Leeming <leeming@lyx.org>
8492 * Makefile.am: add lyxlayout_ptr_fwd.h.
8494 2002-06-26 André Pönitz <poenitz@gmx.net>
8496 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8498 2002-06-25 Angus Leeming <leeming@lyx.org>
8500 * lyxfunc.C (dispatch): Comment out the call to
8501 grfx::GCache::changeDisplay. The method no longer exists now that the
8502 pixmap generation part of the graphics loader has been moved into
8505 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8507 * text2.C: layout as layout
8509 * text.C: layout as layout
8511 * tabular.C (OldFormatRead): layout as layout
8513 * paragraph_pimpl.C (TeXDeeper): layout as layout
8514 (realizeFont): layout as layout
8516 * paragraph.C (writeFile): layout as layout
8517 (validate): layout as layout
8518 (getFont): layout as layout
8519 (getLabelFont): layout as layout
8520 (getLayoutFont): layout as layout
8521 (breakParagraph): layout as layout
8522 (stripLeadingSpaces): layout as layout
8523 (getEndLabel): layout as layout
8524 (getMaxDepthAfter): layout as layout
8525 (applyLayout): layout as layout
8526 (TeXOnePar): layout as layout
8527 (simpleTeXOnePar): layout as layout
8528 (TeXEnvironment): layout as layout
8529 (layout): layout as layout
8530 (layout): layout as layout
8532 * lyxtextclass.C (compare_name): new functor to work with
8533 shared_ptr, layout as layout
8534 (Read): layout as layout
8535 (hasLayout): layout as layout
8536 (operator): layout as layout
8537 (delete_layout): layout as layout
8538 (defaultLayout): layout as layout
8540 * lyxlayout_ptr_fwd.h: new file
8542 * lyxlayout.C (Read): layout as layout
8544 * lyx_cb.C (MenuInsertLabel): layout as layout
8546 * bufferlist.C (newFile): layout as layout
8548 * buffer.C (readLyXformat2): layout as layout
8549 (parseSingleLyXformat2Token): layout as layout
8550 (insertStringAsLines): layout as layout
8551 (asciiParagraph): layout as layout
8552 (latexParagraphs): layout as layout
8553 (makeLinuxDocFile): layout as layout
8554 (simpleLinuxDocOnePar): layout as layout
8555 (makeDocBookFile): layout as layout
8556 (simpleDocBookOnePar): layout as layout
8557 (getLists): layout as layout
8559 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8561 * CutAndPaste.C (cutSelection): layout as layout
8562 (pasteSelection): layout as layout
8563 (SwitchLayoutsBetweenClasses): layout as layout
8565 * BufferView_pimpl.C (Dispatch): layout as layout
8566 (smartQuote): layout as layout
8568 * BufferView2.C (unlockInset): layout as layout
8570 2002-06-24 André Pönitz <poenitz@gmx.net>
8572 * lyxfunc.C: fix #487
8574 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8578 * lyxfunc.C: remove display_shortcuts, show_banner
8580 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8582 * Buffer_pimpl.C: oops, update on resize
8584 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8591 * BufferView.C: use repaint()
8593 * BufferView_pimpl.h:
8594 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8595 as it's a clearer description. Remove superfluous
8598 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8600 * text.C: fix bug 488. Not ideal, but getting
8601 getWord() to work properly for the insets that
8602 matter is more difficult ...
8604 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8606 * BufferView_pimpl.C:
8609 * lyxfunc.C: remove the six million index lyxfuncs to just
8610 one, and DTRT (bug 458)
8612 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8616 * BufferView_pimpl.h:
8617 * BufferView_pimpl.C: clean up resize() stuff,
8618 and unnecessary updateScreen()s
8620 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8624 * BufferView_pimpl.h:
8625 * BufferView_pimpl.C:
8628 * minibuffer.C: remove focus management of workarea,
8629 not needed. Use screen's greyOut()
8631 2002-06-17 Herbert Voss <voss@lyx.org>
8633 * converter.C: (convert) do not post a message, when converting
8634 fails, let the calling function decide what to do in this case
8636 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
8638 * lyxfunc.C: tidy up a little
8640 2002-06-16 <alstrup@diku.dk>
8642 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8643 Got rid of FORMS_H_LOCATION include. Now we are
8646 2002-06-15 LyX Development team <lyx@rilke>
8648 * buffer.[Ch] (sgmlOpenTag):
8649 (sgmlCloseTag): Added support for avoiding pernicious mixed
8650 content. Return number of lines written.
8653 (makeDocBookFile): Fixed calls to sgml*Tag.
8654 Simple white space clean.
8656 (simpleDocBookOnePar): Simple white space clean.
8658 * tabular.[Ch] (docBook): Renamed to docbook and got another
8659 argument to related with the pernicious mixed content.
8661 (docbookRow): Fixed calls for docbook inset method.
8663 2002-06-15 Lyx Development team <larsbj@birdstep.com>
8665 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8666 so it's X11 independent.
8670 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8672 2002-06-15 Lyx Development team <lyx@electronia>
8674 * intl.h: Renamed getTrans to getTransManager.
8676 2002-06-14 Angus Leeming <leeming@lyx.org>
8678 * Makefile.am: nuke forgotten stl_string_fwd.h.
8680 2002-06-12 Angus Leeming <leeming@lyx.org>
8682 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8684 2002-06-13 Angus Leeming <leeming@lyx.org>
8687 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8689 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
8691 * kbmap.C (getiso): add support for cyrillic and greek
8693 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8697 * BufferView_pimpl.h:
8698 * BufferView_pimpl.C: move bogus scrolling logic
8701 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8704 * BufferView_pimpl.C: view->resize() change
8706 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8708 * BufferView_pimpl.C: topCursorVisible
8711 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8715 * lyx_gui.C: move to frontends/
8719 * lyx_main.C: changes from above
8721 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8728 * lyx_main.C: minor tidy
8730 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8732 * BufferView_pimpl.h:
8733 * BufferView_pimpl.C:
8735 * BufferView.C: make painter() const,
8738 * BufferView2.C: use screen() accessor
8741 * lyx_main.C: some minor cleanup
8743 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8745 * BufferView_pimpl.h:
8746 * BufferView_pimpl.C: remove enter/leaveView,
8749 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8754 * BufferView_pimpl.h:
8755 * BufferView_pimpl.C: only construct screen once,
8758 * lyxrc.C: remove pointless comment
8760 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8763 * BufferView.C: remove active() and belowMouse()
8765 * BufferView_pimpl.h:
8766 * BufferView_pimpl.C: use workarea() not workarea_,
8767 and make it use a scoped_ptr instead
8769 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8771 * lyx_gui.C: add debug message on BadWindow
8773 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8775 * sp_spell.C: fdopen is not part of the C++ standard.
8777 * paragraph.C (InsetIterator): use >= instead of ==
8779 2002-06-07 Angus Leeming <leeming@lyx.org>
8781 Fixes needed to compile with Compaq cxx 6.5.
8782 * BufferView_pimpl.C:
8789 * lyxtextclasslist.C:
8794 all c-library variables have been moved into namespace std. Wrap
8795 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8800 Add a using std::abs declaration.
8802 * kbmap.h (modifier_pair):
8803 * paragraph.h (InsetTable, InsetList):
8804 * lyxfont.h (FontBits):
8805 type definition made public.
8807 * bufferlist.C (emergencyWriteAll): the compiler complains that
8808 there is more than one possible lyx::class_fun template to choose from.
8809 I re-named the void specialisation as lyx::void_class_fun.
8811 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8813 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8814 the compiler is is unable to find tostr in write_attribute.
8816 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8818 * buffer.C (sgmlError): hide #warning
8820 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8822 * xtl/*: get rid of xtl, which is not in use anyway
8824 * LyXAction.C (init):
8825 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8826 were unimplemented xtl experimentation
8828 2002-06-04 André Pönitz <poenitz@gmx.net>
8830 * lyxfunc.C: disable array operation on simple formulae
8832 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
8834 * converter.C: constify a bit
8836 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
8838 * lyx_gui.C: check xforms version correctly
8840 2002-04-30 Herbert Voss <voss@lyx.org>
8842 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8845 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
8847 * lyxvc.C: fix bug 416 (make sure buffer is saved before
8848 attempt to register it with a VCS)
8850 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8852 * lyx_main.C (init): honor variables LYX_DIR_13x and
8855 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8859 * lyx_main.C: fix a crash on bad command line,
8860 and give a useful exit status on error
8862 * lyxfunc.C (doImport): allow -i lyx to work
8864 2002-03-30 André Pönitz <poenitz@gmx.net>
8866 * lyxfunc.C: mathed font changes
8868 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8883 * trans_mgr.h: srcdocs, and some minor cleanups
8885 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8887 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8888 call getFont all the time)
8890 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8892 * switch from SigC signals to boost::signals
8894 2002-05-29 André Pönitz <poenitz@gmx.net>
8896 * paragraph_pimpl.C (getChar): don't call size() too often...
8898 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8900 * paragraph_pimpl.C (insertChar): do not try to update tables when
8901 appending (pos == size())
8903 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8904 in order to reduce drastically the number of comparisons needed to
8905 parse a large document
8907 2002-05-29 André Pönitz <poenitz@gmx.net>
8913 * textclasslist.[Ch]:
8914 * sp_ispell.h: whitespace change
8916 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8918 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8919 lyxaction directly now.
8921 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
8925 * lyxvc.C: remove unused headers
8927 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8934 * undo_funcs.C: some cleanups. Use shared_ptr
8935 and a template for the undo stacks.
8937 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8939 * BufferView_pimpl.h:
8940 * BufferView_pimpl.C:
8947 * text2.C: use key_state/mouse_state
8949 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8951 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8954 * chset.C: change include order
8955 (loadFile): use boost regex and get rid of LRegex and LSubstring
8957 * Makefile.am (BOOST_LIBS): new variable
8960 * LaTeX.C: change include order.
8961 (scanAuxFile): use boost regex and get rid of LRegex and
8965 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8970 * FontInfo.C: moved to frontends/xforms/
8973 * FontLoader.C: moved into frontends for GUIIzation
8978 * lyxfunc.C: changes from above
8980 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8982 * LColor.C: remove spurious X include
8984 * BufferView_pimpl.C:
8989 * text2.C: move font metrics to frontends/
8991 2002-05-24 Juergen Vigna <jug@sad.it>
8993 * undo_funcs.C (textHandleUndo): fix the cursor selection after
8994 setting the undo_cursor.
8996 * ParagraphParameters.h: include local includes first.
8998 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9000 * BufferView_pimpl.C:
9001 * BufferView_pimpl.h:
9005 * screen.C: move WorkArea into frontends/
9011 * BufferView2.C: move LyXScreen into frontends/
9015 * lyx_gui.C: move lyxlookup into frontends/xforms/
9017 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9020 * BufferView_pimpl.C:
9030 * bufferview_funcs.C:
9043 * vc-backend.C: move LyX/XFormsView into frontends/
9045 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9057 * text2.C: move Painter to frontends/
9059 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9061 * buffer.C: comment out some some code that depend upon lyx_format
9064 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9065 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9067 * buffer.h (NO_COMPABILITY): turn off compability
9069 * ColorHandler.C: include scoped_array.hpp
9071 * font.C: Use more specific smart_ptr header.
9074 * ShareContainer.h: ditto
9078 * BufferView_pimpl.h: ditto
9079 * ColorHandler.h: ditto
9081 * kbmap.C (defkey): change call to shared_ptr::reset
9083 2002-05-21 Juergen Vigna <jug@sad.it>
9085 * buffer.C (insertErtContents): fix to insert ert asis if it is
9086 non empty. Skip it completely if it contains only whitespaces.
9088 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
9090 * BufferView_pimpl.C:
9091 * BufferView2.C: clear selection on paste (bug 393)
9093 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9095 * DepTable.C: include ctime
9097 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
9099 * buffer.C (latexParagraphs): Add new argument (moving_arg).
9101 2002-05-14 Juergen Vigna <jug@sad.it>
9103 * text.C (breakParagraph): fixed function to honor the keepempty
9104 layout in the right maner and also to permit the right breaking
9105 algorithm on empty or non empyt keepempty paragraphs.
9107 * paragraph.C (breakParagraph): we have to check also if the par
9108 is really empty (!size()) for isempty otherwise we do the wrong
9111 2002-05-10 Juergen Vigna <jug@sad.it>
9113 * buffer.[Ch] : The following are only changes to the ert
9114 compatibility read reading old LaTeX layout and font stuff and
9115 convert it to ERTInsets.
9117 * buffer.h: added isErtInset().
9119 * buffer.C (struct ErtComp): add a fromlayout bool to check
9120 if we're inside a LaTeX layout.
9121 (isErtInset): new helper function.
9122 (insertErtContents): look for other ert insets before this one
9123 and insert the contents there, so that we don't have subsequent
9124 ERT insets with nothing between them. This way we create only one
9125 inset with multiple paragraphs. Also check if we don't insert only
9126 spaces ' ' as they are ignored anyway afterwards in the .tex file
9127 so if we have only spaces we will ignore this latex part in the
9129 (parseSingleLyXformat2Token \\layout): better compatibility when
9130 reading layout-latex stuff.
9131 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9133 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9134 stuff after reading the inset only get the information back from
9137 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
9139 * buffer.C (makeLaTeXFile): Put language options after loading babel.
9141 * LaTeXFeatures.C (getBabelOptions): New method.
9143 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9145 * BufferView_pimpl.C (Dispatch): work around missing argument for
9148 2002-05-08 Juergen Vigna <jug@sad.it>
9150 * text.C (leftMargin): handle paragraph leftindent.
9152 * paragraph.C (writeFile): write the new \\leftindent tag.
9153 (validate): handle leftindent code.
9154 (TeXEnvironment): handle paragraphleftindent code again.
9156 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9158 * buffer.C (parseSingleLyXformat2Token): added compatibility code
9159 for paragrap_extra indent code and new token \\leftindent.
9160 (latexParagraphs): handle the leftindent as environment.
9162 * ParameterStruct.h: added leftindent support.
9164 * ParagraphParameters.C (leftIndent): added support functions for
9165 the paragraph left indent.
9167 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9170 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
9172 * paragraph.C (isRightToLeftPar): Return false for a paragraph
9175 * text.C (computeBidiTables): No bidi in insetERT.
9177 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9180 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9182 * version.C.in: pre 5
9184 2002-05-02 José Matos <jamatos@fep.up.pt>
9185 * buffer.C (makeDocBookFile): white space changes, add newline to
9187 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9189 * tabular.C (docBook): fix typo.
9191 2002-05-03 Juergen Vigna <jug@sad.it>
9193 * screen.C (drawFromTo): recalculate the rowpointer if we had a
9194 change in LyXText as we can not be sure it was not freed.
9195 (drawOneRow): remove unused code.
9197 * text.C (drawInset): redo the calculation of the need_break_row as
9198 it could have a row which was already freed.
9199 (draw): look at the return value of drawInset and return false if
9200 it also returned false.
9201 (paintRowText): look at the return value of draw and return false if
9202 it also returned false.
9204 * lyxtext.h: added bool return type to drawInset() and draw() so that
9205 if we have a change in the row so that the rowbreak has to be redone
9206 we abort drawing as it will be called again.
9208 2002-05-02 Juergen Vigna <jug@sad.it>
9210 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9211 a change in the maintext also if we're inside an inset.
9212 (Dispatch): set the cursor again after a break line and after the
9213 screen has been updated as it could be we're in a different row.
9215 * text2.C (fixCursorAfterDelete): check to make sure we don't request
9216 to set the cursor behind the pargraph with > size().
9217 (setCursor): check also for the same paragraph when checking where
9218 to put the cursor if we have a NFR inset.
9220 * buffer.C (parseSingleLyXformat2Token): move the compatibility
9221 parts of layout read further up as it still was in the wrong
9224 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9226 * screen.C (drawFromTo): change sine fullRebreak always return
9229 * buffer.C (parseSingleLyXformat2Token): reindent some
9231 * BufferView_pimpl.C (update): change since fullRebreak always
9233 (Dispatch): git rid of the last hardcoded "Standard"s.
9235 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9237 * text2.[Ch] (fullRebreak): make it return void now that we always
9240 2002-04-30 Juergen Vigna <jug@sad.it>
9242 * buffer.C (parseSingleLyXformat2Token): reset the font before the
9243 ert compatibility check for "latex" layout.
9245 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
9247 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9248 minipages: use col% instead of p%, and also use the current font.
9249 (makeLaTeXFile): Fix use babel condition.
9250 (parseSingleLyXformat2Token): Correct font when reading old floats.
9252 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
9254 * BufferView_pimpl.C (Dispatch): Check that float type exists when
9255 inserting list of floats.
9257 2002-04-25 Herbert Voss <voss@lyx.org>
9259 * MenuBackend.C (expand): don't add the graphics extensions to the
9262 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9264 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9265 non-existing layout, do not complain if it was the default layout
9266 of the original class (bug #342)
9268 2002-04-24 Juergen Vigna <jug@sad.it>
9270 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9271 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9273 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
9275 * buffer.C (getBibkeyList): If using \bibliography, return the
9276 option field with the reference itself. Enables us to provide natbib
9277 support when using \bibliography.
9279 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
9281 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9283 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9284 natbib is provided by the LaTeX class.
9286 2002-04-23 Juergen Vigna <jug@sad.it>
9288 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9291 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9293 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9295 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9297 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9298 ensuremath around textordmasculine, textordfeminine and
9301 2002-04-19 Juergen Vigna <jug@sad.it>
9303 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9304 reinitializing the buffer otherwise row-dimensions may be wrong.
9305 (update): reset also the selection cursors if they do exits otherwise
9306 their x/y positions may be wrong.
9308 * text2.C (cursorDown): don't enter the inset if we came from a row
9309 above and are one row over the inset.
9311 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9312 really leaving an inset.
9314 2002-04-18 Juergen Vigna <jug@sad.it>
9316 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9317 of the selected paragraph does not have the selected layout also if
9320 * text2.C (setLayout): fixed bug which did not change last selected
9323 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9324 changed the read and substituted \\end_float with \\end_inset!
9326 * BufferView_pimpl.C (cursorPrevious):
9327 (cursorNext): fixed to make it work with rows heigher than the work
9328 area without moving the cursor only the draw of the row.
9329 (workAreaMotionNotify): fix jumping over high rows.
9331 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9333 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9336 2002-04-16 Juergen Vigna <jug@sad.it>
9338 * text2.C (setCursor): set also the irow().
9339 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9341 (cursorDown): support for locking an inset if the x_fix value goes
9342 inside it. That way I can transverse insets too with cursor up/down.
9344 * lyxrow.h: added irow helper function same as other (i) functions.
9346 * BufferView_pimpl.C (cursorPrevious):
9347 (cursorNext): fixed for insets!
9349 2002-04-15 Juergen Vigna <jug@sad.it>
9351 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9352 position otherwise it is wrong in some cases.
9354 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9355 inside the inset before the call.
9357 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
9359 * buffer.[Ch] (getBibkeyList): make it const.
9361 2002-04-12 Juergen Vigna <jug@sad.it>
9363 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9365 * text2.C (getCursorX): new helper function
9366 (setCursor): compute also ix_
9367 (setCursorFromCoordinates): set also ix.
9369 * lyxcursor.h: added ix_ and helper functions.
9371 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9373 * buffer.C (insertStringAsLines): dont break paragraph if the this
9374 paragraph is inside an inset which does not permit it!
9376 * text.C (breakParagraph): honor keepempty flag and break the paragraph
9377 also with no chars on this paragraph.
9378 (paintRowText): only paint stuff if it's inside the workarea!
9380 * paragraph.C (breakParagraph): honor keepempty flag and break the
9381 paragraph always below not above.
9383 * BufferView2.C (unlockInset): update the paragraph layout on inset
9384 unlock as we changed paragraph in such a case.
9386 * lyxfind.C (LyXFind): clear the former selection if not found!
9388 * text2.C (insertInset): freeze Undo after setUndo so that it is not
9389 again called in insertChar().
9391 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9392 an inset which uses the whole row!
9393 (rightMargin): ditto.
9394 (insertChar): force a rebreak if we inserted an inset!
9396 2002-03-28 Herbert Voss <voss@lyx.org>
9398 * lyxlength.[Ch]: add inBP() to get the right PS-point
9399 units (BigPoint). With inPixels we have rounding errors
9401 2002-04-11 Juergen Vigna <jug@sad.it>
9403 * text2.C (setCursorFromCoordinates): set iy to the right value.
9404 (setCursor): add check if row->previous exists!
9406 * buffer.C (parseSingleLyXformat2Token): reset font after read of
9407 an old float_type as this was the case in the old code!
9409 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9411 * BufferView2.C (showLockedInsetCursor): use iy
9412 (fitLockedInsetCursor): ditto
9414 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9415 locked insets as there we have the right value now.
9417 * lyxcursor.C: added iy_ variable and iy functions to set to the
9418 baseline of cursor-y of the locked inset.
9420 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9421 (setCursor): fixed for insets which need a full row.
9423 * text.C (rowLastPrintable): don't ignore the last space when before
9424 an inset which needs a full row.
9425 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9426 as last character of a row when before a inset which needs a full row.
9428 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9430 * version.C.in: update date
9432 * text2.C (fullRebreak): try to always return true and see what
9435 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9437 * MenuBackend.C (expand): use Floating::listName
9439 * FloatList.C (FloatList): add listName argument to the built-in
9442 * Floating.[Ch]: add listName member, which is the 'List of XXX'
9443 text associated with the float.
9445 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9447 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9449 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9451 * ShareContainer.h: add a couple of missing typenames.
9453 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
9455 * lyxrc.C (getDescription): use _() correctly rather than N_().
9457 2002-03-28 Herbert Voss <voss@lyx.org>
9459 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9460 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9462 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9464 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9465 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9467 2002-03-29 Juergen Vigna <jug@sad.it>
9469 * lyxfunc.C (dispatch): add a missing fitCursor call.
9471 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9472 it was scrolled by a cursor move, so return the bool status.
9474 * BufferView.C (fitCursor): return the bool flag also to the outside
9475 world as this is needed.
9477 * screen.C (toggleToggle): don't subtract the offset if it's positive.
9479 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9480 call the edit() as it is not needed (and wrong) IMO.
9481 (workAreaButtonPress): set the screen_first variable before evt.
9482 unlock the inset as this may change screen_first and then we have
9483 a wrong y position for the click!
9485 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9487 * MenuBackend.C (expand): another translation that I missed
9489 2002-03-28 Juergen Vigna <jug@sad.it>
9491 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9493 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9495 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9497 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9499 * MenuBackend.C (expand): fix export/view/update when there is no
9502 2002-03-27 Herbert Voss <voss@lyx.org>
9504 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9507 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9509 * bufferview_funcs.C (currentState): only show paragraph number
9510 for is DEVEL_VERSION is set.
9512 * lyxfunc.C (dispatch): put warning in INFO channel
9514 * MenuBackend.C (expand): translate the name of floats
9516 * FloatList.C (FloatList): mark the float names for translation
9518 * converter.C (convert): use LibScriptSearch
9520 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9522 * MenuBackend.C (defaults): fix default menu (we might as well get
9525 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9527 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9530 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9532 * lyxvc.C: reorder includes.
9534 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
9536 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9539 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9541 * CutAndPaste.C: change layouts earlier on paste
9542 to avoid crashing when calling getFont()
9544 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9546 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9549 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9551 * WorkArea.C: remove 'Pending' debug message.
9553 * most files: ws cleanup
9555 * buffer.[Ch]: ws changes
9557 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9559 2002-03-21 Juergen Vigna <jug@sad.it>
9561 * tabular.C (SetMultiColumn): collapse also the contents of the
9562 cells and set the last border right. Added a Buffer const * param.
9564 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9566 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9569 2002-03-19 Juergen Vigna <jug@sad.it>
9571 * text2.C (clearSelection): reset also xsel_cache.
9573 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9574 where it needs to be called (John tells us to do so too :)
9575 (selectionLost): reset sel_cache.
9577 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9579 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9581 * text2.C (setCursorIntern): put debuging code in INSETS channel
9583 2002-03-19 André Pönitz <poenitz@gmx.net>
9585 * lyxfunc.C: tiny whitespace change
9587 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9589 * ToolbarDefaults.C (init):
9590 * LyXAction.C (init):
9592 * BufferView_pimpl.C (Dispatch):
9593 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9595 2002-03-19 Allan Rae <rae@lyx.org>
9597 * exporter.C (Export): removeAutoInsets before doing anything else.
9598 While I've just introduced a dependency on BufferView this really is
9599 the best place to clean the buffer otherwise you need to cleanup in
9600 a dozen places before calling export or cleanup in a dozen functions
9603 * converter.C (runLaTeX):
9604 (scanLog): Better handling of removeAutoInsets and screen updates.
9606 * lyxfunc.C (dispatch): small whitespace changes
9608 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9610 * WorkArea.C (C_WorkAreaEvent): return a value.
9611 (event_cb): return 1 if we handled the event, 0 otherwise.
9613 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9615 2002-03-18 Juergen Vigna <jug@sad.it>
9617 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9618 (GetAdditionalWidth): ditto.
9622 * BufferView2.C (copy): use getLyXText() so that we do it inside an
9623 inset if we're there actually (probably not used right now but this
9624 is the direction to go for unifying code).
9625 (paste): disable code to clear the selection.
9627 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9628 inside an InsetText and move the check further up as it is in the
9631 * text2.C (pasteSelection): set a selection over the pasted text.
9633 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
9635 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9636 and libgraphics to build on Cygwin.
9638 2002-03-15 Juergen Vigna <jug@sad.it>
9640 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9641 inserting an Inset into the paragraph. I know this is not the best
9642 fix but we already use current_view in CutAndPaste so we will remove
9643 all of it's using at the same time.
9645 * buffer.C (sgmlError): deactivated function till it is rewritten in
9646 the right mode, now it can create problems.
9648 * paragraph.C (isLineSeparator): check if getInset returns != 0,
9649 before accessing it.
9651 2002-03-14 Juergen Vigna <jug@sad.it>
9653 * undo_funcs.C (textHandleUndo): do the right thing when updating
9654 the inset after the undo/redo.
9656 * text2.C (setCursor): just some testcode for #44 not ready yet.
9658 * undo_funcs.C (textHandleUndo): set the next() and previous()
9659 pointers of the paragraph to 0 before deleting otherwise we have
9660 problems with the Paragraph::[destructor].
9662 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9663 on a paragraph insertion.
9665 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9667 * buffer.C (asciiParagraph): use += operator for char append to
9670 * paragraph.C (getFontSettings): compare >= not just >
9671 (highestFontInRange): ditto
9674 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9676 * paragraph.C: change several algorithm to be more appripriate for
9677 the problem domain. This is lookip in FontList and in the InsetList.
9679 2002-03-13 André Pönitz <poenitz@gmx.net>
9682 * LyXAction.C: remove unused LFUN_MATH_MACROARG
9684 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
9689 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9691 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9693 * Painter.C (display): anon helper function, adjust code for this
9695 (pixmap): remove function.
9697 * Painter.h: remove private display variable.
9699 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9701 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
9703 * WorkArea.[Ch]: remove figinset_canvas cruft.
9705 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9707 * lyxtextclass.C (operator): add one item cache optimization.
9709 * bufferlist.h: doxy changes
9711 * bufferlist.C: ws changes
9713 * DepTable.[Ch] (ext_exist): place const in the right spot.
9715 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9717 (workAreaExpose): call resizeInsets when the with BufferView changes.
9718 (Dispatch): adjust for protectedBlank removal
9719 (specialChar): call updateInset if the insert went ok.
9721 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9722 specialChar instead.
9724 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9726 * BufferView.h: doxy change
9728 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9730 * lyxtextclass.C (operator[]): remove non-const version
9731 (defaultLayout): remove non-const version
9733 2002-03-12 Juergen Vigna <jug@sad.it>
9735 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9736 did resize the LyXText too.
9738 * buffer.C (readLyXformat2): set layout information on newly allocated
9741 * tabular.C (OldFormatRead): set layout information on the paragraph.
9743 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9745 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9747 2002-03-11 Juergen Vigna <jug@sad.it>
9749 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9751 (resizeCurrentBuffer): force also the insets to resize themselfes.
9752 (moveCursorUpdate): fixed up for InsetText.
9754 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
9757 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9758 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9759 value of Dialogs::tooltipsEnabled().
9760 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9762 2002-03-08 Juergen Vigna <jug@sad.it>
9764 * BufferView_pimpl.C (updateInset): update inset inside inset also
9765 if it isn't inside theLockingInset().
9767 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9769 * buffer.C (asciiParagraph): redo some of the word and line length
9771 (getLists): look for Caption instead of caption.
9773 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9775 * buffer.C (Buffer): initialize niceFile to true
9778 (makeDocBookFile): make sure niceFile is true on exit
9780 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9782 * buffer.C (makeLaTeXFile): escape ~ in \input@path
9784 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
9786 * LyXSendto.C: remove.
9787 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9788 * lyx_gui.C: remove now-redundant comment.
9789 * ColorHandler.h: remove forward declaration of class WorkArea.
9790 * lyxfunc.C: remove #include "WorkArea.h".
9792 2002-03-07 Juergen Vigna <jug@sad.it>
9794 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9795 got moved away with the DEPM and also set the inset_owner always
9796 right which before could have been omitted.
9798 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9800 * buffer.C (parseSingleLyXformat2Token): use default layout is the
9801 wanted layout is not found.
9803 2002-03-07 Juergen Vigna <jug@sad.it>
9805 * CutAndPaste.C (cutSelection): another layout settings forgotten.
9807 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9809 * paragraph.C (breakParagraph): use default layout not layout of
9811 (Paragraph): clear ParagraphParameters.
9813 2002-03-06 Juergen Vigna <jug@sad.it>
9815 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9816 otherwise it would not be a valid lenght. Fixed a special case in
9817 the minipage compatibility read where we end the document with a
9820 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9821 was set as it could be 0 for InsetTexts first entry.
9823 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9825 * paragraph.C (writeFile): if layout is empty write out
9826 defaultLayoutName().
9828 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9829 file without named layout we set layout to defaultLayoutName().
9831 2002-03-06 Juergen Vigna <jug@sad.it>
9833 * CutAndPaste.C (copySelection): set layout for new paragraph.
9835 * text.C (prepareToPrint): leave ERT inset left aligned
9836 (leftMargin): don't indent paragraphs inside ERT insets
9838 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9840 * paragraph.C (breakParagraph): dont call clear do the work manually
9842 * paragraph.[Ch] (clear): remove function
9844 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9846 * paragraph.C (Paragraph): dont call clear, the work has already
9849 * lyxtextclass.C (operator): assert if n is empty
9851 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9852 work manually instead.
9854 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9856 * BufferView_pimpl.C: protect selectionLost against text == 0
9858 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9860 * text.C (breakParagraph): fix a setting layout to '0' problem.
9862 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9864 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9865 final location of file, for the included files, and graphics.
9867 2002-03-05 Juergen Vigna <jug@sad.it>
9869 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9871 2002-03-04 Juergen Vigna <jug@sad.it>
9873 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9875 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9876 last column of multicolumn cells.
9877 (SetWidthOfMulticolCell): recalculate NMC and real columns.
9879 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
9881 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9882 file if it doesn't go to a temporary file.
9884 * buffer.C (sgmlOpenTag):
9885 (sgmlCloseTag): remove extra newline insertion.
9887 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9889 * text.C (getRowNearY): comment out debug msg
9891 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9893 * text2.C: first -> first_y
9895 * text.C (getRowNearY): add some attemts at a possible
9896 optimization, not working.
9898 * tabular.[Ch]: add BufferParams to several function so that newly
9899 created paragraph can be initialized to he default layotu for the
9902 * tabular-old.C (ReadOld): add buf->params to call of Init
9904 * screen.C: rename text->first to text->first_y
9906 * paragraph.C (breakParagraph): always set layout in the broken
9909 * lyxtextclass.C (Read): remove lowercase
9912 (delete_layout): ditto
9914 * lyxtext.h: rename first -> first_y
9916 * lyxlayout.C (Read): remove lowercase
9919 (obsoleted_by): ditto
9921 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9923 * buffer.C (insertErtContents): add params are to InsetERT
9924 (parseSingleLyXformat2Token): add code to check if a paragraphs
9925 layout really exist.
9926 (parseSingleLyXformat2Token): add params to several inset
9928 (asciiParagraph): remove lowercase, do the layout comparisons with
9931 * BufferView_pimpl.C (cursorNext): first -> first_y
9932 (resizeCurrentBuffer): first -> first_y
9933 (updateScrollbar): first -> first_y
9934 (scrollCB): first -> first_y
9935 (workAreaMotionNotify): first -> first_y
9936 (workAreaButtonPress): first -> first_y
9937 (checkInsetHit): first -> first_y
9938 (cursorPrevious): first -> first_y
9939 (cursorNext): first -> first_y
9940 (Dispatch): add buffer_->params to severl inset contructors
9942 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9944 * lyxlayout.C (Read): remove some debug info that I forgot.
9946 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9947 clean up the code slightly.
9948 (makeLinuxDocFile): ditto
9949 (makeDocBookFile): ditto
9951 * text2.C: layout as string
9953 * text.C: layout as string
9955 * paragraph_pimpl.C: layout as string
9957 * paragraph.[Ch]: layout as string
9959 * lyxtextclasslist.[Ch]: layout as string
9961 * lyxtextclass.[Ch]: layout as string
9963 * lyxtext.h: layout as string
9965 * lyxlayout.[Ch]: layout as string
9967 * lyx_cb.C: layout as string
9969 * bufferview_funcs.C: layout as string
9971 * bufferparams.C: layout as string
9973 * buffer.C: layout as string
9975 * LyXView.[Ch]: layout as string
9977 * LaTeXFeatures.[Ch]: layout as string
9979 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9981 * BufferView_pimpl.C: change current_layout to string, remove
9986 (workAreaButtonRelease): layout as string
9988 * BufferView2.C (unlockInset): adjust
9990 * vspace.C (asLatexCommand): use an explict temp variable.
9992 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9994 * Makefile.am: use FRONTEND_*
9996 2002-03-01 Juergen Vigna <jug@sad.it>
9998 * tabular.C (SetWidthOfMulticolCell): changed to something better
9999 I hope but still work in progress.
10000 (recalculateMulticolumnsOfColumn): renamed function from
10001 recalculateMulticolCells as it is more appropriate now.
10002 (SetWidthOfCell): calculate multicols better.
10004 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10006 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10008 * lyxfunc.C (processKeySym): print sequence also if it is
10009 `deleted' (complete)
10011 * kbsequence.C (print): print sequence even if it is deleted
10012 (complete would be a better word, actually).
10014 * lyxfunc.C (dispatch): print complete options after a prefix key
10016 * vspace.C (asLatexCommand): rewrite in a slightly different form.
10018 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
10020 * text2.C (setCharFont): eliminate setCharFont code duplication.
10022 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10024 * BufferView_pimpl.C (Dispatch): remove bogus handling of
10025 LFUN_TABULAR_FEATURE (bug #177)
10027 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
10029 * Makefile.am: remove figure.h
10031 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
10033 * Bufferview_pimpl.C:
10045 * text2.C: remove #include "lyx_gui_misc.h".
10047 * LaTeX.C: added #include <cstdio>
10049 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10051 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10052 that the paragraph following this one can have.
10054 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10056 * vspace.C (asLatexCommand): fix bogus gcc warning
10058 * Makefile.am (lyx_SOURCES): remove vms_defines.h
10060 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
10062 * text2.C (setLayout): get rid of redundant code
10064 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
10066 * text2.C (incDepth): make sure depth cannot be increased beyond
10069 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
10071 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10072 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10074 * PainterBase.h (image):
10075 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10076 a LyXImage const *.
10078 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10082 * BufferView_pimpl.C:
10083 * BufferView_pimpl.h:
10103 * sp_spell.C: remove fig inset, and the crap house of
10104 cards that follows it
10106 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10111 * os2_errortable.h:
10112 * nt_defines.h: move .h into support/
10114 * vms_defines.h: remove
10116 * WorkArea.C: add space in debug output
10120 * buffer.C: add WITH_WARNINGS
10124 * bufferlist.C: s/retrive/retrieve/, add docs
10133 * chset.C: add docs
10135 * lyxgui.C: add ID to X error handler
10137 * lyxtestclass.c: fix typo
10139 2002-02-26 Juergen Vigna <jug@sad.it>
10141 * tabular_funcs.C (write_attribute): changed so that some default
10142 attributes are not written at all.
10143 (getTokenValue): set default values before trying to read the
10144 value so we have the return value always set as default if we don't
10145 find the token we search for.
10147 * tabular.C (Write): write bools as bools not as strings!
10149 2002-02-22 Juergen Vigna <jug@sad.it>
10151 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10152 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10154 * text.C (leftMargin): don't add an indent for paragraphs inside
10155 tabular cells (fix #208).
10157 2002-02-21 José Matos <jamatos@fep.up.pt>
10159 * tabular.C (docBook): fixed support for long tables.
10161 2002-02-20 Juergen Vigna <jug@sad.it>
10163 * text2.C (getFont): get the drawing font of the Inset if this
10164 paragraph is inside an inset (only important for InsetERT for now).
10166 * buffer.C (insertErtContents): use new lanugage params in ERT
10169 * CutAndPaste.C: commenting out seemingly uneeded code.
10171 2002-02-19 Allan Rae <rae@lyx.org>
10173 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10174 Iterators might be simple to use but they also get invalidated.
10175 (removeAutoInsets): renamed saved cursor tracking variables and added
10176 some comments to clarify what everything does.
10178 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
10185 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10186 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10189 * vc-backend.h: remove #include "support/syscall.h"
10193 * converter.C: rearrange #includes in Lars' approved fashion.
10195 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10196 forward declare class Timeout in the header file.
10198 * XFormsView.C: changes due to the above.
10200 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10201 similar to LyXView.
10203 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10204 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10206 2002-02-18 José Matos <jamatos@fep.up.pt>
10208 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10211 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10213 * a lot of small ws changes
10214 * add a lot of using std::XXX
10215 * use std construcs some places where approp.
10216 * use some exisint stuff from lyxfunctional where approp.
10217 * Make file changes to use partial linking (lets test this now...)
10219 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10223 remove #include "support/syscontr.h" as it's redundant. Always has been.
10231 change Systemcalls::System to Systemcalls::Wait and
10232 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10233 No change of functionality, just reflects the stripped down Systemcalls
10236 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10238 * debug.[Ch]: add a GRAPHICS type to the enum.
10240 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10242 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10244 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10247 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10249 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10250 match the changes below.
10252 * text2.C (toggleInset): if there is not editable inset at cursor
10253 position, try to see if cursor is _inside_ a collapsable inset
10256 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10258 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10259 document menu has a nice checkbox
10261 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10263 * lyxlength.C (asLatexString): change PW to output as percent of
10266 * lengthcommon.C: change '%' to 't%'
10268 * lyxfunc.C (dispatch): a few comments from Martin
10270 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
10274 * BufferView_pimpl.h:
10275 * BufferView_pimpl.C: clear our selection when X tells us we've lost
10278 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10280 * vspace.C (inPixels): fix compiler warning
10282 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10284 * lyxfunc.C (getStatus): fix status message for disabled commands.
10286 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
10288 * BufferView_pimpl.C: fix crash on close buffer
10289 during selection (#227)
10291 2002-01-27 Herbert Voss <voss@lyx.org>
10293 * buffer.C: link old Figure to new graphic inset
10295 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
10297 * FontLoader.C (getFontinfo): Change the latex font names in order
10298 to match the names of type1inst.
10300 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10302 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10304 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10305 (extchanged): ditto
10307 (remove_files_with_extension): ditto
10308 (remove_file): ditto
10311 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10312 document is smaller than the work area height. Do not initialize
10313 static variables to 0.
10315 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10317 * lyx_gui.C (init): give the toolbar tooltips a normal font.
10319 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10320 LFUN_LAYOUT_PARAGRAPHS.
10322 * tabular.C (GetCellFromInset): new method. Finds an inset in a
10323 tabular. It is possible to provide a possible cell, which will
10324 typically be the actcell from the corresponding insettabular
10326 * lyxfunc.C (getStatus): small cleanup; disable
10327 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10330 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10332 * tabular.C (Validate): remove broken optimization (fixes bug #201)
10334 * paragraph.C (startTeXParParams):
10335 (endTeXParParams): new methods. The LaTeX code to
10336 start/end paragraph formatting
10337 (simpleTeXOnePar): call startTeXParParams also when paragraph is
10338 empty (fixes bug #200)
10340 * vspace.C (inPixels): adapt to the change below
10341 (inPixels): [later] more cleanups (remove unused variables)
10343 * lyxlength.C (inPixels): change to use a width and a height as
10346 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10348 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10349 Replaced with \paperwidth
10351 * DepTable.C (insert): add std:: qualifier
10353 2002-01-18 Allan Rae <rae@lyx.org>
10355 * text2.C (removeRow): add comment. Should other refresh_?? vars be
10358 * text.C (drawInset): Turned out I didn't know enough about how
10359 rebreaking worked. This fixes most of the redraw problems. I see
10360 an occasional cursor trail when a line is broken now and the cursor
10361 placement can seem out by a few pixels also after a rebreak.
10363 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10365 * buffer.C (parseSingleLyXformat2Token): update because minipage
10366 width is now a LyXLength
10368 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10370 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10373 2002-01-17 Juergen Vigna <jug@sad.it>
10375 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10377 * BufferView2.C (lockInset): call edit() so that theLockingInset()
10378 is set correctly and the inset is updated correctly.
10380 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10382 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10383 the beginning of the loop.
10385 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
10387 * lyxrc.C: improve help for use_scalable_fonts
10389 2002-01-17 Allan Rae <rae@lyx.org>
10391 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10393 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10395 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10396 make sure to set their inset_owner to the right value (bug #171)
10398 2001-12-12 Ben Stanley <bds02@uow.edu.au>
10401 * DepTable.C: Implement mtime checking to reduce time spent doing
10404 2002-01-16 Juergen Vigna <jug@sad.it>
10406 * tabular.C (GetAdditionalHeight): one of error fixed.
10408 * lyxrc.C (output): small fix in writing use_pspell.
10410 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
10412 * sp_base.h: #include LString.h
10414 2002-01-16 Allan Rae <rae@lyx.org>
10416 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
10417 Can someone check this please?
10419 * text.C (drawInset): It was possible that p.row would be removed by
10420 breakAgainOneRow upsetting a few other settings. There may be another
10421 small tweak possible by setting need_break_row = 0 when p.row has been
10422 removed but I don't know enough about the logic here.
10424 2002-01-15 Allan Rae <rae@lyx.org>
10426 * text.C (insertChar): removed conditional truism.
10428 * BufferView2.C (removeAutoInsets): More tweaks.
10429 cur_par_prev could be a stray pointer. Check for trailing empty line
10430 in case last line was cur_par and only had an error inset on it.
10432 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10434 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10437 * vc-backend.C (most methods):
10438 * exporter.C (Export):
10439 * converter.C (convert):
10441 * LyXSendto.C (SendtoApplyCB):
10442 * lyxfunc.C (dispatch):
10446 * lyx_cb.C (AutoSave):
10448 * BufferView_pimpl.C (MenuInsertLyXFile):
10449 * buffer.C (runChktex): use Buffer::filePath().
10451 * buffer.h: rename filename to filename_; rename filepath to
10452 filepath_ and make it private
10453 (filePath): new method
10455 * buffer.C (writeFile): use fileName()
10458 * lyx_main.C (init): fix starting of LyX when the binary is a
10459 link from so,ewhere else.
10461 * minibuffer.C: include <cctype> for isprint
10463 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10465 * buffer.C (parseSingleLyXformat2Token): changes associated with the
10466 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10467 name clash with InsetCollapsable's width function.
10469 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10471 * lastfiles.C: include <iterator>
10473 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10475 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10478 * buffer.C (makeLaTeXFile): ditto.
10479 Also make loop operation more transparent.
10481 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10483 * ToolbarDefaults.C: remove trailing comma closing namespace.
10485 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10487 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10490 * trans.C (Load): comment out unused variable, allowed.
10492 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10494 * minibuffer.[Ch] (append_char): new method to recieve input from the
10495 drop-down completion browser. If a key was pressed, then recieve this
10496 char and append it to the existing string.
10497 (peek_event): modify the positioning data passed to the completion
10498 browser so that it can be placed above the minibuffer rather than below.
10499 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10501 * LyXAction.C (init): alloe error-next for readonly documents.
10503 * BufferView2.C (ChangeRefsIfUnique): use standard version of
10506 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10508 * bufferlist.C (readFile): create the buffer _after_ checking that
10511 * lyxfunc.C (verboseDispatch): fix handling of arguments
10513 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10515 * lyxrc.C: use string::erase() instead of initializing to "".
10518 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10520 * BufferView_pimpl.h:
10521 * BufferView_pimpl.C:
10524 * text2.C: tell X when we have made a selection for copying
10526 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10528 * BufferView_pimpl.C (MenuInsertLyXFile):
10529 * lyxfunc.C (menuNew):
10531 (doImport): add shortcuts to directory buttons
10533 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10536 * lyxfunc.C (setStatusMessage):
10537 (getStatusMessage): new methods
10538 (getStatus):use setStatusMessage instead of setErrorMessage
10539 (dispatch): when function is disabled, set error message here
10540 [instead of in getStatus previously]
10542 * BufferView_pimpl.C (workAreaButtonRelease): update
10543 toolbar/menubar here too.
10545 2002-01-13 Allan Rae <rae@lyx.org>
10547 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10548 Now seems indestructible. Remaining task is to audit all other
10549 code affected by deleteEmptyParagraphMechanism. One small quirk
10550 left is that an empty document with an error in the preamble can
10551 be made to report an error but no error box appears. I don't know
10553 (removeAutoInsets): Improved comments.
10555 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10558 * Thesaurus.C: update for Aiksaurus 0.14
10560 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10562 * text2.C (firstParagraph): removed member function, all uses
10563 replaces with ownerParagraph
10564 (redoParagraphs): here
10565 (updateInset): here
10566 (toggleAppendix): here
10567 * BufferView2.C (insertErrors): here
10568 (setCursorFromRow): here
10570 2002-01-13 Allan Rae <rae@lyx.org>
10572 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10573 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10574 There is still a way to segfault this although you may have to do this
10575 multiple times: Have an InsetERT with an unknown command in it.
10576 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10577 <down-arrow>, <Enter> again, View->DVI, BANG!
10579 * text2.C (setCursor):
10580 (deleteEmptyParagraphMechanism):
10581 * lyxtext.h (setCursor):
10582 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10583 Making use of the return value may help fix other bugs.
10585 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10587 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10589 * LyXView.C (updateMenubar): call MenuBar::update here
10590 (updateToolbar): but not here
10591 (showState): do not update toolbar/menubar
10593 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10594 should need to care about that.
10596 * lyxfunc.C (verboseDispatch): simplify a bit
10597 (getStatus): have a version which takes a pseudoaction, and
10598 another which requires a (kb_action,string).
10600 * LyXAction.C (retrieveActionArg): make it work also when action
10601 is not a pseudo-action.
10602 (getActionName): simplify a bit
10605 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10607 * lyxfunc.C (verboseDispatch): new families of methods with
10608 several ways to specify a command and a bool to indicate whether
10609 the command name and shortcut should be displayed in minibuffer
10610 (eventually, we could extend that to a finer bitmask like
10611 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10612 (dispatch): the pristine dispatch command which just, well,
10613 dispatchs! Note it still sets its result to minibuffer; I'm not
10616 * lyxfunc.h: remove setHintMessage
10618 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10620 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10622 * BufferView_pimpl.C (specialChar): delete new inset if we have
10623 not been able to insert it.
10625 * kbmap.C: revert to using int instead of kb_action, since all we
10626 are dealing with is pseudo-actions.
10628 * LyXAction.C (searchActionArg): change to return int instead of
10629 kb_action, since the result is a pseudoaction.
10631 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
10633 * buffer.C (insertErtContents): Fix (partially) the font bug.
10635 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10637 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10638 as the other one is broken on my machine!
10640 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
10643 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10645 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
10647 * lyxrc.[Ch]: change names and descriptions of popup font variables to
10648 reflect their actual use. Provide compatibility code for older lyxrc
10651 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10653 change names of popup font variables in line with the changes to lyxrc.C
10655 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10657 * buffer.C (asciiParagraph): avoid outputing a word twice after
10660 * lyxrc.C (getDescription): document that document_path and
10661 template_path can be empty.
10663 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10665 * LaTeXFeatures.C (getMacros):
10666 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10668 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10670 * LaTeXFeatures.C (useFloat): require "float" here instead of in
10672 (getPackages): rename feature "floats" to "float". Use an array to
10673 iterate over 'simple' features (i.e. just a \usepackage). Add
10674 handling of "amsmath" (renamed from "amsstyle").
10676 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
10678 * LaTeXFeatures.C (require): Prevent duplicate entries in the
10681 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
10683 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10684 FuncStaus::FuncStatus & FuncStaus::some_method().
10686 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
10688 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10689 of the func_satus stuff. Edited and massaged in various ways by
10692 * lyxfunc.C (getStatus): use FuncStatus
10694 2002-01-08 Juergen Vigna <jug@sad.it>
10696 * text.C (nextBreakPoint): use function Inset::isChar().
10698 * paragraph.C (TeXOnePar): use function
10699 Inset::forceDefaultParagraphs.
10701 * buffer.C (latexParagraphs): use function
10702 Inset::forceDefaultParagraphs.
10704 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10706 * lyx_gui.C (init): set the style of the menu popups to
10707 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10709 2002-01-07 Juergen Vigna <jug@sad.it>
10711 * text.C (setHeightOfRow): small fix
10712 (prepareToPrint): don't look at alignment if we don't have the place
10715 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10717 * box.C: New file. Move the Box methods and functions out of box.h,
10718 following Lars' suggestion.
10720 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10722 * box.h: #include "support/LOstream.h", needed for inlined function.
10725 * lyxtextclasslist.C: added some using std declarations.
10727 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
10729 * box.h: make signed dimensions to allow insets wider than
10730 the screen (bug #162)
10732 * BufferView_pimpl.C: add some insetHit debug
10734 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
10736 * vc-backend.C: add FIXME
10738 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10740 * lyxfunc.C (getStatus): enable code for showing math font status
10743 2002-01-07 Juergen Vigna <jug@sad.it>
10745 * text.C (nextBreakPoint): removed debug output not needed anymore.
10747 2002-01-06 Juergen Vigna <jug@sad.it>
10749 * text.C (nextBreakPoint): fixed up this function we had this bug
10750 since ever but now hopefully we break row better.
10751 (insertChar): we have to check if an inset is the next char as it
10752 could now happen that a large inset is causing a break.
10754 2002-01-05 Juergen Vigna <jug@sad.it>
10756 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10757 if it doesn't like to be drawed.
10759 2002-01-04 Juergen Vigna <jug@sad.it>
10761 * BufferView2.C (lockInset): forgot to set a cursor.
10763 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10765 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
10767 * FormMathsPanel.C:
10770 * form_maths_panel.C:
10771 * form_maths_panel.h:
10772 * form_maths_panel.fd: implemented sub- and super- buttons in math
10775 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10776 (or ^ space) to be used as in TeX (req'd by André).
10778 * lyxfunc.C: Allow ^ and _ again to be used both as
10779 super/subscript (mathed) and as themselves (in text).
10781 2002-01-03 Allan Rae <rae@lyx.org>
10783 * LyXView.C (updateWindowTitle): Setup a short icon title of either
10784 "LyX" or the filename of the current buffer if it has one. This is a
10785 modified form of John Levon's patch.
10787 * XFormsView.C (setWindowTitle): also set icon title.
10789 * LyXView.h (setWindowTitle): signature changed.
10790 * XFormsView.h (setWindowTitle): ditto.
10792 2002-01-02 Juergen Vigna <jug@sad.it>
10794 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10796 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10798 * screen.C (topCursorVisible): introduce a temp var for
10799 text->cursor.row(), handle the case where this row is null. (kindo
10802 * text2.C (setCursor): add a couple of asserts.
10804 * paragraph.h (inset_iterator): add -> operator
10806 * paragraph.[Ch] (autoDeleteInsets): remove member function
10808 * BufferView2.C (removeAutoInsets): rewrite to handle the old
10809 cursor pos correctly and handle inset deletion by itself.
10810 (insertErrors): move iterator declaration out of for expression
10812 * lyxtextclass.C: add <algorithm>
10814 * Makefile.am: added the new files to sources, removed layout.C
10816 * layout.C: removed file
10818 * layout.h: remove LYX_DUMMY_LAYOUT
10820 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10824 * lyxtextclass.[Ch]:
10825 * lyxtextclasslist.[Ch]: new files
10827 * include order changes to a lot of files, also changes because of
10830 2001-12-27 Juergen Vigna <jug@sad.it>
10832 * buffer.C (asciiParagraph): more fixes.
10834 * tabular.C (ascii): make ascii export support export of only the
10835 data separated by a column-delimiter.
10836 (ascii): better support for ascii export.
10838 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10840 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10842 * tabular_funcs.C: use a "using std::getline" instead of the
10843 previous fix from Angus (necessary for cxx + lyxstring)
10845 2001-12-24 Juergen Vigna <jug@sad.it>
10847 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10849 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10850 problems. First check a minipage also if we have some ert-contents
10851 (not only on par->size(), second set the right depth of the paragraph
10852 on the relink to the root-paragraph-list!
10854 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10855 which then did not anymore update the main paragraphs on undo/redo!
10857 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10859 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10860 code. Support all font-changing funcs (even those which are not in
10861 menu currently). Support for reporting font settings in
10862 mathed (disabled until Andre provides a function on mathed's side).
10864 * func_status.h (toggle): small helper function to set toggle
10867 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
10869 * tabular_funcs.C: getline -> std::getline
10871 2001-12-21 Juergen Vigna <jug@sad.it>
10873 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10874 accessed and could be 0 (I couldn't generate this but it seems
10877 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10879 * tabular_funcs.C: add LIstream.h, move write_attribute to..
10880 * tabular_funcs.h: here and include iosfwd
10882 2001-12-20 Juergen Vigna <jug@sad.it>
10884 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10885 inside inset but undo_par was.
10887 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10889 * Thesaurus.C: always include <config.h> in sources.
10893 * box.h: do not include <config.h> in header files
10895 * text.C (paintLastRow): remove unused variable
10897 * text.C (transformChar):
10899 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10901 * Painter.C (text):
10902 * font.C (width): rewrite to use uppercase() instead of
10905 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10907 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
10909 * lyxfind.C: clean up of find failure position change
10911 2001-12-20 Juergen Vigna <jug@sad.it>
10913 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10915 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10916 (TeXRow): added to LaTeX a single tabular row.
10917 (TeXLongtableHeaderFooter): added to output LT-h/f data.
10918 (Latex): simplified and finally good LT-h/f support.
10919 (various_functions): just small adaptions for LT-h/f support.
10921 * tabular_funcs.[hC]: added and moved here all not classfunctions
10924 2001-12-19 Juergen Vigna <jug@sad.it>
10926 * tabular.[Ch]: better support for longtabular options (not finished
10929 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10931 * text.C (paintLastRow): use the label font instead of the font of
10932 the last character to compute the size of *_BOX. This makes more
10933 sense and avoids a crash with empty paragraphs.
10934 Use Painter::rectangle to draw EMPTY_BOX.
10936 2001-12-19 Juergen Vigna <jug@sad.it>
10938 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10939 the paragraphs if the replaced paragraph is not the first one!
10940 Tried to delete not used paragraphs but does not work yet so for
10941 now it's inside #ifdef's and by default off!
10943 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10945 * MenuBackend.C: include "lyx_main.h" instead of declaring
10946 lastfiles (actually was declared as LastFiles* instead of a
10949 2001-12-17 Juergen Vigna <jug@sad.it>
10951 * tabular.C (AppendColumn): applied John's fix
10953 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
10957 * BufferView_pimpl.h:
10958 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10961 * box.h: new start of class for above
10963 * lyxfunc.C: ignore space-only minibuffer dispatches.
10964 Show the command name when it doesn't exist
10966 * minibuffer.C: don't add empty lines to the history
10968 * minibuffer.C: add a space on dropdown completion
10970 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
10972 * text.C: fix line above/below drawing in insets
10974 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10976 * lyxlength.C (LyXLength): Initialize private variables.
10978 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
10980 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10981 when inserting error insets.
10983 2001-12-13 Juergen Vigna <jug@sad.it>
10985 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10986 actually sometimes the before-paragraph.
10987 (setUndo): don't clear the redostack if we're not actually undoing!
10989 2001-12-06 Juergen Vigna <jug@sad.it>
10991 * undo_funcs.C (textHandleUndo): well after John's hint I got here
10992 and fixed redoing of main paragraph, so we can use it now ;)
10994 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10996 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10998 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11001 2001-12-13 André Pönitz <poenitz@gmx.net>
11004 * undo_func.C: minor cleanup
11006 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11008 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11009 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11010 font in urw-fonts package which is marked as -urw-fontspecific and
11011 does not work (incidentally, changing the encoding in the
11012 fonts.dir of this package to -adobe-fontspecific fixes the
11015 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11016 is a crash when undoing first paragraph (Juergen, please take a
11017 look). THis does not mean the undo fix is wrong, just that it
11020 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11021 the (Paragraph*) version when needed instead of duplicating the
11024 * text.C (workWidth): use Inset::parOwner to find out where the
11025 inset has been inserted. This is a huge performance gain for large
11026 documents with lots of insets. If Inset::parOwner is not set, fall
11027 back on the brute force method
11029 * paragraph_pimpl.C (insertInset):
11030 * paragraph.C (Paragraph):
11031 (cutIntoMinibuffer): set parOwner of insets when
11032 inserting/removing them
11034 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11036 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
11042 * mathed/formulabase.C:
11043 * mathed/math_cursor.[Ch]:
11044 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11047 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11049 * lyxlength.[Ch] (operator!=): new function
11051 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11053 * text.C (workWidth): use Inset::parOwner to find out where the
11054 inset has been inserted. This is a huge performance gain for large
11055 documents with lots of insets. If Inset::parOwner is not set, fall
11056 back on the brute force method
11058 * paragraph_pimpl.C (insertInset):
11059 * paragraph.C (Paragraph):
11060 (cutIntoMinibuffer): set parOwner of insets when
11061 inserting/removing them
11063 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11065 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11067 * tabular-old.C (getTokenValue):
11068 * tabular.C (getTokenValue):
11069 (write_attribute): new versions for LyXLength
11070 (everywhere): adjust the use of widths
11072 * tabular.h: change the type of widths from string to LyXLength
11074 2001-12-11 Ben Stanley <bds02@uow.edu.au>
11076 * paragraph.C: fixed missing line number count when exporting
11077 Environments to LaTeX file
11079 * buffer.C: added informational message for checking line numbers.
11081 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11083 * text2.C (deleteEmptyParagraphMechanism): if there is only one
11084 paragraph, do the 'double space' part, but not the 'empty
11087 * text.C (workWidth): small optimization
11088 (getLengthMarkerHeight): use minimal size for negative lengths.
11090 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
11092 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11094 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11096 2001-12-11 André Pönitz <poenitz@gmx.net>
11099 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11101 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11103 * text2.C: keep selection on a setFont()
11105 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11107 * lyx_cb.C: another bv->text misuse, from insert label
11109 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11112 * kbsequence.C: re-instate nmodifier mask
11114 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
11116 * lyx_main.h: make lyxGUI private.
11118 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11120 * lyxfind.C: place the cursor correctly on failed search
11122 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11124 * text.C (getLengthMarkerHeight): for small heights, the arrows
11125 are not always on top/bottom of the text
11126 (drawLengthMarker): smaller arrows; take the left margin in
11127 account; draw also vfills.
11129 (paintLastRow): remove special code for vfill and standard spaces,
11130 since everything is handled in drawLengthMarker now.
11132 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11134 * buffer.C (insertErtContents): try to handle font and language
11135 interaction a bit better.g
11137 * ColorHandler.C (updateColor): change the hash to cover the whole
11138 LColor enum, ws cleanup
11139 (getGCLinepars): ditto
11140 (getGCLinepars): only lookup in the linecache once.
11142 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
11144 * iterators.C (operator++): Make the iterator more robust
11146 * BufferView2.C (removeAutoInsets): Use paragraph iterators
11148 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11150 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11153 * text.C: better added space drawing
11155 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11158 * BufferView2.C: fix layout combo update on inset unlock
11160 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11162 * Makefile.am: don't compile unused files
11164 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11168 * LyXAction.C: remove old LFUN_LAYOUTNO
11170 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11172 * paragraph_pimpl.h:
11173 * paragraph_pimpl.C: isTextAt() doesn't need font param
11175 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11178 * lyxlex.C: little cleanup
11180 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11182 * BufferView_pimpl.C: fix insertAscii for insets
11184 2001-12-05 Juergen Vigna <jug@sad.it>
11186 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11187 set the right font on the "multi" paragraph paste!
11189 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11195 * lyxlength.C: remove out-commented code.
11197 * BufferView_pimpl:
11211 * vc-backend.C: change "while(" to "while ("
11213 * lyxlength.[Ch]: add zero function to check if length is zero or
11215 * lyxgluelength.C: use it
11217 2001-12-05 Allan Rae <rae@lyx.org>
11219 * lyxlength.C: Attempted a fix for the abs(int) header selection.
11220 Works for 2.95.3, from what I understand of Garst's reports this should
11221 work for other g++ versions. We're screwed if the abs(int) definition
11222 changed between bugfix releases of gcc.
11224 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11226 * text.C: fix chapter label offset !
11228 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11231 * text.C: fix hfill at end of line, clean up
11233 2001-12-04 Juergen Vigna <jug@sad.it>
11235 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11236 that we force an update of the inset and it's owners if neccessary.
11238 2001-12-03 Juergen Vigna <jug@sad.it>
11240 * text.C (rowLast): simplified code
11242 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11244 * lyxfunc.C: fix show options on timeout
11246 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11248 * screen.C (topCursorVisible): scroll half a page when the cursor
11249 reached top of bottom of screen
11251 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
11253 * minibuffer.C: deactivate on loss of focus
11255 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11257 * vspace.[Ch] (operator!=): add operator.
11259 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
11261 * BufferView_pimpl.C: refuse to open an inset when
11262 there's a selection.
11264 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
11266 * BufferView_pimpl.C: allow to click on RHS of full row insets
11268 2001-11-30 Juergen Vigna <jug@sad.it>
11270 * tabular.C (LyXTabular): add a same_id to set the same id's in the
11271 insets for undo reasons.
11273 2001-11-28 André Pönitz <poenitz@gmx.net>
11275 * vspace.[Ch]: cosmetical changes
11277 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11287 * kbsequence.C: part re-write of old kb code
11290 * WorkArea.C: remove Lgb_bug_find_hack
11292 2001-11-30 José Matos <jamatos@fep.up.pt>
11294 * buffer.C (makeDocBookFile): add a comment to point a hack.
11295 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11296 Fixed a double write of labels.
11298 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11301 * LaTeX.h Fixed bug in LaTeX class where it would not
11302 re-run latex if no depfiles were changed, but the .dvi was removed.
11304 2001-11-28 André Pönitz <poenitz@gmx.net>
11306 * all the files from the change on 2001/11/26:
11307 use lyx::layout_type instead of LyXTextClass::size_type
11308 use lyx::textclass_type instead of LyXTextClassList::size_type
11310 2001-11-29 Juergen Vigna <jug@sad.it>
11312 * text.C: added support for paragraph::isFreeSpacing()
11314 * buffer.C: same as above
11316 * paragraph.h: inserted isFreeSpacing() function to enable
11317 FreeSpacing inside InsetERT.
11319 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11320 of the paragraph's in the cut/copy buffer to 0!
11322 * text2.C (removeRow): remove the assert as it can!
11324 * lyxtext.h: added helper function firstRow returning firstrow and
11325 made firstrow private again.
11327 * BufferView2.C (lockInset): don't relock if we're already locked!
11329 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11330 the only paragraph.
11331 (removeRow): added Assert::(firstrow)
11333 * debug.C: forgot to add INSETTEXT here.
11335 2001-11-28 Juergen Vigna <jug@sad.it>
11337 * sp_spell.C (initialize): changed error text to more general
11338 spellchecker command use (not only ispell!)
11340 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11342 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11344 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11346 * vspace.C: initialise lyxgluelength on failure
11348 2001-11-28 Allan Rae <rae@lyx.org>
11350 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11351 declaration & definition that looks like a function declaration.
11353 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11355 * BufferView2.C (copy):
11356 (copyEnvironment): do not clear the selection when doing a copy.
11358 * text.C (paintFirstRow): compilation fix
11360 2001-11-27 Ben Stanley <bds02@uow.edu.au>
11362 * tabular.C (Latex): correct line count when writing latex.
11364 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
11366 * paragraph_pimpl.h:
11367 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11370 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11374 * LColor.C: change vfillline->added_space
11376 * text.C: add markers and text for added space
11378 * vspace.C: fix comment
11380 2001-11-28 André Pönitz <poenitz@gmx.net>
11382 * paragraph.C: whitespace changes
11383 * all the other files from the change on 2001/11/26:
11384 change *::pos_type into lyx::pos_type
11386 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
11388 * buffer.C (parseSingleLyXformat2Token): Set the language to the
11389 language of the document when inserting error insets.
11391 2001-11-26 André Pönitz <poenitz@gmx.net>
11393 * BufferView_pimpl.[Ch]:
11401 * paragraph_pimpl.[Ch]:
11404 * text2.C: reduce header dependencies, introduce type for positions
11406 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11408 * <various>: change to use Alert.h
11410 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
11412 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11413 when encountering an unknown token.
11414 (readLyXformat2): Show an error message if there were unknown tokens.
11416 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
11419 * BufferView_pimpl.C:
11423 * text2.C: use par->isInset()
11425 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11427 * paragraph_pimpl.h:
11428 * paragraph_pimpl.C: cleanup
11430 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11432 * text2.C (removeRow):
11433 * text.C (setHeightOfRow): remove useless (and costly) call to
11436 2001-11-20 Allan Rae <rae@lyx.org>
11438 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11439 Now need Inset*::checkInsertChar() to return true for appropriate
11440 cases so that the characters in the minibuffer will actually be
11443 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11445 * text.C: change the order of the includes.
11446 (workWidth): initialize it at once.
11447 (workWidth): make maxw unsigned
11448 (setHeightOfRow): remove unused variable (inset)
11449 (selectSelectedWord): remove unused variable (inset)
11450 (paintRowText): fix drawing of hfill characters, and clean up a bit.
11452 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11454 * lyxserver.C (emergencyCleanup): do not try to close pipes if
11455 server is not running.
11457 (closeConnection): add debug info when server is disabled.
11459 * ColorHandler.C (getGCForeground): send debug message to GUI
11462 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11464 * kbmap.C (bind): modify because return conventions of
11465 kb_sequence::parse have changed.
11467 * kbsequence.C (parse): only ignore spaces and not any stupid
11468 control character. This avoids tests like s[i] <= ' ', which are
11469 guaranteed to fail with 8bit characters and signed chars.
11470 Change return code to string::npos when there have been no error
11471 (0 was a bad idea when error is at first character)
11473 2001-11-14 José Matos <jamatos@fep.up.pt>
11476 * buffer.C (simpleDocBookOnePar): removed unused argument.
11478 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11480 * text.C (selectNextWordToSpellcheck): do not test explicitely for
11481 insets which are part of a word. Paragraph::isLetter takes care of
11482 that now. Use Paragraph::isInset to identify insets.
11483 (selectSelectedWord): do not test for hyphenation break.
11485 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11486 that protected spaces are considered as spaces.
11488 * paragraph.C (isLetter): cleanup the code for ispell extras; use
11491 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
11494 * lyxserver.C: fix it. and small cleanup.
11496 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11498 * BufferView_pimpl.C: use inline helpers
11501 * LaTeXFeatures.C: fix typos
11504 * Spacing.C: move spacing_string into class
11506 * ToolbarDefaults.C: move stuff into namespace anon
11508 * layout.h: update enum
11510 * lyxfunc.C: use better debug
11512 * minibuffer.h: fix typo
11516 * WorkArea.C: add and use Debug::WORKAREA
11520 * text2.C: code re-organisation, inline helpers
11522 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
11524 * Layout.C: replaced a few cases of std::vector.size() == 0 with
11525 std::vector.empty().
11527 2001-11-09 Allan Rae <rae@lyx.org>
11529 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11530 '\n's after tables. Tabular and ERT inset work now makes this no
11533 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11536 * minibuffer.C: fix crash, improve drop-down completion
11538 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11541 * lyxserver.C: invalidate fd's when doing endPipe()
11543 2001-11-08 José Matos <jamatos@fep.up.pt>
11545 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11546 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11549 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11551 2001-11-07 José Matos <jamatos@fep.up.pt>
11554 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11557 * buffer.C (sgmlOpenTag):
11558 * buffer.C (sgmlCloseTag): removed debug info.
11560 * buffer.h (sgmlOpenTag):
11561 * buffer.h (sgmlCloseTag): made public.
11563 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11565 * buffer.C (saveParamsAsDefaults):
11566 * lyx_cb.C (MenuLayoutSave): remove
11568 * LyXAction.C (init):
11570 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11572 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11574 * buffer.C (setPaperStuff): removed from here...
11576 * bufferparams.C (setPaperStuff): ... and moved there.
11578 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11582 * XFormsView.C: add support for drop-down completion
11584 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11586 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11589 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11591 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11594 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11596 * lyx_main.C: change ref to known bugs
11598 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11600 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11601 to work around older babel problems.
11603 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11605 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11607 2001-10-24 Juergen Vigna <jug@sad.it>
11609 * tabular-old.C (ReadOld): below variable changes reflected.
11611 * tabular.[Ch]: added ltType struct for longtable header/footer
11612 defines and changed all instances where they are used. Added
11613 future support for double top/bottom rows.
11615 2001-10-24 José Matos <jamatos@fep.up.pt>
11617 * buffer.h (docbookHandleCaption):
11618 * buffer.C (docbookHandleCaption): removed unused function.
11619 (makeDocBookFile): moved docbook supported version to v4.1.
11621 2001-10-24 José Matos <jamatos@fep.up.pt>
11624 * tabular.C (docbookRow): new function to export docbook code of a row.
11625 (DocBook): now honors the longtable flags.
11627 2001-10-23 José Matos <jamatos@fep.up.pt>
11630 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11631 of the lyx defined sgml entities used in a docbook/linuxdoc document.
11633 * buffer.C (makeLinuxDocFile):
11634 (makeDocBookFile): reworked the preamble, more clean, and with
11635 support for lyx defined entities. Changed the document declaration
11636 to be more XML friendly.
11638 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11639 if we need to output XML that should be done with a filter.
11641 2001-10-22 Juergen Vigna <jug@sad.it>
11643 * sp_pspell.h (class PSpell): add alive function needed in the
11644 controller to see if the spellchecker could be started.
11646 2001-10-22 Juergen Vigna <jug@sad.it>
11648 * buffer.C (insertStringAsLines): modify the font for inserting
11649 chars in certain conditions by calling checkInsertChar(font).
11651 2001-10-19 Juergen Vigna <jug@sad.it>
11653 * text.C (workWidth): use getRow instead of wrong algorithm.
11654 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11656 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
11661 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11663 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11665 * text.C (workWidth): do not search for the exact row when
11666 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11667 optimization for big documents.
11669 2001-10-18 Juergen Vigna <jug@sad.it>
11671 * text.C (workWidth): new function with added Inset * parameter.
11673 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11675 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11677 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11678 change return type of getColumnNearX.
11681 * text.C (changeRegionCase): use uppercase/lowercase instead of
11684 (rightMargin): simplify code by factoring out the uses of
11689 (appendParagraph): use Paragraph::size_type
11691 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11693 * vspace.C (asLatexString): add a missing break
11695 2001-10-15 Herbert Voss <voss@perce.de>
11697 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11699 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11701 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11704 2001-10-10 André Pönitz <poenitz@gmx.net>
11706 * lyxfunc.C: removed greek_kb_flag.
11708 2001-10-10 Herbert Voss <voss@perce.de>
11710 * lyx_main.C: delete global string help_lyxdir.
11712 2001-10-09 Herbert Voss <voss@perce.de>
11714 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11716 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11718 * lyx_main.C: added global string help_lyxdir.
11720 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11722 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
11724 * lyxrc.C (set_font_norm_type): support iso8859-4
11726 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
11728 * LaTeX.C (deplog): add another regex for MikTeX
11730 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
11732 * lyxrc.C (set_font_norm_type): support iso8859-3
11734 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11736 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11738 * LaTeXFeatures.C: remove special case of french and index
11740 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11741 before \begin{document}). This solves several incompatibilities.
11743 2001-10-03 Garst Reese <reese@isn.net>
11745 * lyx_cb.C: change CheckTex error msg.
11747 2001-10-03 José Matos <jamatos@fep.up.pt>
11749 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11751 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11753 * .cvsignore: update
11755 * lyx_main.C (commandLineVersionInfo): use new style version info.
11757 * buffer.C (writeFile):
11759 (makeLinuxDocFile):
11760 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11762 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11764 * version.h: update to use stuff in version.C
11766 * version.C.in: new file. Contains version information determined
11767 at compile time. This is a merging of version.h and
11770 2001-10-03 Juergen Vigna <jug@sad.it>
11772 * BufferView_pimpl.C (update): don't change "dirty" status in
11775 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
11777 * WorkArea.C (c-tor): re-position version string slightly.
11779 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
11781 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11782 revert to previous code.
11784 WorkArea.[Ch]: (show, destroySplash): methods removed.
11786 WorkArea.C: rework code so that it's an amalgam of the codes before and
11787 after the splash screen was moved to WorkArea.
11789 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11792 * vspace.C (inPixels):
11795 * buffer.C (insertStringAsLines):
11796 (asciiParagraph): fix types to be large enough
11798 * lyxlex_pimpl.h: change member status from short to int
11800 * layout.h: fix type of endlabeltype
11803 * kbsequence.C (parse): change return type to string::size_type
11805 * LaTeX.C (updateBibtexDependencies): comment out unneeded
11808 * Bullet.C (bulletSize):
11809 (bulletEntry): do not use short ints as parameters
11811 * BufferView2.C (insertLyXFile): change a char to an int.
11813 * WorkArea.C (WorkArea): remove unneeded floats in computation
11815 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
11817 * buffer.C (asciiParagraph): Treat '\\' as other chars.
11819 * paragraph.C (asString): Do not ignore newline/hfill chars when
11820 copying to the clipboard.
11822 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
11824 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11825 after a multi-line inset.
11827 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
11829 * paragraph.C (validate): Set NeedLyXFootnoteCode
11831 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11833 * lyxfont.C (LyXSizeNames): changed increase-error to increase
11834 and decrease-error to decrease.
11836 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11838 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11839 it more readable (should be equivalent)
11841 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
11843 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11845 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11847 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11848 of a cursor (row, etc.) after a character has been deleted
11849 (deleteEmptyParagraphMechanism): call the method above on _all_
11850 cursors held by the LyXText when a double space has been
11853 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11855 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11857 (resizeCurrentBuff): remove code to destroy the old splash dialog.
11859 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11860 background. Use greyOut() and the new show() methods to toggle between
11861 the foreground and background. Add code to remove the splash after
11862 its initial showing.
11864 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11865 (create_forms): no longer call Dialogs::showSplash.
11867 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11869 * .cvsignore: add version_info.h
11871 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11873 * version_info.h.in: new file
11875 * Makefile.am: add version_info.h.in
11877 * lyx_main.C (commandLineVersionInfo): use version_info defined in
11878 version_info.h instead of VERSION_INFO
11880 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
11882 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11883 The ERT inset now returns string().
11885 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
11887 * lyxtext.h, text.C (selectNextWord): renamed as
11888 selectNextWordToSpellcheck.
11890 * text.C (selectNextWordToSpellcheck): Modified to not select
11891 words inside an ERT inset.
11893 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11895 * lyx_cb.C (MenuLayoutSave): change a bit the question
11897 * sp_base.h: include <sys/types.h>
11899 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
11901 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11903 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
11905 * several files: fix typos in user-visible strings
11907 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11909 * text2.C (pasteSelection): do not set the selection, since it
11910 will be cleared later. Actually, the intent was to fix the way the
11911 selection was set, but I figured rmoving the code was just as good.
11913 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
11915 * FontLoader.C (available): Check if font is available without
11918 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11920 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11922 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
11924 * lyxrc.[Ch]: added display_graphics variable and associated code.
11926 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11928 * bufferparams.C (hasClassDefaults): new method. Returns true if
11929 the buffer parameters correspond to known class defaults
11931 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
11933 * XFormsView.C (show): set minimum size to the main window.
11935 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11937 * text2.C (copySelection):
11939 * lyxfind.C (LyXReplace):
11940 * BufferView_pimpl.C (Dispatch): pass the correct flag to
11941 LyXText::selectionAsString.
11943 * paragraph.C (asString): add "label" argument to the second form
11945 * text2.C (selectionAsString): add "label" argument and pass it to
11946 Paragraph::asString.
11948 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11950 * lyx_main.C (commandLineHelp): remove version information
11952 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
11954 * lyx_main.C: add -version commandline option
11956 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11958 * paragraph.h: make the optional constructor arg required instead.
11959 some modifications to other files because of this.
11961 * minibuffer.C (C_MiniBuffer_peek_event): make it static
11963 * lyxserver.C (C_LyXComm_callback): make it static
11965 * lyx_main.C (error_handler): make it static
11967 * lyx_gui.C (LyX_XErrHandler): make it static
11969 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11971 * WorkArea.C: make the extern "C" methods static.
11973 * Makefile.am (lyx_LDADD): simplify
11975 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11977 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11978 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11980 * LyXAction.C (init):
11981 * lyxfunc.C (dispatch): associated code removal.
11983 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11985 * lyxfont.h (isSymbolFont): shut off warning
11987 * text.C (setHeightOfRow):
11988 (getVisibleRow): fix crash with empty paragraphs which have a
11991 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
11993 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11996 2001-09-04 José Matos <jamatos@fep.up.pt>
11999 * tabular.C (docbook): rename docBook method to docbook.
12001 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12003 * Makefile.am: add dependencies to main.o.
12005 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
12007 * FontLoader.C (available): Return false if !lyxrc.use_gui
12009 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
12011 * FontInfo.C (query):
12012 * converter.C (view):
12013 * importer.C (Import):
12014 * exporter.C (Export): Can not -> cannot.
12016 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
12018 * BufferView_pimpl.C: allow to create index inset even if
12021 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12023 * buffer.C (getLists): replace boost::tie code with an explicit pair
12024 as boost::tie can break some compilers.
12026 * iterators.h: Added a std:: declaration to the return type of
12029 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
12031 * lyxrc.C: add help for view_dvi_paper_option, default to safe
12034 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
12036 * iterators.[Ch]: New files. Provide paragraph iterators.
12038 * buffer.C (changeLanguage): Use paragraph iterators.
12039 (isMultiLingual): ditto
12041 * BufferView2.C (ChangeInsets): Use paragraph iterators.
12043 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
12045 * FontLoader.C: Support for cmr font.
12047 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
12049 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12050 (available): New method.
12052 * FontInfo.C (getFontname): Use scalable fonts even when
12053 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12056 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12058 * converter.C (Formats::view): reverted! Incorrect fix.
12060 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12062 * converter.C (Formats::view): only output the -paper option
12063 if the dvi viewer is xdvi, thereby fixing bug #233429.
12065 2001-08-23 Herbert Voss <voss@perce>
12067 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12069 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
12071 * Spacing.h (Spacing): Set space to Default on in the default
12074 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
12076 * vc-backend.h (RCS::versionString): add RCS to version
12077 (CVS::versionString): add CVS to version
12079 * vc-backend.C (scanMaster): do not add CVS to version.
12080 (scanMaster): do not add RCS to version
12082 * lyxvc.C (versionString): new method
12084 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12086 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12088 * Spacing.C (set): initialize fval
12090 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
12092 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12095 2001-08-16 Juergen Vigna <jug@sad.it>
12097 * lyxfunc.C (dispatch): implemented the new FINISHED states.
12099 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12101 * BufferView_pimpl.C:
12104 * text2.C: setParagraph takes linespacing now
12106 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
12108 * LyxAction.C: add internal LFUN_CITATION_INSERT
12110 * LyXView.C: actually apply fix
12112 * bufferlist.C: fix open non-existent file
12114 * lyxfind.C: fix indentation
12116 * lyxfunc.C: remove unneeded assert, fix typo
12118 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12120 * MenuBackend.C: use "Floatname List"
12122 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
12124 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12125 when converting LaTeX layout to insetERT.
12126 Generate a non-collapsed float when reading old float
12128 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12130 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12133 2001-08-13 Juergen Vigna <jug@sad.it>
12135 * text.C (fill): return 0 instead of 20 as this seems to be the more
12138 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12140 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12143 2001-08-13 Juergen Vigna <jug@sad.it>
12145 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12147 (SearchBackward): comment out the unlocking of the inset_owner this
12148 should not be needed!
12150 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
12152 * Many files: Remove inherit_language, and add latex_language
12154 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12155 collapsible insets.
12157 2001-08-10 Juergen Vigna <jug@sad.it>
12159 * text.C (prepareToPrint): fixed hfill-width in draw!
12161 * BufferView2.C (selectLastWord): save the selection cursor as this
12162 now is cleared in the function LyXText::clearSelection!
12164 2001-08-08 Juergen Vigna <jug@sad.it>
12166 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12167 BACKSPACE type functions.
12169 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12170 is only cutted from the document but not put in the cut-buffer, where
12171 still the old stuff should be.
12173 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12175 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12177 * tabular.C (SetWidthOfCell): fixed special case where the width
12179 (LeftLine): handle '|' in align_special.
12181 (LeftAlreadyDrawed): ditto
12182 (SetWidthOfCell): ditto
12184 2001-08-07 Juergen Vigna <jug@sad.it>
12186 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12188 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12190 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12191 * lyxlex.[hC]: ditto
12193 2001-08-06 Juergen Vigna <jug@sad.it>
12195 * text.C (getVisibleRow): fix up row clearing a bit.
12197 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12199 * minibuffer.C: make sure the X server sees the changes in the input.
12201 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12203 * paragraph.C (getFont): split into...
12204 (getLabelFont): this
12205 (getLayoutFont): and this
12206 * paragraph_pimpl.C (realizeFont): calling this
12208 * text2.C (getFont): split into...
12209 (getLayoutFont): this
12210 (getLabelFont): and this
12211 (realizeFont): all three calling this
12213 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12216 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12218 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12220 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
12222 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12223 layouts from the Quote inset insertion.
12225 2001-08-03 Juergen Vigna <jug@sad.it>
12227 * BufferView_pimpl.C (update): do the fitCursor only at the end!
12229 * screen.C (drawFromTo): don't call fitcursor here and do the loop
12230 only if status not is already CHANGED_IN_DRAW (second level).
12232 * text.C (draw): don't set the need_break_row when inside an
12235 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12237 * buffer.C (parseSingleLyXformat2Token): handle more latex
12240 * bufferview_funcs.[hC]: change function names to
12241 begin with small char, adjust other files.
12243 2001-08-02 André Pönitz <poenitz@gmx.net>
12246 BufferView_pimpl.C: remove broken special code for math-greek
12248 2001-08-02 Juergen Vigna <jug@sad.it>
12250 * BufferView_pimpl.C (update): redone this function so that we
12251 update the text again if there was a CHANGE_IN_DRAW.
12253 * screen.C (cursorToggle): removed LyXText parameter and recoded.
12254 (drawFromTo): added a new internal bool which is used by draw() and
12256 (general): some cursor drawing problems fixed.
12258 2001-08-01 Juergen Vigna <jug@sad.it>
12260 * lyxfind.C (LyXFind): fixed
12261 (SearchForward): ditto
12262 (SearchBackward): ditto
12264 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12265 spurius drawing of the cursor in the main area.
12267 * text2.C (status): small fix which could lead to a segfault!
12268 (clearSelection): remove unneeded BufferView param.
12270 2001-08-01 André Pönitz <poenitz@gmx.net>
12272 * lyxfunc.C: small change due to changed mathed interface
12274 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12276 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12278 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
12280 * lyxfunc.c: fail gracefully if file doesn't exist
12285 * BufferView_pimpl.C: IsDirWriteable() proto changed
12287 * LyXView.C: fix updateWindowTitle() to store the last title
12289 2001-07-31 Juergen Vigna <jug@sad.it>
12291 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12292 the font (wrong since using of Paragraph::highestFontInRange).
12294 * paragraph.C (highestFontInRange): added a default_size parameter.
12296 * text.C (getVisibleRow): minor clear row changes (still not perfect).
12297 (setHeightOfRow): reformat
12299 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12301 * converter.[hC] + affected files: move to (inital-char)lowercase
12304 * ParagraphParameters.C (ParagraphParameters): remove commented code
12306 * PainterBase.[Ch]: remove commented code
12308 * LaTeXFeatures.h: add "bool floats" for float.sty
12310 * LaTeXFeatures.C (LaTeXFeatures): init floats
12311 (require): handle float
12312 (getPackages): do it with floats
12314 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12316 * BufferView_pimpl.C (Dispatch): improve handling of
12317 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12319 * commandtags.h: #include lyxfont.h here temporarily to avoid
12322 * bufferlist.h: include LString.h here.
12324 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12326 * text2.C (getStringToIndex): new method.
12328 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
12330 * *: Reduced header file dependencies all over.
12332 2001-07-30 Baruch Even <baruch@lyx.org>
12334 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12336 2001-07-29 Baruch Even <baruch@lyx.org>
12338 * buffer.C (readInset): Changed GRAPHICS to Graphics.
12340 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12342 * ParameterStruct.h (endif): add a default constructor to make
12343 sure that all variables is initialized.
12345 * ParagraphParameters.C (ParagraphParameters): adjust
12347 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12349 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12350 index; also, check that there is something to index, and that it
12351 does not span over several paragraphs.
12352 (doubleClick): use WHOLE_WORD_STRICT for double click.
12354 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12356 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12359 2001-07-26 Baruch Even <baruch@lyx.org>
12361 * buffer.C (readInset): Changed to call up InsetGraphics when reading
12362 an InsetFig figure, backwards compatible reading of old figure code.
12364 2001-07-27 Juergen Vigna <jug@sad.it>
12366 * text2.C: font.realize function adaption.
12368 * text.C (draw): add a warnings lyxerr text if needed.
12370 * layout.C: font.realize function adaption.
12372 * language.C: add inherit_language and implement it's handlings
12374 * bufferview_funcs.C (StyleReset): remove language parameter from
12375 font creation (should be language_inherit now).
12377 * bufferparams.C (writeFile): handle ignore_language.
12379 * paragraph.C (getFontSettings): the language has to be resolved
12380 otherwise we have problems in LyXFont!
12382 * lyxfont.C (lyxWriteChanges): added document_language parameter
12383 (update): removed unneeded language parameter
12385 * paragraph.C (validate): fixed wrong output of color-package when
12386 using interface colors for certain fonts in certain environments,
12387 which should not seen as that on the final output.
12389 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
12391 * BufferView_pimpl.C:
12396 * LyXAction.C: add thesaurus support
12399 * lyxfind.C: add "once" parameter, for thesaurus, to not
12400 move to the next match
12402 2001-07-26 Juergen Vigna <jug@sad.it>
12404 * lyxfont.C (realize): honor ignore_language too!
12407 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12409 * text.C (draw): one place more for ignore_language to not draw
12412 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
12414 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12416 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12418 * buffer.C (parseSingleLyXformat2Token): a more general fix for
12419 the minipage conversion problem.
12421 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12423 * buffer.C (parseSingleLyXformat2Token): check minipage if we
12426 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12428 * BufferView.h: don't forward declare WorkArea
12430 * BufferView.C: don't include WorkArea.h
12432 2001-07-25 André Pönitz <poenitz@gmx.net>
12436 * lyxfunc.C: new LFUN 'math-space'
12438 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12440 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12442 * text2.C (toggleInset): call open/close
12444 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12446 * lyxfunc.C (dispatch): add debug for the disabled case
12448 * font.C (buttonText): make similar to rectText
12450 * buffer.C (readInset): comment out parsing of insetlist and
12453 * PainterBase.C (rectText): small correction
12455 * BufferView_pimpl.C: comment out insettheorem and insetlist
12456 * LyXAction.C: ditto
12457 * commandtags.h: ditto
12459 2001-07-24 Juergen Vigna <jug@sad.it>
12461 * text.C (draw): honor the ignore_language.
12463 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12465 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12467 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12470 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12472 * lyxtext.h: remove unused (and unimplemented) methods
12474 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12476 * text.C (getVisibleRow): honor background color
12479 * Painter.h: remove default color argument for fillRectangle
12481 * text.C (backgroundColor): new method
12483 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12485 * text.C (getVisibleRow): adjust
12487 * font.[Ch] (rectText): new method, metrics
12488 (buttonText): new method, metrics
12490 * PainterBase.[hC]: make rectText and buttonText always draw and take
12493 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12495 * ToolbarDefaults.C (read):
12496 * MenuBackend.C (read): allow escaping in all strings
12498 * BufferView_pimpl.C (insertAndEditInset): new method.
12499 (Dispatch): use insertAndEditInset whenever appropriate.
12501 * BufferView_pimpl.C (insertNote): removed
12503 * BufferView_pimpl.C (smartQuote): new method, moved from
12504 BufferView; if an insetquote cannot be inserted, insert a '"'
12507 * BufferView2.C: remove insertCorrectQuote();
12509 * lyxfunc.C (getStatus): Add support for all remaingin
12510 inset-insert lfuns.
12512 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12514 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12515 command (necessary to pass " as parameter of self-insert.
12517 * text.C (selectWordWhenUnderCursor):
12518 (selectWord): add word_location parameter
12519 (selectWordWhenUnderCursor): same + remove special code for word
12521 (selectNextWord): use kind() to guess type of insetspecialchar,
12524 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12525 (insertErtContents): create ert insets as collapsed.
12526 (readInset): better compatibility code for Info inset.
12528 2001-07-20 Juergen Vigna <jug@sad.it>
12530 * lyxfunc.C (dispatch): use always LyXFind now!
12532 * text2.C (init): add a reinit flag so that the LyXText can be
12533 reinited instead of deleted and reallocated (used in InsetText).
12535 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12541 2001-07-18 Juergen Vigna <jug@sad.it>
12543 * text.C (selectNextWord): handle insets inside inset by calling
12544 always the bv->text functions so that we can go up the_locking_inset!
12546 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12547 in strange locations when inside an inset!
12549 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12550 handling to include insets.
12552 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12554 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12556 * LyXAction.C (init):
12558 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12559 LIGATURE_BREAK, since the name is so stupid.
12561 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12563 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12566 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12568 * sp_form.[Ch]: remove.
12570 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12572 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12575 * src/buffer.C (readInset): ditto.
12577 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12579 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12580 menuSeparator(), endOfSentenceDot(), ldots() and
12581 hyphenationPoint(), which are therefore removed.
12582 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12584 * LyXAction.C (init):
12585 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12587 * paragraph.C (getWord): removed.
12589 * BufferView_pimpl.C (Dispatch): use last word or selection for
12590 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12592 * lyx_main.C (queryUserLyXDir): do not ask before creating
12593 user_dir, except if it has been named explicitely.
12595 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12597 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12598 a document of zero size.
12600 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12602 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12603 approriately in the c-tor and in require().
12604 (getPackages): output the appropriate LaTeX for natbib support.
12606 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12607 variables "use_natbib" and "use_numerical_citations" when reading the
12609 (readInset): read the various natbib cite commands.
12610 (validate): white-space change.
12612 * bufferparams.[Ch]: new variables "bool use_natbib" and
12613 "bool use_numerical_citations".
12614 (writeFile): output them in the LyX file.
12616 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12618 * lyxfunc.C (getStatus): add support for all the inset insertion
12621 * text2.C (insertInset):
12622 * paragraph.C (insetAllowed):
12623 * BufferView_pimpl.C (insertInset): update to take in account the
12624 renaming of insertInsetAllowed
12626 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12628 * text2.C (getInset): new method. returns inset at cursor position.
12630 * BufferView_pimpl.C (Dispatch): changes because of this.
12632 * LyXAction.C (init): rename open-stuff to inset-toggle.
12634 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12636 * text2.C (toggleInset): renamed from openStuff; use
12639 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
12641 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12643 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12645 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
12647 * buffer.C (readLyXformat2): Add filename to the error dialog
12649 2001-07-18 Juergen Vigna <jug@sad.it>
12651 * tabular.C (GetCellNumber): put an assert here instead of the check!
12653 2001-07-17 Juergen Vigna <jug@sad.it>
12655 * BufferView_pimpl.C (toggleSelection): adapted too.
12657 * text.C (selectNextWord): adapted for use with insets.
12658 (selectSelectedWord): ditto
12660 2001-07-17 Juergen Vigna <jug@sad.it>
12662 * sp_spell.C (PSpell): fix initialitation order.
12664 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12666 * paragraph.C: spacing
12668 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
12670 * sp_spell.C: repair language selection for pspell
12672 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12674 * lyxfunc.h: change more methods to begin with lower char.
12676 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
12678 * buffer.C (parseSingleLyXformat2Token): Generate error insets
12679 for unknown layouts.
12681 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
12683 * buffer.C (readLyXformat2): Generate an error dialog if there are
12686 2001-07-16 Juergen Vigna <jug@sad.it>
12688 * sp_spell.C: always compile ISpell part.
12690 * lyxrc.C: added use_pspell entry and it's handling.
12692 2001-07-13 Juergen Vigna <jug@sad.it>
12694 * sp_spell.C: removed double includes.
12696 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
12698 Consistent use of Lsstream.h:
12699 * Lsstream.h: added using std::stringstream for consistencies sake.
12701 * buffer.C: removed using std::stringstream
12703 * lyxfont.C (stateText):
12704 * paragraph.C (asString):
12705 * text.C (selectNextWord, selectSelectedWord):
12706 * text2.C (setCounter):
12707 * vspace.C (asString, asLatexString):
12708 std::ostringstream -> ostringstream.
12710 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12712 * LyXAction.C: add LFUN_HELP_ABOUTLYX
12713 * commandtags.h: add LFUN_HELP_ABOUTLYX
12714 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12716 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12718 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12720 * lyx_gui_misc.C: remove spellchecker
12721 * lyxfunc.C: showSpellchecker
12723 * sp_ispell.h: added
12724 * sp_pspell.h: added
12725 * sp_spell.C: added
12726 * sp_form.[Ch]: removed
12727 * spellchecker.[Ch]: removed
12729 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
12731 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12733 (simpleTeXSpecialChars): Simply print the input character without
12734 any special translation if pass_thru is set.
12736 * layout.h: Added bool pass_thru to layout class for being able to
12737 implement pass through of a paragraph for Literate Programming.
12739 * layout.C: add LT_PASS_THRU to LayoutTags enum.
12740 * layout.C (LyXLayout): set pass_thru to flase in constructor.
12741 * layout.C (Read): add "passthru" to list of layout tags and add
12742 code to set the pass_thru boolean when it is read.
12744 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12746 * trans_decl.h: remove allowed from KmodInfo
12748 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12749 remove allowed code
12752 * paragraph_pimpl.C (erase): use boost::prior
12754 * Painter.C (text): use data() instead of c_str() when length is
12756 * WorkArea.C (putClipboard): ditto
12757 * font.h (width): ditto
12759 * BufferView2.C: use it-> instead of (*it). for iterators
12761 * paragraph_pimpl.C: ditto
12762 * paragraph.C: ditto
12763 * minibuffer.C: ditto
12764 * language.C: ditto
12766 * encoding.C: ditto
12767 * counters.C: ditto
12768 * converter.C: ditto
12770 * Variables.C: ditto
12771 * TextCache.C: ditto
12772 * MenuBackend.C: ditto
12773 * LyXAction.C: ditto
12775 * FloatList.C: ditto
12776 * DepTable.C: ditto
12777 * ColorHandler.C (LyXColorHandler): ditto
12779 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12781 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12783 * text2.C (openStuff): reintroduce this method (which had been
12784 nuked in NEW_INSETS frenzy).
12786 * lyxfunc.C (Dispatch): when an action has not been handled, use
12787 its name in the error message, not its number.
12789 * paragraph.C (inInset): change method name to begin with lowercase.
12792 * text2.C: updates because of this.
12794 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12796 * ToolbarDefaults.C (add): add spaces in error message
12798 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12800 * buffer.C (readLyXformat2): initialize the ert comp. variables.
12801 (readLyXformat2): rename return_par to first_par, use lyxlex's
12802 pushToken and remove the manual push handling.
12803 (parseSingleLyXformat2Token): add another ert comp. variable:
12804 in_tabular, rename return_par to first_par. handle newlines better
12806 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12808 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12810 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12812 * text2.C (getParFromID): removed
12814 * buffer.C (getParFromID): new method moved form lyxtext.
12815 * BufferView2.C (insertErrors): adjust
12816 (setCursorFromRow): adjust
12817 * BufferView_pimpl.C (restorePosition): adjust
12818 * lyxfunc.C (Dispatch): adjust
12819 * undo_funcs.C (textUndo): adjust
12821 (textHandleUndo): adjust
12822 (textHandleUndo): adjust
12824 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12826 * buffer.C: up' the LYX_FORMAT
12828 * lyxfont.h: turn NO_LATEX on as default
12830 * buffer.C (insertErtContents): new methods of tex style compability.
12831 (parseSingleLyXformat2Token): use it several places.
12832 * tabular.C (OldFormatRead): and here
12834 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12836 * text2.C: remove some commented code.
12839 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12840 * trans.C: changes because of the above.
12842 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
12844 * text2.C (setCounter): Fix counters bug with bibliography layout.
12846 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12848 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12849 own member functions
12850 (simpleTeXSpecialChars): ditto
12852 2001-07-06 Juergen Vigna <jug@sad.it>
12854 * a lot of files: changed the access to LyXText::status and the
12855 call of undo-functions.
12857 * undo.[Ch]: added a inset_id to the undo informations.
12859 * undo_funcs.[Ch]: added and moved here all undo functions.
12861 * lyxtext.h: give the status enum a weight, made status_ a private
12862 variable and made accessor functions for it, removed the whole bunch
12863 of undo-functions as they are now in their own file, make some
12864 functions publically available. Added function ownerParagraph with
12867 * paragraph.[Ch]: added "bool same_ids" to the constructor,
12868 made InInset() a const function, added getParFromID() function.
12870 * buffer.[Ch]: added const version for inset_iterator functions,
12871 added getInsetFromID() function.
12873 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12874 changed undo functions for new version.
12876 2001-07-05 Juergen Vigna <jug@sad.it>
12878 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12879 unknow mechanism does not call the proper constructor but only this
12880 one also if I request the other!?
12882 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12884 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12886 * text2.C (LyXText): use initialization lists.
12888 * lyxtext.h (Selection): initialize set_ and mark_
12889 (init): remove method
12891 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
12893 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12895 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12897 * screen.[Ch]: change method names to begin with lowercase
12899 * BufferView_pimpl.C (updateScrollbar): simplify further and
12900 hopefully make it a bit faster.
12902 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12904 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12905 calling directly xforms functions.
12907 * Painter.C (Painter):
12908 * lyx_cb.C (MenuWrite):
12909 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12912 * lyx_gui.C: remove bogus guiruntime extern declaration.
12914 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12916 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12918 (redoDrawingOfParagraph): ditto
12919 (redoParagraphs): ditto
12920 (cutSelection): don't create a object for CutAndPaste use the
12921 static method directly
12922 (pasteSelection): ditto
12924 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12927 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12929 * modifications to some other files because of this.
12931 * Makefile.am (lyx_SOURCES): add XFormsView
12933 * XFormsView.[Ch]: new files
12935 * LyXView.[Ch]: make LyXView a base class for the gui handling for
12936 the main window. Move the gui dependent stuff to XFormsView
12938 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12940 * tabular.C (GetCellInset): update cur_cell also in the row/col
12941 version of this function.
12943 * lyxfunc.C: no need to include figure_form.h here.
12949 * lyxvc.C: no need to include forms.h here.
12951 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12953 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12955 * lyxfunc.C (Dispatch):
12957 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12958 constructor argument.
12960 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12962 * paragraph.C (Paragraph): dont't clear, and just set layout.
12963 (makeSameLayout): use params's copy contructor.
12965 * ParagraphParameters.[Ch] (makeSame): delete method
12967 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
12969 * Variables.[Ch]: fix indentation, rename set to isSet
12971 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12973 * lyxfunc.C (Dispatch): fix typo
12975 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12977 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12980 * bufferlist.C: include assert.h for emergencyWrite().
12982 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12984 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12985 give up at last (bug #425202) !
12987 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
12993 * spellchecker.C: strip spellchecker options and bring up
12994 preferences tab instead
12996 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12998 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12999 the istringstream constructor
13001 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13003 * paragraph.C (getLayout): fix return value
13005 * paragraph.h: do not declare getLayout as inline.
13007 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13009 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13011 * lyxcursor.h (operator<): new func
13012 (operator>): new func
13013 (operator>=): new func
13014 (operator<=): new func
13016 * text.C (changeCase): use selection.start and selection.end
13017 (changeRegionCase): require from to be <= to. Require par to be a
13020 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13022 2001-06-27 Juergen Vigna <jug@sad.it>
13024 * text.C (cursorLeftOneWord): changed to return the cursor and added
13025 overlay with BufferView * parameter which calls this one.
13027 (selectWord): use new getWord function.
13028 (changeCase): renamed from changeWordCase as and extended to work
13029 also on selections.
13031 * lyxtext.h: added enum word_location
13033 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13034 changeCase as this operates now also on selections.
13036 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
13038 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13040 * many files: send debug output to Debug::INFO instead of
13043 * converter.C (View):
13045 (Move): send debug output to Debug::FILES instead of console.
13047 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
13049 * lyxfunc.C (getStatus): use func_status
13051 * func_status.h: new header, describing the results of
13052 LyXFunc::getStatus;
13054 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13057 2001-06-25 The LyX Project <jug@sad.it>
13059 * buffer.C (sgmlOpenTag):
13061 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
13063 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13065 * text2.C: remove some dead code
13067 * tabular.C (GetCellInset): store the last cell checked (gotten)
13069 * tabular.h: add the helper for the speedup
13071 * lyxtext.h: remove some dead code
13073 2001-06-26 The LyX Project <Asger>
13075 * paragraph.C: Change export to LaTeX of alignment to
13076 \begin{center} and family for better roundtrip work with reLyX.
13078 * Tune the math drawing a bit.
13080 2001-06-25 The LyX Project <Asger>
13082 * LColor.C (LColor): New color for math background. New color
13085 2001-06-25 The LyX Project <jug@sad.it>
13087 * lyxfunc.C (MenuNew): remove extra check for .lyx file
13089 * lyxfunc.C (Open):
13090 * bufferlist.C (newFile): do not restrict to files ending with
13093 * BufferView_pimpl.C (MenuInsertLyXFile):
13095 2001-06-24 The LyX Project <jug@sad.it>
13097 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13100 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13102 * lyxtext.h: rename most methods to begin with a small char.
13103 Lots of changes because of this.
13105 * paragraph.C (Paragraph): do not call fitToSize
13106 (erase): call Pimpl::erase
13107 (insertChar): call Pimpl::insertChar
13108 (insertInset): call Pipl::insertInset
13109 (breakParagraph): do not call fitToSize
13110 (breakParagraphConservative): do not call fitToSize
13111 (fitToSize): remove method
13113 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13115 2001-06-24 The LyX Project <Asger>
13117 * Fix Qt compilation^2
13119 2001-06-24 The LyX Project <jug@sad.it>
13121 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13122 depthHook(getDepth()-1).
13125 * ParagraphParameters.h:
13126 * ParameterStruct.h: change type of depth to unsigned int ==
13127 depth_type. Many adaptations to other files before of that.
13129 2001-06-24 The LyX Project <Asger>
13131 * Fix Qt compilation.
13133 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13135 * paragraph.h: renamed several methods to begin with small letter.
13136 several changes to many parts of the code because of this.
13138 2001-06-23 The LyX Project <jug@sad.it>
13140 * text2.C (InsertStringAsLines): renamed from InsertStringA;
13141 rewritten to discard all double spaces when KeepEmpty is off
13142 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13143 to only handle newlines but not fiddle with spaces and friends.
13145 * lyxfunc.C (MenuNew): when doing 'new from template', use
13146 template_path as default directory
13148 2001-06-23 The LyX Project <Asger>
13150 * Clean-up of header file includes all over
13151 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13153 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13155 * paragraph.h: renamed from lyxparagraph.h
13157 2001-06-23 Asger <lyx@violet.home.sad.it>
13159 * Buffer.h: Removed Buffer::resize
13160 * BufferList.h: Removed BufferList::resize
13161 * LyXView.h: Added LyXView::resize. This way, we will only reflow
13162 the document lazily when we change the width, or the font settings.
13164 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13166 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13168 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13170 * buffer.h: remove out of date comment
13172 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13175 * screen.C: fix "theoretical" GC leak
13177 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13179 * LaTeX.C (scanAuxFile):
13180 (deplog): remove trailing \r when reading stream (useful under
13183 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
13185 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13186 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13187 and BufferView::theLockingInset(Inset*), so should use them and not
13188 access bv_->text->the_locking_inset directly.
13190 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13192 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13195 * tex-defs.h: remove old unused file
13197 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
13199 * BufferView_pimpl.C: fix typo, remove minibuffer message
13200 when buffer has loaded
13202 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13204 * lyxfunc.C (Dispatch): use stringstream
13205 (MenuNew): use stringstream
13206 (Open): use stringstream
13208 * importer.C (Import): use stringstream
13210 * bufferview_funcs.C (CurrentState): use stringstream
13212 * LaTeX.C (run): use stringstream
13214 * BufferView_pimpl.C (savePosition): use stringstream
13215 (restorePosition): use stringstream
13216 (MenuInsertLyXFile): use stringstream
13218 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
13231 * vspace.C: removed // -*- C++ -*- as first line.
13234 * version.h: added // -*- C++ -*- as first line.
13236 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13238 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13240 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13243 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13245 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13248 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13250 * gettext.C: include LString.h even when --disable-nls is on.
13252 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
13254 * converter.h (Get): changed argument type from int to
13255 FormatList::size_type to avoid unnecessary conversion.
13257 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13260 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13262 * gettext.h: include LString.h even when --disable-nls is on.
13264 2001-06-07 Juergen Vigna <jug@sad.it>
13266 * text.C (BreakAgain): subst spaces with tabs.
13268 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13269 (resizeInsetsLyXText): set force on resizeLyXText.
13271 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13273 * gettext.h (gettext_init):
13274 (locale_init): use a real definition instead of a macro
13276 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13278 * Bufferview_pimpl.C:
13280 * LColor.C: further lcolor tidies
13282 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13284 * BufferView_pimpl.C (updateScrollbar): simplify.
13286 * BufferView2.C: don't include insets/insetinfo.h, change
13287 prototype for insertInset and call the Pimpl version. let
13288 updateInset call Pimpl version.
13290 * BufferView.h: move inset_slept to BufferView::Pimpl, move
13291 gotoInset to BufferView::Pimpl
13293 2001-06-01 Juergen Vigna <jug@sad.it>
13295 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13296 inside a LockingInset (is the update needed at all?).
13298 2001-05-31 Juergen Vigna <jug@sad.it>
13300 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13301 here not the old one otherwise how should we compare it afterwards
13304 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13309 * FontInfo.C: bring C functions into global namespace when
13312 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13314 * LString.h: make sure config.h has been loaded before LString.h.
13316 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13317 (one for each char read by EatLine!).
13319 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13322 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13324 * paragraph.C (BreakParagraph): set the inset_owner in the new par
13325 to the same as the par we break from
13327 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
13329 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13331 * MenuBackend.C (expand): also create menu entries for wide
13332 versions of the floats.
13334 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13336 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13338 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13339 frontends/Makefile.am
13345 * tabular.C (getTokenValue): add std::
13347 * tabular-old.C (getTokenValue): add std::
13348 (getTokenValue): ditto
13349 (getTokenValue): ditto
13351 * screen.C (ToggleSelection): adjust
13353 * lyxtext.h: put selection cursors inside a Selection struct.
13355 * lyxfunc.C (moveCursorUpdate): adjust
13357 * lyxfont.C (latexWriteStartChanges): add std::
13359 * lyxfind.C: adjust
13361 * font.h: delete with(char const *, LyXFont const &)
13363 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13365 * FontInfo.C (getFontname): add std::
13367 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13368 (workAreaButtonPress): adjust
13369 (tripleClick): adjust
13371 (moveCursorUpdate): adjust
13374 * BufferView2.C (gotoInset): adjust
13376 2001-05-30 Juergen Vigna <jug@sad.it>
13378 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13379 to check pspell I add this as default as I now have new pspell
13380 libraries and they seem to use this.
13382 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13384 * text2.C (CutSelection): make the cursor valid before the call to
13387 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13389 * kbsequence.C (parse): de-uglify a bit the parsing code, which
13390 relied on 0 terminated strings and other horrors. Bug found due to
13391 the new assert in lyxstring!
13393 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13396 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13398 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13401 * lyxfunc.C (processKeySym): change method of getting to the
13404 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13405 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13406 * BufferView_pimpl.[Ch]: here as private methods.
13408 2001-05-28 Juergen Vigna <jug@sad.it>
13410 * text.C (SetHeightOfRow): added the update() call again as it is
13411 needed to initialize inset dimensions!
13413 2001-05-16 Juergen Vigna <jug@sad.it>
13415 * text2.C (SetCharFont): Add new function with BufferView * and
13416 bool toggleall parameters for setting insets internal fonts.
13417 (SetFont): Freeze the undo as we may change fonts in Insets and
13418 all this change should be inside only one Undo!
13420 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13421 setting font's in insets as for them we have the SetFont function!
13423 2001-05-15 Juergen Vigna <jug@sad.it>
13425 * text2.C (ClearSelection): to be sure we REALLY don't have any
13428 * tabular.C (TeXCellPreamble): fixed the left border problem for
13431 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
13433 * LaTeX.C (deplog): Make sure that the main .tex file is in the
13436 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13438 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13439 LFUN_BREAKPARAGRAPH.
13441 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13442 help test to "internal only", similar for LFUN_INSERT_URL
13444 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13445 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13446 auto_region_delete and deadkeys.
13448 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
13451 * LColor.C: remove some dead entries, tidy a little
13453 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13455 * lyxfunc.C (processKeySym): comment the Escape handling, remove
13457 (Dispatch): implement LFUN_ESCAPE
13459 * commandtags.h: add LFUN_ESCAPE
13461 * LyXAction.C (init): add entry for LFUN_ESCAPE
13463 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13464 Remove commented code.
13465 (insertNote): moved here
13466 (open_new_inset): moved here
13468 * BufferView[2].[Ch]: move insertNote and open_new_inset to
13471 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13473 * kbmap.C (findbinding): clean it up and make it work correctly.
13475 * lyx_main.C (init): do not pass argc and argv as parameters
13477 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
13479 * buffer.C: fix path for OS/2 & Win32
13483 * lyx_main.C: Added os:: class.
13485 * os2_defines.h: update
13487 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13489 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13490 better by trying again with reduced state.
13492 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13494 * lyxrc.C (read): print error about invalid key sequence only when
13495 debugging (because not all latinX keysyms are known to some X
13498 * kbsequence.C (getiso): add a few std:: qualifiers
13499 (getiso): comment out extra return statement.
13501 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
13503 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13505 (Dispatch): enhance the accent inset a bit. (not perfect)
13507 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13509 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13511 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13513 * bufferlist.C (emergencyWrite): fix assert() call
13515 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
13517 * text.C (InsertChar): Added trivial patch to only send the "you
13518 can not do multiple spaces this way" message once during a
13521 2001-05-08 Baruch Even <baruch@lyx.org>
13523 * Makefile.am: Changed order of libraries to get LyX to link properly
13524 with the gnome frontend.
13526 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13528 * LaTeXFeatures.h: add a std:: qualifier
13530 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13532 * paragraph.C (String): use stringstream
13534 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13536 * paragraph.C (writeFile): remove footflag arg
13538 * buffer.C (makeLaTeXFile): use stringstream
13539 (latexParagraphs): remove footnot gurba
13541 * LaTeXFeatures.C (getPackages): use stringstream
13542 (getMacros): likewise
13543 (getTClassPreamble): likewise
13544 (getFloatDefinitions): new method
13546 * paragraph.C (writeFile): reindent
13549 * WorkArea.h: revert the xpos + etc changes.
13551 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13553 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13555 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13556 (pasteSelection): likewise
13557 * text2.C (CreateUndo): likewise
13559 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13561 * minibuffer.C (peek_event): temporarily reduce the functionality
13562 of the minibuffer (to allow args on lfuns)
13564 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13565 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13567 * buffer.C (readInset): add compability reading of old float
13568 lists, add reading of new style float list.
13569 (readInset): avoid reevaluation of inscmd.getCmdName()
13570 (getLists): reindent
13572 * MenuBackend.C (MenuItem): implement parsing of
13573 md_floatlistinsert and md_floatinsert.
13574 (expand::LastFiles): move initalizaton of iterators out of loop,
13575 avoid reevaluation.
13576 (expand::Documents): introduce typdedef vector<string> Strings,
13578 (expand::ExportFormats): introduce typedef vector<Format const *>
13579 Formats, and use it.
13580 (expand): implement FloatListInsert and FloatInsert.
13582 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13583 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13584 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13586 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13588 (Dispatch::LFUN_FLOAT_LIST): implement
13590 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13592 * LaTeX.C (run): Fix problem with --export code.
13594 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13596 * BufferView.[Ch] (workarea): removed.
13597 (getClipboard) new method; wrapper for workarea()->getClipboard()
13599 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13602 * WorkArea.h (width, height, xpos, ypos): These methods all
13603 returned the dimensions of the work_area sub-area of WorkArea,
13604 resulting in a position error if the WorkArea were resized. Now
13605 return the dimensions of the entire WorkArea.
13607 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13609 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13611 * LaTeX.C (deplog): correct the syntax of regex reg1
13613 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13615 * undo.C: remove !NEW_INSETS cruft
13617 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13619 * text2.C: remove !NEW_INSETS cruft
13621 * text.C: remove !NEW_INSETS cruft
13623 * tabular.C: remove !NEW_INSETS cruft
13625 * spellchecker.C: remove !NEW_INSETS cruft
13627 * lyxtext.h: remove !NEW_INSETS cruft
13629 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13631 * lyxfunc.C: remove !NEW_INSETS cruft
13633 * lyxfind.C: remove !NEW_INSETS cruft
13635 * lyx_cb.C: remove !NEW_INSETS cruft
13637 * figureForm.C: remove !NEW_INSETS cruft
13639 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13641 * buffer.[Ch]: remove !NEW_INSETS cruft
13643 * ToolbarDefaults.C: remove !NEW_INSETS cruft
13645 * CutAndPaste.C: remove !NEW_INSETS cruft
13647 * BufferView_pimpl.C: remove !NEW_INSETS cruft
13649 * BufferView2.C: remove !NEW_INSETS cruft
13651 * BufferView.h: remove !NEW_INSETS cruft
13653 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13655 * Lsstream.h: include LString.h before the sstream headers to
13656 fix problem with gcc 2.95.3 and lyxstring
13658 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13660 * lyx_main.C: add using directives when needed for C functions
13661 declared in std:: namespace.
13663 2001-04-27 Juergen Vigna <jug@sad.it>
13665 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13666 (SetHeightOfRow): comment out the update call should not be needed!
13668 2001-04-13 Juergen Vigna <jug@sad.it>
13670 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13671 (LyXTabular): tried to minimize operator= operations (and realized
13672 hopfully Lars wish).
13674 2001-04-27 Juergen Vigna <jug@sad.it>
13676 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13678 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13680 * lyxfunc.C (Dispatch): hack to make listof algorithm work
13682 * buffer.C (readInset): hack to make listof algorithm work
13684 * BufferView_pimpl.C: hack to make listof algorithm work
13686 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13688 * LyXAction.C: removed all !NEW_INSETS cruft
13689 (init): moved lfun_item in method
13691 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13693 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13695 * BufferView2.C (theLockingInset): white space.
13697 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13699 * minibuffer.C: include <iostream>
13701 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13703 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13705 * commandtags.h: add LFUN_TRANSPOSE_CHARS
13707 * text.[Ch] (TransposeChars): new method
13709 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13711 * call message directly through LyXView instead of through LyXFunc
13712 * BufferView2.C: adjust
13713 * BufferView_pimpl.C: adjust
13714 * FontLoader.C: adjust
13716 * bufferview_funcs.C: adjust
13717 * converter.C: adjust
13718 * figureForm.C: adjust
13719 * importer.C: adjust
13721 * lyx_gui_misc.C: adjust
13722 * lyxfunc.C: adjust
13725 + more files in subdirs
13727 * lyxparagraph.h (size): move up int file
13730 * adjust all uses of Assert to lyx::Assert.
13732 * BufferView2.C (ChangeCitationsIfUnique): adjust for
13733 lyxfunctional in namespace lyx
13734 * layout.C (hasLayout): ditto
13737 (delete_layout): ditto
13738 (NumberOfClass): ditto
13739 * converter.C (GetFormat): ditto
13744 * bufferlist.C (getFileNames): ditto
13745 (emergencyWriteAll): ditto
13748 * MenuBackend.C (hasSubmenu): ditto
13751 * BufferView_pimpl.C (getInsetByCode): ditto
13753 2001-04-18 Juergen Vigna <jug@sad.it>
13755 * vspace.C (asLatexString): fixed the 100% problem.
13757 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13759 * lyxfunc.C (Dispatch):
13761 * minibuffer.h: add a few std:: qualifiers
13763 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13765 * minibuffer.[Ch]: reimplement so that commands is initiated and
13766 run from lyxfunc, simplified som handling, and made the completion
13767 and history code for complete. wip.
13769 * lyxfunc.C (processKeySym): call message
13770 (miniDispatch): new temporary method
13771 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13772 (LFUN_MESSAGE): implement
13773 (LFUN_MESSAGE_PUSH): implement
13774 (LFUN_MESSAGE_POP): implement
13775 (initMiniBuffer): the initial/defualt minibuffer message.
13777 * lyxfont.[Ch]: inline some more getters
13779 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13781 * lyx_gui_misc.[Ch] (WriteStatus): remove method
13783 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13784 (AutoSave): use LFUN_MESSAGE
13785 (Reconfigure): ditto
13787 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13789 * figureForm.C: use LFUN_MESSAGE
13791 * converter.C (runLaTeX): use LFUN_MESSAGE
13793 * bufferview_funcs.C: use LFUN_MESSAGE
13795 (changeDepth): ditto
13797 * bufferparams.h: use boost::
13799 * bufferlist.h: inherit privately from noncopyable
13801 * bufferlist.C (loadLyXFile): remove some commented code.
13803 * buffer.C (runChktex): use LFUN_MESSAGE
13805 * ShareContainer.h: inherit privately from noncopyable
13807 * ParagraphParameters.[hC] (depth): inline it.
13809 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13811 (message): new method
13812 (messagePush): ditto
13813 (messagePop): ditto
13814 (show): init minibuffer
13815 (showState): direct call
13817 * LaTeX.[Ch]: inherit privately from noncopyable
13818 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13819 instead of WriteStatus.
13821 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13823 * BufferView_pimpl.C (buffer): don't init minibuffer
13824 (workAreaButtonPress): use LFUN_MESSAGE
13825 (workAreaButtonRelease): ditto
13826 (savePosition): ditto
13827 (restorePosition): ditto
13828 (MenuInsertLyXFile): ditto
13829 (workAreaExpose): don't init minibuffer
13830 (update): remove commented code, simplify
13832 * BufferView2.C (openStuff): use LFUN_MESSAGE
13833 (toggleFloat): ditto
13836 (copyEnvironment): ditto
13837 (pasteEnvironment): ditto
13842 (updateInset): remove some commented code
13844 * lastfiles.h: inherit privately from noncopyable
13847 * lyx_main.h: ditto
13849 * lyxlex_pimpl.h: ditto
13851 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13852 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13853 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13855 * LyXAction.h: inherit privately from noncopyable, add methods
13856 func_begin, func_end, returning iterators to the func map.
13858 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13859 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13860 (func_begin): new method
13861 (func_end): new method
13863 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13865 (copySelection): ditto
13866 (pasteSelection): ditto
13868 * BufferView.C: whitespace change
13869 * BufferView.h: inherit privately from noncopyable
13871 2001-04-16 Allan Rae <rae@lyx.org>
13873 * tabular-old.C (l_getline):
13874 * spellchecker.C (sc_check_word):
13875 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13876 an unrecognised preprocessor directive. So ensure they're wrapped.
13878 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
13880 * src/exporter.C (Export): Give an error message when path to file
13883 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
13885 * LaTeX.C (deplog): Always check that foundfile exists.
13887 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13890 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13892 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13894 * tabular.[Ch] (getLabelList): implement new method
13896 * minibuffer.h: comment ouf setTiimer
13898 * minibuffer.C (ExecutingCB): constify res
13899 (peek_event): constify s
13900 (Set): constify ntext
13901 (Init): constify nicename
13903 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13905 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13906 (savePosition): use two params to Minibuffer::Set
13907 (restorePosition): ditto
13909 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13911 * lyx_main.C: include language.h
13913 * Makefile.am (lyx_main.o): add language.h
13915 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13921 * CutAndPaste.C: include gettext.h
13923 * lyxfont.h: remove old hack with ON and OFF.
13926 * lyxfont.h: do not include language.h...
13931 * bufferview_funcs.C:
13937 * paragraph.C: ... but do it here instead
13939 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13941 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13943 * tabular.C: small reformat
13945 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13948 (BreakParagraph): ditto
13949 (SetOnlyLayout): ditto
13952 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13955 * lastfiles.C: removed most using decl, add std:: where needed
13957 * buffer.C: ws changes
13959 * MenuBackend.C (class compare_format): put into anon namespace
13960 (expand): constify label, names, action, action2
13963 * text.C (SingleWidth): constify font
13964 (IsBoundary): constify rtl2
13965 (GetVisibleRow): constify ww
13967 * LaTeX.C (deplog): constify logfile
13969 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13971 (workAreaExpose): constify widthChange, heightChange
13973 * lyxrow.C (par): moved
13976 * lyxrow.h: as inlines here
13978 * lyxfont.h (shape): moved from lyxfont.C
13979 (emph): moved from lyxfont.C
13981 * lyxfont.C (LyXFont): use initialization list for all
13983 (shape): move to lyxfont.h as inline
13984 (emph): move to lyxfont.h as inline
13987 2001-04-04 Juergen Vigna <jug@sad.it>
13989 * vspace.C: had to include stdio.h for use of sscanf
13991 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
13994 * BufferView_pimpl.h: remove xforms cruft. Both classes are
13995 independent of xforms.
13997 2001-04-02 Juergen Vigna <jug@sad.it>
13999 * spellchecker.C: fixed namespace placing!
14001 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
14003 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14004 the LyXParagraph * is 0.
14006 2001-03-29 Juergen Vigna <jug@sad.it>
14008 * vspace.C: added support for %, c%, p%, l%.
14009 (stringFromUnit): added helper function.
14010 (asLatexString): changed to give right results for the %-values.
14012 * buffer.C: convert the widthp in a width%.
14014 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
14016 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14019 * figureForm.[Ch]: stripped the FD_from_figure manipulation
14020 code out of lux_cb.[Ch], ready for its (imminent?) removal.
14022 * lyx_cb.[Ch]: see above.
14024 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14028 * lyx.[Ch]: replaced by figure_form.[Ch].
14032 * lyxfunc.C: changed headers associated with above changes.
14034 2001-03-27 Juergen Vigna <jug@sad.it>
14036 * BufferView_pimpl.C: set the temporary cursor right!
14038 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
14040 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14042 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
14044 * LString.h: removed "using std::getline"!
14046 * BufferView_pimpl.C (Dispatch): changes due to changes in
14047 InsetInclude::Params.
14049 * buffer.C (tag_name): removed redundant break statements as they were
14050 producing lots of warnings with my compiler.
14052 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14054 * LString.h: add "using std::getline" when using the real <string>.
14056 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
14058 * buffer.C: removed bitset usage.
14059 PAR_TAG moved to an anonymous name space.
14060 (tag_name): new funtion, also in the anonymous namespace.
14061 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14062 (makeDocBookFile): clean code. Completed transition from string arrays
14064 (SimpleDocBookOnePar): code clean.
14066 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14068 * tabular.C: add some comments.
14070 2001-03-22 Juergen Vigna <jug@sad.it>
14072 * buffer.C (parseSingleLyXformat2Token): redone the minipage
14073 compatibility read a bit and fixed bug with minipage in different
14076 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
14078 * buffer.C (pop_tag): removed.
14079 (push_tag): removed.
14080 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14081 array replaced with vector. Added support for CDATA sections.
14082 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14084 (makeDocBookFile): XML conformant declaration of CDATA section,
14085 fixed bug related to <emphasis> in the first paragraph char.
14086 (sgmlOpenTag): exclude empty tags.
14087 (sgmlCloseTag): ditto.
14089 * buffer.h (pop_tag): removed.
14090 (push_tag): removed.
14092 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
14094 * language.h (Languages): added size_type and size().
14096 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14098 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14099 response on compability reading of minipages. One probliem is that
14100 the old usage of minipages was «flertydig»
14102 * several files here and in subdirs: don't use static at file
14103 scope use anon namespaces instead.
14105 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
14107 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14108 LaTeX output. This is necessary for Literate document
14111 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14113 * buffer.C: insert hfill when needed.
14115 * tabular.C (l_getline): use string::erase, small whitespace change.
14117 * BufferView_pimpl.C: try the anon namespace.
14118 * WorkArea.C: ditto
14120 2001-03-16 Juergen Vigna <jug@sad.it>
14122 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14123 otherwise it won't open options-dialogs.
14125 * buffer.C: honor pextraWidth(p) on converting minipages.
14127 * tabular.C (l_getline): changed the functions to strip trailing \r.
14129 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
14131 * BufferView_pimpl.C:
14132 * minibuffer..C: added "using SigC::slot" declaration.
14134 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14136 * lyxlex_pimpl.h: noncopyable is in namespace boost.
14142 * paragraph.C: ditto
14144 * lyxtext.h: NO_PEXTRA
14146 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14148 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14149 * ParameterStruct.h: ditto
14150 * ParagraphParameters.h: ditto
14151 * lyxparagraph.h: ditto
14153 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14155 * buffer.C: add compability for minipage alignment.
14156 (latexParagraphs): remove unwanted pextra check.
14158 * several files: remove CXX_WORKING_NAMESPACES
14160 * buffer.C (pop_tag): tie is in namespace boost
14162 * BufferView.h: noncopyable is in namespace boost
14164 * lyx_main.h: ditto
14167 * lastfiles.h: ditto
14168 * bufferlist.h: ditto
14169 * ShareContainer.h: ditto
14171 * LyXAction.h: ditto
14174 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14176 * Merging changes from BRANCH_MVC back into HEAD.
14178 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14180 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
14182 * BufferView_pimpl.C: change from intl.C
14186 * Makefile.am: move combox.*
14192 * intl.C: remove dialog (covered by prefs)
14194 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14196 * lyxfunc.C (Dispatch): removed redundant break statement.
14198 2001-03-14 Juergen Vigna <jug@sad.it>
14200 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14202 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14204 * buffer.C: add hack to fix compability reading of minipages.
14206 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
14208 * buffer.C (getLists): Cleanup.
14210 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14212 * lyxfont.C (update): don't honor toggleall on font size.
14214 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
14218 * Makefile.am: moved to frontends/xforms/
14222 * BufferView_pimpl.C: changes for moved mathpanel
14224 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14226 * gettext.h: fix gettext_init() in --disable-nls
14228 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14230 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14232 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
14235 * lyx.h: strip external form
14237 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14239 * BufferView_pimpl.C: add comment, destroySplash()
14241 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14243 * BufferView_pimpl.C:
14247 * lyxfunc.C: use re-worked insetinclude
14249 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14251 * buffer.C: add using std::stringstream.
14253 * lyx_cb.C: readd using std::ios.
14255 * buffer.C: add using std::map.
14257 * BufferView_pimpl.C: add using std::vector.
14259 * ShareContainer.h: add std:: to swap.
14261 * buffer.h: add some typedefs
14262 * buffer.C (getLists): use them
14263 (getLists): renamed from getTocList.
14264 add a counter for the different float types and use it in the
14266 (getLists): use the same counter for the NEW_INSETS and the "non"
14269 * lyx_cb.h: remove unused items, includes, using etc.
14271 * ShareContainer.h: remove some commented code, add more comments
14272 and "documentation".
14274 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14276 * buffer.C (getTocList): make the list also when NEW_INSETS is
14279 * buffer.h: remove TocType
14281 * buffer.C (getTocList): change to return a map<string,
14282 vector<TocItem> >, implement for dynamic number of list.
14284 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14285 * text2.C (PasteSelection): adjust
14286 * CutAndPaste.C (pasteSelection): adjust
14288 * FloatList.C (FloatList): update from the new_insets branch.
14289 * Floating.[Ch]: ditto
14290 * LaTeXFeatures.C: ditto
14292 * lyxlex_pimpl.C: ditto
14294 * paragraph.C (Last): remove when NEW_INSETS is defined.
14296 * other file: changes because of the above.
14298 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14300 * lyxparagraph.h: rename next to next_, previous to previous_,
14301 make them private for NEW_INSETS. Rename Next() to next(),
14302 Previous() to previous().
14304 * other files: changes because of the above.
14306 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
14309 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14312 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14314 * main.C (main): pass lyx_localedir to gettext_init().
14316 * gettext.h: remove locale_init and gettext_init macros
14318 * gettext.C (locale_init): new function
14319 (gettext_init): new function
14321 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14324 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
14326 * Moved credits to frontends:
14327 * credits.[Ch]: removed
14328 * credits_form.[Ch]: removed
14329 * lyx_gui_misc.C: remove credits stuff
14332 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14334 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14336 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14337 unneeded destructor.
14339 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14340 a standalone pointer again.
14342 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14344 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
14350 * ToolbarDefaults.C:
14359 * BufferView_pimpl.C: use new file dialog in GUII
14362 * lyx_cb.C: remove LayoutsCB to Toolbar
14364 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14366 * ShareContainer.h (get): add std:: qualifier
14368 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14370 * ShareContainer.h: define a proper ShareContainer::value_type
14371 type (and use typename to please compaq cxx)
14373 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14375 * lyxparagraph.h: move serveral local vars to
14376 ParameterStruct/ParagraphParameters., use ShareContainer in
14377 FontTable., make vars in FontTable private and add getter and
14380 * paragraph.C: changes because of the above.
14382 * lyxfont.h: remove copy constructor and copy assignment. (the
14383 default ones is ok), move number inside FontBits. move inlines to
14386 * lyxfont.C: add number to initializaton of statics, move several
14387 inlines here. constify several local vars. some whitespace
14388 cleanup. Dont hide outerscope variables.
14390 * Spacing.h: add two new constructors to match the set methods.
14392 * ShareContainer.h: new file, will perhaps be moved to support
14394 * ParameterStruct.h: new file
14396 * ParagraphParameters.h: new file
14398 * ParagraphParameters.C: new file
14400 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14401 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14403 * BufferView_pimpl.C: ParagraphParameter changes.
14404 * buffer.C: Likewise.
14405 * bufferview_funcs.C: Likewise.
14406 * text.C: Likewise.
14407 * text2.C: Likewise.
14409 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14411 * lyxfind.C (LyXReplace): do not redefine default argument in
14413 (IsStringInText): ditto
14414 (SearchForward): ditto
14415 (SearchBackward): ditto
14417 2001-03-06 Juergen Vigna <jug@sad.it>
14419 * lyxfind.C (IsStringInText): put parentes around expressions.
14421 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
14423 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14425 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
14427 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14429 * stl_string_fwd.h: add comment
14431 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14434 * tabular.C: remove unused DocBook methods
14440 killed DO_USE_DEFAULT_LANGUAGE
14442 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14444 * lyx_gui.C: do not include language.h.
14446 * bufferview_funcs.C (ToggleAndShow): do not provide optional
14447 arguments in function implementation.
14449 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14451 * BufferView_pimpl.C: add <ctime>
14453 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14455 * BufferView_pimpl.C: add using std::find_if
14457 2001-02-27 José Matos <jamatos@fep.up.pt>
14459 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14462 2001-02-11 José Matos <jamatos@fep.up.pt>
14464 * buffer.C (makeDocBookFile): command styles now have a parameter as
14465 "title" by default.
14467 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
14469 * layout_forms.[Ch]: removed
14470 * lyx_cb.[Ch]: out character
14471 * lyx_gui.C: out character
14472 * lyx_gui_misc.C: out character
14473 * bufferview_funcs.C: : out character,
14474 added toggleall as parameter in ToggleAndShow
14476 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
14478 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14480 * text2.C (SetCurrentFont): Disable number property at boundary.
14482 2001-02-26 Juergen Vigna <jug@sad.it>
14484 * lyxfunc.C (getStatus): added a string argument override function so
14485 that this is correctly called from LyXFunc::Dispatch if it contains a
14486 do_not_use_argument which is used!
14487 (Dispatch): added check for "custom" export and call appropriate func.
14489 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
14491 * lyxrc.C: Add language_command_local, language_use_babel and
14492 language_global_options.
14494 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14496 * buffer.C (makeLaTeXFile): Use language_use_babel and
14497 language_global_options.
14499 2001-02-23 Juergen Vigna <jug@sad.it>
14501 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14502 which works with LyXText and putted it inside BufferView. Here now we
14503 only call for that part the BufferView::Dispatch() function.
14505 * BufferView.C (Dispatch): added.
14507 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14508 functions which needs to use a LyXText over from LyXFunc.
14509 (MenuInsertLyXFile): added
14510 (getInsetByCode): added
14511 (moveCursorUpdate): added
14512 (static TEXT): added
14514 2001-02-22 Juergen Vigna <jug@sad.it>
14516 * BufferView_pimpl.C (update): call a status update to see if LyXText
14519 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14521 * vc-backend.C (revert): implement for CVS
14522 (getLog): implement for CVS
14524 2001-02-20 Juergen Vigna <jug@sad.it>
14526 * text2.C (ClearSelection): added BufferView param for inset_owner call
14528 * lyxfunc.C (TEXT): added this function and use it instead of
14529 directly owner->view()-text of getLyXText().
14531 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
14533 * src/layout_forms.C: out preamble
14534 * src/layout_forms.h: out preamble
14535 * src/lyx_cb.C: out preamble
14536 * src/lyx_cb.h: out preamble
14537 * src/lyx_gui.C: out preamble
14538 * src/lyx_gui_misc.C: out preamble
14539 * src/lyxfunc.C: connect with guii preamble
14541 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14543 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14545 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14547 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14548 whether to run bibtex.
14550 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14552 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14554 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14556 * Makefile.am (lyx_SOURCES): removed bibforms.h
14558 * vspace.h: doxygen
14560 * text.C (GetVisibleRow): make several local vars const
14562 * tabular.C: small cleanup.
14564 * lyxserver.C (callback): use compare instead of strncmp
14566 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14567 inlines to after class or to paragraph.C
14569 * lyxfont.h: remove friend operator!=
14571 * converter.h: move friend bool operator< to non friend and after
14574 * combox.h: small cleanup
14576 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14577 to inlines after class def.
14579 * buffer.C (pop_tag): use string operations instead of strcmp
14581 * bmtable.c: doxygen, small cleanup
14583 * LaTeX.h: remove friend operator==
14585 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14597 * BufferView_pimpl.C:
14598 * BufferView.[Ch]: remove cruft
14600 2001-02-14 Juergen Vigna <jug@sad.it>
14602 * lyxfunc.C: removed #if 0 unused code
14604 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14606 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14608 * text2.C (SetSelection): added a BufferView * parameter
14610 2001-02-13 Juergen Vigna <jug@sad.it>
14612 * lyxfunc.C (Dispatch): fixed protected blank problem.
14613 * BufferView2.C (protectedBlank): added LyxText * parameter.
14615 * tabular.C (AppendRow): forgot to set row_info of newly added row.
14616 (AppendColumn): same as above for column_info.
14618 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14619 (moveCursorUpdate): use a LyXText param for support of InsetText.
14621 * BufferView_pimpl.C (doubleClick): added support for InsetText.
14622 (tripleClick): ditto
14624 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14626 * BufferView_pimpl.C (update): added LyXText param to honor insets.
14628 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14630 * text2.C (SetSelection): set correct update status if inset_owner
14631 (ToggleFree): ditto
14633 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
14635 * tabular.C: remove some commented code.
14637 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
14639 * BufferView_pimpl.C: call hideSplash()
14641 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14644 * bibforms.h: remove
14647 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14648 add LFUN_CHILD_CREATE
14650 * counters.h: fix tiny typo
14655 * lyx.C: move splash to frontends/xforms/
14657 * lyx_gui_misc.C: move Include and Bibform to frontends
14659 * lyxvc.h: clarify comment
14661 * vspace.C: tiny housekeeping
14663 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
14665 * text.C (PrepareToPrint): RTL Fix.
14667 * paragraph.C (GetUChar): New method.
14668 (String): Use GetUChar.
14670 * buffer.C (asciiParagraph): Use GetUChar.
14672 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
14674 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14676 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
14679 * buffer.C: rename to getLogName(), handle
14680 build log / latex log nicely
14682 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14685 * MenuBackend.h: remove support for reference menuitem type.
14687 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
14689 * BufferView_pimpl.C: housekeeping
14690 * BufferView_pimpl.h:
14695 * minibuffer.h: move Timeout GUI-I
14697 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
14699 * lyxrc.C (read): Update converters data-structures.
14701 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
14703 * LaTeX.h (operator!=): add operator != for Aux_Info
14705 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
14707 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14709 * LaTeXLog.C: deleted, useful code moved to Buffer
14712 * buffer.C: new function getLatexLogName()
14718 * lyxfunc.C: use frontends for LaTeX and VC logs
14720 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14722 * LaTeX.h: yet another std:: that Allan forgot.
14724 * Variables.C (set): renamed from isset(), because this clashes
14725 with some HP-UX macros (grr).
14727 2001-02-06 Allan Rae <rae@lyx.org>
14729 * LaTeX.h: Another bug fix. Missing std:: this time.
14731 2001-02-04 Allan Rae <rae@lyx.org>
14733 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14734 floats problem. I've left it commented out because it's not quite
14735 correct. It should also test that the current object is a table or
14736 figure inset. But I haven't gotten around to figuring out how to do
14737 that. I *think* it'll be something like: "table" == inset.type()
14739 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14742 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
14744 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14745 all the citation/databases/styles in the auxilary file.
14746 (run): Rerun latex if there was a babel language error.
14748 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
14750 * text.C (Backspace): Preserve the font when changing newline char
14752 (BreakParagraph): If the cursor is before a space, delete the space.
14754 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14756 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
14758 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14759 new argument (code).
14760 (ChangeCitationsIfUnique): New method.
14762 * paragraph.C (GetPositionOfInset): Handle bibkey.
14764 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14766 * BufferView_pimpl.h: change type of Position::par_pos to
14767 LyXParagraph::size_type.
14769 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
14771 * BufferView_pimpl.C (savePosition, restorePosition): Write
14772 messages to minibuffer.
14774 2001-01-28 José Matos <jamatos@fep.up.pt>
14776 * buffer.C (makeDocBookFile): adds support for document language.
14777 A silly restriction on the name of LatexCommand types where removed.
14778 Added support for CDATA sections, allows to chars unescaped, used
14779 among others in code, to avoid escape < and >.
14781 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14783 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14784 saved positions instrad of a stack. Furthermore, a position is
14785 stored using paragraph id/paragraph position.
14787 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14788 Remove LFUN_REF_BACK.
14790 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14792 * converter.C (dvipdfm_options): New method.
14794 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
14796 * vspace.C (isValidLength): Fix for empty input string.
14798 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14800 * LyXAction.C (init): change description of LFUN_FIGURE to
14803 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14805 * LaTeX.C: add using directive
14807 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14809 * MenuBackend.C (expand): Fix the sorting of the formats.
14811 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
14813 * lyx_main.C: tiny error message fix
14815 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14817 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14818 calling fl_initialize(). This fixes the problem with ',' as
14819 decimal separator in text files.
14821 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14823 * trans.C (process): Fix the keymap bug.
14825 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
14827 * LaTeX.C (scanAuxFiles): New method. Provides support for
14828 multiple bibliographies (when using the bibtopic/bibunits pacakges).
14829 (scanLogFile) Scan for "run BibTeX" messages.
14831 * buffer.C (makeLaTeXFile): Do not load the ae package when using
14832 OT1 font encoding. Also, load the aecompl package if the ae
14835 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14837 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14839 * texrow.C (increasePos): turn two error messages into debug
14842 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
14844 * LaTeX.C (scanAux): Handle the \@input macro.
14845 (runBibTeX): Use scanAux().
14847 * language.C (latex_options_): New field.
14849 * LaTeXFeatures.C (getMacros): Add language macros.
14851 * buffer.C (makeLaTeXFile): Small fix.
14853 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14855 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14857 * text2.C: add a using directive.
14859 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
14864 * lyxfunc.C: kill LyXBell.
14866 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
14868 * text.C (IsBoundary): Remove the error message
14870 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14872 * lyxrc.C (setDefaults): Correct initialization value for
14875 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
14877 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14880 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14881 and GotoNextNote().
14883 * src/LyXAction.C: Added reference-next.
14885 * text.C (InsertChar): Use contains instead of strchr.
14887 * lyx_cb.C (MenuInsertLabel): Enable default value code.
14889 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
14891 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14892 alignment commands (when needed).
14894 * text.C (InsertChar): Add ':' to number separator chars.