1 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3 * rowpainter.C (paintSelection): fix x coordinates
5 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
7 * text.C (rowBreakPoint): fix breaking before displayed insets
9 2004-03-01 André Pönitz <poenitz@gmx.net>
11 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
13 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
25 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
31 * BufferView_pimpl.C: rename textwidth -> maxwidth,
32 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
34 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
36 * Bidi.[Ch] (computeTables): const correctness
37 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
38 fill_hfill, fill_label_hfill and x from Row
39 * lyxtext.h: prepareToPrint returns a RowMetrics
40 * rowPainter.C: adjust
41 * text.C (prepareToPrint): use width, not textWidth. adjust
42 (redoParagraphInternal, cursorX): adjust
43 * text2.C (getColumnNearX): adjust
44 (init): put a default value to the top LyXText::width
46 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
48 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
50 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
52 * lyxtext.h: add FontIterator class
54 * text.C (FontIterator, operator*, operator->, operator++): add
55 (rowBreakPoint, setRowWidth): adjust (fixing a
58 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
60 * BufferView_pimpl.C (workAreaDispatch): allow also
61 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
63 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
65 * text.C (rowBreakPoint): fix a bug showing with very large insets
67 2004-02-25 André Pönitz <poenitz@gmx.net>
70 * cursor.[Ch]: move some mathed specific code to mathed
72 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
74 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
75 use_tempdir in preferences
76 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
78 * lyx_main.C: ensure that tempdir is valid
79 * lyxlex.h: correct typo
80 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
81 * paragraph.[Ch] (isMultiLingual): make const
82 * cursor.[Ch] (openable): make const
84 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
86 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
88 2004-02-20 André Pönitz <poenitz@gmx.net>
90 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
92 * cursor.[Ch]: prepare for localized getStatus()
98 * text3.C: streamlines the LyXText cursor movement handlers a bit.
100 2004-02-20 André Pönitz <poenitz@gmx.net>
102 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
104 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
106 * text2.C (setCursorFromCoordinates): switch to absolute coords
109 * text3.C (dispatch): adjust
111 2004-02-16 André Pönitz <poenitz@gmx.net>
113 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
116 * cursor_slice.[Ch]: remove unneeded acessor function
118 * lyxtext.h: rename rtl() to isRTL()
126 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
128 * rowpainter.C (paintSelection): coord fix
130 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
132 * Spacing.C: compile fix
134 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
136 * cursor.C (dispatch): restore current_ before returning
138 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
140 * text2.C (cursorUp, cursorDown): fix coords
143 2004-02-12 André Pönitz <poenitz@gmx.net>
148 * text3.C: add LCursor & parameter to most cursor movement functions
149 remove usage of LyXText::cursorRow() and cursorPar()
151 * cursor.[Ch]: add textRow() needed members
154 * BufferView_pimpl.C:
157 * BufferView_pimpl.C: adjust
159 2004-02-11 André Pönitz <poenitz@gmx.net>
163 * BufferView_pimpl.C: shift undo/redo handling
165 * cursor.[Ch]: fix mathed crash
168 * lyxtext.h: move selectionAsText to LCursor
176 * rowpainter.C: fix excessive drawing
178 2004-02-06 André Pönitz <poenitz@gmx.net>
181 * BufferView_pimpl.[Ch]:
182 * text3.C: move some text specific LFUN handling
184 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
186 * text3.C (checkInsetHit): adjust coords
187 * text2.C (getColumnNearX): adjust coords
188 (edit): adjust coords
189 * text.C (getRowNearY): add two asserts
191 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
194 * format.C: add using std::distance to compile on gcc 2.95/stlport
196 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
198 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
200 2004-02-04 André Pönitz <poenitz@gmx.net>
202 * BufferView.[Ch] (insertInset):
203 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
208 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
210 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
211 on the default clause of the switch
212 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
213 wasn't catched by LCursor::dispatch
215 2004-02-03 André Pönitz <poenitz@gmx.net>
218 * cursor.[Ch]: some additional asserts
220 * undo.[Ch]: remove LyXText dependency in interface
224 * lyxtext.h (firstPar, lastPar): remove dead functions
229 * paragraph.[Ch]: adjust
231 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
233 * lyxfind.C (find): fix argument order in call to ::find
235 2004-02-02 André Pönitz <poenitz@gmx.net>
237 * cursor.[Ch]: remove direct access to anchor
239 * text.C: remove findText() hack
241 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
243 * iterators.[Ch] (lockPath): remove in favour of...
244 * BufferView.[Ch] (setCursor): this addition
245 * BufferView.C (putSelectionAt): adjust
246 * undo.C (performUndoOrRedo): adjust
247 * lyxfunc.C (dispatch): adjust
249 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
251 * iterators.C (lockPath): add a missing slice
252 * undo.C (performUndoOrRedo): remove redundant positioning code
254 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
256 * vc-backend.C (scanMaster): ";" -> ';'
258 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
260 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
263 * lyxtextclass.C (compare_name): rename to...
264 (LayoutNamesEqual): ...this
266 * lyxlex_pimpl.C (compare_tags): inherit from
267 std::binary_function, put back into anon namespace
269 * lyxfind.C (MatchString): inherig from std::binary_function
270 (findChange): use empty() istead of !size()
272 * format.C (FormatNamesEqual): new functor
279 * converter.C (compare_Converter): rename to...
280 (ConverterEqual): ...this, and fixup a bit.
281 (getConverter): use it, and make function const
282 (getNumber): use it, and make function const
286 * bufferlist.C: add using boost::bind
288 * MenuBackend.C (MenuNamesEqual): new functor
289 (hasMenu): use it, and make function const
290 (hasSubmenu): use nested bind to get rid of compare_memfun.
292 2004-01-30 André Pönitz <poenitz@gmx.net>
294 * BufferView_pimpl.C:
305 * text3.C: move some of the edit(x,y) handling to the insets
306 some coordinate changes.
308 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
310 * text.C: add using statements for std::advance and std::distance
312 * paragraph.C: add using statement for std::distance
314 * lyxfind.C: add using statement for std::advance
316 * cursor.C (region): remove std:: from swap
317 (openable): use nucleus in stead of operator->
319 * BufferView.C: add using statements for std::distance and std::swap
321 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
323 * iterators.C: Remove the pimple, move the needed structures to
324 the header file. Create accessor for the positions stack.
325 (asPosIterator): remove function
327 * PosIterator.C (PosIterator): move constructors to top of file
328 (PosIterator): reimplement the constructor taking a ParIterator in
330 (setFrom): new function
331 (operator!=): inline it
333 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
335 * lyxfind.C (replaceAll): use std::advance
337 * iterators.h: inherit from std::iterator.
339 * PosIterator.C (advance, distance): remove
340 * PosIterator.h: interit from std::iterator.
342 2004-01-26 André Pönitz <poenitz@gmx.net>
345 * BufferView_pimpl.[Ch]:
349 * bufferview_funcs.C:
360 * output_plaintext.C:
362 * paragraph_funcs.[Ch]:
363 * paragraph_pimpl.[Ch]:
369 * text3.C: more IU: dumps most of the rest of the mathcursor
370 implementation into cursor.[Ch]; "globalize" a bit of it.
372 2004-01-25 Angus Leeming <leeming@lyx.org>
374 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
376 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
378 * LaTeXFeatures.h: add nice_ and nice() const
379 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
381 2004-01-20 André Pönitz <poenitz@gmx.net>
384 * BufferView_pimpl.C:
386 * bufferview_funcs.C:
399 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
400 LCursor and mathcursor parts to LCursor and InsetBase.
402 2004-01-15 André Pönitz <poenitz@gmx.net>
404 * cursor_slice.[Ch]: add a few covienience functions
406 * funcrequest.[Ch]: remove BufferView * member
408 * BufferView_pimpl.C:
415 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
417 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
419 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
420 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
422 2004-01-13 André Pönitz <poenitz@gmx.net>
425 * lyxtext.h: hide cursor and selection anchor behind accessor function
428 * BufferView_pimpl.[Ch]:
430 * bufferview_funcs.C:
440 * cursor_slice.[Ch]: some integer type changes for inset unification
442 * lyxcursor.[hC]: remove, it's CursorSlice now.
445 * BufferView_pimpl.[Ch]:
446 * bufferview_funcs.C:
452 * textcursor.[Ch]: adjust
454 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
456 * text2.C (undoSpan): add and use
457 * text.C (breakParagraph): use undoSpan (fix bug 578)
460 2004-01-08 Angus Leeming <leeming@lyx.org>
462 * BufferView_pimpl.C (MenuInsertLyXFile):
463 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
464 * lyxfunc.C (menuNew, open, doImport):
465 FileFilterList change to the FileDialog open and save functions.
467 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
469 * ShareContainer.h: make isEqual and isUnique adaptable
471 * CutAndPaste.C: make resetOwnerAndChanges adaptable
473 2004-01-07 Angus Leeming <leeming@lyx.org>
476 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
478 * BufferView_pimpl.C (dispatch): act on these LFUNs.
480 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
481 functions replacing find, replace and replaceAll.
483 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
484 LFUN_WORDFIND(FORWARD|BACKWARD).
486 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
488 * text.C (breakParagraph): remove an outdated #warning
490 2004-01-07 André Pönitz <poenitz@gmx.net>
492 * lyxfind.C: somewhat clearer logic
494 * text.C: prevent crash in cursorX on unitialized row cache
496 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
498 * lyxcursor.[Ch] (operator>): add
499 * textcursor.C (selStart, selEnd): use std::min and std::max
501 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
503 * Chktex.C: include boost/format.hpp
505 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
507 * InsetList.C: replace functor MathcIt with adaptable functor
509 (insetIterator): modify accordingly
511 * BranchList.h: move the BranchNamesEqual functor here from...
512 * BranchList.C: ... to here
514 * BranchList.C: new BranchListEqual fuctor, use it. Remove
516 (add): replace a finding loop with std::find_if.
518 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
520 * output_docbook.C: moving LatexParam functionality into
523 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
525 * buffer.C: increment format to 229.
527 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
530 * lyx_sty.[Ch]: remove minipageindent_def
536 * text3.C: remove LFUN_INSET_MINIPAGE
538 2003-12-28 Angus Leeming <leeming@lyx.org>
540 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
542 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
544 * text2.C (setParagraph): fix off-by-one crash
546 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
548 * output_docbook.C: header stuff for AGU
550 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
552 * text2.C (redoCursor): remove
555 * BufferView_pimpl.C: remove calls to redoCursor and
556 setCursor(cursor.par(), cursor.pos()) all around
558 2003-12-15 Angus Leeming <leeming@lyx.org>
560 * buffer.C: up the format to 228.
562 2003-12-15 André Pönitz <poenitz@gmx.net>
564 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
569 * BufferView_pimpl.C:
578 2003-12-15 Angus Leeming <leeming@lyx.org>
580 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
581 than getFromGUIName to manipulate the color.
583 2003-12-14 Angus Leeming <leeming@lyx.org>
585 * BranchList.[Ch]: minimize the API.
586 (Branch::getBranch, getColor): now return a 'const &'.
587 (Branch::setSelected) now returns a bool set to true if the
588 selection status changes.
589 (BranchList::clear, size, getColor, setColor, setSelected,
590 allBranches, allSelected, separator): removed.
591 (BranchList::find): new functions, returning the Branch with
593 (BranchList::add, remove): return a bool indicating that
594 the operation was successful.
596 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
597 new InsetBranch::isBranchSlected member function.
599 * LColor.[Ch]: mimimize the API.
600 (fill): renamed as addColor and made private.
601 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
602 versions of these functions taking a string arg have been removed.
604 * bufferparams.C (readToken):
605 * lyxfunc.C (dispatch):
606 * lyxrc.C (read): changes due to the altered BranchList and
609 * factory.C (createInset, readInset): changes due to altered
612 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
615 * lyxfunc.C: remove insetminipage. "minipage-insert"
616 now produces a frameless minipage box inset.
618 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
620 * textcursor.[Ch] (selStart,selEnd): add new methods
621 remove selection::start, end, use LyXCursor::operator<
622 * lyxcursor.[Ch] (operator<): add
623 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
624 * BufferView.[Ch] (unsetXSel): add
625 * text2.C (clearSelection): use unsetXSel,adjust
628 * rowpainter.C: adjust
629 * bufferview_funcs.C (put_selection_at): adjust
631 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
633 * BufferView_pimpl.C: small coord. correction
635 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
637 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
638 dragging over the splash screen.
640 2003-12-11 Angus Leeming <leeming@lyx.org>
642 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
643 as it is now handled in LyXText::dispatch.
645 * text3.C (doInsertInset): remove a level of nesting.
647 2003-12-11 Angus Leeming <leeming@lyx.org>
649 * factory.C (createInset): changes due to the changed interface to
650 InsetCommandMailer::string2params.
652 2003-12-10 Angus Leeming <leeming@lyx.org>
654 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
655 'dialog-show-new-inset <inset name>'
657 2003-12-10 Angus Leeming <leeming@lyx.org>
659 * buffer.C: up the format to 227.
661 * factory.C: the box inset is now identified simply by 'Box'.
663 2003-12-10 Angus Leeming <leeming@lyx.org>
665 * buffer.C: up the format to 226.
667 * factory.C: the note inset is now identified simply by 'Note'.
669 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
671 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
672 when a pit is enough. Standarize a couple of loops.
674 2003-12-05 Angus Leeming <leeming@lyx.org>
676 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
677 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
678 data to the re-worked "log" dialog.
680 2003-12-03 André Pönitz <poenitz@gmx.net>
688 * text2.C: use Inset::getText instead of Inset::getParagraph
690 2003-12-03 André Pönitz <poenitz@gmx.net>
694 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
695 InsetText::read() as LyXText::read()
697 2003-12-02 Angus Leeming <leeming@lyx.org>
699 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
700 type. Add a comment in the implementation that the function uses
701 the stream's bad() function rather than fail() as the std::streams
704 2003-12-02 André Pönitz <poenitz@gmx.net>
706 * lyxlex.[Ch]: make interface more similar to std::stream
708 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
710 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
712 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
714 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
716 * vspace.[Ch]: remove VSpace::NONE
718 2003-12-01 André Pönitz <poenitz@gmx.net>
721 * lyxtext.h: move ParagraphList member to LyXText
722 rename LyXText::ownerParagraphs to LyXText::paragraph
725 * bufferview_funcs.C:
735 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
737 * undo.C: fix cursor positioning
739 2003-12-01 John Levon <levon@movementarian.org>
741 * BufferView_pimpl.C: fix a crash on exit with
744 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
746 * BranchList.C: fix setSelected() method.
748 2003-11-28 André Pönitz <poenitz@gmx.net>
750 * ParagraphParameters.[Ch]:
751 * ParameterStruct.h: remove space above/below from Paragraph to
754 * BufferView_pimpl.C:
766 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
768 * factory.C: Syntax change for CharStyles
770 2003-11-28 André Pönitz <poenitz@gmx.net>
775 * buffer.[Ch]: move LyXText member
777 2003-11-28 André Pönitz <poenitz@gmx.net>
779 * BufferView.[Ch]: make LyXText * text a private member
781 * BufferView_pimpl.C:
792 * output_plaintext.C: cleanup
794 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
797 * lyxtextclass.[Ch]: parametrize SGML document header
799 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
802 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
805 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
807 * text2.C (setFont): rework using PosIterator (no more recursive)
808 (setCharFont): no more needed
809 (setLayout): no more selection cursors fiddling (done by redoCursor)
810 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
811 destroy remaining ones)
813 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
815 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
817 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
820 * text3.C: adjust + re-allow multi par depth changes
821 * textcursor.C: simplify a bit
823 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
829 * src/output_docbook.C:
830 * src/output_latex.C:
835 * src/text2.C: Introducing a number of tags parametrizing various
836 XML formats that we may want to support
838 2003-11-25 André Pönitz <poenitz@gmx.net>
840 * InsetList.[Ch] (begein, end): inline as suggested by profiler
842 * lyxtext.h (leftMargin/rightMargin): simplify interface
849 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
851 * lyxfunc.C (dispatch): propogate the bibtex databases from the
852 master file to any child files. Fixes bug 546.
854 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
856 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
858 2003-11-24 André Pönitz <poenitz@gmx.net>
860 * rowpainter.C: simplification
862 * text2.C (updateCounters): remove call to redoParagraph on
863 changed labels as this is far too expensive.
865 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
867 * converter.C (convert): fix a crash: this function gets
868 called with buffer == 0 from importer code.
870 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
872 * text3.C (cursorPrevious): make sure that we do not compare
873 iterators form different containers.
876 * rowpainter.C (paintSelection): make sure that we do not compare
877 iterators from different containers.
879 * text3.C (dispatch): [PRIOR] make sure that we do not compare
880 iterators from different ParagraphList containers.
883 * text2.C (LyXText): change order of initialization slightly
884 (operator=): new function. copy all variables except cache_par_
885 (moveUp): make sure that we do not compare iterators from
886 different ParagraphList constainers.
889 * text.C (firstPar): new function
890 (lastPar): new function
891 (endPar): new function
893 * lyxtext.h: move things around and group public functions, public
894 variables, private functions, private variables
896 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
898 * factory.C: change call to InsetERT constructor to avoid
899 additional invocation of method status
900 * text2.C (toggleInset): remove redundant update() call
901 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
902 instead of a Bufferview pointer
904 2003-11-21 André Pönitz <poenitz@gmx.net>
906 * rowpainter.C: simplification
908 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
910 * text3.C (dispatch): make possible to extend a word/row selection
913 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
915 * lyxtext.h: x0_,y0_ -> xo_,yo_
916 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
917 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
918 * rowpainter.C (paintRows): paint full paragraphs
920 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
922 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
925 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
927 * lyxtext.h: add x0_, y0_
928 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
929 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
931 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
933 * text2.C (setCursorIntern): move the x_target update here *
934 * text3.C: change some bv() to true/false in calls to
935 cursorUp/Down/Right/Left
936 * cursor.C: use helper function.
938 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
940 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
941 * paragraph_funcs.[Ch]: correct comment
942 * rowpainter.C: do not paint selections away from bv->cursor()
943 Fix a long standing selection painting bug.
944 * text3.C: generalize mouse-selection code to LyXTexts other that
946 * textcursor.C: do not use y coords if we can use par offsets
948 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
950 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
951 cursor position after e.g. inset insert)
953 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
955 * lyxfind.C (replace): adjust to locking removal + some
958 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
960 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
963 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
966 * output_docbook.C: XML sanitation: new layout
967 parameters InnerTag and CommandDepth
969 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
971 * BufferView_pimpl.C:
973 * text3.C: Fix the insertion and modification of button-style
976 2003-11-13 André Pönitz <poenitz@gmx.net>
978 * InsetList.[Ch]: remove deleteLyXText
980 * paragraph.[Ch]: cache beginOfBody position
985 * text3.C: remove superfluous update() calls
989 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
991 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
992 * BufferView.C (fitLockedInsetCursor): remove
993 * cursor.[Ch] (getDim): add
994 * text.C (getRowNearY): add faster version
995 * text3.C: remove some update calls
997 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1009 * text3.C: The Character Style /XML short element patch.
1011 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
1014 * factory.C: Small step to solving 'unable to insert some insets'
1017 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1019 * cursor.[Ch] (updatePos): new function for updating the y
1020 position of the tip inset
1021 * bufferview_funcs.C (put_selection_at):
1022 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1024 2003-11-11 André Pönitz <poenitz@gmx.net>
1026 * text.C: remove big comment on invalid Paragraph pointers as it is
1029 2003-11-11 André Pönitz <poenitz@gmx.net>
1031 * text_funcs.[Ch]: merge with ...
1039 * Makefile.am: remove text_funcs.[Ch]
1041 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1043 * cursor.C (getPos): return absolute cached y coord
1045 * BufferView_pimpl.C (fitCursor): new simplistic code
1046 (workAreaDispatch): add a fitCursor call
1048 2003-11-10 André Pönitz <poenitz@gmx.net>
1051 * BufferView_pimpl.[Ch]: merge update() and updateInset()
1053 2003-11-10 André Pönitz <poenitz@gmx.net>
1055 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1056 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1057 indicate that the cursor needs to leave an inset
1059 * lyxtext.h: remove inset locking
1061 * cursor.[Ch]: re-implement functionality provided by inset locking
1064 * BufferView_pimpl.[Ch]:
1066 * bufferview_funcs.[Ch]:
1078 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1080 * PosIterator.[Ch]: replace the stack with a vector, add inset
1082 * iterators.[C]: adjust
1084 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1086 * lyxfind.C (replaceAll): mark the buffer dirty if something was
1088 * paragraph_funcs.C (readParToken): put the correct id in the
1089 error item, not the id of the top paragraph
1091 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1093 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1094 * bufferview_funcs.C (put_selection_at): use the above
1096 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1098 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1100 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1102 * output_linuxdoc.h:
1103 * output_plaintext.h:
1105 * output_docbook.h: add #include statements
1107 2003-11-05 José Matos <jamatos@lyx.org>
1109 * output_docbook.[Ch]:
1110 * output_latex.[Ch]:
1111 * output_linuxdoc.[Ch]:
1112 * output_plaintext.[Ch]: New files for output formats.
1113 * output.[Ch]: New file for helper functions.
1116 * paragraph_funcs.[Ch]: output functions moved to new files.
1118 * outputparams.h: rename of latexrunparams.h
1126 * paragraph_funcs.[Ch]:
1127 * paragraph_pimpl.[Ch]:
1128 * tabular.[Ch]: rename ascii to plaintext
1129 and LatexRunParams to OutputParams.
1131 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1133 * iterators.[Ch] (text): require bv argument
1134 * undo.C (recordUndo):
1135 * lyxfunc.C (dispatch):
1136 * bufferview_funcs.C (put_selection_at): adjust
1138 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
1140 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1142 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1144 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1147 2003-11-04 André Pönitz <poenitz@gmx.net>
1149 * cursor.[Ch]: restructure
1152 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1154 * iterators.[Ch] (asCursor): remove
1156 * lfuns.h: remove LFUN_INSET_EDIT
1162 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1164 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1166 * lyxfind.[Ch]: complete overhaul
1167 * BufferView_pimpl.C:
1169 * paragraph.[Ch] (insert): add
1171 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1175 * text.C: remove dead spellcheck code
1177 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1179 * dispatchresult.h: add a val setter
1181 * cursor.C (dispatch): use a tempvar for data_[i]
1183 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1185 * PosIterator.[Ch]: compile fix
1187 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1189 * text.C (cursorPar): deactivate the cursor cache
1191 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1193 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1195 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1197 * text3.C (dispatch): adjust for new DisptchResult semantics.
1199 * lyxfunc.C (dispatch): handle update when return from
1200 Cursor::dispatch, adjust for new DispatchResult semantics.
1202 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1203 DispatchResult(true) mean to not update. Add class functions for
1204 setting dispatched and update, as well as reading.
1206 * cursor.C (dispatch): don't handle update here
1208 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1210 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1211 * trans_mgr.C: adjust
1213 * paragraph_funcs.C (readParToken): exception safety
1215 * lyxvc.h: store the vcs pointer in a scoped_ptr
1218 * lyxsocket.C (serverCallback): exception safety
1220 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1222 * ispell.C (clone): make it return a auto_ptr
1224 * factory.C (createInset): exception safety
1225 (readInset): exception safety
1227 * bufferlist.C (newBuffer): exception safety
1229 * Thesaurus.C (Thesaurus): use initialization for aik_
1231 * MenuBackend.C (expandToc): exception safety.
1233 2003-11-03 André Pönitz <poenitz@gmx.net>
1237 * bufferview_funcs.C: remove getInsetFromId()
1240 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1246 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1248 * PosIterator.C (distance, advance): new
1249 * bufferview_funcs.[Ch] (put_selection_at): new
1250 * iterators.[Ch] (lockPath): new
1252 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
1254 * iterators.[Ch] (asPosIterator): added
1255 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1256 * PosIterator.[Ch]: added
1258 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1262 * cursor.C (dispatch):
1263 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1265 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1266 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1267 contructor, add a class function dispatched. Remove operator>=
1269 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1271 * debug.C: only use the default constructor for debugstream
1274 * main.C (main): include debug.h and setup the lyxerr streambuf
1277 2003-10-31 José Matos <jamatos@lyx.org>
1279 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1281 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1282 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1283 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1284 * paragraph_pimpl.C (simpleTeXSpecialC):
1285 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1286 add LatexRunParams argument.
1288 * exporter.C (Export): change call accordingly.
1290 * latexrunparams.h: add new member to take care of the other backends.
1291 2003-10-30 José Matos <jamatos@lyx.org>
1293 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1294 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1295 factorise code for paragraph output.
1297 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1300 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1302 * text3.C (dispatch):
1303 * lyxfunc.C (dispatch):
1304 * cursor.C (dispatch):
1305 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1307 * dispatchresult.h: make the dispatch_result_t ctor explicit
1309 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1312 * buffer.C: small refactoring of docbook stuff
1314 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1316 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1319 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1321 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1322 operator dispatch_result_t, and operators for == != and >=
1324 * cursor.C (dispatch): adjust for operator dispatch_result_t
1325 removal. comment out call to update
1327 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1329 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1337 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1340 * dispatchresult.h: new file, DispatchResult broken out of
1343 * Makefile.am (lyx_SOURCES): add dispatchresult.h
1345 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1347 * text.C (rowBreakPoint): put a hack inside #if 0
1349 2003-10-28 André Pönitz <poenitz@gmx.net>
1353 * paragraph_funcs.C:
1356 * text2.C: general cleanup (lots of small stuff)
1358 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1360 * text2.C (cursorEnd): simple fix to the "end key goes to one
1361 before the end on last row" bug
1363 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1365 * text.C (backspace): fix the "zombie characters"
1367 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1369 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1371 2003-10-27 André Pönitz <poenitz@gmx.net>
1373 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1375 * factory.C: handle new InsetPagebreak, InsetLine
1377 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1378 and move handling into new InsetPagebreak, InsetLine
1380 * BufferView_pimpl.C:
1382 * ParagraphParameters.C:
1383 * ParameterStruct.h:
1388 * paragraph_funcs.C:
1389 * paragraph_pimpl.C:
1395 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1398 * lyxrow_funcs.[Ch]:
1404 * text3.C: remove lastPos uses in favour of Row::endpos
1406 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1408 * undo.C (performUndoOrRedo): fix two crashes by setting a
1409 cursor by hand and reordering some calls. Use bv->lockInset instead
1410 of inset->edit because the latter loses cursor information
1412 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
1414 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1416 (rowBreakPoint): fix width. change point to point + 1.
1417 Add a missing check.
1419 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
1422 * lyxfunc.C: fix (at least partly) the problems
1423 with the Nav menu and headers inside branch insets
1426 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
1428 * paragraph.C (getChar): add strong asserts
1430 * lyxrow_funcs.C (lastPos): remove hideous hack
1432 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1433 (fill): adjust to that (avoid an infinite loop)
1435 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1437 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1439 2003-10-23 André Pönitz <poenitz@gmx.net>
1441 * RowList_fwd.h: change list<> to vector<> to gain speed
1442 after suggestion from Alfredo
1444 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1446 * lyxtext.h: move the bidi stuff from here...
1449 * Bidi.[Ch]: ... to here
1451 2003-10-23 André Pönitz <poenitz@gmx.net>
1454 * text.C (isLastRow, isFirstRow): new functions
1456 * paragraph.h: new width cache member
1458 * rowpainter.C: replace RowList::iterator with Row & where possible
1460 * lyxfunc.C: replace several view()->text with a single call
1462 * toc.C: fix 'unused' warning
1464 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1466 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1467 when woring with stream::pos_type
1468 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1470 2003-10-22 André Pönitz <poenitz@gmx.net>
1473 * text.C: use Row & instead of RowList::iterator
1475 * lyxrow.h: rename end() to endpos()
1481 2003-10-22 Angus Leeming <leeming@lyx.org>
1483 * buffer.[Ch] (fully_loaded): new member function, returning true
1484 only when the file has been loaded fully.
1485 Used to prevent the premature generation of previews and by the
1486 citation inset to prevent computation of the natbib-style label.
1488 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1489 templates are all set up.
1491 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1493 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
1495 * text.C: fixed an "oops" in the "is a bit silly"
1498 2003-10-21 André Pönitz <poenitz@gmx.net>
1500 * FuncStatus.[Ch]: small stuff, whitespace
1502 * lyxfont.[Ch]: operator<<() for debug reasons
1506 * lyxtext.h: whitespace, spelling
1508 * paragraph.C: naming of variables
1511 * text2.C: small stuff
1514 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1516 * text.C: (1) finish off the inset display() work;
1517 (2) fix the "is a bit silly" bug (accessing char
1520 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1522 * text.C: re-introduce display() for insets, fixing the
1523 various bugs (stretch of line above, math inset
1526 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1528 * text.C (rightMargin): remove spurious semicolon
1530 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1533 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1535 * text3.C: fix one crash due to wrong cursor def
1537 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1539 * vc-backend.C (scanMaster): make the regex static
1541 * LaTeX.C (scanAuxFile): make the regexs static
1543 * text3.C (doInsertInset, dispatch, dispatch):
1544 * text2.C (cursorUp, cursorDown):
1545 * text.C (selectNextWordToSpellcheck):
1546 * BufferView_pimpl.C (dispatch):
1547 * lyxfunc.C (dispatch): localDispatch -> dispatch
1549 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1551 * lyxsocket.C: include <cerrno>
1553 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1555 * lyxfunc.C (dispatch): remove textcache stuff
1557 * bufferlist.C (release): remove textcache stuff
1560 * TextCache.C: delete file
1561 * TextCache.h: delete file
1563 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1565 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1566 delete of the bv_->text.
1567 (resizeCurrentBuffer): remove texcache stuff
1568 (workAreaResize): ditto
1570 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1572 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1575 2003-10-16 André Pönitz <poenitz@gmx.net>
1582 * text3.C: speed up by storing y positions per paragraph plus per-row
1583 offset instead of having a 'full' y position in the row.
1585 2003-10-15 André Pönitz <poenitz@gmx.net>
1589 * undo.[Ch]: make undo aware of inner insets
1591 2003-10-14 Angus Leeming <leeming@lyx.org>
1593 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1594 static member functions LyX::ref() and LyX::cref.
1595 (lastfiles): new accessor functions for the new lastfiles_ member var.
1596 (addLyXView, views_): add a new LyXView to the list of views_.
1597 (updateInset): loop over all LyXViews to call their own updateInset
1598 member function, returning a pointer to the Buffer owning the inset.
1600 * BufferView_pimpl.C (loadLyXFile):
1601 * MenuBackend.C (expandLastfiles):
1602 * bufferlist.C (MenuWrite, QuitLyX):
1603 lastfiles is no longer a global variable.
1604 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1606 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1607 static function. Access through LyX::cref().emergencyCleanup().
1609 2003-10-14 André Pönitz <poenitz@gmx.net>
1611 * iterators.[Ch]: new direct access to innermost LyXText and Inset
1613 * undo.[Ch]: restoring part of 'undo in insets'
1616 * undo_funcs.[Ch]: merge with undo.[Ch]
1618 * tabular.C: small cleansing stuff
1620 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
1622 * paragraph_funcs.C (readParToken): report unknown insets as error
1623 boxes. Use the outer paragraph as location (also for unknown
1626 * factory.C (readInset): do not abort on reading an unknown inset.
1627 Eat it and return 0.
1629 2003-10-13 Angus Leeming <leeming@lyx.org>
1631 * lyx_main.C (LyX): remove call to setDisplayTranslator().
1633 * lyxrc.C: displayTranslator is now a function,
1634 declared in GraphicsTypes.h.
1636 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1638 * format.C: new placeholder $$a to pass the socket address.
1640 * bufferlist.[Ch]: new function getBufferFromTmp.
1642 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1643 files in the temporary dir.
1645 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1647 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1649 * Makefile.am: add lyxsocket.[Ch].
1651 * lyx_main.C (error_handler): handle SIGPIPE.
1653 2003-10-13 André Pönitz <poenitz@gmx.net>
1655 * BufferView_pimpl.C:
1660 * undo_funcs.[Ch]: use paroffset_type instead of
1661 ParagraphList::iterators to prevent multiple conversion
1662 (and get a more robust interface)
1664 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1666 * lyxfunc.C (dispatch): RESULT -> dispatch_result
1668 * text3.C (dispatch): ditto
1670 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1672 * LaTeX.C (handleFoundFile): move the static to smaller scope,
1673 move the onlyfile, use onlyfile instead of foundfile in a couple
1676 * DepTable.C (update): flush the error stream a bit more
1678 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1680 * lyxserver.C (callback): adjust
1682 * lyxfunc.C (getStatus): add a missing brace in commented code
1683 (ensureBufferClean): reindent
1684 (dispatch): delete version taking a string
1686 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1688 * LaTeX.C (deplog): move found file handlig from here...
1689 (handleFoundFile): .. to new function here.
1690 (deplog): make sure to discover several files mentioned on the
1693 2003-10-10 André Pönitz <poenitz@gmx.net>
1700 * text3.C: fix some of the tabular crashes
1702 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1704 * MenuBackend.C (binding): put debug message into Debug::KBMAP
1706 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1708 2003-10-09 André Pönitz <poenitz@gmx.net>
1710 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1713 * BufferView_pimpl.C:
1714 * bufferview_funcs.C:
1725 * undo_funcs.C: adjust
1727 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1729 * text2.C (incrementItemDepth): new function, use a backtracking
1730 algorithm to discover the correct item depth.
1731 (resetEnumCounterIfNeeded): new function, use a backtracking
1732 algorithm to discover if counter reset is needed.
1733 (setCounter): use them. Simplify a bit. Add different labels for
1734 different item depths for itemize.
1736 * paragraph.C (Paragraph): remove initialization of enumdepth
1739 * paragraph.h: get rid of enumdepth, and use itemdepth both for
1740 enumerate and itemize. Change the type of itemdepth to signed char.
1742 2003-10-08 André Pönitz <poenitz@gmx.net>
1744 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1749 * tabular.[Ch]: fix crash after 'row-insert'
1751 2003-10-08 Angus Leeming <leeming@lyx.org>
1753 Fix doxygen warnings.
1755 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1756 Remove CutAndPaste:: prefix from header file declaration.
1758 * LColor.h (fill): remove LColor:: prefix from declaration.
1760 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1761 use lyx::depth_type rather than Paragraph::depth_type so that
1762 header file and .C file match.
1764 * converter.h (intToFormat): remove Converters:: prefix from declaration.
1766 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1767 * aspell.C: \file aspell_local.C -> \file aspell.C
1768 * gettext.C: \file gettext.C -> \file src/gettext.C
1769 * gettext.h: \file gettext.h -> \file src/gettext.h
1770 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1771 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1772 * text.C: \file text.C -> \file src/text.C
1774 * toc.C: move comment so that doxygen is not confused.
1776 2003-10-07 Angus Leeming <leeming@lyx.org>
1778 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1780 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1783 * aspell_local.h: add forgotten std::string's.
1785 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1792 * text3.C: The Box patch. Fancybox support, minipage, parbox
1794 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1800 * ParagraphParameters.h:
1810 * lyxtextclasslist.h:
1813 * paragraph_pimpl.C:
1814 * textcursor.h: add <string> and other small fixes to make Lars'
1815 std::string patch compile with STLport.
1817 2003-10-06 Angus Leeming <leeming@lyx.org>
1819 * LColor.h: Add missing #include <string>.
1821 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1823 * All most all file in all subdirs: Make <string> be the prefered
1824 way of getting to std::string, add using declarations.
1826 2003-10-06 André Pönitz <poenitz@gmx.net>
1828 * metricsinfo.C: initialize LyXFont before changing attribute.
1829 (fixes the 'math in \emph is upright' bug)
1831 2003-10-06 André Pönitz <poenitz@gmx.net>
1833 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1835 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
1838 * paragraph_pimpl.C: Small fixes to build using STLport
1840 2003-10-02 André Pönitz <poenitz@gmx.net>
1843 * text3.C: move handling of LFUN_DEPTH *; fix #1360
1845 2003-10-01 André Pönitz <poenitz@gmx.net>
1847 * factory.C: assert early
1849 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1851 * lyx_main.C: remove the global debug object
1853 * debug.h: adjust for new debugstream
1855 * debug.C: adjust for new debugstream and keep the global debug
1858 2003-09-22 Angus Leeming <leeming@lyx.org>
1860 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1861 of g++ which otherwise complain that the scoped_ptr destructor can't delete
1862 an incomplete class LyXFont.
1864 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1866 * factory.C: bug fix in branches
1868 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1870 * lyxfunc.C (processKeySym): adjust
1872 (dispatch): change arg name from ev to func, adjust
1873 (sendDispatchMessage): ditto
1875 * lyx_main.C (defaultKeyBindings): adjust keybindings
1876 (deadKeyBindings): ditto
1878 * kbsequence.C (addkey): return a FuncRequest
1880 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1882 * kbmap.C (bind): take a FuncRequest as arg, adjust
1885 (defkey): change to take a FuncRequest as arg, adjust
1886 (findbinding): take a FuncRequest as arg, adjust.
1888 * funcrequest.h (operator=): added
1890 * funcrequest.C (FuncRequest): default kb_action changed from
1891 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1893 * buffer.C (dispatch): simplify
1894 (dispatch): adjust to take a FuncRequest as arg, adjust
1896 * boost.C (assertion_failed): change assertion message slightly
1898 * ToolbarBackend.C (read): simplify
1900 * MenuBackend.C (binding): adjust call to findbinding, add a
1901 message if no binding is found.
1903 (expandToc): correct by adding a empty FuncRequest
1905 * LyXAction.C: include <boost/assert.hpp>
1906 (isPseudoAction): delete function
1907 (LookupFunc): change name to...
1908 (lookupFunc): this. change return type to FuncRequest.
1909 (getActionName): take kb_action as arg, simplify
1910 (funcHasFlag): add an assert, simplify.
1912 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1914 * toc.C (action): return a FuncRequest, simplify
1916 * lyxfunc.C (processKeySym): adjust
1917 (getStatus): delete version that takes an int.
1919 (dispatch): delete version that takes action as int
1921 (sendDispatchMessage): simplify and adjust
1923 * funcrequest.C (getArg): take unsigned int as arg
1925 * ToolbarBackend.C (read): adjust
1926 (add): delete version that takes func as a string.
1927 (getIton): take a FuncRequest as arg
1929 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1932 * MenuBackend.C (MenuItem): add a new construct that only takes a
1933 Kind, simplify the constructor use for submenus.
1935 (expandLastfiles): adjust
1936 (expandDocuments): adjust
1937 (expandFormats): adjust
1938 (expandFloatListInsert): adjust
1939 (expandFloatInsert): adjust
1940 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1942 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1943 Remove class variables lyx_pseudo_map and lyx_arg_map
1945 * LyXAction.C (searchActionArg): delete function
1946 (getPseudoAction): delete function
1947 (retrieveActionArg): delete function
1948 (LookupFunc): make it return kb_action, simplify.
1949 (getActionName): simplify
1951 * factory.C (createInset): fix new bug
1953 2003-09-19 Angus Leeming <leeming@lyx.org>
1955 * CutAndPaste.C (pasteSelection): remove fudge used to set the
1956 masterFilename_ parameter in the include inset.
1958 * factory.C (createInset): changes due to the changes to InsetInclude.
1960 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1962 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1964 2003-09-18 Angus Leeming <leeming@lyx.org>
1967 * BufferView.C: pass the buffer when calling Inset::getLabelList,
1968 Inset::fillWithBibKeys.
1969 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1971 2003-09-18 Angus Leeming <leeming@lyx.org>
1973 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1975 (ctor): pass and store a 'Buffer const &'
1976 (buffer): new member function.
1978 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1979 '*this' to the LaTeXFeatures ctor.
1981 2003-09-18 Angus Leeming <leeming@lyx.org>
1987 * text.C: rename EnumLColor as LColor_color.
1989 2003-09-18 Angus Leeming <leeming@lyx.org>
1991 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1992 remove #include "insets/insetbase.h" from cursor.h.
1994 2003-09-18 Angus Leeming <leeming@lyx.org>
1996 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1997 InsetOld_code to remove #include "inset.h".
1999 * iterators.C: add #include "insets/inset.h"
2001 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
2003 * BufferView.C: remove more locking stuff that apparently doesn't
2004 do anything sensible.
2006 2003-09-16 André Pönitz <poenitz@gmx.net>
2009 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2012 2003-09-16 Angus Leeming <leeming@lyx.org>
2014 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2016 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2019 * paragraph.h: remove #include "lyxfont.h". Forward declare
2022 2003-09-16 Angus Leeming <leeming@lyx.org>
2024 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2025 of support/textutils.h.
2026 (isWord): move the contents of support/textutils.h's IsWordChar here.
2032 * text2.C: add #include "paragraph.h".
2035 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2037 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2043 * LaTeX.C: use namespace alias for lyx::support::os
2045 2003-09-16 Angus Leeming <leeming@lyx.org>
2048 * bufferview_funcs.C:
2051 * paragraph_pimpl.C:
2053 * text.C: add #include "LColor.h".
2055 2003-09-16 Angus Leeming <leeming@lyx.org>
2057 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2058 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2060 Store the FontBits::color variable as an int rather than as an
2061 LColor::colorso that we can move LColor.h out of the lyxfont.h header
2064 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2065 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2066 string calls together.
2068 * lyxrc.C: add #include "LColor.h".
2070 2003-09-15 Angus Leeming <leeming@lyx.org>
2072 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2075 2003-09-15 Angus Leeming <leeming@lyx.org>
2077 * LColor.h: add an EnumLColor wrapper for LColor::color.
2079 * lyxfont.[Ch] (color, setColor, realColor):
2080 * lyxtext.h, text.C (backgroundColor):
2081 pass EnumLColor args to/from the functions, rather than LColor::color
2085 * lyxtext.h: forward declare EnumLColor.
2087 * lyx_main.C: add #include "LColor.h".
2089 2003-09-15 Angus Leeming <leeming@lyx.org>
2091 * .cvsignore: add lyx-gtk.
2093 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2098 * ParagraphParameters.C
2102 * bufferview_funcs.C
2112 * vc-backend.C: remove usage of STRCONV
2114 2003-09-15 Angus Leeming <leeming@lyx.org>
2116 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2117 explicitly define the color passed to the painter.
2119 2003-09-15 Angus Leeming <leeming@lyx.org>
2121 * bufferparams.C (BufferParams): reorder member initializers to avoid
2124 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
2126 * CutAndPaste.C (pasteSelection): remove an outdated #warning
2127 * text.C (updateRowPositions): remove an unusual nop
2129 2003-09-12 André Pönitz <poenitz@gmx.net>
2131 * BufferView_pimpl.C:
2140 * Counters.[Ch]: finish the 'automatic counters' job
2142 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2144 * aspell.C: include <boost/assert.cpp> (compile fix)
2146 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2148 * boost.C (assertion_failed): use lyx::support::abort instead of
2151 2003-09-10 Angus Leeming <leeming@lyx.org>
2153 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2154 with their _fwd progeny.
2156 2003-09-09 Angus Leeming <leeming@lyx.org>
2158 134 files throughtout the source tree: replace 'using namespace abc;'
2159 directives with the appropriate 'using abc::xyz;' declarations.
2161 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2163 * boost.C (emergencyCleanup): moved here from LAssert.c
2164 (assertion_failed): new function, called by BOOST_ASSERT
2166 * several files: change Assert to BOOST_ASSERT
2168 2003-09-09 Angus Leeming <leeming@lyx.org>
2170 * buffer.[Ch]: Add an Impl class and move Buffer's member
2171 variables into it. As a result move several header files out of
2174 Add header files to lots of .C files all over the tree as a result.
2176 2003-09-09 Angus Leeming <leeming@lyx.org>
2178 * buffer.[Ch]: make Buffer's member variables private. Add
2181 Lots of changes all over the tree as a result.
2183 2003-09-08 Angus Leeming <leeming@lyx.org>
2185 * graph.C: #include <config.h>.
2187 2003-09-08 Angus Leeming <leeming@lyx.org>
2191 * BufferView_pimpl.C:
2220 * toc.C: remove redundant using directives.
2222 2003-09-07 Angus Leeming <leeming@lyx.org>
2224 * LaTeXFeatures.h: remove #include "support/types.h".
2225 * ToolbarBackend.h: remove #include <algorithm>.
2226 * changes.h: remove #include <ctime>.
2227 * debug.h: remove #include <iosfwd>.
2228 * graph.h: remove #include "support/std_string.h".
2229 * lyx_main.h: remove #include <csignal>.
2230 * lyxlex_pimpl.h: remove #include <fstream>.
2231 * sgml.h: remove #include <algorithm>, <utility>.
2232 * toc.h: remove #include "support/std_ostream.h".
2233 Add #include <iosfwd>.
2235 2003-09-07 Angus Leeming <leeming@lyx.org>
2237 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2239 * converter.h: forward declare LatexRunParams.
2240 * encoding.h: remove #include "lyxrc.h".
2241 * lyxtext.h: remove #include "LColor.h".
2242 * lyxtextclass.h: remove #include "support/types.h".
2243 * trans.h: remove #include "tex-accent.h".
2244 * trans_mgr.h: remove #include "tex-accent.h".
2245 * insets/inset.h: remove #include "support/types.h", <vector>.
2246 * insets/insetcollapsable.h: remove #include "LColor.h".
2247 * insets/insetinclude.h: remove #include "dimension.h".
2248 * insets/insetlatexaccent.h: remove #include "dimension.h".
2249 * insets/insetoptarg.h:: remove #include "insettext.h".
2250 * insets/insettext.h: remove #include "dimension.h",
2251 <boost/shared_ptr.hpp>
2253 * insets/renderers.h: add #include "dimension.h".
2254 * insets/updatableinset.h: add #include "support/types.h".
2256 * many .C files: Associated changes.
2258 2003-09-06 Angus Leeming <leeming@lyx.org>
2260 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2261 one, inside testInvariant.
2263 * PrinterParams.C: new file.
2264 * PrinterParams.[Ch]: move the function bodies out of line.
2266 2003-09-06 Angus Leeming <leeming@lyx.org>
2268 * ParagraphParameters.h: forward declare ParameterStruct rather than
2269 including its header file.
2270 (depth): moved out-of-line.
2272 2003-09-06 Angus Leeming <leeming@lyx.org>
2274 * BufferView_pimpl.h:
2277 * lyxfunc.h: forward declare LyXKeySym rather than
2278 #include "frontends/LyXKeySym.h".
2280 * BufferView_pimpl.C:
2283 * lyxfunc.C: associated changes.
2285 2003-09-06 Angus Leeming <leeming@lyx.org>
2287 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2288 As a result, can remove the #include "insets/inset.h" from BufferView.h
2290 2003-09-06 Angus Leeming <leeming@lyx.org>
2292 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2293 As a result, can remove the #include "insets/inset.h" from BufferView.h
2295 2003-09-06 Angus Leeming <leeming@lyx.org>
2301 * bufferview_funcs.C:
2302 * BufferView_pimpl.C:
2307 * ParagraphParameters.C:
2312 * frontends/controllers/ControlDocument.C:
2313 * insets/insetcaption.C: rearrange the #includes into some sort of
2316 * buffer.h: remove #includes ErrorList.h, undo.h
2318 2003-09-06 Angus Leeming <leeming@lyx.org>
2320 * support/types.h: add a 'depth_type' typedef, used to store the
2321 nesting depth of a paragraph.
2324 * ParameterStruct.h: use this lyx::depth_type typedef rather than
2325 defining explicitly.
2328 * paragraph_funcs.h:
2329 * ParagraphParameters.h:
2330 * sgml.h: use lyx::depth_type rather than Paragraph or
2331 ParameterStruct's depth_type.
2334 * paragraph_funcs.h: no need to #include paragraph.h anymore.
2337 * BufferView_pimpl.C:
2339 * ParagraphParameters.C:
2342 * bufferview_funcs.C:
2349 * frontends/LyXView.C:
2350 * frontends/controllers/ControlDocument.C:
2351 * frontends/controllers/ControlErrorList.C:
2352 * insets/insetbibitem.C:
2353 * insets/insetbranch.C:
2354 * insets/insetcaption.C:
2355 * insets/insetcollapsable.C:
2356 * insets/insetenv.C:
2357 * insets/insetert.C:
2358 * insets/insetfloat.C:
2359 * insets/insetfoot.C:
2360 * insets/insetfootlike.C:
2361 * insets/insetnewline.C:
2362 * insets/insetquotes.C:
2363 * insets/insettabular.C:
2364 * insets/insettext.C:
2365 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2367 * frontends/controllers/ControlChanges.C: #include "changes.h".
2369 2003-09-06 Angus Leeming <leeming@lyx.org>
2371 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2372 than #including paragraph.h.
2375 * RowList.h: deleted. Superfluous.
2385 * insets/insettext.h: use ParagraphList_fwd.h rather than
2388 * paragraph.h: don't forward declare ParagraphList.
2391 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2392 rather than ParagraphList.h. paragraph.h is still needed for the
2393 Paragraph::depth_type parameters.
2395 * textcursor.h: enable it to compile stand-alone in light of the
2398 * bufferview_funcs.C:
2410 * frontends/controllers/ControlParagraph.C:
2411 * frontends/controllers/ControlTabular.C:
2412 * insets/insetmarginal.C:
2413 * insets/insetminipage.C:
2414 * insets/insetnote.C:
2415 * insets/insetoptarg.C: add header files needed to compile again.
2417 2003-09-06 Angus Leeming <leeming@lyx.org>
2419 * RowList_fwd.h: new file, forward-declaring Row rather than
2420 #including lyxrow.h.
2425 * insets/insettext.h: use it instead of RowList.h
2427 * bufferview_funcs.C:
2434 * text3.C: #include "RowList.h".
2436 2003-09-05 Angus Leeming <leeming@lyx.org>
2438 * factory.C (createInset):
2439 * vspace.C (c-tor): replace sscanf call with an istringstream.
2440 * ispell.C: re-add missing HP/UX headers.
2441 * lyxserver.C: re-add missing os2 headers.
2443 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
2452 * text3.C: re-add missing system headers, needed for 2.95.2.
2454 2003-09-05 Angus Leeming <leeming@lyx.org>
2456 Changes most place everywhere due to the removal of using directives
2457 from support/std_sstream.h.
2459 2003-09-05 Angus Leeming <leeming@lyx.org>
2461 Replace LString.h with support/std_string.h,
2462 Lsstream.h with support/std_sstream.h,
2463 support/LIstream.h with support/std_istream.h,
2464 support/LOstream.h with support/std_ostream.h.
2466 Changes resulting throughout the tree.
2468 2003-09-05 Angus Leeming <leeming@lyx.org>
2470 * sgml.h: ensure that the header file can be compiled stand-alone.
2471 * *.C: strip out redundant #includes. (320 in total.)
2473 2003-09-04 Angus Leeming <leeming@lyx.org>
2475 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2476 here (from getPackages).
2478 * debug.[Ch]: add a new EXTERNAL tag.
2480 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2482 * text2.C (cursorEnd): simplify
2484 (getColumnNearX): adjust
2486 * text.C (computeBidiTables): adjust
2489 * rowpainter.C (paintChars): adjust
2490 (paintSelection): adjust
2491 (paintChangeBar): adjust
2494 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2496 (numberOfSeparators): adjust
2498 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2504 * text3.C: Restricts the mouse click functionality
2505 of insets like bibtex, include, toc and floatlist to the visible
2506 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2507 up the dialogs. Cursor has to be in front of the inset (i.e.
2508 start of row) for this to function.
2510 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2512 * bufferview_funcs.C (currentState): output row information
2514 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2516 * bufferview_funcs.C (currentState): output paragraph position
2518 2003-09-04 Angus Leeming <leeming@lyx.org>
2520 * FloatList.h: move out #include "Floating.h".
2521 * LaTeX.h: move out #include "DepTable.h".
2522 * LyXAction.h: move out #include "funcrequest.h".
2523 * buffer.h: move out #include "author.h", "iterators.h".
2524 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2525 * lyx_main.h: move out #include "errorlist.h".
2526 * lyxfunc.h: move out #include "FuncStatus.h".
2527 * lyxtext: move out #include "lyxcursor.h".
2528 * paragraph_pimpl.h: move out #include "counters.h".
2530 2003-09-03 Angus Leeming <leeming@lyx.org>
2532 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2533 preamble_snippets list, enabling us to add snippets to the preamble
2534 only if the snippet was not there already.
2536 2003-09-04 Angus Leeming <leeming@lyx.org>
2538 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2540 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2542 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2545 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2547 * BranchList.C: point fix, earlier forgotten
2549 2003-09-02 Angus Leeming <leeming@lyx.org>
2551 * box.C (contains): renamed from 'contained' after a fantastic
2554 2003-09-02 John Levon <levon@movementarian.org>
2560 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2562 2003-09-02 John Levon <levon@movementarian.org>
2564 * text2.C: simplification of cursorEnd(), including partial
2567 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2569 * buffer.C (readFile): add a space
2571 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
2573 * BufferView_pimpl.C (update): remove bogus fitCursor() call
2575 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2577 * buffer.C (readFile): new function, take a filename and a
2578 ParagraphList::iterator
2580 (readFile): adjust, make it private. don't use setStream, make
2581 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2582 always contain the filename.
2584 * BufferView.C (insertLyXFile): simplify and make it work for
2587 2003-08-30 John Levon <levon@movementarian.org>
2589 * Makefile.am: fix dist (from Kayvan)
2591 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2593 * most files: change to use const Buffer refs
2595 2003-08-27 André Pönitz <poenitz@gmx.net>
2597 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2598 on top of ownerPar().
2600 2003-08-27 John Levon <levon@movementarian.org>
2602 * funcrequest.C: properly initialise POD members
2604 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2606 * lyxtext.h (top_y): move top_y from here
2611 * BufferView_pimpl.[Ch]: to here
2612 * frontends/screen.C:
2613 * insets/insettabular.C:
2614 * insets/insettext.C: adjust
2615 * rowpainter.[Ch] (paintRows): remove LyXText & argument
2617 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2620 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2622 2003-08-26 André Pönitz <poenitz@gmx.net>
2624 * paragraph_func.[Ch] (outerPar): new function
2627 * paragraph_funcs.C:
2628 * paragraph_funcs.h:
2629 * paragraph_pimpl.C:
2630 * text2.C: remove Inset::par_owner
2632 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2637 * text2.C: eliminates the needFullRow/display() stuff
2638 altogether, putting the logic in metrics/draw in the insets.
2640 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
2642 * text2.C (redoParagraphInternal, redoParagraphs):
2643 * text.C (redoParagraph): add a call to updateRowPositions at the
2644 end of each 'metrics-like' call. Remove all others.
2645 (getRow): remove the 'y-computing' version.
2646 (getRowNearY): do not compute nor return the real y. Solve the
2647 'y < 0' problem and simplify.
2649 2003-08-22 Angus Leeming <leeming@lyx.org>
2651 * *.[Ch]: clean-up of licence and author blurbs.
2652 Also move config.h out of a few .h files and into a few .C files.
2654 2003-08-22 André Pönitz <poenitz@gmx.net>
2656 * lyxrow.[Ch]: add x_ and *fill_ members
2661 * text2.C: adjust/remove prepareToPrint() calls
2663 2003-08-22 André Pönitz <poenitz@gmx.net>
2665 * lyxrow.[Ch]: add end_ member
2667 * lyxrow_funcs.C: use LyXRow::end_
2669 * lyxtext.h (singleWidth): add LyXFont parameter
2672 * text2.C: adjust LyXText::singleWidth() calls
2674 * text.C (redoParagraph): simplify row breaking logic
2677 2003-08-19 André Pönitz <poenitz@gmx.net>
2679 * funcrequest.C: initialize button_ member
2682 * rowpainter.[Ch]: interface consolidation
2684 2003-08-18 André Pönitz <poenitz@gmx.net>
2687 * BufferView_pimpl.C:
2689 * paragraph_funcs.C:
2691 * text3.C: remove LyXScreen::draw() and fitCursor calls
2693 * BranchList.h: remove spurious semicolons
2695 * MenuBackend.C: fix branchlist related crash
2697 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2705 * bufferparams.[Ch]:
2709 * text3.C: implements the 'branch inset'
2710 idea. This allows the output of various versions of a document
2711 from a single source version, selectively outputing or suppressing
2712 output of parts of the text.
2713 This implementation contains a 'branch list editor' in a separate
2714 tab of the document settings dialog. Branches are user definable
2715 and have a "display colour" to distinguish them on-screen.
2717 ColorHandler was somewhat cleaned up.
2718 (1) make possible a dynamically growing LColor list by allowing
2719 the graphic context cache to grow along (vector);
2720 (2) eliminate an IMHO unnecessary step in colour allocation.
2722 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
2724 * BufferView_pimpl.C: compile fix
2726 2003-08-15 André Pönitz <poenitz@gmx.net>
2728 * rowpainter.C: remove extra metrics calls
2730 * lyxtext.h: merge the two constructors into a single one,
2731 pass reference to owner's par list
2733 * BufferView_pimpl.C:
2737 2003-08-15 André Pönitz <poenitz@gmx.net>
2739 * lyxrow_funcs.[Ch]:
2742 * paragraph_funcs.C:
2747 * text_funcs.C: split LyXText::rowlist_ into individual
2748 Paragraph::rows_ chunks
2751 * BufferView_pimpl.[Ch]:
2754 * text3.C: remove toggleSelection()
2756 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2758 * bufferlist.C: beautify two alerts (shorter text of buttons)
2759 * buffer.C: Remove redundant ' ' from message
2761 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2762 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2763 rename VALIGN_CENTER to VALIGN_MIDDLE
2765 2003-08-11 André Pönitz <poenitz@gmx.net>
2767 * lyxtext.h (getPar):
2768 * text.C: new function
2770 2003-08-11 André Pönitz <poenitz@gmx.net>
2773 * tracer.[Ch]: remove unneeded files
2775 * InsetList.[Ch]: remove resizeInsetsLyXText()
2780 * text3.C: merge insertParagraphs() and appendParagraph()
2781 remove breakAgain(), update()
2783 * BufferView_pimpl.[Ch]:
2784 * bufferview_funcs.[Ch]:
2788 * tabular.C: adjust after text & InsetList changes.
2790 2003-08-08 André Pönitz <poenitz@gmx.net>
2792 * text.C (insertChar, backspace): replace rowlist fiddling
2793 with rebreak of full par
2796 * text.C (breakAgainOneRow, redoHeightOfParagraph,
2797 checkParagraph, updateInset): removed
2799 2003-08-07 André Pönitz <poenitz@gmx.net>
2802 * text3.C: merge some LFUN handlers, remove dead code
2804 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2806 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2808 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
2810 * text2.C (DEPM): fix part of bug 1255 and 1256
2812 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2814 * BufferView_pimpl.C (workAreaDispatch): change to use
2815 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2816 that are no mouse related.
2818 2003-08-05 André Pönitz <poenitz@gmx.net>
2821 * BufferView_pimpl.[Ch]:
2822 * bufferview_funcs.C:
2824 * text3.C: rip out "deep update"
2826 * textcursor.[Ch] (last_sel_cursor): remove unused member
2828 2003-08-04 André Pönitz <poenitz@gmx.net>
2831 * BufferView_pimpl.[Ch]:
2832 * ParagraphParameters.C:
2833 * bufferview_funcs.C:
2839 * text3.C: replace "complicated" BufferView::update(...) calls with
2842 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2844 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
2846 * Makefile.am (lyx_SOURCES): add paper.h
2848 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2850 * Makefile.am: move things around so that both lyx-qt and
2851 lyx-xforms can be built (according to --with-frontend). Then lyx
2852 is a symbolic link to lyx-[firstfrontend]
2854 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2856 * Always use std::endl with lyxerr
2858 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
2860 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2862 2003-08-01 André Pönitz <poenitz@gmx.net>
2865 * BufferView_pimpl.[Ch]:
2867 * text3.C: merge BufferView::repaint() and BufferView::update()
2869 2003-08-01 José Matos <jamatos@lyx.org>
2871 * buffer.[Ch]: file_format is no longer a buffer data element.
2873 2003-08-01 André Pönitz <poenitz@gmx.net>
2878 * text2.C: make redoParagraph more independent of current cursor
2880 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2882 * text2.C: remove unneeded members
2884 2003-07-30 André Pönitz <poenitz@gmx.net>
2886 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2888 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2889 create a single function...
2891 * paragraph_funcs.C (moveItem): ... here.
2894 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2896 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2898 * LColor.[Ch]: Add comment and greyedout logical colors.
2900 2003-07-30 André Pönitz <poenitz@gmx.net>
2902 * tabular.C: don't use Assert too heavily. This crashes where it
2905 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
2907 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2908 is disabled (bug 1232)
2910 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2912 * factory.C: limited 'arg' scope
2914 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2916 * factory.C: fixed Note submenu issues
2918 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2920 * factory.C: submenu for Note/Comment/Greyedout
2922 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
2925 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2927 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2930 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2931 greyedout. Patch provided by Jürgen Spitzmüller.
2933 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2935 * kbmap.C (read): fix error message when reading bind files
2937 2003-07-29 Angus Leeming <leeming@lyx.org>
2939 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2940 certainly does not do what it purports to do. I am doing it, and
2941 us, a favour by killing it.
2943 2003-07-28 José Matos <jamatos@lyx.org>
2945 * buffer.C (readBody, do_writeFile):
2946 * paragraph.C(readParagraph): \end_document replaces \the_end.
2948 2003-07-29 André Pönitz <poenitz@gmx.net>
2951 * BufferView_pimpl.[Ch]:
2955 * textcursor.[Ch]: remove toggleToggle & Co
2957 2003-07-28 José Matos <jamatos@fep.up.pt>
2959 * buffer.C (readParagraph):
2960 * params_func (readParToken, readParagraph):
2961 * paragraph.C (write): \layout -> \begin_layout.
2963 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2965 * lyxlex_pimpl.C (setFile): clean up slightly.
2967 * bufferparams.h: add compressed var
2969 * buffer_funcs.C (readFile): adjust for LyXLex change
2970 (newFile): ditto + simplify
2972 * buffer.C (writeFile): handle writing of compressed files
2974 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2975 Check if the file is compressed and set a bufferparm if so.
2977 * Makefile.am (lyx_LDADD): remove explicit -lz
2979 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2981 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2982 makeDocBookFile): put the real LyX version in the first line of
2986 * version.C.in: remove lyx_docversion
2988 * tabular.C (write_attribute): add a template-based version to
2989 write enums properly
2991 2003-07-28 André Pönitz <poenitz@gmx.net>
2996 * text3.C: use doubles again for x-coordinates. They are needed.
2998 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3000 * messages.C (getLocaleDir): use lyx_localedir()
3002 * lyxlex_pimpl.C (setFile): compress stuff
3004 * buffer.C (writeFile): add some compression stuff
3005 (do_writeFile): new func, dont call expliti close... will this
3008 * Makefile.am (lyx_LDADD): add -lz
3010 2003-07-28 José Matos <jamatos@fep.up.pt>
3012 * buffer.C: increment file format.
3013 * paragraph_funcs (readParagraph, readParToken):
3014 * paragraph.C (readParagraph): add \end_layout.
3016 2003-07-27 Angus Leeming <leeming@lyx.org>
3018 * Makefile.am: remove special casing for configure-time setting of
3019 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3021 * lyx_main.C (init): remove all Jean-Marc's magic setting of
3022 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3024 2003-07-26 André Pönitz <poenitz@gmx.net>
3026 * paragraph_func.[Ch]:
3027 * paragraph.C (realizeFont): inline it whereever it is used
3032 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3035 2003-07-26 André Pönitz <poenitz@gmx.net>
3039 * text2.C: get rid of LyXText::need_break_row
3041 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3043 * toc.[Ch]: put namespace toc inside namespace lyx
3045 * MenuBackend.C (expandToc2): adjust for lyx::toc
3048 * lyxfunc.C (dispatch): adjust for lyx::find
3050 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3051 lyx::find instead. Reorganize a bit.
3052 (LyXReplace): rename to replace
3053 (LyXFind): rename to find
3055 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3058 2003-07-26 André Pönitz <poenitz@gmx.net>
3060 * text.C (setHeightOfRow): restrict scope of temporary variable
3062 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
3063 code (never has been used?)
3065 2003-07-27 Asger Alstrup <alstrup@local>
3067 * text.C (fill): Optimise algorithm to exploit that we can reuse
3068 the LyXFont for many characters.
3069 (setHeightOfRow): Same thing.
3070 (rowBreakPoint): Same thing.
3072 2003-07-26 Asger Alstrup <alstrup@local>
3074 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3076 * text.C (singleWidth): Spurious font copying in hot-spot
3077 singleWidth avoided. Reorder tests for arabic for efficiency.
3079 * text.C (fill): handle empty paragraphs better.
3081 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3084 * encoding.h: add includes
3086 * lyxrc.C: remove reading of bind files
3088 * lyx_main.C (init): setup bindings and menus only if we have a
3091 * kbmap.C (read): new method. Do the actual reading of bind
3094 * converter.C (dvipdfm_options):
3097 (output): adapt PAPER_* enums.
3099 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3101 * bufferparams.h: remove paper-related enums from there
3103 * paper.h: New file. A trivial header file to hold paper-related
3104 enums. It should later expand to contain many paper-related
3107 * lyxrc.C: declare extern displayTranslator
3109 2003-07-27 José Matos <jamatos@fep.up.pt>
3111 * tabular.[Ch] (linuxdoc): add support for tables and figures
3114 2003-07-27 José Matos <jamatos@fep.up.pt>
3116 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3117 consistency in both functions.
3118 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3120 2003-07-26 Asger Alstrup <alstrup@local>
3122 * rowpainter.C (paintRows): Change algorithm to work directly on
3123 the insets rather than asking every character in the document
3124 whether its an inset.
3126 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
3128 * buffer.C (openFileWrite): factorize some code
3130 2003-07-26 Angus Leeming <leeming@lyx.org>
3133 * lyx_main.[Ch]: replace occurances of system_tempdir with
3136 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3138 * rename Inset to InsetOld
3140 2003-07-25 Asger Alstrup <alstrup@diku.dk>
3142 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3143 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3144 which I think is a bit clearer. EDIT is gone, since it was
3145 premature optimisation, and broken for mathed anyway.
3146 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3147 with cursor positioning in insets as well (math insets still do not
3148 work, but that's a different story anyway.) It mysteriously
3149 crashes sometimes with undo in the first paragraph, but I'm fairly
3150 confident that this is a compiler bug.
3152 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3154 * paragraph.C (Paragraph): adjust for new clone return type
3156 (copyIntoMinibuffer): ditto
3158 2003-07-25 Asger Alstrup <alstrup@lyx.org>
3160 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3161 by not having a special case, and always doing a full rebreak of
3162 the document after undo.
3164 2003-07-23 Angus Leeming <leeming@lyx.org>
3166 * factory.C (createInset): InsetExternal::setParams now takes a
3169 2003-07-23 Angus Leeming <leeming@lyx.org>
3171 * factory.C (createInset): changed interface to the external and
3172 graphics mailers' string2params functions.
3174 2003-07-23 Angus Leeming <leeming@lyx.org>
3176 * factory.C (createInset): pass a
3177 Buffer const * parameter to InsetExternalMailer's string2params.
3179 2003-07-22 John Levon <levon@movementarian.org>
3181 * Thesaurus.h: include the right aiksaurus header
3183 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3185 * MenuBackend.C (expand): check menu shortcuts unconditionally
3187 2003-07-21 Angus Leeming <leeming@lyx.org>
3189 * factory.C (createInset): pass a
3190 buffer_path parameter to InsetGraphicsMailer's string2params.
3192 2003-07-21 Angus Leeming <leeming@lyx.org>
3194 * BufferView_pimpl.C (buffer):
3197 * lyxfunc.C (dispatch):
3198 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3199 rather than the grfx shortcut.
3201 2003-07-21 André Pönitz <poenitz@gmx.net>
3203 * rowpainter.C: remove unused variables
3206 * tabular_funcs.h: move to tabular.C
3207 * Makefile.am: adjust
3209 * tabular.[Ch]: basic optical cleaning
3211 * author.h: pass references, not values
3213 2003-07-18 André Pönitz <poenitz@gmx.net>
3221 * text3.C: two-phase drawing for InsetText and InsetTabular
3222 some float -> int changes.
3224 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3226 * lyx_main.C: fix the fix
3228 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3230 * lyx_main.C: fix a crash in batch mode if no files specified
3233 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
3235 * format.[Ch] (papersize): moved to BufferParams
3236 * converter.[Ch] (dvips_options): moved to BufferParams
3237 (dvipdfm_options): moved to anon namespace
3238 * bufferparams.[Ch]: added above functions.
3240 2003-07-17 André Pönitz <poenitz@gmx.net>
3244 * text2.C: don't call inset->update() anymore
3246 * metricsinfo.[Ch]: add convenience constructor
3248 2003-07-16 André Pönitz <poenitz@gmx.net>
3253 * text2.C: replace the LyXCursor::irow_ member with
3254 on-demand computation of the value
3256 2003-07-16 John Levon <levon@movementarian.org>
3258 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3260 2003-07-15 André Pönitz <poenitz@gmx.net>
3263 * text2.C: remove no more needed refresh_row
3265 2003-07-15 André Pönitz <poenitz@gmx.net>
3270 * text3.C: refresh_status tristate -> need_update bool
3272 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3274 * lyxtext.h (init): remove reinit argument (act as if always true)
3275 * text2.C: adjust to that
3277 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3279 * bufferview_funcs.[Ch]: introduce function replaceSelection()
3280 * text3.C: use it to delete selections in some cases
3281 (bugs 441, 673, 702, 954).
3283 2003-07-14 André Pönitz <poenitz@gmx.net>
3285 * rowpainter.[Ch]: reduce interface
3287 2003-07-14 André Pönitz <poenitz@gmx.net>
3289 * BufferView_pimpl.C:
3290 * text2.C: adjust after removing unused BufferView * argument
3292 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
3294 * text2.C (init): fix a crash fired on resize
3296 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
3298 * buffer.[Ch]: added new closing signal
3299 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3300 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3301 BufferView::Pimpl via the closing the signal
3303 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
3305 * buffer.[Ch]: take out all bv-related from buffer
3307 * BufferView_pimpl.[Ch]: connect to new signals
3308 * CutAndPaste.C: removed useless asserts
3309 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3312 * lyxfunc.C: moved view-related funciontality from vc here
3313 * paragraph.C: removed outdated comments
3316 2003-07-10 André Pönitz <poenitz@gmx.net>
3318 * BufferView_pimpl.C:
3322 * text2.C: remove InsetText::InnerCache, clean up consequences
3324 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3326 * ispell.C: fix two typos in error messages
3328 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
3330 * Extend Note inset to other forms of annotation like Comment
3331 and Greyedout. Right button click gives dialog.
3333 Files modified or added (+):
3337 * ControlNote.[Ch] +
3339 * Makefile.am in frontends/xforms, frontends/xforms/forms,
3340 frontends/controllers
3344 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3346 * aspell.C: add missing namespace lyx::support
3348 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
3350 * BufferView.[Ch] (newFile): Add
3351 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3352 * LaTeX.[Ch] (message): added this signal and use it
3353 * buffer.[Ch] (busy, message): added these signals and use them
3354 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3358 * importer.C: use buffer signals instead of direct bv calling
3359 * lyx_cb.[Ch] (ShowMessage): removed
3362 * paragraph_funcs.C:
3363 * text2.C: use buffer signals
3365 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3367 * introduce namespace lyx::graphics
3369 2003-07-02 André Pönitz <poenitz@gmx.net>
3371 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3373 2003-07-01 André Pönitz <poenitz@gmx.net>
3380 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3381 text*.C to text_func.C
3383 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3385 * introduce namespace lyx::support
3387 2003-06-30 André Pönitz <poenitz@gmx.net>
3392 * text.C: re-enable --with-included-string
3394 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3396 * textcursor.C: add <config.h>
3398 * text.C (getWord): remove const from word_location arg
3400 * lyxvc.C (getLogFile): fix const type order
3402 * lyxtext.h: remove const from word_location arg, add arg name
3404 * lyxlayout.h: currect type on labeltype.
3406 * importer.C: correct \file
3408 * converter.C (intToFormat): use std:: on ret val, ws changes
3410 * bufferlist.h: correct \file
3412 * buffer.C (makeLinuxDocFile): fix const type order
3413 (makeDocBookFile): ditto
3414 (fillWithBibKeys): use std:: on stdlib args.
3416 * CutAndPaste.C: fix authors.
3417 (availableSelections): use std:: on return vector
3419 2003-06-27 André Pönitz <poenitz@gmx.net>
3421 * BufferView_pimpl.C:
3422 * bufferview_funcs.C:
3430 * text3.C: remove LyXCursor::row_ member
3433 * text.C: rename fullRebreak() to partialRebreak() and implement
3434 a fullRebreak() that really bereks fully
3436 * textcursor.h: new struct for cursor-related data
3438 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
3440 * lyx_main.C (LyX): get full path of document loaded on the
3443 2003-06-26 André Pönitz <poenitz@gmx.net>
3445 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3446 remove unused/broken operator>,<,>=.
3448 * text.C: remove only use of broken operator<= in an Assert().
3450 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3452 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3453 moved errorlist_.clear to showErrorList
3455 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3457 * converter.C (scanLog, runLaTeX):
3458 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3459 move the bv->showErrorList call to the callers
3460 * lyxfunc.C: i.e. here...
3462 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3463 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3464 namespace, the second to...
3465 * buffer_funcs (BufferFormat, parseErrors): added
3466 * errorlist.C (ErrorList(TeXErrors const &)): removed
3468 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3470 * ToolbarBackend.C (getIcon): complain when icon cannot be found
3472 2003-06-24 "Garst R. Reese" <reese@isn.net>
3476 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3478 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3480 * version.C.in: change docversion to 1.4
3482 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
3484 * buffer.C: fix a bug just introduced
3486 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3488 * buffer.[Ch]: added the parseError signal and use it, removed
3490 * BufferView.[Ch] (addError): moved to ...
3491 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3492 to the Buffer::parseError signal to catch (guess what) parse errors
3493 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3495 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3497 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3498 ability to create a buffer and to return an existing one from
3499 the list. Moved these functions to...
3500 * buffer_funcs.[Ch]: added
3501 * BufferView.[Ch] (loadLyXFile): added
3502 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3503 job removed from bufferlist::loadLyXFile.
3504 * buffer.C (setReadOnly): make it work without view
3505 (i.e added an if (users))
3507 2003-06-19 Angus Leeming <leeming@lyx.org>
3510 * LyXAction.C (init):
3511 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3512 with LFUN_DIALOG_SHOW <name> <data>.
3514 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3516 * CutAndPaste.C (availableSelections): small compilation fix for
3517 ancient (gcc 2.9x) compilers
3519 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3521 * text3.C (cursorNext): add tmp var
3523 * text2.C (updateCounters): for function calling out of for clause
3524 (replaceSelectionWithString): ditto
3525 (insertStringAsParagraphs): ditto
3526 (getColumnNearX): add tmp var
3527 (setCursorFromCoordinates): add tmp var
3528 (cursorDownParagraph): add tmp var
3529 (deleteEmptyParagraphMechanism): add tmp var
3531 * text.C (insertChar): add tmp var
3533 * rowpainter.C (paintDepthBar): add tmp var
3535 * CutAndPaste.C (availableSelections): potentially check all
3536 paragraphs in a cut to fill the shown strings.
3538 2003-06-18 André Pönitz <poenitz@gmx.net>
3540 * kbmap.[Ch]: use vector<> instead of list<>
3542 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3544 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3545 pasteSelection with index
3547 * text2.C (pasteSelection): modify, call pasteSelection with index
3549 * paragraph.C (asString): reimplement version with no interval to
3550 call the one with interval.
3552 * lyxtext.h: add index arg to pasteSelection
3554 * MenuBackend.C (MenuItem): handle PasteRecent
3555 (Menu::read::Menutags): add md_pasterecent
3557 (expandPasteRecent): new function
3560 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3562 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3564 (availableSelections): new function
3566 2003-06-17 Angus Leeming <leeming@lyx.org>
3568 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3570 2003-06-17 Angus Leeming <leeming@lyx.org>
3573 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3575 * lyxfunc.C (dispatch): invoke it.
3577 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3579 * iterators.C (operator++, ParPosition): reintroduce some
3580 const_cast for the benefit of older compilers.
3582 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3584 * text3.C (dispatch): do not modify clipboard when doing
3585 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3586 LFUN_DELETE_SKIP on a selection selection
3588 2003-06-16 André Pönitz <poenitz@gmx.net>
3594 * tabular.[Ch]: IU of clone() and getLabelList();
3596 2003-06-13 André Pönitz <poenitz@gmx.net>
3598 * tabular.h: compactification
3600 2003-06-12 André Pönitz <poenitz@gmx.net>
3604 * tabular_funcs.h: some renaming plus whitespace
3606 2003-06-12 André Pönitz <poenitz@gmx.net>
3609 * BufferView_pimpl.C:
3615 * toc.C: Return a Paragraph & for ParIterator::operator*()
3617 2003-06-11 John Levon <levon@movementarian.org>
3621 * ToolbarBackend.C: add "Toolbars" section and
3624 2003-06-10 Angus Leeming <leeming@lyx.org>
3627 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3629 * lyxfunc.C (dispatch): invoke it.
3631 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3633 * main.C: protect <ios> with HAVE_IOS
3634 (main): protect sync_with_stdio with HAVE_IOS
3636 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3638 * text2.C (cutSelection): adjust
3639 (pasteSelection): adjust
3641 * messages.C: handle get of empty string
3643 * main.C (main): use sync_with_stdio(false)
3645 * lyxfunc.C (dispatch): adjust
3647 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3648 (WriteAs): remove unneeded BufferView arg.
3650 * bufferparams.h: use correct types on papersize, papersize2 and
3653 * bufferparams.C (readToken): adjust for type
3654 (writeLaTeX): add missing cases to switch.
3656 * bufferlist.C (quitWriteBuffer): adjust
3659 * buffer.C (asciiParagraph): remove some commented code.
3661 * CutAndPaste.C: remove current_view extern variable.
3662 (cutSelection): add BufferParams arg.
3663 (eraseSelection): add BufferParams arg.
3664 (pasteSelection): add Buffer const & arg
3666 2003-06-07 John Levon <levon@movementarian.org>
3669 * paragraph_funcs.C:
3670 * paragraph_pimpl.C:
3674 * paragraph.C: allow InsetERT to freely space lines,
3675 and some consolidation of code
3677 2003-06-06 José Matos <jamatos@fep.up.pt>
3679 * buffer.C (makeDocBookFile): fix bug #821
3681 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3683 * BufferView_pimpl.C (dispatch): use Dialogs::visible
3685 2003-06-04 Angus Leeming <leeming@lyx.org>
3687 * buffer.C: bump format to 224.
3689 2003-06-05 André Pönitz <poenitz@gmx.net>
3691 * text2.C (redoParagraphs): remove two const_cast<>
3693 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3695 * ParagraphList.h: remove last remnants of NO_STD_LIST
3697 2003-06-03 Angus Leeming <leeming@lyx.org>
3699 * factory.C (createInset): small change to the way InsetExternal's params
3702 2003-06-04 André Pönitz <poenitz@gmx.net>
3704 * buffer.h: use Undo directly instead of shared_ptr<Undo>
3706 * paragraph_pimpl.h:
3707 * paragraph.[Ch]: some Inset -> UpdatableInset changes
3709 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3711 * undo_funcs.C: make some simple cases of undo work again
3713 2003-06-03 John Levon <levon@movementarian.org>
3715 * ispell.C: HPUX doesn't have sys/select.h
3718 2003-06-03 John Levon <levon@movementarian.org>
3720 * CutAndPaste.C: update tabular and include inset
3725 * paragraph.C: remove owningBuffer(), don't pass Buffer
3728 * factory.C: insetGraphicsParams changed
3730 2003-06-02 John Levon <levon@movementarian.org>
3736 * text3.C: remove insetparent
3738 2003-06-02 John Levon <levon@movementarian.org>
3741 * buffer.C: fix inset_iterator.end(), move out of line
3744 2003-06-01 John Levon <levon@movementarian.org>
3746 * text3.C: use a proper cut/paste when doing inset
3747 insert (from Jürgen Spitzmüller)
3749 2003-06-01 John Levon <levon@movementarian.org>
3751 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3753 2003-05-30 André Pönitz <poenitz@gmx.net>
3755 * rowpainter.C: unify second drawing phase
3757 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3759 * trans_mgr.C: remove one case of current_view
3761 * text2.C (cursorBottom): delete NO_STD_LIST stuff
3763 * paragraph_funcs.h: remove paragraph.h include
3765 * paragraph.h: delete NO_STD_LIST stuff
3767 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3769 * buffer.h: remove paragraph.h include
3771 * ParagraphList.C: delete file
3773 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3775 * toc.C (getTocList): adjust
3777 * paragraph_pimpl.C (validate): adjust
3779 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3781 * paragraph.C (Paragraph): adjust
3782 (getPositionOfInset): use const_iterator, adjust
3783 (bibitem): use const_iterator, adjust
3784 (setInsetOwner): adjust
3786 * iterators.C (operator++): adjust
3788 * InsetList.[Ch]: Replace selfmade iterator with standard
3789 vector::iterator also introduce const_iterator. Remove getPos,
3790 getInset and setInset from InsetTable. Adjust accordingly.
3792 * BufferView.C (lockInset): adjust
3793 (ChangeInsets): adjust
3795 * tabular.[Ch]: delete commented same_id functions
3797 2003-05-28 John Levon <levon@movementarian.org>
3799 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3801 2003-05-28 André Pönitz <poenitz@gmx.net>
3803 * metricsinfo.[Ch]: remove 'fullredraw' member
3805 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
3807 * lyxtextclass.C (operator): remove caching.
3809 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3813 * text2.C (cursorBottom): adjust
3814 (setCounter): use ParagraphList::find, adjust
3816 * text.C (workWidth): use ParagraphList::find, adjust
3818 * lyxcursor.C (LyXCursor): adjust
3820 * buffer.C (inset_iterator): adjust
3822 * ParagraphList.h: make iterator(value_type) private, make
3823 ParagraphList a friend of iterator.
3825 * ParagraphList.C (find): new function
3827 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3829 2003-05-27 André Pönitz <poenitz@gmx.net>
3831 * dimension.[Ch]: a -> asc, d -> des, w -> wid
3833 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3835 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3837 2003-05-26 John Levon <levon@movementarian.org>
3839 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3841 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3843 * remove same_id from function signatures, adjust.
3845 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3847 * undo_funcs.C (createUndo): use the id functions directly, adjust.
3849 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3851 * paragraph.C (Paragraph): get rid of same_ids parameter
3853 * ParagraphList.C (insert): adjust
3856 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3858 * paragraph_funcs.C (breakParagraph): adjust
3859 (breakParagraphConservative): adjust
3861 * buffer.C (readParagraph): adjust
3863 * ParagraphList.C (insert): take a reference instead of a pointer
3866 * paragraph.[Ch] (id): new function
3868 * bufferlist.C (newFile): adjust
3870 * ParagraphList.C (ParagraphList): adjust
3872 (push_back): take a reference instead of a pointer.
3874 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3876 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3879 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3880 set else use old code.
3882 * ParagraphList.C: remove all NO_NEXT code and only compile this
3883 code of NO_STD_LIST is set.
3885 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3887 * BufferView_pimpl.C:
3897 * graphics/GraphicsConverter.C:
3898 * graphics/PreviewLoader.C: header adjustment
3900 2003-05-23 Angus Leeming <leeming@lyx.org>
3902 * LaTeXFeatures.[Ch] (useBabel): new method.
3903 * bufferparams.C (writeLaTeX): use it.
3905 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3907 * ParagraphList.h (set): remove unused function.
3909 2003-05-23 André Pönitz <poenitz@gmx.net>
3912 * BufferView_pimpl.C:
3916 * undo_funcs.C: setUndo reworked
3918 * iterators.[Ch]: add access to topmost ParagraphList
3920 * lyxtext.[Ch] (workWidth): add a const
3922 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3924 * texrow.[Ch] (increasePos): remove function
3925 * exporter.C (export): removed unused var and outdated comment
3927 2003-05-23 Angus Leeming <leeming@lyx.org>
3929 * latexrunparams.h: rename fragile as moving_arg.
3930 * paragraph.C (simpleTeXOnePar): ditto.
3931 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3933 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3935 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3937 (textUndoOrRedo): comment out a currently unused var.
3939 * paragraph.h (NO_NEXT): enable NO_NEXT
3941 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3943 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3945 * exporter.C (Export): adjust for removeAutoInsets removal.
3947 * buffer.C (runChktex): adjust for removeAutoInsets removal.
3949 * LyXAction.C (init): remove LFUN_REMOVEERRORS
3951 * BufferView.[Ch] (removeAutoInsets): delete function
3953 2003-05-22 Angus Leeming <leeming@lyx.org>
3955 * latexrunparams.h: add a free_spacing variable.
3957 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3958 to pass moving_arg, as the data is stored in runparams.fragile.
3960 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3961 to Inset::latexOptional or to simpleTeXOnePar.
3963 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3964 free_spacing arg to Inset::latexOptional.
3966 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3969 2003-05-22 Angus Leeming <leeming@lyx.org>
3971 * latexrunparams.h: add fragile and use_babel variables.
3973 * bufferparams.[Ch] (writeLaTeX): return use_babel.
3974 * buffer.C (makeLaTeXFile): store this returned value in
3975 runparams.use_babel, thus passing it to the inset::latex methods.
3977 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3978 simpleTeXSpecialChars as it is now stored in runparams.fragile.
3980 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3981 longer has a fragile arg, as it is stored in runparams.fragile.
3983 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3984 moving_arg parameter as the data is stored in runparams.fragile.
3986 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3987 a fragile parameter as the data is stored in runparams.fragile.
3989 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3991 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3993 2003-05-22 Angus Leeming <leeming@lyx.org>
3995 * latexrunparams.h: add a 'bool nice' which defaults to false.
3997 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3998 now encapsulated within runparams.
4000 * bufferlist.C (updateIncludedTeXfiles):
4001 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4003 2003-05-22 Angus Leeming <leeming@lyx.org>
4005 * latexrunparams.h: new file containing struct LatexRunParams.
4006 * Makefile.am: add new file.
4008 * LaTeX.[Ch] (c-tor, run):
4009 * buffer.[Ch] (makeLaTeXFile):
4010 * bufferlist.[Ch] (updateIncludedTeXfiles):
4011 * converter.C (convert, scanLog):
4012 * converter.[Ch] (runLaTeX):
4013 * exporter.C (Export):
4014 * paragraph.[Ch] (simpleTeXOnePar):
4015 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4016 * paragraph_funcs.[Ch] (latexParagraphs):
4017 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4018 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4019 pass around a LatexRunParams parameter.
4021 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4023 * paragraph.[Ch]: remove unused constructor
4025 * ParagraphList.C (erase): new function, taking two iterators
4027 2003-05-22 André Pönitz <poenitz@gmx.net>
4029 * undo_funcs.C: remove duplicated code
4031 * iterator.[Ch]: operator=
4033 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4035 * tabular.C (SetMultiColumn): ws changes
4037 * rowpainter.C (paintFirst): get rid of a ->previous
4039 * lyx_cb.C (getPossibleLabel): parlist simplification
4041 * BufferView.C (ChangeInsets): simplify slightly.
4043 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4045 * LyXAction.C: new lfun space-insert, kill protected-space-insert
4046 * lfuns.h: new LFUN_SPACE
4047 * lyxfunc.C: protected space has a new lfun
4048 * paragraph_funcs.C: read new space insets
4050 * factory.C: handle new space insets
4052 2003-05-22 André Pönitz <poenitz@gmx.net>
4055 * BufferView_pimpl.C:
4058 * undo_funcs.C: return a ParIterator from getParFromID.
4060 * iterators.[Ch]: add two const's
4062 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4064 * toc.C (getTocList): adjust
4066 * iterators.[Ch]: rework for parlist
4068 * buffer.C (par_iterator_begin): adjust
4069 (par_iterator_end): adjust
4071 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4073 * BufferView.C (removeAutoInsets): adjust
4074 (ChangeInsets): adjust
4076 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
4078 * text.C (top_y): fix bug 1110
4080 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
4082 * errorlist.[Ch]: added
4085 * BufferView_pimpl.C:
4086 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4089 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4091 * Makefile.am: ensure that lyx is relinked upon changes to the
4092 various "convenience" libs.
4094 2003-05-20 Angus Leeming <leeming@lyx.org>
4096 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4097 files are compiled in alphabetical order again.
4099 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4101 2003-05-19 Angus Leeming <leeming@lyx.org>
4103 * gettext.[Ch]: remove "char const * _(char const *)".
4105 2003-05-19 André Pönitz <poenitz@gmx.net>
4107 * dimension.[Ch]: promote from mathed/dimension.[Ch]
4116 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4118 2003-05-19 André Pönitz <poenitz@gmx.net>
4122 * lyxtextclass.[Ch]:
4124 * paragraph_funcs.[Ch]:
4126 * text3.C: more insetenv work
4128 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
4130 * ParagraphParameters.C (params2string): small bug fixed
4132 2003-05-16 André Pönitz <poenitz@gmx.net>
4135 * bufferview_funcs.C: patch from Kornel Benko to prevent
4136 crash when _(...) is called twice in a statement
4138 2003-05-16 André Pönitz <poenitz@gmx.net>
4145 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4147 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
4149 * lyx_main.C (init): remove spurious static_cast
4151 2003-05-14 André Pönitz <poenitz@gmx.net>
4153 * BufferView.C: fix format string
4155 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
4157 * BufferView.[Ch] (insertErrors): removed
4158 * BufferView.[Ch] (showErrorList): added
4159 * buffer.C (runChkTeX):
4160 * converter.C (scanLog): call showErrorList instead of inserterrors
4162 2003-05-13 André Pönitz <poenitz@gmx.net>
4164 * BufferView_pimpl.C:
4166 * bufferview_func.C:
4173 * tabular_funcs.h: tostr() from its own header
4175 * ParagraphParameters.C:
4180 * text3.C: STRCONV()
4182 2003-05-12 André Pönitz <poenitz@gmx.net>
4185 * BufferView_pimpl.C:
4189 * ParagraphParameters.C:
4193 * bufferview_funcs.C:
4206 * paragraph_funcs.C:
4210 * text3.C: boost::format -> bformat all over the place
4213 2003-05-09 André Pönitz <poenitz@gmx.net>
4215 * LColor.[Ch]: Pimpl the #include <map> away
4217 2003-05-09 John Levon <levon@movementarian.org>
4219 * bufferlist.C: never remove emergency saves
4221 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4223 * Makefile.am: better lib building
4225 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4227 * texrow.[Ch]: remove dependency on Paragraph and just store a id
4229 * paragraph_pimpl.C (simpleTeXBlanks): adjust
4230 (simpleTeXSpecialChars): adjust
4231 (simpleTeXSpecialChars): adjust
4232 * paragraph.C (simpleTeXOnePar): adjust
4233 * buffer.C (makeLaTeXFile): adjust
4235 * Makefile.am (BOOST_LIBS): allow boost as system lib.
4237 * text2.C (changeDepth): parlist cleanup
4238 (getColumnNearX): ditto
4240 * rowpainter.C (getLabelFont): parlist cleanup
4242 * bufferlist.C (newFile): parlist cleanup
4244 * CutAndPaste.C (eraseSelection): parlist cleanup
4246 * BufferView_pimpl.C (trackChanges): parlist cleanup
4249 * BufferView.C (lockInset): parlist cleanup.
4250 (ChangeInsets): ditto
4252 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4254 * CutAndPaste.h: Update file header.
4256 * CutAndPaste.C: Update file header.
4257 Store the parts cut out of the Document in a limited_stack.
4258 (copySelection): adjust
4259 (pasteSelection): new function, takes the index in the limited stack.
4260 (nrOfParagraphs): adjust
4261 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4262 simplify error inset insertion.
4263 (checkPastePossible): adjust
4265 2003-05-06 John Levon <levon@movementarian.org>
4267 * text2.C: don't cast wrap inset to float
4269 2003-05-05 André Pönitz <poenitz@gmx.net>
4272 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4274 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4275 few naked Paragraph *.
4277 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
4279 * bufferparams.C: Output warning if a document with missing
4280 TeX document class is loaded
4281 * exporter.C: Disable TeX exports if the document class is missing
4284 * lyxtextclasslist.C: Handle new textclass.lst format; new method
4285 isTeXClassAvailable()
4287 2003-05-03 John Levon <levon@movementarian.org>
4290 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4291 explicit cursor show/hide
4293 * BufferView_pimpl.h:
4294 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4295 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4297 * lyxfunc.C: hide cursor before dispatching.
4302 * text3.C: remove explicit cursor hides
4304 2003-05-02 André Pönitz <poenitz@gmx.net>
4306 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4309 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4312 * text2.C: tiny whitespace
4314 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4316 * undo_funcs.C: almost only ws changes.
4318 * ParagraphList.C (splice): just return if pl is empty.
4320 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4322 * ParagraphList.C (splice): new function.
4324 * CutAndPaste.C (pasteSelection): use it
4326 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4328 * CutAndPaste.C (pasteSelection): remove the last next and
4329 previous from this file.
4331 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4333 * CutAndPaste.C (pasteSelection): more clean up, user proper
4334 ParagraphList functions for pasteing.
4336 * ParagraphList.C (insert): new function, three arg insert
4338 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4340 * ParagraphList.C (insert): new function, three arg insert
4342 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4345 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4347 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4349 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4351 * CutAndPaste.C (pasteSelection): remove some unneeded code.
4353 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4355 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4356 (copySelection): clean up a bit.
4357 (pasteSelection): use make_pair
4359 * ParagraphList.C (ParagraphList): implement copy constructor
4360 (operator=): implement, base on copy constructor.
4363 * paragraph.C (erase): return a bool
4365 * paragraph_pimpl.C (erasePos): remove function, move contents...
4366 (erase): ... here. Return a bool.
4367 (erase): call erase instead of erasePos.
4369 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
4371 * ParagraphList.h: define PitPosPair
4372 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4373 ParagraphList, fix a bug on pasting multiple pars
4374 * text2.C: change interface to C&P
4376 2003-04-30 André Pönitz <poenitz@gmx.net>
4378 * undo_func.C: revert part of yesterday's patch 2
4380 2003-04-30 John Levon <levon@movementarian.org>
4382 * LColor.C: s/tabular/table/
4384 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4386 * text3.C (dispatch): do not convert iterator -> pointer
4387 * undo_funcs.C (setCursorParUndo): ditto
4388 * text_funcs.C (transposeChars): ditto
4390 * text2.C (setLayout): ws changes only
4392 * text.C (breakParagraph): do not convert iterator -> pointer
4394 (acceptChange): ditto
4395 (rejectChange): ditto
4400 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4403 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4405 * text3.C (gotoInset): YABG (yet another bad getChar)
4407 2003-04-29 André Pönitz <poenitz@gmx.net>
4409 * paragraph.h: make operator= private unimplemented as long as
4412 * ParagraphList.C: whitespace
4415 * paragraph_pimpl.[Ch]:
4416 * paragraph_funcs.C:
4418 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
4421 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4423 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4425 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4426 * paragraph.[Ch] (erase):
4427 * paragraph_pimpl.[Ch] (erase): change return type and value
4428 * text2.C (cutSelection): some rework
4430 2003-04-28 John Levon <levon@movementarian.org>
4432 * bufferlist.C: changes for unsaved changes dialog
4434 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4436 * bufferlist.C (newFile): set language (messages_) for new
4439 * buffer.C (readFile): ws changes only.
4441 2003-04-28 André Pönitz <poenitz@gmx.net>
4446 * BufferView_pimpl.C:
4447 * BufferView.C: getParFromID related ParagraphList::iterator changes
4449 2003-04-28 André Pönitz <poenitz@gmx.net>
4451 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4454 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4456 * messages.C: remove one more localedir class variable.
4458 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4460 * messages.C (getLocaleDir): singleton generation function
4462 (Messages): add a default constructor.
4464 * main.C (main): do not setup localedir here, do not call
4467 * gettext.C (_): use it.
4468 (gettext_init): delete funciton
4470 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4472 * gettext.C (getLyXMessages): new singleton generating function.
4474 * buffer.C (updateDocLang): adjust
4476 * Makefile.am (messages.o): add target
4477 (main.o): remove target
4479 2003-04-27 John Levon <levon@movementarian.org>
4484 * lyxvc.C: specify cancel button in Alert::prompt
4486 2003-04-26 John Levon <levon@movementarian.org>
4491 * LyXAction.C: add LFUN_INSET_SETTINGS
4493 * lyxfunc.C: don't enable tabular-feature when there's
4494 just any locking inset
4496 2003-04-26 John Levon <levon@movementarian.org>
4498 * bufferlist.C: re-add Cancel to buffer close question
4500 * lyxfunc.C: fix import UI a bit
4502 2003-04-25 John Levon <levon@movementarian.org>
4504 * gettext.C: remove the broken asserts for now
4506 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4508 * messages.C: make case where setlocale cannot comply work better.
4510 * buffer.C (updateDocLang): new function
4511 (changeLanguage): use it
4514 * text2.C (setCounter): use B_ a bit.
4516 * lyxlayout.C (Read): be sure to trim the label strings.
4518 * messages.C (Messages): fix typo in comment
4520 * buffer.C (readFile): set message_ after file is loaded.
4521 (makeDocBookFile): remove double return
4522 (changeLanguage): reset message_ upon language change.
4523 (B_): new func, use this to get translated buffer strings.
4525 * main.C: add myself and Jean Marc as authors.
4527 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4529 * messages.[hC]: pimplify Messages, and three different pimpls to be
4530 used in different circumstances.
4532 * gettext.[Ch]: change for use with new message code.
4534 2003-04-24 André Pönitz <poenitz@gmx.net>
4536 * factory.C: support for eqref
4538 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4540 * messages.[Ch]: add missing char
4542 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4544 * messages.[Ch]: New files
4546 2003-04-18 John Levon <levon@movementarian.org>
4550 * BufferView_pimpl.C:
4554 * text2.C: remove layout-copy/paste (bug 778)
4556 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4558 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4560 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4562 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4563 if they succeed. Act accordingly.
4565 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4567 * text2.C (setCharFont): adjust
4568 (setCounter): adjust
4569 (insertStringAsLines): adjust
4571 * text.C (leftMargin): adjust
4572 (setHeightOfRow): adjust
4574 * rowpainter.C (paintFirst): adjust
4577 * paragraph_funcs.C (depthHook): ParagraphList::iterators
4579 (isFirstInSequence): ditto
4580 (getEndLabel): ditto
4583 * paragraph.C (getParLanguage): comment out some hard stuff.
4585 * buffer.C (insertStringAsLines): take a ParagraphList as arg
4587 (simpleDocBookOnePar): ditto
4588 (makeDocBookFile): use ParagraphList::iterator
4590 * CutAndPaste.C (pasteSelection): adjust
4592 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4594 * text2.C (getFont): adjust
4595 (getLayoutFont): adjust
4596 (getLabelFont): adjust
4598 * paragraph_funcs.C (TeXOnePar): adjust
4600 * buffer.C (simpleLinuxDocOnePar): adjust
4601 (simpleDocBookOnePar): adjust
4603 * CutAndPaste.C (pasteSelection): adjust
4605 * BufferView.C (getEncoding): adjust
4607 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4609 2003-04-16 John Levon <levon@movementarian.org>
4611 * lyxfind.C: use parlist stuff for search/changes
4613 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4615 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4617 * text2.C (deleteEmptyParagraphMechanism): adjust
4619 * text2.[Ch] (ownerParagraph): delete func (both of them
4621 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4623 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4625 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4627 * ParagraphList.C: prepare for NO_NEXT
4629 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4631 * text2.C (getFont): adjust
4632 (getLayoutFont): adjust
4633 (getLabelFont): adjust
4635 * paragraph.C (getFont): adjust
4636 (getLabelFont): adjust
4637 (getLayoutFont): adjust
4639 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4641 2003-04-15 John Levon <levon@movementarian.org>
4645 * lyx_main.C: handle Include in .ui files
4647 2003-04-15 John Levon <levon@movementarian.org>
4649 * MenuBackend.C: make the doc files length shorter
4652 * ToolbarBackend.C: handle toolbar placement flags,
4655 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4657 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4660 * paragraph_funcs.C (TeXOnePar): adjust
4662 * paragraph.C (getLabelFont): add outerfont arg, adjust
4663 (getLayoutFont): ditto
4664 (simpleTeXOnePar): adjust
4666 * paragraph_pimpl.C (realizeFont): delete func
4668 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
4670 * text2.C (beforeFullRowInset): added a bad getchar check, removed
4671 row argument, constify cur argument.
4673 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4675 * text2.C (getFont): adjust
4676 (getLayoutFont): adjust
4677 (getLabelFont): adjust
4679 * paragraph_funcs.C (TeXOnePar): adjust
4680 (outerFont): new func...
4681 (realizeFont): ...moved out from here, changed this to facilitate
4684 * paragraph.C (getFont): take outerfont as arg, adjust
4685 (simpleTeXOnePar): add outerfont arg, adjust
4687 * buffer.C (simpleLinuxDocOnePar): adjust
4688 (simpleDocBookOnePar): adjust
4690 * CutAndPaste.C (pasteSelection): adjust
4692 * BufferView.C (getEncoding): adjust
4694 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4696 * text2.C (setCharFont): adjust
4697 (setCounter): adjust
4699 * text.C (leftMargin): adjust
4700 (setHeightOfRow): adjust
4702 * rowpainter.C (paintFirst): adjust
4705 * paragraph_pimpl.C (realizeFont): adjust
4707 * paragraph.C (isFirstInSequence): move from here...
4708 * paragraph_funcs.C (isFirstInSequence): ...to here
4710 * paragraph.C (outerHook): move from here...
4711 * paragraph_funcs.C (outerHook): ...to here
4713 * paragraph.C (depthHook): move from here...
4714 * paragraph_funcs.C (depthHook): ...to here
4716 * paragraph.C (getEndLabel): move from here...
4717 * paragraph_funcs.C (getEndLabel): ...to here
4719 * text2.C (realizeFont): move from here...
4720 * paragraph_funcs.C (realizeFont): ...to here
4722 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4724 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4726 2003-04-14 Angus Leeming <leeming@lyx.org>
4728 * LColor.[Ch]: scrap LColor mathcursor.
4730 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4732 * lyxlex.[Ch] (text): delete function
4733 * trans.C (Load): adjust
4734 * paragraph_funcs.C (readParToken): adjust
4736 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4738 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4739 vector<char> instead of a char[].
4741 * lyxlex_pimpl.C (getString): adjust
4743 (lex): use getString
4747 * lyxlex.C (text): use pimpl_->getString()
4751 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4753 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4754 (makeFontEntriesLayoutSpecific): temp var for par.size()
4755 (setLayout): temp var for ownerParagraphs().end()
4756 (fullRebreak): temp var for rows().end()
4757 (selectionAsString): temp var for boost::next(startpit), realize
4758 that the while really is a regular for loop.
4759 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4760 setCursor in one place.
4761 (setParagraph): temp vr for ownerParagraphs().end()
4762 (updateCounters): make the while loop a for loop
4763 (cutSelection): temp var for ownerParagraphs().end()
4764 (updateInset): make the do {} while() a regular for loop
4765 (getCursorX): use temp vars
4766 (setCurrentFont): use temp vars
4767 (getColumnNearX): use temp vars
4769 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4771 * text.C (transformChar): use temp var for getChar
4772 (computeBidiTables): use temp var for row->par()
4773 (fill): move temp vars for row->par() and pit->layout() earlier in
4775 (labelFill): use temp var for row->par()
4776 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4777 asc and desc, realize that pit never changes and that firstpit is
4778 just a duplicate and not needed. Exchange rit->par() with pit in a
4780 (breakAgain): use a temp var for boost::next(rit)
4781 (breakAgainOneRow): ditto
4782 (breakParagraph): use a temp var for rows().begin()
4783 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4784 (cursorRightOneWord): use temp var for cursor.par() and
4785 cursor.pos(), remove usage of tmpcursor.
4786 (cursorLeftOneWord): use temp var for cursor.par() and
4787 cursor.pos() only set cur at end of function.
4789 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4791 * text.C, text2.C: exchange all usage of Paragraph::next with
4792 boost::next(ParagraphList::iterator)
4794 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4796 * text2.C (cursorTop): simplify implementation
4797 (cursorBottom): ditto
4798 (setParagraph): use ParagraphList::iterator
4799 (setCurrentFont): adjust
4800 (getColumnNearX): adjust
4801 (cursorRight): adjust
4802 (cursorLeft): remove usage of Paragraph::previous
4803 (cursorUpParagraph): ditto
4804 (deleteEmptyParagraphMechanism): slight cleanup
4806 * text.C (isBoundary): take a Paragraph const & instead of a
4808 (addressBreakPoint): ditto
4809 (leftMargin): remove usage of Paragraph::previous.
4810 (setHeightOfRow): ditto
4811 (cursorLeftOneWord): ditto
4812 (selectNextWordToSpellcheck): ditto
4815 (breakParagraph): remove one usage of Paragraph::next
4816 (redoParagraph): ditto
4817 (acceptChange): ditto
4818 (insertChar): adjust
4819 (rowBreakPoint): adjust
4821 * bufferview_funcs.C (toggleAndShow): adjust
4823 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
4825 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4826 methods to access it.
4828 * text.C: Added updateRowPositions to compute all row positions.
4829 Make top_y and getRowNearY() to use the cached y position
4831 2003-04-11 John Levon <levon@movementarian.org>
4833 * text.C (rowBreakPoint): reintroduce the labelEnd
4834 checks, code copied from the row fill stuff. Deep voodoo.
4836 * text.C (fill): add a comment and debugging for the
4839 2003-04-11 John Levon <levon@movementarian.org>
4841 * text.C: make sure fullrow insets get wrapped to the next line,
4842 even when they're in a manual label
4844 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4846 * text2.C (insertParagraph): make it take ParagraphList::iterator
4848 (setLayout): make it return ParagraphList::iterator
4849 (redoParagraphs): ditto
4851 (checkParagraph): ditto
4853 * text.C (getRow): make getrow take ParagraphList::iterator as arg
4855 * text2.C: adjust several funcs.
4856 (realizeFont): take a ParagraphList::iterator as arg.
4857 (getLayoutFont): ditto
4858 (getLabelFont): ditto
4859 (setCharFont): ditto
4861 * text.C: adjust several funcs.
4863 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4865 * text.C (selectNextWordToSpellcheck): don't accidentally
4868 2003-04-10 John Levon <levon@movementarian.org>
4870 * ToolbarBackend.C (getIcon): special handling for
4873 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4875 * text2.C (cursorRight): a getChar assert fixed
4877 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4879 * text2.C (getFont): change to take a ParagraphList::iterator
4880 instead of Paragraph*
4881 Adjust several functions.
4883 * text.C (transformChar): change to take a ParagraphList::iterator
4884 instead of Paragraph*
4885 (singleWidth): ditto
4886 Adjust several functions.
4888 * rowpainter.C: adjust several functions
4889 * rowpainter.h:store a ParagraphList::iterator and not a
4893 2003-04-09 John Levon <levon@movementarian.org>
4898 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4899 and the "help" bits as well
4901 2003-04-09 John Levon <levon@movementarian.org>
4904 * ToolbarBackend.C: allow multiple toolbars
4906 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4908 * undo_funcs.C (setCursorParUndo): adjust
4910 * text_funcs.C (transposeChars): adjust
4912 * text3.C (gotoNextInset): adjust
4915 * text2.C (setLayout): adjust
4916 (changeDepth): adjust
4918 (redoParagraphs): adjust
4919 (selectionAsString): adjust
4920 (setParagraph): adjust
4921 (insertInset): adjust
4922 (cutSelection): adjust
4923 (copySelection): adjust
4924 (pasteSelection): adjust
4925 (insertStringAsLines): adjust
4926 (updateInset): adjust
4927 (setCursor): change to take a ParagraphList::iterator parameter
4928 (setCursorIntern): change to take a ParagraphList::iterator parameter
4929 (setCurrentFont): adjust
4930 (cursorLeft): adjust
4931 (cursorRight): adjust
4932 (deleteEmptyParagraphMechanism): adjust
4934 * text.C (breakParagraph): adjust
4935 (insertChar): adjust
4936 (acceptChange): adjust
4937 (rejectChange): adjust
4938 (selectNextWordToSpellcheck): adjust
4939 (changeCase): adjust
4943 * lyxfind.C (SearchForward): adjust
4944 (SearchBackward): adjust
4945 (nextChange): adjust
4947 * lyxcursor.C (par): adjust
4949 * lyxcursor.h: store a ParagraphList::iterator instead of a
4952 * lyx_cb.C (getPossibleLabel): adjust
4954 * bufferview_funcs.C (toggleAndShow): adjust
4956 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4959 * BufferView.C (removeAutoInsets): adjust
4960 (lockedInsetStoreUndo): adjust
4962 2003-04-09 John Levon <levon@movementarian.org>
4964 * ToolbarBackend.C: try icon without argument
4965 if with argument fails
4967 2003-04-08 John Levon <levon@movementarian.org>
4970 * ToolbarBackend.C: add getIcon(), handle tooltip,
4971 and change from "Icon" to "Item".
4973 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4975 * BufferView.C (lockInset): another bad getchar crunched
4977 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4979 * text2.C (changeDepth): do not setUndo on test_only (make undo work
4982 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
4984 * lyxfind.C (searchForward, searchBackwards): bug 782
4986 2003-04-07 John Levon <levon@movementarian.org>
4988 * paragraph.C: remove dead comment
4990 * text.C: remove troublesome depth-fiddling code
4991 in leftMargin() and rightMargin() (bug 1017)
4993 * text.C: fix breaking of rows in nested lists
4996 * text2.C (updateCounters): fix up depth values
4999 2003-04-07 John Levon <levon@movementarian.org>
5001 * BufferView_pimpl.C: clear message when doc finishes resizing,
5002 and after a mouse event
5004 * lyxfunc.C: clear message after exiting inset
5006 2003-04-07 John Levon <levon@movementarian.org>
5008 * bufferview_funcs.C: show math status not outside
5009 status in the statusbar
5011 2003-04-07 John Levon <levon@movementarian.org>
5013 * lyxfunc.C: note status changed after a depth change
5015 2003-04-04 Angus Leeming <leeming@lyx.org>
5017 * LaTeX.h: move AuxInfo operator==, != out of line.
5018 Remove LaTeX virtual destructor; nothing derives from it.
5019 Move operator()() out of public area and rename it startscript().
5020 Change protected for private.
5022 2003-04-04 Angus Leeming <leeming@lyx.org>
5025 * text2.C: remove unneeded #includes.
5027 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5029 * text2.C (dEPM): fix the heigth of the next row
5031 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5033 * text.C: squashed an invalid getChar requester + some ws changes
5035 2003-04-03 John Levon <levon@movementarian.org>
5037 * bufferview_funcs.h:
5038 * bufferview_funcs.C:
5041 * text2.C: make getStatus work for the env depth lfuns
5043 2003-04-03 John Levon <levon@movementarian.org>
5045 * bufferview_funcs.h:
5046 * bufferview_funcs.C:
5049 * text2.C: parlistize decDepth(), by merging it with incDepth()
5051 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5053 * lyxrow.h: store a ParagraphList::iterator instead of a
5054 Paragraph* and adjust other class functions to suit.
5056 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5059 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5061 * text2.C (setCursor): do not anchor to cursor row for the time being
5063 2003-04-02 John Levon <levon@movementarian.org>
5070 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5072 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5074 * paragraph.h: make ParagraphList and ParagraphList::iterator
5075 friends of Paragraph.
5077 * buffer.C (makeLinuxDocFile): move towards ParagraphList
5079 * ParagraphList.C: Use the private next_ and previous_ from
5082 2003-04-01 John Levon <levon@movementarian.org>
5086 * Makefile.am: rename, remove defaults gunk
5089 * MenuBackend.C: remove defaults gunk
5092 * Languages.C: remove defaults gunk
5095 * lyx_main.C: error out if files couldn't be found.
5097 2003-04-02 John Levon <levon@movementarian.org>
5099 * text2.C: make incDepth() use parlist
5101 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5103 * undo_funcs.C (firstUndoParagraph): adjust
5105 * text3.C (gotoInset): adjust
5106 (dispatch): adjust, and rewrite loop.
5108 * text2.C (init): adjust, and rewrite loop.
5109 (redoParagraphs): adjust
5110 (updateInset): adjust, and rewrite loop.
5111 (deleteEmptyParagraphMechanism): adjust
5113 * tabular.C (LyXTabular): adjust
5114 (SetMultiColumn): adjust
5117 * lyxtext.[Ch] (ownerParagraph): delete function
5118 (ownerParagraphs): new function returns a ParagraphList.
5120 * BufferView.C (removeAutoInsets): adjust
5121 (insertErrors): adjust
5122 (setCursorFromRow): adjust
5124 2003-04-01 Angus Leeming <leeming@lyx.org>
5126 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5129 2003-04-02 John Levon <levon@movementarian.org>
5135 * text_funcs.C: make transposeChars a free function
5137 * lyxrow_funcs.C: remove wrong comment
5139 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5142 * rowpainter.C: adjust
5147 * lyxrow_funcs. [Ch]: new files
5149 * lyxrow.[Ch]: remove next and previous pointers
5150 (next,previous): remove accessor functions
5151 (isParEnd): move to lyxrow_funcs
5152 (lastPos): move to lyxrow_funcs
5153 (nextRowIsAllInset): move to lyxrow_funcs
5154 (lastPrintablePos): move to lyxrow_funcs
5155 (numberOfSeparators): move to lyxrow_funcs
5156 (numberOfHfills): move to lyxrow_funcs
5157 (numberOfLabelHfills): move to lyxrow_funcs
5158 (hfillExpansion): move to lyxrow_funcs
5162 * bufferview_funcs.C (toggleAndShow): adjust
5164 * RowList.h: Remove class RowList from file leave just a
5167 * RowList.C: delete file
5169 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5172 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5174 * text3.C (cursorPrevious): adjust
5175 (cursorNext): adjust
5178 * text2.C (redoHeightOfParagraph): adjust
5179 (redoDrawingOfParagraph): adjust
5182 * text.C (breakParagraph): adjust
5183 (insertChar): adjust
5186 * rowpainter.C (RowPainter): adjust
5187 (leftMargin): simplify and adjust
5188 (most rowpainter functions): adjust.
5190 * rowpainter.h: store the row as RowList::iterator not as Row*
5192 * lyxcursor.C (row): taka RowList::iterator as arg
5195 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5198 2003-04-01 Angus Leeming <leeming@lyx.org>
5200 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5201 stuff like bool Bool.
5203 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5205 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5208 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5210 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5213 * lyxtext.h (rows): drop one version and leve a const variant that
5214 returns a RowList::iterator.
5216 2003-03-31 Angus Leeming <leeming@lyx.org>
5218 * text.C (fill): ensure that the signature is the same as that in the
5221 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
5223 * text2.C (redoParagraphs): adjust
5224 (updateCounters): adjust
5225 (checkParagraph): adjust
5226 (getColumnNearX): adjust and reformat a bit.
5228 * text.C (top_y): adjust
5230 (leftMargin): adjust
5231 (prepareToPrint): adjust
5233 (getRowNearY): adjust
5235 * lyxtext.h: make rowlist_ mutable.
5237 * RowList.h: add const_iterator
5238 * RowList.C: adjust for RowList::const_iterator.
5240 * text2.C (getCursorX): make it take a RowList::iterator as arg,
5243 2003-03-31 John Levon <levon@movementarian.org>
5246 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5248 * lyx_main.C: set default fonts from using lyx_gui funcs
5250 * exporter.C: pdf_mode moved from lyxrc
5253 * lyxfunc.C: changes from above
5255 2003-03-31 John Levon <levon@movementarian.org>
5257 * lyx_main.C: fix to the last fix
5259 2003-03-31 John Levon <levon@movementarian.org>
5261 * bufferlist.C: "Load original" -> "Load Original"
5267 * format.C: more Alert cleanups
5269 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5271 * text2.C (removeParagraph): make it take a RowList::iterator as
5273 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5274 (postRowPaint): make it take a RowList::iterator as arg, adjust.
5276 * text.C (anchor_row): make it take a RowList::iterator as arg,
5278 (computeBidiTables): make it take a const reference to Row instead
5279 of Row pointer, adjust.
5280 (leftMargin): make it take a RowList::iterator as arg, adjust.
5281 (rowBreakPoint): adjust
5282 (breakAgainOneRow): make it take a RowList::iterator as arg,
5284 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5286 * bufferview_funcs.C (toggleAndShow): adjust
5288 2003-03-30 John Levon <levon@movementarian.org>
5292 * boost-inst.C: moved to support
5294 * several files: changes as a result
5296 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5298 * text2.C (LyXText): adjust.
5300 (removeRow): make it take a RowList::iterator as arg, adjust.
5301 (fullRebreak): adjust
5302 (deleteEmptyParagraphMechanism): adjust
5303 (clearPaint): adjust
5306 * text.C (top_y): adjust
5307 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5308 (breakAgain): make it take a RowList::iterator as arg, adjust.
5309 (breakParagraph): adjust
5310 (insertChar): adjust
5313 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5314 need_break_row, and refresh_row.
5316 * text3.C (dispatch): adjust
5318 * text2.C (checkParagraph): adjust
5320 (setCursorFromCoordinates): adjust
5322 * text.C (top_y): adjust
5324 (getRow): make it return a RowList::iterator, adjust
5325 (getRowNearY): make it return a RowList::iterator, adjust
5327 * text2.C (init): adjust
5328 (insertRow): remove function
5329 (insertParagraph): adjust
5330 (redoParagraphs): adjust
5331 (fullRebreak): adjust
5332 (updateCounters): adjust
5334 * text.C (top_y): rewrite to use RowList iterators.
5336 (setHeightOfRow): rewrite to sue RowList iterators.
5337 (appendParagraph): adjust
5338 (breakAgain): adjust
5339 (breakAgainOneRow): adjust
5340 (breakParagraph): adjust
5342 (getRowNearY): adjust, and remove commented code.
5344 * lyxtext.h (firstRow): delete function
5345 (lastRow): delete function
5346 (rows): new function (const and non-const versions.)
5347 (insertRow): delete function
5349 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5351 2003-03-29 John Levon <levon@movementarian.org>
5353 * BufferView_pimpl.C: always update scrollbar top
5354 because pasting text when we're anchored could mean we
5355 miss an update altogether
5357 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5359 * text2.C (init): use rowlist_.end() and not 0.
5360 (insertRow): change to take a RowList::iterator as arg, adjust
5362 (insertParagraph): change to take a RowList::iterator as arg,
5364 (redoParagraphs): remove some debug msgs.
5366 * text.C (appendParagraph): change to take a RowList::iterator
5367 arg, adjust for this.
5368 (breakAgain): add an assert
5369 (breakAgainOneRow): ditto
5371 2003-03-29 John Levon <levon@movementarian.org>
5373 * text2.C: do not clear selection after inc/decDepth
5376 2003-03-29 John Levon <levon@movementarian.org>
5379 * buffer.C: fix broken strerrors according to Lars
5381 2003-03-29 John Levon <levon@movementarian.org>
5383 * converters.C: more Alert cleanups
5385 2003-03-29 John Levon <levon@movementarian.org>
5387 * bufferview_funcs.C: remove pointless Alert
5389 * buffer.C: fix confusing error message when
5390 a template is chmoded 000
5392 2003-03-29 John Levon <levon@movementarian.org>
5396 * BufferView_pimpl.C: Alert fixes
5400 * tabular-old.C: remove unused table compat reading
5402 2003-03-29 John Levon <levon@movementarian.org>
5407 * lyx_cb.C: more Alert cleanups
5409 * lyxfunc.C: don't allow chktex if not latex document
5411 2003-03-29 John Levon <levon@movementarian.org>
5415 * buffer.C: warnings pushed down from support/,
5418 2003-03-29 John Levon <levon@movementarian.org>
5420 * lyxfunc.C: safety check for C-r (revert)
5422 2003-03-29 John Levon <levon@movementarian.org>
5425 * bufferlist.C: several UI fixes using Alert::prompt.
5426 Fix the pointless looping quit code. Fix stupid revert
5431 * lyx_cb.C: use Alert::prompt
5433 * lyx_main.C: remove a silly question
5435 * lyxfunc.C: remove a couple of silly questions,
5438 2003-03-28 John Levon <levon@movementarian.org>
5440 * text2.C: fix bug 974 (End on empty par)
5442 2003-03-28 John Levon <levon@movementarian.org>
5444 * BufferView_pimpl.C:
5446 * lfuns.h: remove do-nothing math greek lfuns
5448 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5450 * lyxgluelength.h (isValidGlueLength): add default arg on
5451 parameter 2. Remove default arg from friend in class.
5453 * lyxlength.h (isValidLength): add default arg on parameter 2.
5454 Remove default arg from friend in class.
5456 * text2.C (LyXText): adjust, initialize refresh_row.
5460 (insertParagraph): adjst
5461 (redoParagraphs): adjust
5462 (fullRebreak): adjust
5463 (updateCounters): adjust
5464 (deleteEmptyParagraphMechanism): first attempt at fixing a
5467 * text.C (top_y): adjust
5468 (setHeightOfRow): adjust
5470 (getRowNearY): adjust
5472 * lyxtext.h: include RowList.h
5473 (~LyXText): not needed anymore, deleted.
5474 (firstRow): modify for RowList
5475 (lastRow): new function
5476 Delete firstrow and lastrow class variables, add a Rowlist
5477 rowlist_ class variable.
5479 * lyxrow.C (lastPos): use empty() and not !size() to check if a
5482 * RowList.C (insert): fix case where it == begin().
5484 2003-03-26 Angus Leeming <leeming@lyx.org>
5486 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5487 the thesaurus dialog.
5489 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5491 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5493 * RowList.[Ch]: new files
5495 * ParagraphList.C (erase): handle the case where it == begin
5498 2003-03-25 John Levon <levon@movementarian.org>
5502 * aspell.C: add new aspell support
5505 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5508 2003-03-25 Angus Leeming <leeming@lyx.org>
5511 * LyXAction.C (init): new LFUN_INSET_INSERT.
5513 * BufferView_pimpl.C (dispatch): split out part of the
5514 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5516 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5519 2003-03-25 Angus Leeming <leeming@lyx.org>
5521 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5523 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5526 * text3.C: remove useless row->height(0)
5528 2003-03-25 John Levon <levon@movementarian.org>
5532 * text3.C: rename the refreshing stuff to better names
5534 2003-03-24 John Levon <levon@movementarian.org>
5536 * BufferView_pimpl.h:
5537 * BufferView_pimpl.C: update layout choice on a mouse
5540 2003-03-23 John Levon <levon@movementarian.org>
5542 * Makefile.am: fix commandtags.h reference
5544 2003-03-22 John Levon <levon@movementarian.org>
5546 * BufferView_pimpl.C:
5551 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5553 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5556 * text.C: take the rtl methods out of line
5558 2003-03-21 André Pönitz <poenitz@gmx.net>
5560 * metricsinfo.[Ch]: new files containing structures to be passed around
5561 during the two-phase-drawing...
5563 2003-03-21 André Pönitz <poenitz@gmx.net>
5565 * lyxtextclass.C: read 'environment' tag.
5567 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5569 * text2.C (removeRow): fix bug 964
5571 2003-03-20 John Levon <levon@movementarian.org>
5575 * text2.C: paint cleanups. Inset::update() dropped font
5578 2003-03-19 John Levon <levon@movementarian.org>
5580 * lyxfunc.C: only fitcursor/markDirty if available()
5582 2003-03-19 John Levon <levon@movementarian.org>
5584 * commandtags.h: rename to ...
5586 * lfuns.h: ... this, and renumber / cleanup
5588 2003-03-19 John Levon <levon@movementarian.org>
5590 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5591 fit the cursor after an lfun
5595 * BufferView_pimpl.h:
5596 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5598 * LyXAction.C: layout-character should have ReadOnly
5600 * ParagraphParameters.C:
5602 * bufferview_funcs.C:
5609 * undo_funcs.C: changes from above
5611 2003-03-18 John Levon <levon@movementarian.org>
5613 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5614 remove it from update()
5616 * lyxfunc.C: update layout choice after an lfun
5618 * text3.C: remove extra updateLayoutChoice()s
5620 2003-03-18 John Levon <levon@movementarian.org>
5622 * text.C: top_y change means full repaint, fix
5623 a drawing bug with cursor movement
5625 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5629 * text2.C: anchor row on setCursor
5631 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5633 * lyxtext.h: remove almost all mutable keywords
5636 * text3.C: remove const keywords accordingly
5638 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5640 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5642 (TeXEnvironment): ditto
5645 2003-03-17 John Levon <levon@movementarian.org>
5647 * text.C (rowBreakPoint): remove attempt to fix displayed
5648 math insets inside a manual label
5650 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5652 * lyxtext.h: remove BufferView* as first arg from almost all class
5654 * other files: adjust.
5656 2003-03-17 John Levon <levon@movementarian.org>
5660 * text2.C: more paint cleanups
5662 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5665 * rowpainter.C: remove "smart" background painting code
5667 2003-03-16 John Levon <levon@movementarian.org>
5672 * text3.C: add helper functions for setting refresh_row/y
5674 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
5676 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5677 newline inset which *can* get inserted in the pass_thru layouts.
5678 This is primarily for literate documents.
5680 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
5682 * buffer.C: increment LYX_FORMAT to 223
5684 2003-03-14 André Pönitz <poenitz@gmx.net>
5686 * textclass.h: prepare for environment handling, ws changes
5687 * lyxlayout.C: read latexheader and latexfooter tags
5689 2003-03-14 John Levon <levon@movementarian.org>
5691 * text2.C: rewrite ::status() a bit
5693 2003-03-13 John Levon <levon@movementarian.org>
5695 * lyxtext.h: add some docs
5697 2003-03-13 John Levon <levon@movementarian.org>
5702 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5704 2003-03-13 John Levon <levon@movementarian.org>
5706 * text3.C: fix appendix redrawing
5708 2003-03-13 John Levon <levon@movementarian.org>
5710 * text.C (setHeightOfRow):
5712 * rowpainter.C: make appendix mark have the text
5713 "Appendix" so the user knows what it is
5716 * LColor.C: s/appendixline/appendix/ from above
5718 2003-03-13 John Levon <levon@movementarian.org>
5720 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5722 * text.C: fix a getChar(pos) bug properly
5724 2003-03-13 Angus Leeming <leeming@lyx.org>
5727 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5728 Probably only temporary. Let's see how things pan out.
5730 * BufferView.C (unlockInset):
5731 * BufferView_pimpl.C (fitCursor):
5732 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5734 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5735 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5737 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5738 new functions that convert ParagraphParameters to and from a string.
5740 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5741 BufferView::Pimpl's dispatch.
5742 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5744 2003-03-13 André Pönitz <poenitz@gmx.net>
5748 * factory.C: make it aware of InsetEnv
5750 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5752 * text2.C (setCursor): never ask for one past last
5753 (setCursor): add some debugging messages.
5755 * text.C (singleWidth): never ask for one past last
5756 (singleWidth): ditto
5758 (rightMargin): ditto
5759 (rowBreakPoint): ditto
5760 (setHeightOfRow): ditto
5761 (prepareToPrint): ditto
5763 * rowpainter.C (paintBackground): never ask for one past last
5764 (paintText): never ask for one past last
5766 * paragraph_pimpl.C (getChar): make the assert stricter, never
5767 allow the one past last pos to be taken
5769 * paragraph.C (getChar): ws changes only
5771 * lyxrow.C (nextRowIsAllInset): never ask for one past last
5772 (numberOfSeparators): ditto
5773 (numberOfHfills): ditto
5775 2003-03-12 John Levon <levon@movementarian.org>
5781 * paragraph_funcs.C: fix per-buffer authorlists
5783 2003-03-12 John Levon <levon@movementarian.org>
5785 * text.C: fix newline in right address
5787 2003-03-12 Angus Leeming <leeming@lyx.org>
5789 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5790 duplicate those in LyXFunc::dispatch.
5794 * ToolbarDefaults.C:
5795 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5796 Add LFUN_FONTFREE_UPDATE.
5798 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5799 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5801 * bufferview_func.[Ch]: several new functions to facilliate
5802 transfer of data to and from the character dialog.
5804 2003-03-12 John Levon <levon@movementarian.org>
5809 * paragraph_funcs.C:
5810 * paragraph_pimpl.C:
5814 * text3.C: remove META_NEWLINE in favour of an inset
5817 * rowpainter.C: remove paintNewline (done by inset)
5819 2003-03-12 John Levon <levon@movementarian.org>
5821 * paragraph_pimpl.C: complain about bad getChar()s
5822 for a while at least
5824 2003-03-12 John Levon <levon@movementarian.org>
5827 * buffer.C: move paragraph read into a separate function,
5828 a little renaming to reflect that.
5831 * bufferparams.C: remove the author_ids map, not necessary now
5834 * factory.C: moved Buffer::readInset to here
5836 * paragraph_funcs.h:
5837 * paragraph_funcs.C: readParagraph free function moved from
5840 * tabular.C: name change
5842 2003-03-12 John Levon <levon@movementarian.org>
5845 * ParagraphParameters.C: move par params input to
5848 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5849 behave like a normal read from the stream wrt reading
5850 a line vs. a \\token
5852 2003-03-12 John Levon <levon@movementarian.org>
5855 * ParagraphParameters.h:
5856 * ParagraphParameters.C: move output code to a
5859 2003-03-12 John Levon <levon@movementarian.org>
5861 * BufferView.C (insertLyXFile):
5864 * tabular.C: use a parlist iterator for creating the
5867 2003-03-12 John Levon <levon@movementarian.org>
5869 * buffer.C: make current_change static local not
5872 2003-03-12 John Levon <levon@movementarian.org>
5874 * buffer.C: fix insertStringAsLines for change tracking
5876 2003-03-12 John Levon <levon@movementarian.org>
5883 * bufferparams.C: move author list into params. Rename some
5884 functions. Move the header reading into a separate token
5885 loop. Move the header token reading into BufferParams.
5887 2003-03-12 John Levon <levon@movementarian.org>
5889 * changes.C: put debug inside lyxerr.debugging() checks
5891 2003-03-11 André Pönitz <poenitz@gmx.net>
5893 * factory.C: make it aware of InsetHFill
5895 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5897 * buffer.C (latexParagraphs): move function from here...
5898 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5901 2003-03-10 Angus Leeming <leeming@lyx.org>
5903 * LyXAction.C (init): fix bug in poplating array with multiple entries
5904 with the same LFUN (spotted by JMarc).
5906 2003-03-10 John Levon <levon@movementarian.org>
5909 * text2.C: move getColumnNearX() near its
5912 2003-03-10 John Levon <levon@movementarian.org>
5914 * text.C: fix break before a minipage
5916 2003-03-10 John Levon <levon@movementarian.org>
5918 * text.C: fix the last commit
5920 2003-03-09 John Levon <levon@movementarian.org>
5924 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5925 bug 365 (don't break before insets unless needed). Don't
5926 return a value > last under any circumstances.
5928 2003-03-09 Angus Leeming <leeming@lyx.org>
5930 * BufferView_pimpl.C (trackChanges, dispatch): call
5931 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5933 2003-03-09 Angus Leeming <leeming@lyx.org>
5935 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5936 than Dialogs::showAboutlyx().
5938 2003-03-09 Angus Leeming <leeming@lyx.org>
5940 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5941 than Dialogs::showTabularCreate().
5943 2003-03-09 John Levon <levon@movementarian.org>
5947 * text2.C: 3rd arg to nextBreakPoint was always the same.
5950 2003-03-08 John Levon <levon@movementarian.org>
5957 * text2.C: Remove the "main" bit from the "main body"
5960 2003-03-08 John Levon <levon@movementarian.org>
5962 * text.C (leftMargin): The left margin of an empty
5963 manual label paragraph should not include the label width
5966 * text.C (prepareToPrint): don't attempt to measure hfills
5967 for empty manual label paragraphs - the answer should be 0
5969 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5971 * CutAndPaste.C: remove commented code and reindent.
5973 2003-03-08 John Levon <levon@movementarian.org>
5976 * lyxfunc.C: move reloadBuffer()
5979 * BufferView.C: to here
5981 * lyxvc.C: add comment
5984 * vc-backend.C: call bv->reload() to avoid
5985 getStatus() check on MENURELOAD
5987 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
5989 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5990 to an old format .dep file.
5992 2003-03-07 Angus Leeming <leeming@lyx.org>
5994 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5995 when the LFUN_MOUSE_RELEASE should have been handled by
5996 inset->localDispatch.
5998 2003-03-07 Angus Leeming <leeming@lyx.org>
6000 * BufferView_pimpl.C (dispatch):
6001 * LyXAction.C (init):
6002 * ToolbarDefaults.C (init):
6004 * lyxfunc.C (getStatus):
6005 remove LFUN_INSET_GRAPHICS.
6007 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6009 2003-03-07 Angus Leeming <leeming@lyx.org>
6012 * LyXAction.C (init):
6013 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6015 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6018 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6020 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6021 localDispatch method LFUN_INSET_DIALOG_UPDATE.
6023 2003-03-07 Angus Leeming <leeming@lyx.org>
6025 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6028 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6030 * ParagraphList.C (front): new function
6033 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
6035 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6036 and top_row_offset_. removed var first_y.
6038 * text2.C (LyXText, removeRow):
6040 * BufferView_pimpl.C:
6041 use these methods instead of using first_y
6043 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6045 * text2.C (pasteSelection): adjust for checkPastePossible
6047 * CutAndPaste.C: remove Paragraph * buf and replace with
6048 ParagraphList paragraphs.
6049 (DeleteBuffer): delete
6050 (cutSelection): change the tc type to textclass_type
6051 (copySelection): change the tc type to textclass_type
6052 (copySelection): adjust for ParagraphList
6053 (pasteSelection): change the tc type to textclass_type
6054 (pasteSelection): adjust for Paragraphlist
6055 (nrOfParagraphs): simplify for ParagraphList
6056 (checkPastePossible): simplify for ParagraphList
6057 (checkPastePossible): remove unused arg
6059 * ParagraphList.C (insert): handle the case where there are no
6062 * CutAndPaste.h: make CutAndPaste a namespace.
6064 * text3.C (dispatch): adjust
6066 * text.C (breakParagraph): add a ParagraphList as arg
6068 * paragraph_funcs.C (breakParagraph): change to take a
6069 BufferParams and a ParagraphList as args.
6070 (breakParagraphConservative): ditto
6071 (mergeParagraph): ditto
6072 (TeXDeeper): add a ParagraphList arg
6073 (TeXEnvironment): ditto
6076 * buffer.C (readLyXformat2): adjust
6077 (insertStringAsLines): adjust
6078 (latexParagraphs): adjust
6080 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6081 (cutSelection): adjust
6082 (pasteSelection): adjust
6084 * BufferView_pimpl.C (insertInset): adjust
6086 2003-03-05 Angus Leeming <leeming@lyx.org>
6089 * LyXAction.C (init):
6090 * BufferView_pimpl.C (dispatch):
6091 * lyxfunc.C (getStatus):
6092 remove LFUN_CHILD_INSERT.
6094 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6096 2003-03-05 Angus Leeming <leeming@lyx.org>
6099 * LyXAction.C (init):
6100 * src/factory.C (createInset):
6101 * lyxfunc.C (getStatus):
6102 * text3.C (dispatch):
6103 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6105 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6107 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6109 * ParagraphList.C (insert): handle insert right before end()
6110 (erase): fix cases where it can be first or last paragraph.
6112 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6114 * paragraph_funcs.C (TeXEnvironment): remove all usage of
6115 Paragraph::next and Paragraph::previous
6118 * text.C (breakParagraph): adjust
6120 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6121 BufferParams& as arg.
6122 (breakParagraph): use ParagraphList::insert
6123 (breakParagraphConservative): take a Buffer* instead of a
6124 BufferParams& as arg.
6125 (breakParagraphConservative): use ParagraphList::insert.
6127 * buffer.C (insertStringAsLines): un-const it
6128 (insertStringAsLines): adjust
6130 * ParagraphList.C (insert): new function
6132 * CutAndPaste.C (pasteSelection): adjust
6134 * text.C (backspace): adjust
6136 * tabular.C (SetMultiColumn): adjust
6138 * CutAndPaste.C (cutSelection): adjust
6139 (pasteSelection): adjust
6141 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6142 Buffer const * as arg
6144 * ParagraphList.C (erase): new function
6145 * paragraph_funcs.C (mergeParagraph): use it
6146 (mergeParagraph): make it take a Buffer* instead of a
6147 BufferParams* as arg
6149 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6151 (breakParagraphConservative): ditto
6153 * paragraph.h: remove the breakParagraph friend
6155 * paragraph.C (eraseIntern): new function
6156 (setChange): new function
6158 * paragraph_funcs.C (mergeParagraph): make it take a
6159 ParagraphList::iterator instead of a Paragraph *, adjust
6162 * paragraph.h: move an #endif so that the change tracking stuff
6163 also works in the NO_NEXT case.
6165 2003-03-04 Angus Leeming <leeming@lyx.org>
6168 * LyXAction.C: new LFUN_INSET_MODIFY.
6170 * BufferView_pimpl.C (dispatch): if an inset is found to be open
6171 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6173 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6175 * several files: ws changes only
6177 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6178 (TeXEnvironment): ditto
6181 * buffer.C (makeLaTeXFile): adjust
6182 (latexParagraphs): make it take ParagraphList::iterator as args
6184 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6186 * buffer.C (latexParagraphs): adjust
6188 * paragraph.C (TeXOnePar): move function...
6189 (optArgInset): move function...
6190 (TeXEnvironment): move function...
6191 * paragraph_pimpl.C (TeXDeeper): move function...
6192 * paragraph_funcs.C: ...here
6194 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6196 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6198 * buffer.C (readInset): remove compability code for old Figure and
6201 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6203 * buffer.C: ws changes
6206 * BufferView_pimpl.C: ditto
6209 * bufferlist.h: ditto
6213 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
6215 * converter.[Ch]: split into itself +
6218 * Makefile.am: += graph.[Ch] + format.[Ch]
6225 * lyxrc.C: added #include "format.h"
6227 2003-02-27 Angus Leeming <leeming@lyx.org>
6229 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6232 * factory.C (createInset): add "label" to the factory.
6234 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6235 string and do no more.
6237 2003-02-27 Angus Leeming <leeming@lyx.org>
6240 * LyXAction.C (init):
6241 * factory.C (createInset):
6242 * BufferView_pimpl.C (dispatch):
6243 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6245 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6247 * lyxfunc.C (dispatch):
6248 * text3.C (dispatch): pass name to params2string.
6250 2003-02-26 Angus Leeming <leeming@lyx.org>
6252 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6254 Rearrange the ~includes. Strip out the unnecessary ones.
6256 * factory.C (createInset): reformat.
6257 create new insets for the various LFUN_XYZ_APPLY lfuns.
6259 2003-02-26 John Levon <levon@movementarian.org>
6262 * lyxrow.C: add isParStart,isParEnd helpers
6264 * paragraph.h: make isInserted/DeletedText take refs
6266 * paragraph_funcs.h:
6267 * paragraph_funcs.C: remove #if 0'd code
6272 * text.C: use lyxrow helpers above.
6273 Move draw and paint routines to RowPainter.
6274 Make several methods use refs not pointers.
6275 Make backgroundColor() const.
6276 Add markChangeInDraw(), isInInset().
6277 Merge changeRegionCase into changeCase.
6278 Make workWidth() shouldn't-happen code into an Assert.
6281 * rowpainter.C: new class for painting a row.
6284 * vspace.C: make inPixels take a ref
6286 2003-02-26 Angus Leeming <leeming@lyx.org>
6288 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6291 2003-02-25 John Levon <levon@movementarian.org>
6293 * ispell.C: give the forked command a more accurate name
6295 2003-02-22 John Levon <levon@movementarian.org>
6298 * toc.C: make TocItem store an id not a Paragraph *
6301 2003-02-21 Angus Leeming <leeming@lyx.org>
6303 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6304 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6305 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6306 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6307 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6308 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6310 * BufferView_pimpl.C (dispatch):
6311 * LyXAction.C (init):
6312 * factory.C (createInset):
6313 * lyxfunc.C (getStatus, dispatch):
6314 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6316 2003-02-21 Angus Leeming <leeming@lyx.org>
6318 * BufferView_pimpl.C (MenuInsertLyXFile):
6319 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6320 * lyxfunc.C (menuNew, open, doImport):
6321 no longer pass a LyXView & to fileDlg.
6323 2003-02-21 Angus Leeming <leeming@lyx.org>
6325 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6326 * LyXAction.C: change, BIBKEY to BIBITEM.
6327 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6328 Change InsetBibKey to InsetBibitem.
6329 Change BIBKEY_CODE to BIBITEM_CODE.
6330 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6331 * factory.C: replace insetbib.h with insetbibitem.h.
6332 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6333 * paragraph.C: replace insetbib.h with insetbibitem.h.
6334 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6335 Change bibkey() to bibitem().
6336 * text.C: remove insetbib.h.
6337 * text2.C: replace insetbib.h with insetbibitem.h.
6338 change bibkey() to bibitem().
6339 * text3.C: remove insetbib.h.
6340 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6342 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6344 * lyxrc.C (output): enclose user email in quotes (in case there are
6347 2003-02-18 John Levon <levon@movementarian.org>
6349 * buffer.h: add std::
6351 2003-02-17 John Levon <levon@movementarian.org>
6357 * pspell.C: reworking. Especially in ispell, a large
6358 number of clean ups and bug fixes.
6360 * lyxfunc.C: fix revert to behave sensibly
6362 2003-02-17 André Pönitz <poenitz@gmx.net>
6365 * commandtags.h: new LFUN_INSERT_BIBKEY
6375 * paragraph_func.C: remove special bibkey handling
6377 2003-02-17 John Levon <levon@movementarian.org>
6379 * text.C (Delete): fix case where delete at the end of
6380 the very first paragraph would not merge the pars
6382 2003-02-17 John Levon <levon@movementarian.org>
6384 * lyxrow.C: fix lastPrintablePos()
6386 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6388 * bufferparams.C (writeLaTeX): add a std:here
6390 * buffer.C: and remove a using directive there
6392 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6394 * buffer.C (makeLaTeXFile): move the code that generates the
6397 * bufferparams.C (writeLaTeX): ... in this new method
6399 * LaTeXFeatures.C (getEncodingSet): make const
6400 (getLanguages): make const
6402 * MenuBackend.C (binding): returns the binding associated to this
6404 (add): sets the status of each item by calling getStatus. Adds
6406 (read): add support for OptSubMenu
6407 (expand): remove extra separator at the end of expanded menu
6409 2003-02-15 John Levon <levon@movementarian.org>
6412 * BufferView_pimpl.C:
6414 * bufferlist.C: remove pointless BufferStorage bloat. Remove
6415 inset code that had no actual effect. Remove unneeded status
6418 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6420 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6423 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
6425 * text.C (drawLengthMarker): also draw an arrow marker for
6426 symbolic lengths (medskip...)
6428 2003-02-14 John Levon <levon@movementarian.org>
6431 * tabular.C: better method names
6433 2003-02-14 John Levon <levon@movementarian.org>
6435 * BufferView_pimpl.C:
6440 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6441 it's a more accurate name. Remove some pointless uses.
6443 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6445 * text2.C (LyXText): change order of initilizers to shut off
6448 2003-02-14 John Levon <levon@movementarian.org>
6450 * buffer.C: use ParIterator for getParFromID()
6454 * paragraph_pimpl.h:
6455 * paragraph_pimpl.C: remove unused getParFromID()
6457 2003-02-14 John Levon <levon@movementarian.org>
6459 * buffer.C: remove some very old #if 0'd parse code
6461 2003-02-13 John Levon <levon@movementarian.org>
6465 * text2.C: move hfillExpansion(), numberOfSeparators(),
6466 rowLast(), rowLastPrintable(), numberofHfills(),
6467 numberOfLabelHfills() ...
6470 * lyxrow.C: ... to member functions here.
6475 * text.C: remove LyXText::beginningOfMainBody(), and call
6476 p->beginningOfMainBody() directly. Move the check for
6477 LABEL_MANUAL into the latter.
6484 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6490 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6491 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6493 2003-02-13 John Levon <levon@movementarian.org>
6495 * CutAndPaste.C: remove debug
6497 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6499 * paragraph.C (asString): remove two unused variables
6501 * lyxtextclass.C (readTitleType):
6503 (LyXTextClass): handle new members titletype_ and titlename_
6505 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6507 2003-02-09 John Levon <levon@movementarian.org>
6510 * buffer.C: replace hand-coded list with a map for the dep clean
6512 2003-02-08 John Levon <levon@movementarian.org>
6514 * LaTeX.C: consolidate code into showRunMessage() helper
6516 2003-02-08 John Levon <levon@movementarian.org>
6521 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6522 and pass the size in explicitly
6524 * BufferView_pimpl.h:
6525 * BufferView_pimpl.C:
6527 * BufferView.C: add getCurrentChange()
6529 * BufferView_pimpl.h:
6530 * BufferView_pimpl.C: handle change lfuns
6532 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6533 for changes. Mark pasted paragraphs as new.
6535 * support/lyxtime.h:
6536 * support/lyxtime.C:
6537 * DepTable.C: abstract time_t as lyx::time_type
6540 * LColor.C: add colours for new text, deleted text, changebars
6542 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6543 package use "usenames" option.
6547 * LyXAction.C: add change lfuns
6551 * author.C: author handling
6554 * buffer.C: add a per-buffer author list, with first entry as
6555 current author. Handle new .lyx tokens for change tracking. Output
6556 author list to .lyx file. Output dvipost stuff to .tex preamble.
6557 Bump lyx format to 222.
6560 * bufferlist.C: add setCurrentAuthor() to reset current author details
6564 * bufferparams.C: add param for tracking
6566 * bufferview_funcs.C: output change info in minibuffer
6570 * changes.C: add change-tracking structure
6573 * debug.C: add CHANGES debug flag
6576 * lyxfind.C: add code for finding the next change piece
6579 * lyxrc.C: add user_name and user_email
6582 * lyxrow.C: add a metric for the top of the text line
6585 * text.C: implement accept/rejectChange()
6588 * text.C: paint changebars. Paint new/deleted text in the chosen
6589 colours. Strike through deleted text.
6593 * paragraph_pimpl.h:
6594 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6595 in the current change to the insert functions. Rework erase to
6596 mark text as deleted, adding an eraseIntern() and a range-based
6597 erase(). Implement per-paragraph change lookup and
6600 * paragraph_funcs.C: Fixup paste for change tracking.
6602 * tabular.C: mark added row/columns as new.
6604 * text.C: fix rowLast() to never return -1. Don't allow
6605 spellchecking of deleted text. Track transpose changes. Don't
6606 allow paragraph break or merge where appropriate.
6608 * text2.C: leave cursor at end of selection after a cut.
6610 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6612 * text.C (getLengthMarkerHeight):
6613 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6614 visible on screen too.
6616 2003-02-07 John Levon <levon@movementarian.org>
6618 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6620 2003-02-05 Angus Leeming <leeming@lyx.org>
6622 * lyxserver.C (read_ready): revert my patch of 11 September last year
6623 as it sends PC cpu through the roof. Presumably this means that
6624 the lyxserver will no longer run on an Alpha...
6626 2003-01-30 Angus Leeming <leeming@lyx.org>
6628 * factory.C (createInset): create an InsetCommandParam of type "index"
6629 and use it to 'do the right thing'.
6631 * text2.C (getStringToIndex): ensure that cursor position is always
6632 reset to the reset_cursor position.
6634 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6636 * lyxfunc.C (getStatus): "buffer-export custom" should never be
6639 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
6643 * lyxfunc.C: Output messages with identical spelling, punctuation,
6646 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
6648 * MenuBackend.C (expandFormats): List only viewable export formats
6651 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6654 * lyxfunc.C (getStatus): Make sure that formats other than
6655 "fax" can also be disabled
6657 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6659 * text3.C (dispatch): put the lfuns that insert insets in 3
6660 groups, and call doInsertInset with appropriate arguments.
6661 (doInsertInset): new function, that creates an inset and inserts
6662 it according to some boolean parameters.
6664 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6666 * buffer.C (readFile): remember to pass on 'par' when calling
6667 readFile recursively.
6669 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6671 * MenuBackend.C (expandFormats): add "..." to import formats.
6673 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
6675 * paragraph.C (asString): Remove XForms RTL hacks.
6677 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
6678 * buffer.C: fix typo
6680 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6682 * Makefile.am (LIBS): delete var
6683 (lyx_LDADD): add @LIBS@ here instead.
6685 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
6687 * Clarify the meaning of "wheel mouse jump"
6689 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6691 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6694 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6696 * importer.C (Loaders): do not preallocate 3 elements in the
6697 vector, since one ends up with 6 elements otherwise
6699 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6701 * DepTable.C (write): write the file name as last element of the
6702 .dep file (because it may contain spaces)
6703 (read): read info in the right order
6705 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6707 * paragraph_pimpl.C (simpleTeXBlanks):
6708 (simpleTeXSpecialChars):
6709 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6711 * tabular.C (latex): add some missing case statements. Reindent.
6713 * MenuBackend.C (expandToc): remove unused variable.
6715 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
6724 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6727 2003-01-05 John Levon <levon@movementarian.org>
6730 * BufferView.C: add getEncoding()
6733 * kbsequence.C: do not store last keypress
6736 * lyxfunc.C: store last keypress here instead. Pass encoding
6739 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6741 * lyx_main.C (init): remove annoying error message when following
6742 symbolic links (bug #780)
6744 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6746 * text.C (insertChar):
6747 * lyxrc.C (getDescription): remove extra spaces
6749 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6751 * lyxrc.C (getDescription): remove extra spaces
6753 2002-12-20 John Levon <levon@movementarian.org>
6755 * text3.C: hack fix for page up/down across tall rows
6757 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6759 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6762 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6764 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6765 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6766 thesaurus is not compiled in
6768 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
6770 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
6772 2002-12-16 Angus Leeming <leeming@lyx.org>
6775 * lyx_main.C (init): remove override_x_deadkeys stuff.
6777 2002-12-12 John Levon <levon@movementarian.org>
6779 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6780 insert. Only remove shift modifier under strict
6783 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6785 * MenuBackend.C (expandToc): fix crash.
6787 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6789 * MenuBackend.C (expandToc): gettext on float names.
6791 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6793 * lyxlength.[Ch]: set default unit to UNIT_NONE,
6794 implement bool empty() [bug 490]
6796 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6798 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6800 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6802 * several files: ws changes
6804 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6806 * text2.C (setCounter): clean up a bit, use boost.format.
6807 (updateCounters): initialize par upon declaration.
6809 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6810 if the layout exists. We do not just store the layout any more.
6811 (SwitchLayoutsBetweenClasses): use boost.format
6813 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6815 * converter.C (convert): if from and to files are the same, use a
6816 temporary files as intermediary
6818 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6821 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6823 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
6825 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6827 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6829 * tabular.C (asciiPrintCell): use string(size, char) instead of
6832 * sgml.C (openTag): fix order of arguments to string constructor
6835 * lyxfunc.C (dispatch): use boost.format
6837 * lots of files: change "c" -> 'c'
6839 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
6841 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6843 2002-11-25 Angus Leeming <leeming@lyx.org>
6845 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6847 * lyx_main.C (init): compile fix.
6849 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6851 * lyx_cb.C (start): boost.formatify
6852 do not include <iostream>
6854 * lengthcommon.C: ws only
6856 * boost-inst.C,BoostFormat.h: add more explict instantations
6858 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6860 * lots of files: handle USE_BOOST_FORMAT
6862 2002-11-21 John Levon <levon@movementarian.org>
6864 * pspell.C: fix compile
6866 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6868 * lyxfunc.C (dispatch): use boost::format
6872 * lyxfont.C (stateText): use boost::format
6874 * lyx_main.C (LyX): use boost::format
6876 (queryUserLyXDir): ditto
6879 (typedef boost::function): use the recommened syntax.
6881 * importer.C (Import): use boost::format
6883 * debug.C (showLevel): use boost::format
6885 * converter.C (view): use boost::format
6890 * bufferview_funcs.C (currentState): use boost::format
6892 * bufferlist.C (emergencyWrite): use boost::format
6894 * buffer.C (readLyXformat2): use boost::format
6895 (parseSingleLyXformat2Token): ditto
6897 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6899 * LaTeX.C (run): use boost::format
6901 * Chktex.C (scanLogFile): use boost::format
6903 * BufferView_pimpl.C (savePosition): use boost::format
6904 (restorePosition): ditto
6905 (MenuInsertLyXFile): ditto
6907 * BoostFormat.h: help file for explicit instation.
6909 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
6911 * tabular.C (latex): Support for block alignment in fixed width
6914 2002-11-17 John Levon <levon@movementarian.org>
6916 * BufferView_pimpl.C:
6918 * lyxfunc.C: split filedialog into open/save
6920 2002-11-08 Juergen Vigna <jug@sad.it>
6922 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6923 by my last patch (hopefully).
6925 2002-11-08 John Levon <levon@movementarian.org>
6934 * toc.C: ParConstIterator, and use it (from Lars)
6936 2002-11-07 Ben Stanley <bds02@uow.edu.au>
6938 * lyxtextclass.[Ch]: revise and add doxygen comments
6940 2002-11-07 John Levon <levon@movementarian.org>
6942 * text.C: fix progress value for spellchecker
6944 * toc.C: fix navigate menu for insetwrap inside minipage
6946 * paragraph_funcs.C: added FIXME for suspect code
6948 2002-11-07 John Levon <levon@movementarian.org>
6950 * BufferView_pimpl.C: fix redrawing of insets
6953 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6955 * text2.C (updateCounters): fix bug 668
6957 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
6959 * text3.C (dispatch): Do not make the buffer dirty when moving the
6962 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6964 * vc-backend.C: STRCONV
6967 * text2.C (setCounter): STRCONV
6969 * paragraph.C (asString): STRCONV
6971 * lyxlength.C (asString): STRCONV
6972 (asLatexString): ditto
6974 * lyxgluelength.C (asString): STRCONV
6975 (asLatexString): ditto
6977 * lyxfunc.C (dispatch): STRCONV
6980 * lyxfont.C (stateText): STRCONV
6982 * importer.C (Import): STRCONV
6984 * counters.C (labelItem): STRCONV
6985 (numberLabel): ditto
6986 (numberLabel): remove unused ostringstream o
6991 * bufferview_funcs.C (currentState): STRCONV
6993 * buffer.C (readFile): STRCONV
6994 (asciiParagraph): ditto
6995 (makeLaTeXFile): ditto
6997 * Spacing.C (writeEnvirBegin): STRCONV
6999 * LaTeXFeatures.C (getLanguages): STRCONV
7000 (getPackages): ditto
7002 (getBabelOptions): ditto
7003 (getTClassPreamble): ditto
7004 (getLyXSGMLEntities): ditto
7005 (getIncludedFiles): ditto
7009 (scanAuxFile): ditto
7012 * LString.h: add the STRCONV macros
7014 * BufferView_pimpl.C (savePosition): STRCONV
7015 (restorePosition): ditto
7016 (MenuInsertLyXFile): ditto
7018 * vc-backend.C (scanMaster): change from submatch[...] to
7021 * funcrequest.C: include config.h
7023 * factory.C: include config.h
7025 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7027 * box.C: include config.h
7029 * LaTeX.C (scanAuxFile): change from submatch[...] to
7033 2002-10-25 Angus Leeming <leeming@lyx.org>
7035 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7037 * ispell.[Ch] (setError): new method.
7038 * ispell.C (c-tor): move out child process into new class LaunchIspell.
7039 Use setError() insetead of goto END.
7041 * lyx_cb.C (AutoSave): move out child process into new class
7044 2002-10-30 John Levon <levon@movementarian.org>
7046 * text3.C: make start appendix undoable
7048 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
7050 * lyxlength.C (inPixels): Fix returned value.
7052 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7055 2002-10-24 Angus Leeming <leeming@lyx.org>
7057 * lyxgluelength.h: no need to forward declare BufferParams
7058 or BufferView, so don't.
7060 2002-10-21 John Levon <levon@movementarian.org>
7062 * BufferView.C: menuUndo ->undo, redo
7064 * BufferView.h: document, remove dead, make some methods private
7066 * paragraph_funcs.h:
7067 * paragraph_funcs.C:
7068 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7073 * sgml.C: move sgml open/close tag into sgml.C
7075 * bufferview_funcs.h: unused prototype
7078 * lyxfunc.C: remove unused
7081 * text.C: remove unused
7083 2002-10-21 John Levon <levon@movementarian.org>
7087 * BufferView_pimpl.h:
7088 * BufferView_pimpl.C: fix mouse wheel handling based on
7089 patch from Darren Freeman
7091 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
7093 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7095 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
7097 * lyxlength.C (inPixels): Fix hanfling of negative length.
7098 Fix LyXLength::MU case.
7100 2002-10-16 John Levon <levon@movementarian.org>
7102 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7104 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7106 * converter.C (view): add support for $$i (file name) and $$p
7107 (file path) for the viewer command. If $$i is not specified, then
7108 it is appended to the command (for compatibility with old syntax)
7110 2002-10-14 Juergen Vigna <jug@sad.it>
7112 * undo_funcs.C (textHandleUndo): alter the order in which the
7113 new undopar is added to the LyXText, as we have to set first
7114 the right prev/next and then add it as otherwise the rebuild of
7115 LyXText is not correct. Also reset the cursor to the right paragraph,
7116 with this IMO we could remove the hack in "redoParagraphs()".
7118 2002-10-09 Angus Leeming <leeming@lyx.org>
7120 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7121 to turn off an optimisation if a new inset is to be inserted.
7123 2002-10-11 André Pönitz <poenitz@gmx.net>
7125 * lyxtext.h: make some functions public to allow access
7126 from inset/lyxtext for handling LFUN_PRIOR/NEXT
7128 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7130 * text3.C (dispatch): when changing layout, avoid an infinite loop
7133 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7135 * lyxrc.C (read): treat a viewer or converter command of "none" as
7138 * MenuBackend.C (expandFormats): for an update, also allow the
7139 formats that are not viewable
7141 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7142 script if it is newer than the lyxrc.defaults in user directory
7144 2002-10-07 André Pönitz <poenitz@gmx.net>
7146 * text.C: Vitaly Lipatov's small i18n fix
7148 2002-09-25 Angus Leeming <leeming@lyx.org>
7150 * ispell.h: doxygen fix.
7152 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
7154 * buffer.h (readFile): Add a new argument to the method, to allow
7155 reading of old-format templates.
7157 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
7159 * toc.C (getTocList): Get TOC from InsetWrap.
7161 2002-09-16 John Levon <levon@movementarian.org>
7163 * lyxfunc.C: check tabular for cut/copy too
7165 2002-09-12 John Levon <levon@movementarian.org>
7170 * factory.C: add header
7172 * paragraph_funcs.h:
7173 * paragraph_funcs.C: cleanup
7175 2002-09-11 John Levon <levon@movementarian.org>
7177 * PrinterParams.h: odd/even default to true
7179 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
7181 * PrinterParams.h: update printer parameters for new xforms dialog
7183 2002-09-11 Angus Leeming <leeming@lyx.org>
7185 * lyxserver.C (read_ready): re-write to make it more transparent
7186 and to make it work in coherent fashion under Tru64 Unix.
7188 2002-09-11 André Pönitz <poenitz@gmx.net>
7192 * text3.C: implement LFUN_WORDSEL
7194 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7196 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7197 make floatlist_ a boost::shared_ptr<FloatList>
7199 * lyxtextclass.C: include FloatList.h
7200 (LyXTextClass): initialize floatlist_
7201 (TextClassTags): add TC_NOFLOAT
7202 (Read): match "nofloat" to TC_NOFLOAT and use it.
7203 (readFloat): modify call to floatlist_
7207 * FloatList.[Ch] (FloatList): remove commented out float
7209 (erase): new function
7211 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7213 * MenuBackend.C (expandToc): fix crash when there is no document
7216 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
7218 * many files: Add insetwrap.
7220 2002-09-09 John Levon <levon@movementarian.org>
7222 * text2.C: remove confusing and awkward depth wraparound
7224 2002-09-09 John Levon <levon@movementarian.org>
7226 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7229 * buffer.C: remove getIncludeonlyList()
7232 * lyxfunc.C: remove headers
7234 2002-09-09 Juergen Vigna <jug@sad.it>
7236 * text.C (getColumnNearX): fix form Michael this is most
7237 probably a cut&paste bug.
7239 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7241 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7243 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7244 references, ws changes.
7246 * text2.C (init): update counters after init
7247 (insertParagraph): no need to set counter on idividual paragraphs.
7248 (setCounter): access the counters object in the textclass object
7249 on in the buffer object.
7250 (updateCounters): ditto
7252 * lyxtextclass.C: include counters.h, add variable ctrs_ as
7253 shared_ptr<Counters> to avoid loading counters.h in all
7255 (LyXTextClass): initialize ctrs_
7256 (TextClassTags): add TC_COUNTER, and ...
7257 (Read): use it here.
7258 (CounterTags): new tags
7259 (readCounter): new function
7260 (counters): new funtion
7261 (defaultLayoutName): return a const reference
7263 * counters.C (Counters): remove contructor
7264 (newCounter): remove a couple of unneeded statements.
7265 (newCounter): simplify a bit.
7266 (numberLabel): some small formatting changes.
7268 * buffer.[Ch]: remove all traces of counters, move the Counters
7269 object to the LyXTextClass.
7271 2002-09-06 Alain Castera <castera@in2p3.fr>
7273 * tabular.C: uses \tabularnewline; uses >{...} construct from array
7274 package to set the horizontal alignment on fixed width columns.
7277 * lyx_sty.h: added tabularnewline macro def.
7279 * LaTeXFeatures.C: added NeedTabularnewline macro feature
7281 2002-09-06 John Levon <levon@movementarian.org>
7283 * LyXAction.C: tooltips for sub/superscript
7285 * MenuBackend.C: a bit more verbose
7287 * lyxfunc.C: tiny clean
7289 * undo_funcs.C: document undo_frozen
7291 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7293 * counters.C (Counters): add missing algorithm counter.
7295 * text2.C (setCounter): lookup the counter with layouts latexname
7296 instead of by section number.
7297 (setCounter): use a hackish way to lookup the correct enum
7299 a float name->type change
7300 reset enum couners with counter name directly instead of depth value.
7302 * counters.C (Counters): remove the push_backs, change to use the
7303 float type not the float name.
7304 (labelItem): remove unused string, float name->type change
7306 * counters.h: don't include vector, loose the enums and sects vectors
7308 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7310 * lyxtextclass.C (TextClassTags): add TC_FLOAT
7311 (Read): add float->TC_FLOAT to textclassTags
7312 (Read): and handle it in the switch
7313 (readFloat): new function
7315 * FloatList.C (FloatList): comment out the hardcoded float
7318 * lyxlayout.h: ws change.
7320 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
7322 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7324 2002-09-03 Angus Leeming <leeming@lyx.org>
7326 * BufferView_pimpl.h: qualified name is not allowed in member
7327 declaration: WorkArea & Pimpl::workarea() const;
7329 * factory.C: added using std::endl directive.
7331 * text3.C: added using std::find and std::vector directives.
7333 2002-08-29 André Pönitz <poenitz@gmx.net>
7336 * text2.C: remove unused member number_of_rows
7339 * BufferView2.C: remove file, move contents to...
7340 * BufferView.C: ... here
7342 * BufferView_pimpl.C:
7343 * factory.C: move more inset creation to factory
7345 * vspace.C: avoid direct usage of LyXText, ws changes
7348 don't provide direct access to WorkArea, use two simple
7349 acessors haveSelction() and workHeight() instead
7352 2002-08-29 John Levon <levon@movementarian.org>
7354 * BufferView_pimpl.C (dispatch): do not continue when
7357 2002-08-28 André Pönitz <poenitz@gmx.net>
7359 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7362 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7364 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
7366 * buffer.C: increment LYX_FORMAT to 221
7368 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7369 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7371 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7373 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7375 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7377 * factory.C (createInset): use LyXTextClass::floats
7379 * MenuBackend.C (expandFloatListInsert):
7380 (expandFloatInsert):
7383 * text2.C (setCounter):
7385 * LaTeXFeatures.C (useFloat):
7386 (getFloatDefinitions):
7388 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7390 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7391 floatlist_, with accessor floats().
7393 * FloatList.h: remove global FloatList
7395 2002-08-26 André Pönitz <poenitz@gmx.net>
7397 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7401 * BufferView_pimpl.C:
7402 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7404 2002-08-25 John Levon <levon@movementarian.org>
7406 * LyXAction.C: fix margin note description
7408 2002-08-24 John Levon <levon@movementarian.org>
7412 * bufferview_funcs.C:
7414 * undo_funcs.C: cleanups
7416 * lyxfunc.C: disable CUT/COPY when no selection
7418 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
7420 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7421 in "enum UNIT"; e.g. PTW for Percent of TextWidth
7423 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7424 Add backward compatibility to "mono", "gray" and "no".
7426 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
7428 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7429 (and file_format >= 200).
7431 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7433 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7435 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7437 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7439 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
7441 * BufferView_pimpl.C:
7448 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7449 inset and code to make it work with the paragraph code. The inset
7450 can be anywhere in the paragraph, but will only do the expected
7451 thing in LaTeX if the layout file contains the parameter line
7453 (or more generally, a nonzero value) for that layout.
7455 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7457 * paragraph.h: remove the declaration of undefined counters class
7460 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
7462 * text2.C (setCounter): fixed enumeration mis-count as reported by
7463 Dr. Richard Hawkins.
7465 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7467 * paragraph_funcs.h: remove some unneeded includes
7469 * text.C (backspace): pasteParagraph now in global scipe
7471 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7472 (pasteSelection): ditto
7474 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7475 * paragraph_funcs.C (pasteParagraph): ... here
7477 2002-08-20 André Pönitz <poenitz@gmx.net>
7479 * commandtags.h: new LFUNs for swapping/copying table row/colums
7482 * lyxfunc.C: support for new lfuns
7484 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7487 * buffer.[Ch]: remove NO_COMPABILITY stuff
7489 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
7491 * boost.C (throw_exception): new file, with helper function for
7492 boost compiled without exceptions.
7497 * ParameterStruct.h:
7498 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7500 * bufferlist.C (emergencyWriteAll): use boost bind
7502 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7504 * text.C: include paragraph_funcs.h
7505 (breakParagraph): breakParagraph is now in global scope
7507 * paragraph_funcs.[Ch]: new files
7509 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7512 * buffer.C: include paragraph_funcs.h
7513 (insertStringAsLines): breakParagraph is now in global scope
7515 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7518 * CutAndPaste.C: include paragraph_funcs.h
7519 (cutSelection): breakParagraphConservative is now in global scope
7520 (pasteSelection): ditto
7522 * buffer.h: declare oprator== and operator!= for
7523 Buffer::inset_iterator
7525 * bufferlist.C (emergencyWrite): don't use fmt(...)
7527 * text3.C: add using std::endl
7529 * BufferView.C (moveCursorUpdate): remove default arg
7531 2002-08-20 André Pönitz <poenitz@gmx.net>
7533 * buffer.[Ch]: move inline functions to .C
7536 * BufferView_pimpl.C:
7538 * buffer.[Ch]: use improved inset_iterator
7541 * paragraph.[Ch]: write one paragraph at a time
7543 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7545 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7546 style if style is not specified.
7548 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7550 * text2.C (setCounter): when searching for right label for a
7551 caption, make sure to recurse to parent insets (so that a caption
7552 in a minipage in a figure float works) (bug #568)
7554 2002-08-20 André Pönitz <poenitz@gmx.net>
7556 * text3.C: new file for LyXText::dispatch() and helpers
7558 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7560 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7562 2002-08-19 André Pönitz <poenitz@gmx.net>
7565 * text.C: new LyXText::dispatch()
7567 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7569 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7571 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7573 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7576 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7578 * Makefile.am: use $(variables) instead of @substitutions@
7580 2002-08-15 André Pönitz <poenitz@gmx.net>
7583 * BufferView_pimpl.C: streamlining mathed <-> outer world
7587 * LyXAction.C: remove unused LFUN_MATH
7589 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7591 * paragraph.[Ch]: add some NO_NEXT ifdefs.
7593 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7595 * paragraph.C (Paragraph): reformat a bit
7596 (cutIntoMinibuffer): use builtin InsetList function instad of
7600 * buffer.C: include boost/bind.hpp, add using std::for_each
7601 (writeFileAscii): use ParagraphList iterators
7602 (validate): use for_each for validate traversal of paragraphs
7603 (getBibkeyList): use ParagraphList iterators
7604 (resizeInsets): use for_each to resizeInsetsLyXText for all
7606 (getParFromID): use ParagraphList iterators
7608 * BufferView2.C (lockInset): use paragraph list and iterators
7610 2002-08-14 John Levon <levon@movementarian.org>
7612 * lyxserver.C: remove spurious xforms include
7614 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7616 * lyxfunc.C (getStatus): disable math-extern outside of math mode
7618 2002-08-13 André Pönitz <poenitz@gmx.net>
7621 * lyxfunc.C: further cleaning
7623 2002-08-13 André Pönitz <poenitz@gmx.net>
7625 * funcrequest.h: new constructor
7627 * funcrequest.C: move stuff here from .h
7630 * BufferView_pimpl.C:
7633 * lyxfunc.C: subsequent changes
7635 * lyxfunc.h: new view() member function
7637 * lyxfunc.C: subsequent changes
7639 2002-08-13 Angus Leeming <leeming@lyx.org>
7642 * BufferView_pimpl.C:
7650 changes due to the changed LyXView interface that now returns references
7651 to member variables not pointers.
7653 2002-08-13 Angus Leeming <leeming@lyx.org>
7655 * WordLangTuple (word, lang_code): return references to strings,
7660 * lyxtext.h: forward-declare WordLangTuple.
7665 * text.C: #include "WordLangTuple.h".
7668 * text.C: (selectNextWordToSpellcheck): constify return type.
7670 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
7676 * paragraph_pimpl.h:
7679 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7681 Made updateCounter always count from start of buffer, and removed
7682 second argument (par).
7683 Reverted floats number display to '#'. Perhaps I'll try again when the
7684 code base is sanitized a bit.
7686 2002-08-12 Angus Leeming <leeming@lyx.org>
7688 * buffer.[Ch] (getLabelList): constify.
7690 2002-08-07 André Pönitz <poenitz@gmx.net>
7692 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7694 * funcrequest.h: extension to keep mouse (x,y) position
7696 2002-08-12 Juergen Vigna <jug@sad.it>
7698 * BufferView2.C (insertErrors): forbid undo when inserting error
7701 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7703 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7705 * ParagraphList.[Ch]: new files
7707 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7709 * BufferView2.C (lockInset): ParagraphList changes
7712 * bufferlist.C: ditto
7716 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7718 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7719 unused class variable counter_,
7721 * paragraph.[Ch] (getFirstCounter): delete unused function
7723 * counters.C: include LAssert.h
7724 (reset): add a new function with no arg, change other version to
7725 not have def. arg and to not allow empty arg.
7727 * text2.C (setCounter): remove empty arg from call to Counters::reset
7729 2002-08-11 John Levon <levon@movementarian.org>
7731 * Makefile.am: add WordLangTuple.h
7733 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7735 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7736 lyxfunc.C lyxlex_pimpl.C: ws changes only.
7738 * insets/insettext.C: InsetList changes
7740 * graphics/GraphicsSupport.C (operator()): InsetList changes
7742 * toc.C (getTocList): InsetList changes
7744 * paragraph_pimpl.[Ch]: InsetList changes
7746 * paragraph.[Ch]: InsetList changes
7748 * buffer.C (inset_iterator): InsetList changes
7749 (setParagraph): ditto
7750 * buffer.h (inset_iterator): ditto
7751 * iterators.C (operator++): ditto
7752 * iterators.h: ditto
7754 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7756 * InsetList.[Ch]: new files, most InsetList handling moved out of
7759 * BufferView2.C (removeAutoInsets): InsetList changes
7761 (ChangeInsets): ditto
7763 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7765 * paragraph_pimpl.h (empty): new function
7767 * paragraph.[Ch] (empty): new function
7769 * other files: use the new Paragraph::empty function
7771 2002-08-09 John Levon <levon@movementarian.org>
7773 * lyxtext.h: remove unused refresh_height
7775 2002-08-09 John Levon <levon@movementarian.org>
7782 * paragraph.C: move sgml char escaping out of paragraph
7785 * paragraph.C: remove id setter
7789 * paragraph_pimpl.C: remove dead tex_code_break_column
7791 * bufferview_funcs.C: small cleanup
7793 * lyxfunc.C: remove dead proto
7795 * lyxtext.h: make some stuff private. Remove some dead stuff.
7797 * lyxgluelength.C: make as[LyX]String() readable
7799 2002-08-08 John Levon <levon@movementarian.org>
7804 * ToolbarDefaults.C:
7807 * toc.C: lyxaction cleanup
7809 2002-08-08 John Levon <levon@movementarian.org>
7811 * BufferView2.C: small cleanup
7814 * lyxfind.C: move unnecessary header into the .C
7816 2002-08-08 John Levon <levon@movementarian.org>
7818 * funcrequest.h: just tedious nonsense
7821 * lyx_main.C: cleanups
7824 * vspace.C: remove dead header lyx_main.h
7826 2002-08-07 Angus Leeming <leeming@lyx.org>
7829 * paragraph_pimpl.h:
7830 Forward declare class Counters in paragraph.h by moving the ctrs member
7831 variable into Paragraph::Pimpl.
7832 (counters): new method, returning a reference to pimpl_->ctrs.
7834 * text2.C: ensuing changes.
7836 2002-08-07 John Levon <levon@movementarian.org>
7838 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7840 * BufferView_pimpl.C: announce X selection on double/triple
7843 * lyx_main.C: use correct bool in batch dispatch
7845 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7847 2002-08-07 André Pönitz <poenitz@gmx.net>
7849 * funcrequest.h: new class to wrap a kb_action and its argument
7852 * BufferView_pimpl[Ch]:
7856 * lyxrc.C: subsequent changes
7859 2002-08-07 John Levon <levon@movementarian.org>
7861 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7862 document options change.
7864 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7869 * makefile.am: move counters functionality over from
7870 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7872 2002-08-06 John Levon <levon@movementarian.org>
7874 * WordLangTuple.h: new file for word + language code tuple
7885 * BufferView2.C: use WordLangTuple
7888 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7890 2002-08-06 John Levon <levon@movementarian.org>
7892 * lyx_main.C: fix cmdline batch handling
7894 2002-08-06 André Pönitz <poenitz@gmx.net>
7896 * lyxrc.C: set default for show_banner to true
7898 2002-08-06 John Levon <levon@movementarian.org>
7900 * pspell.C: fix a crash, and allow new aspell to work
7902 2002-08-06 John Levon <levon@movementarian.org>
7905 * kbmap.C: small cleanup
7908 * vspace.C: add const
7910 2002-08-05 John Levon <levon@movementarian.org>
7912 * LyXAction.C: back to tabular-insert
7914 2002-08-04 John Levon <levon@movementarian.org>
7917 * BufferView.C: cosmetic change
7919 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7929 * BufferView2.C: purge all "Lyx" not "LyX" strings
7932 * lyxcursor.C: attempt to add some documentation
7937 * ToolbarDefaults.C:
7938 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7939 merge with LFUN_TABULAR_INSERT
7946 * pspell.C: split up i/pspell implementations into separate
7947 files, many cleanups
7949 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7951 * text2.C: some cleanup
7953 * lyxfunc.C: don't check for isp_command == "none" any more, it
7954 didn't make any sense
7956 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7961 * makefile.am: move counters functionality over
7962 from text2.C/paragraph.[Ch] to counters.[Ch], and
7964 2002-08-02 John Levon <levon@movementarian.org>
7966 * buffer.C: s/lyxconvert/lyx2lyx/
7968 2002-08-02 Angus Leeming <leeming@lyx.org>
7970 * lyxlex.C: revert John's change as it breaks reading of the user
7973 2002-08-02 Angus Leeming <leeming@lyx.org>
7975 * importer.C (Import):
7976 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7977 changes due to LyXView::view() now returning a boost::shared_ptr.
7979 2002-08-02 John Levon <levon@movementarian.org>
7981 * lyxlex.C: small cleanup
7983 2002-08-02 John Levon <levon@movementarian.org>
7985 * text2.C (status): small cleanup, no logic change
7987 2002-08-01 John Levon <levon@movementarian.org>
7990 * buffer.C (writeFile): don't output alerts, caller
7994 * lyx_cb.C: from above
7996 * lyxfunc.C: allow to open non-existent files
7998 2002-07-31 John Levon <levon@movementarian.org>
8000 * lyxserver.C: don't let incidental errors get
8003 2002-07-30 John Levon <levon@movementarian.org>
8005 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8007 2002-07-30 John Levon <levon@movementarian.org>
8010 * lyxserver.C: remove I/O callback too
8012 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8014 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8017 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8019 * many files: strip,frontStrip -> trim,ltrim,rtrim
8021 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8023 * PrinterParams.h: remove extern containsOnly, and include
8024 support/lstrings.h instead.
8026 * LaTeX.C (scanAuxFile): modify because of strip changes
8028 * buffer.C (makeLaTeXFile): ditto
8029 * bufferparams.C (writeFile): ditt
8030 * lyxfont.C (stateText): ditto
8031 * lyxserver.C (read_ready): ditto
8032 * vc-backend.C (scanMaster): ditto
8034 * BufferView_pimpl.h: ws changes
8036 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8038 2002-07-26 André Pönitz <poenitz@gmx.net>
8040 * kb_sequence.C: remove unnedred usings
8042 2002-07-26 Juergen Vigna <jug@sad.it>
8044 * lyxfind.C (LyXReplace): we have to check better if the returned
8045 text is not of theLockingInset()->getLockingInset().
8047 2002-07-25 Juergen Vigna <jug@sad.it>
8049 * lyxfind.C (LyXReplace): don't replace if we don't get the
8052 * undo_funcs.C (createUndo): remove debugging code.
8054 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
8056 * buffer.C (parseSingleLyXformat2Token): Use default placement
8057 when reading old floats.
8059 * FloatList.C (FloatList): Change the default placement of figure
8060 and tables to "tbp".
8062 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
8064 * MenuBackend.C: using std::max
8066 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8068 * MenuBackend.C (expandToc):
8069 (expandToc2): code moved from xforms menu frontend. It is now
8070 generic and TOCs are transparent to menu frontends.
8072 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8074 * toc.C (getTocList): protect against buf=0
8076 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8077 Menu as first parameter. Now, this calls itself recursively to
8078 expand a whole tree (this will be useful for TOC handling)
8079 (expandFloatInsert): remove 'wide' version of floats
8081 * MenuBackend.h (submenuname): returns the name of the submenu.
8082 (submenu): returns the submenu itself, provided it has been
8083 created by MenuBackend::expand
8085 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8087 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8088 insets which have noFontChange == true. (bug #172)
8090 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8092 * BufferView_pimpl.C: add connection objects and use them...
8095 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8097 * MenuBackend.C (expandLastfiles):
8100 (expandFloatListInsert):
8101 (expandFloatInsert):
8102 (expand): split expand in parts
8104 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8106 * lyx_gui.C: use lyx_gui::exit()
8108 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8110 * LyXAction.C: show the failing pseudo action
8112 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
8114 * buffer.C (readFile): Run the lyxconvert script in order to read
8117 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8121 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8123 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8127 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8129 2002-07-22 Herbert Voss <voss@lyx.org>
8132 * lyxlength.[Ch]: add support for the vertical lengths
8134 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
8136 * toc.[Ch]: std:: fixes
8138 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8140 * lyxrc.C: do not include lyx_main.h
8142 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8148 * BufferView2.C: include "lyxlex.h"
8151 * bufferparams.h: do not #include "lyxlex.h"
8153 * lyxtextclasslist.C (Add): remove method
8154 (classlist): renamed to classlist_
8156 * paragraph_pimpl.C:
8160 * bufferview_funcs.C:
8165 * toc.C (getTocList): use BufferParams::getLyXTextClass
8167 * toc.C (getTocList): use InsetFloat::addToToc
8169 * toc.[Ch]: new files, containing helper functions to handle table
8172 * lyxfunc.C (dispatch): no need to remove spaces around command
8174 (getStatus): handle LFUN_SEQUENCE by returning the status of the
8175 first command of the sequence; it is not very clever, but I do not
8176 have a better idea, actually
8178 * LyXAction.C (LookupFunc): make sure to remove space at the
8179 beginning and end of the command
8181 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8183 * MenuBackend.C (getMenubar): new method: return the menubar of
8185 (read): treat differently reading of menu and menubar (in
8186 particular, the menubar has no name now)
8187 (Menu::menubar): remove
8189 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8192 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8194 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8195 a bibitem inset in a RTL paragraph.
8197 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
8199 * paragraph_pimpl.C: constify
8201 * BufferView_pimpl.C:
8203 * lyxfunc.C: fix dispatch in a nicer way
8205 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8207 * lyxfunc.C (dispatch):
8208 * BufferView_pimpl.C:
8209 * BufferView_pimpl.h:
8211 * BufferView.h: rename Dispatch() to dispatch()
8213 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8215 * lyxlayout.C (Read): honor DependsOn tag
8217 * lyxlayout.[Ch] (depends_on): new method
8219 * version.C.in: update lyx_docversion
8221 * LaTeXFeatures.C (getMacros): only define \LyX when needed
8223 * paragraph.C (validate): remove from here...
8224 * paragraph_pimpl.C (validate): ... and move here
8225 (isTextAt): make it const
8227 * buffer.C (getLists): ws cleanup
8229 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8231 * language.C (read): Use iso8859-1 encoding in latex_lang
8232 (this prevents LyX from crashing when using iso10646-1 encoding).
8234 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8236 * text2.C (toggleInset): if cursor is inside an inset, close the
8237 inset and leave cursor _after_ it
8239 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8241 * lyxfunc.C: move minibuffer completion handling out of here
8243 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8245 * BufferView_pimpl.C:
8246 * LaTeX.C: fix dispatch calls
8248 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
8250 * text.C (drawChars): Fix Arabic text rendering.
8252 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
8256 * lyxfunc.C: remove message-push/pop
8260 * lyxfunc.C: rationalise some code by removing verboseDispatch
8261 in favour of a bool argument to dispatch()
8263 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8265 * lyx_main.C (init): make sure to read symlinks as absolute paths
8267 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8270 * lyxfunc.C: no need for commandshortcut to be a member
8272 2002-07-15 André Pönitz <poenitz@gmx.net>
8274 * converter.C: add support for $$s (scripts from lib/scripts dir)
8275 * lyx_main.C: white space
8277 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8281 * lyxrc.C: remove second exit confirmation
8283 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8288 * BufferView_pimpl.h:
8289 * BufferView_pimpl.C:
8290 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8292 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8294 * MenuBackend.C (expand): add numeric shortcuts to document menu
8296 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8298 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8300 * lyxfont.C (setLyXFamily):
8307 * buffer.C (asciiParagraph): use ascii_lowercase
8309 2002-07-15 Mike Fabian <mfabian@suse.de>
8311 * lyxlex_pimpl.C (search_kw):
8312 * lyxlex.C (getLongString):
8313 * converter.h (operator<):
8314 * converter.C (operator<):
8315 * buffer.C (parseSingleLyXformat2Token):
8317 * ToolbarDefaults.C (read):
8318 * MenuBackend.C (checkShortcuts):
8320 * LColor.C (getFromGUIName):
8321 (getFromLyXName): use the compare_ascii_no_case instead of
8322 compare_no_case, because in turkish, 'i' is not the lowercase
8323 version of 'I', and thus turkish locale breaks parsing of tags.
8325 2002-07-16 Angus Leeming <leeming@lyx.org>
8327 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8328 now takes a Buffer const & argument.
8330 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
8332 * BufferView.C (resize): check there's a buffer to resize
8334 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
8336 * lyxfunc.C: remove dead code
8339 * lyxserver.C: use lyx_guii::set_read_callback
8341 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
8343 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8344 an inset in a RTL paragraph.
8346 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8348 * lyxfunc.C: repaint after a font size update
8350 2002-07-15 André Pönitz <poenitz@gmx.net>
8352 * lyxlength.C: inBP should be able to return negative values
8354 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8356 * lyxfunc.C: use lyx_gui::update_fonts()
8358 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8360 * lyxfunc.C: use lyx_gui::update_color()
8362 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8368 * lyxrc.C: remove file->new asks for name option, and let
8369 buffer-new take an argument
8371 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8373 * BufferView_pimpl.C: remove unneeded extra repaint()
8375 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
8377 * LyXAction.C: allow command-sequence with NoBuffer
8379 * lyxfunc.C: don't insist on trailing ';' for command-sequence
8381 2002-07-10 Angus Leeming <leeming@lyx.org>
8383 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8385 2002-07-09 Angus Leeming <leeming@lyx.org>
8387 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8389 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8391 * lengthcommon.h: whitespace
8393 * lyxfunc.C: update scrollbar after goto paragraph
8395 * lyxtext.h: factor out page break drawing, and fix it so
8396 page break/added space paints as selected nicely
8398 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8400 * BufferView_pimpl.C: add FIXMEs, clean up a little
8402 2002-07-09 André Pönitz <poenitz@gmx.net>
8404 * lyxfont.[Ch]: support for wasy symbols
8406 2002-07-08 André Pönitz <poenitz@gmx.net>
8408 * BufferView_pimpl.C: apply John's patch for #93.
8410 2002-07-05 Angus Leeming <leeming@lyx.org>
8412 * BufferView_pimpl.C (buffer): generate previews if desired.
8414 * LColor.h: add "preview" to the color enum.
8416 * LColor.C (LColor): add a corresponding entry to the items array.
8418 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8421 2002-07-05 Angus Leeming <leeming@lyx.org>
8423 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8424 The body of the code is now in the method that is passed an ostream &
8425 rather than a file name.
8426 Pass an additional only_preamble parameter, useful for the forthcoming
8429 2002-07-03 André Pönitz <poenitz@gmx.net>
8431 * lyxfunc.C: simplify getStatus() a bit for math stuff
8433 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8435 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8437 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8439 * text.C (changeRegionCase): do not change case of all the
8440 document when region ends at paragraph end (bug #461)
8442 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8444 * paragraph.C (startTeXParParams):
8445 (endTeXParParams): add \protect when necessary
8447 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8449 * BufferView_pimpl.C (workAreaExpose): remove warning
8451 2002-06-27 Angus Leeming <leeming@lyx.org>
8453 * Makefile.am: add lyxlayout_ptr_fwd.h.
8455 2002-06-26 André Pönitz <poenitz@gmx.net>
8457 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8459 2002-06-25 Angus Leeming <leeming@lyx.org>
8461 * lyxfunc.C (dispatch): Comment out the call to
8462 grfx::GCache::changeDisplay. The method no longer exists now that the
8463 pixmap generation part of the graphics loader has been moved into
8466 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8468 * text2.C: layout as layout
8470 * text.C: layout as layout
8472 * tabular.C (OldFormatRead): layout as layout
8474 * paragraph_pimpl.C (TeXDeeper): layout as layout
8475 (realizeFont): layout as layout
8477 * paragraph.C (writeFile): layout as layout
8478 (validate): layout as layout
8479 (getFont): layout as layout
8480 (getLabelFont): layout as layout
8481 (getLayoutFont): layout as layout
8482 (breakParagraph): layout as layout
8483 (stripLeadingSpaces): layout as layout
8484 (getEndLabel): layout as layout
8485 (getMaxDepthAfter): layout as layout
8486 (applyLayout): layout as layout
8487 (TeXOnePar): layout as layout
8488 (simpleTeXOnePar): layout as layout
8489 (TeXEnvironment): layout as layout
8490 (layout): layout as layout
8491 (layout): layout as layout
8493 * lyxtextclass.C (compare_name): new functor to work with
8494 shared_ptr, layout as layout
8495 (Read): layout as layout
8496 (hasLayout): layout as layout
8497 (operator): layout as layout
8498 (delete_layout): layout as layout
8499 (defaultLayout): layout as layout
8501 * lyxlayout_ptr_fwd.h: new file
8503 * lyxlayout.C (Read): layout as layout
8505 * lyx_cb.C (MenuInsertLabel): layout as layout
8507 * bufferlist.C (newFile): layout as layout
8509 * buffer.C (readLyXformat2): layout as layout
8510 (parseSingleLyXformat2Token): layout as layout
8511 (insertStringAsLines): layout as layout
8512 (asciiParagraph): layout as layout
8513 (latexParagraphs): layout as layout
8514 (makeLinuxDocFile): layout as layout
8515 (simpleLinuxDocOnePar): layout as layout
8516 (makeDocBookFile): layout as layout
8517 (simpleDocBookOnePar): layout as layout
8518 (getLists): layout as layout
8520 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8522 * CutAndPaste.C (cutSelection): layout as layout
8523 (pasteSelection): layout as layout
8524 (SwitchLayoutsBetweenClasses): layout as layout
8526 * BufferView_pimpl.C (Dispatch): layout as layout
8527 (smartQuote): layout as layout
8529 * BufferView2.C (unlockInset): layout as layout
8531 2002-06-24 André Pönitz <poenitz@gmx.net>
8533 * lyxfunc.C: fix #487
8535 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8539 * lyxfunc.C: remove display_shortcuts, show_banner
8541 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8543 * Buffer_pimpl.C: oops, update on resize
8545 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8552 * BufferView.C: use repaint()
8554 * BufferView_pimpl.h:
8555 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8556 as it's a clearer description. Remove superfluous
8559 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8561 * text.C: fix bug 488. Not ideal, but getting
8562 getWord() to work properly for the insets that
8563 matter is more difficult ...
8565 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8567 * BufferView_pimpl.C:
8570 * lyxfunc.C: remove the six million index lyxfuncs to just
8571 one, and DTRT (bug 458)
8573 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8577 * BufferView_pimpl.h:
8578 * BufferView_pimpl.C: clean up resize() stuff,
8579 and unnecessary updateScreen()s
8581 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8585 * BufferView_pimpl.h:
8586 * BufferView_pimpl.C:
8589 * minibuffer.C: remove focus management of workarea,
8590 not needed. Use screen's greyOut()
8592 2002-06-17 Herbert Voss <voss@lyx.org>
8594 * converter.C: (convert) do not post a message, when converting
8595 fails, let the calling function decide what to do in this case
8597 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
8599 * lyxfunc.C: tidy up a little
8601 2002-06-16 <alstrup@diku.dk>
8603 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8604 Got rid of FORMS_H_LOCATION include. Now we are
8607 2002-06-15 LyX Development team <lyx@rilke>
8609 * buffer.[Ch] (sgmlOpenTag):
8610 (sgmlCloseTag): Added support for avoiding pernicious mixed
8611 content. Return number of lines written.
8614 (makeDocBookFile): Fixed calls to sgml*Tag.
8615 Simple white space clean.
8617 (simpleDocBookOnePar): Simple white space clean.
8619 * tabular.[Ch] (docBook): Renamed to docbook and got another
8620 argument to related with the pernicious mixed content.
8622 (docbookRow): Fixed calls for docbook inset method.
8624 2002-06-15 Lyx Development team <larsbj@birdstep.com>
8626 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8627 so it's X11 independent.
8631 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8633 2002-06-15 Lyx Development team <lyx@electronia>
8635 * intl.h: Renamed getTrans to getTransManager.
8637 2002-06-14 Angus Leeming <leeming@lyx.org>
8639 * Makefile.am: nuke forgotten stl_string_fwd.h.
8641 2002-06-12 Angus Leeming <leeming@lyx.org>
8643 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8645 2002-06-13 Angus Leeming <leeming@lyx.org>
8648 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8650 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
8652 * kbmap.C (getiso): add support for cyrillic and greek
8654 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8658 * BufferView_pimpl.h:
8659 * BufferView_pimpl.C: move bogus scrolling logic
8662 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8665 * BufferView_pimpl.C: view->resize() change
8667 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8669 * BufferView_pimpl.C: topCursorVisible
8672 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8676 * lyx_gui.C: move to frontends/
8680 * lyx_main.C: changes from above
8682 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8689 * lyx_main.C: minor tidy
8691 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8693 * BufferView_pimpl.h:
8694 * BufferView_pimpl.C:
8696 * BufferView.C: make painter() const,
8699 * BufferView2.C: use screen() accessor
8702 * lyx_main.C: some minor cleanup
8704 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8706 * BufferView_pimpl.h:
8707 * BufferView_pimpl.C: remove enter/leaveView,
8710 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8715 * BufferView_pimpl.h:
8716 * BufferView_pimpl.C: only construct screen once,
8719 * lyxrc.C: remove pointless comment
8721 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8724 * BufferView.C: remove active() and belowMouse()
8726 * BufferView_pimpl.h:
8727 * BufferView_pimpl.C: use workarea() not workarea_,
8728 and make it use a scoped_ptr instead
8730 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8732 * lyx_gui.C: add debug message on BadWindow
8734 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8736 * sp_spell.C: fdopen is not part of the C++ standard.
8738 * paragraph.C (InsetIterator): use >= instead of ==
8740 2002-06-07 Angus Leeming <leeming@lyx.org>
8742 Fixes needed to compile with Compaq cxx 6.5.
8743 * BufferView_pimpl.C:
8750 * lyxtextclasslist.C:
8755 all c-library variables have been moved into namespace std. Wrap
8756 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8761 Add a using std::abs declaration.
8763 * kbmap.h (modifier_pair):
8764 * paragraph.h (InsetTable, InsetList):
8765 * lyxfont.h (FontBits):
8766 type definition made public.
8768 * bufferlist.C (emergencyWriteAll): the compiler complains that
8769 there is more than one possible lyx::class_fun template to choose from.
8770 I re-named the void specialisation as lyx::void_class_fun.
8772 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8774 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8775 the compiler is is unable to find tostr in write_attribute.
8777 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8779 * buffer.C (sgmlError): hide #warning
8781 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8783 * xtl/*: get rid of xtl, which is not in use anyway
8785 * LyXAction.C (init):
8786 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8787 were unimplemented xtl experimentation
8789 2002-06-04 André Pönitz <poenitz@gmx.net>
8791 * lyxfunc.C: disable array operation on simple formulae
8793 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
8795 * converter.C: constify a bit
8797 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
8799 * lyx_gui.C: check xforms version correctly
8801 2002-04-30 Herbert Voss <voss@lyx.org>
8803 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8806 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
8808 * lyxvc.C: fix bug 416 (make sure buffer is saved before
8809 attempt to register it with a VCS)
8811 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8813 * lyx_main.C (init): honor variables LYX_DIR_13x and
8816 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8820 * lyx_main.C: fix a crash on bad command line,
8821 and give a useful exit status on error
8823 * lyxfunc.C (doImport): allow -i lyx to work
8825 2002-03-30 André Pönitz <poenitz@gmx.net>
8827 * lyxfunc.C: mathed font changes
8829 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8844 * trans_mgr.h: srcdocs, and some minor cleanups
8846 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8848 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8849 call getFont all the time)
8851 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8853 * switch from SigC signals to boost::signals
8855 2002-05-29 André Pönitz <poenitz@gmx.net>
8857 * paragraph_pimpl.C (getChar): don't call size() too often...
8859 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8861 * paragraph_pimpl.C (insertChar): do not try to update tables when
8862 appending (pos == size())
8864 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8865 in order to reduce drastically the number of comparisons needed to
8866 parse a large document
8868 2002-05-29 André Pönitz <poenitz@gmx.net>
8874 * textclasslist.[Ch]:
8875 * sp_ispell.h: whitespace change
8877 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8879 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8880 lyxaction directly now.
8882 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
8886 * lyxvc.C: remove unused headers
8888 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8895 * undo_funcs.C: some cleanups. Use shared_ptr
8896 and a template for the undo stacks.
8898 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8900 * BufferView_pimpl.h:
8901 * BufferView_pimpl.C:
8908 * text2.C: use key_state/mouse_state
8910 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8912 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8915 * chset.C: change include order
8916 (loadFile): use boost regex and get rid of LRegex and LSubstring
8918 * Makefile.am (BOOST_LIBS): new variable
8921 * LaTeX.C: change include order.
8922 (scanAuxFile): use boost regex and get rid of LRegex and
8926 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8931 * FontInfo.C: moved to frontends/xforms/
8934 * FontLoader.C: moved into frontends for GUIIzation
8939 * lyxfunc.C: changes from above
8941 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8943 * LColor.C: remove spurious X include
8945 * BufferView_pimpl.C:
8950 * text2.C: move font metrics to frontends/
8952 2002-05-24 Juergen Vigna <jug@sad.it>
8954 * undo_funcs.C (textHandleUndo): fix the cursor selection after
8955 setting the undo_cursor.
8957 * ParagraphParameters.h: include local includes first.
8959 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8961 * BufferView_pimpl.C:
8962 * BufferView_pimpl.h:
8966 * screen.C: move WorkArea into frontends/
8972 * BufferView2.C: move LyXScreen into frontends/
8976 * lyx_gui.C: move lyxlookup into frontends/xforms/
8978 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8981 * BufferView_pimpl.C:
8991 * bufferview_funcs.C:
9004 * vc-backend.C: move LyX/XFormsView into frontends/
9006 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9018 * text2.C: move Painter to frontends/
9020 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9022 * buffer.C: comment out some some code that depend upon lyx_format
9025 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9026 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9028 * buffer.h (NO_COMPABILITY): turn off compability
9030 * ColorHandler.C: include scoped_array.hpp
9032 * font.C: Use more specific smart_ptr header.
9035 * ShareContainer.h: ditto
9039 * BufferView_pimpl.h: ditto
9040 * ColorHandler.h: ditto
9042 * kbmap.C (defkey): change call to shared_ptr::reset
9044 2002-05-21 Juergen Vigna <jug@sad.it>
9046 * buffer.C (insertErtContents): fix to insert ert asis if it is
9047 non empty. Skip it completely if it contains only whitespaces.
9049 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
9051 * BufferView_pimpl.C:
9052 * BufferView2.C: clear selection on paste (bug 393)
9054 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9056 * DepTable.C: include ctime
9058 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
9060 * buffer.C (latexParagraphs): Add new argument (moving_arg).
9062 2002-05-14 Juergen Vigna <jug@sad.it>
9064 * text.C (breakParagraph): fixed function to honor the keepempty
9065 layout in the right maner and also to permit the right breaking
9066 algorithm on empty or non empyt keepempty paragraphs.
9068 * paragraph.C (breakParagraph): we have to check also if the par
9069 is really empty (!size()) for isempty otherwise we do the wrong
9072 2002-05-10 Juergen Vigna <jug@sad.it>
9074 * buffer.[Ch] : The following are only changes to the ert
9075 compatibility read reading old LaTeX layout and font stuff and
9076 convert it to ERTInsets.
9078 * buffer.h: added isErtInset().
9080 * buffer.C (struct ErtComp): add a fromlayout bool to check
9081 if we're inside a LaTeX layout.
9082 (isErtInset): new helper function.
9083 (insertErtContents): look for other ert insets before this one
9084 and insert the contents there, so that we don't have subsequent
9085 ERT insets with nothing between them. This way we create only one
9086 inset with multiple paragraphs. Also check if we don't insert only
9087 spaces ' ' as they are ignored anyway afterwards in the .tex file
9088 so if we have only spaces we will ignore this latex part in the
9090 (parseSingleLyXformat2Token \\layout): better compatibility when
9091 reading layout-latex stuff.
9092 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9094 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9095 stuff after reading the inset only get the information back from
9098 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
9100 * buffer.C (makeLaTeXFile): Put language options after loading babel.
9102 * LaTeXFeatures.C (getBabelOptions): New method.
9104 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9106 * BufferView_pimpl.C (Dispatch): work around missing argument for
9109 2002-05-08 Juergen Vigna <jug@sad.it>
9111 * text.C (leftMargin): handle paragraph leftindent.
9113 * paragraph.C (writeFile): write the new \\leftindent tag.
9114 (validate): handle leftindent code.
9115 (TeXEnvironment): handle paragraphleftindent code again.
9117 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9119 * buffer.C (parseSingleLyXformat2Token): added compatibility code
9120 for paragrap_extra indent code and new token \\leftindent.
9121 (latexParagraphs): handle the leftindent as environment.
9123 * ParameterStruct.h: added leftindent support.
9125 * ParagraphParameters.C (leftIndent): added support functions for
9126 the paragraph left indent.
9128 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9131 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
9133 * paragraph.C (isRightToLeftPar): Return false for a paragraph
9136 * text.C (computeBidiTables): No bidi in insetERT.
9138 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9141 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9143 * version.C.in: pre 5
9145 2002-05-02 José Matos <jamatos@fep.up.pt>
9146 * buffer.C (makeDocBookFile): white space changes, add newline to
9148 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9150 * tabular.C (docBook): fix typo.
9152 2002-05-03 Juergen Vigna <jug@sad.it>
9154 * screen.C (drawFromTo): recalculate the rowpointer if we had a
9155 change in LyXText as we can not be sure it was not freed.
9156 (drawOneRow): remove unused code.
9158 * text.C (drawInset): redo the calculation of the need_break_row as
9159 it could have a row which was already freed.
9160 (draw): look at the return value of drawInset and return false if
9161 it also returned false.
9162 (paintRowText): look at the return value of draw and return false if
9163 it also returned false.
9165 * lyxtext.h: added bool return type to drawInset() and draw() so that
9166 if we have a change in the row so that the rowbreak has to be redone
9167 we abort drawing as it will be called again.
9169 2002-05-02 Juergen Vigna <jug@sad.it>
9171 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9172 a change in the maintext also if we're inside an inset.
9173 (Dispatch): set the cursor again after a break line and after the
9174 screen has been updated as it could be we're in a different row.
9176 * text2.C (fixCursorAfterDelete): check to make sure we don't request
9177 to set the cursor behind the pargraph with > size().
9178 (setCursor): check also for the same paragraph when checking where
9179 to put the cursor if we have a NFR inset.
9181 * buffer.C (parseSingleLyXformat2Token): move the compatibility
9182 parts of layout read further up as it still was in the wrong
9185 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9187 * screen.C (drawFromTo): change sine fullRebreak always return
9190 * buffer.C (parseSingleLyXformat2Token): reindent some
9192 * BufferView_pimpl.C (update): change since fullRebreak always
9194 (Dispatch): git rid of the last hardcoded "Standard"s.
9196 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9198 * text2.[Ch] (fullRebreak): make it return void now that we always
9201 2002-04-30 Juergen Vigna <jug@sad.it>
9203 * buffer.C (parseSingleLyXformat2Token): reset the font before the
9204 ert compatibility check for "latex" layout.
9206 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
9208 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9209 minipages: use col% instead of p%, and also use the current font.
9210 (makeLaTeXFile): Fix use babel condition.
9211 (parseSingleLyXformat2Token): Correct font when reading old floats.
9213 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
9215 * BufferView_pimpl.C (Dispatch): Check that float type exists when
9216 inserting list of floats.
9218 2002-04-25 Herbert Voss <voss@lyx.org>
9220 * MenuBackend.C (expand): don't add the graphics extensions to the
9223 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9225 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9226 non-existing layout, do not complain if it was the default layout
9227 of the original class (bug #342)
9229 2002-04-24 Juergen Vigna <jug@sad.it>
9231 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9232 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9234 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
9236 * buffer.C (getBibkeyList): If using \bibliography, return the
9237 option field with the reference itself. Enables us to provide natbib
9238 support when using \bibliography.
9240 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
9242 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9244 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9245 natbib is provided by the LaTeX class.
9247 2002-04-23 Juergen Vigna <jug@sad.it>
9249 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9252 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9254 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9256 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9258 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9259 ensuremath around textordmasculine, textordfeminine and
9262 2002-04-19 Juergen Vigna <jug@sad.it>
9264 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9265 reinitializing the buffer otherwise row-dimensions may be wrong.
9266 (update): reset also the selection cursors if they do exits otherwise
9267 their x/y positions may be wrong.
9269 * text2.C (cursorDown): don't enter the inset if we came from a row
9270 above and are one row over the inset.
9272 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9273 really leaving an inset.
9275 2002-04-18 Juergen Vigna <jug@sad.it>
9277 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9278 of the selected paragraph does not have the selected layout also if
9281 * text2.C (setLayout): fixed bug which did not change last selected
9284 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9285 changed the read and substituted \\end_float with \\end_inset!
9287 * BufferView_pimpl.C (cursorPrevious):
9288 (cursorNext): fixed to make it work with rows heigher than the work
9289 area without moving the cursor only the draw of the row.
9290 (workAreaMotionNotify): fix jumping over high rows.
9292 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9294 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9297 2002-04-16 Juergen Vigna <jug@sad.it>
9299 * text2.C (setCursor): set also the irow().
9300 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9302 (cursorDown): support for locking an inset if the x_fix value goes
9303 inside it. That way I can transverse insets too with cursor up/down.
9305 * lyxrow.h: added irow helper function same as other (i) functions.
9307 * BufferView_pimpl.C (cursorPrevious):
9308 (cursorNext): fixed for insets!
9310 2002-04-15 Juergen Vigna <jug@sad.it>
9312 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9313 position otherwise it is wrong in some cases.
9315 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9316 inside the inset before the call.
9318 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
9320 * buffer.[Ch] (getBibkeyList): make it const.
9322 2002-04-12 Juergen Vigna <jug@sad.it>
9324 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9326 * text2.C (getCursorX): new helper function
9327 (setCursor): compute also ix_
9328 (setCursorFromCoordinates): set also ix.
9330 * lyxcursor.h: added ix_ and helper functions.
9332 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9334 * buffer.C (insertStringAsLines): dont break paragraph if the this
9335 paragraph is inside an inset which does not permit it!
9337 * text.C (breakParagraph): honor keepempty flag and break the paragraph
9338 also with no chars on this paragraph.
9339 (paintRowText): only paint stuff if it's inside the workarea!
9341 * paragraph.C (breakParagraph): honor keepempty flag and break the
9342 paragraph always below not above.
9344 * BufferView2.C (unlockInset): update the paragraph layout on inset
9345 unlock as we changed paragraph in such a case.
9347 * lyxfind.C (LyXFind): clear the former selection if not found!
9349 * text2.C (insertInset): freeze Undo after setUndo so that it is not
9350 again called in insertChar().
9352 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9353 an inset which uses the whole row!
9354 (rightMargin): ditto.
9355 (insertChar): force a rebreak if we inserted an inset!
9357 2002-03-28 Herbert Voss <voss@lyx.org>
9359 * lyxlength.[Ch]: add inBP() to get the right PS-point
9360 units (BigPoint). With inPixels we have rounding errors
9362 2002-04-11 Juergen Vigna <jug@sad.it>
9364 * text2.C (setCursorFromCoordinates): set iy to the right value.
9365 (setCursor): add check if row->previous exists!
9367 * buffer.C (parseSingleLyXformat2Token): reset font after read of
9368 an old float_type as this was the case in the old code!
9370 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9372 * BufferView2.C (showLockedInsetCursor): use iy
9373 (fitLockedInsetCursor): ditto
9375 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9376 locked insets as there we have the right value now.
9378 * lyxcursor.C: added iy_ variable and iy functions to set to the
9379 baseline of cursor-y of the locked inset.
9381 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9382 (setCursor): fixed for insets which need a full row.
9384 * text.C (rowLastPrintable): don't ignore the last space when before
9385 an inset which needs a full row.
9386 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9387 as last character of a row when before a inset which needs a full row.
9389 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9391 * version.C.in: update date
9393 * text2.C (fullRebreak): try to always return true and see what
9396 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9398 * MenuBackend.C (expand): use Floating::listName
9400 * FloatList.C (FloatList): add listName argument to the built-in
9403 * Floating.[Ch]: add listName member, which is the 'List of XXX'
9404 text associated with the float.
9406 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9408 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9410 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9412 * ShareContainer.h: add a couple of missing typenames.
9414 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
9416 * lyxrc.C (getDescription): use _() correctly rather than N_().
9418 2002-03-28 Herbert Voss <voss@lyx.org>
9420 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9421 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9423 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9425 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9426 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9428 2002-03-29 Juergen Vigna <jug@sad.it>
9430 * lyxfunc.C (dispatch): add a missing fitCursor call.
9432 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9433 it was scrolled by a cursor move, so return the bool status.
9435 * BufferView.C (fitCursor): return the bool flag also to the outside
9436 world as this is needed.
9438 * screen.C (toggleToggle): don't subtract the offset if it's positive.
9440 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9441 call the edit() as it is not needed (and wrong) IMO.
9442 (workAreaButtonPress): set the screen_first variable before evt.
9443 unlock the inset as this may change screen_first and then we have
9444 a wrong y position for the click!
9446 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9448 * MenuBackend.C (expand): another translation that I missed
9450 2002-03-28 Juergen Vigna <jug@sad.it>
9452 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9454 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9456 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9458 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9460 * MenuBackend.C (expand): fix export/view/update when there is no
9463 2002-03-27 Herbert Voss <voss@lyx.org>
9465 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9468 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9470 * bufferview_funcs.C (currentState): only show paragraph number
9471 for is DEVEL_VERSION is set.
9473 * lyxfunc.C (dispatch): put warning in INFO channel
9475 * MenuBackend.C (expand): translate the name of floats
9477 * FloatList.C (FloatList): mark the float names for translation
9479 * converter.C (convert): use LibScriptSearch
9481 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9483 * MenuBackend.C (defaults): fix default menu (we might as well get
9486 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9488 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9491 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9493 * lyxvc.C: reorder includes.
9495 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
9497 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9500 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9502 * CutAndPaste.C: change layouts earlier on paste
9503 to avoid crashing when calling getFont()
9505 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9507 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9510 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9512 * WorkArea.C: remove 'Pending' debug message.
9514 * most files: ws cleanup
9516 * buffer.[Ch]: ws changes
9518 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9520 2002-03-21 Juergen Vigna <jug@sad.it>
9522 * tabular.C (SetMultiColumn): collapse also the contents of the
9523 cells and set the last border right. Added a Buffer const * param.
9525 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9527 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9530 2002-03-19 Juergen Vigna <jug@sad.it>
9532 * text2.C (clearSelection): reset also xsel_cache.
9534 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9535 where it needs to be called (John tells us to do so too :)
9536 (selectionLost): reset sel_cache.
9538 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9540 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9542 * text2.C (setCursorIntern): put debuging code in INSETS channel
9544 2002-03-19 André Pönitz <poenitz@gmx.net>
9546 * lyxfunc.C: tiny whitespace change
9548 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9550 * ToolbarDefaults.C (init):
9551 * LyXAction.C (init):
9553 * BufferView_pimpl.C (Dispatch):
9554 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9556 2002-03-19 Allan Rae <rae@lyx.org>
9558 * exporter.C (Export): removeAutoInsets before doing anything else.
9559 While I've just introduced a dependency on BufferView this really is
9560 the best place to clean the buffer otherwise you need to cleanup in
9561 a dozen places before calling export or cleanup in a dozen functions
9564 * converter.C (runLaTeX):
9565 (scanLog): Better handling of removeAutoInsets and screen updates.
9567 * lyxfunc.C (dispatch): small whitespace changes
9569 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9571 * WorkArea.C (C_WorkAreaEvent): return a value.
9572 (event_cb): return 1 if we handled the event, 0 otherwise.
9574 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9576 2002-03-18 Juergen Vigna <jug@sad.it>
9578 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9579 (GetAdditionalWidth): ditto.
9583 * BufferView2.C (copy): use getLyXText() so that we do it inside an
9584 inset if we're there actually (probably not used right now but this
9585 is the direction to go for unifying code).
9586 (paste): disable code to clear the selection.
9588 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9589 inside an InsetText and move the check further up as it is in the
9592 * text2.C (pasteSelection): set a selection over the pasted text.
9594 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
9596 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9597 and libgraphics to build on Cygwin.
9599 2002-03-15 Juergen Vigna <jug@sad.it>
9601 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9602 inserting an Inset into the paragraph. I know this is not the best
9603 fix but we already use current_view in CutAndPaste so we will remove
9604 all of it's using at the same time.
9606 * buffer.C (sgmlError): deactivated function till it is rewritten in
9607 the right mode, now it can create problems.
9609 * paragraph.C (isLineSeparator): check if getInset returns != 0,
9610 before accessing it.
9612 2002-03-14 Juergen Vigna <jug@sad.it>
9614 * undo_funcs.C (textHandleUndo): do the right thing when updating
9615 the inset after the undo/redo.
9617 * text2.C (setCursor): just some testcode for #44 not ready yet.
9619 * undo_funcs.C (textHandleUndo): set the next() and previous()
9620 pointers of the paragraph to 0 before deleting otherwise we have
9621 problems with the Paragraph::[destructor].
9623 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9624 on a paragraph insertion.
9626 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9628 * buffer.C (asciiParagraph): use += operator for char append to
9631 * paragraph.C (getFontSettings): compare >= not just >
9632 (highestFontInRange): ditto
9635 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9637 * paragraph.C: change several algorithm to be more appripriate for
9638 the problem domain. This is lookip in FontList and in the InsetList.
9640 2002-03-13 André Pönitz <poenitz@gmx.net>
9643 * LyXAction.C: remove unused LFUN_MATH_MACROARG
9645 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
9650 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9652 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9654 * Painter.C (display): anon helper function, adjust code for this
9656 (pixmap): remove function.
9658 * Painter.h: remove private display variable.
9660 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9662 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
9664 * WorkArea.[Ch]: remove figinset_canvas cruft.
9666 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9668 * lyxtextclass.C (operator): add one item cache optimization.
9670 * bufferlist.h: doxy changes
9672 * bufferlist.C: ws changes
9674 * DepTable.[Ch] (ext_exist): place const in the right spot.
9676 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9678 (workAreaExpose): call resizeInsets when the with BufferView changes.
9679 (Dispatch): adjust for protectedBlank removal
9680 (specialChar): call updateInset if the insert went ok.
9682 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9683 specialChar instead.
9685 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9687 * BufferView.h: doxy change
9689 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9691 * lyxtextclass.C (operator[]): remove non-const version
9692 (defaultLayout): remove non-const version
9694 2002-03-12 Juergen Vigna <jug@sad.it>
9696 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9697 did resize the LyXText too.
9699 * buffer.C (readLyXformat2): set layout information on newly allocated
9702 * tabular.C (OldFormatRead): set layout information on the paragraph.
9704 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9706 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9708 2002-03-11 Juergen Vigna <jug@sad.it>
9710 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9712 (resizeCurrentBuffer): force also the insets to resize themselfes.
9713 (moveCursorUpdate): fixed up for InsetText.
9715 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
9718 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9719 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9720 value of Dialogs::tooltipsEnabled().
9721 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9723 2002-03-08 Juergen Vigna <jug@sad.it>
9725 * BufferView_pimpl.C (updateInset): update inset inside inset also
9726 if it isn't inside theLockingInset().
9728 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9730 * buffer.C (asciiParagraph): redo some of the word and line length
9732 (getLists): look for Caption instead of caption.
9734 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9736 * buffer.C (Buffer): initialize niceFile to true
9739 (makeDocBookFile): make sure niceFile is true on exit
9741 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9743 * buffer.C (makeLaTeXFile): escape ~ in \input@path
9745 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
9747 * LyXSendto.C: remove.
9748 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9749 * lyx_gui.C: remove now-redundant comment.
9750 * ColorHandler.h: remove forward declaration of class WorkArea.
9751 * lyxfunc.C: remove #include "WorkArea.h".
9753 2002-03-07 Juergen Vigna <jug@sad.it>
9755 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9756 got moved away with the DEPM and also set the inset_owner always
9757 right which before could have been omitted.
9759 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9761 * buffer.C (parseSingleLyXformat2Token): use default layout is the
9762 wanted layout is not found.
9764 2002-03-07 Juergen Vigna <jug@sad.it>
9766 * CutAndPaste.C (cutSelection): another layout settings forgotten.
9768 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9770 * paragraph.C (breakParagraph): use default layout not layout of
9772 (Paragraph): clear ParagraphParameters.
9774 2002-03-06 Juergen Vigna <jug@sad.it>
9776 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9777 otherwise it would not be a valid lenght. Fixed a special case in
9778 the minipage compatibility read where we end the document with a
9781 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9782 was set as it could be 0 for InsetTexts first entry.
9784 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9786 * paragraph.C (writeFile): if layout is empty write out
9787 defaultLayoutName().
9789 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9790 file without named layout we set layout to defaultLayoutName().
9792 2002-03-06 Juergen Vigna <jug@sad.it>
9794 * CutAndPaste.C (copySelection): set layout for new paragraph.
9796 * text.C (prepareToPrint): leave ERT inset left aligned
9797 (leftMargin): don't indent paragraphs inside ERT insets
9799 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9801 * paragraph.C (breakParagraph): dont call clear do the work manually
9803 * paragraph.[Ch] (clear): remove function
9805 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9807 * paragraph.C (Paragraph): dont call clear, the work has already
9810 * lyxtextclass.C (operator): assert if n is empty
9812 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9813 work manually instead.
9815 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9817 * BufferView_pimpl.C: protect selectionLost against text == 0
9819 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9821 * text.C (breakParagraph): fix a setting layout to '0' problem.
9823 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9825 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9826 final location of file, for the included files, and graphics.
9828 2002-03-05 Juergen Vigna <jug@sad.it>
9830 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9832 2002-03-04 Juergen Vigna <jug@sad.it>
9834 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9836 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9837 last column of multicolumn cells.
9838 (SetWidthOfMulticolCell): recalculate NMC and real columns.
9840 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
9842 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9843 file if it doesn't go to a temporary file.
9845 * buffer.C (sgmlOpenTag):
9846 (sgmlCloseTag): remove extra newline insertion.
9848 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9850 * text.C (getRowNearY): comment out debug msg
9852 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9854 * text2.C: first -> first_y
9856 * text.C (getRowNearY): add some attemts at a possible
9857 optimization, not working.
9859 * tabular.[Ch]: add BufferParams to several function so that newly
9860 created paragraph can be initialized to he default layotu for the
9863 * tabular-old.C (ReadOld): add buf->params to call of Init
9865 * screen.C: rename text->first to text->first_y
9867 * paragraph.C (breakParagraph): always set layout in the broken
9870 * lyxtextclass.C (Read): remove lowercase
9873 (delete_layout): ditto
9875 * lyxtext.h: rename first -> first_y
9877 * lyxlayout.C (Read): remove lowercase
9880 (obsoleted_by): ditto
9882 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9884 * buffer.C (insertErtContents): add params are to InsetERT
9885 (parseSingleLyXformat2Token): add code to check if a paragraphs
9886 layout really exist.
9887 (parseSingleLyXformat2Token): add params to several inset
9889 (asciiParagraph): remove lowercase, do the layout comparisons with
9892 * BufferView_pimpl.C (cursorNext): first -> first_y
9893 (resizeCurrentBuffer): first -> first_y
9894 (updateScrollbar): first -> first_y
9895 (scrollCB): first -> first_y
9896 (workAreaMotionNotify): first -> first_y
9897 (workAreaButtonPress): first -> first_y
9898 (checkInsetHit): first -> first_y
9899 (cursorPrevious): first -> first_y
9900 (cursorNext): first -> first_y
9901 (Dispatch): add buffer_->params to severl inset contructors
9903 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9905 * lyxlayout.C (Read): remove some debug info that I forgot.
9907 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9908 clean up the code slightly.
9909 (makeLinuxDocFile): ditto
9910 (makeDocBookFile): ditto
9912 * text2.C: layout as string
9914 * text.C: layout as string
9916 * paragraph_pimpl.C: layout as string
9918 * paragraph.[Ch]: layout as string
9920 * lyxtextclasslist.[Ch]: layout as string
9922 * lyxtextclass.[Ch]: layout as string
9924 * lyxtext.h: layout as string
9926 * lyxlayout.[Ch]: layout as string
9928 * lyx_cb.C: layout as string
9930 * bufferview_funcs.C: layout as string
9932 * bufferparams.C: layout as string
9934 * buffer.C: layout as string
9936 * LyXView.[Ch]: layout as string
9938 * LaTeXFeatures.[Ch]: layout as string
9940 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9942 * BufferView_pimpl.C: change current_layout to string, remove
9947 (workAreaButtonRelease): layout as string
9949 * BufferView2.C (unlockInset): adjust
9951 * vspace.C (asLatexCommand): use an explict temp variable.
9953 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9955 * Makefile.am: use FRONTEND_*
9957 2002-03-01 Juergen Vigna <jug@sad.it>
9959 * tabular.C (SetWidthOfMulticolCell): changed to something better
9960 I hope but still work in progress.
9961 (recalculateMulticolumnsOfColumn): renamed function from
9962 recalculateMulticolCells as it is more appropriate now.
9963 (SetWidthOfCell): calculate multicols better.
9965 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9967 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9969 * lyxfunc.C (processKeySym): print sequence also if it is
9970 `deleted' (complete)
9972 * kbsequence.C (print): print sequence even if it is deleted
9973 (complete would be a better word, actually).
9975 * lyxfunc.C (dispatch): print complete options after a prefix key
9977 * vspace.C (asLatexCommand): rewrite in a slightly different form.
9979 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
9981 * text2.C (setCharFont): eliminate setCharFont code duplication.
9983 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9985 * BufferView_pimpl.C (Dispatch): remove bogus handling of
9986 LFUN_TABULAR_FEATURE (bug #177)
9988 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
9990 * Makefile.am: remove figure.h
9992 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
9994 * Bufferview_pimpl.C:
10006 * text2.C: remove #include "lyx_gui_misc.h".
10008 * LaTeX.C: added #include <cstdio>
10010 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10012 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10013 that the paragraph following this one can have.
10015 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10017 * vspace.C (asLatexCommand): fix bogus gcc warning
10019 * Makefile.am (lyx_SOURCES): remove vms_defines.h
10021 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
10023 * text2.C (setLayout): get rid of redundant code
10025 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
10027 * text2.C (incDepth): make sure depth cannot be increased beyond
10030 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
10032 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10033 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10035 * PainterBase.h (image):
10036 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10037 a LyXImage const *.
10039 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10043 * BufferView_pimpl.C:
10044 * BufferView_pimpl.h:
10064 * sp_spell.C: remove fig inset, and the crap house of
10065 cards that follows it
10067 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10072 * os2_errortable.h:
10073 * nt_defines.h: move .h into support/
10075 * vms_defines.h: remove
10077 * WorkArea.C: add space in debug output
10081 * buffer.C: add WITH_WARNINGS
10085 * bufferlist.C: s/retrive/retrieve/, add docs
10094 * chset.C: add docs
10096 * lyxgui.C: add ID to X error handler
10098 * lyxtestclass.c: fix typo
10100 2002-02-26 Juergen Vigna <jug@sad.it>
10102 * tabular_funcs.C (write_attribute): changed so that some default
10103 attributes are not written at all.
10104 (getTokenValue): set default values before trying to read the
10105 value so we have the return value always set as default if we don't
10106 find the token we search for.
10108 * tabular.C (Write): write bools as bools not as strings!
10110 2002-02-22 Juergen Vigna <jug@sad.it>
10112 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10113 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10115 * text.C (leftMargin): don't add an indent for paragraphs inside
10116 tabular cells (fix #208).
10118 2002-02-21 José Matos <jamatos@fep.up.pt>
10120 * tabular.C (docBook): fixed support for long tables.
10122 2002-02-20 Juergen Vigna <jug@sad.it>
10124 * text2.C (getFont): get the drawing font of the Inset if this
10125 paragraph is inside an inset (only important for InsetERT for now).
10127 * buffer.C (insertErtContents): use new lanugage params in ERT
10130 * CutAndPaste.C: commenting out seemingly uneeded code.
10132 2002-02-19 Allan Rae <rae@lyx.org>
10134 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10135 Iterators might be simple to use but they also get invalidated.
10136 (removeAutoInsets): renamed saved cursor tracking variables and added
10137 some comments to clarify what everything does.
10139 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
10146 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10147 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10150 * vc-backend.h: remove #include "support/syscall.h"
10154 * converter.C: rearrange #includes in Lars' approved fashion.
10156 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10157 forward declare class Timeout in the header file.
10159 * XFormsView.C: changes due to the above.
10161 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10162 similar to LyXView.
10164 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10165 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10167 2002-02-18 José Matos <jamatos@fep.up.pt>
10169 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10172 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10174 * a lot of small ws changes
10175 * add a lot of using std::XXX
10176 * use std construcs some places where approp.
10177 * use some exisint stuff from lyxfunctional where approp.
10178 * Make file changes to use partial linking (lets test this now...)
10180 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10184 remove #include "support/syscontr.h" as it's redundant. Always has been.
10192 change Systemcalls::System to Systemcalls::Wait and
10193 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10194 No change of functionality, just reflects the stripped down Systemcalls
10197 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10199 * debug.[Ch]: add a GRAPHICS type to the enum.
10201 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10203 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10205 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10208 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10210 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10211 match the changes below.
10213 * text2.C (toggleInset): if there is not editable inset at cursor
10214 position, try to see if cursor is _inside_ a collapsable inset
10217 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10219 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10220 document menu has a nice checkbox
10222 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10224 * lyxlength.C (asLatexString): change PW to output as percent of
10227 * lengthcommon.C: change '%' to 't%'
10229 * lyxfunc.C (dispatch): a few comments from Martin
10231 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
10235 * BufferView_pimpl.h:
10236 * BufferView_pimpl.C: clear our selection when X tells us we've lost
10239 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10241 * vspace.C (inPixels): fix compiler warning
10243 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10245 * lyxfunc.C (getStatus): fix status message for disabled commands.
10247 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
10249 * BufferView_pimpl.C: fix crash on close buffer
10250 during selection (#227)
10252 2002-01-27 Herbert Voss <voss@lyx.org>
10254 * buffer.C: link old Figure to new graphic inset
10256 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
10258 * FontLoader.C (getFontinfo): Change the latex font names in order
10259 to match the names of type1inst.
10261 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10263 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10265 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10266 (extchanged): ditto
10268 (remove_files_with_extension): ditto
10269 (remove_file): ditto
10272 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10273 document is smaller than the work area height. Do not initialize
10274 static variables to 0.
10276 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10278 * lyx_gui.C (init): give the toolbar tooltips a normal font.
10280 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10281 LFUN_LAYOUT_PARAGRAPHS.
10283 * tabular.C (GetCellFromInset): new method. Finds an inset in a
10284 tabular. It is possible to provide a possible cell, which will
10285 typically be the actcell from the corresponding insettabular
10287 * lyxfunc.C (getStatus): small cleanup; disable
10288 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10291 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10293 * tabular.C (Validate): remove broken optimization (fixes bug #201)
10295 * paragraph.C (startTeXParParams):
10296 (endTeXParParams): new methods. The LaTeX code to
10297 start/end paragraph formatting
10298 (simpleTeXOnePar): call startTeXParParams also when paragraph is
10299 empty (fixes bug #200)
10301 * vspace.C (inPixels): adapt to the change below
10302 (inPixels): [later] more cleanups (remove unused variables)
10304 * lyxlength.C (inPixels): change to use a width and a height as
10307 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10309 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10310 Replaced with \paperwidth
10312 * DepTable.C (insert): add std:: qualifier
10314 2002-01-18 Allan Rae <rae@lyx.org>
10316 * text2.C (removeRow): add comment. Should other refresh_?? vars be
10319 * text.C (drawInset): Turned out I didn't know enough about how
10320 rebreaking worked. This fixes most of the redraw problems. I see
10321 an occasional cursor trail when a line is broken now and the cursor
10322 placement can seem out by a few pixels also after a rebreak.
10324 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10326 * buffer.C (parseSingleLyXformat2Token): update because minipage
10327 width is now a LyXLength
10329 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10331 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10334 2002-01-17 Juergen Vigna <jug@sad.it>
10336 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10338 * BufferView2.C (lockInset): call edit() so that theLockingInset()
10339 is set correctly and the inset is updated correctly.
10341 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10343 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10344 the beginning of the loop.
10346 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
10348 * lyxrc.C: improve help for use_scalable_fonts
10350 2002-01-17 Allan Rae <rae@lyx.org>
10352 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10354 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10356 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10357 make sure to set their inset_owner to the right value (bug #171)
10359 2001-12-12 Ben Stanley <bds02@uow.edu.au>
10362 * DepTable.C: Implement mtime checking to reduce time spent doing
10365 2002-01-16 Juergen Vigna <jug@sad.it>
10367 * tabular.C (GetAdditionalHeight): one of error fixed.
10369 * lyxrc.C (output): small fix in writing use_pspell.
10371 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
10373 * sp_base.h: #include LString.h
10375 2002-01-16 Allan Rae <rae@lyx.org>
10377 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
10378 Can someone check this please?
10380 * text.C (drawInset): It was possible that p.row would be removed by
10381 breakAgainOneRow upsetting a few other settings. There may be another
10382 small tweak possible by setting need_break_row = 0 when p.row has been
10383 removed but I don't know enough about the logic here.
10385 2002-01-15 Allan Rae <rae@lyx.org>
10387 * text.C (insertChar): removed conditional truism.
10389 * BufferView2.C (removeAutoInsets): More tweaks.
10390 cur_par_prev could be a stray pointer. Check for trailing empty line
10391 in case last line was cur_par and only had an error inset on it.
10393 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10395 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10398 * vc-backend.C (most methods):
10399 * exporter.C (Export):
10400 * converter.C (convert):
10402 * LyXSendto.C (SendtoApplyCB):
10403 * lyxfunc.C (dispatch):
10407 * lyx_cb.C (AutoSave):
10409 * BufferView_pimpl.C (MenuInsertLyXFile):
10410 * buffer.C (runChktex): use Buffer::filePath().
10412 * buffer.h: rename filename to filename_; rename filepath to
10413 filepath_ and make it private
10414 (filePath): new method
10416 * buffer.C (writeFile): use fileName()
10419 * lyx_main.C (init): fix starting of LyX when the binary is a
10420 link from so,ewhere else.
10422 * minibuffer.C: include <cctype> for isprint
10424 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10426 * buffer.C (parseSingleLyXformat2Token): changes associated with the
10427 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10428 name clash with InsetCollapsable's width function.
10430 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10432 * lastfiles.C: include <iterator>
10434 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10436 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10439 * buffer.C (makeLaTeXFile): ditto.
10440 Also make loop operation more transparent.
10442 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10444 * ToolbarDefaults.C: remove trailing comma closing namespace.
10446 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10448 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10451 * trans.C (Load): comment out unused variable, allowed.
10453 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10455 * minibuffer.[Ch] (append_char): new method to recieve input from the
10456 drop-down completion browser. If a key was pressed, then recieve this
10457 char and append it to the existing string.
10458 (peek_event): modify the positioning data passed to the completion
10459 browser so that it can be placed above the minibuffer rather than below.
10460 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10462 * LyXAction.C (init): alloe error-next for readonly documents.
10464 * BufferView2.C (ChangeRefsIfUnique): use standard version of
10467 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10469 * bufferlist.C (readFile): create the buffer _after_ checking that
10472 * lyxfunc.C (verboseDispatch): fix handling of arguments
10474 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10476 * lyxrc.C: use string::erase() instead of initializing to "".
10479 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10481 * BufferView_pimpl.h:
10482 * BufferView_pimpl.C:
10485 * text2.C: tell X when we have made a selection for copying
10487 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10489 * BufferView_pimpl.C (MenuInsertLyXFile):
10490 * lyxfunc.C (menuNew):
10492 (doImport): add shortcuts to directory buttons
10494 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10497 * lyxfunc.C (setStatusMessage):
10498 (getStatusMessage): new methods
10499 (getStatus):use setStatusMessage instead of setErrorMessage
10500 (dispatch): when function is disabled, set error message here
10501 [instead of in getStatus previously]
10503 * BufferView_pimpl.C (workAreaButtonRelease): update
10504 toolbar/menubar here too.
10506 2002-01-13 Allan Rae <rae@lyx.org>
10508 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10509 Now seems indestructible. Remaining task is to audit all other
10510 code affected by deleteEmptyParagraphMechanism. One small quirk
10511 left is that an empty document with an error in the preamble can
10512 be made to report an error but no error box appears. I don't know
10514 (removeAutoInsets): Improved comments.
10516 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10519 * Thesaurus.C: update for Aiksaurus 0.14
10521 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10523 * text2.C (firstParagraph): removed member function, all uses
10524 replaces with ownerParagraph
10525 (redoParagraphs): here
10526 (updateInset): here
10527 (toggleAppendix): here
10528 * BufferView2.C (insertErrors): here
10529 (setCursorFromRow): here
10531 2002-01-13 Allan Rae <rae@lyx.org>
10533 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10534 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10535 There is still a way to segfault this although you may have to do this
10536 multiple times: Have an InsetERT with an unknown command in it.
10537 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10538 <down-arrow>, <Enter> again, View->DVI, BANG!
10540 * text2.C (setCursor):
10541 (deleteEmptyParagraphMechanism):
10542 * lyxtext.h (setCursor):
10543 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10544 Making use of the return value may help fix other bugs.
10546 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10548 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10550 * LyXView.C (updateMenubar): call MenuBar::update here
10551 (updateToolbar): but not here
10552 (showState): do not update toolbar/menubar
10554 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10555 should need to care about that.
10557 * lyxfunc.C (verboseDispatch): simplify a bit
10558 (getStatus): have a version which takes a pseudoaction, and
10559 another which requires a (kb_action,string).
10561 * LyXAction.C (retrieveActionArg): make it work also when action
10562 is not a pseudo-action.
10563 (getActionName): simplify a bit
10566 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10568 * lyxfunc.C (verboseDispatch): new families of methods with
10569 several ways to specify a command and a bool to indicate whether
10570 the command name and shortcut should be displayed in minibuffer
10571 (eventually, we could extend that to a finer bitmask like
10572 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10573 (dispatch): the pristine dispatch command which just, well,
10574 dispatchs! Note it still sets its result to minibuffer; I'm not
10577 * lyxfunc.h: remove setHintMessage
10579 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10581 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10583 * BufferView_pimpl.C (specialChar): delete new inset if we have
10584 not been able to insert it.
10586 * kbmap.C: revert to using int instead of kb_action, since all we
10587 are dealing with is pseudo-actions.
10589 * LyXAction.C (searchActionArg): change to return int instead of
10590 kb_action, since the result is a pseudoaction.
10592 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
10594 * buffer.C (insertErtContents): Fix (partially) the font bug.
10596 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10598 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10599 as the other one is broken on my machine!
10601 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
10604 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10606 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
10608 * lyxrc.[Ch]: change names and descriptions of popup font variables to
10609 reflect their actual use. Provide compatibility code for older lyxrc
10612 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10614 change names of popup font variables in line with the changes to lyxrc.C
10616 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10618 * buffer.C (asciiParagraph): avoid outputing a word twice after
10621 * lyxrc.C (getDescription): document that document_path and
10622 template_path can be empty.
10624 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10626 * LaTeXFeatures.C (getMacros):
10627 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10629 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10631 * LaTeXFeatures.C (useFloat): require "float" here instead of in
10633 (getPackages): rename feature "floats" to "float". Use an array to
10634 iterate over 'simple' features (i.e. just a \usepackage). Add
10635 handling of "amsmath" (renamed from "amsstyle").
10637 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
10639 * LaTeXFeatures.C (require): Prevent duplicate entries in the
10642 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
10644 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10645 FuncStaus::FuncStatus & FuncStaus::some_method().
10647 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
10649 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10650 of the func_satus stuff. Edited and massaged in various ways by
10653 * lyxfunc.C (getStatus): use FuncStatus
10655 2002-01-08 Juergen Vigna <jug@sad.it>
10657 * text.C (nextBreakPoint): use function Inset::isChar().
10659 * paragraph.C (TeXOnePar): use function
10660 Inset::forceDefaultParagraphs.
10662 * buffer.C (latexParagraphs): use function
10663 Inset::forceDefaultParagraphs.
10665 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10667 * lyx_gui.C (init): set the style of the menu popups to
10668 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10670 2002-01-07 Juergen Vigna <jug@sad.it>
10672 * text.C (setHeightOfRow): small fix
10673 (prepareToPrint): don't look at alignment if we don't have the place
10676 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10678 * box.C: New file. Move the Box methods and functions out of box.h,
10679 following Lars' suggestion.
10681 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10683 * box.h: #include "support/LOstream.h", needed for inlined function.
10686 * lyxtextclasslist.C: added some using std declarations.
10688 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
10690 * box.h: make signed dimensions to allow insets wider than
10691 the screen (bug #162)
10693 * BufferView_pimpl.C: add some insetHit debug
10695 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
10697 * vc-backend.C: add FIXME
10699 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10701 * lyxfunc.C (getStatus): enable code for showing math font status
10704 2002-01-07 Juergen Vigna <jug@sad.it>
10706 * text.C (nextBreakPoint): removed debug output not needed anymore.
10708 2002-01-06 Juergen Vigna <jug@sad.it>
10710 * text.C (nextBreakPoint): fixed up this function we had this bug
10711 since ever but now hopefully we break row better.
10712 (insertChar): we have to check if an inset is the next char as it
10713 could now happen that a large inset is causing a break.
10715 2002-01-05 Juergen Vigna <jug@sad.it>
10717 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10718 if it doesn't like to be drawed.
10720 2002-01-04 Juergen Vigna <jug@sad.it>
10722 * BufferView2.C (lockInset): forgot to set a cursor.
10724 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10726 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
10728 * FormMathsPanel.C:
10731 * form_maths_panel.C:
10732 * form_maths_panel.h:
10733 * form_maths_panel.fd: implemented sub- and super- buttons in math
10736 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10737 (or ^ space) to be used as in TeX (req'd by André).
10739 * lyxfunc.C: Allow ^ and _ again to be used both as
10740 super/subscript (mathed) and as themselves (in text).
10742 2002-01-03 Allan Rae <rae@lyx.org>
10744 * LyXView.C (updateWindowTitle): Setup a short icon title of either
10745 "LyX" or the filename of the current buffer if it has one. This is a
10746 modified form of John Levon's patch.
10748 * XFormsView.C (setWindowTitle): also set icon title.
10750 * LyXView.h (setWindowTitle): signature changed.
10751 * XFormsView.h (setWindowTitle): ditto.
10753 2002-01-02 Juergen Vigna <jug@sad.it>
10755 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10757 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10759 * screen.C (topCursorVisible): introduce a temp var for
10760 text->cursor.row(), handle the case where this row is null. (kindo
10763 * text2.C (setCursor): add a couple of asserts.
10765 * paragraph.h (inset_iterator): add -> operator
10767 * paragraph.[Ch] (autoDeleteInsets): remove member function
10769 * BufferView2.C (removeAutoInsets): rewrite to handle the old
10770 cursor pos correctly and handle inset deletion by itself.
10771 (insertErrors): move iterator declaration out of for expression
10773 * lyxtextclass.C: add <algorithm>
10775 * Makefile.am: added the new files to sources, removed layout.C
10777 * layout.C: removed file
10779 * layout.h: remove LYX_DUMMY_LAYOUT
10781 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10785 * lyxtextclass.[Ch]:
10786 * lyxtextclasslist.[Ch]: new files
10788 * include order changes to a lot of files, also changes because of
10791 2001-12-27 Juergen Vigna <jug@sad.it>
10793 * buffer.C (asciiParagraph): more fixes.
10795 * tabular.C (ascii): make ascii export support export of only the
10796 data separated by a column-delimiter.
10797 (ascii): better support for ascii export.
10799 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10801 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10803 * tabular_funcs.C: use a "using std::getline" instead of the
10804 previous fix from Angus (necessary for cxx + lyxstring)
10806 2001-12-24 Juergen Vigna <jug@sad.it>
10808 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10810 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10811 problems. First check a minipage also if we have some ert-contents
10812 (not only on par->size(), second set the right depth of the paragraph
10813 on the relink to the root-paragraph-list!
10815 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10816 which then did not anymore update the main paragraphs on undo/redo!
10818 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10820 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10821 code. Support all font-changing funcs (even those which are not in
10822 menu currently). Support for reporting font settings in
10823 mathed (disabled until Andre provides a function on mathed's side).
10825 * func_status.h (toggle): small helper function to set toggle
10828 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
10830 * tabular_funcs.C: getline -> std::getline
10832 2001-12-21 Juergen Vigna <jug@sad.it>
10834 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10835 accessed and could be 0 (I couldn't generate this but it seems
10838 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10840 * tabular_funcs.C: add LIstream.h, move write_attribute to..
10841 * tabular_funcs.h: here and include iosfwd
10843 2001-12-20 Juergen Vigna <jug@sad.it>
10845 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10846 inside inset but undo_par was.
10848 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10850 * Thesaurus.C: always include <config.h> in sources.
10854 * box.h: do not include <config.h> in header files
10856 * text.C (paintLastRow): remove unused variable
10858 * text.C (transformChar):
10860 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10862 * Painter.C (text):
10863 * font.C (width): rewrite to use uppercase() instead of
10866 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10868 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
10870 * lyxfind.C: clean up of find failure position change
10872 2001-12-20 Juergen Vigna <jug@sad.it>
10874 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10876 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10877 (TeXRow): added to LaTeX a single tabular row.
10878 (TeXLongtableHeaderFooter): added to output LT-h/f data.
10879 (Latex): simplified and finally good LT-h/f support.
10880 (various_functions): just small adaptions for LT-h/f support.
10882 * tabular_funcs.[hC]: added and moved here all not classfunctions
10885 2001-12-19 Juergen Vigna <jug@sad.it>
10887 * tabular.[Ch]: better support for longtabular options (not finished
10890 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10892 * text.C (paintLastRow): use the label font instead of the font of
10893 the last character to compute the size of *_BOX. This makes more
10894 sense and avoids a crash with empty paragraphs.
10895 Use Painter::rectangle to draw EMPTY_BOX.
10897 2001-12-19 Juergen Vigna <jug@sad.it>
10899 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10900 the paragraphs if the replaced paragraph is not the first one!
10901 Tried to delete not used paragraphs but does not work yet so for
10902 now it's inside #ifdef's and by default off!
10904 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10906 * MenuBackend.C: include "lyx_main.h" instead of declaring
10907 lastfiles (actually was declared as LastFiles* instead of a
10910 2001-12-17 Juergen Vigna <jug@sad.it>
10912 * tabular.C (AppendColumn): applied John's fix
10914 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
10918 * BufferView_pimpl.h:
10919 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10922 * box.h: new start of class for above
10924 * lyxfunc.C: ignore space-only minibuffer dispatches.
10925 Show the command name when it doesn't exist
10927 * minibuffer.C: don't add empty lines to the history
10929 * minibuffer.C: add a space on dropdown completion
10931 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
10933 * text.C: fix line above/below drawing in insets
10935 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10937 * lyxlength.C (LyXLength): Initialize private variables.
10939 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
10941 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10942 when inserting error insets.
10944 2001-12-13 Juergen Vigna <jug@sad.it>
10946 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10947 actually sometimes the before-paragraph.
10948 (setUndo): don't clear the redostack if we're not actually undoing!
10950 2001-12-06 Juergen Vigna <jug@sad.it>
10952 * undo_funcs.C (textHandleUndo): well after John's hint I got here
10953 and fixed redoing of main paragraph, so we can use it now ;)
10955 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10957 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10959 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10962 2001-12-13 André Pönitz <poenitz@gmx.net>
10965 * undo_func.C: minor cleanup
10967 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10969 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10970 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10971 font in urw-fonts package which is marked as -urw-fontspecific and
10972 does not work (incidentally, changing the encoding in the
10973 fonts.dir of this package to -adobe-fontspecific fixes the
10976 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10977 is a crash when undoing first paragraph (Juergen, please take a
10978 look). THis does not mean the undo fix is wrong, just that it
10981 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10982 the (Paragraph*) version when needed instead of duplicating the
10985 * text.C (workWidth): use Inset::parOwner to find out where the
10986 inset has been inserted. This is a huge performance gain for large
10987 documents with lots of insets. If Inset::parOwner is not set, fall
10988 back on the brute force method
10990 * paragraph_pimpl.C (insertInset):
10991 * paragraph.C (Paragraph):
10992 (cutIntoMinibuffer): set parOwner of insets when
10993 inserting/removing them
10995 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10997 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
11003 * mathed/formulabase.C:
11004 * mathed/math_cursor.[Ch]:
11005 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11008 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11010 * lyxlength.[Ch] (operator!=): new function
11012 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11014 * text.C (workWidth): use Inset::parOwner to find out where the
11015 inset has been inserted. This is a huge performance gain for large
11016 documents with lots of insets. If Inset::parOwner is not set, fall
11017 back on the brute force method
11019 * paragraph_pimpl.C (insertInset):
11020 * paragraph.C (Paragraph):
11021 (cutIntoMinibuffer): set parOwner of insets when
11022 inserting/removing them
11024 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11026 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11028 * tabular-old.C (getTokenValue):
11029 * tabular.C (getTokenValue):
11030 (write_attribute): new versions for LyXLength
11031 (everywhere): adjust the use of widths
11033 * tabular.h: change the type of widths from string to LyXLength
11035 2001-12-11 Ben Stanley <bds02@uow.edu.au>
11037 * paragraph.C: fixed missing line number count when exporting
11038 Environments to LaTeX file
11040 * buffer.C: added informational message for checking line numbers.
11042 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11044 * text2.C (deleteEmptyParagraphMechanism): if there is only one
11045 paragraph, do the 'double space' part, but not the 'empty
11048 * text.C (workWidth): small optimization
11049 (getLengthMarkerHeight): use minimal size for negative lengths.
11051 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
11053 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11055 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11057 2001-12-11 André Pönitz <poenitz@gmx.net>
11060 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11062 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11064 * text2.C: keep selection on a setFont()
11066 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11068 * lyx_cb.C: another bv->text misuse, from insert label
11070 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11073 * kbsequence.C: re-instate nmodifier mask
11075 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
11077 * lyx_main.h: make lyxGUI private.
11079 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11081 * lyxfind.C: place the cursor correctly on failed search
11083 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11085 * text.C (getLengthMarkerHeight): for small heights, the arrows
11086 are not always on top/bottom of the text
11087 (drawLengthMarker): smaller arrows; take the left margin in
11088 account; draw also vfills.
11090 (paintLastRow): remove special code for vfill and standard spaces,
11091 since everything is handled in drawLengthMarker now.
11093 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11095 * buffer.C (insertErtContents): try to handle font and language
11096 interaction a bit better.g
11098 * ColorHandler.C (updateColor): change the hash to cover the whole
11099 LColor enum, ws cleanup
11100 (getGCLinepars): ditto
11101 (getGCLinepars): only lookup in the linecache once.
11103 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
11105 * iterators.C (operator++): Make the iterator more robust
11107 * BufferView2.C (removeAutoInsets): Use paragraph iterators
11109 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11111 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11114 * text.C: better added space drawing
11116 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11119 * BufferView2.C: fix layout combo update on inset unlock
11121 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11123 * Makefile.am: don't compile unused files
11125 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11129 * LyXAction.C: remove old LFUN_LAYOUTNO
11131 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11133 * paragraph_pimpl.h:
11134 * paragraph_pimpl.C: isTextAt() doesn't need font param
11136 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11139 * lyxlex.C: little cleanup
11141 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11143 * BufferView_pimpl.C: fix insertAscii for insets
11145 2001-12-05 Juergen Vigna <jug@sad.it>
11147 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11148 set the right font on the "multi" paragraph paste!
11150 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11156 * lyxlength.C: remove out-commented code.
11158 * BufferView_pimpl:
11172 * vc-backend.C: change "while(" to "while ("
11174 * lyxlength.[Ch]: add zero function to check if length is zero or
11176 * lyxgluelength.C: use it
11178 2001-12-05 Allan Rae <rae@lyx.org>
11180 * lyxlength.C: Attempted a fix for the abs(int) header selection.
11181 Works for 2.95.3, from what I understand of Garst's reports this should
11182 work for other g++ versions. We're screwed if the abs(int) definition
11183 changed between bugfix releases of gcc.
11185 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11187 * text.C: fix chapter label offset !
11189 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11192 * text.C: fix hfill at end of line, clean up
11194 2001-12-04 Juergen Vigna <jug@sad.it>
11196 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11197 that we force an update of the inset and it's owners if neccessary.
11199 2001-12-03 Juergen Vigna <jug@sad.it>
11201 * text.C (rowLast): simplified code
11203 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11205 * lyxfunc.C: fix show options on timeout
11207 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11209 * screen.C (topCursorVisible): scroll half a page when the cursor
11210 reached top of bottom of screen
11212 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
11214 * minibuffer.C: deactivate on loss of focus
11216 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11218 * vspace.[Ch] (operator!=): add operator.
11220 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
11222 * BufferView_pimpl.C: refuse to open an inset when
11223 there's a selection.
11225 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
11227 * BufferView_pimpl.C: allow to click on RHS of full row insets
11229 2001-11-30 Juergen Vigna <jug@sad.it>
11231 * tabular.C (LyXTabular): add a same_id to set the same id's in the
11232 insets for undo reasons.
11234 2001-11-28 André Pönitz <poenitz@gmx.net>
11236 * vspace.[Ch]: cosmetical changes
11238 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11248 * kbsequence.C: part re-write of old kb code
11251 * WorkArea.C: remove Lgb_bug_find_hack
11253 2001-11-30 José Matos <jamatos@fep.up.pt>
11255 * buffer.C (makeDocBookFile): add a comment to point a hack.
11256 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11257 Fixed a double write of labels.
11259 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11262 * LaTeX.h Fixed bug in LaTeX class where it would not
11263 re-run latex if no depfiles were changed, but the .dvi was removed.
11265 2001-11-28 André Pönitz <poenitz@gmx.net>
11267 * all the files from the change on 2001/11/26:
11268 use lyx::layout_type instead of LyXTextClass::size_type
11269 use lyx::textclass_type instead of LyXTextClassList::size_type
11271 2001-11-29 Juergen Vigna <jug@sad.it>
11273 * text.C: added support for paragraph::isFreeSpacing()
11275 * buffer.C: same as above
11277 * paragraph.h: inserted isFreeSpacing() function to enable
11278 FreeSpacing inside InsetERT.
11280 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11281 of the paragraph's in the cut/copy buffer to 0!
11283 * text2.C (removeRow): remove the assert as it can!
11285 * lyxtext.h: added helper function firstRow returning firstrow and
11286 made firstrow private again.
11288 * BufferView2.C (lockInset): don't relock if we're already locked!
11290 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11291 the only paragraph.
11292 (removeRow): added Assert::(firstrow)
11294 * debug.C: forgot to add INSETTEXT here.
11296 2001-11-28 Juergen Vigna <jug@sad.it>
11298 * sp_spell.C (initialize): changed error text to more general
11299 spellchecker command use (not only ispell!)
11301 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11303 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11305 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11307 * vspace.C: initialise lyxgluelength on failure
11309 2001-11-28 Allan Rae <rae@lyx.org>
11311 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11312 declaration & definition that looks like a function declaration.
11314 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11316 * BufferView2.C (copy):
11317 (copyEnvironment): do not clear the selection when doing a copy.
11319 * text.C (paintFirstRow): compilation fix
11321 2001-11-27 Ben Stanley <bds02@uow.edu.au>
11323 * tabular.C (Latex): correct line count when writing latex.
11325 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
11327 * paragraph_pimpl.h:
11328 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11331 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11335 * LColor.C: change vfillline->added_space
11337 * text.C: add markers and text for added space
11339 * vspace.C: fix comment
11341 2001-11-28 André Pönitz <poenitz@gmx.net>
11343 * paragraph.C: whitespace changes
11344 * all the other files from the change on 2001/11/26:
11345 change *::pos_type into lyx::pos_type
11347 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
11349 * buffer.C (parseSingleLyXformat2Token): Set the language to the
11350 language of the document when inserting error insets.
11352 2001-11-26 André Pönitz <poenitz@gmx.net>
11354 * BufferView_pimpl.[Ch]:
11362 * paragraph_pimpl.[Ch]:
11365 * text2.C: reduce header dependencies, introduce type for positions
11367 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11369 * <various>: change to use Alert.h
11371 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
11373 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11374 when encountering an unknown token.
11375 (readLyXformat2): Show an error message if there were unknown tokens.
11377 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
11380 * BufferView_pimpl.C:
11384 * text2.C: use par->isInset()
11386 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11388 * paragraph_pimpl.h:
11389 * paragraph_pimpl.C: cleanup
11391 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11393 * text2.C (removeRow):
11394 * text.C (setHeightOfRow): remove useless (and costly) call to
11397 2001-11-20 Allan Rae <rae@lyx.org>
11399 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11400 Now need Inset*::checkInsertChar() to return true for appropriate
11401 cases so that the characters in the minibuffer will actually be
11404 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11406 * text.C: change the order of the includes.
11407 (workWidth): initialize it at once.
11408 (workWidth): make maxw unsigned
11409 (setHeightOfRow): remove unused variable (inset)
11410 (selectSelectedWord): remove unused variable (inset)
11411 (paintRowText): fix drawing of hfill characters, and clean up a bit.
11413 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11415 * lyxserver.C (emergencyCleanup): do not try to close pipes if
11416 server is not running.
11418 (closeConnection): add debug info when server is disabled.
11420 * ColorHandler.C (getGCForeground): send debug message to GUI
11423 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11425 * kbmap.C (bind): modify because return conventions of
11426 kb_sequence::parse have changed.
11428 * kbsequence.C (parse): only ignore spaces and not any stupid
11429 control character. This avoids tests like s[i] <= ' ', which are
11430 guaranteed to fail with 8bit characters and signed chars.
11431 Change return code to string::npos when there have been no error
11432 (0 was a bad idea when error is at first character)
11434 2001-11-14 José Matos <jamatos@fep.up.pt>
11437 * buffer.C (simpleDocBookOnePar): removed unused argument.
11439 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11441 * text.C (selectNextWordToSpellcheck): do not test explicitely for
11442 insets which are part of a word. Paragraph::isLetter takes care of
11443 that now. Use Paragraph::isInset to identify insets.
11444 (selectSelectedWord): do not test for hyphenation break.
11446 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11447 that protected spaces are considered as spaces.
11449 * paragraph.C (isLetter): cleanup the code for ispell extras; use
11452 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
11455 * lyxserver.C: fix it. and small cleanup.
11457 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11459 * BufferView_pimpl.C: use inline helpers
11462 * LaTeXFeatures.C: fix typos
11465 * Spacing.C: move spacing_string into class
11467 * ToolbarDefaults.C: move stuff into namespace anon
11469 * layout.h: update enum
11471 * lyxfunc.C: use better debug
11473 * minibuffer.h: fix typo
11477 * WorkArea.C: add and use Debug::WORKAREA
11481 * text2.C: code re-organisation, inline helpers
11483 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
11485 * Layout.C: replaced a few cases of std::vector.size() == 0 with
11486 std::vector.empty().
11488 2001-11-09 Allan Rae <rae@lyx.org>
11490 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11491 '\n's after tables. Tabular and ERT inset work now makes this no
11494 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11497 * minibuffer.C: fix crash, improve drop-down completion
11499 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11502 * lyxserver.C: invalidate fd's when doing endPipe()
11504 2001-11-08 José Matos <jamatos@fep.up.pt>
11506 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11507 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11510 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11512 2001-11-07 José Matos <jamatos@fep.up.pt>
11515 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11518 * buffer.C (sgmlOpenTag):
11519 * buffer.C (sgmlCloseTag): removed debug info.
11521 * buffer.h (sgmlOpenTag):
11522 * buffer.h (sgmlCloseTag): made public.
11524 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11526 * buffer.C (saveParamsAsDefaults):
11527 * lyx_cb.C (MenuLayoutSave): remove
11529 * LyXAction.C (init):
11531 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11533 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11535 * buffer.C (setPaperStuff): removed from here...
11537 * bufferparams.C (setPaperStuff): ... and moved there.
11539 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11543 * XFormsView.C: add support for drop-down completion
11545 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11547 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11550 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11552 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11555 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11557 * lyx_main.C: change ref to known bugs
11559 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11561 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11562 to work around older babel problems.
11564 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11566 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11568 2001-10-24 Juergen Vigna <jug@sad.it>
11570 * tabular-old.C (ReadOld): below variable changes reflected.
11572 * tabular.[Ch]: added ltType struct for longtable header/footer
11573 defines and changed all instances where they are used. Added
11574 future support for double top/bottom rows.
11576 2001-10-24 José Matos <jamatos@fep.up.pt>
11578 * buffer.h (docbookHandleCaption):
11579 * buffer.C (docbookHandleCaption): removed unused function.
11580 (makeDocBookFile): moved docbook supported version to v4.1.
11582 2001-10-24 José Matos <jamatos@fep.up.pt>
11585 * tabular.C (docbookRow): new function to export docbook code of a row.
11586 (DocBook): now honors the longtable flags.
11588 2001-10-23 José Matos <jamatos@fep.up.pt>
11591 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11592 of the lyx defined sgml entities used in a docbook/linuxdoc document.
11594 * buffer.C (makeLinuxDocFile):
11595 (makeDocBookFile): reworked the preamble, more clean, and with
11596 support for lyx defined entities. Changed the document declaration
11597 to be more XML friendly.
11599 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11600 if we need to output XML that should be done with a filter.
11602 2001-10-22 Juergen Vigna <jug@sad.it>
11604 * sp_pspell.h (class PSpell): add alive function needed in the
11605 controller to see if the spellchecker could be started.
11607 2001-10-22 Juergen Vigna <jug@sad.it>
11609 * buffer.C (insertStringAsLines): modify the font for inserting
11610 chars in certain conditions by calling checkInsertChar(font).
11612 2001-10-19 Juergen Vigna <jug@sad.it>
11614 * text.C (workWidth): use getRow instead of wrong algorithm.
11615 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11617 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
11622 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11624 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11626 * text.C (workWidth): do not search for the exact row when
11627 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11628 optimization for big documents.
11630 2001-10-18 Juergen Vigna <jug@sad.it>
11632 * text.C (workWidth): new function with added Inset * parameter.
11634 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11636 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11638 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11639 change return type of getColumnNearX.
11642 * text.C (changeRegionCase): use uppercase/lowercase instead of
11645 (rightMargin): simplify code by factoring out the uses of
11650 (appendParagraph): use Paragraph::size_type
11652 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11654 * vspace.C (asLatexString): add a missing break
11656 2001-10-15 Herbert Voss <voss@perce.de>
11658 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11660 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11662 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11665 2001-10-10 André Pönitz <poenitz@gmx.net>
11667 * lyxfunc.C: removed greek_kb_flag.
11669 2001-10-10 Herbert Voss <voss@perce.de>
11671 * lyx_main.C: delete global string help_lyxdir.
11673 2001-10-09 Herbert Voss <voss@perce.de>
11675 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11677 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11679 * lyx_main.C: added global string help_lyxdir.
11681 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11683 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
11685 * lyxrc.C (set_font_norm_type): support iso8859-4
11687 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
11689 * LaTeX.C (deplog): add another regex for MikTeX
11691 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
11693 * lyxrc.C (set_font_norm_type): support iso8859-3
11695 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11697 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11699 * LaTeXFeatures.C: remove special case of french and index
11701 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11702 before \begin{document}). This solves several incompatibilities.
11704 2001-10-03 Garst Reese <reese@isn.net>
11706 * lyx_cb.C: change CheckTex error msg.
11708 2001-10-03 José Matos <jamatos@fep.up.pt>
11710 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11712 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11714 * .cvsignore: update
11716 * lyx_main.C (commandLineVersionInfo): use new style version info.
11718 * buffer.C (writeFile):
11720 (makeLinuxDocFile):
11721 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11723 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11725 * version.h: update to use stuff in version.C
11727 * version.C.in: new file. Contains version information determined
11728 at compile time. This is a merging of version.h and
11731 2001-10-03 Juergen Vigna <jug@sad.it>
11733 * BufferView_pimpl.C (update): don't change "dirty" status in
11736 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
11738 * WorkArea.C (c-tor): re-position version string slightly.
11740 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
11742 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11743 revert to previous code.
11745 WorkArea.[Ch]: (show, destroySplash): methods removed.
11747 WorkArea.C: rework code so that it's an amalgam of the codes before and
11748 after the splash screen was moved to WorkArea.
11750 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11753 * vspace.C (inPixels):
11756 * buffer.C (insertStringAsLines):
11757 (asciiParagraph): fix types to be large enough
11759 * lyxlex_pimpl.h: change member status from short to int
11761 * layout.h: fix type of endlabeltype
11764 * kbsequence.C (parse): change return type to string::size_type
11766 * LaTeX.C (updateBibtexDependencies): comment out unneeded
11769 * Bullet.C (bulletSize):
11770 (bulletEntry): do not use short ints as parameters
11772 * BufferView2.C (insertLyXFile): change a char to an int.
11774 * WorkArea.C (WorkArea): remove unneeded floats in computation
11776 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
11778 * buffer.C (asciiParagraph): Treat '\\' as other chars.
11780 * paragraph.C (asString): Do not ignore newline/hfill chars when
11781 copying to the clipboard.
11783 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
11785 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11786 after a multi-line inset.
11788 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
11790 * paragraph.C (validate): Set NeedLyXFootnoteCode
11792 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11794 * lyxfont.C (LyXSizeNames): changed increase-error to increase
11795 and decrease-error to decrease.
11797 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11799 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11800 it more readable (should be equivalent)
11802 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
11804 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11806 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11808 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11809 of a cursor (row, etc.) after a character has been deleted
11810 (deleteEmptyParagraphMechanism): call the method above on _all_
11811 cursors held by the LyXText when a double space has been
11814 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11816 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11818 (resizeCurrentBuff): remove code to destroy the old splash dialog.
11820 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11821 background. Use greyOut() and the new show() methods to toggle between
11822 the foreground and background. Add code to remove the splash after
11823 its initial showing.
11825 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11826 (create_forms): no longer call Dialogs::showSplash.
11828 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11830 * .cvsignore: add version_info.h
11832 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11834 * version_info.h.in: new file
11836 * Makefile.am: add version_info.h.in
11838 * lyx_main.C (commandLineVersionInfo): use version_info defined in
11839 version_info.h instead of VERSION_INFO
11841 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
11843 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11844 The ERT inset now returns string().
11846 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
11848 * lyxtext.h, text.C (selectNextWord): renamed as
11849 selectNextWordToSpellcheck.
11851 * text.C (selectNextWordToSpellcheck): Modified to not select
11852 words inside an ERT inset.
11854 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11856 * lyx_cb.C (MenuLayoutSave): change a bit the question
11858 * sp_base.h: include <sys/types.h>
11860 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
11862 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11864 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
11866 * several files: fix typos in user-visible strings
11868 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11870 * text2.C (pasteSelection): do not set the selection, since it
11871 will be cleared later. Actually, the intent was to fix the way the
11872 selection was set, but I figured rmoving the code was just as good.
11874 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
11876 * FontLoader.C (available): Check if font is available without
11879 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11881 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11883 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
11885 * lyxrc.[Ch]: added display_graphics variable and associated code.
11887 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11889 * bufferparams.C (hasClassDefaults): new method. Returns true if
11890 the buffer parameters correspond to known class defaults
11892 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
11894 * XFormsView.C (show): set minimum size to the main window.
11896 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11898 * text2.C (copySelection):
11900 * lyxfind.C (LyXReplace):
11901 * BufferView_pimpl.C (Dispatch): pass the correct flag to
11902 LyXText::selectionAsString.
11904 * paragraph.C (asString): add "label" argument to the second form
11906 * text2.C (selectionAsString): add "label" argument and pass it to
11907 Paragraph::asString.
11909 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11911 * lyx_main.C (commandLineHelp): remove version information
11913 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
11915 * lyx_main.C: add -version commandline option
11917 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11919 * paragraph.h: make the optional constructor arg required instead.
11920 some modifications to other files because of this.
11922 * minibuffer.C (C_MiniBuffer_peek_event): make it static
11924 * lyxserver.C (C_LyXComm_callback): make it static
11926 * lyx_main.C (error_handler): make it static
11928 * lyx_gui.C (LyX_XErrHandler): make it static
11930 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11932 * WorkArea.C: make the extern "C" methods static.
11934 * Makefile.am (lyx_LDADD): simplify
11936 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11938 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11939 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11941 * LyXAction.C (init):
11942 * lyxfunc.C (dispatch): associated code removal.
11944 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11946 * lyxfont.h (isSymbolFont): shut off warning
11948 * text.C (setHeightOfRow):
11949 (getVisibleRow): fix crash with empty paragraphs which have a
11952 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
11954 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11957 2001-09-04 José Matos <jamatos@fep.up.pt>
11960 * tabular.C (docbook): rename docBook method to docbook.
11962 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11964 * Makefile.am: add dependencies to main.o.
11966 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
11968 * FontLoader.C (available): Return false if !lyxrc.use_gui
11970 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
11972 * FontInfo.C (query):
11973 * converter.C (view):
11974 * importer.C (Import):
11975 * exporter.C (Export): Can not -> cannot.
11977 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
11979 * BufferView_pimpl.C: allow to create index inset even if
11982 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11984 * buffer.C (getLists): replace boost::tie code with an explicit pair
11985 as boost::tie can break some compilers.
11987 * iterators.h: Added a std:: declaration to the return type of
11990 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
11992 * lyxrc.C: add help for view_dvi_paper_option, default to safe
11995 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
11997 * iterators.[Ch]: New files. Provide paragraph iterators.
11999 * buffer.C (changeLanguage): Use paragraph iterators.
12000 (isMultiLingual): ditto
12002 * BufferView2.C (ChangeInsets): Use paragraph iterators.
12004 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
12006 * FontLoader.C: Support for cmr font.
12008 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
12010 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12011 (available): New method.
12013 * FontInfo.C (getFontname): Use scalable fonts even when
12014 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12017 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12019 * converter.C (Formats::view): reverted! Incorrect fix.
12021 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12023 * converter.C (Formats::view): only output the -paper option
12024 if the dvi viewer is xdvi, thereby fixing bug #233429.
12026 2001-08-23 Herbert Voss <voss@perce>
12028 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12030 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
12032 * Spacing.h (Spacing): Set space to Default on in the default
12035 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
12037 * vc-backend.h (RCS::versionString): add RCS to version
12038 (CVS::versionString): add CVS to version
12040 * vc-backend.C (scanMaster): do not add CVS to version.
12041 (scanMaster): do not add RCS to version
12043 * lyxvc.C (versionString): new method
12045 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12047 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12049 * Spacing.C (set): initialize fval
12051 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
12053 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12056 2001-08-16 Juergen Vigna <jug@sad.it>
12058 * lyxfunc.C (dispatch): implemented the new FINISHED states.
12060 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12062 * BufferView_pimpl.C:
12065 * text2.C: setParagraph takes linespacing now
12067 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
12069 * LyxAction.C: add internal LFUN_CITATION_INSERT
12071 * LyXView.C: actually apply fix
12073 * bufferlist.C: fix open non-existent file
12075 * lyxfind.C: fix indentation
12077 * lyxfunc.C: remove unneeded assert, fix typo
12079 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12081 * MenuBackend.C: use "Floatname List"
12083 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
12085 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12086 when converting LaTeX layout to insetERT.
12087 Generate a non-collapsed float when reading old float
12089 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12091 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12094 2001-08-13 Juergen Vigna <jug@sad.it>
12096 * text.C (fill): return 0 instead of 20 as this seems to be the more
12099 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12101 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12104 2001-08-13 Juergen Vigna <jug@sad.it>
12106 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12108 (SearchBackward): comment out the unlocking of the inset_owner this
12109 should not be needed!
12111 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
12113 * Many files: Remove inherit_language, and add latex_language
12115 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12116 collapsible insets.
12118 2001-08-10 Juergen Vigna <jug@sad.it>
12120 * text.C (prepareToPrint): fixed hfill-width in draw!
12122 * BufferView2.C (selectLastWord): save the selection cursor as this
12123 now is cleared in the function LyXText::clearSelection!
12125 2001-08-08 Juergen Vigna <jug@sad.it>
12127 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12128 BACKSPACE type functions.
12130 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12131 is only cutted from the document but not put in the cut-buffer, where
12132 still the old stuff should be.
12134 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12136 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12138 * tabular.C (SetWidthOfCell): fixed special case where the width
12140 (LeftLine): handle '|' in align_special.
12142 (LeftAlreadyDrawed): ditto
12143 (SetWidthOfCell): ditto
12145 2001-08-07 Juergen Vigna <jug@sad.it>
12147 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12149 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12151 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12152 * lyxlex.[hC]: ditto
12154 2001-08-06 Juergen Vigna <jug@sad.it>
12156 * text.C (getVisibleRow): fix up row clearing a bit.
12158 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12160 * minibuffer.C: make sure the X server sees the changes in the input.
12162 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12164 * paragraph.C (getFont): split into...
12165 (getLabelFont): this
12166 (getLayoutFont): and this
12167 * paragraph_pimpl.C (realizeFont): calling this
12169 * text2.C (getFont): split into...
12170 (getLayoutFont): this
12171 (getLabelFont): and this
12172 (realizeFont): all three calling this
12174 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12177 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12179 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12181 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
12183 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12184 layouts from the Quote inset insertion.
12186 2001-08-03 Juergen Vigna <jug@sad.it>
12188 * BufferView_pimpl.C (update): do the fitCursor only at the end!
12190 * screen.C (drawFromTo): don't call fitcursor here and do the loop
12191 only if status not is already CHANGED_IN_DRAW (second level).
12193 * text.C (draw): don't set the need_break_row when inside an
12196 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12198 * buffer.C (parseSingleLyXformat2Token): handle more latex
12201 * bufferview_funcs.[hC]: change function names to
12202 begin with small char, adjust other files.
12204 2001-08-02 André Pönitz <poenitz@gmx.net>
12207 BufferView_pimpl.C: remove broken special code for math-greek
12209 2001-08-02 Juergen Vigna <jug@sad.it>
12211 * BufferView_pimpl.C (update): redone this function so that we
12212 update the text again if there was a CHANGE_IN_DRAW.
12214 * screen.C (cursorToggle): removed LyXText parameter and recoded.
12215 (drawFromTo): added a new internal bool which is used by draw() and
12217 (general): some cursor drawing problems fixed.
12219 2001-08-01 Juergen Vigna <jug@sad.it>
12221 * lyxfind.C (LyXFind): fixed
12222 (SearchForward): ditto
12223 (SearchBackward): ditto
12225 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12226 spurius drawing of the cursor in the main area.
12228 * text2.C (status): small fix which could lead to a segfault!
12229 (clearSelection): remove unneeded BufferView param.
12231 2001-08-01 André Pönitz <poenitz@gmx.net>
12233 * lyxfunc.C: small change due to changed mathed interface
12235 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12237 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12239 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
12241 * lyxfunc.c: fail gracefully if file doesn't exist
12246 * BufferView_pimpl.C: IsDirWriteable() proto changed
12248 * LyXView.C: fix updateWindowTitle() to store the last title
12250 2001-07-31 Juergen Vigna <jug@sad.it>
12252 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12253 the font (wrong since using of Paragraph::highestFontInRange).
12255 * paragraph.C (highestFontInRange): added a default_size parameter.
12257 * text.C (getVisibleRow): minor clear row changes (still not perfect).
12258 (setHeightOfRow): reformat
12260 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12262 * converter.[hC] + affected files: move to (inital-char)lowercase
12265 * ParagraphParameters.C (ParagraphParameters): remove commented code
12267 * PainterBase.[Ch]: remove commented code
12269 * LaTeXFeatures.h: add "bool floats" for float.sty
12271 * LaTeXFeatures.C (LaTeXFeatures): init floats
12272 (require): handle float
12273 (getPackages): do it with floats
12275 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12277 * BufferView_pimpl.C (Dispatch): improve handling of
12278 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12280 * commandtags.h: #include lyxfont.h here temporarily to avoid
12283 * bufferlist.h: include LString.h here.
12285 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12287 * text2.C (getStringToIndex): new method.
12289 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
12291 * *: Reduced header file dependencies all over.
12293 2001-07-30 Baruch Even <baruch@lyx.org>
12295 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12297 2001-07-29 Baruch Even <baruch@lyx.org>
12299 * buffer.C (readInset): Changed GRAPHICS to Graphics.
12301 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12303 * ParameterStruct.h (endif): add a default constructor to make
12304 sure that all variables is initialized.
12306 * ParagraphParameters.C (ParagraphParameters): adjust
12308 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12310 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12311 index; also, check that there is something to index, and that it
12312 does not span over several paragraphs.
12313 (doubleClick): use WHOLE_WORD_STRICT for double click.
12315 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12317 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12320 2001-07-26 Baruch Even <baruch@lyx.org>
12322 * buffer.C (readInset): Changed to call up InsetGraphics when reading
12323 an InsetFig figure, backwards compatible reading of old figure code.
12325 2001-07-27 Juergen Vigna <jug@sad.it>
12327 * text2.C: font.realize function adaption.
12329 * text.C (draw): add a warnings lyxerr text if needed.
12331 * layout.C: font.realize function adaption.
12333 * language.C: add inherit_language and implement it's handlings
12335 * bufferview_funcs.C (StyleReset): remove language parameter from
12336 font creation (should be language_inherit now).
12338 * bufferparams.C (writeFile): handle ignore_language.
12340 * paragraph.C (getFontSettings): the language has to be resolved
12341 otherwise we have problems in LyXFont!
12343 * lyxfont.C (lyxWriteChanges): added document_language parameter
12344 (update): removed unneeded language parameter
12346 * paragraph.C (validate): fixed wrong output of color-package when
12347 using interface colors for certain fonts in certain environments,
12348 which should not seen as that on the final output.
12350 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
12352 * BufferView_pimpl.C:
12357 * LyXAction.C: add thesaurus support
12360 * lyxfind.C: add "once" parameter, for thesaurus, to not
12361 move to the next match
12363 2001-07-26 Juergen Vigna <jug@sad.it>
12365 * lyxfont.C (realize): honor ignore_language too!
12368 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12370 * text.C (draw): one place more for ignore_language to not draw
12373 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
12375 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12377 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12379 * buffer.C (parseSingleLyXformat2Token): a more general fix for
12380 the minipage conversion problem.
12382 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12384 * buffer.C (parseSingleLyXformat2Token): check minipage if we
12387 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12389 * BufferView.h: don't forward declare WorkArea
12391 * BufferView.C: don't include WorkArea.h
12393 2001-07-25 André Pönitz <poenitz@gmx.net>
12397 * lyxfunc.C: new LFUN 'math-space'
12399 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12401 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12403 * text2.C (toggleInset): call open/close
12405 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12407 * lyxfunc.C (dispatch): add debug for the disabled case
12409 * font.C (buttonText): make similar to rectText
12411 * buffer.C (readInset): comment out parsing of insetlist and
12414 * PainterBase.C (rectText): small correction
12416 * BufferView_pimpl.C: comment out insettheorem and insetlist
12417 * LyXAction.C: ditto
12418 * commandtags.h: ditto
12420 2001-07-24 Juergen Vigna <jug@sad.it>
12422 * text.C (draw): honor the ignore_language.
12424 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12426 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12428 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12431 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12433 * lyxtext.h: remove unused (and unimplemented) methods
12435 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12437 * text.C (getVisibleRow): honor background color
12440 * Painter.h: remove default color argument for fillRectangle
12442 * text.C (backgroundColor): new method
12444 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12446 * text.C (getVisibleRow): adjust
12448 * font.[Ch] (rectText): new method, metrics
12449 (buttonText): new method, metrics
12451 * PainterBase.[hC]: make rectText and buttonText always draw and take
12454 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12456 * ToolbarDefaults.C (read):
12457 * MenuBackend.C (read): allow escaping in all strings
12459 * BufferView_pimpl.C (insertAndEditInset): new method.
12460 (Dispatch): use insertAndEditInset whenever appropriate.
12462 * BufferView_pimpl.C (insertNote): removed
12464 * BufferView_pimpl.C (smartQuote): new method, moved from
12465 BufferView; if an insetquote cannot be inserted, insert a '"'
12468 * BufferView2.C: remove insertCorrectQuote();
12470 * lyxfunc.C (getStatus): Add support for all remaingin
12471 inset-insert lfuns.
12473 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12475 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12476 command (necessary to pass " as parameter of self-insert.
12478 * text.C (selectWordWhenUnderCursor):
12479 (selectWord): add word_location parameter
12480 (selectWordWhenUnderCursor): same + remove special code for word
12482 (selectNextWord): use kind() to guess type of insetspecialchar,
12485 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12486 (insertErtContents): create ert insets as collapsed.
12487 (readInset): better compatibility code for Info inset.
12489 2001-07-20 Juergen Vigna <jug@sad.it>
12491 * lyxfunc.C (dispatch): use always LyXFind now!
12493 * text2.C (init): add a reinit flag so that the LyXText can be
12494 reinited instead of deleted and reallocated (used in InsetText).
12496 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12502 2001-07-18 Juergen Vigna <jug@sad.it>
12504 * text.C (selectNextWord): handle insets inside inset by calling
12505 always the bv->text functions so that we can go up the_locking_inset!
12507 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12508 in strange locations when inside an inset!
12510 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12511 handling to include insets.
12513 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12515 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12517 * LyXAction.C (init):
12519 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12520 LIGATURE_BREAK, since the name is so stupid.
12522 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12524 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12527 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12529 * sp_form.[Ch]: remove.
12531 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12533 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12536 * src/buffer.C (readInset): ditto.
12538 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12540 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12541 menuSeparator(), endOfSentenceDot(), ldots() and
12542 hyphenationPoint(), which are therefore removed.
12543 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12545 * LyXAction.C (init):
12546 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12548 * paragraph.C (getWord): removed.
12550 * BufferView_pimpl.C (Dispatch): use last word or selection for
12551 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12553 * lyx_main.C (queryUserLyXDir): do not ask before creating
12554 user_dir, except if it has been named explicitely.
12556 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12558 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12559 a document of zero size.
12561 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12563 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12564 approriately in the c-tor and in require().
12565 (getPackages): output the appropriate LaTeX for natbib support.
12567 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12568 variables "use_natbib" and "use_numerical_citations" when reading the
12570 (readInset): read the various natbib cite commands.
12571 (validate): white-space change.
12573 * bufferparams.[Ch]: new variables "bool use_natbib" and
12574 "bool use_numerical_citations".
12575 (writeFile): output them in the LyX file.
12577 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12579 * lyxfunc.C (getStatus): add support for all the inset insertion
12582 * text2.C (insertInset):
12583 * paragraph.C (insetAllowed):
12584 * BufferView_pimpl.C (insertInset): update to take in account the
12585 renaming of insertInsetAllowed
12587 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12589 * text2.C (getInset): new method. returns inset at cursor position.
12591 * BufferView_pimpl.C (Dispatch): changes because of this.
12593 * LyXAction.C (init): rename open-stuff to inset-toggle.
12595 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12597 * text2.C (toggleInset): renamed from openStuff; use
12600 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
12602 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12604 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12606 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
12608 * buffer.C (readLyXformat2): Add filename to the error dialog
12610 2001-07-18 Juergen Vigna <jug@sad.it>
12612 * tabular.C (GetCellNumber): put an assert here instead of the check!
12614 2001-07-17 Juergen Vigna <jug@sad.it>
12616 * BufferView_pimpl.C (toggleSelection): adapted too.
12618 * text.C (selectNextWord): adapted for use with insets.
12619 (selectSelectedWord): ditto
12621 2001-07-17 Juergen Vigna <jug@sad.it>
12623 * sp_spell.C (PSpell): fix initialitation order.
12625 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12627 * paragraph.C: spacing
12629 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
12631 * sp_spell.C: repair language selection for pspell
12633 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12635 * lyxfunc.h: change more methods to begin with lower char.
12637 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
12639 * buffer.C (parseSingleLyXformat2Token): Generate error insets
12640 for unknown layouts.
12642 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
12644 * buffer.C (readLyXformat2): Generate an error dialog if there are
12647 2001-07-16 Juergen Vigna <jug@sad.it>
12649 * sp_spell.C: always compile ISpell part.
12651 * lyxrc.C: added use_pspell entry and it's handling.
12653 2001-07-13 Juergen Vigna <jug@sad.it>
12655 * sp_spell.C: removed double includes.
12657 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
12659 Consistent use of Lsstream.h:
12660 * Lsstream.h: added using std::stringstream for consistencies sake.
12662 * buffer.C: removed using std::stringstream
12664 * lyxfont.C (stateText):
12665 * paragraph.C (asString):
12666 * text.C (selectNextWord, selectSelectedWord):
12667 * text2.C (setCounter):
12668 * vspace.C (asString, asLatexString):
12669 std::ostringstream -> ostringstream.
12671 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12673 * LyXAction.C: add LFUN_HELP_ABOUTLYX
12674 * commandtags.h: add LFUN_HELP_ABOUTLYX
12675 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12677 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12679 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12681 * lyx_gui_misc.C: remove spellchecker
12682 * lyxfunc.C: showSpellchecker
12684 * sp_ispell.h: added
12685 * sp_pspell.h: added
12686 * sp_spell.C: added
12687 * sp_form.[Ch]: removed
12688 * spellchecker.[Ch]: removed
12690 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
12692 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12694 (simpleTeXSpecialChars): Simply print the input character without
12695 any special translation if pass_thru is set.
12697 * layout.h: Added bool pass_thru to layout class for being able to
12698 implement pass through of a paragraph for Literate Programming.
12700 * layout.C: add LT_PASS_THRU to LayoutTags enum.
12701 * layout.C (LyXLayout): set pass_thru to flase in constructor.
12702 * layout.C (Read): add "passthru" to list of layout tags and add
12703 code to set the pass_thru boolean when it is read.
12705 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12707 * trans_decl.h: remove allowed from KmodInfo
12709 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12710 remove allowed code
12713 * paragraph_pimpl.C (erase): use boost::prior
12715 * Painter.C (text): use data() instead of c_str() when length is
12717 * WorkArea.C (putClipboard): ditto
12718 * font.h (width): ditto
12720 * BufferView2.C: use it-> instead of (*it). for iterators
12722 * paragraph_pimpl.C: ditto
12723 * paragraph.C: ditto
12724 * minibuffer.C: ditto
12725 * language.C: ditto
12727 * encoding.C: ditto
12728 * counters.C: ditto
12729 * converter.C: ditto
12731 * Variables.C: ditto
12732 * TextCache.C: ditto
12733 * MenuBackend.C: ditto
12734 * LyXAction.C: ditto
12736 * FloatList.C: ditto
12737 * DepTable.C: ditto
12738 * ColorHandler.C (LyXColorHandler): ditto
12740 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12742 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12744 * text2.C (openStuff): reintroduce this method (which had been
12745 nuked in NEW_INSETS frenzy).
12747 * lyxfunc.C (Dispatch): when an action has not been handled, use
12748 its name in the error message, not its number.
12750 * paragraph.C (inInset): change method name to begin with lowercase.
12753 * text2.C: updates because of this.
12755 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12757 * ToolbarDefaults.C (add): add spaces in error message
12759 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12761 * buffer.C (readLyXformat2): initialize the ert comp. variables.
12762 (readLyXformat2): rename return_par to first_par, use lyxlex's
12763 pushToken and remove the manual push handling.
12764 (parseSingleLyXformat2Token): add another ert comp. variable:
12765 in_tabular, rename return_par to first_par. handle newlines better
12767 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12769 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12771 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12773 * text2.C (getParFromID): removed
12775 * buffer.C (getParFromID): new method moved form lyxtext.
12776 * BufferView2.C (insertErrors): adjust
12777 (setCursorFromRow): adjust
12778 * BufferView_pimpl.C (restorePosition): adjust
12779 * lyxfunc.C (Dispatch): adjust
12780 * undo_funcs.C (textUndo): adjust
12782 (textHandleUndo): adjust
12783 (textHandleUndo): adjust
12785 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12787 * buffer.C: up' the LYX_FORMAT
12789 * lyxfont.h: turn NO_LATEX on as default
12791 * buffer.C (insertErtContents): new methods of tex style compability.
12792 (parseSingleLyXformat2Token): use it several places.
12793 * tabular.C (OldFormatRead): and here
12795 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12797 * text2.C: remove some commented code.
12800 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12801 * trans.C: changes because of the above.
12803 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
12805 * text2.C (setCounter): Fix counters bug with bibliography layout.
12807 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12809 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12810 own member functions
12811 (simpleTeXSpecialChars): ditto
12813 2001-07-06 Juergen Vigna <jug@sad.it>
12815 * a lot of files: changed the access to LyXText::status and the
12816 call of undo-functions.
12818 * undo.[Ch]: added a inset_id to the undo informations.
12820 * undo_funcs.[Ch]: added and moved here all undo functions.
12822 * lyxtext.h: give the status enum a weight, made status_ a private
12823 variable and made accessor functions for it, removed the whole bunch
12824 of undo-functions as they are now in their own file, make some
12825 functions publically available. Added function ownerParagraph with
12828 * paragraph.[Ch]: added "bool same_ids" to the constructor,
12829 made InInset() a const function, added getParFromID() function.
12831 * buffer.[Ch]: added const version for inset_iterator functions,
12832 added getInsetFromID() function.
12834 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12835 changed undo functions for new version.
12837 2001-07-05 Juergen Vigna <jug@sad.it>
12839 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12840 unknow mechanism does not call the proper constructor but only this
12841 one also if I request the other!?
12843 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12845 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12847 * text2.C (LyXText): use initialization lists.
12849 * lyxtext.h (Selection): initialize set_ and mark_
12850 (init): remove method
12852 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
12854 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12856 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12858 * screen.[Ch]: change method names to begin with lowercase
12860 * BufferView_pimpl.C (updateScrollbar): simplify further and
12861 hopefully make it a bit faster.
12863 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12865 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12866 calling directly xforms functions.
12868 * Painter.C (Painter):
12869 * lyx_cb.C (MenuWrite):
12870 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12873 * lyx_gui.C: remove bogus guiruntime extern declaration.
12875 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12877 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12879 (redoDrawingOfParagraph): ditto
12880 (redoParagraphs): ditto
12881 (cutSelection): don't create a object for CutAndPaste use the
12882 static method directly
12883 (pasteSelection): ditto
12885 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12888 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12890 * modifications to some other files because of this.
12892 * Makefile.am (lyx_SOURCES): add XFormsView
12894 * XFormsView.[Ch]: new files
12896 * LyXView.[Ch]: make LyXView a base class for the gui handling for
12897 the main window. Move the gui dependent stuff to XFormsView
12899 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12901 * tabular.C (GetCellInset): update cur_cell also in the row/col
12902 version of this function.
12904 * lyxfunc.C: no need to include figure_form.h here.
12910 * lyxvc.C: no need to include forms.h here.
12912 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12914 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12916 * lyxfunc.C (Dispatch):
12918 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12919 constructor argument.
12921 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12923 * paragraph.C (Paragraph): dont't clear, and just set layout.
12924 (makeSameLayout): use params's copy contructor.
12926 * ParagraphParameters.[Ch] (makeSame): delete method
12928 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
12930 * Variables.[Ch]: fix indentation, rename set to isSet
12932 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12934 * lyxfunc.C (Dispatch): fix typo
12936 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12938 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12941 * bufferlist.C: include assert.h for emergencyWrite().
12943 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12945 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12946 give up at last (bug #425202) !
12948 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
12954 * spellchecker.C: strip spellchecker options and bring up
12955 preferences tab instead
12957 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12959 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12960 the istringstream constructor
12962 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12964 * paragraph.C (getLayout): fix return value
12966 * paragraph.h: do not declare getLayout as inline.
12968 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12970 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12972 * lyxcursor.h (operator<): new func
12973 (operator>): new func
12974 (operator>=): new func
12975 (operator<=): new func
12977 * text.C (changeCase): use selection.start and selection.end
12978 (changeRegionCase): require from to be <= to. Require par to be a
12981 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12983 2001-06-27 Juergen Vigna <jug@sad.it>
12985 * text.C (cursorLeftOneWord): changed to return the cursor and added
12986 overlay with BufferView * parameter which calls this one.
12988 (selectWord): use new getWord function.
12989 (changeCase): renamed from changeWordCase as and extended to work
12990 also on selections.
12992 * lyxtext.h: added enum word_location
12994 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12995 changeCase as this operates now also on selections.
12997 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
12999 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13001 * many files: send debug output to Debug::INFO instead of
13004 * converter.C (View):
13006 (Move): send debug output to Debug::FILES instead of console.
13008 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
13010 * lyxfunc.C (getStatus): use func_status
13012 * func_status.h: new header, describing the results of
13013 LyXFunc::getStatus;
13015 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13018 2001-06-25 The LyX Project <jug@sad.it>
13020 * buffer.C (sgmlOpenTag):
13022 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
13024 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13026 * text2.C: remove some dead code
13028 * tabular.C (GetCellInset): store the last cell checked (gotten)
13030 * tabular.h: add the helper for the speedup
13032 * lyxtext.h: remove some dead code
13034 2001-06-26 The LyX Project <Asger>
13036 * paragraph.C: Change export to LaTeX of alignment to
13037 \begin{center} and family for better roundtrip work with reLyX.
13039 * Tune the math drawing a bit.
13041 2001-06-25 The LyX Project <Asger>
13043 * LColor.C (LColor): New color for math background. New color
13046 2001-06-25 The LyX Project <jug@sad.it>
13048 * lyxfunc.C (MenuNew): remove extra check for .lyx file
13050 * lyxfunc.C (Open):
13051 * bufferlist.C (newFile): do not restrict to files ending with
13054 * BufferView_pimpl.C (MenuInsertLyXFile):
13056 2001-06-24 The LyX Project <jug@sad.it>
13058 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13061 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13063 * lyxtext.h: rename most methods to begin with a small char.
13064 Lots of changes because of this.
13066 * paragraph.C (Paragraph): do not call fitToSize
13067 (erase): call Pimpl::erase
13068 (insertChar): call Pimpl::insertChar
13069 (insertInset): call Pipl::insertInset
13070 (breakParagraph): do not call fitToSize
13071 (breakParagraphConservative): do not call fitToSize
13072 (fitToSize): remove method
13074 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13076 2001-06-24 The LyX Project <Asger>
13078 * Fix Qt compilation^2
13080 2001-06-24 The LyX Project <jug@sad.it>
13082 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13083 depthHook(getDepth()-1).
13086 * ParagraphParameters.h:
13087 * ParameterStruct.h: change type of depth to unsigned int ==
13088 depth_type. Many adaptations to other files before of that.
13090 2001-06-24 The LyX Project <Asger>
13092 * Fix Qt compilation.
13094 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13096 * paragraph.h: renamed several methods to begin with small letter.
13097 several changes to many parts of the code because of this.
13099 2001-06-23 The LyX Project <jug@sad.it>
13101 * text2.C (InsertStringAsLines): renamed from InsertStringA;
13102 rewritten to discard all double spaces when KeepEmpty is off
13103 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13104 to only handle newlines but not fiddle with spaces and friends.
13106 * lyxfunc.C (MenuNew): when doing 'new from template', use
13107 template_path as default directory
13109 2001-06-23 The LyX Project <Asger>
13111 * Clean-up of header file includes all over
13112 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13114 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13116 * paragraph.h: renamed from lyxparagraph.h
13118 2001-06-23 Asger <lyx@violet.home.sad.it>
13120 * Buffer.h: Removed Buffer::resize
13121 * BufferList.h: Removed BufferList::resize
13122 * LyXView.h: Added LyXView::resize. This way, we will only reflow
13123 the document lazily when we change the width, or the font settings.
13125 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13127 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13129 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13131 * buffer.h: remove out of date comment
13133 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13136 * screen.C: fix "theoretical" GC leak
13138 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13140 * LaTeX.C (scanAuxFile):
13141 (deplog): remove trailing \r when reading stream (useful under
13144 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
13146 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13147 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13148 and BufferView::theLockingInset(Inset*), so should use them and not
13149 access bv_->text->the_locking_inset directly.
13151 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13153 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13156 * tex-defs.h: remove old unused file
13158 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
13160 * BufferView_pimpl.C: fix typo, remove minibuffer message
13161 when buffer has loaded
13163 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13165 * lyxfunc.C (Dispatch): use stringstream
13166 (MenuNew): use stringstream
13167 (Open): use stringstream
13169 * importer.C (Import): use stringstream
13171 * bufferview_funcs.C (CurrentState): use stringstream
13173 * LaTeX.C (run): use stringstream
13175 * BufferView_pimpl.C (savePosition): use stringstream
13176 (restorePosition): use stringstream
13177 (MenuInsertLyXFile): use stringstream
13179 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
13192 * vspace.C: removed // -*- C++ -*- as first line.
13195 * version.h: added // -*- C++ -*- as first line.
13197 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13199 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13201 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13204 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13206 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13209 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13211 * gettext.C: include LString.h even when --disable-nls is on.
13213 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
13215 * converter.h (Get): changed argument type from int to
13216 FormatList::size_type to avoid unnecessary conversion.
13218 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13221 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13223 * gettext.h: include LString.h even when --disable-nls is on.
13225 2001-06-07 Juergen Vigna <jug@sad.it>
13227 * text.C (BreakAgain): subst spaces with tabs.
13229 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13230 (resizeInsetsLyXText): set force on resizeLyXText.
13232 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13234 * gettext.h (gettext_init):
13235 (locale_init): use a real definition instead of a macro
13237 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13239 * Bufferview_pimpl.C:
13241 * LColor.C: further lcolor tidies
13243 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13245 * BufferView_pimpl.C (updateScrollbar): simplify.
13247 * BufferView2.C: don't include insets/insetinfo.h, change
13248 prototype for insertInset and call the Pimpl version. let
13249 updateInset call Pimpl version.
13251 * BufferView.h: move inset_slept to BufferView::Pimpl, move
13252 gotoInset to BufferView::Pimpl
13254 2001-06-01 Juergen Vigna <jug@sad.it>
13256 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13257 inside a LockingInset (is the update needed at all?).
13259 2001-05-31 Juergen Vigna <jug@sad.it>
13261 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13262 here not the old one otherwise how should we compare it afterwards
13265 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13270 * FontInfo.C: bring C functions into global namespace when
13273 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13275 * LString.h: make sure config.h has been loaded before LString.h.
13277 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13278 (one for each char read by EatLine!).
13280 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13283 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13285 * paragraph.C (BreakParagraph): set the inset_owner in the new par
13286 to the same as the par we break from
13288 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
13290 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13292 * MenuBackend.C (expand): also create menu entries for wide
13293 versions of the floats.
13295 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13297 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13299 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13300 frontends/Makefile.am
13306 * tabular.C (getTokenValue): add std::
13308 * tabular-old.C (getTokenValue): add std::
13309 (getTokenValue): ditto
13310 (getTokenValue): ditto
13312 * screen.C (ToggleSelection): adjust
13314 * lyxtext.h: put selection cursors inside a Selection struct.
13316 * lyxfunc.C (moveCursorUpdate): adjust
13318 * lyxfont.C (latexWriteStartChanges): add std::
13320 * lyxfind.C: adjust
13322 * font.h: delete with(char const *, LyXFont const &)
13324 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13326 * FontInfo.C (getFontname): add std::
13328 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13329 (workAreaButtonPress): adjust
13330 (tripleClick): adjust
13332 (moveCursorUpdate): adjust
13335 * BufferView2.C (gotoInset): adjust
13337 2001-05-30 Juergen Vigna <jug@sad.it>
13339 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13340 to check pspell I add this as default as I now have new pspell
13341 libraries and they seem to use this.
13343 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13345 * text2.C (CutSelection): make the cursor valid before the call to
13348 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13350 * kbsequence.C (parse): de-uglify a bit the parsing code, which
13351 relied on 0 terminated strings and other horrors. Bug found due to
13352 the new assert in lyxstring!
13354 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13357 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13359 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13362 * lyxfunc.C (processKeySym): change method of getting to the
13365 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13366 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13367 * BufferView_pimpl.[Ch]: here as private methods.
13369 2001-05-28 Juergen Vigna <jug@sad.it>
13371 * text.C (SetHeightOfRow): added the update() call again as it is
13372 needed to initialize inset dimensions!
13374 2001-05-16 Juergen Vigna <jug@sad.it>
13376 * text2.C (SetCharFont): Add new function with BufferView * and
13377 bool toggleall parameters for setting insets internal fonts.
13378 (SetFont): Freeze the undo as we may change fonts in Insets and
13379 all this change should be inside only one Undo!
13381 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13382 setting font's in insets as for them we have the SetFont function!
13384 2001-05-15 Juergen Vigna <jug@sad.it>
13386 * text2.C (ClearSelection): to be sure we REALLY don't have any
13389 * tabular.C (TeXCellPreamble): fixed the left border problem for
13392 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
13394 * LaTeX.C (deplog): Make sure that the main .tex file is in the
13397 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13399 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13400 LFUN_BREAKPARAGRAPH.
13402 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13403 help test to "internal only", similar for LFUN_INSERT_URL
13405 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13406 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13407 auto_region_delete and deadkeys.
13409 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
13412 * LColor.C: remove some dead entries, tidy a little
13414 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13416 * lyxfunc.C (processKeySym): comment the Escape handling, remove
13418 (Dispatch): implement LFUN_ESCAPE
13420 * commandtags.h: add LFUN_ESCAPE
13422 * LyXAction.C (init): add entry for LFUN_ESCAPE
13424 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13425 Remove commented code.
13426 (insertNote): moved here
13427 (open_new_inset): moved here
13429 * BufferView[2].[Ch]: move insertNote and open_new_inset to
13432 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13434 * kbmap.C (findbinding): clean it up and make it work correctly.
13436 * lyx_main.C (init): do not pass argc and argv as parameters
13438 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
13440 * buffer.C: fix path for OS/2 & Win32
13444 * lyx_main.C: Added os:: class.
13446 * os2_defines.h: update
13448 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13450 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13451 better by trying again with reduced state.
13453 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13455 * lyxrc.C (read): print error about invalid key sequence only when
13456 debugging (because not all latinX keysyms are known to some X
13459 * kbsequence.C (getiso): add a few std:: qualifiers
13460 (getiso): comment out extra return statement.
13462 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
13464 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13466 (Dispatch): enhance the accent inset a bit. (not perfect)
13468 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13470 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13472 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13474 * bufferlist.C (emergencyWrite): fix assert() call
13476 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
13478 * text.C (InsertChar): Added trivial patch to only send the "you
13479 can not do multiple spaces this way" message once during a
13482 2001-05-08 Baruch Even <baruch@lyx.org>
13484 * Makefile.am: Changed order of libraries to get LyX to link properly
13485 with the gnome frontend.
13487 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13489 * LaTeXFeatures.h: add a std:: qualifier
13491 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13493 * paragraph.C (String): use stringstream
13495 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13497 * paragraph.C (writeFile): remove footflag arg
13499 * buffer.C (makeLaTeXFile): use stringstream
13500 (latexParagraphs): remove footnot gurba
13502 * LaTeXFeatures.C (getPackages): use stringstream
13503 (getMacros): likewise
13504 (getTClassPreamble): likewise
13505 (getFloatDefinitions): new method
13507 * paragraph.C (writeFile): reindent
13510 * WorkArea.h: revert the xpos + etc changes.
13512 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13514 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13516 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13517 (pasteSelection): likewise
13518 * text2.C (CreateUndo): likewise
13520 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13522 * minibuffer.C (peek_event): temporarily reduce the functionality
13523 of the minibuffer (to allow args on lfuns)
13525 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13526 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13528 * buffer.C (readInset): add compability reading of old float
13529 lists, add reading of new style float list.
13530 (readInset): avoid reevaluation of inscmd.getCmdName()
13531 (getLists): reindent
13533 * MenuBackend.C (MenuItem): implement parsing of
13534 md_floatlistinsert and md_floatinsert.
13535 (expand::LastFiles): move initalizaton of iterators out of loop,
13536 avoid reevaluation.
13537 (expand::Documents): introduce typdedef vector<string> Strings,
13539 (expand::ExportFormats): introduce typedef vector<Format const *>
13540 Formats, and use it.
13541 (expand): implement FloatListInsert and FloatInsert.
13543 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13544 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13545 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13547 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13549 (Dispatch::LFUN_FLOAT_LIST): implement
13551 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13553 * LaTeX.C (run): Fix problem with --export code.
13555 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13557 * BufferView.[Ch] (workarea): removed.
13558 (getClipboard) new method; wrapper for workarea()->getClipboard()
13560 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13563 * WorkArea.h (width, height, xpos, ypos): These methods all
13564 returned the dimensions of the work_area sub-area of WorkArea,
13565 resulting in a position error if the WorkArea were resized. Now
13566 return the dimensions of the entire WorkArea.
13568 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13570 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13572 * LaTeX.C (deplog): correct the syntax of regex reg1
13574 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13576 * undo.C: remove !NEW_INSETS cruft
13578 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13580 * text2.C: remove !NEW_INSETS cruft
13582 * text.C: remove !NEW_INSETS cruft
13584 * tabular.C: remove !NEW_INSETS cruft
13586 * spellchecker.C: remove !NEW_INSETS cruft
13588 * lyxtext.h: remove !NEW_INSETS cruft
13590 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13592 * lyxfunc.C: remove !NEW_INSETS cruft
13594 * lyxfind.C: remove !NEW_INSETS cruft
13596 * lyx_cb.C: remove !NEW_INSETS cruft
13598 * figureForm.C: remove !NEW_INSETS cruft
13600 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13602 * buffer.[Ch]: remove !NEW_INSETS cruft
13604 * ToolbarDefaults.C: remove !NEW_INSETS cruft
13606 * CutAndPaste.C: remove !NEW_INSETS cruft
13608 * BufferView_pimpl.C: remove !NEW_INSETS cruft
13610 * BufferView2.C: remove !NEW_INSETS cruft
13612 * BufferView.h: remove !NEW_INSETS cruft
13614 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13616 * Lsstream.h: include LString.h before the sstream headers to
13617 fix problem with gcc 2.95.3 and lyxstring
13619 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13621 * lyx_main.C: add using directives when needed for C functions
13622 declared in std:: namespace.
13624 2001-04-27 Juergen Vigna <jug@sad.it>
13626 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13627 (SetHeightOfRow): comment out the update call should not be needed!
13629 2001-04-13 Juergen Vigna <jug@sad.it>
13631 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13632 (LyXTabular): tried to minimize operator= operations (and realized
13633 hopfully Lars wish).
13635 2001-04-27 Juergen Vigna <jug@sad.it>
13637 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13639 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13641 * lyxfunc.C (Dispatch): hack to make listof algorithm work
13643 * buffer.C (readInset): hack to make listof algorithm work
13645 * BufferView_pimpl.C: hack to make listof algorithm work
13647 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13649 * LyXAction.C: removed all !NEW_INSETS cruft
13650 (init): moved lfun_item in method
13652 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13654 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13656 * BufferView2.C (theLockingInset): white space.
13658 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13660 * minibuffer.C: include <iostream>
13662 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13664 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13666 * commandtags.h: add LFUN_TRANSPOSE_CHARS
13668 * text.[Ch] (TransposeChars): new method
13670 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13672 * call message directly through LyXView instead of through LyXFunc
13673 * BufferView2.C: adjust
13674 * BufferView_pimpl.C: adjust
13675 * FontLoader.C: adjust
13677 * bufferview_funcs.C: adjust
13678 * converter.C: adjust
13679 * figureForm.C: adjust
13680 * importer.C: adjust
13682 * lyx_gui_misc.C: adjust
13683 * lyxfunc.C: adjust
13686 + more files in subdirs
13688 * lyxparagraph.h (size): move up int file
13691 * adjust all uses of Assert to lyx::Assert.
13693 * BufferView2.C (ChangeCitationsIfUnique): adjust for
13694 lyxfunctional in namespace lyx
13695 * layout.C (hasLayout): ditto
13698 (delete_layout): ditto
13699 (NumberOfClass): ditto
13700 * converter.C (GetFormat): ditto
13705 * bufferlist.C (getFileNames): ditto
13706 (emergencyWriteAll): ditto
13709 * MenuBackend.C (hasSubmenu): ditto
13712 * BufferView_pimpl.C (getInsetByCode): ditto
13714 2001-04-18 Juergen Vigna <jug@sad.it>
13716 * vspace.C (asLatexString): fixed the 100% problem.
13718 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13720 * lyxfunc.C (Dispatch):
13722 * minibuffer.h: add a few std:: qualifiers
13724 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13726 * minibuffer.[Ch]: reimplement so that commands is initiated and
13727 run from lyxfunc, simplified som handling, and made the completion
13728 and history code for complete. wip.
13730 * lyxfunc.C (processKeySym): call message
13731 (miniDispatch): new temporary method
13732 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13733 (LFUN_MESSAGE): implement
13734 (LFUN_MESSAGE_PUSH): implement
13735 (LFUN_MESSAGE_POP): implement
13736 (initMiniBuffer): the initial/defualt minibuffer message.
13738 * lyxfont.[Ch]: inline some more getters
13740 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13742 * lyx_gui_misc.[Ch] (WriteStatus): remove method
13744 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13745 (AutoSave): use LFUN_MESSAGE
13746 (Reconfigure): ditto
13748 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13750 * figureForm.C: use LFUN_MESSAGE
13752 * converter.C (runLaTeX): use LFUN_MESSAGE
13754 * bufferview_funcs.C: use LFUN_MESSAGE
13756 (changeDepth): ditto
13758 * bufferparams.h: use boost::
13760 * bufferlist.h: inherit privately from noncopyable
13762 * bufferlist.C (loadLyXFile): remove some commented code.
13764 * buffer.C (runChktex): use LFUN_MESSAGE
13766 * ShareContainer.h: inherit privately from noncopyable
13768 * ParagraphParameters.[hC] (depth): inline it.
13770 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13772 (message): new method
13773 (messagePush): ditto
13774 (messagePop): ditto
13775 (show): init minibuffer
13776 (showState): direct call
13778 * LaTeX.[Ch]: inherit privately from noncopyable
13779 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13780 instead of WriteStatus.
13782 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13784 * BufferView_pimpl.C (buffer): don't init minibuffer
13785 (workAreaButtonPress): use LFUN_MESSAGE
13786 (workAreaButtonRelease): ditto
13787 (savePosition): ditto
13788 (restorePosition): ditto
13789 (MenuInsertLyXFile): ditto
13790 (workAreaExpose): don't init minibuffer
13791 (update): remove commented code, simplify
13793 * BufferView2.C (openStuff): use LFUN_MESSAGE
13794 (toggleFloat): ditto
13797 (copyEnvironment): ditto
13798 (pasteEnvironment): ditto
13803 (updateInset): remove some commented code
13805 * lastfiles.h: inherit privately from noncopyable
13808 * lyx_main.h: ditto
13810 * lyxlex_pimpl.h: ditto
13812 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13813 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13814 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13816 * LyXAction.h: inherit privately from noncopyable, add methods
13817 func_begin, func_end, returning iterators to the func map.
13819 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13820 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13821 (func_begin): new method
13822 (func_end): new method
13824 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13826 (copySelection): ditto
13827 (pasteSelection): ditto
13829 * BufferView.C: whitespace change
13830 * BufferView.h: inherit privately from noncopyable
13832 2001-04-16 Allan Rae <rae@lyx.org>
13834 * tabular-old.C (l_getline):
13835 * spellchecker.C (sc_check_word):
13836 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13837 an unrecognised preprocessor directive. So ensure they're wrapped.
13839 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
13841 * src/exporter.C (Export): Give an error message when path to file
13844 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
13846 * LaTeX.C (deplog): Always check that foundfile exists.
13848 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13851 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13853 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13855 * tabular.[Ch] (getLabelList): implement new method
13857 * minibuffer.h: comment ouf setTiimer
13859 * minibuffer.C (ExecutingCB): constify res
13860 (peek_event): constify s
13861 (Set): constify ntext
13862 (Init): constify nicename
13864 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13866 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13867 (savePosition): use two params to Minibuffer::Set
13868 (restorePosition): ditto
13870 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13872 * lyx_main.C: include language.h
13874 * Makefile.am (lyx_main.o): add language.h
13876 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13882 * CutAndPaste.C: include gettext.h
13884 * lyxfont.h: remove old hack with ON and OFF.
13887 * lyxfont.h: do not include language.h...
13892 * bufferview_funcs.C:
13898 * paragraph.C: ... but do it here instead
13900 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13902 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13904 * tabular.C: small reformat
13906 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13909 (BreakParagraph): ditto
13910 (SetOnlyLayout): ditto
13913 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13916 * lastfiles.C: removed most using decl, add std:: where needed
13918 * buffer.C: ws changes
13920 * MenuBackend.C (class compare_format): put into anon namespace
13921 (expand): constify label, names, action, action2
13924 * text.C (SingleWidth): constify font
13925 (IsBoundary): constify rtl2
13926 (GetVisibleRow): constify ww
13928 * LaTeX.C (deplog): constify logfile
13930 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13932 (workAreaExpose): constify widthChange, heightChange
13934 * lyxrow.C (par): moved
13937 * lyxrow.h: as inlines here
13939 * lyxfont.h (shape): moved from lyxfont.C
13940 (emph): moved from lyxfont.C
13942 * lyxfont.C (LyXFont): use initialization list for all
13944 (shape): move to lyxfont.h as inline
13945 (emph): move to lyxfont.h as inline
13948 2001-04-04 Juergen Vigna <jug@sad.it>
13950 * vspace.C: had to include stdio.h for use of sscanf
13952 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
13955 * BufferView_pimpl.h: remove xforms cruft. Both classes are
13956 independent of xforms.
13958 2001-04-02 Juergen Vigna <jug@sad.it>
13960 * spellchecker.C: fixed namespace placing!
13962 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
13964 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13965 the LyXParagraph * is 0.
13967 2001-03-29 Juergen Vigna <jug@sad.it>
13969 * vspace.C: added support for %, c%, p%, l%.
13970 (stringFromUnit): added helper function.
13971 (asLatexString): changed to give right results for the %-values.
13973 * buffer.C: convert the widthp in a width%.
13975 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
13977 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13980 * figureForm.[Ch]: stripped the FD_from_figure manipulation
13981 code out of lux_cb.[Ch], ready for its (imminent?) removal.
13983 * lyx_cb.[Ch]: see above.
13985 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13989 * lyx.[Ch]: replaced by figure_form.[Ch].
13993 * lyxfunc.C: changed headers associated with above changes.
13995 2001-03-27 Juergen Vigna <jug@sad.it>
13997 * BufferView_pimpl.C: set the temporary cursor right!
13999 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
14001 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14003 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
14005 * LString.h: removed "using std::getline"!
14007 * BufferView_pimpl.C (Dispatch): changes due to changes in
14008 InsetInclude::Params.
14010 * buffer.C (tag_name): removed redundant break statements as they were
14011 producing lots of warnings with my compiler.
14013 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14015 * LString.h: add "using std::getline" when using the real <string>.
14017 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
14019 * buffer.C: removed bitset usage.
14020 PAR_TAG moved to an anonymous name space.
14021 (tag_name): new funtion, also in the anonymous namespace.
14022 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14023 (makeDocBookFile): clean code. Completed transition from string arrays
14025 (SimpleDocBookOnePar): code clean.
14027 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14029 * tabular.C: add some comments.
14031 2001-03-22 Juergen Vigna <jug@sad.it>
14033 * buffer.C (parseSingleLyXformat2Token): redone the minipage
14034 compatibility read a bit and fixed bug with minipage in different
14037 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
14039 * buffer.C (pop_tag): removed.
14040 (push_tag): removed.
14041 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14042 array replaced with vector. Added support for CDATA sections.
14043 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14045 (makeDocBookFile): XML conformant declaration of CDATA section,
14046 fixed bug related to <emphasis> in the first paragraph char.
14047 (sgmlOpenTag): exclude empty tags.
14048 (sgmlCloseTag): ditto.
14050 * buffer.h (pop_tag): removed.
14051 (push_tag): removed.
14053 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
14055 * language.h (Languages): added size_type and size().
14057 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14059 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14060 response on compability reading of minipages. One probliem is that
14061 the old usage of minipages was «flertydig»
14063 * several files here and in subdirs: don't use static at file
14064 scope use anon namespaces instead.
14066 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
14068 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14069 LaTeX output. This is necessary for Literate document
14072 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14074 * buffer.C: insert hfill when needed.
14076 * tabular.C (l_getline): use string::erase, small whitespace change.
14078 * BufferView_pimpl.C: try the anon namespace.
14079 * WorkArea.C: ditto
14081 2001-03-16 Juergen Vigna <jug@sad.it>
14083 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14084 otherwise it won't open options-dialogs.
14086 * buffer.C: honor pextraWidth(p) on converting minipages.
14088 * tabular.C (l_getline): changed the functions to strip trailing \r.
14090 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
14092 * BufferView_pimpl.C:
14093 * minibuffer..C: added "using SigC::slot" declaration.
14095 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14097 * lyxlex_pimpl.h: noncopyable is in namespace boost.
14103 * paragraph.C: ditto
14105 * lyxtext.h: NO_PEXTRA
14107 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14109 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14110 * ParameterStruct.h: ditto
14111 * ParagraphParameters.h: ditto
14112 * lyxparagraph.h: ditto
14114 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14116 * buffer.C: add compability for minipage alignment.
14117 (latexParagraphs): remove unwanted pextra check.
14119 * several files: remove CXX_WORKING_NAMESPACES
14121 * buffer.C (pop_tag): tie is in namespace boost
14123 * BufferView.h: noncopyable is in namespace boost
14125 * lyx_main.h: ditto
14128 * lastfiles.h: ditto
14129 * bufferlist.h: ditto
14130 * ShareContainer.h: ditto
14132 * LyXAction.h: ditto
14135 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14137 * Merging changes from BRANCH_MVC back into HEAD.
14139 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14141 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
14143 * BufferView_pimpl.C: change from intl.C
14147 * Makefile.am: move combox.*
14153 * intl.C: remove dialog (covered by prefs)
14155 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14157 * lyxfunc.C (Dispatch): removed redundant break statement.
14159 2001-03-14 Juergen Vigna <jug@sad.it>
14161 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14163 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14165 * buffer.C: add hack to fix compability reading of minipages.
14167 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
14169 * buffer.C (getLists): Cleanup.
14171 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14173 * lyxfont.C (update): don't honor toggleall on font size.
14175 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
14179 * Makefile.am: moved to frontends/xforms/
14183 * BufferView_pimpl.C: changes for moved mathpanel
14185 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14187 * gettext.h: fix gettext_init() in --disable-nls
14189 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14191 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14193 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
14196 * lyx.h: strip external form
14198 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14200 * BufferView_pimpl.C: add comment, destroySplash()
14202 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14204 * BufferView_pimpl.C:
14208 * lyxfunc.C: use re-worked insetinclude
14210 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14212 * buffer.C: add using std::stringstream.
14214 * lyx_cb.C: readd using std::ios.
14216 * buffer.C: add using std::map.
14218 * BufferView_pimpl.C: add using std::vector.
14220 * ShareContainer.h: add std:: to swap.
14222 * buffer.h: add some typedefs
14223 * buffer.C (getLists): use them
14224 (getLists): renamed from getTocList.
14225 add a counter for the different float types and use it in the
14227 (getLists): use the same counter for the NEW_INSETS and the "non"
14230 * lyx_cb.h: remove unused items, includes, using etc.
14232 * ShareContainer.h: remove some commented code, add more comments
14233 and "documentation".
14235 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14237 * buffer.C (getTocList): make the list also when NEW_INSETS is
14240 * buffer.h: remove TocType
14242 * buffer.C (getTocList): change to return a map<string,
14243 vector<TocItem> >, implement for dynamic number of list.
14245 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14246 * text2.C (PasteSelection): adjust
14247 * CutAndPaste.C (pasteSelection): adjust
14249 * FloatList.C (FloatList): update from the new_insets branch.
14250 * Floating.[Ch]: ditto
14251 * LaTeXFeatures.C: ditto
14253 * lyxlex_pimpl.C: ditto
14255 * paragraph.C (Last): remove when NEW_INSETS is defined.
14257 * other file: changes because of the above.
14259 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14261 * lyxparagraph.h: rename next to next_, previous to previous_,
14262 make them private for NEW_INSETS. Rename Next() to next(),
14263 Previous() to previous().
14265 * other files: changes because of the above.
14267 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
14270 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14273 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14275 * main.C (main): pass lyx_localedir to gettext_init().
14277 * gettext.h: remove locale_init and gettext_init macros
14279 * gettext.C (locale_init): new function
14280 (gettext_init): new function
14282 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14285 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
14287 * Moved credits to frontends:
14288 * credits.[Ch]: removed
14289 * credits_form.[Ch]: removed
14290 * lyx_gui_misc.C: remove credits stuff
14293 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14295 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14297 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14298 unneeded destructor.
14300 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14301 a standalone pointer again.
14303 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14305 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
14311 * ToolbarDefaults.C:
14320 * BufferView_pimpl.C: use new file dialog in GUII
14323 * lyx_cb.C: remove LayoutsCB to Toolbar
14325 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14327 * ShareContainer.h (get): add std:: qualifier
14329 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14331 * ShareContainer.h: define a proper ShareContainer::value_type
14332 type (and use typename to please compaq cxx)
14334 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14336 * lyxparagraph.h: move serveral local vars to
14337 ParameterStruct/ParagraphParameters., use ShareContainer in
14338 FontTable., make vars in FontTable private and add getter and
14341 * paragraph.C: changes because of the above.
14343 * lyxfont.h: remove copy constructor and copy assignment. (the
14344 default ones is ok), move number inside FontBits. move inlines to
14347 * lyxfont.C: add number to initializaton of statics, move several
14348 inlines here. constify several local vars. some whitespace
14349 cleanup. Dont hide outerscope variables.
14351 * Spacing.h: add two new constructors to match the set methods.
14353 * ShareContainer.h: new file, will perhaps be moved to support
14355 * ParameterStruct.h: new file
14357 * ParagraphParameters.h: new file
14359 * ParagraphParameters.C: new file
14361 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14362 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14364 * BufferView_pimpl.C: ParagraphParameter changes.
14365 * buffer.C: Likewise.
14366 * bufferview_funcs.C: Likewise.
14367 * text.C: Likewise.
14368 * text2.C: Likewise.
14370 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14372 * lyxfind.C (LyXReplace): do not redefine default argument in
14374 (IsStringInText): ditto
14375 (SearchForward): ditto
14376 (SearchBackward): ditto
14378 2001-03-06 Juergen Vigna <jug@sad.it>
14380 * lyxfind.C (IsStringInText): put parentes around expressions.
14382 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
14384 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14386 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
14388 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14390 * stl_string_fwd.h: add comment
14392 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14395 * tabular.C: remove unused DocBook methods
14401 killed DO_USE_DEFAULT_LANGUAGE
14403 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14405 * lyx_gui.C: do not include language.h.
14407 * bufferview_funcs.C (ToggleAndShow): do not provide optional
14408 arguments in function implementation.
14410 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14412 * BufferView_pimpl.C: add <ctime>
14414 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14416 * BufferView_pimpl.C: add using std::find_if
14418 2001-02-27 José Matos <jamatos@fep.up.pt>
14420 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14423 2001-02-11 José Matos <jamatos@fep.up.pt>
14425 * buffer.C (makeDocBookFile): command styles now have a parameter as
14426 "title" by default.
14428 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
14430 * layout_forms.[Ch]: removed
14431 * lyx_cb.[Ch]: out character
14432 * lyx_gui.C: out character
14433 * lyx_gui_misc.C: out character
14434 * bufferview_funcs.C: : out character,
14435 added toggleall as parameter in ToggleAndShow
14437 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
14439 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14441 * text2.C (SetCurrentFont): Disable number property at boundary.
14443 2001-02-26 Juergen Vigna <jug@sad.it>
14445 * lyxfunc.C (getStatus): added a string argument override function so
14446 that this is correctly called from LyXFunc::Dispatch if it contains a
14447 do_not_use_argument which is used!
14448 (Dispatch): added check for "custom" export and call appropriate func.
14450 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
14452 * lyxrc.C: Add language_command_local, language_use_babel and
14453 language_global_options.
14455 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14457 * buffer.C (makeLaTeXFile): Use language_use_babel and
14458 language_global_options.
14460 2001-02-23 Juergen Vigna <jug@sad.it>
14462 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14463 which works with LyXText and putted it inside BufferView. Here now we
14464 only call for that part the BufferView::Dispatch() function.
14466 * BufferView.C (Dispatch): added.
14468 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14469 functions which needs to use a LyXText over from LyXFunc.
14470 (MenuInsertLyXFile): added
14471 (getInsetByCode): added
14472 (moveCursorUpdate): added
14473 (static TEXT): added
14475 2001-02-22 Juergen Vigna <jug@sad.it>
14477 * BufferView_pimpl.C (update): call a status update to see if LyXText
14480 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14482 * vc-backend.C (revert): implement for CVS
14483 (getLog): implement for CVS
14485 2001-02-20 Juergen Vigna <jug@sad.it>
14487 * text2.C (ClearSelection): added BufferView param for inset_owner call
14489 * lyxfunc.C (TEXT): added this function and use it instead of
14490 directly owner->view()-text of getLyXText().
14492 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
14494 * src/layout_forms.C: out preamble
14495 * src/layout_forms.h: out preamble
14496 * src/lyx_cb.C: out preamble
14497 * src/lyx_cb.h: out preamble
14498 * src/lyx_gui.C: out preamble
14499 * src/lyx_gui_misc.C: out preamble
14500 * src/lyxfunc.C: connect with guii preamble
14502 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14504 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14506 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14508 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14509 whether to run bibtex.
14511 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14513 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14515 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14517 * Makefile.am (lyx_SOURCES): removed bibforms.h
14519 * vspace.h: doxygen
14521 * text.C (GetVisibleRow): make several local vars const
14523 * tabular.C: small cleanup.
14525 * lyxserver.C (callback): use compare instead of strncmp
14527 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14528 inlines to after class or to paragraph.C
14530 * lyxfont.h: remove friend operator!=
14532 * converter.h: move friend bool operator< to non friend and after
14535 * combox.h: small cleanup
14537 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14538 to inlines after class def.
14540 * buffer.C (pop_tag): use string operations instead of strcmp
14542 * bmtable.c: doxygen, small cleanup
14544 * LaTeX.h: remove friend operator==
14546 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14558 * BufferView_pimpl.C:
14559 * BufferView.[Ch]: remove cruft
14561 2001-02-14 Juergen Vigna <jug@sad.it>
14563 * lyxfunc.C: removed #if 0 unused code
14565 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14567 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14569 * text2.C (SetSelection): added a BufferView * parameter
14571 2001-02-13 Juergen Vigna <jug@sad.it>
14573 * lyxfunc.C (Dispatch): fixed protected blank problem.
14574 * BufferView2.C (protectedBlank): added LyxText * parameter.
14576 * tabular.C (AppendRow): forgot to set row_info of newly added row.
14577 (AppendColumn): same as above for column_info.
14579 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14580 (moveCursorUpdate): use a LyXText param for support of InsetText.
14582 * BufferView_pimpl.C (doubleClick): added support for InsetText.
14583 (tripleClick): ditto
14585 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14587 * BufferView_pimpl.C (update): added LyXText param to honor insets.
14589 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14591 * text2.C (SetSelection): set correct update status if inset_owner
14592 (ToggleFree): ditto
14594 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
14596 * tabular.C: remove some commented code.
14598 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
14600 * BufferView_pimpl.C: call hideSplash()
14602 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14605 * bibforms.h: remove
14608 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14609 add LFUN_CHILD_CREATE
14611 * counters.h: fix tiny typo
14616 * lyx.C: move splash to frontends/xforms/
14618 * lyx_gui_misc.C: move Include and Bibform to frontends
14620 * lyxvc.h: clarify comment
14622 * vspace.C: tiny housekeeping
14624 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
14626 * text.C (PrepareToPrint): RTL Fix.
14628 * paragraph.C (GetUChar): New method.
14629 (String): Use GetUChar.
14631 * buffer.C (asciiParagraph): Use GetUChar.
14633 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
14635 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14637 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
14640 * buffer.C: rename to getLogName(), handle
14641 build log / latex log nicely
14643 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14646 * MenuBackend.h: remove support for reference menuitem type.
14648 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
14650 * BufferView_pimpl.C: housekeeping
14651 * BufferView_pimpl.h:
14656 * minibuffer.h: move Timeout GUI-I
14658 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
14660 * lyxrc.C (read): Update converters data-structures.
14662 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
14664 * LaTeX.h (operator!=): add operator != for Aux_Info
14666 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
14668 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14670 * LaTeXLog.C: deleted, useful code moved to Buffer
14673 * buffer.C: new function getLatexLogName()
14679 * lyxfunc.C: use frontends for LaTeX and VC logs
14681 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14683 * LaTeX.h: yet another std:: that Allan forgot.
14685 * Variables.C (set): renamed from isset(), because this clashes
14686 with some HP-UX macros (grr).
14688 2001-02-06 Allan Rae <rae@lyx.org>
14690 * LaTeX.h: Another bug fix. Missing std:: this time.
14692 2001-02-04 Allan Rae <rae@lyx.org>
14694 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14695 floats problem. I've left it commented out because it's not quite
14696 correct. It should also test that the current object is a table or
14697 figure inset. But I haven't gotten around to figuring out how to do
14698 that. I *think* it'll be something like: "table" == inset.type()
14700 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14703 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
14705 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14706 all the citation/databases/styles in the auxilary file.
14707 (run): Rerun latex if there was a babel language error.
14709 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
14711 * text.C (Backspace): Preserve the font when changing newline char
14713 (BreakParagraph): If the cursor is before a space, delete the space.
14715 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14717 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
14719 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14720 new argument (code).
14721 (ChangeCitationsIfUnique): New method.
14723 * paragraph.C (GetPositionOfInset): Handle bibkey.
14725 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14727 * BufferView_pimpl.h: change type of Position::par_pos to
14728 LyXParagraph::size_type.
14730 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
14732 * BufferView_pimpl.C (savePosition, restorePosition): Write
14733 messages to minibuffer.
14735 2001-01-28 José Matos <jamatos@fep.up.pt>
14737 * buffer.C (makeDocBookFile): adds support for document language.
14738 A silly restriction on the name of LatexCommand types where removed.
14739 Added support for CDATA sections, allows to chars unescaped, used
14740 among others in code, to avoid escape < and >.
14742 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14744 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14745 saved positions instrad of a stack. Furthermore, a position is
14746 stored using paragraph id/paragraph position.
14748 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14749 Remove LFUN_REF_BACK.
14751 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14753 * converter.C (dvipdfm_options): New method.
14755 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
14757 * vspace.C (isValidLength): Fix for empty input string.
14759 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14761 * LyXAction.C (init): change description of LFUN_FIGURE to
14764 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14766 * LaTeX.C: add using directive
14768 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14770 * MenuBackend.C (expand): Fix the sorting of the formats.
14772 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
14774 * lyx_main.C: tiny error message fix
14776 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14778 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14779 calling fl_initialize(). This fixes the problem with ',' as
14780 decimal separator in text files.
14782 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14784 * trans.C (process): Fix the keymap bug.
14786 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
14788 * LaTeX.C (scanAuxFiles): New method. Provides support for
14789 multiple bibliographies (when using the bibtopic/bibunits pacakges).
14790 (scanLogFile) Scan for "run BibTeX" messages.
14792 * buffer.C (makeLaTeXFile): Do not load the ae package when using
14793 OT1 font encoding. Also, load the aecompl package if the ae
14796 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14798 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14800 * texrow.C (increasePos): turn two error messages into debug
14803 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
14805 * LaTeX.C (scanAux): Handle the \@input macro.
14806 (runBibTeX): Use scanAux().
14808 * language.C (latex_options_): New field.
14810 * LaTeXFeatures.C (getMacros): Add language macros.
14812 * buffer.C (makeLaTeXFile): Small fix.
14814 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14816 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14818 * text2.C: add a using directive.
14820 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
14825 * lyxfunc.C: kill LyXBell.
14827 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
14829 * text.C (IsBoundary): Remove the error message
14831 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14833 * lyxrc.C (setDefaults): Correct initialization value for
14836 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
14838 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14841 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14842 and GotoNextNote().
14844 * src/LyXAction.C: Added reference-next.
14846 * text.C (InsertChar): Use contains instead of strchr.
14848 * lyx_cb.C (MenuInsertLabel): Enable default value code.
14850 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
14852 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14853 alignment commands (when needed).
14855 * text.C (InsertChar): Add ':' to number separator chars.