2 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
4 * lyxtext.h: add FontIterator class
6 * text.C (FontIterator, operator*, operator->, operator++): add
7 (rowBreakPoint, setRowWidth): adjust (fixing a
10 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12 * BufferView_pimpl.C (workAreaDispatch): allow also
13 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
15 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
17 * text.C (rowBreakPoint): fix a bug showing with very large insets
19 2004-02-25 André Pönitz <poenitz@gmx.net>
22 * cursor.[Ch]: move some mathed specific code to mathed
24 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
26 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
27 use_tempdir in preferences
28 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
30 * lyx_main.C: ensure that tempdir is valid
31 * lyxlex.h: correct typo
32 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
33 * paragraph.[Ch] (isMultiLingual): make const
34 * cursor.[Ch] (openable): make const
36 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
38 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
40 2004-02-20 André Pönitz <poenitz@gmx.net>
42 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
44 * cursor.[Ch]: prepare for localized getStatus()
50 * text3.C: streamlines the LyXText cursor movement handlers a bit.
52 2004-02-20 André Pönitz <poenitz@gmx.net>
54 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
56 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
58 * text2.C (setCursorFromCoordinates): switch to absolute coords
61 * text3.C (dispatch): adjust
63 2004-02-16 André Pönitz <poenitz@gmx.net>
65 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
68 * cursor_slice.[Ch]: remove unneeded acessor function
70 * lyxtext.h: rename rtl() to isRTL()
78 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
80 * rowpainter.C (paintSelection): coord fix
82 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
84 * Spacing.C: compile fix
86 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
88 * cursor.C (dispatch): restore current_ before returning
90 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
92 * text2.C (cursorUp, cursorDown): fix coords
95 2004-02-12 André Pönitz <poenitz@gmx.net>
100 * text3.C: add LCursor & parameter to most cursor movement functions
101 remove usage of LyXText::cursorRow() and cursorPar()
103 * cursor.[Ch]: add textRow() needed members
106 * BufferView_pimpl.C:
109 * BufferView_pimpl.C: adjust
111 2004-02-11 André Pönitz <poenitz@gmx.net>
115 * BufferView_pimpl.C: shift undo/redo handling
117 * cursor.[Ch]: fix mathed crash
120 * lyxtext.h: move selectionAsText to LCursor
128 * rowpainter.C: fix excessive drawing
130 2004-02-06 André Pönitz <poenitz@gmx.net>
133 * BufferView_pimpl.[Ch]:
134 * text3.C: move some text specific LFUN handling
136 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
138 * text3.C (checkInsetHit): adjust coords
139 * text2.C (getColumnNearX): adjust coords
140 (edit): adjust coords
141 * text.C (getRowNearY): add two asserts
143 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
146 * format.C: add using std::distance to compile on gcc 2.95/stlport
148 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
150 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
152 2004-02-04 André Pönitz <poenitz@gmx.net>
154 * BufferView.[Ch] (insertInset):
155 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
160 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
162 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
163 on the default clause of the switch
164 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
165 wasn't catched by LCursor::dispatch
167 2004-02-03 André Pönitz <poenitz@gmx.net>
170 * cursor.[Ch]: some additional asserts
172 * undo.[Ch]: remove LyXText dependency in interface
176 * lyxtext.h (firstPar, lastPar): remove dead functions
181 * paragraph.[Ch]: adjust
183 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
185 * lyxfind.C (find): fix argument order in call to ::find
187 2004-02-02 André Pönitz <poenitz@gmx.net>
189 * cursor.[Ch]: remove direct access to anchor
191 * text.C: remove findText() hack
193 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
195 * iterators.[Ch] (lockPath): remove in favour of...
196 * BufferView.[Ch] (setCursor): this addition
197 * BufferView.C (putSelectionAt): adjust
198 * undo.C (performUndoOrRedo): adjust
199 * lyxfunc.C (dispatch): adjust
201 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
203 * iterators.C (lockPath): add a missing slice
204 * undo.C (performUndoOrRedo): remove redundant positioning code
206 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
208 * vc-backend.C (scanMaster): ";" -> ';'
210 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
212 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
215 * lyxtextclass.C (compare_name): rename to...
216 (LayoutNamesEqual): ...this
218 * lyxlex_pimpl.C (compare_tags): inherit from
219 std::binary_function, put back into anon namespace
221 * lyxfind.C (MatchString): inherig from std::binary_function
222 (findChange): use empty() istead of !size()
224 * format.C (FormatNamesEqual): new functor
231 * converter.C (compare_Converter): rename to...
232 (ConverterEqual): ...this, and fixup a bit.
233 (getConverter): use it, and make function const
234 (getNumber): use it, and make function const
238 * bufferlist.C: add using boost::bind
240 * MenuBackend.C (MenuNamesEqual): new functor
241 (hasMenu): use it, and make function const
242 (hasSubmenu): use nested bind to get rid of compare_memfun.
244 2004-01-30 André Pönitz <poenitz@gmx.net>
246 * BufferView_pimpl.C:
257 * text3.C: move some of the edit(x,y) handling to the insets
258 some coordinate changes.
260 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
262 * text.C: add using statements for std::advance and std::distance
264 * paragraph.C: add using statement for std::distance
266 * lyxfind.C: add using statement for std::advance
268 * cursor.C (region): remove std:: from swap
269 (openable): use nucleus in stead of operator->
271 * BufferView.C: add using statements for std::distance and std::swap
273 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
275 * iterators.C: Remove the pimple, move the needed structures to
276 the header file. Create accessor for the positions stack.
277 (asPosIterator): remove function
279 * PosIterator.C (PosIterator): move constructors to top of file
280 (PosIterator): reimplement the constructor taking a ParIterator in
282 (setFrom): new function
283 (operator!=): inline it
285 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
287 * lyxfind.C (replaceAll): use std::advance
289 * iterators.h: inherit from std::iterator.
291 * PosIterator.C (advance, distance): remove
292 * PosIterator.h: interit from std::iterator.
294 2004-01-26 André Pönitz <poenitz@gmx.net>
297 * BufferView_pimpl.[Ch]:
301 * bufferview_funcs.C:
312 * output_plaintext.C:
314 * paragraph_funcs.[Ch]:
315 * paragraph_pimpl.[Ch]:
321 * text3.C: more IU: dumps most of the rest of the mathcursor
322 implementation into cursor.[Ch]; "globalize" a bit of it.
324 2004-01-25 Angus Leeming <leeming@lyx.org>
326 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
328 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
330 * LaTeXFeatures.h: add nice_ and nice() const
331 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
333 2004-01-20 André Pönitz <poenitz@gmx.net>
336 * BufferView_pimpl.C:
338 * bufferview_funcs.C:
351 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
352 LCursor and mathcursor parts to LCursor and InsetBase.
354 2004-01-15 André Pönitz <poenitz@gmx.net>
356 * cursor_slice.[Ch]: add a few covienience functions
358 * funcrequest.[Ch]: remove BufferView * member
360 * BufferView_pimpl.C:
367 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
369 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
371 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
372 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
374 2004-01-13 André Pönitz <poenitz@gmx.net>
377 * lyxtext.h: hide cursor and selection anchor behind accessor function
380 * BufferView_pimpl.[Ch]:
382 * bufferview_funcs.C:
392 * cursor_slice.[Ch]: some integer type changes for inset unification
394 * lyxcursor.[hC]: remove, it's CursorSlice now.
397 * BufferView_pimpl.[Ch]:
398 * bufferview_funcs.C:
404 * textcursor.[Ch]: adjust
406 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
408 * text2.C (undoSpan): add and use
409 * text.C (breakParagraph): use undoSpan (fix bug 578)
412 2004-01-08 Angus Leeming <leeming@lyx.org>
414 * BufferView_pimpl.C (MenuInsertLyXFile):
415 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
416 * lyxfunc.C (menuNew, open, doImport):
417 FileFilterList change to the FileDialog open and save functions.
419 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
421 * ShareContainer.h: make isEqual and isUnique adaptable
423 * CutAndPaste.C: make resetOwnerAndChanges adaptable
425 2004-01-07 Angus Leeming <leeming@lyx.org>
428 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
430 * BufferView_pimpl.C (dispatch): act on these LFUNs.
432 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
433 functions replacing find, replace and replaceAll.
435 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
436 LFUN_WORDFIND(FORWARD|BACKWARD).
438 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
440 * text.C (breakParagraph): remove an outdated #warning
442 2004-01-07 André Pönitz <poenitz@gmx.net>
444 * lyxfind.C: somewhat clearer logic
446 * text.C: prevent crash in cursorX on unitialized row cache
448 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
450 * lyxcursor.[Ch] (operator>): add
451 * textcursor.C (selStart, selEnd): use std::min and std::max
453 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
455 * Chktex.C: include boost/format.hpp
457 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
459 * InsetList.C: replace functor MathcIt with adaptable functor
461 (insetIterator): modify accordingly
463 * BranchList.h: move the BranchNamesEqual functor here from...
464 * BranchList.C: ... to here
466 * BranchList.C: new BranchListEqual fuctor, use it. Remove
468 (add): replace a finding loop with std::find_if.
470 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
472 * output_docbook.C: moving LatexParam functionality into
475 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
477 * buffer.C: increment format to 229.
479 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
482 * lyx_sty.[Ch]: remove minipageindent_def
488 * text3.C: remove LFUN_INSET_MINIPAGE
490 2003-12-28 Angus Leeming <leeming@lyx.org>
492 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
494 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
496 * text2.C (setParagraph): fix off-by-one crash
498 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
500 * output_docbook.C: header stuff for AGU
502 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
504 * text2.C (redoCursor): remove
507 * BufferView_pimpl.C: remove calls to redoCursor and
508 setCursor(cursor.par(), cursor.pos()) all around
510 2003-12-15 Angus Leeming <leeming@lyx.org>
512 * buffer.C: up the format to 228.
514 2003-12-15 André Pönitz <poenitz@gmx.net>
516 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
521 * BufferView_pimpl.C:
530 2003-12-15 Angus Leeming <leeming@lyx.org>
532 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
533 than getFromGUIName to manipulate the color.
535 2003-12-14 Angus Leeming <leeming@lyx.org>
537 * BranchList.[Ch]: minimize the API.
538 (Branch::getBranch, getColor): now return a 'const &'.
539 (Branch::setSelected) now returns a bool set to true if the
540 selection status changes.
541 (BranchList::clear, size, getColor, setColor, setSelected,
542 allBranches, allSelected, separator): removed.
543 (BranchList::find): new functions, returning the Branch with
545 (BranchList::add, remove): return a bool indicating that
546 the operation was successful.
548 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
549 new InsetBranch::isBranchSlected member function.
551 * LColor.[Ch]: mimimize the API.
552 (fill): renamed as addColor and made private.
553 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
554 versions of these functions taking a string arg have been removed.
556 * bufferparams.C (readToken):
557 * lyxfunc.C (dispatch):
558 * lyxrc.C (read): changes due to the altered BranchList and
561 * factory.C (createInset, readInset): changes due to altered
564 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
567 * lyxfunc.C: remove insetminipage. "minipage-insert"
568 now produces a frameless minipage box inset.
570 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
572 * textcursor.[Ch] (selStart,selEnd): add new methods
573 remove selection::start, end, use LyXCursor::operator<
574 * lyxcursor.[Ch] (operator<): add
575 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
576 * BufferView.[Ch] (unsetXSel): add
577 * text2.C (clearSelection): use unsetXSel,adjust
580 * rowpainter.C: adjust
581 * bufferview_funcs.C (put_selection_at): adjust
583 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
585 * BufferView_pimpl.C: small coord. correction
587 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
589 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
590 dragging over the splash screen.
592 2003-12-11 Angus Leeming <leeming@lyx.org>
594 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
595 as it is now handled in LyXText::dispatch.
597 * text3.C (doInsertInset): remove a level of nesting.
599 2003-12-11 Angus Leeming <leeming@lyx.org>
601 * factory.C (createInset): changes due to the changed interface to
602 InsetCommandMailer::string2params.
604 2003-12-10 Angus Leeming <leeming@lyx.org>
606 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
607 'dialog-show-new-inset <inset name>'
609 2003-12-10 Angus Leeming <leeming@lyx.org>
611 * buffer.C: up the format to 227.
613 * factory.C: the box inset is now identified simply by 'Box'.
615 2003-12-10 Angus Leeming <leeming@lyx.org>
617 * buffer.C: up the format to 226.
619 * factory.C: the note inset is now identified simply by 'Note'.
621 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
623 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
624 when a pit is enough. Standarize a couple of loops.
626 2003-12-05 Angus Leeming <leeming@lyx.org>
628 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
629 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
630 data to the re-worked "log" dialog.
632 2003-12-03 André Pönitz <poenitz@gmx.net>
640 * text2.C: use Inset::getText instead of Inset::getParagraph
642 2003-12-03 André Pönitz <poenitz@gmx.net>
646 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
647 InsetText::read() as LyXText::read()
649 2003-12-02 Angus Leeming <leeming@lyx.org>
651 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
652 type. Add a comment in the implementation that the function uses
653 the stream's bad() function rather than fail() as the std::streams
656 2003-12-02 André Pönitz <poenitz@gmx.net>
658 * lyxlex.[Ch]: make interface more similar to std::stream
660 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
662 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
664 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
666 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
668 * vspace.[Ch]: remove VSpace::NONE
670 2003-12-01 André Pönitz <poenitz@gmx.net>
673 * lyxtext.h: move ParagraphList member to LyXText
674 rename LyXText::ownerParagraphs to LyXText::paragraph
677 * bufferview_funcs.C:
687 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
689 * undo.C: fix cursor positioning
691 2003-12-01 John Levon <levon@movementarian.org>
693 * BufferView_pimpl.C: fix a crash on exit with
696 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
698 * BranchList.C: fix setSelected() method.
700 2003-11-28 André Pönitz <poenitz@gmx.net>
702 * ParagraphParameters.[Ch]:
703 * ParameterStruct.h: remove space above/below from Paragraph to
706 * BufferView_pimpl.C:
718 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
720 * factory.C: Syntax change for CharStyles
722 2003-11-28 André Pönitz <poenitz@gmx.net>
727 * buffer.[Ch]: move LyXText member
729 2003-11-28 André Pönitz <poenitz@gmx.net>
731 * BufferView.[Ch]: make LyXText * text a private member
733 * BufferView_pimpl.C:
744 * output_plaintext.C: cleanup
746 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
749 * lyxtextclass.[Ch]: parametrize SGML document header
751 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
754 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
757 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
759 * text2.C (setFont): rework using PosIterator (no more recursive)
760 (setCharFont): no more needed
761 (setLayout): no more selection cursors fiddling (done by redoCursor)
762 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
763 destroy remaining ones)
765 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
767 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
769 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
772 * text3.C: adjust + re-allow multi par depth changes
773 * textcursor.C: simplify a bit
775 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
781 * src/output_docbook.C:
782 * src/output_latex.C:
787 * src/text2.C: Introducing a number of tags parametrizing various
788 XML formats that we may want to support
790 2003-11-25 André Pönitz <poenitz@gmx.net>
792 * InsetList.[Ch] (begein, end): inline as suggested by profiler
794 * lyxtext.h (leftMargin/rightMargin): simplify interface
801 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
803 * lyxfunc.C (dispatch): propogate the bibtex databases from the
804 master file to any child files. Fixes bug 546.
806 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
808 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
810 2003-11-24 André Pönitz <poenitz@gmx.net>
812 * rowpainter.C: simplification
814 * text2.C (updateCounters): remove call to redoParagraph on
815 changed labels as this is far too expensive.
817 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
819 * converter.C (convert): fix a crash: this function gets
820 called with buffer == 0 from importer code.
822 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
824 * text3.C (cursorPrevious): make sure that we do not compare
825 iterators form different containers.
828 * rowpainter.C (paintSelection): make sure that we do not compare
829 iterators from different containers.
831 * text3.C (dispatch): [PRIOR] make sure that we do not compare
832 iterators from different ParagraphList containers.
835 * text2.C (LyXText): change order of initialization slightly
836 (operator=): new function. copy all variables except cache_par_
837 (moveUp): make sure that we do not compare iterators from
838 different ParagraphList constainers.
841 * text.C (firstPar): new function
842 (lastPar): new function
843 (endPar): new function
845 * lyxtext.h: move things around and group public functions, public
846 variables, private functions, private variables
848 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
850 * factory.C: change call to InsetERT constructor to avoid
851 additional invocation of method status
852 * text2.C (toggleInset): remove redundant update() call
853 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
854 instead of a Bufferview pointer
856 2003-11-21 André Pönitz <poenitz@gmx.net>
858 * rowpainter.C: simplification
860 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
862 * text3.C (dispatch): make possible to extend a word/row selection
865 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
867 * lyxtext.h: x0_,y0_ -> xo_,yo_
868 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
869 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
870 * rowpainter.C (paintRows): paint full paragraphs
872 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
874 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
877 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
879 * lyxtext.h: add x0_, y0_
880 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
881 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
883 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
885 * text2.C (setCursorIntern): move the x_target update here *
886 * text3.C: change some bv() to true/false in calls to
887 cursorUp/Down/Right/Left
888 * cursor.C: use helper function.
890 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
892 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
893 * paragraph_funcs.[Ch]: correct comment
894 * rowpainter.C: do not paint selections away from bv->cursor()
895 Fix a long standing selection painting bug.
896 * text3.C: generalize mouse-selection code to LyXTexts other that
898 * textcursor.C: do not use y coords if we can use par offsets
900 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
902 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
903 cursor position after e.g. inset insert)
905 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
907 * lyxfind.C (replace): adjust to locking removal + some
910 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
912 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
915 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
918 * output_docbook.C: XML sanitation: new layout
919 parameters InnerTag and CommandDepth
921 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
923 * BufferView_pimpl.C:
925 * text3.C: Fix the insertion and modification of button-style
928 2003-11-13 André Pönitz <poenitz@gmx.net>
930 * InsetList.[Ch]: remove deleteLyXText
932 * paragraph.[Ch]: cache beginOfBody position
937 * text3.C: remove superfluous update() calls
941 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
943 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
944 * BufferView.C (fitLockedInsetCursor): remove
945 * cursor.[Ch] (getDim): add
946 * text.C (getRowNearY): add faster version
947 * text3.C: remove some update calls
949 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
961 * text3.C: The Character Style /XML short element patch.
963 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
966 * factory.C: Small step to solving 'unable to insert some insets'
969 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
971 * cursor.[Ch] (updatePos): new function for updating the y
972 position of the tip inset
973 * bufferview_funcs.C (put_selection_at):
974 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
976 2003-11-11 André Pönitz <poenitz@gmx.net>
978 * text.C: remove big comment on invalid Paragraph pointers as it is
981 2003-11-11 André Pönitz <poenitz@gmx.net>
983 * text_funcs.[Ch]: merge with ...
991 * Makefile.am: remove text_funcs.[Ch]
993 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
995 * cursor.C (getPos): return absolute cached y coord
997 * BufferView_pimpl.C (fitCursor): new simplistic code
998 (workAreaDispatch): add a fitCursor call
1000 2003-11-10 André Pönitz <poenitz@gmx.net>
1003 * BufferView_pimpl.[Ch]: merge update() and updateInset()
1005 2003-11-10 André Pönitz <poenitz@gmx.net>
1007 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1008 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1009 indicate that the cursor needs to leave an inset
1011 * lyxtext.h: remove inset locking
1013 * cursor.[Ch]: re-implement functionality provided by inset locking
1016 * BufferView_pimpl.[Ch]:
1018 * bufferview_funcs.[Ch]:
1030 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1032 * PosIterator.[Ch]: replace the stack with a vector, add inset
1034 * iterators.[C]: adjust
1036 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1038 * lyxfind.C (replaceAll): mark the buffer dirty if something was
1040 * paragraph_funcs.C (readParToken): put the correct id in the
1041 error item, not the id of the top paragraph
1043 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1045 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1046 * bufferview_funcs.C (put_selection_at): use the above
1048 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1050 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1052 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1054 * output_linuxdoc.h:
1055 * output_plaintext.h:
1057 * output_docbook.h: add #include statements
1059 2003-11-05 José Matos <jamatos@lyx.org>
1061 * output_docbook.[Ch]:
1062 * output_latex.[Ch]:
1063 * output_linuxdoc.[Ch]:
1064 * output_plaintext.[Ch]: New files for output formats.
1065 * output.[Ch]: New file for helper functions.
1068 * paragraph_funcs.[Ch]: output functions moved to new files.
1070 * outputparams.h: rename of latexrunparams.h
1078 * paragraph_funcs.[Ch]:
1079 * paragraph_pimpl.[Ch]:
1080 * tabular.[Ch]: rename ascii to plaintext
1081 and LatexRunParams to OutputParams.
1083 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1085 * iterators.[Ch] (text): require bv argument
1086 * undo.C (recordUndo):
1087 * lyxfunc.C (dispatch):
1088 * bufferview_funcs.C (put_selection_at): adjust
1090 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
1092 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1094 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1096 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1099 2003-11-04 André Pönitz <poenitz@gmx.net>
1101 * cursor.[Ch]: restructure
1104 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1106 * iterators.[Ch] (asCursor): remove
1108 * lfuns.h: remove LFUN_INSET_EDIT
1114 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1116 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1118 * lyxfind.[Ch]: complete overhaul
1119 * BufferView_pimpl.C:
1121 * paragraph.[Ch] (insert): add
1123 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1127 * text.C: remove dead spellcheck code
1129 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1131 * dispatchresult.h: add a val setter
1133 * cursor.C (dispatch): use a tempvar for data_[i]
1135 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1137 * PosIterator.[Ch]: compile fix
1139 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1141 * text.C (cursorPar): deactivate the cursor cache
1143 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1145 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1147 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1149 * text3.C (dispatch): adjust for new DisptchResult semantics.
1151 * lyxfunc.C (dispatch): handle update when return from
1152 Cursor::dispatch, adjust for new DispatchResult semantics.
1154 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1155 DispatchResult(true) mean to not update. Add class functions for
1156 setting dispatched and update, as well as reading.
1158 * cursor.C (dispatch): don't handle update here
1160 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1162 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1163 * trans_mgr.C: adjust
1165 * paragraph_funcs.C (readParToken): exception safety
1167 * lyxvc.h: store the vcs pointer in a scoped_ptr
1170 * lyxsocket.C (serverCallback): exception safety
1172 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1174 * ispell.C (clone): make it return a auto_ptr
1176 * factory.C (createInset): exception safety
1177 (readInset): exception safety
1179 * bufferlist.C (newBuffer): exception safety
1181 * Thesaurus.C (Thesaurus): use initialization for aik_
1183 * MenuBackend.C (expandToc): exception safety.
1185 2003-11-03 André Pönitz <poenitz@gmx.net>
1189 * bufferview_funcs.C: remove getInsetFromId()
1192 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1198 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1200 * PosIterator.C (distance, advance): new
1201 * bufferview_funcs.[Ch] (put_selection_at): new
1202 * iterators.[Ch] (lockPath): new
1204 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
1206 * iterators.[Ch] (asPosIterator): added
1207 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1208 * PosIterator.[Ch]: added
1210 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1214 * cursor.C (dispatch):
1215 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1217 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1218 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1219 contructor, add a class function dispatched. Remove operator>=
1221 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1223 * debug.C: only use the default constructor for debugstream
1226 * main.C (main): include debug.h and setup the lyxerr streambuf
1229 2003-10-31 José Matos <jamatos@lyx.org>
1231 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1233 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1234 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1235 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1236 * paragraph_pimpl.C (simpleTeXSpecialC):
1237 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1238 add LatexRunParams argument.
1240 * exporter.C (Export): change call accordingly.
1242 * latexrunparams.h: add new member to take care of the other backends.
1243 2003-10-30 José Matos <jamatos@lyx.org>
1245 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1246 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1247 factorise code for paragraph output.
1249 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1252 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1254 * text3.C (dispatch):
1255 * lyxfunc.C (dispatch):
1256 * cursor.C (dispatch):
1257 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1259 * dispatchresult.h: make the dispatch_result_t ctor explicit
1261 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1264 * buffer.C: small refactoring of docbook stuff
1266 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1268 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1271 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1273 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1274 operator dispatch_result_t, and operators for == != and >=
1276 * cursor.C (dispatch): adjust for operator dispatch_result_t
1277 removal. comment out call to update
1279 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1281 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1289 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1292 * dispatchresult.h: new file, DispatchResult broken out of
1295 * Makefile.am (lyx_SOURCES): add dispatchresult.h
1297 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1299 * text.C (rowBreakPoint): put a hack inside #if 0
1301 2003-10-28 André Pönitz <poenitz@gmx.net>
1305 * paragraph_funcs.C:
1308 * text2.C: general cleanup (lots of small stuff)
1310 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1312 * text2.C (cursorEnd): simple fix to the "end key goes to one
1313 before the end on last row" bug
1315 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1317 * text.C (backspace): fix the "zombie characters"
1319 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1321 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1323 2003-10-27 André Pönitz <poenitz@gmx.net>
1325 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1327 * factory.C: handle new InsetPagebreak, InsetLine
1329 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1330 and move handling into new InsetPagebreak, InsetLine
1332 * BufferView_pimpl.C:
1334 * ParagraphParameters.C:
1335 * ParameterStruct.h:
1340 * paragraph_funcs.C:
1341 * paragraph_pimpl.C:
1347 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1350 * lyxrow_funcs.[Ch]:
1356 * text3.C: remove lastPos uses in favour of Row::endpos
1358 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1360 * undo.C (performUndoOrRedo): fix two crashes by setting a
1361 cursor by hand and reordering some calls. Use bv->lockInset instead
1362 of inset->edit because the latter loses cursor information
1364 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
1366 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1368 (rowBreakPoint): fix width. change point to point + 1.
1369 Add a missing check.
1371 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
1374 * lyxfunc.C: fix (at least partly) the problems
1375 with the Nav menu and headers inside branch insets
1378 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
1380 * paragraph.C (getChar): add strong asserts
1382 * lyxrow_funcs.C (lastPos): remove hideous hack
1384 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1385 (fill): adjust to that (avoid an infinite loop)
1387 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1389 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1391 2003-10-23 André Pönitz <poenitz@gmx.net>
1393 * RowList_fwd.h: change list<> to vector<> to gain speed
1394 after suggestion from Alfredo
1396 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1398 * lyxtext.h: move the bidi stuff from here...
1401 * Bidi.[Ch]: ... to here
1403 2003-10-23 André Pönitz <poenitz@gmx.net>
1406 * text.C (isLastRow, isFirstRow): new functions
1408 * paragraph.h: new width cache member
1410 * rowpainter.C: replace RowList::iterator with Row & where possible
1412 * lyxfunc.C: replace several view()->text with a single call
1414 * toc.C: fix 'unused' warning
1416 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1418 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1419 when woring with stream::pos_type
1420 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1422 2003-10-22 André Pönitz <poenitz@gmx.net>
1425 * text.C: use Row & instead of RowList::iterator
1427 * lyxrow.h: rename end() to endpos()
1433 2003-10-22 Angus Leeming <leeming@lyx.org>
1435 * buffer.[Ch] (fully_loaded): new member function, returning true
1436 only when the file has been loaded fully.
1437 Used to prevent the premature generation of previews and by the
1438 citation inset to prevent computation of the natbib-style label.
1440 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1441 templates are all set up.
1443 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1445 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
1447 * text.C: fixed an "oops" in the "is a bit silly"
1450 2003-10-21 André Pönitz <poenitz@gmx.net>
1452 * FuncStatus.[Ch]: small stuff, whitespace
1454 * lyxfont.[Ch]: operator<<() for debug reasons
1458 * lyxtext.h: whitespace, spelling
1460 * paragraph.C: naming of variables
1463 * text2.C: small stuff
1466 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1468 * text.C: (1) finish off the inset display() work;
1469 (2) fix the "is a bit silly" bug (accessing char
1472 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1474 * text.C: re-introduce display() for insets, fixing the
1475 various bugs (stretch of line above, math inset
1478 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1480 * text.C (rightMargin): remove spurious semicolon
1482 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1485 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1487 * text3.C: fix one crash due to wrong cursor def
1489 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1491 * vc-backend.C (scanMaster): make the regex static
1493 * LaTeX.C (scanAuxFile): make the regexs static
1495 * text3.C (doInsertInset, dispatch, dispatch):
1496 * text2.C (cursorUp, cursorDown):
1497 * text.C (selectNextWordToSpellcheck):
1498 * BufferView_pimpl.C (dispatch):
1499 * lyxfunc.C (dispatch): localDispatch -> dispatch
1501 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1503 * lyxsocket.C: include <cerrno>
1505 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1507 * lyxfunc.C (dispatch): remove textcache stuff
1509 * bufferlist.C (release): remove textcache stuff
1512 * TextCache.C: delete file
1513 * TextCache.h: delete file
1515 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1517 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1518 delete of the bv_->text.
1519 (resizeCurrentBuffer): remove texcache stuff
1520 (workAreaResize): ditto
1522 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1524 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1527 2003-10-16 André Pönitz <poenitz@gmx.net>
1534 * text3.C: speed up by storing y positions per paragraph plus per-row
1535 offset instead of having a 'full' y position in the row.
1537 2003-10-15 André Pönitz <poenitz@gmx.net>
1541 * undo.[Ch]: make undo aware of inner insets
1543 2003-10-14 Angus Leeming <leeming@lyx.org>
1545 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1546 static member functions LyX::ref() and LyX::cref.
1547 (lastfiles): new accessor functions for the new lastfiles_ member var.
1548 (addLyXView, views_): add a new LyXView to the list of views_.
1549 (updateInset): loop over all LyXViews to call their own updateInset
1550 member function, returning a pointer to the Buffer owning the inset.
1552 * BufferView_pimpl.C (loadLyXFile):
1553 * MenuBackend.C (expandLastfiles):
1554 * bufferlist.C (MenuWrite, QuitLyX):
1555 lastfiles is no longer a global variable.
1556 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1558 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1559 static function. Access through LyX::cref().emergencyCleanup().
1561 2003-10-14 André Pönitz <poenitz@gmx.net>
1563 * iterators.[Ch]: new direct access to innermost LyXText and Inset
1565 * undo.[Ch]: restoring part of 'undo in insets'
1568 * undo_funcs.[Ch]: merge with undo.[Ch]
1570 * tabular.C: small cleansing stuff
1572 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
1574 * paragraph_funcs.C (readParToken): report unknown insets as error
1575 boxes. Use the outer paragraph as location (also for unknown
1578 * factory.C (readInset): do not abort on reading an unknown inset.
1579 Eat it and return 0.
1581 2003-10-13 Angus Leeming <leeming@lyx.org>
1583 * lyx_main.C (LyX): remove call to setDisplayTranslator().
1585 * lyxrc.C: displayTranslator is now a function,
1586 declared in GraphicsTypes.h.
1588 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1590 * format.C: new placeholder $$a to pass the socket address.
1592 * bufferlist.[Ch]: new function getBufferFromTmp.
1594 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1595 files in the temporary dir.
1597 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1599 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1601 * Makefile.am: add lyxsocket.[Ch].
1603 * lyx_main.C (error_handler): handle SIGPIPE.
1605 2003-10-13 André Pönitz <poenitz@gmx.net>
1607 * BufferView_pimpl.C:
1612 * undo_funcs.[Ch]: use paroffset_type instead of
1613 ParagraphList::iterators to prevent multiple conversion
1614 (and get a more robust interface)
1616 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1618 * lyxfunc.C (dispatch): RESULT -> dispatch_result
1620 * text3.C (dispatch): ditto
1622 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1624 * LaTeX.C (handleFoundFile): move the static to smaller scope,
1625 move the onlyfile, use onlyfile instead of foundfile in a couple
1628 * DepTable.C (update): flush the error stream a bit more
1630 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1632 * lyxserver.C (callback): adjust
1634 * lyxfunc.C (getStatus): add a missing brace in commented code
1635 (ensureBufferClean): reindent
1636 (dispatch): delete version taking a string
1638 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1640 * LaTeX.C (deplog): move found file handlig from here...
1641 (handleFoundFile): .. to new function here.
1642 (deplog): make sure to discover several files mentioned on the
1645 2003-10-10 André Pönitz <poenitz@gmx.net>
1652 * text3.C: fix some of the tabular crashes
1654 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1656 * MenuBackend.C (binding): put debug message into Debug::KBMAP
1658 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1660 2003-10-09 André Pönitz <poenitz@gmx.net>
1662 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1665 * BufferView_pimpl.C:
1666 * bufferview_funcs.C:
1677 * undo_funcs.C: adjust
1679 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1681 * text2.C (incrementItemDepth): new function, use a backtracking
1682 algorithm to discover the correct item depth.
1683 (resetEnumCounterIfNeeded): new function, use a backtracking
1684 algorithm to discover if counter reset is needed.
1685 (setCounter): use them. Simplify a bit. Add different labels for
1686 different item depths for itemize.
1688 * paragraph.C (Paragraph): remove initialization of enumdepth
1691 * paragraph.h: get rid of enumdepth, and use itemdepth both for
1692 enumerate and itemize. Change the type of itemdepth to signed char.
1694 2003-10-08 André Pönitz <poenitz@gmx.net>
1696 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1701 * tabular.[Ch]: fix crash after 'row-insert'
1703 2003-10-08 Angus Leeming <leeming@lyx.org>
1705 Fix doxygen warnings.
1707 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1708 Remove CutAndPaste:: prefix from header file declaration.
1710 * LColor.h (fill): remove LColor:: prefix from declaration.
1712 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1713 use lyx::depth_type rather than Paragraph::depth_type so that
1714 header file and .C file match.
1716 * converter.h (intToFormat): remove Converters:: prefix from declaration.
1718 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1719 * aspell.C: \file aspell_local.C -> \file aspell.C
1720 * gettext.C: \file gettext.C -> \file src/gettext.C
1721 * gettext.h: \file gettext.h -> \file src/gettext.h
1722 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1723 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1724 * text.C: \file text.C -> \file src/text.C
1726 * toc.C: move comment so that doxygen is not confused.
1728 2003-10-07 Angus Leeming <leeming@lyx.org>
1730 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1732 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1735 * aspell_local.h: add forgotten std::string's.
1737 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1744 * text3.C: The Box patch. Fancybox support, minipage, parbox
1746 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1752 * ParagraphParameters.h:
1762 * lyxtextclasslist.h:
1765 * paragraph_pimpl.C:
1766 * textcursor.h: add <string> and other small fixes to make Lars'
1767 std::string patch compile with STLport.
1769 2003-10-06 Angus Leeming <leeming@lyx.org>
1771 * LColor.h: Add missing #include <string>.
1773 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1775 * All most all file in all subdirs: Make <string> be the prefered
1776 way of getting to std::string, add using declarations.
1778 2003-10-06 André Pönitz <poenitz@gmx.net>
1780 * metricsinfo.C: initialize LyXFont before changing attribute.
1781 (fixes the 'math in \emph is upright' bug)
1783 2003-10-06 André Pönitz <poenitz@gmx.net>
1785 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1787 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
1790 * paragraph_pimpl.C: Small fixes to build using STLport
1792 2003-10-02 André Pönitz <poenitz@gmx.net>
1795 * text3.C: move handling of LFUN_DEPTH *; fix #1360
1797 2003-10-01 André Pönitz <poenitz@gmx.net>
1799 * factory.C: assert early
1801 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1803 * lyx_main.C: remove the global debug object
1805 * debug.h: adjust for new debugstream
1807 * debug.C: adjust for new debugstream and keep the global debug
1810 2003-09-22 Angus Leeming <leeming@lyx.org>
1812 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1813 of g++ which otherwise complain that the scoped_ptr destructor can't delete
1814 an incomplete class LyXFont.
1816 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1818 * factory.C: bug fix in branches
1820 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1822 * lyxfunc.C (processKeySym): adjust
1824 (dispatch): change arg name from ev to func, adjust
1825 (sendDispatchMessage): ditto
1827 * lyx_main.C (defaultKeyBindings): adjust keybindings
1828 (deadKeyBindings): ditto
1830 * kbsequence.C (addkey): return a FuncRequest
1832 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1834 * kbmap.C (bind): take a FuncRequest as arg, adjust
1837 (defkey): change to take a FuncRequest as arg, adjust
1838 (findbinding): take a FuncRequest as arg, adjust.
1840 * funcrequest.h (operator=): added
1842 * funcrequest.C (FuncRequest): default kb_action changed from
1843 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1845 * buffer.C (dispatch): simplify
1846 (dispatch): adjust to take a FuncRequest as arg, adjust
1848 * boost.C (assertion_failed): change assertion message slightly
1850 * ToolbarBackend.C (read): simplify
1852 * MenuBackend.C (binding): adjust call to findbinding, add a
1853 message if no binding is found.
1855 (expandToc): correct by adding a empty FuncRequest
1857 * LyXAction.C: include <boost/assert.hpp>
1858 (isPseudoAction): delete function
1859 (LookupFunc): change name to...
1860 (lookupFunc): this. change return type to FuncRequest.
1861 (getActionName): take kb_action as arg, simplify
1862 (funcHasFlag): add an assert, simplify.
1864 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1866 * toc.C (action): return a FuncRequest, simplify
1868 * lyxfunc.C (processKeySym): adjust
1869 (getStatus): delete version that takes an int.
1871 (dispatch): delete version that takes action as int
1873 (sendDispatchMessage): simplify and adjust
1875 * funcrequest.C (getArg): take unsigned int as arg
1877 * ToolbarBackend.C (read): adjust
1878 (add): delete version that takes func as a string.
1879 (getIton): take a FuncRequest as arg
1881 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1884 * MenuBackend.C (MenuItem): add a new construct that only takes a
1885 Kind, simplify the constructor use for submenus.
1887 (expandLastfiles): adjust
1888 (expandDocuments): adjust
1889 (expandFormats): adjust
1890 (expandFloatListInsert): adjust
1891 (expandFloatInsert): adjust
1892 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1894 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1895 Remove class variables lyx_pseudo_map and lyx_arg_map
1897 * LyXAction.C (searchActionArg): delete function
1898 (getPseudoAction): delete function
1899 (retrieveActionArg): delete function
1900 (LookupFunc): make it return kb_action, simplify.
1901 (getActionName): simplify
1903 * factory.C (createInset): fix new bug
1905 2003-09-19 Angus Leeming <leeming@lyx.org>
1907 * CutAndPaste.C (pasteSelection): remove fudge used to set the
1908 masterFilename_ parameter in the include inset.
1910 * factory.C (createInset): changes due to the changes to InsetInclude.
1912 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1914 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1916 2003-09-18 Angus Leeming <leeming@lyx.org>
1919 * BufferView.C: pass the buffer when calling Inset::getLabelList,
1920 Inset::fillWithBibKeys.
1921 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1923 2003-09-18 Angus Leeming <leeming@lyx.org>
1925 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1927 (ctor): pass and store a 'Buffer const &'
1928 (buffer): new member function.
1930 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1931 '*this' to the LaTeXFeatures ctor.
1933 2003-09-18 Angus Leeming <leeming@lyx.org>
1939 * text.C: rename EnumLColor as LColor_color.
1941 2003-09-18 Angus Leeming <leeming@lyx.org>
1943 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1944 remove #include "insets/insetbase.h" from cursor.h.
1946 2003-09-18 Angus Leeming <leeming@lyx.org>
1948 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1949 InsetOld_code to remove #include "inset.h".
1951 * iterators.C: add #include "insets/inset.h"
1953 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
1955 * BufferView.C: remove more locking stuff that apparently doesn't
1956 do anything sensible.
1958 2003-09-16 André Pönitz <poenitz@gmx.net>
1961 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1964 2003-09-16 Angus Leeming <leeming@lyx.org>
1966 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1968 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1971 * paragraph.h: remove #include "lyxfont.h". Forward declare
1974 2003-09-16 Angus Leeming <leeming@lyx.org>
1976 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1977 of support/textutils.h.
1978 (isWord): move the contents of support/textutils.h's IsWordChar here.
1984 * text2.C: add #include "paragraph.h".
1987 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1989 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1995 * LaTeX.C: use namespace alias for lyx::support::os
1997 2003-09-16 Angus Leeming <leeming@lyx.org>
2000 * bufferview_funcs.C:
2003 * paragraph_pimpl.C:
2005 * text.C: add #include "LColor.h".
2007 2003-09-16 Angus Leeming <leeming@lyx.org>
2009 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2010 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2012 Store the FontBits::color variable as an int rather than as an
2013 LColor::colorso that we can move LColor.h out of the lyxfont.h header
2016 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2017 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2018 string calls together.
2020 * lyxrc.C: add #include "LColor.h".
2022 2003-09-15 Angus Leeming <leeming@lyx.org>
2024 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2027 2003-09-15 Angus Leeming <leeming@lyx.org>
2029 * LColor.h: add an EnumLColor wrapper for LColor::color.
2031 * lyxfont.[Ch] (color, setColor, realColor):
2032 * lyxtext.h, text.C (backgroundColor):
2033 pass EnumLColor args to/from the functions, rather than LColor::color
2037 * lyxtext.h: forward declare EnumLColor.
2039 * lyx_main.C: add #include "LColor.h".
2041 2003-09-15 Angus Leeming <leeming@lyx.org>
2043 * .cvsignore: add lyx-gtk.
2045 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2050 * ParagraphParameters.C
2054 * bufferview_funcs.C
2064 * vc-backend.C: remove usage of STRCONV
2066 2003-09-15 Angus Leeming <leeming@lyx.org>
2068 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2069 explicitly define the color passed to the painter.
2071 2003-09-15 Angus Leeming <leeming@lyx.org>
2073 * bufferparams.C (BufferParams): reorder member initializers to avoid
2076 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
2078 * CutAndPaste.C (pasteSelection): remove an outdated #warning
2079 * text.C (updateRowPositions): remove an unusual nop
2081 2003-09-12 André Pönitz <poenitz@gmx.net>
2083 * BufferView_pimpl.C:
2092 * Counters.[Ch]: finish the 'automatic counters' job
2094 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2096 * aspell.C: include <boost/assert.cpp> (compile fix)
2098 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2100 * boost.C (assertion_failed): use lyx::support::abort instead of
2103 2003-09-10 Angus Leeming <leeming@lyx.org>
2105 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2106 with their _fwd progeny.
2108 2003-09-09 Angus Leeming <leeming@lyx.org>
2110 134 files throughtout the source tree: replace 'using namespace abc;'
2111 directives with the appropriate 'using abc::xyz;' declarations.
2113 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2115 * boost.C (emergencyCleanup): moved here from LAssert.c
2116 (assertion_failed): new function, called by BOOST_ASSERT
2118 * several files: change Assert to BOOST_ASSERT
2120 2003-09-09 Angus Leeming <leeming@lyx.org>
2122 * buffer.[Ch]: Add an Impl class and move Buffer's member
2123 variables into it. As a result move several header files out of
2126 Add header files to lots of .C files all over the tree as a result.
2128 2003-09-09 Angus Leeming <leeming@lyx.org>
2130 * buffer.[Ch]: make Buffer's member variables private. Add
2133 Lots of changes all over the tree as a result.
2135 2003-09-08 Angus Leeming <leeming@lyx.org>
2137 * graph.C: #include <config.h>.
2139 2003-09-08 Angus Leeming <leeming@lyx.org>
2143 * BufferView_pimpl.C:
2172 * toc.C: remove redundant using directives.
2174 2003-09-07 Angus Leeming <leeming@lyx.org>
2176 * LaTeXFeatures.h: remove #include "support/types.h".
2177 * ToolbarBackend.h: remove #include <algorithm>.
2178 * changes.h: remove #include <ctime>.
2179 * debug.h: remove #include <iosfwd>.
2180 * graph.h: remove #include "support/std_string.h".
2181 * lyx_main.h: remove #include <csignal>.
2182 * lyxlex_pimpl.h: remove #include <fstream>.
2183 * sgml.h: remove #include <algorithm>, <utility>.
2184 * toc.h: remove #include "support/std_ostream.h".
2185 Add #include <iosfwd>.
2187 2003-09-07 Angus Leeming <leeming@lyx.org>
2189 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2191 * converter.h: forward declare LatexRunParams.
2192 * encoding.h: remove #include "lyxrc.h".
2193 * lyxtext.h: remove #include "LColor.h".
2194 * lyxtextclass.h: remove #include "support/types.h".
2195 * trans.h: remove #include "tex-accent.h".
2196 * trans_mgr.h: remove #include "tex-accent.h".
2197 * insets/inset.h: remove #include "support/types.h", <vector>.
2198 * insets/insetcollapsable.h: remove #include "LColor.h".
2199 * insets/insetinclude.h: remove #include "dimension.h".
2200 * insets/insetlatexaccent.h: remove #include "dimension.h".
2201 * insets/insetoptarg.h:: remove #include "insettext.h".
2202 * insets/insettext.h: remove #include "dimension.h",
2203 <boost/shared_ptr.hpp>
2205 * insets/renderers.h: add #include "dimension.h".
2206 * insets/updatableinset.h: add #include "support/types.h".
2208 * many .C files: Associated changes.
2210 2003-09-06 Angus Leeming <leeming@lyx.org>
2212 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2213 one, inside testInvariant.
2215 * PrinterParams.C: new file.
2216 * PrinterParams.[Ch]: move the function bodies out of line.
2218 2003-09-06 Angus Leeming <leeming@lyx.org>
2220 * ParagraphParameters.h: forward declare ParameterStruct rather than
2221 including its header file.
2222 (depth): moved out-of-line.
2224 2003-09-06 Angus Leeming <leeming@lyx.org>
2226 * BufferView_pimpl.h:
2229 * lyxfunc.h: forward declare LyXKeySym rather than
2230 #include "frontends/LyXKeySym.h".
2232 * BufferView_pimpl.C:
2235 * lyxfunc.C: associated changes.
2237 2003-09-06 Angus Leeming <leeming@lyx.org>
2239 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2240 As a result, can remove the #include "insets/inset.h" from BufferView.h
2242 2003-09-06 Angus Leeming <leeming@lyx.org>
2244 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2245 As a result, can remove the #include "insets/inset.h" from BufferView.h
2247 2003-09-06 Angus Leeming <leeming@lyx.org>
2253 * bufferview_funcs.C:
2254 * BufferView_pimpl.C:
2259 * ParagraphParameters.C:
2264 * frontends/controllers/ControlDocument.C:
2265 * insets/insetcaption.C: rearrange the #includes into some sort of
2268 * buffer.h: remove #includes ErrorList.h, undo.h
2270 2003-09-06 Angus Leeming <leeming@lyx.org>
2272 * support/types.h: add a 'depth_type' typedef, used to store the
2273 nesting depth of a paragraph.
2276 * ParameterStruct.h: use this lyx::depth_type typedef rather than
2277 defining explicitly.
2280 * paragraph_funcs.h:
2281 * ParagraphParameters.h:
2282 * sgml.h: use lyx::depth_type rather than Paragraph or
2283 ParameterStruct's depth_type.
2286 * paragraph_funcs.h: no need to #include paragraph.h anymore.
2289 * BufferView_pimpl.C:
2291 * ParagraphParameters.C:
2294 * bufferview_funcs.C:
2301 * frontends/LyXView.C:
2302 * frontends/controllers/ControlDocument.C:
2303 * frontends/controllers/ControlErrorList.C:
2304 * insets/insetbibitem.C:
2305 * insets/insetbranch.C:
2306 * insets/insetcaption.C:
2307 * insets/insetcollapsable.C:
2308 * insets/insetenv.C:
2309 * insets/insetert.C:
2310 * insets/insetfloat.C:
2311 * insets/insetfoot.C:
2312 * insets/insetfootlike.C:
2313 * insets/insetnewline.C:
2314 * insets/insetquotes.C:
2315 * insets/insettabular.C:
2316 * insets/insettext.C:
2317 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2319 * frontends/controllers/ControlChanges.C: #include "changes.h".
2321 2003-09-06 Angus Leeming <leeming@lyx.org>
2323 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2324 than #including paragraph.h.
2327 * RowList.h: deleted. Superfluous.
2337 * insets/insettext.h: use ParagraphList_fwd.h rather than
2340 * paragraph.h: don't forward declare ParagraphList.
2343 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2344 rather than ParagraphList.h. paragraph.h is still needed for the
2345 Paragraph::depth_type parameters.
2347 * textcursor.h: enable it to compile stand-alone in light of the
2350 * bufferview_funcs.C:
2362 * frontends/controllers/ControlParagraph.C:
2363 * frontends/controllers/ControlTabular.C:
2364 * insets/insetmarginal.C:
2365 * insets/insetminipage.C:
2366 * insets/insetnote.C:
2367 * insets/insetoptarg.C: add header files needed to compile again.
2369 2003-09-06 Angus Leeming <leeming@lyx.org>
2371 * RowList_fwd.h: new file, forward-declaring Row rather than
2372 #including lyxrow.h.
2377 * insets/insettext.h: use it instead of RowList.h
2379 * bufferview_funcs.C:
2386 * text3.C: #include "RowList.h".
2388 2003-09-05 Angus Leeming <leeming@lyx.org>
2390 * factory.C (createInset):
2391 * vspace.C (c-tor): replace sscanf call with an istringstream.
2392 * ispell.C: re-add missing HP/UX headers.
2393 * lyxserver.C: re-add missing os2 headers.
2395 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
2404 * text3.C: re-add missing system headers, needed for 2.95.2.
2406 2003-09-05 Angus Leeming <leeming@lyx.org>
2408 Changes most place everywhere due to the removal of using directives
2409 from support/std_sstream.h.
2411 2003-09-05 Angus Leeming <leeming@lyx.org>
2413 Replace LString.h with support/std_string.h,
2414 Lsstream.h with support/std_sstream.h,
2415 support/LIstream.h with support/std_istream.h,
2416 support/LOstream.h with support/std_ostream.h.
2418 Changes resulting throughout the tree.
2420 2003-09-05 Angus Leeming <leeming@lyx.org>
2422 * sgml.h: ensure that the header file can be compiled stand-alone.
2423 * *.C: strip out redundant #includes. (320 in total.)
2425 2003-09-04 Angus Leeming <leeming@lyx.org>
2427 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2428 here (from getPackages).
2430 * debug.[Ch]: add a new EXTERNAL tag.
2432 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2434 * text2.C (cursorEnd): simplify
2436 (getColumnNearX): adjust
2438 * text.C (computeBidiTables): adjust
2441 * rowpainter.C (paintChars): adjust
2442 (paintSelection): adjust
2443 (paintChangeBar): adjust
2446 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2448 (numberOfSeparators): adjust
2450 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2456 * text3.C: Restricts the mouse click functionality
2457 of insets like bibtex, include, toc and floatlist to the visible
2458 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2459 up the dialogs. Cursor has to be in front of the inset (i.e.
2460 start of row) for this to function.
2462 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2464 * bufferview_funcs.C (currentState): output row information
2466 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2468 * bufferview_funcs.C (currentState): output paragraph position
2470 2003-09-04 Angus Leeming <leeming@lyx.org>
2472 * FloatList.h: move out #include "Floating.h".
2473 * LaTeX.h: move out #include "DepTable.h".
2474 * LyXAction.h: move out #include "funcrequest.h".
2475 * buffer.h: move out #include "author.h", "iterators.h".
2476 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2477 * lyx_main.h: move out #include "errorlist.h".
2478 * lyxfunc.h: move out #include "FuncStatus.h".
2479 * lyxtext: move out #include "lyxcursor.h".
2480 * paragraph_pimpl.h: move out #include "counters.h".
2482 2003-09-03 Angus Leeming <leeming@lyx.org>
2484 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2485 preamble_snippets list, enabling us to add snippets to the preamble
2486 only if the snippet was not there already.
2488 2003-09-04 Angus Leeming <leeming@lyx.org>
2490 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2492 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2494 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2497 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2499 * BranchList.C: point fix, earlier forgotten
2501 2003-09-02 Angus Leeming <leeming@lyx.org>
2503 * box.C (contains): renamed from 'contained' after a fantastic
2506 2003-09-02 John Levon <levon@movementarian.org>
2512 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2514 2003-09-02 John Levon <levon@movementarian.org>
2516 * text2.C: simplification of cursorEnd(), including partial
2519 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2521 * buffer.C (readFile): add a space
2523 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
2525 * BufferView_pimpl.C (update): remove bogus fitCursor() call
2527 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2529 * buffer.C (readFile): new function, take a filename and a
2530 ParagraphList::iterator
2532 (readFile): adjust, make it private. don't use setStream, make
2533 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2534 always contain the filename.
2536 * BufferView.C (insertLyXFile): simplify and make it work for
2539 2003-08-30 John Levon <levon@movementarian.org>
2541 * Makefile.am: fix dist (from Kayvan)
2543 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2545 * most files: change to use const Buffer refs
2547 2003-08-27 André Pönitz <poenitz@gmx.net>
2549 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2550 on top of ownerPar().
2552 2003-08-27 John Levon <levon@movementarian.org>
2554 * funcrequest.C: properly initialise POD members
2556 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2558 * lyxtext.h (top_y): move top_y from here
2563 * BufferView_pimpl.[Ch]: to here
2564 * frontends/screen.C:
2565 * insets/insettabular.C:
2566 * insets/insettext.C: adjust
2567 * rowpainter.[Ch] (paintRows): remove LyXText & argument
2569 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2572 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2574 2003-08-26 André Pönitz <poenitz@gmx.net>
2576 * paragraph_func.[Ch] (outerPar): new function
2579 * paragraph_funcs.C:
2580 * paragraph_funcs.h:
2581 * paragraph_pimpl.C:
2582 * text2.C: remove Inset::par_owner
2584 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2589 * text2.C: eliminates the needFullRow/display() stuff
2590 altogether, putting the logic in metrics/draw in the insets.
2592 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
2594 * text2.C (redoParagraphInternal, redoParagraphs):
2595 * text.C (redoParagraph): add a call to updateRowPositions at the
2596 end of each 'metrics-like' call. Remove all others.
2597 (getRow): remove the 'y-computing' version.
2598 (getRowNearY): do not compute nor return the real y. Solve the
2599 'y < 0' problem and simplify.
2601 2003-08-22 Angus Leeming <leeming@lyx.org>
2603 * *.[Ch]: clean-up of licence and author blurbs.
2604 Also move config.h out of a few .h files and into a few .C files.
2606 2003-08-22 André Pönitz <poenitz@gmx.net>
2608 * lyxrow.[Ch]: add x_ and *fill_ members
2613 * text2.C: adjust/remove prepareToPrint() calls
2615 2003-08-22 André Pönitz <poenitz@gmx.net>
2617 * lyxrow.[Ch]: add end_ member
2619 * lyxrow_funcs.C: use LyXRow::end_
2621 * lyxtext.h (singleWidth): add LyXFont parameter
2624 * text2.C: adjust LyXText::singleWidth() calls
2626 * text.C (redoParagraph): simplify row breaking logic
2629 2003-08-19 André Pönitz <poenitz@gmx.net>
2631 * funcrequest.C: initialize button_ member
2634 * rowpainter.[Ch]: interface consolidation
2636 2003-08-18 André Pönitz <poenitz@gmx.net>
2639 * BufferView_pimpl.C:
2641 * paragraph_funcs.C:
2643 * text3.C: remove LyXScreen::draw() and fitCursor calls
2645 * BranchList.h: remove spurious semicolons
2647 * MenuBackend.C: fix branchlist related crash
2649 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2657 * bufferparams.[Ch]:
2661 * text3.C: implements the 'branch inset'
2662 idea. This allows the output of various versions of a document
2663 from a single source version, selectively outputing or suppressing
2664 output of parts of the text.
2665 This implementation contains a 'branch list editor' in a separate
2666 tab of the document settings dialog. Branches are user definable
2667 and have a "display colour" to distinguish them on-screen.
2669 ColorHandler was somewhat cleaned up.
2670 (1) make possible a dynamically growing LColor list by allowing
2671 the graphic context cache to grow along (vector);
2672 (2) eliminate an IMHO unnecessary step in colour allocation.
2674 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
2676 * BufferView_pimpl.C: compile fix
2678 2003-08-15 André Pönitz <poenitz@gmx.net>
2680 * rowpainter.C: remove extra metrics calls
2682 * lyxtext.h: merge the two constructors into a single one,
2683 pass reference to owner's par list
2685 * BufferView_pimpl.C:
2689 2003-08-15 André Pönitz <poenitz@gmx.net>
2691 * lyxrow_funcs.[Ch]:
2694 * paragraph_funcs.C:
2699 * text_funcs.C: split LyXText::rowlist_ into individual
2700 Paragraph::rows_ chunks
2703 * BufferView_pimpl.[Ch]:
2706 * text3.C: remove toggleSelection()
2708 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2710 * bufferlist.C: beautify two alerts (shorter text of buttons)
2711 * buffer.C: Remove redundant ' ' from message
2713 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2714 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2715 rename VALIGN_CENTER to VALIGN_MIDDLE
2717 2003-08-11 André Pönitz <poenitz@gmx.net>
2719 * lyxtext.h (getPar):
2720 * text.C: new function
2722 2003-08-11 André Pönitz <poenitz@gmx.net>
2725 * tracer.[Ch]: remove unneeded files
2727 * InsetList.[Ch]: remove resizeInsetsLyXText()
2732 * text3.C: merge insertParagraphs() and appendParagraph()
2733 remove breakAgain(), update()
2735 * BufferView_pimpl.[Ch]:
2736 * bufferview_funcs.[Ch]:
2740 * tabular.C: adjust after text & InsetList changes.
2742 2003-08-08 André Pönitz <poenitz@gmx.net>
2744 * text.C (insertChar, backspace): replace rowlist fiddling
2745 with rebreak of full par
2748 * text.C (breakAgainOneRow, redoHeightOfParagraph,
2749 checkParagraph, updateInset): removed
2751 2003-08-07 André Pönitz <poenitz@gmx.net>
2754 * text3.C: merge some LFUN handlers, remove dead code
2756 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2758 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2760 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
2762 * text2.C (DEPM): fix part of bug 1255 and 1256
2764 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2766 * BufferView_pimpl.C (workAreaDispatch): change to use
2767 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2768 that are no mouse related.
2770 2003-08-05 André Pönitz <poenitz@gmx.net>
2773 * BufferView_pimpl.[Ch]:
2774 * bufferview_funcs.C:
2776 * text3.C: rip out "deep update"
2778 * textcursor.[Ch] (last_sel_cursor): remove unused member
2780 2003-08-04 André Pönitz <poenitz@gmx.net>
2783 * BufferView_pimpl.[Ch]:
2784 * ParagraphParameters.C:
2785 * bufferview_funcs.C:
2791 * text3.C: replace "complicated" BufferView::update(...) calls with
2794 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2796 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
2798 * Makefile.am (lyx_SOURCES): add paper.h
2800 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2802 * Makefile.am: move things around so that both lyx-qt and
2803 lyx-xforms can be built (according to --with-frontend). Then lyx
2804 is a symbolic link to lyx-[firstfrontend]
2806 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2808 * Always use std::endl with lyxerr
2810 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
2812 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2814 2003-08-01 André Pönitz <poenitz@gmx.net>
2817 * BufferView_pimpl.[Ch]:
2819 * text3.C: merge BufferView::repaint() and BufferView::update()
2821 2003-08-01 José Matos <jamatos@lyx.org>
2823 * buffer.[Ch]: file_format is no longer a buffer data element.
2825 2003-08-01 André Pönitz <poenitz@gmx.net>
2830 * text2.C: make redoParagraph more independent of current cursor
2832 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2834 * text2.C: remove unneeded members
2836 2003-07-30 André Pönitz <poenitz@gmx.net>
2838 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2840 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2841 create a single function...
2843 * paragraph_funcs.C (moveItem): ... here.
2846 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2848 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2850 * LColor.[Ch]: Add comment and greyedout logical colors.
2852 2003-07-30 André Pönitz <poenitz@gmx.net>
2854 * tabular.C: don't use Assert too heavily. This crashes where it
2857 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
2859 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2860 is disabled (bug 1232)
2862 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2864 * factory.C: limited 'arg' scope
2866 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2868 * factory.C: fixed Note submenu issues
2870 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2872 * factory.C: submenu for Note/Comment/Greyedout
2874 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
2877 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2879 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2882 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2883 greyedout. Patch provided by Jürgen Spitzmüller.
2885 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2887 * kbmap.C (read): fix error message when reading bind files
2889 2003-07-29 Angus Leeming <leeming@lyx.org>
2891 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2892 certainly does not do what it purports to do. I am doing it, and
2893 us, a favour by killing it.
2895 2003-07-28 José Matos <jamatos@lyx.org>
2897 * buffer.C (readBody, do_writeFile):
2898 * paragraph.C(readParagraph): \end_document replaces \the_end.
2900 2003-07-29 André Pönitz <poenitz@gmx.net>
2903 * BufferView_pimpl.[Ch]:
2907 * textcursor.[Ch]: remove toggleToggle & Co
2909 2003-07-28 José Matos <jamatos@fep.up.pt>
2911 * buffer.C (readParagraph):
2912 * params_func (readParToken, readParagraph):
2913 * paragraph.C (write): \layout -> \begin_layout.
2915 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2917 * lyxlex_pimpl.C (setFile): clean up slightly.
2919 * bufferparams.h: add compressed var
2921 * buffer_funcs.C (readFile): adjust for LyXLex change
2922 (newFile): ditto + simplify
2924 * buffer.C (writeFile): handle writing of compressed files
2926 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2927 Check if the file is compressed and set a bufferparm if so.
2929 * Makefile.am (lyx_LDADD): remove explicit -lz
2931 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2933 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2934 makeDocBookFile): put the real LyX version in the first line of
2938 * version.C.in: remove lyx_docversion
2940 * tabular.C (write_attribute): add a template-based version to
2941 write enums properly
2943 2003-07-28 André Pönitz <poenitz@gmx.net>
2948 * text3.C: use doubles again for x-coordinates. They are needed.
2950 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2952 * messages.C (getLocaleDir): use lyx_localedir()
2954 * lyxlex_pimpl.C (setFile): compress stuff
2956 * buffer.C (writeFile): add some compression stuff
2957 (do_writeFile): new func, dont call expliti close... will this
2960 * Makefile.am (lyx_LDADD): add -lz
2962 2003-07-28 José Matos <jamatos@fep.up.pt>
2964 * buffer.C: increment file format.
2965 * paragraph_funcs (readParagraph, readParToken):
2966 * paragraph.C (readParagraph): add \end_layout.
2968 2003-07-27 Angus Leeming <leeming@lyx.org>
2970 * Makefile.am: remove special casing for configure-time setting of
2971 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2973 * lyx_main.C (init): remove all Jean-Marc's magic setting of
2974 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2976 2003-07-26 André Pönitz <poenitz@gmx.net>
2978 * paragraph_func.[Ch]:
2979 * paragraph.C (realizeFont): inline it whereever it is used
2984 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2987 2003-07-26 André Pönitz <poenitz@gmx.net>
2991 * text2.C: get rid of LyXText::need_break_row
2993 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2995 * toc.[Ch]: put namespace toc inside namespace lyx
2997 * MenuBackend.C (expandToc2): adjust for lyx::toc
3000 * lyxfunc.C (dispatch): adjust for lyx::find
3002 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3003 lyx::find instead. Reorganize a bit.
3004 (LyXReplace): rename to replace
3005 (LyXFind): rename to find
3007 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3010 2003-07-26 André Pönitz <poenitz@gmx.net>
3012 * text.C (setHeightOfRow): restrict scope of temporary variable
3014 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
3015 code (never has been used?)
3017 2003-07-27 Asger Alstrup <alstrup@local>
3019 * text.C (fill): Optimise algorithm to exploit that we can reuse
3020 the LyXFont for many characters.
3021 (setHeightOfRow): Same thing.
3022 (rowBreakPoint): Same thing.
3024 2003-07-26 Asger Alstrup <alstrup@local>
3026 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3028 * text.C (singleWidth): Spurious font copying in hot-spot
3029 singleWidth avoided. Reorder tests for arabic for efficiency.
3031 * text.C (fill): handle empty paragraphs better.
3033 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3036 * encoding.h: add includes
3038 * lyxrc.C: remove reading of bind files
3040 * lyx_main.C (init): setup bindings and menus only if we have a
3043 * kbmap.C (read): new method. Do the actual reading of bind
3046 * converter.C (dvipdfm_options):
3049 (output): adapt PAPER_* enums.
3051 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3053 * bufferparams.h: remove paper-related enums from there
3055 * paper.h: New file. A trivial header file to hold paper-related
3056 enums. It should later expand to contain many paper-related
3059 * lyxrc.C: declare extern displayTranslator
3061 2003-07-27 José Matos <jamatos@fep.up.pt>
3063 * tabular.[Ch] (linuxdoc): add support for tables and figures
3066 2003-07-27 José Matos <jamatos@fep.up.pt>
3068 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3069 consistency in both functions.
3070 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3072 2003-07-26 Asger Alstrup <alstrup@local>
3074 * rowpainter.C (paintRows): Change algorithm to work directly on
3075 the insets rather than asking every character in the document
3076 whether its an inset.
3078 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
3080 * buffer.C (openFileWrite): factorize some code
3082 2003-07-26 Angus Leeming <leeming@lyx.org>
3085 * lyx_main.[Ch]: replace occurances of system_tempdir with
3088 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3090 * rename Inset to InsetOld
3092 2003-07-25 Asger Alstrup <alstrup@diku.dk>
3094 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3095 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3096 which I think is a bit clearer. EDIT is gone, since it was
3097 premature optimisation, and broken for mathed anyway.
3098 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3099 with cursor positioning in insets as well (math insets still do not
3100 work, but that's a different story anyway.) It mysteriously
3101 crashes sometimes with undo in the first paragraph, but I'm fairly
3102 confident that this is a compiler bug.
3104 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3106 * paragraph.C (Paragraph): adjust for new clone return type
3108 (copyIntoMinibuffer): ditto
3110 2003-07-25 Asger Alstrup <alstrup@lyx.org>
3112 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3113 by not having a special case, and always doing a full rebreak of
3114 the document after undo.
3116 2003-07-23 Angus Leeming <leeming@lyx.org>
3118 * factory.C (createInset): InsetExternal::setParams now takes a
3121 2003-07-23 Angus Leeming <leeming@lyx.org>
3123 * factory.C (createInset): changed interface to the external and
3124 graphics mailers' string2params functions.
3126 2003-07-23 Angus Leeming <leeming@lyx.org>
3128 * factory.C (createInset): pass a
3129 Buffer const * parameter to InsetExternalMailer's string2params.
3131 2003-07-22 John Levon <levon@movementarian.org>
3133 * Thesaurus.h: include the right aiksaurus header
3135 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3137 * MenuBackend.C (expand): check menu shortcuts unconditionally
3139 2003-07-21 Angus Leeming <leeming@lyx.org>
3141 * factory.C (createInset): pass a
3142 buffer_path parameter to InsetGraphicsMailer's string2params.
3144 2003-07-21 Angus Leeming <leeming@lyx.org>
3146 * BufferView_pimpl.C (buffer):
3149 * lyxfunc.C (dispatch):
3150 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3151 rather than the grfx shortcut.
3153 2003-07-21 André Pönitz <poenitz@gmx.net>
3155 * rowpainter.C: remove unused variables
3158 * tabular_funcs.h: move to tabular.C
3159 * Makefile.am: adjust
3161 * tabular.[Ch]: basic optical cleaning
3163 * author.h: pass references, not values
3165 2003-07-18 André Pönitz <poenitz@gmx.net>
3173 * text3.C: two-phase drawing for InsetText and InsetTabular
3174 some float -> int changes.
3176 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3178 * lyx_main.C: fix the fix
3180 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3182 * lyx_main.C: fix a crash in batch mode if no files specified
3185 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
3187 * format.[Ch] (papersize): moved to BufferParams
3188 * converter.[Ch] (dvips_options): moved to BufferParams
3189 (dvipdfm_options): moved to anon namespace
3190 * bufferparams.[Ch]: added above functions.
3192 2003-07-17 André Pönitz <poenitz@gmx.net>
3196 * text2.C: don't call inset->update() anymore
3198 * metricsinfo.[Ch]: add convenience constructor
3200 2003-07-16 André Pönitz <poenitz@gmx.net>
3205 * text2.C: replace the LyXCursor::irow_ member with
3206 on-demand computation of the value
3208 2003-07-16 John Levon <levon@movementarian.org>
3210 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3212 2003-07-15 André Pönitz <poenitz@gmx.net>
3215 * text2.C: remove no more needed refresh_row
3217 2003-07-15 André Pönitz <poenitz@gmx.net>
3222 * text3.C: refresh_status tristate -> need_update bool
3224 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3226 * lyxtext.h (init): remove reinit argument (act as if always true)
3227 * text2.C: adjust to that
3229 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3231 * bufferview_funcs.[Ch]: introduce function replaceSelection()
3232 * text3.C: use it to delete selections in some cases
3233 (bugs 441, 673, 702, 954).
3235 2003-07-14 André Pönitz <poenitz@gmx.net>
3237 * rowpainter.[Ch]: reduce interface
3239 2003-07-14 André Pönitz <poenitz@gmx.net>
3241 * BufferView_pimpl.C:
3242 * text2.C: adjust after removing unused BufferView * argument
3244 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
3246 * text2.C (init): fix a crash fired on resize
3248 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
3250 * buffer.[Ch]: added new closing signal
3251 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3252 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3253 BufferView::Pimpl via the closing the signal
3255 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
3257 * buffer.[Ch]: take out all bv-related from buffer
3259 * BufferView_pimpl.[Ch]: connect to new signals
3260 * CutAndPaste.C: removed useless asserts
3261 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3264 * lyxfunc.C: moved view-related funciontality from vc here
3265 * paragraph.C: removed outdated comments
3268 2003-07-10 André Pönitz <poenitz@gmx.net>
3270 * BufferView_pimpl.C:
3274 * text2.C: remove InsetText::InnerCache, clean up consequences
3276 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3278 * ispell.C: fix two typos in error messages
3280 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
3282 * Extend Note inset to other forms of annotation like Comment
3283 and Greyedout. Right button click gives dialog.
3285 Files modified or added (+):
3289 * ControlNote.[Ch] +
3291 * Makefile.am in frontends/xforms, frontends/xforms/forms,
3292 frontends/controllers
3296 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3298 * aspell.C: add missing namespace lyx::support
3300 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
3302 * BufferView.[Ch] (newFile): Add
3303 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3304 * LaTeX.[Ch] (message): added this signal and use it
3305 * buffer.[Ch] (busy, message): added these signals and use them
3306 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3310 * importer.C: use buffer signals instead of direct bv calling
3311 * lyx_cb.[Ch] (ShowMessage): removed
3314 * paragraph_funcs.C:
3315 * text2.C: use buffer signals
3317 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3319 * introduce namespace lyx::graphics
3321 2003-07-02 André Pönitz <poenitz@gmx.net>
3323 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3325 2003-07-01 André Pönitz <poenitz@gmx.net>
3332 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3333 text*.C to text_func.C
3335 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3337 * introduce namespace lyx::support
3339 2003-06-30 André Pönitz <poenitz@gmx.net>
3344 * text.C: re-enable --with-included-string
3346 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3348 * textcursor.C: add <config.h>
3350 * text.C (getWord): remove const from word_location arg
3352 * lyxvc.C (getLogFile): fix const type order
3354 * lyxtext.h: remove const from word_location arg, add arg name
3356 * lyxlayout.h: currect type on labeltype.
3358 * importer.C: correct \file
3360 * converter.C (intToFormat): use std:: on ret val, ws changes
3362 * bufferlist.h: correct \file
3364 * buffer.C (makeLinuxDocFile): fix const type order
3365 (makeDocBookFile): ditto
3366 (fillWithBibKeys): use std:: on stdlib args.
3368 * CutAndPaste.C: fix authors.
3369 (availableSelections): use std:: on return vector
3371 2003-06-27 André Pönitz <poenitz@gmx.net>
3373 * BufferView_pimpl.C:
3374 * bufferview_funcs.C:
3382 * text3.C: remove LyXCursor::row_ member
3385 * text.C: rename fullRebreak() to partialRebreak() and implement
3386 a fullRebreak() that really bereks fully
3388 * textcursor.h: new struct for cursor-related data
3390 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
3392 * lyx_main.C (LyX): get full path of document loaded on the
3395 2003-06-26 André Pönitz <poenitz@gmx.net>
3397 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3398 remove unused/broken operator>,<,>=.
3400 * text.C: remove only use of broken operator<= in an Assert().
3402 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3404 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3405 moved errorlist_.clear to showErrorList
3407 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3409 * converter.C (scanLog, runLaTeX):
3410 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3411 move the bv->showErrorList call to the callers
3412 * lyxfunc.C: i.e. here...
3414 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3415 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3416 namespace, the second to...
3417 * buffer_funcs (BufferFormat, parseErrors): added
3418 * errorlist.C (ErrorList(TeXErrors const &)): removed
3420 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3422 * ToolbarBackend.C (getIcon): complain when icon cannot be found
3424 2003-06-24 "Garst R. Reese" <reese@isn.net>
3428 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3430 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3432 * version.C.in: change docversion to 1.4
3434 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
3436 * buffer.C: fix a bug just introduced
3438 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3440 * buffer.[Ch]: added the parseError signal and use it, removed
3442 * BufferView.[Ch] (addError): moved to ...
3443 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3444 to the Buffer::parseError signal to catch (guess what) parse errors
3445 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3447 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3449 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3450 ability to create a buffer and to return an existing one from
3451 the list. Moved these functions to...
3452 * buffer_funcs.[Ch]: added
3453 * BufferView.[Ch] (loadLyXFile): added
3454 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3455 job removed from bufferlist::loadLyXFile.
3456 * buffer.C (setReadOnly): make it work without view
3457 (i.e added an if (users))
3459 2003-06-19 Angus Leeming <leeming@lyx.org>
3462 * LyXAction.C (init):
3463 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3464 with LFUN_DIALOG_SHOW <name> <data>.
3466 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3468 * CutAndPaste.C (availableSelections): small compilation fix for
3469 ancient (gcc 2.9x) compilers
3471 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3473 * text3.C (cursorNext): add tmp var
3475 * text2.C (updateCounters): for function calling out of for clause
3476 (replaceSelectionWithString): ditto
3477 (insertStringAsParagraphs): ditto
3478 (getColumnNearX): add tmp var
3479 (setCursorFromCoordinates): add tmp var
3480 (cursorDownParagraph): add tmp var
3481 (deleteEmptyParagraphMechanism): add tmp var
3483 * text.C (insertChar): add tmp var
3485 * rowpainter.C (paintDepthBar): add tmp var
3487 * CutAndPaste.C (availableSelections): potentially check all
3488 paragraphs in a cut to fill the shown strings.
3490 2003-06-18 André Pönitz <poenitz@gmx.net>
3492 * kbmap.[Ch]: use vector<> instead of list<>
3494 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3496 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3497 pasteSelection with index
3499 * text2.C (pasteSelection): modify, call pasteSelection with index
3501 * paragraph.C (asString): reimplement version with no interval to
3502 call the one with interval.
3504 * lyxtext.h: add index arg to pasteSelection
3506 * MenuBackend.C (MenuItem): handle PasteRecent
3507 (Menu::read::Menutags): add md_pasterecent
3509 (expandPasteRecent): new function
3512 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3514 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3516 (availableSelections): new function
3518 2003-06-17 Angus Leeming <leeming@lyx.org>
3520 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3522 2003-06-17 Angus Leeming <leeming@lyx.org>
3525 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3527 * lyxfunc.C (dispatch): invoke it.
3529 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3531 * iterators.C (operator++, ParPosition): reintroduce some
3532 const_cast for the benefit of older compilers.
3534 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3536 * text3.C (dispatch): do not modify clipboard when doing
3537 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3538 LFUN_DELETE_SKIP on a selection selection
3540 2003-06-16 André Pönitz <poenitz@gmx.net>
3546 * tabular.[Ch]: IU of clone() and getLabelList();
3548 2003-06-13 André Pönitz <poenitz@gmx.net>
3550 * tabular.h: compactification
3552 2003-06-12 André Pönitz <poenitz@gmx.net>
3556 * tabular_funcs.h: some renaming plus whitespace
3558 2003-06-12 André Pönitz <poenitz@gmx.net>
3561 * BufferView_pimpl.C:
3567 * toc.C: Return a Paragraph & for ParIterator::operator*()
3569 2003-06-11 John Levon <levon@movementarian.org>
3573 * ToolbarBackend.C: add "Toolbars" section and
3576 2003-06-10 Angus Leeming <leeming@lyx.org>
3579 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3581 * lyxfunc.C (dispatch): invoke it.
3583 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3585 * main.C: protect <ios> with HAVE_IOS
3586 (main): protect sync_with_stdio with HAVE_IOS
3588 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3590 * text2.C (cutSelection): adjust
3591 (pasteSelection): adjust
3593 * messages.C: handle get of empty string
3595 * main.C (main): use sync_with_stdio(false)
3597 * lyxfunc.C (dispatch): adjust
3599 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3600 (WriteAs): remove unneeded BufferView arg.
3602 * bufferparams.h: use correct types on papersize, papersize2 and
3605 * bufferparams.C (readToken): adjust for type
3606 (writeLaTeX): add missing cases to switch.
3608 * bufferlist.C (quitWriteBuffer): adjust
3611 * buffer.C (asciiParagraph): remove some commented code.
3613 * CutAndPaste.C: remove current_view extern variable.
3614 (cutSelection): add BufferParams arg.
3615 (eraseSelection): add BufferParams arg.
3616 (pasteSelection): add Buffer const & arg
3618 2003-06-07 John Levon <levon@movementarian.org>
3621 * paragraph_funcs.C:
3622 * paragraph_pimpl.C:
3626 * paragraph.C: allow InsetERT to freely space lines,
3627 and some consolidation of code
3629 2003-06-06 José Matos <jamatos@fep.up.pt>
3631 * buffer.C (makeDocBookFile): fix bug #821
3633 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3635 * BufferView_pimpl.C (dispatch): use Dialogs::visible
3637 2003-06-04 Angus Leeming <leeming@lyx.org>
3639 * buffer.C: bump format to 224.
3641 2003-06-05 André Pönitz <poenitz@gmx.net>
3643 * text2.C (redoParagraphs): remove two const_cast<>
3645 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3647 * ParagraphList.h: remove last remnants of NO_STD_LIST
3649 2003-06-03 Angus Leeming <leeming@lyx.org>
3651 * factory.C (createInset): small change to the way InsetExternal's params
3654 2003-06-04 André Pönitz <poenitz@gmx.net>
3656 * buffer.h: use Undo directly instead of shared_ptr<Undo>
3658 * paragraph_pimpl.h:
3659 * paragraph.[Ch]: some Inset -> UpdatableInset changes
3661 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3663 * undo_funcs.C: make some simple cases of undo work again
3665 2003-06-03 John Levon <levon@movementarian.org>
3667 * ispell.C: HPUX doesn't have sys/select.h
3670 2003-06-03 John Levon <levon@movementarian.org>
3672 * CutAndPaste.C: update tabular and include inset
3677 * paragraph.C: remove owningBuffer(), don't pass Buffer
3680 * factory.C: insetGraphicsParams changed
3682 2003-06-02 John Levon <levon@movementarian.org>
3688 * text3.C: remove insetparent
3690 2003-06-02 John Levon <levon@movementarian.org>
3693 * buffer.C: fix inset_iterator.end(), move out of line
3696 2003-06-01 John Levon <levon@movementarian.org>
3698 * text3.C: use a proper cut/paste when doing inset
3699 insert (from Jürgen Spitzmüller)
3701 2003-06-01 John Levon <levon@movementarian.org>
3703 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3705 2003-05-30 André Pönitz <poenitz@gmx.net>
3707 * rowpainter.C: unify second drawing phase
3709 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3711 * trans_mgr.C: remove one case of current_view
3713 * text2.C (cursorBottom): delete NO_STD_LIST stuff
3715 * paragraph_funcs.h: remove paragraph.h include
3717 * paragraph.h: delete NO_STD_LIST stuff
3719 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3721 * buffer.h: remove paragraph.h include
3723 * ParagraphList.C: delete file
3725 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3727 * toc.C (getTocList): adjust
3729 * paragraph_pimpl.C (validate): adjust
3731 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3733 * paragraph.C (Paragraph): adjust
3734 (getPositionOfInset): use const_iterator, adjust
3735 (bibitem): use const_iterator, adjust
3736 (setInsetOwner): adjust
3738 * iterators.C (operator++): adjust
3740 * InsetList.[Ch]: Replace selfmade iterator with standard
3741 vector::iterator also introduce const_iterator. Remove getPos,
3742 getInset and setInset from InsetTable. Adjust accordingly.
3744 * BufferView.C (lockInset): adjust
3745 (ChangeInsets): adjust
3747 * tabular.[Ch]: delete commented same_id functions
3749 2003-05-28 John Levon <levon@movementarian.org>
3751 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3753 2003-05-28 André Pönitz <poenitz@gmx.net>
3755 * metricsinfo.[Ch]: remove 'fullredraw' member
3757 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
3759 * lyxtextclass.C (operator): remove caching.
3761 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3765 * text2.C (cursorBottom): adjust
3766 (setCounter): use ParagraphList::find, adjust
3768 * text.C (workWidth): use ParagraphList::find, adjust
3770 * lyxcursor.C (LyXCursor): adjust
3772 * buffer.C (inset_iterator): adjust
3774 * ParagraphList.h: make iterator(value_type) private, make
3775 ParagraphList a friend of iterator.
3777 * ParagraphList.C (find): new function
3779 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3781 2003-05-27 André Pönitz <poenitz@gmx.net>
3783 * dimension.[Ch]: a -> asc, d -> des, w -> wid
3785 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3787 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3789 2003-05-26 John Levon <levon@movementarian.org>
3791 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3793 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3795 * remove same_id from function signatures, adjust.
3797 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3799 * undo_funcs.C (createUndo): use the id functions directly, adjust.
3801 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3803 * paragraph.C (Paragraph): get rid of same_ids parameter
3805 * ParagraphList.C (insert): adjust
3808 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3810 * paragraph_funcs.C (breakParagraph): adjust
3811 (breakParagraphConservative): adjust
3813 * buffer.C (readParagraph): adjust
3815 * ParagraphList.C (insert): take a reference instead of a pointer
3818 * paragraph.[Ch] (id): new function
3820 * bufferlist.C (newFile): adjust
3822 * ParagraphList.C (ParagraphList): adjust
3824 (push_back): take a reference instead of a pointer.
3826 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3828 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3831 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3832 set else use old code.
3834 * ParagraphList.C: remove all NO_NEXT code and only compile this
3835 code of NO_STD_LIST is set.
3837 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3839 * BufferView_pimpl.C:
3849 * graphics/GraphicsConverter.C:
3850 * graphics/PreviewLoader.C: header adjustment
3852 2003-05-23 Angus Leeming <leeming@lyx.org>
3854 * LaTeXFeatures.[Ch] (useBabel): new method.
3855 * bufferparams.C (writeLaTeX): use it.
3857 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3859 * ParagraphList.h (set): remove unused function.
3861 2003-05-23 André Pönitz <poenitz@gmx.net>
3864 * BufferView_pimpl.C:
3868 * undo_funcs.C: setUndo reworked
3870 * iterators.[Ch]: add access to topmost ParagraphList
3872 * lyxtext.[Ch] (workWidth): add a const
3874 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3876 * texrow.[Ch] (increasePos): remove function
3877 * exporter.C (export): removed unused var and outdated comment
3879 2003-05-23 Angus Leeming <leeming@lyx.org>
3881 * latexrunparams.h: rename fragile as moving_arg.
3882 * paragraph.C (simpleTeXOnePar): ditto.
3883 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3885 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3887 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3889 (textUndoOrRedo): comment out a currently unused var.
3891 * paragraph.h (NO_NEXT): enable NO_NEXT
3893 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3895 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3897 * exporter.C (Export): adjust for removeAutoInsets removal.
3899 * buffer.C (runChktex): adjust for removeAutoInsets removal.
3901 * LyXAction.C (init): remove LFUN_REMOVEERRORS
3903 * BufferView.[Ch] (removeAutoInsets): delete function
3905 2003-05-22 Angus Leeming <leeming@lyx.org>
3907 * latexrunparams.h: add a free_spacing variable.
3909 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3910 to pass moving_arg, as the data is stored in runparams.fragile.
3912 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3913 to Inset::latexOptional or to simpleTeXOnePar.
3915 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3916 free_spacing arg to Inset::latexOptional.
3918 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3921 2003-05-22 Angus Leeming <leeming@lyx.org>
3923 * latexrunparams.h: add fragile and use_babel variables.
3925 * bufferparams.[Ch] (writeLaTeX): return use_babel.
3926 * buffer.C (makeLaTeXFile): store this returned value in
3927 runparams.use_babel, thus passing it to the inset::latex methods.
3929 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3930 simpleTeXSpecialChars as it is now stored in runparams.fragile.
3932 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3933 longer has a fragile arg, as it is stored in runparams.fragile.
3935 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3936 moving_arg parameter as the data is stored in runparams.fragile.
3938 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3939 a fragile parameter as the data is stored in runparams.fragile.
3941 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3943 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3945 2003-05-22 Angus Leeming <leeming@lyx.org>
3947 * latexrunparams.h: add a 'bool nice' which defaults to false.
3949 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3950 now encapsulated within runparams.
3952 * bufferlist.C (updateIncludedTeXfiles):
3953 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3955 2003-05-22 Angus Leeming <leeming@lyx.org>
3957 * latexrunparams.h: new file containing struct LatexRunParams.
3958 * Makefile.am: add new file.
3960 * LaTeX.[Ch] (c-tor, run):
3961 * buffer.[Ch] (makeLaTeXFile):
3962 * bufferlist.[Ch] (updateIncludedTeXfiles):
3963 * converter.C (convert, scanLog):
3964 * converter.[Ch] (runLaTeX):
3965 * exporter.C (Export):
3966 * paragraph.[Ch] (simpleTeXOnePar):
3967 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3968 * paragraph_funcs.[Ch] (latexParagraphs):
3969 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3970 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3971 pass around a LatexRunParams parameter.
3973 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3975 * paragraph.[Ch]: remove unused constructor
3977 * ParagraphList.C (erase): new function, taking two iterators
3979 2003-05-22 André Pönitz <poenitz@gmx.net>
3981 * undo_funcs.C: remove duplicated code
3983 * iterator.[Ch]: operator=
3985 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3987 * tabular.C (SetMultiColumn): ws changes
3989 * rowpainter.C (paintFirst): get rid of a ->previous
3991 * lyx_cb.C (getPossibleLabel): parlist simplification
3993 * BufferView.C (ChangeInsets): simplify slightly.
3995 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3997 * LyXAction.C: new lfun space-insert, kill protected-space-insert
3998 * lfuns.h: new LFUN_SPACE
3999 * lyxfunc.C: protected space has a new lfun
4000 * paragraph_funcs.C: read new space insets
4002 * factory.C: handle new space insets
4004 2003-05-22 André Pönitz <poenitz@gmx.net>
4007 * BufferView_pimpl.C:
4010 * undo_funcs.C: return a ParIterator from getParFromID.
4012 * iterators.[Ch]: add two const's
4014 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4016 * toc.C (getTocList): adjust
4018 * iterators.[Ch]: rework for parlist
4020 * buffer.C (par_iterator_begin): adjust
4021 (par_iterator_end): adjust
4023 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4025 * BufferView.C (removeAutoInsets): adjust
4026 (ChangeInsets): adjust
4028 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
4030 * text.C (top_y): fix bug 1110
4032 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
4034 * errorlist.[Ch]: added
4037 * BufferView_pimpl.C:
4038 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4041 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4043 * Makefile.am: ensure that lyx is relinked upon changes to the
4044 various "convenience" libs.
4046 2003-05-20 Angus Leeming <leeming@lyx.org>
4048 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4049 files are compiled in alphabetical order again.
4051 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4053 2003-05-19 Angus Leeming <leeming@lyx.org>
4055 * gettext.[Ch]: remove "char const * _(char const *)".
4057 2003-05-19 André Pönitz <poenitz@gmx.net>
4059 * dimension.[Ch]: promote from mathed/dimension.[Ch]
4068 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4070 2003-05-19 André Pönitz <poenitz@gmx.net>
4074 * lyxtextclass.[Ch]:
4076 * paragraph_funcs.[Ch]:
4078 * text3.C: more insetenv work
4080 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
4082 * ParagraphParameters.C (params2string): small bug fixed
4084 2003-05-16 André Pönitz <poenitz@gmx.net>
4087 * bufferview_funcs.C: patch from Kornel Benko to prevent
4088 crash when _(...) is called twice in a statement
4090 2003-05-16 André Pönitz <poenitz@gmx.net>
4097 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4099 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
4101 * lyx_main.C (init): remove spurious static_cast
4103 2003-05-14 André Pönitz <poenitz@gmx.net>
4105 * BufferView.C: fix format string
4107 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
4109 * BufferView.[Ch] (insertErrors): removed
4110 * BufferView.[Ch] (showErrorList): added
4111 * buffer.C (runChkTeX):
4112 * converter.C (scanLog): call showErrorList instead of inserterrors
4114 2003-05-13 André Pönitz <poenitz@gmx.net>
4116 * BufferView_pimpl.C:
4118 * bufferview_func.C:
4125 * tabular_funcs.h: tostr() from its own header
4127 * ParagraphParameters.C:
4132 * text3.C: STRCONV()
4134 2003-05-12 André Pönitz <poenitz@gmx.net>
4137 * BufferView_pimpl.C:
4141 * ParagraphParameters.C:
4145 * bufferview_funcs.C:
4158 * paragraph_funcs.C:
4162 * text3.C: boost::format -> bformat all over the place
4165 2003-05-09 André Pönitz <poenitz@gmx.net>
4167 * LColor.[Ch]: Pimpl the #include <map> away
4169 2003-05-09 John Levon <levon@movementarian.org>
4171 * bufferlist.C: never remove emergency saves
4173 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4175 * Makefile.am: better lib building
4177 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4179 * texrow.[Ch]: remove dependency on Paragraph and just store a id
4181 * paragraph_pimpl.C (simpleTeXBlanks): adjust
4182 (simpleTeXSpecialChars): adjust
4183 (simpleTeXSpecialChars): adjust
4184 * paragraph.C (simpleTeXOnePar): adjust
4185 * buffer.C (makeLaTeXFile): adjust
4187 * Makefile.am (BOOST_LIBS): allow boost as system lib.
4189 * text2.C (changeDepth): parlist cleanup
4190 (getColumnNearX): ditto
4192 * rowpainter.C (getLabelFont): parlist cleanup
4194 * bufferlist.C (newFile): parlist cleanup
4196 * CutAndPaste.C (eraseSelection): parlist cleanup
4198 * BufferView_pimpl.C (trackChanges): parlist cleanup
4201 * BufferView.C (lockInset): parlist cleanup.
4202 (ChangeInsets): ditto
4204 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4206 * CutAndPaste.h: Update file header.
4208 * CutAndPaste.C: Update file header.
4209 Store the parts cut out of the Document in a limited_stack.
4210 (copySelection): adjust
4211 (pasteSelection): new function, takes the index in the limited stack.
4212 (nrOfParagraphs): adjust
4213 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4214 simplify error inset insertion.
4215 (checkPastePossible): adjust
4217 2003-05-06 John Levon <levon@movementarian.org>
4219 * text2.C: don't cast wrap inset to float
4221 2003-05-05 André Pönitz <poenitz@gmx.net>
4224 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4226 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4227 few naked Paragraph *.
4229 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
4231 * bufferparams.C: Output warning if a document with missing
4232 TeX document class is loaded
4233 * exporter.C: Disable TeX exports if the document class is missing
4236 * lyxtextclasslist.C: Handle new textclass.lst format; new method
4237 isTeXClassAvailable()
4239 2003-05-03 John Levon <levon@movementarian.org>
4242 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4243 explicit cursor show/hide
4245 * BufferView_pimpl.h:
4246 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4247 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4249 * lyxfunc.C: hide cursor before dispatching.
4254 * text3.C: remove explicit cursor hides
4256 2003-05-02 André Pönitz <poenitz@gmx.net>
4258 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4261 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4264 * text2.C: tiny whitespace
4266 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4268 * undo_funcs.C: almost only ws changes.
4270 * ParagraphList.C (splice): just return if pl is empty.
4272 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4274 * ParagraphList.C (splice): new function.
4276 * CutAndPaste.C (pasteSelection): use it
4278 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4280 * CutAndPaste.C (pasteSelection): remove the last next and
4281 previous from this file.
4283 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4285 * CutAndPaste.C (pasteSelection): more clean up, user proper
4286 ParagraphList functions for pasteing.
4288 * ParagraphList.C (insert): new function, three arg insert
4290 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4292 * ParagraphList.C (insert): new function, three arg insert
4294 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4297 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4299 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4301 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4303 * CutAndPaste.C (pasteSelection): remove some unneeded code.
4305 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4307 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4308 (copySelection): clean up a bit.
4309 (pasteSelection): use make_pair
4311 * ParagraphList.C (ParagraphList): implement copy constructor
4312 (operator=): implement, base on copy constructor.
4315 * paragraph.C (erase): return a bool
4317 * paragraph_pimpl.C (erasePos): remove function, move contents...
4318 (erase): ... here. Return a bool.
4319 (erase): call erase instead of erasePos.
4321 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
4323 * ParagraphList.h: define PitPosPair
4324 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4325 ParagraphList, fix a bug on pasting multiple pars
4326 * text2.C: change interface to C&P
4328 2003-04-30 André Pönitz <poenitz@gmx.net>
4330 * undo_func.C: revert part of yesterday's patch 2
4332 2003-04-30 John Levon <levon@movementarian.org>
4334 * LColor.C: s/tabular/table/
4336 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4338 * text3.C (dispatch): do not convert iterator -> pointer
4339 * undo_funcs.C (setCursorParUndo): ditto
4340 * text_funcs.C (transposeChars): ditto
4342 * text2.C (setLayout): ws changes only
4344 * text.C (breakParagraph): do not convert iterator -> pointer
4346 (acceptChange): ditto
4347 (rejectChange): ditto
4352 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4355 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4357 * text3.C (gotoInset): YABG (yet another bad getChar)
4359 2003-04-29 André Pönitz <poenitz@gmx.net>
4361 * paragraph.h: make operator= private unimplemented as long as
4364 * ParagraphList.C: whitespace
4367 * paragraph_pimpl.[Ch]:
4368 * paragraph_funcs.C:
4370 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
4373 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4375 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4377 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4378 * paragraph.[Ch] (erase):
4379 * paragraph_pimpl.[Ch] (erase): change return type and value
4380 * text2.C (cutSelection): some rework
4382 2003-04-28 John Levon <levon@movementarian.org>
4384 * bufferlist.C: changes for unsaved changes dialog
4386 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4388 * bufferlist.C (newFile): set language (messages_) for new
4391 * buffer.C (readFile): ws changes only.
4393 2003-04-28 André Pönitz <poenitz@gmx.net>
4398 * BufferView_pimpl.C:
4399 * BufferView.C: getParFromID related ParagraphList::iterator changes
4401 2003-04-28 André Pönitz <poenitz@gmx.net>
4403 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4406 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4408 * messages.C: remove one more localedir class variable.
4410 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4412 * messages.C (getLocaleDir): singleton generation function
4414 (Messages): add a default constructor.
4416 * main.C (main): do not setup localedir here, do not call
4419 * gettext.C (_): use it.
4420 (gettext_init): delete funciton
4422 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4424 * gettext.C (getLyXMessages): new singleton generating function.
4426 * buffer.C (updateDocLang): adjust
4428 * Makefile.am (messages.o): add target
4429 (main.o): remove target
4431 2003-04-27 John Levon <levon@movementarian.org>
4436 * lyxvc.C: specify cancel button in Alert::prompt
4438 2003-04-26 John Levon <levon@movementarian.org>
4443 * LyXAction.C: add LFUN_INSET_SETTINGS
4445 * lyxfunc.C: don't enable tabular-feature when there's
4446 just any locking inset
4448 2003-04-26 John Levon <levon@movementarian.org>
4450 * bufferlist.C: re-add Cancel to buffer close question
4452 * lyxfunc.C: fix import UI a bit
4454 2003-04-25 John Levon <levon@movementarian.org>
4456 * gettext.C: remove the broken asserts for now
4458 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4460 * messages.C: make case where setlocale cannot comply work better.
4462 * buffer.C (updateDocLang): new function
4463 (changeLanguage): use it
4466 * text2.C (setCounter): use B_ a bit.
4468 * lyxlayout.C (Read): be sure to trim the label strings.
4470 * messages.C (Messages): fix typo in comment
4472 * buffer.C (readFile): set message_ after file is loaded.
4473 (makeDocBookFile): remove double return
4474 (changeLanguage): reset message_ upon language change.
4475 (B_): new func, use this to get translated buffer strings.
4477 * main.C: add myself and Jean Marc as authors.
4479 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4481 * messages.[hC]: pimplify Messages, and three different pimpls to be
4482 used in different circumstances.
4484 * gettext.[Ch]: change for use with new message code.
4486 2003-04-24 André Pönitz <poenitz@gmx.net>
4488 * factory.C: support for eqref
4490 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4492 * messages.[Ch]: add missing char
4494 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4496 * messages.[Ch]: New files
4498 2003-04-18 John Levon <levon@movementarian.org>
4502 * BufferView_pimpl.C:
4506 * text2.C: remove layout-copy/paste (bug 778)
4508 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4510 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4512 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4514 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4515 if they succeed. Act accordingly.
4517 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4519 * text2.C (setCharFont): adjust
4520 (setCounter): adjust
4521 (insertStringAsLines): adjust
4523 * text.C (leftMargin): adjust
4524 (setHeightOfRow): adjust
4526 * rowpainter.C (paintFirst): adjust
4529 * paragraph_funcs.C (depthHook): ParagraphList::iterators
4531 (isFirstInSequence): ditto
4532 (getEndLabel): ditto
4535 * paragraph.C (getParLanguage): comment out some hard stuff.
4537 * buffer.C (insertStringAsLines): take a ParagraphList as arg
4539 (simpleDocBookOnePar): ditto
4540 (makeDocBookFile): use ParagraphList::iterator
4542 * CutAndPaste.C (pasteSelection): adjust
4544 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4546 * text2.C (getFont): adjust
4547 (getLayoutFont): adjust
4548 (getLabelFont): adjust
4550 * paragraph_funcs.C (TeXOnePar): adjust
4552 * buffer.C (simpleLinuxDocOnePar): adjust
4553 (simpleDocBookOnePar): adjust
4555 * CutAndPaste.C (pasteSelection): adjust
4557 * BufferView.C (getEncoding): adjust
4559 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4561 2003-04-16 John Levon <levon@movementarian.org>
4563 * lyxfind.C: use parlist stuff for search/changes
4565 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4567 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4569 * text2.C (deleteEmptyParagraphMechanism): adjust
4571 * text2.[Ch] (ownerParagraph): delete func (both of them
4573 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4575 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4577 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4579 * ParagraphList.C: prepare for NO_NEXT
4581 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4583 * text2.C (getFont): adjust
4584 (getLayoutFont): adjust
4585 (getLabelFont): adjust
4587 * paragraph.C (getFont): adjust
4588 (getLabelFont): adjust
4589 (getLayoutFont): adjust
4591 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4593 2003-04-15 John Levon <levon@movementarian.org>
4597 * lyx_main.C: handle Include in .ui files
4599 2003-04-15 John Levon <levon@movementarian.org>
4601 * MenuBackend.C: make the doc files length shorter
4604 * ToolbarBackend.C: handle toolbar placement flags,
4607 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4609 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4612 * paragraph_funcs.C (TeXOnePar): adjust
4614 * paragraph.C (getLabelFont): add outerfont arg, adjust
4615 (getLayoutFont): ditto
4616 (simpleTeXOnePar): adjust
4618 * paragraph_pimpl.C (realizeFont): delete func
4620 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
4622 * text2.C (beforeFullRowInset): added a bad getchar check, removed
4623 row argument, constify cur argument.
4625 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4627 * text2.C (getFont): adjust
4628 (getLayoutFont): adjust
4629 (getLabelFont): adjust
4631 * paragraph_funcs.C (TeXOnePar): adjust
4632 (outerFont): new func...
4633 (realizeFont): ...moved out from here, changed this to facilitate
4636 * paragraph.C (getFont): take outerfont as arg, adjust
4637 (simpleTeXOnePar): add outerfont arg, adjust
4639 * buffer.C (simpleLinuxDocOnePar): adjust
4640 (simpleDocBookOnePar): adjust
4642 * CutAndPaste.C (pasteSelection): adjust
4644 * BufferView.C (getEncoding): adjust
4646 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4648 * text2.C (setCharFont): adjust
4649 (setCounter): adjust
4651 * text.C (leftMargin): adjust
4652 (setHeightOfRow): adjust
4654 * rowpainter.C (paintFirst): adjust
4657 * paragraph_pimpl.C (realizeFont): adjust
4659 * paragraph.C (isFirstInSequence): move from here...
4660 * paragraph_funcs.C (isFirstInSequence): ...to here
4662 * paragraph.C (outerHook): move from here...
4663 * paragraph_funcs.C (outerHook): ...to here
4665 * paragraph.C (depthHook): move from here...
4666 * paragraph_funcs.C (depthHook): ...to here
4668 * paragraph.C (getEndLabel): move from here...
4669 * paragraph_funcs.C (getEndLabel): ...to here
4671 * text2.C (realizeFont): move from here...
4672 * paragraph_funcs.C (realizeFont): ...to here
4674 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4676 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4678 2003-04-14 Angus Leeming <leeming@lyx.org>
4680 * LColor.[Ch]: scrap LColor mathcursor.
4682 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4684 * lyxlex.[Ch] (text): delete function
4685 * trans.C (Load): adjust
4686 * paragraph_funcs.C (readParToken): adjust
4688 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4690 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4691 vector<char> instead of a char[].
4693 * lyxlex_pimpl.C (getString): adjust
4695 (lex): use getString
4699 * lyxlex.C (text): use pimpl_->getString()
4703 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4705 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4706 (makeFontEntriesLayoutSpecific): temp var for par.size()
4707 (setLayout): temp var for ownerParagraphs().end()
4708 (fullRebreak): temp var for rows().end()
4709 (selectionAsString): temp var for boost::next(startpit), realize
4710 that the while really is a regular for loop.
4711 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4712 setCursor in one place.
4713 (setParagraph): temp vr for ownerParagraphs().end()
4714 (updateCounters): make the while loop a for loop
4715 (cutSelection): temp var for ownerParagraphs().end()
4716 (updateInset): make the do {} while() a regular for loop
4717 (getCursorX): use temp vars
4718 (setCurrentFont): use temp vars
4719 (getColumnNearX): use temp vars
4721 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4723 * text.C (transformChar): use temp var for getChar
4724 (computeBidiTables): use temp var for row->par()
4725 (fill): move temp vars for row->par() and pit->layout() earlier in
4727 (labelFill): use temp var for row->par()
4728 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4729 asc and desc, realize that pit never changes and that firstpit is
4730 just a duplicate and not needed. Exchange rit->par() with pit in a
4732 (breakAgain): use a temp var for boost::next(rit)
4733 (breakAgainOneRow): ditto
4734 (breakParagraph): use a temp var for rows().begin()
4735 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4736 (cursorRightOneWord): use temp var for cursor.par() and
4737 cursor.pos(), remove usage of tmpcursor.
4738 (cursorLeftOneWord): use temp var for cursor.par() and
4739 cursor.pos() only set cur at end of function.
4741 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4743 * text.C, text2.C: exchange all usage of Paragraph::next with
4744 boost::next(ParagraphList::iterator)
4746 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4748 * text2.C (cursorTop): simplify implementation
4749 (cursorBottom): ditto
4750 (setParagraph): use ParagraphList::iterator
4751 (setCurrentFont): adjust
4752 (getColumnNearX): adjust
4753 (cursorRight): adjust
4754 (cursorLeft): remove usage of Paragraph::previous
4755 (cursorUpParagraph): ditto
4756 (deleteEmptyParagraphMechanism): slight cleanup
4758 * text.C (isBoundary): take a Paragraph const & instead of a
4760 (addressBreakPoint): ditto
4761 (leftMargin): remove usage of Paragraph::previous.
4762 (setHeightOfRow): ditto
4763 (cursorLeftOneWord): ditto
4764 (selectNextWordToSpellcheck): ditto
4767 (breakParagraph): remove one usage of Paragraph::next
4768 (redoParagraph): ditto
4769 (acceptChange): ditto
4770 (insertChar): adjust
4771 (rowBreakPoint): adjust
4773 * bufferview_funcs.C (toggleAndShow): adjust
4775 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
4777 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4778 methods to access it.
4780 * text.C: Added updateRowPositions to compute all row positions.
4781 Make top_y and getRowNearY() to use the cached y position
4783 2003-04-11 John Levon <levon@movementarian.org>
4785 * text.C (rowBreakPoint): reintroduce the labelEnd
4786 checks, code copied from the row fill stuff. Deep voodoo.
4788 * text.C (fill): add a comment and debugging for the
4791 2003-04-11 John Levon <levon@movementarian.org>
4793 * text.C: make sure fullrow insets get wrapped to the next line,
4794 even when they're in a manual label
4796 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4798 * text2.C (insertParagraph): make it take ParagraphList::iterator
4800 (setLayout): make it return ParagraphList::iterator
4801 (redoParagraphs): ditto
4803 (checkParagraph): ditto
4805 * text.C (getRow): make getrow take ParagraphList::iterator as arg
4807 * text2.C: adjust several funcs.
4808 (realizeFont): take a ParagraphList::iterator as arg.
4809 (getLayoutFont): ditto
4810 (getLabelFont): ditto
4811 (setCharFont): ditto
4813 * text.C: adjust several funcs.
4815 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4817 * text.C (selectNextWordToSpellcheck): don't accidentally
4820 2003-04-10 John Levon <levon@movementarian.org>
4822 * ToolbarBackend.C (getIcon): special handling for
4825 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4827 * text2.C (cursorRight): a getChar assert fixed
4829 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4831 * text2.C (getFont): change to take a ParagraphList::iterator
4832 instead of Paragraph*
4833 Adjust several functions.
4835 * text.C (transformChar): change to take a ParagraphList::iterator
4836 instead of Paragraph*
4837 (singleWidth): ditto
4838 Adjust several functions.
4840 * rowpainter.C: adjust several functions
4841 * rowpainter.h:store a ParagraphList::iterator and not a
4845 2003-04-09 John Levon <levon@movementarian.org>
4850 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4851 and the "help" bits as well
4853 2003-04-09 John Levon <levon@movementarian.org>
4856 * ToolbarBackend.C: allow multiple toolbars
4858 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4860 * undo_funcs.C (setCursorParUndo): adjust
4862 * text_funcs.C (transposeChars): adjust
4864 * text3.C (gotoNextInset): adjust
4867 * text2.C (setLayout): adjust
4868 (changeDepth): adjust
4870 (redoParagraphs): adjust
4871 (selectionAsString): adjust
4872 (setParagraph): adjust
4873 (insertInset): adjust
4874 (cutSelection): adjust
4875 (copySelection): adjust
4876 (pasteSelection): adjust
4877 (insertStringAsLines): adjust
4878 (updateInset): adjust
4879 (setCursor): change to take a ParagraphList::iterator parameter
4880 (setCursorIntern): change to take a ParagraphList::iterator parameter
4881 (setCurrentFont): adjust
4882 (cursorLeft): adjust
4883 (cursorRight): adjust
4884 (deleteEmptyParagraphMechanism): adjust
4886 * text.C (breakParagraph): adjust
4887 (insertChar): adjust
4888 (acceptChange): adjust
4889 (rejectChange): adjust
4890 (selectNextWordToSpellcheck): adjust
4891 (changeCase): adjust
4895 * lyxfind.C (SearchForward): adjust
4896 (SearchBackward): adjust
4897 (nextChange): adjust
4899 * lyxcursor.C (par): adjust
4901 * lyxcursor.h: store a ParagraphList::iterator instead of a
4904 * lyx_cb.C (getPossibleLabel): adjust
4906 * bufferview_funcs.C (toggleAndShow): adjust
4908 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4911 * BufferView.C (removeAutoInsets): adjust
4912 (lockedInsetStoreUndo): adjust
4914 2003-04-09 John Levon <levon@movementarian.org>
4916 * ToolbarBackend.C: try icon without argument
4917 if with argument fails
4919 2003-04-08 John Levon <levon@movementarian.org>
4922 * ToolbarBackend.C: add getIcon(), handle tooltip,
4923 and change from "Icon" to "Item".
4925 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4927 * BufferView.C (lockInset): another bad getchar crunched
4929 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4931 * text2.C (changeDepth): do not setUndo on test_only (make undo work
4934 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
4936 * lyxfind.C (searchForward, searchBackwards): bug 782
4938 2003-04-07 John Levon <levon@movementarian.org>
4940 * paragraph.C: remove dead comment
4942 * text.C: remove troublesome depth-fiddling code
4943 in leftMargin() and rightMargin() (bug 1017)
4945 * text.C: fix breaking of rows in nested lists
4948 * text2.C (updateCounters): fix up depth values
4951 2003-04-07 John Levon <levon@movementarian.org>
4953 * BufferView_pimpl.C: clear message when doc finishes resizing,
4954 and after a mouse event
4956 * lyxfunc.C: clear message after exiting inset
4958 2003-04-07 John Levon <levon@movementarian.org>
4960 * bufferview_funcs.C: show math status not outside
4961 status in the statusbar
4963 2003-04-07 John Levon <levon@movementarian.org>
4965 * lyxfunc.C: note status changed after a depth change
4967 2003-04-04 Angus Leeming <leeming@lyx.org>
4969 * LaTeX.h: move AuxInfo operator==, != out of line.
4970 Remove LaTeX virtual destructor; nothing derives from it.
4971 Move operator()() out of public area and rename it startscript().
4972 Change protected for private.
4974 2003-04-04 Angus Leeming <leeming@lyx.org>
4977 * text2.C: remove unneeded #includes.
4979 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4981 * text2.C (dEPM): fix the heigth of the next row
4983 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4985 * text.C: squashed an invalid getChar requester + some ws changes
4987 2003-04-03 John Levon <levon@movementarian.org>
4989 * bufferview_funcs.h:
4990 * bufferview_funcs.C:
4993 * text2.C: make getStatus work for the env depth lfuns
4995 2003-04-03 John Levon <levon@movementarian.org>
4997 * bufferview_funcs.h:
4998 * bufferview_funcs.C:
5001 * text2.C: parlistize decDepth(), by merging it with incDepth()
5003 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5005 * lyxrow.h: store a ParagraphList::iterator instead of a
5006 Paragraph* and adjust other class functions to suit.
5008 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5011 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5013 * text2.C (setCursor): do not anchor to cursor row for the time being
5015 2003-04-02 John Levon <levon@movementarian.org>
5022 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5024 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5026 * paragraph.h: make ParagraphList and ParagraphList::iterator
5027 friends of Paragraph.
5029 * buffer.C (makeLinuxDocFile): move towards ParagraphList
5031 * ParagraphList.C: Use the private next_ and previous_ from
5034 2003-04-01 John Levon <levon@movementarian.org>
5038 * Makefile.am: rename, remove defaults gunk
5041 * MenuBackend.C: remove defaults gunk
5044 * Languages.C: remove defaults gunk
5047 * lyx_main.C: error out if files couldn't be found.
5049 2003-04-02 John Levon <levon@movementarian.org>
5051 * text2.C: make incDepth() use parlist
5053 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5055 * undo_funcs.C (firstUndoParagraph): adjust
5057 * text3.C (gotoInset): adjust
5058 (dispatch): adjust, and rewrite loop.
5060 * text2.C (init): adjust, and rewrite loop.
5061 (redoParagraphs): adjust
5062 (updateInset): adjust, and rewrite loop.
5063 (deleteEmptyParagraphMechanism): adjust
5065 * tabular.C (LyXTabular): adjust
5066 (SetMultiColumn): adjust
5069 * lyxtext.[Ch] (ownerParagraph): delete function
5070 (ownerParagraphs): new function returns a ParagraphList.
5072 * BufferView.C (removeAutoInsets): adjust
5073 (insertErrors): adjust
5074 (setCursorFromRow): adjust
5076 2003-04-01 Angus Leeming <leeming@lyx.org>
5078 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5081 2003-04-02 John Levon <levon@movementarian.org>
5087 * text_funcs.C: make transposeChars a free function
5089 * lyxrow_funcs.C: remove wrong comment
5091 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5094 * rowpainter.C: adjust
5099 * lyxrow_funcs. [Ch]: new files
5101 * lyxrow.[Ch]: remove next and previous pointers
5102 (next,previous): remove accessor functions
5103 (isParEnd): move to lyxrow_funcs
5104 (lastPos): move to lyxrow_funcs
5105 (nextRowIsAllInset): move to lyxrow_funcs
5106 (lastPrintablePos): move to lyxrow_funcs
5107 (numberOfSeparators): move to lyxrow_funcs
5108 (numberOfHfills): move to lyxrow_funcs
5109 (numberOfLabelHfills): move to lyxrow_funcs
5110 (hfillExpansion): move to lyxrow_funcs
5114 * bufferview_funcs.C (toggleAndShow): adjust
5116 * RowList.h: Remove class RowList from file leave just a
5119 * RowList.C: delete file
5121 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5124 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5126 * text3.C (cursorPrevious): adjust
5127 (cursorNext): adjust
5130 * text2.C (redoHeightOfParagraph): adjust
5131 (redoDrawingOfParagraph): adjust
5134 * text.C (breakParagraph): adjust
5135 (insertChar): adjust
5138 * rowpainter.C (RowPainter): adjust
5139 (leftMargin): simplify and adjust
5140 (most rowpainter functions): adjust.
5142 * rowpainter.h: store the row as RowList::iterator not as Row*
5144 * lyxcursor.C (row): taka RowList::iterator as arg
5147 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5150 2003-04-01 Angus Leeming <leeming@lyx.org>
5152 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5153 stuff like bool Bool.
5155 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5157 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5160 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5162 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5165 * lyxtext.h (rows): drop one version and leve a const variant that
5166 returns a RowList::iterator.
5168 2003-03-31 Angus Leeming <leeming@lyx.org>
5170 * text.C (fill): ensure that the signature is the same as that in the
5173 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
5175 * text2.C (redoParagraphs): adjust
5176 (updateCounters): adjust
5177 (checkParagraph): adjust
5178 (getColumnNearX): adjust and reformat a bit.
5180 * text.C (top_y): adjust
5182 (leftMargin): adjust
5183 (prepareToPrint): adjust
5185 (getRowNearY): adjust
5187 * lyxtext.h: make rowlist_ mutable.
5189 * RowList.h: add const_iterator
5190 * RowList.C: adjust for RowList::const_iterator.
5192 * text2.C (getCursorX): make it take a RowList::iterator as arg,
5195 2003-03-31 John Levon <levon@movementarian.org>
5198 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5200 * lyx_main.C: set default fonts from using lyx_gui funcs
5202 * exporter.C: pdf_mode moved from lyxrc
5205 * lyxfunc.C: changes from above
5207 2003-03-31 John Levon <levon@movementarian.org>
5209 * lyx_main.C: fix to the last fix
5211 2003-03-31 John Levon <levon@movementarian.org>
5213 * bufferlist.C: "Load original" -> "Load Original"
5219 * format.C: more Alert cleanups
5221 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5223 * text2.C (removeParagraph): make it take a RowList::iterator as
5225 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5226 (postRowPaint): make it take a RowList::iterator as arg, adjust.
5228 * text.C (anchor_row): make it take a RowList::iterator as arg,
5230 (computeBidiTables): make it take a const reference to Row instead
5231 of Row pointer, adjust.
5232 (leftMargin): make it take a RowList::iterator as arg, adjust.
5233 (rowBreakPoint): adjust
5234 (breakAgainOneRow): make it take a RowList::iterator as arg,
5236 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5238 * bufferview_funcs.C (toggleAndShow): adjust
5240 2003-03-30 John Levon <levon@movementarian.org>
5244 * boost-inst.C: moved to support
5246 * several files: changes as a result
5248 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5250 * text2.C (LyXText): adjust.
5252 (removeRow): make it take a RowList::iterator as arg, adjust.
5253 (fullRebreak): adjust
5254 (deleteEmptyParagraphMechanism): adjust
5255 (clearPaint): adjust
5258 * text.C (top_y): adjust
5259 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5260 (breakAgain): make it take a RowList::iterator as arg, adjust.
5261 (breakParagraph): adjust
5262 (insertChar): adjust
5265 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5266 need_break_row, and refresh_row.
5268 * text3.C (dispatch): adjust
5270 * text2.C (checkParagraph): adjust
5272 (setCursorFromCoordinates): adjust
5274 * text.C (top_y): adjust
5276 (getRow): make it return a RowList::iterator, adjust
5277 (getRowNearY): make it return a RowList::iterator, adjust
5279 * text2.C (init): adjust
5280 (insertRow): remove function
5281 (insertParagraph): adjust
5282 (redoParagraphs): adjust
5283 (fullRebreak): adjust
5284 (updateCounters): adjust
5286 * text.C (top_y): rewrite to use RowList iterators.
5288 (setHeightOfRow): rewrite to sue RowList iterators.
5289 (appendParagraph): adjust
5290 (breakAgain): adjust
5291 (breakAgainOneRow): adjust
5292 (breakParagraph): adjust
5294 (getRowNearY): adjust, and remove commented code.
5296 * lyxtext.h (firstRow): delete function
5297 (lastRow): delete function
5298 (rows): new function (const and non-const versions.)
5299 (insertRow): delete function
5301 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5303 2003-03-29 John Levon <levon@movementarian.org>
5305 * BufferView_pimpl.C: always update scrollbar top
5306 because pasting text when we're anchored could mean we
5307 miss an update altogether
5309 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5311 * text2.C (init): use rowlist_.end() and not 0.
5312 (insertRow): change to take a RowList::iterator as arg, adjust
5314 (insertParagraph): change to take a RowList::iterator as arg,
5316 (redoParagraphs): remove some debug msgs.
5318 * text.C (appendParagraph): change to take a RowList::iterator
5319 arg, adjust for this.
5320 (breakAgain): add an assert
5321 (breakAgainOneRow): ditto
5323 2003-03-29 John Levon <levon@movementarian.org>
5325 * text2.C: do not clear selection after inc/decDepth
5328 2003-03-29 John Levon <levon@movementarian.org>
5331 * buffer.C: fix broken strerrors according to Lars
5333 2003-03-29 John Levon <levon@movementarian.org>
5335 * converters.C: more Alert cleanups
5337 2003-03-29 John Levon <levon@movementarian.org>
5339 * bufferview_funcs.C: remove pointless Alert
5341 * buffer.C: fix confusing error message when
5342 a template is chmoded 000
5344 2003-03-29 John Levon <levon@movementarian.org>
5348 * BufferView_pimpl.C: Alert fixes
5352 * tabular-old.C: remove unused table compat reading
5354 2003-03-29 John Levon <levon@movementarian.org>
5359 * lyx_cb.C: more Alert cleanups
5361 * lyxfunc.C: don't allow chktex if not latex document
5363 2003-03-29 John Levon <levon@movementarian.org>
5367 * buffer.C: warnings pushed down from support/,
5370 2003-03-29 John Levon <levon@movementarian.org>
5372 * lyxfunc.C: safety check for C-r (revert)
5374 2003-03-29 John Levon <levon@movementarian.org>
5377 * bufferlist.C: several UI fixes using Alert::prompt.
5378 Fix the pointless looping quit code. Fix stupid revert
5383 * lyx_cb.C: use Alert::prompt
5385 * lyx_main.C: remove a silly question
5387 * lyxfunc.C: remove a couple of silly questions,
5390 2003-03-28 John Levon <levon@movementarian.org>
5392 * text2.C: fix bug 974 (End on empty par)
5394 2003-03-28 John Levon <levon@movementarian.org>
5396 * BufferView_pimpl.C:
5398 * lfuns.h: remove do-nothing math greek lfuns
5400 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5402 * lyxgluelength.h (isValidGlueLength): add default arg on
5403 parameter 2. Remove default arg from friend in class.
5405 * lyxlength.h (isValidLength): add default arg on parameter 2.
5406 Remove default arg from friend in class.
5408 * text2.C (LyXText): adjust, initialize refresh_row.
5412 (insertParagraph): adjst
5413 (redoParagraphs): adjust
5414 (fullRebreak): adjust
5415 (updateCounters): adjust
5416 (deleteEmptyParagraphMechanism): first attempt at fixing a
5419 * text.C (top_y): adjust
5420 (setHeightOfRow): adjust
5422 (getRowNearY): adjust
5424 * lyxtext.h: include RowList.h
5425 (~LyXText): not needed anymore, deleted.
5426 (firstRow): modify for RowList
5427 (lastRow): new function
5428 Delete firstrow and lastrow class variables, add a Rowlist
5429 rowlist_ class variable.
5431 * lyxrow.C (lastPos): use empty() and not !size() to check if a
5434 * RowList.C (insert): fix case where it == begin().
5436 2003-03-26 Angus Leeming <leeming@lyx.org>
5438 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5439 the thesaurus dialog.
5441 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5443 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5445 * RowList.[Ch]: new files
5447 * ParagraphList.C (erase): handle the case where it == begin
5450 2003-03-25 John Levon <levon@movementarian.org>
5454 * aspell.C: add new aspell support
5457 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5460 2003-03-25 Angus Leeming <leeming@lyx.org>
5463 * LyXAction.C (init): new LFUN_INSET_INSERT.
5465 * BufferView_pimpl.C (dispatch): split out part of the
5466 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5468 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5471 2003-03-25 Angus Leeming <leeming@lyx.org>
5473 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5475 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5478 * text3.C: remove useless row->height(0)
5480 2003-03-25 John Levon <levon@movementarian.org>
5484 * text3.C: rename the refreshing stuff to better names
5486 2003-03-24 John Levon <levon@movementarian.org>
5488 * BufferView_pimpl.h:
5489 * BufferView_pimpl.C: update layout choice on a mouse
5492 2003-03-23 John Levon <levon@movementarian.org>
5494 * Makefile.am: fix commandtags.h reference
5496 2003-03-22 John Levon <levon@movementarian.org>
5498 * BufferView_pimpl.C:
5503 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5505 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5508 * text.C: take the rtl methods out of line
5510 2003-03-21 André Pönitz <poenitz@gmx.net>
5512 * metricsinfo.[Ch]: new files containing structures to be passed around
5513 during the two-phase-drawing...
5515 2003-03-21 André Pönitz <poenitz@gmx.net>
5517 * lyxtextclass.C: read 'environment' tag.
5519 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5521 * text2.C (removeRow): fix bug 964
5523 2003-03-20 John Levon <levon@movementarian.org>
5527 * text2.C: paint cleanups. Inset::update() dropped font
5530 2003-03-19 John Levon <levon@movementarian.org>
5532 * lyxfunc.C: only fitcursor/markDirty if available()
5534 2003-03-19 John Levon <levon@movementarian.org>
5536 * commandtags.h: rename to ...
5538 * lfuns.h: ... this, and renumber / cleanup
5540 2003-03-19 John Levon <levon@movementarian.org>
5542 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5543 fit the cursor after an lfun
5547 * BufferView_pimpl.h:
5548 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5550 * LyXAction.C: layout-character should have ReadOnly
5552 * ParagraphParameters.C:
5554 * bufferview_funcs.C:
5561 * undo_funcs.C: changes from above
5563 2003-03-18 John Levon <levon@movementarian.org>
5565 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5566 remove it from update()
5568 * lyxfunc.C: update layout choice after an lfun
5570 * text3.C: remove extra updateLayoutChoice()s
5572 2003-03-18 John Levon <levon@movementarian.org>
5574 * text.C: top_y change means full repaint, fix
5575 a drawing bug with cursor movement
5577 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5581 * text2.C: anchor row on setCursor
5583 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5585 * lyxtext.h: remove almost all mutable keywords
5588 * text3.C: remove const keywords accordingly
5590 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5592 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5594 (TeXEnvironment): ditto
5597 2003-03-17 John Levon <levon@movementarian.org>
5599 * text.C (rowBreakPoint): remove attempt to fix displayed
5600 math insets inside a manual label
5602 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5604 * lyxtext.h: remove BufferView* as first arg from almost all class
5606 * other files: adjust.
5608 2003-03-17 John Levon <levon@movementarian.org>
5612 * text2.C: more paint cleanups
5614 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5617 * rowpainter.C: remove "smart" background painting code
5619 2003-03-16 John Levon <levon@movementarian.org>
5624 * text3.C: add helper functions for setting refresh_row/y
5626 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
5628 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5629 newline inset which *can* get inserted in the pass_thru layouts.
5630 This is primarily for literate documents.
5632 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
5634 * buffer.C: increment LYX_FORMAT to 223
5636 2003-03-14 André Pönitz <poenitz@gmx.net>
5638 * textclass.h: prepare for environment handling, ws changes
5639 * lyxlayout.C: read latexheader and latexfooter tags
5641 2003-03-14 John Levon <levon@movementarian.org>
5643 * text2.C: rewrite ::status() a bit
5645 2003-03-13 John Levon <levon@movementarian.org>
5647 * lyxtext.h: add some docs
5649 2003-03-13 John Levon <levon@movementarian.org>
5654 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5656 2003-03-13 John Levon <levon@movementarian.org>
5658 * text3.C: fix appendix redrawing
5660 2003-03-13 John Levon <levon@movementarian.org>
5662 * text.C (setHeightOfRow):
5664 * rowpainter.C: make appendix mark have the text
5665 "Appendix" so the user knows what it is
5668 * LColor.C: s/appendixline/appendix/ from above
5670 2003-03-13 John Levon <levon@movementarian.org>
5672 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5674 * text.C: fix a getChar(pos) bug properly
5676 2003-03-13 Angus Leeming <leeming@lyx.org>
5679 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5680 Probably only temporary. Let's see how things pan out.
5682 * BufferView.C (unlockInset):
5683 * BufferView_pimpl.C (fitCursor):
5684 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5686 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5687 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5689 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5690 new functions that convert ParagraphParameters to and from a string.
5692 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5693 BufferView::Pimpl's dispatch.
5694 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5696 2003-03-13 André Pönitz <poenitz@gmx.net>
5700 * factory.C: make it aware of InsetEnv
5702 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5704 * text2.C (setCursor): never ask for one past last
5705 (setCursor): add some debugging messages.
5707 * text.C (singleWidth): never ask for one past last
5708 (singleWidth): ditto
5710 (rightMargin): ditto
5711 (rowBreakPoint): ditto
5712 (setHeightOfRow): ditto
5713 (prepareToPrint): ditto
5715 * rowpainter.C (paintBackground): never ask for one past last
5716 (paintText): never ask for one past last
5718 * paragraph_pimpl.C (getChar): make the assert stricter, never
5719 allow the one past last pos to be taken
5721 * paragraph.C (getChar): ws changes only
5723 * lyxrow.C (nextRowIsAllInset): never ask for one past last
5724 (numberOfSeparators): ditto
5725 (numberOfHfills): ditto
5727 2003-03-12 John Levon <levon@movementarian.org>
5733 * paragraph_funcs.C: fix per-buffer authorlists
5735 2003-03-12 John Levon <levon@movementarian.org>
5737 * text.C: fix newline in right address
5739 2003-03-12 Angus Leeming <leeming@lyx.org>
5741 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5742 duplicate those in LyXFunc::dispatch.
5746 * ToolbarDefaults.C:
5747 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5748 Add LFUN_FONTFREE_UPDATE.
5750 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5751 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5753 * bufferview_func.[Ch]: several new functions to facilliate
5754 transfer of data to and from the character dialog.
5756 2003-03-12 John Levon <levon@movementarian.org>
5761 * paragraph_funcs.C:
5762 * paragraph_pimpl.C:
5766 * text3.C: remove META_NEWLINE in favour of an inset
5769 * rowpainter.C: remove paintNewline (done by inset)
5771 2003-03-12 John Levon <levon@movementarian.org>
5773 * paragraph_pimpl.C: complain about bad getChar()s
5774 for a while at least
5776 2003-03-12 John Levon <levon@movementarian.org>
5779 * buffer.C: move paragraph read into a separate function,
5780 a little renaming to reflect that.
5783 * bufferparams.C: remove the author_ids map, not necessary now
5786 * factory.C: moved Buffer::readInset to here
5788 * paragraph_funcs.h:
5789 * paragraph_funcs.C: readParagraph free function moved from
5792 * tabular.C: name change
5794 2003-03-12 John Levon <levon@movementarian.org>
5797 * ParagraphParameters.C: move par params input to
5800 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5801 behave like a normal read from the stream wrt reading
5802 a line vs. a \\token
5804 2003-03-12 John Levon <levon@movementarian.org>
5807 * ParagraphParameters.h:
5808 * ParagraphParameters.C: move output code to a
5811 2003-03-12 John Levon <levon@movementarian.org>
5813 * BufferView.C (insertLyXFile):
5816 * tabular.C: use a parlist iterator for creating the
5819 2003-03-12 John Levon <levon@movementarian.org>
5821 * buffer.C: make current_change static local not
5824 2003-03-12 John Levon <levon@movementarian.org>
5826 * buffer.C: fix insertStringAsLines for change tracking
5828 2003-03-12 John Levon <levon@movementarian.org>
5835 * bufferparams.C: move author list into params. Rename some
5836 functions. Move the header reading into a separate token
5837 loop. Move the header token reading into BufferParams.
5839 2003-03-12 John Levon <levon@movementarian.org>
5841 * changes.C: put debug inside lyxerr.debugging() checks
5843 2003-03-11 André Pönitz <poenitz@gmx.net>
5845 * factory.C: make it aware of InsetHFill
5847 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5849 * buffer.C (latexParagraphs): move function from here...
5850 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5853 2003-03-10 Angus Leeming <leeming@lyx.org>
5855 * LyXAction.C (init): fix bug in poplating array with multiple entries
5856 with the same LFUN (spotted by JMarc).
5858 2003-03-10 John Levon <levon@movementarian.org>
5861 * text2.C: move getColumnNearX() near its
5864 2003-03-10 John Levon <levon@movementarian.org>
5866 * text.C: fix break before a minipage
5868 2003-03-10 John Levon <levon@movementarian.org>
5870 * text.C: fix the last commit
5872 2003-03-09 John Levon <levon@movementarian.org>
5876 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5877 bug 365 (don't break before insets unless needed). Don't
5878 return a value > last under any circumstances.
5880 2003-03-09 Angus Leeming <leeming@lyx.org>
5882 * BufferView_pimpl.C (trackChanges, dispatch): call
5883 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5885 2003-03-09 Angus Leeming <leeming@lyx.org>
5887 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5888 than Dialogs::showAboutlyx().
5890 2003-03-09 Angus Leeming <leeming@lyx.org>
5892 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5893 than Dialogs::showTabularCreate().
5895 2003-03-09 John Levon <levon@movementarian.org>
5899 * text2.C: 3rd arg to nextBreakPoint was always the same.
5902 2003-03-08 John Levon <levon@movementarian.org>
5909 * text2.C: Remove the "main" bit from the "main body"
5912 2003-03-08 John Levon <levon@movementarian.org>
5914 * text.C (leftMargin): The left margin of an empty
5915 manual label paragraph should not include the label width
5918 * text.C (prepareToPrint): don't attempt to measure hfills
5919 for empty manual label paragraphs - the answer should be 0
5921 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5923 * CutAndPaste.C: remove commented code and reindent.
5925 2003-03-08 John Levon <levon@movementarian.org>
5928 * lyxfunc.C: move reloadBuffer()
5931 * BufferView.C: to here
5933 * lyxvc.C: add comment
5936 * vc-backend.C: call bv->reload() to avoid
5937 getStatus() check on MENURELOAD
5939 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
5941 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5942 to an old format .dep file.
5944 2003-03-07 Angus Leeming <leeming@lyx.org>
5946 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5947 when the LFUN_MOUSE_RELEASE should have been handled by
5948 inset->localDispatch.
5950 2003-03-07 Angus Leeming <leeming@lyx.org>
5952 * BufferView_pimpl.C (dispatch):
5953 * LyXAction.C (init):
5954 * ToolbarDefaults.C (init):
5956 * lyxfunc.C (getStatus):
5957 remove LFUN_INSET_GRAPHICS.
5959 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5961 2003-03-07 Angus Leeming <leeming@lyx.org>
5964 * LyXAction.C (init):
5965 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5967 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5970 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5972 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5973 localDispatch method LFUN_INSET_DIALOG_UPDATE.
5975 2003-03-07 Angus Leeming <leeming@lyx.org>
5977 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5980 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5982 * ParagraphList.C (front): new function
5985 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
5987 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5988 and top_row_offset_. removed var first_y.
5990 * text2.C (LyXText, removeRow):
5992 * BufferView_pimpl.C:
5993 use these methods instead of using first_y
5995 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5997 * text2.C (pasteSelection): adjust for checkPastePossible
5999 * CutAndPaste.C: remove Paragraph * buf and replace with
6000 ParagraphList paragraphs.
6001 (DeleteBuffer): delete
6002 (cutSelection): change the tc type to textclass_type
6003 (copySelection): change the tc type to textclass_type
6004 (copySelection): adjust for ParagraphList
6005 (pasteSelection): change the tc type to textclass_type
6006 (pasteSelection): adjust for Paragraphlist
6007 (nrOfParagraphs): simplify for ParagraphList
6008 (checkPastePossible): simplify for ParagraphList
6009 (checkPastePossible): remove unused arg
6011 * ParagraphList.C (insert): handle the case where there are no
6014 * CutAndPaste.h: make CutAndPaste a namespace.
6016 * text3.C (dispatch): adjust
6018 * text.C (breakParagraph): add a ParagraphList as arg
6020 * paragraph_funcs.C (breakParagraph): change to take a
6021 BufferParams and a ParagraphList as args.
6022 (breakParagraphConservative): ditto
6023 (mergeParagraph): ditto
6024 (TeXDeeper): add a ParagraphList arg
6025 (TeXEnvironment): ditto
6028 * buffer.C (readLyXformat2): adjust
6029 (insertStringAsLines): adjust
6030 (latexParagraphs): adjust
6032 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6033 (cutSelection): adjust
6034 (pasteSelection): adjust
6036 * BufferView_pimpl.C (insertInset): adjust
6038 2003-03-05 Angus Leeming <leeming@lyx.org>
6041 * LyXAction.C (init):
6042 * BufferView_pimpl.C (dispatch):
6043 * lyxfunc.C (getStatus):
6044 remove LFUN_CHILD_INSERT.
6046 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6048 2003-03-05 Angus Leeming <leeming@lyx.org>
6051 * LyXAction.C (init):
6052 * src/factory.C (createInset):
6053 * lyxfunc.C (getStatus):
6054 * text3.C (dispatch):
6055 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6057 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6059 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6061 * ParagraphList.C (insert): handle insert right before end()
6062 (erase): fix cases where it can be first or last paragraph.
6064 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6066 * paragraph_funcs.C (TeXEnvironment): remove all usage of
6067 Paragraph::next and Paragraph::previous
6070 * text.C (breakParagraph): adjust
6072 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6073 BufferParams& as arg.
6074 (breakParagraph): use ParagraphList::insert
6075 (breakParagraphConservative): take a Buffer* instead of a
6076 BufferParams& as arg.
6077 (breakParagraphConservative): use ParagraphList::insert.
6079 * buffer.C (insertStringAsLines): un-const it
6080 (insertStringAsLines): adjust
6082 * ParagraphList.C (insert): new function
6084 * CutAndPaste.C (pasteSelection): adjust
6086 * text.C (backspace): adjust
6088 * tabular.C (SetMultiColumn): adjust
6090 * CutAndPaste.C (cutSelection): adjust
6091 (pasteSelection): adjust
6093 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6094 Buffer const * as arg
6096 * ParagraphList.C (erase): new function
6097 * paragraph_funcs.C (mergeParagraph): use it
6098 (mergeParagraph): make it take a Buffer* instead of a
6099 BufferParams* as arg
6101 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6103 (breakParagraphConservative): ditto
6105 * paragraph.h: remove the breakParagraph friend
6107 * paragraph.C (eraseIntern): new function
6108 (setChange): new function
6110 * paragraph_funcs.C (mergeParagraph): make it take a
6111 ParagraphList::iterator instead of a Paragraph *, adjust
6114 * paragraph.h: move an #endif so that the change tracking stuff
6115 also works in the NO_NEXT case.
6117 2003-03-04 Angus Leeming <leeming@lyx.org>
6120 * LyXAction.C: new LFUN_INSET_MODIFY.
6122 * BufferView_pimpl.C (dispatch): if an inset is found to be open
6123 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6125 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6127 * several files: ws changes only
6129 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6130 (TeXEnvironment): ditto
6133 * buffer.C (makeLaTeXFile): adjust
6134 (latexParagraphs): make it take ParagraphList::iterator as args
6136 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6138 * buffer.C (latexParagraphs): adjust
6140 * paragraph.C (TeXOnePar): move function...
6141 (optArgInset): move function...
6142 (TeXEnvironment): move function...
6143 * paragraph_pimpl.C (TeXDeeper): move function...
6144 * paragraph_funcs.C: ...here
6146 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6148 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6150 * buffer.C (readInset): remove compability code for old Figure and
6153 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6155 * buffer.C: ws changes
6158 * BufferView_pimpl.C: ditto
6161 * bufferlist.h: ditto
6165 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
6167 * converter.[Ch]: split into itself +
6170 * Makefile.am: += graph.[Ch] + format.[Ch]
6177 * lyxrc.C: added #include "format.h"
6179 2003-02-27 Angus Leeming <leeming@lyx.org>
6181 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6184 * factory.C (createInset): add "label" to the factory.
6186 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6187 string and do no more.
6189 2003-02-27 Angus Leeming <leeming@lyx.org>
6192 * LyXAction.C (init):
6193 * factory.C (createInset):
6194 * BufferView_pimpl.C (dispatch):
6195 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6197 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6199 * lyxfunc.C (dispatch):
6200 * text3.C (dispatch): pass name to params2string.
6202 2003-02-26 Angus Leeming <leeming@lyx.org>
6204 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6206 Rearrange the ~includes. Strip out the unnecessary ones.
6208 * factory.C (createInset): reformat.
6209 create new insets for the various LFUN_XYZ_APPLY lfuns.
6211 2003-02-26 John Levon <levon@movementarian.org>
6214 * lyxrow.C: add isParStart,isParEnd helpers
6216 * paragraph.h: make isInserted/DeletedText take refs
6218 * paragraph_funcs.h:
6219 * paragraph_funcs.C: remove #if 0'd code
6224 * text.C: use lyxrow helpers above.
6225 Move draw and paint routines to RowPainter.
6226 Make several methods use refs not pointers.
6227 Make backgroundColor() const.
6228 Add markChangeInDraw(), isInInset().
6229 Merge changeRegionCase into changeCase.
6230 Make workWidth() shouldn't-happen code into an Assert.
6233 * rowpainter.C: new class for painting a row.
6236 * vspace.C: make inPixels take a ref
6238 2003-02-26 Angus Leeming <leeming@lyx.org>
6240 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6243 2003-02-25 John Levon <levon@movementarian.org>
6245 * ispell.C: give the forked command a more accurate name
6247 2003-02-22 John Levon <levon@movementarian.org>
6250 * toc.C: make TocItem store an id not a Paragraph *
6253 2003-02-21 Angus Leeming <leeming@lyx.org>
6255 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6256 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6257 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6258 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6259 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6260 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6262 * BufferView_pimpl.C (dispatch):
6263 * LyXAction.C (init):
6264 * factory.C (createInset):
6265 * lyxfunc.C (getStatus, dispatch):
6266 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6268 2003-02-21 Angus Leeming <leeming@lyx.org>
6270 * BufferView_pimpl.C (MenuInsertLyXFile):
6271 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6272 * lyxfunc.C (menuNew, open, doImport):
6273 no longer pass a LyXView & to fileDlg.
6275 2003-02-21 Angus Leeming <leeming@lyx.org>
6277 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6278 * LyXAction.C: change, BIBKEY to BIBITEM.
6279 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6280 Change InsetBibKey to InsetBibitem.
6281 Change BIBKEY_CODE to BIBITEM_CODE.
6282 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6283 * factory.C: replace insetbib.h with insetbibitem.h.
6284 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6285 * paragraph.C: replace insetbib.h with insetbibitem.h.
6286 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6287 Change bibkey() to bibitem().
6288 * text.C: remove insetbib.h.
6289 * text2.C: replace insetbib.h with insetbibitem.h.
6290 change bibkey() to bibitem().
6291 * text3.C: remove insetbib.h.
6292 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6294 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6296 * lyxrc.C (output): enclose user email in quotes (in case there are
6299 2003-02-18 John Levon <levon@movementarian.org>
6301 * buffer.h: add std::
6303 2003-02-17 John Levon <levon@movementarian.org>
6309 * pspell.C: reworking. Especially in ispell, a large
6310 number of clean ups and bug fixes.
6312 * lyxfunc.C: fix revert to behave sensibly
6314 2003-02-17 André Pönitz <poenitz@gmx.net>
6317 * commandtags.h: new LFUN_INSERT_BIBKEY
6327 * paragraph_func.C: remove special bibkey handling
6329 2003-02-17 John Levon <levon@movementarian.org>
6331 * text.C (Delete): fix case where delete at the end of
6332 the very first paragraph would not merge the pars
6334 2003-02-17 John Levon <levon@movementarian.org>
6336 * lyxrow.C: fix lastPrintablePos()
6338 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6340 * bufferparams.C (writeLaTeX): add a std:here
6342 * buffer.C: and remove a using directive there
6344 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6346 * buffer.C (makeLaTeXFile): move the code that generates the
6349 * bufferparams.C (writeLaTeX): ... in this new method
6351 * LaTeXFeatures.C (getEncodingSet): make const
6352 (getLanguages): make const
6354 * MenuBackend.C (binding): returns the binding associated to this
6356 (add): sets the status of each item by calling getStatus. Adds
6358 (read): add support for OptSubMenu
6359 (expand): remove extra separator at the end of expanded menu
6361 2003-02-15 John Levon <levon@movementarian.org>
6364 * BufferView_pimpl.C:
6366 * bufferlist.C: remove pointless BufferStorage bloat. Remove
6367 inset code that had no actual effect. Remove unneeded status
6370 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6372 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6375 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
6377 * text.C (drawLengthMarker): also draw an arrow marker for
6378 symbolic lengths (medskip...)
6380 2003-02-14 John Levon <levon@movementarian.org>
6383 * tabular.C: better method names
6385 2003-02-14 John Levon <levon@movementarian.org>
6387 * BufferView_pimpl.C:
6392 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6393 it's a more accurate name. Remove some pointless uses.
6395 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6397 * text2.C (LyXText): change order of initilizers to shut off
6400 2003-02-14 John Levon <levon@movementarian.org>
6402 * buffer.C: use ParIterator for getParFromID()
6406 * paragraph_pimpl.h:
6407 * paragraph_pimpl.C: remove unused getParFromID()
6409 2003-02-14 John Levon <levon@movementarian.org>
6411 * buffer.C: remove some very old #if 0'd parse code
6413 2003-02-13 John Levon <levon@movementarian.org>
6417 * text2.C: move hfillExpansion(), numberOfSeparators(),
6418 rowLast(), rowLastPrintable(), numberofHfills(),
6419 numberOfLabelHfills() ...
6422 * lyxrow.C: ... to member functions here.
6427 * text.C: remove LyXText::beginningOfMainBody(), and call
6428 p->beginningOfMainBody() directly. Move the check for
6429 LABEL_MANUAL into the latter.
6436 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6442 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6443 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6445 2003-02-13 John Levon <levon@movementarian.org>
6447 * CutAndPaste.C: remove debug
6449 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6451 * paragraph.C (asString): remove two unused variables
6453 * lyxtextclass.C (readTitleType):
6455 (LyXTextClass): handle new members titletype_ and titlename_
6457 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6459 2003-02-09 John Levon <levon@movementarian.org>
6462 * buffer.C: replace hand-coded list with a map for the dep clean
6464 2003-02-08 John Levon <levon@movementarian.org>
6466 * LaTeX.C: consolidate code into showRunMessage() helper
6468 2003-02-08 John Levon <levon@movementarian.org>
6473 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6474 and pass the size in explicitly
6476 * BufferView_pimpl.h:
6477 * BufferView_pimpl.C:
6479 * BufferView.C: add getCurrentChange()
6481 * BufferView_pimpl.h:
6482 * BufferView_pimpl.C: handle change lfuns
6484 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6485 for changes. Mark pasted paragraphs as new.
6487 * support/lyxtime.h:
6488 * support/lyxtime.C:
6489 * DepTable.C: abstract time_t as lyx::time_type
6492 * LColor.C: add colours for new text, deleted text, changebars
6494 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6495 package use "usenames" option.
6499 * LyXAction.C: add change lfuns
6503 * author.C: author handling
6506 * buffer.C: add a per-buffer author list, with first entry as
6507 current author. Handle new .lyx tokens for change tracking. Output
6508 author list to .lyx file. Output dvipost stuff to .tex preamble.
6509 Bump lyx format to 222.
6512 * bufferlist.C: add setCurrentAuthor() to reset current author details
6516 * bufferparams.C: add param for tracking
6518 * bufferview_funcs.C: output change info in minibuffer
6522 * changes.C: add change-tracking structure
6525 * debug.C: add CHANGES debug flag
6528 * lyxfind.C: add code for finding the next change piece
6531 * lyxrc.C: add user_name and user_email
6534 * lyxrow.C: add a metric for the top of the text line
6537 * text.C: implement accept/rejectChange()
6540 * text.C: paint changebars. Paint new/deleted text in the chosen
6541 colours. Strike through deleted text.
6545 * paragraph_pimpl.h:
6546 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6547 in the current change to the insert functions. Rework erase to
6548 mark text as deleted, adding an eraseIntern() and a range-based
6549 erase(). Implement per-paragraph change lookup and
6552 * paragraph_funcs.C: Fixup paste for change tracking.
6554 * tabular.C: mark added row/columns as new.
6556 * text.C: fix rowLast() to never return -1. Don't allow
6557 spellchecking of deleted text. Track transpose changes. Don't
6558 allow paragraph break or merge where appropriate.
6560 * text2.C: leave cursor at end of selection after a cut.
6562 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6564 * text.C (getLengthMarkerHeight):
6565 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6566 visible on screen too.
6568 2003-02-07 John Levon <levon@movementarian.org>
6570 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6572 2003-02-05 Angus Leeming <leeming@lyx.org>
6574 * lyxserver.C (read_ready): revert my patch of 11 September last year
6575 as it sends PC cpu through the roof. Presumably this means that
6576 the lyxserver will no longer run on an Alpha...
6578 2003-01-30 Angus Leeming <leeming@lyx.org>
6580 * factory.C (createInset): create an InsetCommandParam of type "index"
6581 and use it to 'do the right thing'.
6583 * text2.C (getStringToIndex): ensure that cursor position is always
6584 reset to the reset_cursor position.
6586 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6588 * lyxfunc.C (getStatus): "buffer-export custom" should never be
6591 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
6595 * lyxfunc.C: Output messages with identical spelling, punctuation,
6598 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
6600 * MenuBackend.C (expandFormats): List only viewable export formats
6603 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6606 * lyxfunc.C (getStatus): Make sure that formats other than
6607 "fax" can also be disabled
6609 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6611 * text3.C (dispatch): put the lfuns that insert insets in 3
6612 groups, and call doInsertInset with appropriate arguments.
6613 (doInsertInset): new function, that creates an inset and inserts
6614 it according to some boolean parameters.
6616 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6618 * buffer.C (readFile): remember to pass on 'par' when calling
6619 readFile recursively.
6621 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6623 * MenuBackend.C (expandFormats): add "..." to import formats.
6625 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
6627 * paragraph.C (asString): Remove XForms RTL hacks.
6629 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
6630 * buffer.C: fix typo
6632 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6634 * Makefile.am (LIBS): delete var
6635 (lyx_LDADD): add @LIBS@ here instead.
6637 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
6639 * Clarify the meaning of "wheel mouse jump"
6641 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6643 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6646 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6648 * importer.C (Loaders): do not preallocate 3 elements in the
6649 vector, since one ends up with 6 elements otherwise
6651 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6653 * DepTable.C (write): write the file name as last element of the
6654 .dep file (because it may contain spaces)
6655 (read): read info in the right order
6657 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6659 * paragraph_pimpl.C (simpleTeXBlanks):
6660 (simpleTeXSpecialChars):
6661 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6663 * tabular.C (latex): add some missing case statements. Reindent.
6665 * MenuBackend.C (expandToc): remove unused variable.
6667 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
6676 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6679 2003-01-05 John Levon <levon@movementarian.org>
6682 * BufferView.C: add getEncoding()
6685 * kbsequence.C: do not store last keypress
6688 * lyxfunc.C: store last keypress here instead. Pass encoding
6691 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6693 * lyx_main.C (init): remove annoying error message when following
6694 symbolic links (bug #780)
6696 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6698 * text.C (insertChar):
6699 * lyxrc.C (getDescription): remove extra spaces
6701 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6703 * lyxrc.C (getDescription): remove extra spaces
6705 2002-12-20 John Levon <levon@movementarian.org>
6707 * text3.C: hack fix for page up/down across tall rows
6709 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6711 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6714 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6716 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6717 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6718 thesaurus is not compiled in
6720 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
6722 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
6724 2002-12-16 Angus Leeming <leeming@lyx.org>
6727 * lyx_main.C (init): remove override_x_deadkeys stuff.
6729 2002-12-12 John Levon <levon@movementarian.org>
6731 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6732 insert. Only remove shift modifier under strict
6735 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6737 * MenuBackend.C (expandToc): fix crash.
6739 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6741 * MenuBackend.C (expandToc): gettext on float names.
6743 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6745 * lyxlength.[Ch]: set default unit to UNIT_NONE,
6746 implement bool empty() [bug 490]
6748 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6750 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6752 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6754 * several files: ws changes
6756 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6758 * text2.C (setCounter): clean up a bit, use boost.format.
6759 (updateCounters): initialize par upon declaration.
6761 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6762 if the layout exists. We do not just store the layout any more.
6763 (SwitchLayoutsBetweenClasses): use boost.format
6765 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6767 * converter.C (convert): if from and to files are the same, use a
6768 temporary files as intermediary
6770 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6773 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6775 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
6777 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6779 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6781 * tabular.C (asciiPrintCell): use string(size, char) instead of
6784 * sgml.C (openTag): fix order of arguments to string constructor
6787 * lyxfunc.C (dispatch): use boost.format
6789 * lots of files: change "c" -> 'c'
6791 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
6793 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6795 2002-11-25 Angus Leeming <leeming@lyx.org>
6797 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6799 * lyx_main.C (init): compile fix.
6801 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6803 * lyx_cb.C (start): boost.formatify
6804 do not include <iostream>
6806 * lengthcommon.C: ws only
6808 * boost-inst.C,BoostFormat.h: add more explict instantations
6810 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6812 * lots of files: handle USE_BOOST_FORMAT
6814 2002-11-21 John Levon <levon@movementarian.org>
6816 * pspell.C: fix compile
6818 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6820 * lyxfunc.C (dispatch): use boost::format
6824 * lyxfont.C (stateText): use boost::format
6826 * lyx_main.C (LyX): use boost::format
6828 (queryUserLyXDir): ditto
6831 (typedef boost::function): use the recommened syntax.
6833 * importer.C (Import): use boost::format
6835 * debug.C (showLevel): use boost::format
6837 * converter.C (view): use boost::format
6842 * bufferview_funcs.C (currentState): use boost::format
6844 * bufferlist.C (emergencyWrite): use boost::format
6846 * buffer.C (readLyXformat2): use boost::format
6847 (parseSingleLyXformat2Token): ditto
6849 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6851 * LaTeX.C (run): use boost::format
6853 * Chktex.C (scanLogFile): use boost::format
6855 * BufferView_pimpl.C (savePosition): use boost::format
6856 (restorePosition): ditto
6857 (MenuInsertLyXFile): ditto
6859 * BoostFormat.h: help file for explicit instation.
6861 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
6863 * tabular.C (latex): Support for block alignment in fixed width
6866 2002-11-17 John Levon <levon@movementarian.org>
6868 * BufferView_pimpl.C:
6870 * lyxfunc.C: split filedialog into open/save
6872 2002-11-08 Juergen Vigna <jug@sad.it>
6874 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6875 by my last patch (hopefully).
6877 2002-11-08 John Levon <levon@movementarian.org>
6886 * toc.C: ParConstIterator, and use it (from Lars)
6888 2002-11-07 Ben Stanley <bds02@uow.edu.au>
6890 * lyxtextclass.[Ch]: revise and add doxygen comments
6892 2002-11-07 John Levon <levon@movementarian.org>
6894 * text.C: fix progress value for spellchecker
6896 * toc.C: fix navigate menu for insetwrap inside minipage
6898 * paragraph_funcs.C: added FIXME for suspect code
6900 2002-11-07 John Levon <levon@movementarian.org>
6902 * BufferView_pimpl.C: fix redrawing of insets
6905 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6907 * text2.C (updateCounters): fix bug 668
6909 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
6911 * text3.C (dispatch): Do not make the buffer dirty when moving the
6914 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6916 * vc-backend.C: STRCONV
6919 * text2.C (setCounter): STRCONV
6921 * paragraph.C (asString): STRCONV
6923 * lyxlength.C (asString): STRCONV
6924 (asLatexString): ditto
6926 * lyxgluelength.C (asString): STRCONV
6927 (asLatexString): ditto
6929 * lyxfunc.C (dispatch): STRCONV
6932 * lyxfont.C (stateText): STRCONV
6934 * importer.C (Import): STRCONV
6936 * counters.C (labelItem): STRCONV
6937 (numberLabel): ditto
6938 (numberLabel): remove unused ostringstream o
6943 * bufferview_funcs.C (currentState): STRCONV
6945 * buffer.C (readFile): STRCONV
6946 (asciiParagraph): ditto
6947 (makeLaTeXFile): ditto
6949 * Spacing.C (writeEnvirBegin): STRCONV
6951 * LaTeXFeatures.C (getLanguages): STRCONV
6952 (getPackages): ditto
6954 (getBabelOptions): ditto
6955 (getTClassPreamble): ditto
6956 (getLyXSGMLEntities): ditto
6957 (getIncludedFiles): ditto
6961 (scanAuxFile): ditto
6964 * LString.h: add the STRCONV macros
6966 * BufferView_pimpl.C (savePosition): STRCONV
6967 (restorePosition): ditto
6968 (MenuInsertLyXFile): ditto
6970 * vc-backend.C (scanMaster): change from submatch[...] to
6973 * funcrequest.C: include config.h
6975 * factory.C: include config.h
6977 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6979 * box.C: include config.h
6981 * LaTeX.C (scanAuxFile): change from submatch[...] to
6985 2002-10-25 Angus Leeming <leeming@lyx.org>
6987 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6989 * ispell.[Ch] (setError): new method.
6990 * ispell.C (c-tor): move out child process into new class LaunchIspell.
6991 Use setError() insetead of goto END.
6993 * lyx_cb.C (AutoSave): move out child process into new class
6996 2002-10-30 John Levon <levon@movementarian.org>
6998 * text3.C: make start appendix undoable
7000 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
7002 * lyxlength.C (inPixels): Fix returned value.
7004 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7007 2002-10-24 Angus Leeming <leeming@lyx.org>
7009 * lyxgluelength.h: no need to forward declare BufferParams
7010 or BufferView, so don't.
7012 2002-10-21 John Levon <levon@movementarian.org>
7014 * BufferView.C: menuUndo ->undo, redo
7016 * BufferView.h: document, remove dead, make some methods private
7018 * paragraph_funcs.h:
7019 * paragraph_funcs.C:
7020 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7025 * sgml.C: move sgml open/close tag into sgml.C
7027 * bufferview_funcs.h: unused prototype
7030 * lyxfunc.C: remove unused
7033 * text.C: remove unused
7035 2002-10-21 John Levon <levon@movementarian.org>
7039 * BufferView_pimpl.h:
7040 * BufferView_pimpl.C: fix mouse wheel handling based on
7041 patch from Darren Freeman
7043 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
7045 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7047 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
7049 * lyxlength.C (inPixels): Fix hanfling of negative length.
7050 Fix LyXLength::MU case.
7052 2002-10-16 John Levon <levon@movementarian.org>
7054 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7056 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7058 * converter.C (view): add support for $$i (file name) and $$p
7059 (file path) for the viewer command. If $$i is not specified, then
7060 it is appended to the command (for compatibility with old syntax)
7062 2002-10-14 Juergen Vigna <jug@sad.it>
7064 * undo_funcs.C (textHandleUndo): alter the order in which the
7065 new undopar is added to the LyXText, as we have to set first
7066 the right prev/next and then add it as otherwise the rebuild of
7067 LyXText is not correct. Also reset the cursor to the right paragraph,
7068 with this IMO we could remove the hack in "redoParagraphs()".
7070 2002-10-09 Angus Leeming <leeming@lyx.org>
7072 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7073 to turn off an optimisation if a new inset is to be inserted.
7075 2002-10-11 André Pönitz <poenitz@gmx.net>
7077 * lyxtext.h: make some functions public to allow access
7078 from inset/lyxtext for handling LFUN_PRIOR/NEXT
7080 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7082 * text3.C (dispatch): when changing layout, avoid an infinite loop
7085 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7087 * lyxrc.C (read): treat a viewer or converter command of "none" as
7090 * MenuBackend.C (expandFormats): for an update, also allow the
7091 formats that are not viewable
7093 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7094 script if it is newer than the lyxrc.defaults in user directory
7096 2002-10-07 André Pönitz <poenitz@gmx.net>
7098 * text.C: Vitaly Lipatov's small i18n fix
7100 2002-09-25 Angus Leeming <leeming@lyx.org>
7102 * ispell.h: doxygen fix.
7104 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
7106 * buffer.h (readFile): Add a new argument to the method, to allow
7107 reading of old-format templates.
7109 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
7111 * toc.C (getTocList): Get TOC from InsetWrap.
7113 2002-09-16 John Levon <levon@movementarian.org>
7115 * lyxfunc.C: check tabular for cut/copy too
7117 2002-09-12 John Levon <levon@movementarian.org>
7122 * factory.C: add header
7124 * paragraph_funcs.h:
7125 * paragraph_funcs.C: cleanup
7127 2002-09-11 John Levon <levon@movementarian.org>
7129 * PrinterParams.h: odd/even default to true
7131 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
7133 * PrinterParams.h: update printer parameters for new xforms dialog
7135 2002-09-11 Angus Leeming <leeming@lyx.org>
7137 * lyxserver.C (read_ready): re-write to make it more transparent
7138 and to make it work in coherent fashion under Tru64 Unix.
7140 2002-09-11 André Pönitz <poenitz@gmx.net>
7144 * text3.C: implement LFUN_WORDSEL
7146 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7148 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7149 make floatlist_ a boost::shared_ptr<FloatList>
7151 * lyxtextclass.C: include FloatList.h
7152 (LyXTextClass): initialize floatlist_
7153 (TextClassTags): add TC_NOFLOAT
7154 (Read): match "nofloat" to TC_NOFLOAT and use it.
7155 (readFloat): modify call to floatlist_
7159 * FloatList.[Ch] (FloatList): remove commented out float
7161 (erase): new function
7163 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7165 * MenuBackend.C (expandToc): fix crash when there is no document
7168 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
7170 * many files: Add insetwrap.
7172 2002-09-09 John Levon <levon@movementarian.org>
7174 * text2.C: remove confusing and awkward depth wraparound
7176 2002-09-09 John Levon <levon@movementarian.org>
7178 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7181 * buffer.C: remove getIncludeonlyList()
7184 * lyxfunc.C: remove headers
7186 2002-09-09 Juergen Vigna <jug@sad.it>
7188 * text.C (getColumnNearX): fix form Michael this is most
7189 probably a cut&paste bug.
7191 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7193 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7195 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7196 references, ws changes.
7198 * text2.C (init): update counters after init
7199 (insertParagraph): no need to set counter on idividual paragraphs.
7200 (setCounter): access the counters object in the textclass object
7201 on in the buffer object.
7202 (updateCounters): ditto
7204 * lyxtextclass.C: include counters.h, add variable ctrs_ as
7205 shared_ptr<Counters> to avoid loading counters.h in all
7207 (LyXTextClass): initialize ctrs_
7208 (TextClassTags): add TC_COUNTER, and ...
7209 (Read): use it here.
7210 (CounterTags): new tags
7211 (readCounter): new function
7212 (counters): new funtion
7213 (defaultLayoutName): return a const reference
7215 * counters.C (Counters): remove contructor
7216 (newCounter): remove a couple of unneeded statements.
7217 (newCounter): simplify a bit.
7218 (numberLabel): some small formatting changes.
7220 * buffer.[Ch]: remove all traces of counters, move the Counters
7221 object to the LyXTextClass.
7223 2002-09-06 Alain Castera <castera@in2p3.fr>
7225 * tabular.C: uses \tabularnewline; uses >{...} construct from array
7226 package to set the horizontal alignment on fixed width columns.
7229 * lyx_sty.h: added tabularnewline macro def.
7231 * LaTeXFeatures.C: added NeedTabularnewline macro feature
7233 2002-09-06 John Levon <levon@movementarian.org>
7235 * LyXAction.C: tooltips for sub/superscript
7237 * MenuBackend.C: a bit more verbose
7239 * lyxfunc.C: tiny clean
7241 * undo_funcs.C: document undo_frozen
7243 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7245 * counters.C (Counters): add missing algorithm counter.
7247 * text2.C (setCounter): lookup the counter with layouts latexname
7248 instead of by section number.
7249 (setCounter): use a hackish way to lookup the correct enum
7251 a float name->type change
7252 reset enum couners with counter name directly instead of depth value.
7254 * counters.C (Counters): remove the push_backs, change to use the
7255 float type not the float name.
7256 (labelItem): remove unused string, float name->type change
7258 * counters.h: don't include vector, loose the enums and sects vectors
7260 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7262 * lyxtextclass.C (TextClassTags): add TC_FLOAT
7263 (Read): add float->TC_FLOAT to textclassTags
7264 (Read): and handle it in the switch
7265 (readFloat): new function
7267 * FloatList.C (FloatList): comment out the hardcoded float
7270 * lyxlayout.h: ws change.
7272 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
7274 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7276 2002-09-03 Angus Leeming <leeming@lyx.org>
7278 * BufferView_pimpl.h: qualified name is not allowed in member
7279 declaration: WorkArea & Pimpl::workarea() const;
7281 * factory.C: added using std::endl directive.
7283 * text3.C: added using std::find and std::vector directives.
7285 2002-08-29 André Pönitz <poenitz@gmx.net>
7288 * text2.C: remove unused member number_of_rows
7291 * BufferView2.C: remove file, move contents to...
7292 * BufferView.C: ... here
7294 * BufferView_pimpl.C:
7295 * factory.C: move more inset creation to factory
7297 * vspace.C: avoid direct usage of LyXText, ws changes
7300 don't provide direct access to WorkArea, use two simple
7301 acessors haveSelction() and workHeight() instead
7304 2002-08-29 John Levon <levon@movementarian.org>
7306 * BufferView_pimpl.C (dispatch): do not continue when
7309 2002-08-28 André Pönitz <poenitz@gmx.net>
7311 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7314 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7316 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
7318 * buffer.C: increment LYX_FORMAT to 221
7320 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7321 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7323 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7325 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7327 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7329 * factory.C (createInset): use LyXTextClass::floats
7331 * MenuBackend.C (expandFloatListInsert):
7332 (expandFloatInsert):
7335 * text2.C (setCounter):
7337 * LaTeXFeatures.C (useFloat):
7338 (getFloatDefinitions):
7340 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7342 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7343 floatlist_, with accessor floats().
7345 * FloatList.h: remove global FloatList
7347 2002-08-26 André Pönitz <poenitz@gmx.net>
7349 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7353 * BufferView_pimpl.C:
7354 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7356 2002-08-25 John Levon <levon@movementarian.org>
7358 * LyXAction.C: fix margin note description
7360 2002-08-24 John Levon <levon@movementarian.org>
7364 * bufferview_funcs.C:
7366 * undo_funcs.C: cleanups
7368 * lyxfunc.C: disable CUT/COPY when no selection
7370 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
7372 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7373 in "enum UNIT"; e.g. PTW for Percent of TextWidth
7375 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7376 Add backward compatibility to "mono", "gray" and "no".
7378 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
7380 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7381 (and file_format >= 200).
7383 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7385 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7387 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7389 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7391 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
7393 * BufferView_pimpl.C:
7400 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7401 inset and code to make it work with the paragraph code. The inset
7402 can be anywhere in the paragraph, but will only do the expected
7403 thing in LaTeX if the layout file contains the parameter line
7405 (or more generally, a nonzero value) for that layout.
7407 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7409 * paragraph.h: remove the declaration of undefined counters class
7412 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
7414 * text2.C (setCounter): fixed enumeration mis-count as reported by
7415 Dr. Richard Hawkins.
7417 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7419 * paragraph_funcs.h: remove some unneeded includes
7421 * text.C (backspace): pasteParagraph now in global scipe
7423 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7424 (pasteSelection): ditto
7426 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7427 * paragraph_funcs.C (pasteParagraph): ... here
7429 2002-08-20 André Pönitz <poenitz@gmx.net>
7431 * commandtags.h: new LFUNs for swapping/copying table row/colums
7434 * lyxfunc.C: support for new lfuns
7436 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7439 * buffer.[Ch]: remove NO_COMPABILITY stuff
7441 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
7443 * boost.C (throw_exception): new file, with helper function for
7444 boost compiled without exceptions.
7449 * ParameterStruct.h:
7450 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7452 * bufferlist.C (emergencyWriteAll): use boost bind
7454 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7456 * text.C: include paragraph_funcs.h
7457 (breakParagraph): breakParagraph is now in global scope
7459 * paragraph_funcs.[Ch]: new files
7461 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7464 * buffer.C: include paragraph_funcs.h
7465 (insertStringAsLines): breakParagraph is now in global scope
7467 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7470 * CutAndPaste.C: include paragraph_funcs.h
7471 (cutSelection): breakParagraphConservative is now in global scope
7472 (pasteSelection): ditto
7474 * buffer.h: declare oprator== and operator!= for
7475 Buffer::inset_iterator
7477 * bufferlist.C (emergencyWrite): don't use fmt(...)
7479 * text3.C: add using std::endl
7481 * BufferView.C (moveCursorUpdate): remove default arg
7483 2002-08-20 André Pönitz <poenitz@gmx.net>
7485 * buffer.[Ch]: move inline functions to .C
7488 * BufferView_pimpl.C:
7490 * buffer.[Ch]: use improved inset_iterator
7493 * paragraph.[Ch]: write one paragraph at a time
7495 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7497 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7498 style if style is not specified.
7500 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7502 * text2.C (setCounter): when searching for right label for a
7503 caption, make sure to recurse to parent insets (so that a caption
7504 in a minipage in a figure float works) (bug #568)
7506 2002-08-20 André Pönitz <poenitz@gmx.net>
7508 * text3.C: new file for LyXText::dispatch() and helpers
7510 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7512 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7514 2002-08-19 André Pönitz <poenitz@gmx.net>
7517 * text.C: new LyXText::dispatch()
7519 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7521 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7523 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7525 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7528 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7530 * Makefile.am: use $(variables) instead of @substitutions@
7532 2002-08-15 André Pönitz <poenitz@gmx.net>
7535 * BufferView_pimpl.C: streamlining mathed <-> outer world
7539 * LyXAction.C: remove unused LFUN_MATH
7541 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7543 * paragraph.[Ch]: add some NO_NEXT ifdefs.
7545 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7547 * paragraph.C (Paragraph): reformat a bit
7548 (cutIntoMinibuffer): use builtin InsetList function instad of
7552 * buffer.C: include boost/bind.hpp, add using std::for_each
7553 (writeFileAscii): use ParagraphList iterators
7554 (validate): use for_each for validate traversal of paragraphs
7555 (getBibkeyList): use ParagraphList iterators
7556 (resizeInsets): use for_each to resizeInsetsLyXText for all
7558 (getParFromID): use ParagraphList iterators
7560 * BufferView2.C (lockInset): use paragraph list and iterators
7562 2002-08-14 John Levon <levon@movementarian.org>
7564 * lyxserver.C: remove spurious xforms include
7566 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7568 * lyxfunc.C (getStatus): disable math-extern outside of math mode
7570 2002-08-13 André Pönitz <poenitz@gmx.net>
7573 * lyxfunc.C: further cleaning
7575 2002-08-13 André Pönitz <poenitz@gmx.net>
7577 * funcrequest.h: new constructor
7579 * funcrequest.C: move stuff here from .h
7582 * BufferView_pimpl.C:
7585 * lyxfunc.C: subsequent changes
7587 * lyxfunc.h: new view() member function
7589 * lyxfunc.C: subsequent changes
7591 2002-08-13 Angus Leeming <leeming@lyx.org>
7594 * BufferView_pimpl.C:
7602 changes due to the changed LyXView interface that now returns references
7603 to member variables not pointers.
7605 2002-08-13 Angus Leeming <leeming@lyx.org>
7607 * WordLangTuple (word, lang_code): return references to strings,
7612 * lyxtext.h: forward-declare WordLangTuple.
7617 * text.C: #include "WordLangTuple.h".
7620 * text.C: (selectNextWordToSpellcheck): constify return type.
7622 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
7628 * paragraph_pimpl.h:
7631 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7633 Made updateCounter always count from start of buffer, and removed
7634 second argument (par).
7635 Reverted floats number display to '#'. Perhaps I'll try again when the
7636 code base is sanitized a bit.
7638 2002-08-12 Angus Leeming <leeming@lyx.org>
7640 * buffer.[Ch] (getLabelList): constify.
7642 2002-08-07 André Pönitz <poenitz@gmx.net>
7644 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7646 * funcrequest.h: extension to keep mouse (x,y) position
7648 2002-08-12 Juergen Vigna <jug@sad.it>
7650 * BufferView2.C (insertErrors): forbid undo when inserting error
7653 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7655 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7657 * ParagraphList.[Ch]: new files
7659 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7661 * BufferView2.C (lockInset): ParagraphList changes
7664 * bufferlist.C: ditto
7668 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7670 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7671 unused class variable counter_,
7673 * paragraph.[Ch] (getFirstCounter): delete unused function
7675 * counters.C: include LAssert.h
7676 (reset): add a new function with no arg, change other version to
7677 not have def. arg and to not allow empty arg.
7679 * text2.C (setCounter): remove empty arg from call to Counters::reset
7681 2002-08-11 John Levon <levon@movementarian.org>
7683 * Makefile.am: add WordLangTuple.h
7685 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7687 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7688 lyxfunc.C lyxlex_pimpl.C: ws changes only.
7690 * insets/insettext.C: InsetList changes
7692 * graphics/GraphicsSupport.C (operator()): InsetList changes
7694 * toc.C (getTocList): InsetList changes
7696 * paragraph_pimpl.[Ch]: InsetList changes
7698 * paragraph.[Ch]: InsetList changes
7700 * buffer.C (inset_iterator): InsetList changes
7701 (setParagraph): ditto
7702 * buffer.h (inset_iterator): ditto
7703 * iterators.C (operator++): ditto
7704 * iterators.h: ditto
7706 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7708 * InsetList.[Ch]: new files, most InsetList handling moved out of
7711 * BufferView2.C (removeAutoInsets): InsetList changes
7713 (ChangeInsets): ditto
7715 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7717 * paragraph_pimpl.h (empty): new function
7719 * paragraph.[Ch] (empty): new function
7721 * other files: use the new Paragraph::empty function
7723 2002-08-09 John Levon <levon@movementarian.org>
7725 * lyxtext.h: remove unused refresh_height
7727 2002-08-09 John Levon <levon@movementarian.org>
7734 * paragraph.C: move sgml char escaping out of paragraph
7737 * paragraph.C: remove id setter
7741 * paragraph_pimpl.C: remove dead tex_code_break_column
7743 * bufferview_funcs.C: small cleanup
7745 * lyxfunc.C: remove dead proto
7747 * lyxtext.h: make some stuff private. Remove some dead stuff.
7749 * lyxgluelength.C: make as[LyX]String() readable
7751 2002-08-08 John Levon <levon@movementarian.org>
7756 * ToolbarDefaults.C:
7759 * toc.C: lyxaction cleanup
7761 2002-08-08 John Levon <levon@movementarian.org>
7763 * BufferView2.C: small cleanup
7766 * lyxfind.C: move unnecessary header into the .C
7768 2002-08-08 John Levon <levon@movementarian.org>
7770 * funcrequest.h: just tedious nonsense
7773 * lyx_main.C: cleanups
7776 * vspace.C: remove dead header lyx_main.h
7778 2002-08-07 Angus Leeming <leeming@lyx.org>
7781 * paragraph_pimpl.h:
7782 Forward declare class Counters in paragraph.h by moving the ctrs member
7783 variable into Paragraph::Pimpl.
7784 (counters): new method, returning a reference to pimpl_->ctrs.
7786 * text2.C: ensuing changes.
7788 2002-08-07 John Levon <levon@movementarian.org>
7790 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7792 * BufferView_pimpl.C: announce X selection on double/triple
7795 * lyx_main.C: use correct bool in batch dispatch
7797 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7799 2002-08-07 André Pönitz <poenitz@gmx.net>
7801 * funcrequest.h: new class to wrap a kb_action and its argument
7804 * BufferView_pimpl[Ch]:
7808 * lyxrc.C: subsequent changes
7811 2002-08-07 John Levon <levon@movementarian.org>
7813 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7814 document options change.
7816 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7821 * makefile.am: move counters functionality over from
7822 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7824 2002-08-06 John Levon <levon@movementarian.org>
7826 * WordLangTuple.h: new file for word + language code tuple
7837 * BufferView2.C: use WordLangTuple
7840 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7842 2002-08-06 John Levon <levon@movementarian.org>
7844 * lyx_main.C: fix cmdline batch handling
7846 2002-08-06 André Pönitz <poenitz@gmx.net>
7848 * lyxrc.C: set default for show_banner to true
7850 2002-08-06 John Levon <levon@movementarian.org>
7852 * pspell.C: fix a crash, and allow new aspell to work
7854 2002-08-06 John Levon <levon@movementarian.org>
7857 * kbmap.C: small cleanup
7860 * vspace.C: add const
7862 2002-08-05 John Levon <levon@movementarian.org>
7864 * LyXAction.C: back to tabular-insert
7866 2002-08-04 John Levon <levon@movementarian.org>
7869 * BufferView.C: cosmetic change
7871 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7881 * BufferView2.C: purge all "Lyx" not "LyX" strings
7884 * lyxcursor.C: attempt to add some documentation
7889 * ToolbarDefaults.C:
7890 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7891 merge with LFUN_TABULAR_INSERT
7898 * pspell.C: split up i/pspell implementations into separate
7899 files, many cleanups
7901 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7903 * text2.C: some cleanup
7905 * lyxfunc.C: don't check for isp_command == "none" any more, it
7906 didn't make any sense
7908 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7913 * makefile.am: move counters functionality over
7914 from text2.C/paragraph.[Ch] to counters.[Ch], and
7916 2002-08-02 John Levon <levon@movementarian.org>
7918 * buffer.C: s/lyxconvert/lyx2lyx/
7920 2002-08-02 Angus Leeming <leeming@lyx.org>
7922 * lyxlex.C: revert John's change as it breaks reading of the user
7925 2002-08-02 Angus Leeming <leeming@lyx.org>
7927 * importer.C (Import):
7928 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7929 changes due to LyXView::view() now returning a boost::shared_ptr.
7931 2002-08-02 John Levon <levon@movementarian.org>
7933 * lyxlex.C: small cleanup
7935 2002-08-02 John Levon <levon@movementarian.org>
7937 * text2.C (status): small cleanup, no logic change
7939 2002-08-01 John Levon <levon@movementarian.org>
7942 * buffer.C (writeFile): don't output alerts, caller
7946 * lyx_cb.C: from above
7948 * lyxfunc.C: allow to open non-existent files
7950 2002-07-31 John Levon <levon@movementarian.org>
7952 * lyxserver.C: don't let incidental errors get
7955 2002-07-30 John Levon <levon@movementarian.org>
7957 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7959 2002-07-30 John Levon <levon@movementarian.org>
7962 * lyxserver.C: remove I/O callback too
7964 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7966 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7969 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7971 * many files: strip,frontStrip -> trim,ltrim,rtrim
7973 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7975 * PrinterParams.h: remove extern containsOnly, and include
7976 support/lstrings.h instead.
7978 * LaTeX.C (scanAuxFile): modify because of strip changes
7980 * buffer.C (makeLaTeXFile): ditto
7981 * bufferparams.C (writeFile): ditt
7982 * lyxfont.C (stateText): ditto
7983 * lyxserver.C (read_ready): ditto
7984 * vc-backend.C (scanMaster): ditto
7986 * BufferView_pimpl.h: ws changes
7988 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7990 2002-07-26 André Pönitz <poenitz@gmx.net>
7992 * kb_sequence.C: remove unnedred usings
7994 2002-07-26 Juergen Vigna <jug@sad.it>
7996 * lyxfind.C (LyXReplace): we have to check better if the returned
7997 text is not of theLockingInset()->getLockingInset().
7999 2002-07-25 Juergen Vigna <jug@sad.it>
8001 * lyxfind.C (LyXReplace): don't replace if we don't get the
8004 * undo_funcs.C (createUndo): remove debugging code.
8006 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
8008 * buffer.C (parseSingleLyXformat2Token): Use default placement
8009 when reading old floats.
8011 * FloatList.C (FloatList): Change the default placement of figure
8012 and tables to "tbp".
8014 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
8016 * MenuBackend.C: using std::max
8018 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8020 * MenuBackend.C (expandToc):
8021 (expandToc2): code moved from xforms menu frontend. It is now
8022 generic and TOCs are transparent to menu frontends.
8024 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8026 * toc.C (getTocList): protect against buf=0
8028 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8029 Menu as first parameter. Now, this calls itself recursively to
8030 expand a whole tree (this will be useful for TOC handling)
8031 (expandFloatInsert): remove 'wide' version of floats
8033 * MenuBackend.h (submenuname): returns the name of the submenu.
8034 (submenu): returns the submenu itself, provided it has been
8035 created by MenuBackend::expand
8037 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8039 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8040 insets which have noFontChange == true. (bug #172)
8042 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8044 * BufferView_pimpl.C: add connection objects and use them...
8047 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8049 * MenuBackend.C (expandLastfiles):
8052 (expandFloatListInsert):
8053 (expandFloatInsert):
8054 (expand): split expand in parts
8056 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8058 * lyx_gui.C: use lyx_gui::exit()
8060 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8062 * LyXAction.C: show the failing pseudo action
8064 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
8066 * buffer.C (readFile): Run the lyxconvert script in order to read
8069 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8073 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8075 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8079 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8081 2002-07-22 Herbert Voss <voss@lyx.org>
8084 * lyxlength.[Ch]: add support for the vertical lengths
8086 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
8088 * toc.[Ch]: std:: fixes
8090 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8092 * lyxrc.C: do not include lyx_main.h
8094 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8100 * BufferView2.C: include "lyxlex.h"
8103 * bufferparams.h: do not #include "lyxlex.h"
8105 * lyxtextclasslist.C (Add): remove method
8106 (classlist): renamed to classlist_
8108 * paragraph_pimpl.C:
8112 * bufferview_funcs.C:
8117 * toc.C (getTocList): use BufferParams::getLyXTextClass
8119 * toc.C (getTocList): use InsetFloat::addToToc
8121 * toc.[Ch]: new files, containing helper functions to handle table
8124 * lyxfunc.C (dispatch): no need to remove spaces around command
8126 (getStatus): handle LFUN_SEQUENCE by returning the status of the
8127 first command of the sequence; it is not very clever, but I do not
8128 have a better idea, actually
8130 * LyXAction.C (LookupFunc): make sure to remove space at the
8131 beginning and end of the command
8133 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8135 * MenuBackend.C (getMenubar): new method: return the menubar of
8137 (read): treat differently reading of menu and menubar (in
8138 particular, the menubar has no name now)
8139 (Menu::menubar): remove
8141 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8144 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8146 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8147 a bibitem inset in a RTL paragraph.
8149 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
8151 * paragraph_pimpl.C: constify
8153 * BufferView_pimpl.C:
8155 * lyxfunc.C: fix dispatch in a nicer way
8157 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8159 * lyxfunc.C (dispatch):
8160 * BufferView_pimpl.C:
8161 * BufferView_pimpl.h:
8163 * BufferView.h: rename Dispatch() to dispatch()
8165 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8167 * lyxlayout.C (Read): honor DependsOn tag
8169 * lyxlayout.[Ch] (depends_on): new method
8171 * version.C.in: update lyx_docversion
8173 * LaTeXFeatures.C (getMacros): only define \LyX when needed
8175 * paragraph.C (validate): remove from here...
8176 * paragraph_pimpl.C (validate): ... and move here
8177 (isTextAt): make it const
8179 * buffer.C (getLists): ws cleanup
8181 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8183 * language.C (read): Use iso8859-1 encoding in latex_lang
8184 (this prevents LyX from crashing when using iso10646-1 encoding).
8186 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8188 * text2.C (toggleInset): if cursor is inside an inset, close the
8189 inset and leave cursor _after_ it
8191 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8193 * lyxfunc.C: move minibuffer completion handling out of here
8195 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8197 * BufferView_pimpl.C:
8198 * LaTeX.C: fix dispatch calls
8200 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
8202 * text.C (drawChars): Fix Arabic text rendering.
8204 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
8208 * lyxfunc.C: remove message-push/pop
8212 * lyxfunc.C: rationalise some code by removing verboseDispatch
8213 in favour of a bool argument to dispatch()
8215 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8217 * lyx_main.C (init): make sure to read symlinks as absolute paths
8219 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8222 * lyxfunc.C: no need for commandshortcut to be a member
8224 2002-07-15 André Pönitz <poenitz@gmx.net>
8226 * converter.C: add support for $$s (scripts from lib/scripts dir)
8227 * lyx_main.C: white space
8229 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8233 * lyxrc.C: remove second exit confirmation
8235 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8240 * BufferView_pimpl.h:
8241 * BufferView_pimpl.C:
8242 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8244 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8246 * MenuBackend.C (expand): add numeric shortcuts to document menu
8248 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8250 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8252 * lyxfont.C (setLyXFamily):
8259 * buffer.C (asciiParagraph): use ascii_lowercase
8261 2002-07-15 Mike Fabian <mfabian@suse.de>
8263 * lyxlex_pimpl.C (search_kw):
8264 * lyxlex.C (getLongString):
8265 * converter.h (operator<):
8266 * converter.C (operator<):
8267 * buffer.C (parseSingleLyXformat2Token):
8269 * ToolbarDefaults.C (read):
8270 * MenuBackend.C (checkShortcuts):
8272 * LColor.C (getFromGUIName):
8273 (getFromLyXName): use the compare_ascii_no_case instead of
8274 compare_no_case, because in turkish, 'i' is not the lowercase
8275 version of 'I', and thus turkish locale breaks parsing of tags.
8277 2002-07-16 Angus Leeming <leeming@lyx.org>
8279 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8280 now takes a Buffer const & argument.
8282 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
8284 * BufferView.C (resize): check there's a buffer to resize
8286 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
8288 * lyxfunc.C: remove dead code
8291 * lyxserver.C: use lyx_guii::set_read_callback
8293 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
8295 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8296 an inset in a RTL paragraph.
8298 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8300 * lyxfunc.C: repaint after a font size update
8302 2002-07-15 André Pönitz <poenitz@gmx.net>
8304 * lyxlength.C: inBP should be able to return negative values
8306 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8308 * lyxfunc.C: use lyx_gui::update_fonts()
8310 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8312 * lyxfunc.C: use lyx_gui::update_color()
8314 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8320 * lyxrc.C: remove file->new asks for name option, and let
8321 buffer-new take an argument
8323 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8325 * BufferView_pimpl.C: remove unneeded extra repaint()
8327 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
8329 * LyXAction.C: allow command-sequence with NoBuffer
8331 * lyxfunc.C: don't insist on trailing ';' for command-sequence
8333 2002-07-10 Angus Leeming <leeming@lyx.org>
8335 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8337 2002-07-09 Angus Leeming <leeming@lyx.org>
8339 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8341 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8343 * lengthcommon.h: whitespace
8345 * lyxfunc.C: update scrollbar after goto paragraph
8347 * lyxtext.h: factor out page break drawing, and fix it so
8348 page break/added space paints as selected nicely
8350 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8352 * BufferView_pimpl.C: add FIXMEs, clean up a little
8354 2002-07-09 André Pönitz <poenitz@gmx.net>
8356 * lyxfont.[Ch]: support for wasy symbols
8358 2002-07-08 André Pönitz <poenitz@gmx.net>
8360 * BufferView_pimpl.C: apply John's patch for #93.
8362 2002-07-05 Angus Leeming <leeming@lyx.org>
8364 * BufferView_pimpl.C (buffer): generate previews if desired.
8366 * LColor.h: add "preview" to the color enum.
8368 * LColor.C (LColor): add a corresponding entry to the items array.
8370 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8373 2002-07-05 Angus Leeming <leeming@lyx.org>
8375 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8376 The body of the code is now in the method that is passed an ostream &
8377 rather than a file name.
8378 Pass an additional only_preamble parameter, useful for the forthcoming
8381 2002-07-03 André Pönitz <poenitz@gmx.net>
8383 * lyxfunc.C: simplify getStatus() a bit for math stuff
8385 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8387 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8389 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8391 * text.C (changeRegionCase): do not change case of all the
8392 document when region ends at paragraph end (bug #461)
8394 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8396 * paragraph.C (startTeXParParams):
8397 (endTeXParParams): add \protect when necessary
8399 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8401 * BufferView_pimpl.C (workAreaExpose): remove warning
8403 2002-06-27 Angus Leeming <leeming@lyx.org>
8405 * Makefile.am: add lyxlayout_ptr_fwd.h.
8407 2002-06-26 André Pönitz <poenitz@gmx.net>
8409 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8411 2002-06-25 Angus Leeming <leeming@lyx.org>
8413 * lyxfunc.C (dispatch): Comment out the call to
8414 grfx::GCache::changeDisplay. The method no longer exists now that the
8415 pixmap generation part of the graphics loader has been moved into
8418 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8420 * text2.C: layout as layout
8422 * text.C: layout as layout
8424 * tabular.C (OldFormatRead): layout as layout
8426 * paragraph_pimpl.C (TeXDeeper): layout as layout
8427 (realizeFont): layout as layout
8429 * paragraph.C (writeFile): layout as layout
8430 (validate): layout as layout
8431 (getFont): layout as layout
8432 (getLabelFont): layout as layout
8433 (getLayoutFont): layout as layout
8434 (breakParagraph): layout as layout
8435 (stripLeadingSpaces): layout as layout
8436 (getEndLabel): layout as layout
8437 (getMaxDepthAfter): layout as layout
8438 (applyLayout): layout as layout
8439 (TeXOnePar): layout as layout
8440 (simpleTeXOnePar): layout as layout
8441 (TeXEnvironment): layout as layout
8442 (layout): layout as layout
8443 (layout): layout as layout
8445 * lyxtextclass.C (compare_name): new functor to work with
8446 shared_ptr, layout as layout
8447 (Read): layout as layout
8448 (hasLayout): layout as layout
8449 (operator): layout as layout
8450 (delete_layout): layout as layout
8451 (defaultLayout): layout as layout
8453 * lyxlayout_ptr_fwd.h: new file
8455 * lyxlayout.C (Read): layout as layout
8457 * lyx_cb.C (MenuInsertLabel): layout as layout
8459 * bufferlist.C (newFile): layout as layout
8461 * buffer.C (readLyXformat2): layout as layout
8462 (parseSingleLyXformat2Token): layout as layout
8463 (insertStringAsLines): layout as layout
8464 (asciiParagraph): layout as layout
8465 (latexParagraphs): layout as layout
8466 (makeLinuxDocFile): layout as layout
8467 (simpleLinuxDocOnePar): layout as layout
8468 (makeDocBookFile): layout as layout
8469 (simpleDocBookOnePar): layout as layout
8470 (getLists): layout as layout
8472 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8474 * CutAndPaste.C (cutSelection): layout as layout
8475 (pasteSelection): layout as layout
8476 (SwitchLayoutsBetweenClasses): layout as layout
8478 * BufferView_pimpl.C (Dispatch): layout as layout
8479 (smartQuote): layout as layout
8481 * BufferView2.C (unlockInset): layout as layout
8483 2002-06-24 André Pönitz <poenitz@gmx.net>
8485 * lyxfunc.C: fix #487
8487 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8491 * lyxfunc.C: remove display_shortcuts, show_banner
8493 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8495 * Buffer_pimpl.C: oops, update on resize
8497 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8504 * BufferView.C: use repaint()
8506 * BufferView_pimpl.h:
8507 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8508 as it's a clearer description. Remove superfluous
8511 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8513 * text.C: fix bug 488. Not ideal, but getting
8514 getWord() to work properly for the insets that
8515 matter is more difficult ...
8517 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8519 * BufferView_pimpl.C:
8522 * lyxfunc.C: remove the six million index lyxfuncs to just
8523 one, and DTRT (bug 458)
8525 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8529 * BufferView_pimpl.h:
8530 * BufferView_pimpl.C: clean up resize() stuff,
8531 and unnecessary updateScreen()s
8533 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8537 * BufferView_pimpl.h:
8538 * BufferView_pimpl.C:
8541 * minibuffer.C: remove focus management of workarea,
8542 not needed. Use screen's greyOut()
8544 2002-06-17 Herbert Voss <voss@lyx.org>
8546 * converter.C: (convert) do not post a message, when converting
8547 fails, let the calling function decide what to do in this case
8549 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
8551 * lyxfunc.C: tidy up a little
8553 2002-06-16 <alstrup@diku.dk>
8555 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8556 Got rid of FORMS_H_LOCATION include. Now we are
8559 2002-06-15 LyX Development team <lyx@rilke>
8561 * buffer.[Ch] (sgmlOpenTag):
8562 (sgmlCloseTag): Added support for avoiding pernicious mixed
8563 content. Return number of lines written.
8566 (makeDocBookFile): Fixed calls to sgml*Tag.
8567 Simple white space clean.
8569 (simpleDocBookOnePar): Simple white space clean.
8571 * tabular.[Ch] (docBook): Renamed to docbook and got another
8572 argument to related with the pernicious mixed content.
8574 (docbookRow): Fixed calls for docbook inset method.
8576 2002-06-15 Lyx Development team <larsbj@birdstep.com>
8578 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8579 so it's X11 independent.
8583 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8585 2002-06-15 Lyx Development team <lyx@electronia>
8587 * intl.h: Renamed getTrans to getTransManager.
8589 2002-06-14 Angus Leeming <leeming@lyx.org>
8591 * Makefile.am: nuke forgotten stl_string_fwd.h.
8593 2002-06-12 Angus Leeming <leeming@lyx.org>
8595 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8597 2002-06-13 Angus Leeming <leeming@lyx.org>
8600 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8602 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
8604 * kbmap.C (getiso): add support for cyrillic and greek
8606 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8610 * BufferView_pimpl.h:
8611 * BufferView_pimpl.C: move bogus scrolling logic
8614 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8617 * BufferView_pimpl.C: view->resize() change
8619 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8621 * BufferView_pimpl.C: topCursorVisible
8624 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8628 * lyx_gui.C: move to frontends/
8632 * lyx_main.C: changes from above
8634 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8641 * lyx_main.C: minor tidy
8643 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8645 * BufferView_pimpl.h:
8646 * BufferView_pimpl.C:
8648 * BufferView.C: make painter() const,
8651 * BufferView2.C: use screen() accessor
8654 * lyx_main.C: some minor cleanup
8656 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8658 * BufferView_pimpl.h:
8659 * BufferView_pimpl.C: remove enter/leaveView,
8662 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8667 * BufferView_pimpl.h:
8668 * BufferView_pimpl.C: only construct screen once,
8671 * lyxrc.C: remove pointless comment
8673 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8676 * BufferView.C: remove active() and belowMouse()
8678 * BufferView_pimpl.h:
8679 * BufferView_pimpl.C: use workarea() not workarea_,
8680 and make it use a scoped_ptr instead
8682 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8684 * lyx_gui.C: add debug message on BadWindow
8686 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8688 * sp_spell.C: fdopen is not part of the C++ standard.
8690 * paragraph.C (InsetIterator): use >= instead of ==
8692 2002-06-07 Angus Leeming <leeming@lyx.org>
8694 Fixes needed to compile with Compaq cxx 6.5.
8695 * BufferView_pimpl.C:
8702 * lyxtextclasslist.C:
8707 all c-library variables have been moved into namespace std. Wrap
8708 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8713 Add a using std::abs declaration.
8715 * kbmap.h (modifier_pair):
8716 * paragraph.h (InsetTable, InsetList):
8717 * lyxfont.h (FontBits):
8718 type definition made public.
8720 * bufferlist.C (emergencyWriteAll): the compiler complains that
8721 there is more than one possible lyx::class_fun template to choose from.
8722 I re-named the void specialisation as lyx::void_class_fun.
8724 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8726 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8727 the compiler is is unable to find tostr in write_attribute.
8729 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8731 * buffer.C (sgmlError): hide #warning
8733 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8735 * xtl/*: get rid of xtl, which is not in use anyway
8737 * LyXAction.C (init):
8738 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8739 were unimplemented xtl experimentation
8741 2002-06-04 André Pönitz <poenitz@gmx.net>
8743 * lyxfunc.C: disable array operation on simple formulae
8745 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
8747 * converter.C: constify a bit
8749 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
8751 * lyx_gui.C: check xforms version correctly
8753 2002-04-30 Herbert Voss <voss@lyx.org>
8755 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8758 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
8760 * lyxvc.C: fix bug 416 (make sure buffer is saved before
8761 attempt to register it with a VCS)
8763 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8765 * lyx_main.C (init): honor variables LYX_DIR_13x and
8768 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8772 * lyx_main.C: fix a crash on bad command line,
8773 and give a useful exit status on error
8775 * lyxfunc.C (doImport): allow -i lyx to work
8777 2002-03-30 André Pönitz <poenitz@gmx.net>
8779 * lyxfunc.C: mathed font changes
8781 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8796 * trans_mgr.h: srcdocs, and some minor cleanups
8798 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8800 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8801 call getFont all the time)
8803 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8805 * switch from SigC signals to boost::signals
8807 2002-05-29 André Pönitz <poenitz@gmx.net>
8809 * paragraph_pimpl.C (getChar): don't call size() too often...
8811 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8813 * paragraph_pimpl.C (insertChar): do not try to update tables when
8814 appending (pos == size())
8816 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8817 in order to reduce drastically the number of comparisons needed to
8818 parse a large document
8820 2002-05-29 André Pönitz <poenitz@gmx.net>
8826 * textclasslist.[Ch]:
8827 * sp_ispell.h: whitespace change
8829 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8831 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8832 lyxaction directly now.
8834 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
8838 * lyxvc.C: remove unused headers
8840 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8847 * undo_funcs.C: some cleanups. Use shared_ptr
8848 and a template for the undo stacks.
8850 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8852 * BufferView_pimpl.h:
8853 * BufferView_pimpl.C:
8860 * text2.C: use key_state/mouse_state
8862 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8864 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8867 * chset.C: change include order
8868 (loadFile): use boost regex and get rid of LRegex and LSubstring
8870 * Makefile.am (BOOST_LIBS): new variable
8873 * LaTeX.C: change include order.
8874 (scanAuxFile): use boost regex and get rid of LRegex and
8878 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8883 * FontInfo.C: moved to frontends/xforms/
8886 * FontLoader.C: moved into frontends for GUIIzation
8891 * lyxfunc.C: changes from above
8893 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8895 * LColor.C: remove spurious X include
8897 * BufferView_pimpl.C:
8902 * text2.C: move font metrics to frontends/
8904 2002-05-24 Juergen Vigna <jug@sad.it>
8906 * undo_funcs.C (textHandleUndo): fix the cursor selection after
8907 setting the undo_cursor.
8909 * ParagraphParameters.h: include local includes first.
8911 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8913 * BufferView_pimpl.C:
8914 * BufferView_pimpl.h:
8918 * screen.C: move WorkArea into frontends/
8924 * BufferView2.C: move LyXScreen into frontends/
8928 * lyx_gui.C: move lyxlookup into frontends/xforms/
8930 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8933 * BufferView_pimpl.C:
8943 * bufferview_funcs.C:
8956 * vc-backend.C: move LyX/XFormsView into frontends/
8958 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8970 * text2.C: move Painter to frontends/
8972 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8974 * buffer.C: comment out some some code that depend upon lyx_format
8977 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8978 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8980 * buffer.h (NO_COMPABILITY): turn off compability
8982 * ColorHandler.C: include scoped_array.hpp
8984 * font.C: Use more specific smart_ptr header.
8987 * ShareContainer.h: ditto
8991 * BufferView_pimpl.h: ditto
8992 * ColorHandler.h: ditto
8994 * kbmap.C (defkey): change call to shared_ptr::reset
8996 2002-05-21 Juergen Vigna <jug@sad.it>
8998 * buffer.C (insertErtContents): fix to insert ert asis if it is
8999 non empty. Skip it completely if it contains only whitespaces.
9001 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
9003 * BufferView_pimpl.C:
9004 * BufferView2.C: clear selection on paste (bug 393)
9006 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9008 * DepTable.C: include ctime
9010 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
9012 * buffer.C (latexParagraphs): Add new argument (moving_arg).
9014 2002-05-14 Juergen Vigna <jug@sad.it>
9016 * text.C (breakParagraph): fixed function to honor the keepempty
9017 layout in the right maner and also to permit the right breaking
9018 algorithm on empty or non empyt keepempty paragraphs.
9020 * paragraph.C (breakParagraph): we have to check also if the par
9021 is really empty (!size()) for isempty otherwise we do the wrong
9024 2002-05-10 Juergen Vigna <jug@sad.it>
9026 * buffer.[Ch] : The following are only changes to the ert
9027 compatibility read reading old LaTeX layout and font stuff and
9028 convert it to ERTInsets.
9030 * buffer.h: added isErtInset().
9032 * buffer.C (struct ErtComp): add a fromlayout bool to check
9033 if we're inside a LaTeX layout.
9034 (isErtInset): new helper function.
9035 (insertErtContents): look for other ert insets before this one
9036 and insert the contents there, so that we don't have subsequent
9037 ERT insets with nothing between them. This way we create only one
9038 inset with multiple paragraphs. Also check if we don't insert only
9039 spaces ' ' as they are ignored anyway afterwards in the .tex file
9040 so if we have only spaces we will ignore this latex part in the
9042 (parseSingleLyXformat2Token \\layout): better compatibility when
9043 reading layout-latex stuff.
9044 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9046 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9047 stuff after reading the inset only get the information back from
9050 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
9052 * buffer.C (makeLaTeXFile): Put language options after loading babel.
9054 * LaTeXFeatures.C (getBabelOptions): New method.
9056 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9058 * BufferView_pimpl.C (Dispatch): work around missing argument for
9061 2002-05-08 Juergen Vigna <jug@sad.it>
9063 * text.C (leftMargin): handle paragraph leftindent.
9065 * paragraph.C (writeFile): write the new \\leftindent tag.
9066 (validate): handle leftindent code.
9067 (TeXEnvironment): handle paragraphleftindent code again.
9069 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9071 * buffer.C (parseSingleLyXformat2Token): added compatibility code
9072 for paragrap_extra indent code and new token \\leftindent.
9073 (latexParagraphs): handle the leftindent as environment.
9075 * ParameterStruct.h: added leftindent support.
9077 * ParagraphParameters.C (leftIndent): added support functions for
9078 the paragraph left indent.
9080 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9083 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
9085 * paragraph.C (isRightToLeftPar): Return false for a paragraph
9088 * text.C (computeBidiTables): No bidi in insetERT.
9090 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9093 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9095 * version.C.in: pre 5
9097 2002-05-02 José Matos <jamatos@fep.up.pt>
9098 * buffer.C (makeDocBookFile): white space changes, add newline to
9100 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9102 * tabular.C (docBook): fix typo.
9104 2002-05-03 Juergen Vigna <jug@sad.it>
9106 * screen.C (drawFromTo): recalculate the rowpointer if we had a
9107 change in LyXText as we can not be sure it was not freed.
9108 (drawOneRow): remove unused code.
9110 * text.C (drawInset): redo the calculation of the need_break_row as
9111 it could have a row which was already freed.
9112 (draw): look at the return value of drawInset and return false if
9113 it also returned false.
9114 (paintRowText): look at the return value of draw and return false if
9115 it also returned false.
9117 * lyxtext.h: added bool return type to drawInset() and draw() so that
9118 if we have a change in the row so that the rowbreak has to be redone
9119 we abort drawing as it will be called again.
9121 2002-05-02 Juergen Vigna <jug@sad.it>
9123 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9124 a change in the maintext also if we're inside an inset.
9125 (Dispatch): set the cursor again after a break line and after the
9126 screen has been updated as it could be we're in a different row.
9128 * text2.C (fixCursorAfterDelete): check to make sure we don't request
9129 to set the cursor behind the pargraph with > size().
9130 (setCursor): check also for the same paragraph when checking where
9131 to put the cursor if we have a NFR inset.
9133 * buffer.C (parseSingleLyXformat2Token): move the compatibility
9134 parts of layout read further up as it still was in the wrong
9137 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9139 * screen.C (drawFromTo): change sine fullRebreak always return
9142 * buffer.C (parseSingleLyXformat2Token): reindent some
9144 * BufferView_pimpl.C (update): change since fullRebreak always
9146 (Dispatch): git rid of the last hardcoded "Standard"s.
9148 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9150 * text2.[Ch] (fullRebreak): make it return void now that we always
9153 2002-04-30 Juergen Vigna <jug@sad.it>
9155 * buffer.C (parseSingleLyXformat2Token): reset the font before the
9156 ert compatibility check for "latex" layout.
9158 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
9160 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9161 minipages: use col% instead of p%, and also use the current font.
9162 (makeLaTeXFile): Fix use babel condition.
9163 (parseSingleLyXformat2Token): Correct font when reading old floats.
9165 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
9167 * BufferView_pimpl.C (Dispatch): Check that float type exists when
9168 inserting list of floats.
9170 2002-04-25 Herbert Voss <voss@lyx.org>
9172 * MenuBackend.C (expand): don't add the graphics extensions to the
9175 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9177 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9178 non-existing layout, do not complain if it was the default layout
9179 of the original class (bug #342)
9181 2002-04-24 Juergen Vigna <jug@sad.it>
9183 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9184 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9186 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
9188 * buffer.C (getBibkeyList): If using \bibliography, return the
9189 option field with the reference itself. Enables us to provide natbib
9190 support when using \bibliography.
9192 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
9194 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9196 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9197 natbib is provided by the LaTeX class.
9199 2002-04-23 Juergen Vigna <jug@sad.it>
9201 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9204 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9206 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9208 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9210 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9211 ensuremath around textordmasculine, textordfeminine and
9214 2002-04-19 Juergen Vigna <jug@sad.it>
9216 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9217 reinitializing the buffer otherwise row-dimensions may be wrong.
9218 (update): reset also the selection cursors if they do exits otherwise
9219 their x/y positions may be wrong.
9221 * text2.C (cursorDown): don't enter the inset if we came from a row
9222 above and are one row over the inset.
9224 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9225 really leaving an inset.
9227 2002-04-18 Juergen Vigna <jug@sad.it>
9229 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9230 of the selected paragraph does not have the selected layout also if
9233 * text2.C (setLayout): fixed bug which did not change last selected
9236 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9237 changed the read and substituted \\end_float with \\end_inset!
9239 * BufferView_pimpl.C (cursorPrevious):
9240 (cursorNext): fixed to make it work with rows heigher than the work
9241 area without moving the cursor only the draw of the row.
9242 (workAreaMotionNotify): fix jumping over high rows.
9244 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9246 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9249 2002-04-16 Juergen Vigna <jug@sad.it>
9251 * text2.C (setCursor): set also the irow().
9252 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9254 (cursorDown): support for locking an inset if the x_fix value goes
9255 inside it. That way I can transverse insets too with cursor up/down.
9257 * lyxrow.h: added irow helper function same as other (i) functions.
9259 * BufferView_pimpl.C (cursorPrevious):
9260 (cursorNext): fixed for insets!
9262 2002-04-15 Juergen Vigna <jug@sad.it>
9264 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9265 position otherwise it is wrong in some cases.
9267 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9268 inside the inset before the call.
9270 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
9272 * buffer.[Ch] (getBibkeyList): make it const.
9274 2002-04-12 Juergen Vigna <jug@sad.it>
9276 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9278 * text2.C (getCursorX): new helper function
9279 (setCursor): compute also ix_
9280 (setCursorFromCoordinates): set also ix.
9282 * lyxcursor.h: added ix_ and helper functions.
9284 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9286 * buffer.C (insertStringAsLines): dont break paragraph if the this
9287 paragraph is inside an inset which does not permit it!
9289 * text.C (breakParagraph): honor keepempty flag and break the paragraph
9290 also with no chars on this paragraph.
9291 (paintRowText): only paint stuff if it's inside the workarea!
9293 * paragraph.C (breakParagraph): honor keepempty flag and break the
9294 paragraph always below not above.
9296 * BufferView2.C (unlockInset): update the paragraph layout on inset
9297 unlock as we changed paragraph in such a case.
9299 * lyxfind.C (LyXFind): clear the former selection if not found!
9301 * text2.C (insertInset): freeze Undo after setUndo so that it is not
9302 again called in insertChar().
9304 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9305 an inset which uses the whole row!
9306 (rightMargin): ditto.
9307 (insertChar): force a rebreak if we inserted an inset!
9309 2002-03-28 Herbert Voss <voss@lyx.org>
9311 * lyxlength.[Ch]: add inBP() to get the right PS-point
9312 units (BigPoint). With inPixels we have rounding errors
9314 2002-04-11 Juergen Vigna <jug@sad.it>
9316 * text2.C (setCursorFromCoordinates): set iy to the right value.
9317 (setCursor): add check if row->previous exists!
9319 * buffer.C (parseSingleLyXformat2Token): reset font after read of
9320 an old float_type as this was the case in the old code!
9322 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9324 * BufferView2.C (showLockedInsetCursor): use iy
9325 (fitLockedInsetCursor): ditto
9327 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9328 locked insets as there we have the right value now.
9330 * lyxcursor.C: added iy_ variable and iy functions to set to the
9331 baseline of cursor-y of the locked inset.
9333 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9334 (setCursor): fixed for insets which need a full row.
9336 * text.C (rowLastPrintable): don't ignore the last space when before
9337 an inset which needs a full row.
9338 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9339 as last character of a row when before a inset which needs a full row.
9341 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9343 * version.C.in: update date
9345 * text2.C (fullRebreak): try to always return true and see what
9348 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9350 * MenuBackend.C (expand): use Floating::listName
9352 * FloatList.C (FloatList): add listName argument to the built-in
9355 * Floating.[Ch]: add listName member, which is the 'List of XXX'
9356 text associated with the float.
9358 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9360 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9362 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9364 * ShareContainer.h: add a couple of missing typenames.
9366 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
9368 * lyxrc.C (getDescription): use _() correctly rather than N_().
9370 2002-03-28 Herbert Voss <voss@lyx.org>
9372 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9373 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9375 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9377 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9378 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9380 2002-03-29 Juergen Vigna <jug@sad.it>
9382 * lyxfunc.C (dispatch): add a missing fitCursor call.
9384 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9385 it was scrolled by a cursor move, so return the bool status.
9387 * BufferView.C (fitCursor): return the bool flag also to the outside
9388 world as this is needed.
9390 * screen.C (toggleToggle): don't subtract the offset if it's positive.
9392 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9393 call the edit() as it is not needed (and wrong) IMO.
9394 (workAreaButtonPress): set the screen_first variable before evt.
9395 unlock the inset as this may change screen_first and then we have
9396 a wrong y position for the click!
9398 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9400 * MenuBackend.C (expand): another translation that I missed
9402 2002-03-28 Juergen Vigna <jug@sad.it>
9404 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9406 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9408 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9410 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9412 * MenuBackend.C (expand): fix export/view/update when there is no
9415 2002-03-27 Herbert Voss <voss@lyx.org>
9417 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9420 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9422 * bufferview_funcs.C (currentState): only show paragraph number
9423 for is DEVEL_VERSION is set.
9425 * lyxfunc.C (dispatch): put warning in INFO channel
9427 * MenuBackend.C (expand): translate the name of floats
9429 * FloatList.C (FloatList): mark the float names for translation
9431 * converter.C (convert): use LibScriptSearch
9433 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9435 * MenuBackend.C (defaults): fix default menu (we might as well get
9438 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9440 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9443 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9445 * lyxvc.C: reorder includes.
9447 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
9449 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9452 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9454 * CutAndPaste.C: change layouts earlier on paste
9455 to avoid crashing when calling getFont()
9457 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9459 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9462 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9464 * WorkArea.C: remove 'Pending' debug message.
9466 * most files: ws cleanup
9468 * buffer.[Ch]: ws changes
9470 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9472 2002-03-21 Juergen Vigna <jug@sad.it>
9474 * tabular.C (SetMultiColumn): collapse also the contents of the
9475 cells and set the last border right. Added a Buffer const * param.
9477 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9479 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9482 2002-03-19 Juergen Vigna <jug@sad.it>
9484 * text2.C (clearSelection): reset also xsel_cache.
9486 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9487 where it needs to be called (John tells us to do so too :)
9488 (selectionLost): reset sel_cache.
9490 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9492 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9494 * text2.C (setCursorIntern): put debuging code in INSETS channel
9496 2002-03-19 André Pönitz <poenitz@gmx.net>
9498 * lyxfunc.C: tiny whitespace change
9500 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9502 * ToolbarDefaults.C (init):
9503 * LyXAction.C (init):
9505 * BufferView_pimpl.C (Dispatch):
9506 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9508 2002-03-19 Allan Rae <rae@lyx.org>
9510 * exporter.C (Export): removeAutoInsets before doing anything else.
9511 While I've just introduced a dependency on BufferView this really is
9512 the best place to clean the buffer otherwise you need to cleanup in
9513 a dozen places before calling export or cleanup in a dozen functions
9516 * converter.C (runLaTeX):
9517 (scanLog): Better handling of removeAutoInsets and screen updates.
9519 * lyxfunc.C (dispatch): small whitespace changes
9521 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9523 * WorkArea.C (C_WorkAreaEvent): return a value.
9524 (event_cb): return 1 if we handled the event, 0 otherwise.
9526 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9528 2002-03-18 Juergen Vigna <jug@sad.it>
9530 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9531 (GetAdditionalWidth): ditto.
9535 * BufferView2.C (copy): use getLyXText() so that we do it inside an
9536 inset if we're there actually (probably not used right now but this
9537 is the direction to go for unifying code).
9538 (paste): disable code to clear the selection.
9540 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9541 inside an InsetText and move the check further up as it is in the
9544 * text2.C (pasteSelection): set a selection over the pasted text.
9546 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
9548 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9549 and libgraphics to build on Cygwin.
9551 2002-03-15 Juergen Vigna <jug@sad.it>
9553 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9554 inserting an Inset into the paragraph. I know this is not the best
9555 fix but we already use current_view in CutAndPaste so we will remove
9556 all of it's using at the same time.
9558 * buffer.C (sgmlError): deactivated function till it is rewritten in
9559 the right mode, now it can create problems.
9561 * paragraph.C (isLineSeparator): check if getInset returns != 0,
9562 before accessing it.
9564 2002-03-14 Juergen Vigna <jug@sad.it>
9566 * undo_funcs.C (textHandleUndo): do the right thing when updating
9567 the inset after the undo/redo.
9569 * text2.C (setCursor): just some testcode for #44 not ready yet.
9571 * undo_funcs.C (textHandleUndo): set the next() and previous()
9572 pointers of the paragraph to 0 before deleting otherwise we have
9573 problems with the Paragraph::[destructor].
9575 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9576 on a paragraph insertion.
9578 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9580 * buffer.C (asciiParagraph): use += operator for char append to
9583 * paragraph.C (getFontSettings): compare >= not just >
9584 (highestFontInRange): ditto
9587 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9589 * paragraph.C: change several algorithm to be more appripriate for
9590 the problem domain. This is lookip in FontList and in the InsetList.
9592 2002-03-13 André Pönitz <poenitz@gmx.net>
9595 * LyXAction.C: remove unused LFUN_MATH_MACROARG
9597 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
9602 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9604 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9606 * Painter.C (display): anon helper function, adjust code for this
9608 (pixmap): remove function.
9610 * Painter.h: remove private display variable.
9612 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9614 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
9616 * WorkArea.[Ch]: remove figinset_canvas cruft.
9618 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9620 * lyxtextclass.C (operator): add one item cache optimization.
9622 * bufferlist.h: doxy changes
9624 * bufferlist.C: ws changes
9626 * DepTable.[Ch] (ext_exist): place const in the right spot.
9628 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9630 (workAreaExpose): call resizeInsets when the with BufferView changes.
9631 (Dispatch): adjust for protectedBlank removal
9632 (specialChar): call updateInset if the insert went ok.
9634 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9635 specialChar instead.
9637 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9639 * BufferView.h: doxy change
9641 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9643 * lyxtextclass.C (operator[]): remove non-const version
9644 (defaultLayout): remove non-const version
9646 2002-03-12 Juergen Vigna <jug@sad.it>
9648 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9649 did resize the LyXText too.
9651 * buffer.C (readLyXformat2): set layout information on newly allocated
9654 * tabular.C (OldFormatRead): set layout information on the paragraph.
9656 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9658 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9660 2002-03-11 Juergen Vigna <jug@sad.it>
9662 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9664 (resizeCurrentBuffer): force also the insets to resize themselfes.
9665 (moveCursorUpdate): fixed up for InsetText.
9667 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
9670 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9671 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9672 value of Dialogs::tooltipsEnabled().
9673 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9675 2002-03-08 Juergen Vigna <jug@sad.it>
9677 * BufferView_pimpl.C (updateInset): update inset inside inset also
9678 if it isn't inside theLockingInset().
9680 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9682 * buffer.C (asciiParagraph): redo some of the word and line length
9684 (getLists): look for Caption instead of caption.
9686 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9688 * buffer.C (Buffer): initialize niceFile to true
9691 (makeDocBookFile): make sure niceFile is true on exit
9693 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9695 * buffer.C (makeLaTeXFile): escape ~ in \input@path
9697 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
9699 * LyXSendto.C: remove.
9700 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9701 * lyx_gui.C: remove now-redundant comment.
9702 * ColorHandler.h: remove forward declaration of class WorkArea.
9703 * lyxfunc.C: remove #include "WorkArea.h".
9705 2002-03-07 Juergen Vigna <jug@sad.it>
9707 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9708 got moved away with the DEPM and also set the inset_owner always
9709 right which before could have been omitted.
9711 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9713 * buffer.C (parseSingleLyXformat2Token): use default layout is the
9714 wanted layout is not found.
9716 2002-03-07 Juergen Vigna <jug@sad.it>
9718 * CutAndPaste.C (cutSelection): another layout settings forgotten.
9720 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9722 * paragraph.C (breakParagraph): use default layout not layout of
9724 (Paragraph): clear ParagraphParameters.
9726 2002-03-06 Juergen Vigna <jug@sad.it>
9728 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9729 otherwise it would not be a valid lenght. Fixed a special case in
9730 the minipage compatibility read where we end the document with a
9733 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9734 was set as it could be 0 for InsetTexts first entry.
9736 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9738 * paragraph.C (writeFile): if layout is empty write out
9739 defaultLayoutName().
9741 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9742 file without named layout we set layout to defaultLayoutName().
9744 2002-03-06 Juergen Vigna <jug@sad.it>
9746 * CutAndPaste.C (copySelection): set layout for new paragraph.
9748 * text.C (prepareToPrint): leave ERT inset left aligned
9749 (leftMargin): don't indent paragraphs inside ERT insets
9751 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9753 * paragraph.C (breakParagraph): dont call clear do the work manually
9755 * paragraph.[Ch] (clear): remove function
9757 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9759 * paragraph.C (Paragraph): dont call clear, the work has already
9762 * lyxtextclass.C (operator): assert if n is empty
9764 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9765 work manually instead.
9767 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9769 * BufferView_pimpl.C: protect selectionLost against text == 0
9771 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9773 * text.C (breakParagraph): fix a setting layout to '0' problem.
9775 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9777 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9778 final location of file, for the included files, and graphics.
9780 2002-03-05 Juergen Vigna <jug@sad.it>
9782 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9784 2002-03-04 Juergen Vigna <jug@sad.it>
9786 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9788 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9789 last column of multicolumn cells.
9790 (SetWidthOfMulticolCell): recalculate NMC and real columns.
9792 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
9794 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9795 file if it doesn't go to a temporary file.
9797 * buffer.C (sgmlOpenTag):
9798 (sgmlCloseTag): remove extra newline insertion.
9800 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9802 * text.C (getRowNearY): comment out debug msg
9804 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9806 * text2.C: first -> first_y
9808 * text.C (getRowNearY): add some attemts at a possible
9809 optimization, not working.
9811 * tabular.[Ch]: add BufferParams to several function so that newly
9812 created paragraph can be initialized to he default layotu for the
9815 * tabular-old.C (ReadOld): add buf->params to call of Init
9817 * screen.C: rename text->first to text->first_y
9819 * paragraph.C (breakParagraph): always set layout in the broken
9822 * lyxtextclass.C (Read): remove lowercase
9825 (delete_layout): ditto
9827 * lyxtext.h: rename first -> first_y
9829 * lyxlayout.C (Read): remove lowercase
9832 (obsoleted_by): ditto
9834 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9836 * buffer.C (insertErtContents): add params are to InsetERT
9837 (parseSingleLyXformat2Token): add code to check if a paragraphs
9838 layout really exist.
9839 (parseSingleLyXformat2Token): add params to several inset
9841 (asciiParagraph): remove lowercase, do the layout comparisons with
9844 * BufferView_pimpl.C (cursorNext): first -> first_y
9845 (resizeCurrentBuffer): first -> first_y
9846 (updateScrollbar): first -> first_y
9847 (scrollCB): first -> first_y
9848 (workAreaMotionNotify): first -> first_y
9849 (workAreaButtonPress): first -> first_y
9850 (checkInsetHit): first -> first_y
9851 (cursorPrevious): first -> first_y
9852 (cursorNext): first -> first_y
9853 (Dispatch): add buffer_->params to severl inset contructors
9855 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9857 * lyxlayout.C (Read): remove some debug info that I forgot.
9859 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9860 clean up the code slightly.
9861 (makeLinuxDocFile): ditto
9862 (makeDocBookFile): ditto
9864 * text2.C: layout as string
9866 * text.C: layout as string
9868 * paragraph_pimpl.C: layout as string
9870 * paragraph.[Ch]: layout as string
9872 * lyxtextclasslist.[Ch]: layout as string
9874 * lyxtextclass.[Ch]: layout as string
9876 * lyxtext.h: layout as string
9878 * lyxlayout.[Ch]: layout as string
9880 * lyx_cb.C: layout as string
9882 * bufferview_funcs.C: layout as string
9884 * bufferparams.C: layout as string
9886 * buffer.C: layout as string
9888 * LyXView.[Ch]: layout as string
9890 * LaTeXFeatures.[Ch]: layout as string
9892 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9894 * BufferView_pimpl.C: change current_layout to string, remove
9899 (workAreaButtonRelease): layout as string
9901 * BufferView2.C (unlockInset): adjust
9903 * vspace.C (asLatexCommand): use an explict temp variable.
9905 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9907 * Makefile.am: use FRONTEND_*
9909 2002-03-01 Juergen Vigna <jug@sad.it>
9911 * tabular.C (SetWidthOfMulticolCell): changed to something better
9912 I hope but still work in progress.
9913 (recalculateMulticolumnsOfColumn): renamed function from
9914 recalculateMulticolCells as it is more appropriate now.
9915 (SetWidthOfCell): calculate multicols better.
9917 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9919 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9921 * lyxfunc.C (processKeySym): print sequence also if it is
9922 `deleted' (complete)
9924 * kbsequence.C (print): print sequence even if it is deleted
9925 (complete would be a better word, actually).
9927 * lyxfunc.C (dispatch): print complete options after a prefix key
9929 * vspace.C (asLatexCommand): rewrite in a slightly different form.
9931 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
9933 * text2.C (setCharFont): eliminate setCharFont code duplication.
9935 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9937 * BufferView_pimpl.C (Dispatch): remove bogus handling of
9938 LFUN_TABULAR_FEATURE (bug #177)
9940 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
9942 * Makefile.am: remove figure.h
9944 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
9946 * Bufferview_pimpl.C:
9958 * text2.C: remove #include "lyx_gui_misc.h".
9960 * LaTeX.C: added #include <cstdio>
9962 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9964 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9965 that the paragraph following this one can have.
9967 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9969 * vspace.C (asLatexCommand): fix bogus gcc warning
9971 * Makefile.am (lyx_SOURCES): remove vms_defines.h
9973 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
9975 * text2.C (setLayout): get rid of redundant code
9977 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
9979 * text2.C (incDepth): make sure depth cannot be increased beyond
9982 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
9984 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9985 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9987 * PainterBase.h (image):
9988 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9991 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9995 * BufferView_pimpl.C:
9996 * BufferView_pimpl.h:
10016 * sp_spell.C: remove fig inset, and the crap house of
10017 cards that follows it
10019 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10024 * os2_errortable.h:
10025 * nt_defines.h: move .h into support/
10027 * vms_defines.h: remove
10029 * WorkArea.C: add space in debug output
10033 * buffer.C: add WITH_WARNINGS
10037 * bufferlist.C: s/retrive/retrieve/, add docs
10046 * chset.C: add docs
10048 * lyxgui.C: add ID to X error handler
10050 * lyxtestclass.c: fix typo
10052 2002-02-26 Juergen Vigna <jug@sad.it>
10054 * tabular_funcs.C (write_attribute): changed so that some default
10055 attributes are not written at all.
10056 (getTokenValue): set default values before trying to read the
10057 value so we have the return value always set as default if we don't
10058 find the token we search for.
10060 * tabular.C (Write): write bools as bools not as strings!
10062 2002-02-22 Juergen Vigna <jug@sad.it>
10064 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10065 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10067 * text.C (leftMargin): don't add an indent for paragraphs inside
10068 tabular cells (fix #208).
10070 2002-02-21 José Matos <jamatos@fep.up.pt>
10072 * tabular.C (docBook): fixed support for long tables.
10074 2002-02-20 Juergen Vigna <jug@sad.it>
10076 * text2.C (getFont): get the drawing font of the Inset if this
10077 paragraph is inside an inset (only important for InsetERT for now).
10079 * buffer.C (insertErtContents): use new lanugage params in ERT
10082 * CutAndPaste.C: commenting out seemingly uneeded code.
10084 2002-02-19 Allan Rae <rae@lyx.org>
10086 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10087 Iterators might be simple to use but they also get invalidated.
10088 (removeAutoInsets): renamed saved cursor tracking variables and added
10089 some comments to clarify what everything does.
10091 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
10098 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10099 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10102 * vc-backend.h: remove #include "support/syscall.h"
10106 * converter.C: rearrange #includes in Lars' approved fashion.
10108 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10109 forward declare class Timeout in the header file.
10111 * XFormsView.C: changes due to the above.
10113 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10114 similar to LyXView.
10116 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10117 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10119 2002-02-18 José Matos <jamatos@fep.up.pt>
10121 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10124 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10126 * a lot of small ws changes
10127 * add a lot of using std::XXX
10128 * use std construcs some places where approp.
10129 * use some exisint stuff from lyxfunctional where approp.
10130 * Make file changes to use partial linking (lets test this now...)
10132 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10136 remove #include "support/syscontr.h" as it's redundant. Always has been.
10144 change Systemcalls::System to Systemcalls::Wait and
10145 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10146 No change of functionality, just reflects the stripped down Systemcalls
10149 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10151 * debug.[Ch]: add a GRAPHICS type to the enum.
10153 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10155 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10157 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10160 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10162 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10163 match the changes below.
10165 * text2.C (toggleInset): if there is not editable inset at cursor
10166 position, try to see if cursor is _inside_ a collapsable inset
10169 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10171 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10172 document menu has a nice checkbox
10174 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10176 * lyxlength.C (asLatexString): change PW to output as percent of
10179 * lengthcommon.C: change '%' to 't%'
10181 * lyxfunc.C (dispatch): a few comments from Martin
10183 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
10187 * BufferView_pimpl.h:
10188 * BufferView_pimpl.C: clear our selection when X tells us we've lost
10191 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10193 * vspace.C (inPixels): fix compiler warning
10195 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10197 * lyxfunc.C (getStatus): fix status message for disabled commands.
10199 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
10201 * BufferView_pimpl.C: fix crash on close buffer
10202 during selection (#227)
10204 2002-01-27 Herbert Voss <voss@lyx.org>
10206 * buffer.C: link old Figure to new graphic inset
10208 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
10210 * FontLoader.C (getFontinfo): Change the latex font names in order
10211 to match the names of type1inst.
10213 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10215 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10217 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10218 (extchanged): ditto
10220 (remove_files_with_extension): ditto
10221 (remove_file): ditto
10224 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10225 document is smaller than the work area height. Do not initialize
10226 static variables to 0.
10228 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10230 * lyx_gui.C (init): give the toolbar tooltips a normal font.
10232 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10233 LFUN_LAYOUT_PARAGRAPHS.
10235 * tabular.C (GetCellFromInset): new method. Finds an inset in a
10236 tabular. It is possible to provide a possible cell, which will
10237 typically be the actcell from the corresponding insettabular
10239 * lyxfunc.C (getStatus): small cleanup; disable
10240 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10243 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10245 * tabular.C (Validate): remove broken optimization (fixes bug #201)
10247 * paragraph.C (startTeXParParams):
10248 (endTeXParParams): new methods. The LaTeX code to
10249 start/end paragraph formatting
10250 (simpleTeXOnePar): call startTeXParParams also when paragraph is
10251 empty (fixes bug #200)
10253 * vspace.C (inPixels): adapt to the change below
10254 (inPixels): [later] more cleanups (remove unused variables)
10256 * lyxlength.C (inPixels): change to use a width and a height as
10259 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10261 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10262 Replaced with \paperwidth
10264 * DepTable.C (insert): add std:: qualifier
10266 2002-01-18 Allan Rae <rae@lyx.org>
10268 * text2.C (removeRow): add comment. Should other refresh_?? vars be
10271 * text.C (drawInset): Turned out I didn't know enough about how
10272 rebreaking worked. This fixes most of the redraw problems. I see
10273 an occasional cursor trail when a line is broken now and the cursor
10274 placement can seem out by a few pixels also after a rebreak.
10276 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10278 * buffer.C (parseSingleLyXformat2Token): update because minipage
10279 width is now a LyXLength
10281 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10283 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10286 2002-01-17 Juergen Vigna <jug@sad.it>
10288 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10290 * BufferView2.C (lockInset): call edit() so that theLockingInset()
10291 is set correctly and the inset is updated correctly.
10293 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10295 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10296 the beginning of the loop.
10298 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
10300 * lyxrc.C: improve help for use_scalable_fonts
10302 2002-01-17 Allan Rae <rae@lyx.org>
10304 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10306 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10308 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10309 make sure to set their inset_owner to the right value (bug #171)
10311 2001-12-12 Ben Stanley <bds02@uow.edu.au>
10314 * DepTable.C: Implement mtime checking to reduce time spent doing
10317 2002-01-16 Juergen Vigna <jug@sad.it>
10319 * tabular.C (GetAdditionalHeight): one of error fixed.
10321 * lyxrc.C (output): small fix in writing use_pspell.
10323 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
10325 * sp_base.h: #include LString.h
10327 2002-01-16 Allan Rae <rae@lyx.org>
10329 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
10330 Can someone check this please?
10332 * text.C (drawInset): It was possible that p.row would be removed by
10333 breakAgainOneRow upsetting a few other settings. There may be another
10334 small tweak possible by setting need_break_row = 0 when p.row has been
10335 removed but I don't know enough about the logic here.
10337 2002-01-15 Allan Rae <rae@lyx.org>
10339 * text.C (insertChar): removed conditional truism.
10341 * BufferView2.C (removeAutoInsets): More tweaks.
10342 cur_par_prev could be a stray pointer. Check for trailing empty line
10343 in case last line was cur_par and only had an error inset on it.
10345 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10347 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10350 * vc-backend.C (most methods):
10351 * exporter.C (Export):
10352 * converter.C (convert):
10354 * LyXSendto.C (SendtoApplyCB):
10355 * lyxfunc.C (dispatch):
10359 * lyx_cb.C (AutoSave):
10361 * BufferView_pimpl.C (MenuInsertLyXFile):
10362 * buffer.C (runChktex): use Buffer::filePath().
10364 * buffer.h: rename filename to filename_; rename filepath to
10365 filepath_ and make it private
10366 (filePath): new method
10368 * buffer.C (writeFile): use fileName()
10371 * lyx_main.C (init): fix starting of LyX when the binary is a
10372 link from so,ewhere else.
10374 * minibuffer.C: include <cctype> for isprint
10376 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10378 * buffer.C (parseSingleLyXformat2Token): changes associated with the
10379 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10380 name clash with InsetCollapsable's width function.
10382 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10384 * lastfiles.C: include <iterator>
10386 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10388 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10391 * buffer.C (makeLaTeXFile): ditto.
10392 Also make loop operation more transparent.
10394 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10396 * ToolbarDefaults.C: remove trailing comma closing namespace.
10398 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10400 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10403 * trans.C (Load): comment out unused variable, allowed.
10405 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10407 * minibuffer.[Ch] (append_char): new method to recieve input from the
10408 drop-down completion browser. If a key was pressed, then recieve this
10409 char and append it to the existing string.
10410 (peek_event): modify the positioning data passed to the completion
10411 browser so that it can be placed above the minibuffer rather than below.
10412 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10414 * LyXAction.C (init): alloe error-next for readonly documents.
10416 * BufferView2.C (ChangeRefsIfUnique): use standard version of
10419 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10421 * bufferlist.C (readFile): create the buffer _after_ checking that
10424 * lyxfunc.C (verboseDispatch): fix handling of arguments
10426 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10428 * lyxrc.C: use string::erase() instead of initializing to "".
10431 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10433 * BufferView_pimpl.h:
10434 * BufferView_pimpl.C:
10437 * text2.C: tell X when we have made a selection for copying
10439 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10441 * BufferView_pimpl.C (MenuInsertLyXFile):
10442 * lyxfunc.C (menuNew):
10444 (doImport): add shortcuts to directory buttons
10446 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10449 * lyxfunc.C (setStatusMessage):
10450 (getStatusMessage): new methods
10451 (getStatus):use setStatusMessage instead of setErrorMessage
10452 (dispatch): when function is disabled, set error message here
10453 [instead of in getStatus previously]
10455 * BufferView_pimpl.C (workAreaButtonRelease): update
10456 toolbar/menubar here too.
10458 2002-01-13 Allan Rae <rae@lyx.org>
10460 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10461 Now seems indestructible. Remaining task is to audit all other
10462 code affected by deleteEmptyParagraphMechanism. One small quirk
10463 left is that an empty document with an error in the preamble can
10464 be made to report an error but no error box appears. I don't know
10466 (removeAutoInsets): Improved comments.
10468 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10471 * Thesaurus.C: update for Aiksaurus 0.14
10473 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10475 * text2.C (firstParagraph): removed member function, all uses
10476 replaces with ownerParagraph
10477 (redoParagraphs): here
10478 (updateInset): here
10479 (toggleAppendix): here
10480 * BufferView2.C (insertErrors): here
10481 (setCursorFromRow): here
10483 2002-01-13 Allan Rae <rae@lyx.org>
10485 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10486 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10487 There is still a way to segfault this although you may have to do this
10488 multiple times: Have an InsetERT with an unknown command in it.
10489 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10490 <down-arrow>, <Enter> again, View->DVI, BANG!
10492 * text2.C (setCursor):
10493 (deleteEmptyParagraphMechanism):
10494 * lyxtext.h (setCursor):
10495 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10496 Making use of the return value may help fix other bugs.
10498 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10500 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10502 * LyXView.C (updateMenubar): call MenuBar::update here
10503 (updateToolbar): but not here
10504 (showState): do not update toolbar/menubar
10506 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10507 should need to care about that.
10509 * lyxfunc.C (verboseDispatch): simplify a bit
10510 (getStatus): have a version which takes a pseudoaction, and
10511 another which requires a (kb_action,string).
10513 * LyXAction.C (retrieveActionArg): make it work also when action
10514 is not a pseudo-action.
10515 (getActionName): simplify a bit
10518 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10520 * lyxfunc.C (verboseDispatch): new families of methods with
10521 several ways to specify a command and a bool to indicate whether
10522 the command name and shortcut should be displayed in minibuffer
10523 (eventually, we could extend that to a finer bitmask like
10524 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10525 (dispatch): the pristine dispatch command which just, well,
10526 dispatchs! Note it still sets its result to minibuffer; I'm not
10529 * lyxfunc.h: remove setHintMessage
10531 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10533 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10535 * BufferView_pimpl.C (specialChar): delete new inset if we have
10536 not been able to insert it.
10538 * kbmap.C: revert to using int instead of kb_action, since all we
10539 are dealing with is pseudo-actions.
10541 * LyXAction.C (searchActionArg): change to return int instead of
10542 kb_action, since the result is a pseudoaction.
10544 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
10546 * buffer.C (insertErtContents): Fix (partially) the font bug.
10548 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10550 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10551 as the other one is broken on my machine!
10553 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
10556 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10558 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
10560 * lyxrc.[Ch]: change names and descriptions of popup font variables to
10561 reflect their actual use. Provide compatibility code for older lyxrc
10564 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10566 change names of popup font variables in line with the changes to lyxrc.C
10568 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10570 * buffer.C (asciiParagraph): avoid outputing a word twice after
10573 * lyxrc.C (getDescription): document that document_path and
10574 template_path can be empty.
10576 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10578 * LaTeXFeatures.C (getMacros):
10579 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10581 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10583 * LaTeXFeatures.C (useFloat): require "float" here instead of in
10585 (getPackages): rename feature "floats" to "float". Use an array to
10586 iterate over 'simple' features (i.e. just a \usepackage). Add
10587 handling of "amsmath" (renamed from "amsstyle").
10589 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
10591 * LaTeXFeatures.C (require): Prevent duplicate entries in the
10594 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
10596 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10597 FuncStaus::FuncStatus & FuncStaus::some_method().
10599 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
10601 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10602 of the func_satus stuff. Edited and massaged in various ways by
10605 * lyxfunc.C (getStatus): use FuncStatus
10607 2002-01-08 Juergen Vigna <jug@sad.it>
10609 * text.C (nextBreakPoint): use function Inset::isChar().
10611 * paragraph.C (TeXOnePar): use function
10612 Inset::forceDefaultParagraphs.
10614 * buffer.C (latexParagraphs): use function
10615 Inset::forceDefaultParagraphs.
10617 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10619 * lyx_gui.C (init): set the style of the menu popups to
10620 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10622 2002-01-07 Juergen Vigna <jug@sad.it>
10624 * text.C (setHeightOfRow): small fix
10625 (prepareToPrint): don't look at alignment if we don't have the place
10628 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10630 * box.C: New file. Move the Box methods and functions out of box.h,
10631 following Lars' suggestion.
10633 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10635 * box.h: #include "support/LOstream.h", needed for inlined function.
10638 * lyxtextclasslist.C: added some using std declarations.
10640 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
10642 * box.h: make signed dimensions to allow insets wider than
10643 the screen (bug #162)
10645 * BufferView_pimpl.C: add some insetHit debug
10647 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
10649 * vc-backend.C: add FIXME
10651 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10653 * lyxfunc.C (getStatus): enable code for showing math font status
10656 2002-01-07 Juergen Vigna <jug@sad.it>
10658 * text.C (nextBreakPoint): removed debug output not needed anymore.
10660 2002-01-06 Juergen Vigna <jug@sad.it>
10662 * text.C (nextBreakPoint): fixed up this function we had this bug
10663 since ever but now hopefully we break row better.
10664 (insertChar): we have to check if an inset is the next char as it
10665 could now happen that a large inset is causing a break.
10667 2002-01-05 Juergen Vigna <jug@sad.it>
10669 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10670 if it doesn't like to be drawed.
10672 2002-01-04 Juergen Vigna <jug@sad.it>
10674 * BufferView2.C (lockInset): forgot to set a cursor.
10676 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10678 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
10680 * FormMathsPanel.C:
10683 * form_maths_panel.C:
10684 * form_maths_panel.h:
10685 * form_maths_panel.fd: implemented sub- and super- buttons in math
10688 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10689 (or ^ space) to be used as in TeX (req'd by André).
10691 * lyxfunc.C: Allow ^ and _ again to be used both as
10692 super/subscript (mathed) and as themselves (in text).
10694 2002-01-03 Allan Rae <rae@lyx.org>
10696 * LyXView.C (updateWindowTitle): Setup a short icon title of either
10697 "LyX" or the filename of the current buffer if it has one. This is a
10698 modified form of John Levon's patch.
10700 * XFormsView.C (setWindowTitle): also set icon title.
10702 * LyXView.h (setWindowTitle): signature changed.
10703 * XFormsView.h (setWindowTitle): ditto.
10705 2002-01-02 Juergen Vigna <jug@sad.it>
10707 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10709 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10711 * screen.C (topCursorVisible): introduce a temp var for
10712 text->cursor.row(), handle the case where this row is null. (kindo
10715 * text2.C (setCursor): add a couple of asserts.
10717 * paragraph.h (inset_iterator): add -> operator
10719 * paragraph.[Ch] (autoDeleteInsets): remove member function
10721 * BufferView2.C (removeAutoInsets): rewrite to handle the old
10722 cursor pos correctly and handle inset deletion by itself.
10723 (insertErrors): move iterator declaration out of for expression
10725 * lyxtextclass.C: add <algorithm>
10727 * Makefile.am: added the new files to sources, removed layout.C
10729 * layout.C: removed file
10731 * layout.h: remove LYX_DUMMY_LAYOUT
10733 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10737 * lyxtextclass.[Ch]:
10738 * lyxtextclasslist.[Ch]: new files
10740 * include order changes to a lot of files, also changes because of
10743 2001-12-27 Juergen Vigna <jug@sad.it>
10745 * buffer.C (asciiParagraph): more fixes.
10747 * tabular.C (ascii): make ascii export support export of only the
10748 data separated by a column-delimiter.
10749 (ascii): better support for ascii export.
10751 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10753 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10755 * tabular_funcs.C: use a "using std::getline" instead of the
10756 previous fix from Angus (necessary for cxx + lyxstring)
10758 2001-12-24 Juergen Vigna <jug@sad.it>
10760 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10762 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10763 problems. First check a minipage also if we have some ert-contents
10764 (not only on par->size(), second set the right depth of the paragraph
10765 on the relink to the root-paragraph-list!
10767 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10768 which then did not anymore update the main paragraphs on undo/redo!
10770 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10772 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10773 code. Support all font-changing funcs (even those which are not in
10774 menu currently). Support for reporting font settings in
10775 mathed (disabled until Andre provides a function on mathed's side).
10777 * func_status.h (toggle): small helper function to set toggle
10780 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
10782 * tabular_funcs.C: getline -> std::getline
10784 2001-12-21 Juergen Vigna <jug@sad.it>
10786 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10787 accessed and could be 0 (I couldn't generate this but it seems
10790 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10792 * tabular_funcs.C: add LIstream.h, move write_attribute to..
10793 * tabular_funcs.h: here and include iosfwd
10795 2001-12-20 Juergen Vigna <jug@sad.it>
10797 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10798 inside inset but undo_par was.
10800 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10802 * Thesaurus.C: always include <config.h> in sources.
10806 * box.h: do not include <config.h> in header files
10808 * text.C (paintLastRow): remove unused variable
10810 * text.C (transformChar):
10812 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10814 * Painter.C (text):
10815 * font.C (width): rewrite to use uppercase() instead of
10818 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10820 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
10822 * lyxfind.C: clean up of find failure position change
10824 2001-12-20 Juergen Vigna <jug@sad.it>
10826 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10828 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10829 (TeXRow): added to LaTeX a single tabular row.
10830 (TeXLongtableHeaderFooter): added to output LT-h/f data.
10831 (Latex): simplified and finally good LT-h/f support.
10832 (various_functions): just small adaptions for LT-h/f support.
10834 * tabular_funcs.[hC]: added and moved here all not classfunctions
10837 2001-12-19 Juergen Vigna <jug@sad.it>
10839 * tabular.[Ch]: better support for longtabular options (not finished
10842 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10844 * text.C (paintLastRow): use the label font instead of the font of
10845 the last character to compute the size of *_BOX. This makes more
10846 sense and avoids a crash with empty paragraphs.
10847 Use Painter::rectangle to draw EMPTY_BOX.
10849 2001-12-19 Juergen Vigna <jug@sad.it>
10851 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10852 the paragraphs if the replaced paragraph is not the first one!
10853 Tried to delete not used paragraphs but does not work yet so for
10854 now it's inside #ifdef's and by default off!
10856 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10858 * MenuBackend.C: include "lyx_main.h" instead of declaring
10859 lastfiles (actually was declared as LastFiles* instead of a
10862 2001-12-17 Juergen Vigna <jug@sad.it>
10864 * tabular.C (AppendColumn): applied John's fix
10866 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
10870 * BufferView_pimpl.h:
10871 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10874 * box.h: new start of class for above
10876 * lyxfunc.C: ignore space-only minibuffer dispatches.
10877 Show the command name when it doesn't exist
10879 * minibuffer.C: don't add empty lines to the history
10881 * minibuffer.C: add a space on dropdown completion
10883 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
10885 * text.C: fix line above/below drawing in insets
10887 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10889 * lyxlength.C (LyXLength): Initialize private variables.
10891 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
10893 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10894 when inserting error insets.
10896 2001-12-13 Juergen Vigna <jug@sad.it>
10898 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10899 actually sometimes the before-paragraph.
10900 (setUndo): don't clear the redostack if we're not actually undoing!
10902 2001-12-06 Juergen Vigna <jug@sad.it>
10904 * undo_funcs.C (textHandleUndo): well after John's hint I got here
10905 and fixed redoing of main paragraph, so we can use it now ;)
10907 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10909 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10911 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10914 2001-12-13 André Pönitz <poenitz@gmx.net>
10917 * undo_func.C: minor cleanup
10919 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10921 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10922 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10923 font in urw-fonts package which is marked as -urw-fontspecific and
10924 does not work (incidentally, changing the encoding in the
10925 fonts.dir of this package to -adobe-fontspecific fixes the
10928 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10929 is a crash when undoing first paragraph (Juergen, please take a
10930 look). THis does not mean the undo fix is wrong, just that it
10933 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10934 the (Paragraph*) version when needed instead of duplicating the
10937 * text.C (workWidth): use Inset::parOwner to find out where the
10938 inset has been inserted. This is a huge performance gain for large
10939 documents with lots of insets. If Inset::parOwner is not set, fall
10940 back on the brute force method
10942 * paragraph_pimpl.C (insertInset):
10943 * paragraph.C (Paragraph):
10944 (cutIntoMinibuffer): set parOwner of insets when
10945 inserting/removing them
10947 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10949 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
10955 * mathed/formulabase.C:
10956 * mathed/math_cursor.[Ch]:
10957 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10960 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10962 * lyxlength.[Ch] (operator!=): new function
10964 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10966 * text.C (workWidth): use Inset::parOwner to find out where the
10967 inset has been inserted. This is a huge performance gain for large
10968 documents with lots of insets. If Inset::parOwner is not set, fall
10969 back on the brute force method
10971 * paragraph_pimpl.C (insertInset):
10972 * paragraph.C (Paragraph):
10973 (cutIntoMinibuffer): set parOwner of insets when
10974 inserting/removing them
10976 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10978 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10980 * tabular-old.C (getTokenValue):
10981 * tabular.C (getTokenValue):
10982 (write_attribute): new versions for LyXLength
10983 (everywhere): adjust the use of widths
10985 * tabular.h: change the type of widths from string to LyXLength
10987 2001-12-11 Ben Stanley <bds02@uow.edu.au>
10989 * paragraph.C: fixed missing line number count when exporting
10990 Environments to LaTeX file
10992 * buffer.C: added informational message for checking line numbers.
10994 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10996 * text2.C (deleteEmptyParagraphMechanism): if there is only one
10997 paragraph, do the 'double space' part, but not the 'empty
11000 * text.C (workWidth): small optimization
11001 (getLengthMarkerHeight): use minimal size for negative lengths.
11003 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
11005 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11007 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11009 2001-12-11 André Pönitz <poenitz@gmx.net>
11012 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11014 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11016 * text2.C: keep selection on a setFont()
11018 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11020 * lyx_cb.C: another bv->text misuse, from insert label
11022 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11025 * kbsequence.C: re-instate nmodifier mask
11027 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
11029 * lyx_main.h: make lyxGUI private.
11031 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11033 * lyxfind.C: place the cursor correctly on failed search
11035 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11037 * text.C (getLengthMarkerHeight): for small heights, the arrows
11038 are not always on top/bottom of the text
11039 (drawLengthMarker): smaller arrows; take the left margin in
11040 account; draw also vfills.
11042 (paintLastRow): remove special code for vfill and standard spaces,
11043 since everything is handled in drawLengthMarker now.
11045 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11047 * buffer.C (insertErtContents): try to handle font and language
11048 interaction a bit better.g
11050 * ColorHandler.C (updateColor): change the hash to cover the whole
11051 LColor enum, ws cleanup
11052 (getGCLinepars): ditto
11053 (getGCLinepars): only lookup in the linecache once.
11055 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
11057 * iterators.C (operator++): Make the iterator more robust
11059 * BufferView2.C (removeAutoInsets): Use paragraph iterators
11061 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11063 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11066 * text.C: better added space drawing
11068 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11071 * BufferView2.C: fix layout combo update on inset unlock
11073 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11075 * Makefile.am: don't compile unused files
11077 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11081 * LyXAction.C: remove old LFUN_LAYOUTNO
11083 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11085 * paragraph_pimpl.h:
11086 * paragraph_pimpl.C: isTextAt() doesn't need font param
11088 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11091 * lyxlex.C: little cleanup
11093 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11095 * BufferView_pimpl.C: fix insertAscii for insets
11097 2001-12-05 Juergen Vigna <jug@sad.it>
11099 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11100 set the right font on the "multi" paragraph paste!
11102 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11108 * lyxlength.C: remove out-commented code.
11110 * BufferView_pimpl:
11124 * vc-backend.C: change "while(" to "while ("
11126 * lyxlength.[Ch]: add zero function to check if length is zero or
11128 * lyxgluelength.C: use it
11130 2001-12-05 Allan Rae <rae@lyx.org>
11132 * lyxlength.C: Attempted a fix for the abs(int) header selection.
11133 Works for 2.95.3, from what I understand of Garst's reports this should
11134 work for other g++ versions. We're screwed if the abs(int) definition
11135 changed between bugfix releases of gcc.
11137 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11139 * text.C: fix chapter label offset !
11141 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11144 * text.C: fix hfill at end of line, clean up
11146 2001-12-04 Juergen Vigna <jug@sad.it>
11148 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11149 that we force an update of the inset and it's owners if neccessary.
11151 2001-12-03 Juergen Vigna <jug@sad.it>
11153 * text.C (rowLast): simplified code
11155 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11157 * lyxfunc.C: fix show options on timeout
11159 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11161 * screen.C (topCursorVisible): scroll half a page when the cursor
11162 reached top of bottom of screen
11164 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
11166 * minibuffer.C: deactivate on loss of focus
11168 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11170 * vspace.[Ch] (operator!=): add operator.
11172 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
11174 * BufferView_pimpl.C: refuse to open an inset when
11175 there's a selection.
11177 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
11179 * BufferView_pimpl.C: allow to click on RHS of full row insets
11181 2001-11-30 Juergen Vigna <jug@sad.it>
11183 * tabular.C (LyXTabular): add a same_id to set the same id's in the
11184 insets for undo reasons.
11186 2001-11-28 André Pönitz <poenitz@gmx.net>
11188 * vspace.[Ch]: cosmetical changes
11190 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11200 * kbsequence.C: part re-write of old kb code
11203 * WorkArea.C: remove Lgb_bug_find_hack
11205 2001-11-30 José Matos <jamatos@fep.up.pt>
11207 * buffer.C (makeDocBookFile): add a comment to point a hack.
11208 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11209 Fixed a double write of labels.
11211 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11214 * LaTeX.h Fixed bug in LaTeX class where it would not
11215 re-run latex if no depfiles were changed, but the .dvi was removed.
11217 2001-11-28 André Pönitz <poenitz@gmx.net>
11219 * all the files from the change on 2001/11/26:
11220 use lyx::layout_type instead of LyXTextClass::size_type
11221 use lyx::textclass_type instead of LyXTextClassList::size_type
11223 2001-11-29 Juergen Vigna <jug@sad.it>
11225 * text.C: added support for paragraph::isFreeSpacing()
11227 * buffer.C: same as above
11229 * paragraph.h: inserted isFreeSpacing() function to enable
11230 FreeSpacing inside InsetERT.
11232 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11233 of the paragraph's in the cut/copy buffer to 0!
11235 * text2.C (removeRow): remove the assert as it can!
11237 * lyxtext.h: added helper function firstRow returning firstrow and
11238 made firstrow private again.
11240 * BufferView2.C (lockInset): don't relock if we're already locked!
11242 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11243 the only paragraph.
11244 (removeRow): added Assert::(firstrow)
11246 * debug.C: forgot to add INSETTEXT here.
11248 2001-11-28 Juergen Vigna <jug@sad.it>
11250 * sp_spell.C (initialize): changed error text to more general
11251 spellchecker command use (not only ispell!)
11253 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11255 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11257 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11259 * vspace.C: initialise lyxgluelength on failure
11261 2001-11-28 Allan Rae <rae@lyx.org>
11263 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11264 declaration & definition that looks like a function declaration.
11266 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11268 * BufferView2.C (copy):
11269 (copyEnvironment): do not clear the selection when doing a copy.
11271 * text.C (paintFirstRow): compilation fix
11273 2001-11-27 Ben Stanley <bds02@uow.edu.au>
11275 * tabular.C (Latex): correct line count when writing latex.
11277 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
11279 * paragraph_pimpl.h:
11280 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11283 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11287 * LColor.C: change vfillline->added_space
11289 * text.C: add markers and text for added space
11291 * vspace.C: fix comment
11293 2001-11-28 André Pönitz <poenitz@gmx.net>
11295 * paragraph.C: whitespace changes
11296 * all the other files from the change on 2001/11/26:
11297 change *::pos_type into lyx::pos_type
11299 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
11301 * buffer.C (parseSingleLyXformat2Token): Set the language to the
11302 language of the document when inserting error insets.
11304 2001-11-26 André Pönitz <poenitz@gmx.net>
11306 * BufferView_pimpl.[Ch]:
11314 * paragraph_pimpl.[Ch]:
11317 * text2.C: reduce header dependencies, introduce type for positions
11319 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11321 * <various>: change to use Alert.h
11323 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
11325 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11326 when encountering an unknown token.
11327 (readLyXformat2): Show an error message if there were unknown tokens.
11329 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
11332 * BufferView_pimpl.C:
11336 * text2.C: use par->isInset()
11338 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11340 * paragraph_pimpl.h:
11341 * paragraph_pimpl.C: cleanup
11343 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11345 * text2.C (removeRow):
11346 * text.C (setHeightOfRow): remove useless (and costly) call to
11349 2001-11-20 Allan Rae <rae@lyx.org>
11351 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11352 Now need Inset*::checkInsertChar() to return true for appropriate
11353 cases so that the characters in the minibuffer will actually be
11356 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11358 * text.C: change the order of the includes.
11359 (workWidth): initialize it at once.
11360 (workWidth): make maxw unsigned
11361 (setHeightOfRow): remove unused variable (inset)
11362 (selectSelectedWord): remove unused variable (inset)
11363 (paintRowText): fix drawing of hfill characters, and clean up a bit.
11365 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11367 * lyxserver.C (emergencyCleanup): do not try to close pipes if
11368 server is not running.
11370 (closeConnection): add debug info when server is disabled.
11372 * ColorHandler.C (getGCForeground): send debug message to GUI
11375 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11377 * kbmap.C (bind): modify because return conventions of
11378 kb_sequence::parse have changed.
11380 * kbsequence.C (parse): only ignore spaces and not any stupid
11381 control character. This avoids tests like s[i] <= ' ', which are
11382 guaranteed to fail with 8bit characters and signed chars.
11383 Change return code to string::npos when there have been no error
11384 (0 was a bad idea when error is at first character)
11386 2001-11-14 José Matos <jamatos@fep.up.pt>
11389 * buffer.C (simpleDocBookOnePar): removed unused argument.
11391 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11393 * text.C (selectNextWordToSpellcheck): do not test explicitely for
11394 insets which are part of a word. Paragraph::isLetter takes care of
11395 that now. Use Paragraph::isInset to identify insets.
11396 (selectSelectedWord): do not test for hyphenation break.
11398 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11399 that protected spaces are considered as spaces.
11401 * paragraph.C (isLetter): cleanup the code for ispell extras; use
11404 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
11407 * lyxserver.C: fix it. and small cleanup.
11409 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11411 * BufferView_pimpl.C: use inline helpers
11414 * LaTeXFeatures.C: fix typos
11417 * Spacing.C: move spacing_string into class
11419 * ToolbarDefaults.C: move stuff into namespace anon
11421 * layout.h: update enum
11423 * lyxfunc.C: use better debug
11425 * minibuffer.h: fix typo
11429 * WorkArea.C: add and use Debug::WORKAREA
11433 * text2.C: code re-organisation, inline helpers
11435 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
11437 * Layout.C: replaced a few cases of std::vector.size() == 0 with
11438 std::vector.empty().
11440 2001-11-09 Allan Rae <rae@lyx.org>
11442 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11443 '\n's after tables. Tabular and ERT inset work now makes this no
11446 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11449 * minibuffer.C: fix crash, improve drop-down completion
11451 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11454 * lyxserver.C: invalidate fd's when doing endPipe()
11456 2001-11-08 José Matos <jamatos@fep.up.pt>
11458 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11459 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11462 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11464 2001-11-07 José Matos <jamatos@fep.up.pt>
11467 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11470 * buffer.C (sgmlOpenTag):
11471 * buffer.C (sgmlCloseTag): removed debug info.
11473 * buffer.h (sgmlOpenTag):
11474 * buffer.h (sgmlCloseTag): made public.
11476 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11478 * buffer.C (saveParamsAsDefaults):
11479 * lyx_cb.C (MenuLayoutSave): remove
11481 * LyXAction.C (init):
11483 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11485 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11487 * buffer.C (setPaperStuff): removed from here...
11489 * bufferparams.C (setPaperStuff): ... and moved there.
11491 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11495 * XFormsView.C: add support for drop-down completion
11497 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11499 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11502 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11504 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11507 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11509 * lyx_main.C: change ref to known bugs
11511 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11513 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11514 to work around older babel problems.
11516 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11518 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11520 2001-10-24 Juergen Vigna <jug@sad.it>
11522 * tabular-old.C (ReadOld): below variable changes reflected.
11524 * tabular.[Ch]: added ltType struct for longtable header/footer
11525 defines and changed all instances where they are used. Added
11526 future support for double top/bottom rows.
11528 2001-10-24 José Matos <jamatos@fep.up.pt>
11530 * buffer.h (docbookHandleCaption):
11531 * buffer.C (docbookHandleCaption): removed unused function.
11532 (makeDocBookFile): moved docbook supported version to v4.1.
11534 2001-10-24 José Matos <jamatos@fep.up.pt>
11537 * tabular.C (docbookRow): new function to export docbook code of a row.
11538 (DocBook): now honors the longtable flags.
11540 2001-10-23 José Matos <jamatos@fep.up.pt>
11543 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11544 of the lyx defined sgml entities used in a docbook/linuxdoc document.
11546 * buffer.C (makeLinuxDocFile):
11547 (makeDocBookFile): reworked the preamble, more clean, and with
11548 support for lyx defined entities. Changed the document declaration
11549 to be more XML friendly.
11551 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11552 if we need to output XML that should be done with a filter.
11554 2001-10-22 Juergen Vigna <jug@sad.it>
11556 * sp_pspell.h (class PSpell): add alive function needed in the
11557 controller to see if the spellchecker could be started.
11559 2001-10-22 Juergen Vigna <jug@sad.it>
11561 * buffer.C (insertStringAsLines): modify the font for inserting
11562 chars in certain conditions by calling checkInsertChar(font).
11564 2001-10-19 Juergen Vigna <jug@sad.it>
11566 * text.C (workWidth): use getRow instead of wrong algorithm.
11567 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11569 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
11574 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11576 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11578 * text.C (workWidth): do not search for the exact row when
11579 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11580 optimization for big documents.
11582 2001-10-18 Juergen Vigna <jug@sad.it>
11584 * text.C (workWidth): new function with added Inset * parameter.
11586 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11588 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11590 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11591 change return type of getColumnNearX.
11594 * text.C (changeRegionCase): use uppercase/lowercase instead of
11597 (rightMargin): simplify code by factoring out the uses of
11602 (appendParagraph): use Paragraph::size_type
11604 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11606 * vspace.C (asLatexString): add a missing break
11608 2001-10-15 Herbert Voss <voss@perce.de>
11610 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11612 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11614 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11617 2001-10-10 André Pönitz <poenitz@gmx.net>
11619 * lyxfunc.C: removed greek_kb_flag.
11621 2001-10-10 Herbert Voss <voss@perce.de>
11623 * lyx_main.C: delete global string help_lyxdir.
11625 2001-10-09 Herbert Voss <voss@perce.de>
11627 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11629 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11631 * lyx_main.C: added global string help_lyxdir.
11633 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11635 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
11637 * lyxrc.C (set_font_norm_type): support iso8859-4
11639 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
11641 * LaTeX.C (deplog): add another regex for MikTeX
11643 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
11645 * lyxrc.C (set_font_norm_type): support iso8859-3
11647 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11649 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11651 * LaTeXFeatures.C: remove special case of french and index
11653 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11654 before \begin{document}). This solves several incompatibilities.
11656 2001-10-03 Garst Reese <reese@isn.net>
11658 * lyx_cb.C: change CheckTex error msg.
11660 2001-10-03 José Matos <jamatos@fep.up.pt>
11662 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11664 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11666 * .cvsignore: update
11668 * lyx_main.C (commandLineVersionInfo): use new style version info.
11670 * buffer.C (writeFile):
11672 (makeLinuxDocFile):
11673 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11675 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11677 * version.h: update to use stuff in version.C
11679 * version.C.in: new file. Contains version information determined
11680 at compile time. This is a merging of version.h and
11683 2001-10-03 Juergen Vigna <jug@sad.it>
11685 * BufferView_pimpl.C (update): don't change "dirty" status in
11688 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
11690 * WorkArea.C (c-tor): re-position version string slightly.
11692 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
11694 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11695 revert to previous code.
11697 WorkArea.[Ch]: (show, destroySplash): methods removed.
11699 WorkArea.C: rework code so that it's an amalgam of the codes before and
11700 after the splash screen was moved to WorkArea.
11702 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11705 * vspace.C (inPixels):
11708 * buffer.C (insertStringAsLines):
11709 (asciiParagraph): fix types to be large enough
11711 * lyxlex_pimpl.h: change member status from short to int
11713 * layout.h: fix type of endlabeltype
11716 * kbsequence.C (parse): change return type to string::size_type
11718 * LaTeX.C (updateBibtexDependencies): comment out unneeded
11721 * Bullet.C (bulletSize):
11722 (bulletEntry): do not use short ints as parameters
11724 * BufferView2.C (insertLyXFile): change a char to an int.
11726 * WorkArea.C (WorkArea): remove unneeded floats in computation
11728 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
11730 * buffer.C (asciiParagraph): Treat '\\' as other chars.
11732 * paragraph.C (asString): Do not ignore newline/hfill chars when
11733 copying to the clipboard.
11735 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
11737 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11738 after a multi-line inset.
11740 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
11742 * paragraph.C (validate): Set NeedLyXFootnoteCode
11744 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11746 * lyxfont.C (LyXSizeNames): changed increase-error to increase
11747 and decrease-error to decrease.
11749 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11751 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11752 it more readable (should be equivalent)
11754 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
11756 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11758 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11760 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11761 of a cursor (row, etc.) after a character has been deleted
11762 (deleteEmptyParagraphMechanism): call the method above on _all_
11763 cursors held by the LyXText when a double space has been
11766 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11768 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11770 (resizeCurrentBuff): remove code to destroy the old splash dialog.
11772 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11773 background. Use greyOut() and the new show() methods to toggle between
11774 the foreground and background. Add code to remove the splash after
11775 its initial showing.
11777 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11778 (create_forms): no longer call Dialogs::showSplash.
11780 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11782 * .cvsignore: add version_info.h
11784 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11786 * version_info.h.in: new file
11788 * Makefile.am: add version_info.h.in
11790 * lyx_main.C (commandLineVersionInfo): use version_info defined in
11791 version_info.h instead of VERSION_INFO
11793 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
11795 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11796 The ERT inset now returns string().
11798 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
11800 * lyxtext.h, text.C (selectNextWord): renamed as
11801 selectNextWordToSpellcheck.
11803 * text.C (selectNextWordToSpellcheck): Modified to not select
11804 words inside an ERT inset.
11806 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11808 * lyx_cb.C (MenuLayoutSave): change a bit the question
11810 * sp_base.h: include <sys/types.h>
11812 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
11814 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11816 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
11818 * several files: fix typos in user-visible strings
11820 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11822 * text2.C (pasteSelection): do not set the selection, since it
11823 will be cleared later. Actually, the intent was to fix the way the
11824 selection was set, but I figured rmoving the code was just as good.
11826 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
11828 * FontLoader.C (available): Check if font is available without
11831 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11833 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11835 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
11837 * lyxrc.[Ch]: added display_graphics variable and associated code.
11839 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11841 * bufferparams.C (hasClassDefaults): new method. Returns true if
11842 the buffer parameters correspond to known class defaults
11844 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
11846 * XFormsView.C (show): set minimum size to the main window.
11848 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11850 * text2.C (copySelection):
11852 * lyxfind.C (LyXReplace):
11853 * BufferView_pimpl.C (Dispatch): pass the correct flag to
11854 LyXText::selectionAsString.
11856 * paragraph.C (asString): add "label" argument to the second form
11858 * text2.C (selectionAsString): add "label" argument and pass it to
11859 Paragraph::asString.
11861 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11863 * lyx_main.C (commandLineHelp): remove version information
11865 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
11867 * lyx_main.C: add -version commandline option
11869 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11871 * paragraph.h: make the optional constructor arg required instead.
11872 some modifications to other files because of this.
11874 * minibuffer.C (C_MiniBuffer_peek_event): make it static
11876 * lyxserver.C (C_LyXComm_callback): make it static
11878 * lyx_main.C (error_handler): make it static
11880 * lyx_gui.C (LyX_XErrHandler): make it static
11882 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11884 * WorkArea.C: make the extern "C" methods static.
11886 * Makefile.am (lyx_LDADD): simplify
11888 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11890 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11891 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11893 * LyXAction.C (init):
11894 * lyxfunc.C (dispatch): associated code removal.
11896 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11898 * lyxfont.h (isSymbolFont): shut off warning
11900 * text.C (setHeightOfRow):
11901 (getVisibleRow): fix crash with empty paragraphs which have a
11904 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
11906 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11909 2001-09-04 José Matos <jamatos@fep.up.pt>
11912 * tabular.C (docbook): rename docBook method to docbook.
11914 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11916 * Makefile.am: add dependencies to main.o.
11918 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
11920 * FontLoader.C (available): Return false if !lyxrc.use_gui
11922 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
11924 * FontInfo.C (query):
11925 * converter.C (view):
11926 * importer.C (Import):
11927 * exporter.C (Export): Can not -> cannot.
11929 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
11931 * BufferView_pimpl.C: allow to create index inset even if
11934 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11936 * buffer.C (getLists): replace boost::tie code with an explicit pair
11937 as boost::tie can break some compilers.
11939 * iterators.h: Added a std:: declaration to the return type of
11942 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
11944 * lyxrc.C: add help for view_dvi_paper_option, default to safe
11947 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
11949 * iterators.[Ch]: New files. Provide paragraph iterators.
11951 * buffer.C (changeLanguage): Use paragraph iterators.
11952 (isMultiLingual): ditto
11954 * BufferView2.C (ChangeInsets): Use paragraph iterators.
11956 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
11958 * FontLoader.C: Support for cmr font.
11960 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
11962 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11963 (available): New method.
11965 * FontInfo.C (getFontname): Use scalable fonts even when
11966 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11969 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11971 * converter.C (Formats::view): reverted! Incorrect fix.
11973 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11975 * converter.C (Formats::view): only output the -paper option
11976 if the dvi viewer is xdvi, thereby fixing bug #233429.
11978 2001-08-23 Herbert Voss <voss@perce>
11980 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11982 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
11984 * Spacing.h (Spacing): Set space to Default on in the default
11987 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
11989 * vc-backend.h (RCS::versionString): add RCS to version
11990 (CVS::versionString): add CVS to version
11992 * vc-backend.C (scanMaster): do not add CVS to version.
11993 (scanMaster): do not add RCS to version
11995 * lyxvc.C (versionString): new method
11997 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11999 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12001 * Spacing.C (set): initialize fval
12003 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
12005 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12008 2001-08-16 Juergen Vigna <jug@sad.it>
12010 * lyxfunc.C (dispatch): implemented the new FINISHED states.
12012 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12014 * BufferView_pimpl.C:
12017 * text2.C: setParagraph takes linespacing now
12019 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
12021 * LyxAction.C: add internal LFUN_CITATION_INSERT
12023 * LyXView.C: actually apply fix
12025 * bufferlist.C: fix open non-existent file
12027 * lyxfind.C: fix indentation
12029 * lyxfunc.C: remove unneeded assert, fix typo
12031 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12033 * MenuBackend.C: use "Floatname List"
12035 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
12037 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12038 when converting LaTeX layout to insetERT.
12039 Generate a non-collapsed float when reading old float
12041 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12043 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12046 2001-08-13 Juergen Vigna <jug@sad.it>
12048 * text.C (fill): return 0 instead of 20 as this seems to be the more
12051 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12053 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12056 2001-08-13 Juergen Vigna <jug@sad.it>
12058 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12060 (SearchBackward): comment out the unlocking of the inset_owner this
12061 should not be needed!
12063 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
12065 * Many files: Remove inherit_language, and add latex_language
12067 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12068 collapsible insets.
12070 2001-08-10 Juergen Vigna <jug@sad.it>
12072 * text.C (prepareToPrint): fixed hfill-width in draw!
12074 * BufferView2.C (selectLastWord): save the selection cursor as this
12075 now is cleared in the function LyXText::clearSelection!
12077 2001-08-08 Juergen Vigna <jug@sad.it>
12079 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12080 BACKSPACE type functions.
12082 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12083 is only cutted from the document but not put in the cut-buffer, where
12084 still the old stuff should be.
12086 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12088 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12090 * tabular.C (SetWidthOfCell): fixed special case where the width
12092 (LeftLine): handle '|' in align_special.
12094 (LeftAlreadyDrawed): ditto
12095 (SetWidthOfCell): ditto
12097 2001-08-07 Juergen Vigna <jug@sad.it>
12099 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12101 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12103 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12104 * lyxlex.[hC]: ditto
12106 2001-08-06 Juergen Vigna <jug@sad.it>
12108 * text.C (getVisibleRow): fix up row clearing a bit.
12110 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12112 * minibuffer.C: make sure the X server sees the changes in the input.
12114 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12116 * paragraph.C (getFont): split into...
12117 (getLabelFont): this
12118 (getLayoutFont): and this
12119 * paragraph_pimpl.C (realizeFont): calling this
12121 * text2.C (getFont): split into...
12122 (getLayoutFont): this
12123 (getLabelFont): and this
12124 (realizeFont): all three calling this
12126 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12129 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12131 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12133 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
12135 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12136 layouts from the Quote inset insertion.
12138 2001-08-03 Juergen Vigna <jug@sad.it>
12140 * BufferView_pimpl.C (update): do the fitCursor only at the end!
12142 * screen.C (drawFromTo): don't call fitcursor here and do the loop
12143 only if status not is already CHANGED_IN_DRAW (second level).
12145 * text.C (draw): don't set the need_break_row when inside an
12148 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12150 * buffer.C (parseSingleLyXformat2Token): handle more latex
12153 * bufferview_funcs.[hC]: change function names to
12154 begin with small char, adjust other files.
12156 2001-08-02 André Pönitz <poenitz@gmx.net>
12159 BufferView_pimpl.C: remove broken special code for math-greek
12161 2001-08-02 Juergen Vigna <jug@sad.it>
12163 * BufferView_pimpl.C (update): redone this function so that we
12164 update the text again if there was a CHANGE_IN_DRAW.
12166 * screen.C (cursorToggle): removed LyXText parameter and recoded.
12167 (drawFromTo): added a new internal bool which is used by draw() and
12169 (general): some cursor drawing problems fixed.
12171 2001-08-01 Juergen Vigna <jug@sad.it>
12173 * lyxfind.C (LyXFind): fixed
12174 (SearchForward): ditto
12175 (SearchBackward): ditto
12177 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12178 spurius drawing of the cursor in the main area.
12180 * text2.C (status): small fix which could lead to a segfault!
12181 (clearSelection): remove unneeded BufferView param.
12183 2001-08-01 André Pönitz <poenitz@gmx.net>
12185 * lyxfunc.C: small change due to changed mathed interface
12187 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12189 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12191 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
12193 * lyxfunc.c: fail gracefully if file doesn't exist
12198 * BufferView_pimpl.C: IsDirWriteable() proto changed
12200 * LyXView.C: fix updateWindowTitle() to store the last title
12202 2001-07-31 Juergen Vigna <jug@sad.it>
12204 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12205 the font (wrong since using of Paragraph::highestFontInRange).
12207 * paragraph.C (highestFontInRange): added a default_size parameter.
12209 * text.C (getVisibleRow): minor clear row changes (still not perfect).
12210 (setHeightOfRow): reformat
12212 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12214 * converter.[hC] + affected files: move to (inital-char)lowercase
12217 * ParagraphParameters.C (ParagraphParameters): remove commented code
12219 * PainterBase.[Ch]: remove commented code
12221 * LaTeXFeatures.h: add "bool floats" for float.sty
12223 * LaTeXFeatures.C (LaTeXFeatures): init floats
12224 (require): handle float
12225 (getPackages): do it with floats
12227 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12229 * BufferView_pimpl.C (Dispatch): improve handling of
12230 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12232 * commandtags.h: #include lyxfont.h here temporarily to avoid
12235 * bufferlist.h: include LString.h here.
12237 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12239 * text2.C (getStringToIndex): new method.
12241 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
12243 * *: Reduced header file dependencies all over.
12245 2001-07-30 Baruch Even <baruch@lyx.org>
12247 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12249 2001-07-29 Baruch Even <baruch@lyx.org>
12251 * buffer.C (readInset): Changed GRAPHICS to Graphics.
12253 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12255 * ParameterStruct.h (endif): add a default constructor to make
12256 sure that all variables is initialized.
12258 * ParagraphParameters.C (ParagraphParameters): adjust
12260 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12262 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12263 index; also, check that there is something to index, and that it
12264 does not span over several paragraphs.
12265 (doubleClick): use WHOLE_WORD_STRICT for double click.
12267 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12269 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12272 2001-07-26 Baruch Even <baruch@lyx.org>
12274 * buffer.C (readInset): Changed to call up InsetGraphics when reading
12275 an InsetFig figure, backwards compatible reading of old figure code.
12277 2001-07-27 Juergen Vigna <jug@sad.it>
12279 * text2.C: font.realize function adaption.
12281 * text.C (draw): add a warnings lyxerr text if needed.
12283 * layout.C: font.realize function adaption.
12285 * language.C: add inherit_language and implement it's handlings
12287 * bufferview_funcs.C (StyleReset): remove language parameter from
12288 font creation (should be language_inherit now).
12290 * bufferparams.C (writeFile): handle ignore_language.
12292 * paragraph.C (getFontSettings): the language has to be resolved
12293 otherwise we have problems in LyXFont!
12295 * lyxfont.C (lyxWriteChanges): added document_language parameter
12296 (update): removed unneeded language parameter
12298 * paragraph.C (validate): fixed wrong output of color-package when
12299 using interface colors for certain fonts in certain environments,
12300 which should not seen as that on the final output.
12302 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
12304 * BufferView_pimpl.C:
12309 * LyXAction.C: add thesaurus support
12312 * lyxfind.C: add "once" parameter, for thesaurus, to not
12313 move to the next match
12315 2001-07-26 Juergen Vigna <jug@sad.it>
12317 * lyxfont.C (realize): honor ignore_language too!
12320 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12322 * text.C (draw): one place more for ignore_language to not draw
12325 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
12327 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12329 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12331 * buffer.C (parseSingleLyXformat2Token): a more general fix for
12332 the minipage conversion problem.
12334 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12336 * buffer.C (parseSingleLyXformat2Token): check minipage if we
12339 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12341 * BufferView.h: don't forward declare WorkArea
12343 * BufferView.C: don't include WorkArea.h
12345 2001-07-25 André Pönitz <poenitz@gmx.net>
12349 * lyxfunc.C: new LFUN 'math-space'
12351 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12353 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12355 * text2.C (toggleInset): call open/close
12357 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12359 * lyxfunc.C (dispatch): add debug for the disabled case
12361 * font.C (buttonText): make similar to rectText
12363 * buffer.C (readInset): comment out parsing of insetlist and
12366 * PainterBase.C (rectText): small correction
12368 * BufferView_pimpl.C: comment out insettheorem and insetlist
12369 * LyXAction.C: ditto
12370 * commandtags.h: ditto
12372 2001-07-24 Juergen Vigna <jug@sad.it>
12374 * text.C (draw): honor the ignore_language.
12376 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12378 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12380 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12383 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12385 * lyxtext.h: remove unused (and unimplemented) methods
12387 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12389 * text.C (getVisibleRow): honor background color
12392 * Painter.h: remove default color argument for fillRectangle
12394 * text.C (backgroundColor): new method
12396 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12398 * text.C (getVisibleRow): adjust
12400 * font.[Ch] (rectText): new method, metrics
12401 (buttonText): new method, metrics
12403 * PainterBase.[hC]: make rectText and buttonText always draw and take
12406 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12408 * ToolbarDefaults.C (read):
12409 * MenuBackend.C (read): allow escaping in all strings
12411 * BufferView_pimpl.C (insertAndEditInset): new method.
12412 (Dispatch): use insertAndEditInset whenever appropriate.
12414 * BufferView_pimpl.C (insertNote): removed
12416 * BufferView_pimpl.C (smartQuote): new method, moved from
12417 BufferView; if an insetquote cannot be inserted, insert a '"'
12420 * BufferView2.C: remove insertCorrectQuote();
12422 * lyxfunc.C (getStatus): Add support for all remaingin
12423 inset-insert lfuns.
12425 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12427 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12428 command (necessary to pass " as parameter of self-insert.
12430 * text.C (selectWordWhenUnderCursor):
12431 (selectWord): add word_location parameter
12432 (selectWordWhenUnderCursor): same + remove special code for word
12434 (selectNextWord): use kind() to guess type of insetspecialchar,
12437 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12438 (insertErtContents): create ert insets as collapsed.
12439 (readInset): better compatibility code for Info inset.
12441 2001-07-20 Juergen Vigna <jug@sad.it>
12443 * lyxfunc.C (dispatch): use always LyXFind now!
12445 * text2.C (init): add a reinit flag so that the LyXText can be
12446 reinited instead of deleted and reallocated (used in InsetText).
12448 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12454 2001-07-18 Juergen Vigna <jug@sad.it>
12456 * text.C (selectNextWord): handle insets inside inset by calling
12457 always the bv->text functions so that we can go up the_locking_inset!
12459 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12460 in strange locations when inside an inset!
12462 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12463 handling to include insets.
12465 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12467 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12469 * LyXAction.C (init):
12471 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12472 LIGATURE_BREAK, since the name is so stupid.
12474 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12476 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12479 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12481 * sp_form.[Ch]: remove.
12483 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12485 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12488 * src/buffer.C (readInset): ditto.
12490 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12492 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12493 menuSeparator(), endOfSentenceDot(), ldots() and
12494 hyphenationPoint(), which are therefore removed.
12495 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12497 * LyXAction.C (init):
12498 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12500 * paragraph.C (getWord): removed.
12502 * BufferView_pimpl.C (Dispatch): use last word or selection for
12503 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12505 * lyx_main.C (queryUserLyXDir): do not ask before creating
12506 user_dir, except if it has been named explicitely.
12508 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12510 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12511 a document of zero size.
12513 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12515 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12516 approriately in the c-tor and in require().
12517 (getPackages): output the appropriate LaTeX for natbib support.
12519 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12520 variables "use_natbib" and "use_numerical_citations" when reading the
12522 (readInset): read the various natbib cite commands.
12523 (validate): white-space change.
12525 * bufferparams.[Ch]: new variables "bool use_natbib" and
12526 "bool use_numerical_citations".
12527 (writeFile): output them in the LyX file.
12529 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12531 * lyxfunc.C (getStatus): add support for all the inset insertion
12534 * text2.C (insertInset):
12535 * paragraph.C (insetAllowed):
12536 * BufferView_pimpl.C (insertInset): update to take in account the
12537 renaming of insertInsetAllowed
12539 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12541 * text2.C (getInset): new method. returns inset at cursor position.
12543 * BufferView_pimpl.C (Dispatch): changes because of this.
12545 * LyXAction.C (init): rename open-stuff to inset-toggle.
12547 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12549 * text2.C (toggleInset): renamed from openStuff; use
12552 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
12554 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12556 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12558 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
12560 * buffer.C (readLyXformat2): Add filename to the error dialog
12562 2001-07-18 Juergen Vigna <jug@sad.it>
12564 * tabular.C (GetCellNumber): put an assert here instead of the check!
12566 2001-07-17 Juergen Vigna <jug@sad.it>
12568 * BufferView_pimpl.C (toggleSelection): adapted too.
12570 * text.C (selectNextWord): adapted for use with insets.
12571 (selectSelectedWord): ditto
12573 2001-07-17 Juergen Vigna <jug@sad.it>
12575 * sp_spell.C (PSpell): fix initialitation order.
12577 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12579 * paragraph.C: spacing
12581 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
12583 * sp_spell.C: repair language selection for pspell
12585 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12587 * lyxfunc.h: change more methods to begin with lower char.
12589 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
12591 * buffer.C (parseSingleLyXformat2Token): Generate error insets
12592 for unknown layouts.
12594 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
12596 * buffer.C (readLyXformat2): Generate an error dialog if there are
12599 2001-07-16 Juergen Vigna <jug@sad.it>
12601 * sp_spell.C: always compile ISpell part.
12603 * lyxrc.C: added use_pspell entry and it's handling.
12605 2001-07-13 Juergen Vigna <jug@sad.it>
12607 * sp_spell.C: removed double includes.
12609 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
12611 Consistent use of Lsstream.h:
12612 * Lsstream.h: added using std::stringstream for consistencies sake.
12614 * buffer.C: removed using std::stringstream
12616 * lyxfont.C (stateText):
12617 * paragraph.C (asString):
12618 * text.C (selectNextWord, selectSelectedWord):
12619 * text2.C (setCounter):
12620 * vspace.C (asString, asLatexString):
12621 std::ostringstream -> ostringstream.
12623 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12625 * LyXAction.C: add LFUN_HELP_ABOUTLYX
12626 * commandtags.h: add LFUN_HELP_ABOUTLYX
12627 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12629 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12631 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12633 * lyx_gui_misc.C: remove spellchecker
12634 * lyxfunc.C: showSpellchecker
12636 * sp_ispell.h: added
12637 * sp_pspell.h: added
12638 * sp_spell.C: added
12639 * sp_form.[Ch]: removed
12640 * spellchecker.[Ch]: removed
12642 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
12644 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12646 (simpleTeXSpecialChars): Simply print the input character without
12647 any special translation if pass_thru is set.
12649 * layout.h: Added bool pass_thru to layout class for being able to
12650 implement pass through of a paragraph for Literate Programming.
12652 * layout.C: add LT_PASS_THRU to LayoutTags enum.
12653 * layout.C (LyXLayout): set pass_thru to flase in constructor.
12654 * layout.C (Read): add "passthru" to list of layout tags and add
12655 code to set the pass_thru boolean when it is read.
12657 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12659 * trans_decl.h: remove allowed from KmodInfo
12661 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12662 remove allowed code
12665 * paragraph_pimpl.C (erase): use boost::prior
12667 * Painter.C (text): use data() instead of c_str() when length is
12669 * WorkArea.C (putClipboard): ditto
12670 * font.h (width): ditto
12672 * BufferView2.C: use it-> instead of (*it). for iterators
12674 * paragraph_pimpl.C: ditto
12675 * paragraph.C: ditto
12676 * minibuffer.C: ditto
12677 * language.C: ditto
12679 * encoding.C: ditto
12680 * counters.C: ditto
12681 * converter.C: ditto
12683 * Variables.C: ditto
12684 * TextCache.C: ditto
12685 * MenuBackend.C: ditto
12686 * LyXAction.C: ditto
12688 * FloatList.C: ditto
12689 * DepTable.C: ditto
12690 * ColorHandler.C (LyXColorHandler): ditto
12692 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12694 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12696 * text2.C (openStuff): reintroduce this method (which had been
12697 nuked in NEW_INSETS frenzy).
12699 * lyxfunc.C (Dispatch): when an action has not been handled, use
12700 its name in the error message, not its number.
12702 * paragraph.C (inInset): change method name to begin with lowercase.
12705 * text2.C: updates because of this.
12707 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12709 * ToolbarDefaults.C (add): add spaces in error message
12711 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12713 * buffer.C (readLyXformat2): initialize the ert comp. variables.
12714 (readLyXformat2): rename return_par to first_par, use lyxlex's
12715 pushToken and remove the manual push handling.
12716 (parseSingleLyXformat2Token): add another ert comp. variable:
12717 in_tabular, rename return_par to first_par. handle newlines better
12719 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12721 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12723 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12725 * text2.C (getParFromID): removed
12727 * buffer.C (getParFromID): new method moved form lyxtext.
12728 * BufferView2.C (insertErrors): adjust
12729 (setCursorFromRow): adjust
12730 * BufferView_pimpl.C (restorePosition): adjust
12731 * lyxfunc.C (Dispatch): adjust
12732 * undo_funcs.C (textUndo): adjust
12734 (textHandleUndo): adjust
12735 (textHandleUndo): adjust
12737 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12739 * buffer.C: up' the LYX_FORMAT
12741 * lyxfont.h: turn NO_LATEX on as default
12743 * buffer.C (insertErtContents): new methods of tex style compability.
12744 (parseSingleLyXformat2Token): use it several places.
12745 * tabular.C (OldFormatRead): and here
12747 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12749 * text2.C: remove some commented code.
12752 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12753 * trans.C: changes because of the above.
12755 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
12757 * text2.C (setCounter): Fix counters bug with bibliography layout.
12759 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12761 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12762 own member functions
12763 (simpleTeXSpecialChars): ditto
12765 2001-07-06 Juergen Vigna <jug@sad.it>
12767 * a lot of files: changed the access to LyXText::status and the
12768 call of undo-functions.
12770 * undo.[Ch]: added a inset_id to the undo informations.
12772 * undo_funcs.[Ch]: added and moved here all undo functions.
12774 * lyxtext.h: give the status enum a weight, made status_ a private
12775 variable and made accessor functions for it, removed the whole bunch
12776 of undo-functions as they are now in their own file, make some
12777 functions publically available. Added function ownerParagraph with
12780 * paragraph.[Ch]: added "bool same_ids" to the constructor,
12781 made InInset() a const function, added getParFromID() function.
12783 * buffer.[Ch]: added const version for inset_iterator functions,
12784 added getInsetFromID() function.
12786 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12787 changed undo functions for new version.
12789 2001-07-05 Juergen Vigna <jug@sad.it>
12791 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12792 unknow mechanism does not call the proper constructor but only this
12793 one also if I request the other!?
12795 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12797 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12799 * text2.C (LyXText): use initialization lists.
12801 * lyxtext.h (Selection): initialize set_ and mark_
12802 (init): remove method
12804 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
12806 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12808 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12810 * screen.[Ch]: change method names to begin with lowercase
12812 * BufferView_pimpl.C (updateScrollbar): simplify further and
12813 hopefully make it a bit faster.
12815 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12817 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12818 calling directly xforms functions.
12820 * Painter.C (Painter):
12821 * lyx_cb.C (MenuWrite):
12822 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12825 * lyx_gui.C: remove bogus guiruntime extern declaration.
12827 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12829 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12831 (redoDrawingOfParagraph): ditto
12832 (redoParagraphs): ditto
12833 (cutSelection): don't create a object for CutAndPaste use the
12834 static method directly
12835 (pasteSelection): ditto
12837 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12840 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12842 * modifications to some other files because of this.
12844 * Makefile.am (lyx_SOURCES): add XFormsView
12846 * XFormsView.[Ch]: new files
12848 * LyXView.[Ch]: make LyXView a base class for the gui handling for
12849 the main window. Move the gui dependent stuff to XFormsView
12851 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12853 * tabular.C (GetCellInset): update cur_cell also in the row/col
12854 version of this function.
12856 * lyxfunc.C: no need to include figure_form.h here.
12862 * lyxvc.C: no need to include forms.h here.
12864 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12866 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12868 * lyxfunc.C (Dispatch):
12870 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12871 constructor argument.
12873 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12875 * paragraph.C (Paragraph): dont't clear, and just set layout.
12876 (makeSameLayout): use params's copy contructor.
12878 * ParagraphParameters.[Ch] (makeSame): delete method
12880 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
12882 * Variables.[Ch]: fix indentation, rename set to isSet
12884 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12886 * lyxfunc.C (Dispatch): fix typo
12888 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12890 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12893 * bufferlist.C: include assert.h for emergencyWrite().
12895 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12897 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12898 give up at last (bug #425202) !
12900 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
12906 * spellchecker.C: strip spellchecker options and bring up
12907 preferences tab instead
12909 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12911 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12912 the istringstream constructor
12914 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12916 * paragraph.C (getLayout): fix return value
12918 * paragraph.h: do not declare getLayout as inline.
12920 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12922 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12924 * lyxcursor.h (operator<): new func
12925 (operator>): new func
12926 (operator>=): new func
12927 (operator<=): new func
12929 * text.C (changeCase): use selection.start and selection.end
12930 (changeRegionCase): require from to be <= to. Require par to be a
12933 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12935 2001-06-27 Juergen Vigna <jug@sad.it>
12937 * text.C (cursorLeftOneWord): changed to return the cursor and added
12938 overlay with BufferView * parameter which calls this one.
12940 (selectWord): use new getWord function.
12941 (changeCase): renamed from changeWordCase as and extended to work
12942 also on selections.
12944 * lyxtext.h: added enum word_location
12946 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12947 changeCase as this operates now also on selections.
12949 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
12951 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12953 * many files: send debug output to Debug::INFO instead of
12956 * converter.C (View):
12958 (Move): send debug output to Debug::FILES instead of console.
12960 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
12962 * lyxfunc.C (getStatus): use func_status
12964 * func_status.h: new header, describing the results of
12965 LyXFunc::getStatus;
12967 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12970 2001-06-25 The LyX Project <jug@sad.it>
12972 * buffer.C (sgmlOpenTag):
12974 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
12976 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12978 * text2.C: remove some dead code
12980 * tabular.C (GetCellInset): store the last cell checked (gotten)
12982 * tabular.h: add the helper for the speedup
12984 * lyxtext.h: remove some dead code
12986 2001-06-26 The LyX Project <Asger>
12988 * paragraph.C: Change export to LaTeX of alignment to
12989 \begin{center} and family for better roundtrip work with reLyX.
12991 * Tune the math drawing a bit.
12993 2001-06-25 The LyX Project <Asger>
12995 * LColor.C (LColor): New color for math background. New color
12998 2001-06-25 The LyX Project <jug@sad.it>
13000 * lyxfunc.C (MenuNew): remove extra check for .lyx file
13002 * lyxfunc.C (Open):
13003 * bufferlist.C (newFile): do not restrict to files ending with
13006 * BufferView_pimpl.C (MenuInsertLyXFile):
13008 2001-06-24 The LyX Project <jug@sad.it>
13010 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13013 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13015 * lyxtext.h: rename most methods to begin with a small char.
13016 Lots of changes because of this.
13018 * paragraph.C (Paragraph): do not call fitToSize
13019 (erase): call Pimpl::erase
13020 (insertChar): call Pimpl::insertChar
13021 (insertInset): call Pipl::insertInset
13022 (breakParagraph): do not call fitToSize
13023 (breakParagraphConservative): do not call fitToSize
13024 (fitToSize): remove method
13026 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13028 2001-06-24 The LyX Project <Asger>
13030 * Fix Qt compilation^2
13032 2001-06-24 The LyX Project <jug@sad.it>
13034 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13035 depthHook(getDepth()-1).
13038 * ParagraphParameters.h:
13039 * ParameterStruct.h: change type of depth to unsigned int ==
13040 depth_type. Many adaptations to other files before of that.
13042 2001-06-24 The LyX Project <Asger>
13044 * Fix Qt compilation.
13046 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13048 * paragraph.h: renamed several methods to begin with small letter.
13049 several changes to many parts of the code because of this.
13051 2001-06-23 The LyX Project <jug@sad.it>
13053 * text2.C (InsertStringAsLines): renamed from InsertStringA;
13054 rewritten to discard all double spaces when KeepEmpty is off
13055 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13056 to only handle newlines but not fiddle with spaces and friends.
13058 * lyxfunc.C (MenuNew): when doing 'new from template', use
13059 template_path as default directory
13061 2001-06-23 The LyX Project <Asger>
13063 * Clean-up of header file includes all over
13064 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13066 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13068 * paragraph.h: renamed from lyxparagraph.h
13070 2001-06-23 Asger <lyx@violet.home.sad.it>
13072 * Buffer.h: Removed Buffer::resize
13073 * BufferList.h: Removed BufferList::resize
13074 * LyXView.h: Added LyXView::resize. This way, we will only reflow
13075 the document lazily when we change the width, or the font settings.
13077 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13079 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13081 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13083 * buffer.h: remove out of date comment
13085 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13088 * screen.C: fix "theoretical" GC leak
13090 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13092 * LaTeX.C (scanAuxFile):
13093 (deplog): remove trailing \r when reading stream (useful under
13096 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
13098 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13099 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13100 and BufferView::theLockingInset(Inset*), so should use them and not
13101 access bv_->text->the_locking_inset directly.
13103 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13105 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13108 * tex-defs.h: remove old unused file
13110 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
13112 * BufferView_pimpl.C: fix typo, remove minibuffer message
13113 when buffer has loaded
13115 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13117 * lyxfunc.C (Dispatch): use stringstream
13118 (MenuNew): use stringstream
13119 (Open): use stringstream
13121 * importer.C (Import): use stringstream
13123 * bufferview_funcs.C (CurrentState): use stringstream
13125 * LaTeX.C (run): use stringstream
13127 * BufferView_pimpl.C (savePosition): use stringstream
13128 (restorePosition): use stringstream
13129 (MenuInsertLyXFile): use stringstream
13131 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
13144 * vspace.C: removed // -*- C++ -*- as first line.
13147 * version.h: added // -*- C++ -*- as first line.
13149 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13151 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13153 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13156 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13158 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13161 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13163 * gettext.C: include LString.h even when --disable-nls is on.
13165 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
13167 * converter.h (Get): changed argument type from int to
13168 FormatList::size_type to avoid unnecessary conversion.
13170 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13173 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13175 * gettext.h: include LString.h even when --disable-nls is on.
13177 2001-06-07 Juergen Vigna <jug@sad.it>
13179 * text.C (BreakAgain): subst spaces with tabs.
13181 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13182 (resizeInsetsLyXText): set force on resizeLyXText.
13184 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13186 * gettext.h (gettext_init):
13187 (locale_init): use a real definition instead of a macro
13189 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13191 * Bufferview_pimpl.C:
13193 * LColor.C: further lcolor tidies
13195 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13197 * BufferView_pimpl.C (updateScrollbar): simplify.
13199 * BufferView2.C: don't include insets/insetinfo.h, change
13200 prototype for insertInset and call the Pimpl version. let
13201 updateInset call Pimpl version.
13203 * BufferView.h: move inset_slept to BufferView::Pimpl, move
13204 gotoInset to BufferView::Pimpl
13206 2001-06-01 Juergen Vigna <jug@sad.it>
13208 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13209 inside a LockingInset (is the update needed at all?).
13211 2001-05-31 Juergen Vigna <jug@sad.it>
13213 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13214 here not the old one otherwise how should we compare it afterwards
13217 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13222 * FontInfo.C: bring C functions into global namespace when
13225 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13227 * LString.h: make sure config.h has been loaded before LString.h.
13229 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13230 (one for each char read by EatLine!).
13232 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13235 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13237 * paragraph.C (BreakParagraph): set the inset_owner in the new par
13238 to the same as the par we break from
13240 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
13242 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13244 * MenuBackend.C (expand): also create menu entries for wide
13245 versions of the floats.
13247 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13249 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13251 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13252 frontends/Makefile.am
13258 * tabular.C (getTokenValue): add std::
13260 * tabular-old.C (getTokenValue): add std::
13261 (getTokenValue): ditto
13262 (getTokenValue): ditto
13264 * screen.C (ToggleSelection): adjust
13266 * lyxtext.h: put selection cursors inside a Selection struct.
13268 * lyxfunc.C (moveCursorUpdate): adjust
13270 * lyxfont.C (latexWriteStartChanges): add std::
13272 * lyxfind.C: adjust
13274 * font.h: delete with(char const *, LyXFont const &)
13276 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13278 * FontInfo.C (getFontname): add std::
13280 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13281 (workAreaButtonPress): adjust
13282 (tripleClick): adjust
13284 (moveCursorUpdate): adjust
13287 * BufferView2.C (gotoInset): adjust
13289 2001-05-30 Juergen Vigna <jug@sad.it>
13291 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13292 to check pspell I add this as default as I now have new pspell
13293 libraries and they seem to use this.
13295 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13297 * text2.C (CutSelection): make the cursor valid before the call to
13300 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13302 * kbsequence.C (parse): de-uglify a bit the parsing code, which
13303 relied on 0 terminated strings and other horrors. Bug found due to
13304 the new assert in lyxstring!
13306 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13309 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13311 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13314 * lyxfunc.C (processKeySym): change method of getting to the
13317 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13318 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13319 * BufferView_pimpl.[Ch]: here as private methods.
13321 2001-05-28 Juergen Vigna <jug@sad.it>
13323 * text.C (SetHeightOfRow): added the update() call again as it is
13324 needed to initialize inset dimensions!
13326 2001-05-16 Juergen Vigna <jug@sad.it>
13328 * text2.C (SetCharFont): Add new function with BufferView * and
13329 bool toggleall parameters for setting insets internal fonts.
13330 (SetFont): Freeze the undo as we may change fonts in Insets and
13331 all this change should be inside only one Undo!
13333 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13334 setting font's in insets as for them we have the SetFont function!
13336 2001-05-15 Juergen Vigna <jug@sad.it>
13338 * text2.C (ClearSelection): to be sure we REALLY don't have any
13341 * tabular.C (TeXCellPreamble): fixed the left border problem for
13344 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
13346 * LaTeX.C (deplog): Make sure that the main .tex file is in the
13349 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13351 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13352 LFUN_BREAKPARAGRAPH.
13354 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13355 help test to "internal only", similar for LFUN_INSERT_URL
13357 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13358 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13359 auto_region_delete and deadkeys.
13361 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
13364 * LColor.C: remove some dead entries, tidy a little
13366 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13368 * lyxfunc.C (processKeySym): comment the Escape handling, remove
13370 (Dispatch): implement LFUN_ESCAPE
13372 * commandtags.h: add LFUN_ESCAPE
13374 * LyXAction.C (init): add entry for LFUN_ESCAPE
13376 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13377 Remove commented code.
13378 (insertNote): moved here
13379 (open_new_inset): moved here
13381 * BufferView[2].[Ch]: move insertNote and open_new_inset to
13384 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13386 * kbmap.C (findbinding): clean it up and make it work correctly.
13388 * lyx_main.C (init): do not pass argc and argv as parameters
13390 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
13392 * buffer.C: fix path for OS/2 & Win32
13396 * lyx_main.C: Added os:: class.
13398 * os2_defines.h: update
13400 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13402 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13403 better by trying again with reduced state.
13405 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13407 * lyxrc.C (read): print error about invalid key sequence only when
13408 debugging (because not all latinX keysyms are known to some X
13411 * kbsequence.C (getiso): add a few std:: qualifiers
13412 (getiso): comment out extra return statement.
13414 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
13416 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13418 (Dispatch): enhance the accent inset a bit. (not perfect)
13420 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13422 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13424 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13426 * bufferlist.C (emergencyWrite): fix assert() call
13428 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
13430 * text.C (InsertChar): Added trivial patch to only send the "you
13431 can not do multiple spaces this way" message once during a
13434 2001-05-08 Baruch Even <baruch@lyx.org>
13436 * Makefile.am: Changed order of libraries to get LyX to link properly
13437 with the gnome frontend.
13439 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13441 * LaTeXFeatures.h: add a std:: qualifier
13443 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13445 * paragraph.C (String): use stringstream
13447 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13449 * paragraph.C (writeFile): remove footflag arg
13451 * buffer.C (makeLaTeXFile): use stringstream
13452 (latexParagraphs): remove footnot gurba
13454 * LaTeXFeatures.C (getPackages): use stringstream
13455 (getMacros): likewise
13456 (getTClassPreamble): likewise
13457 (getFloatDefinitions): new method
13459 * paragraph.C (writeFile): reindent
13462 * WorkArea.h: revert the xpos + etc changes.
13464 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13466 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13468 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13469 (pasteSelection): likewise
13470 * text2.C (CreateUndo): likewise
13472 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13474 * minibuffer.C (peek_event): temporarily reduce the functionality
13475 of the minibuffer (to allow args on lfuns)
13477 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13478 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13480 * buffer.C (readInset): add compability reading of old float
13481 lists, add reading of new style float list.
13482 (readInset): avoid reevaluation of inscmd.getCmdName()
13483 (getLists): reindent
13485 * MenuBackend.C (MenuItem): implement parsing of
13486 md_floatlistinsert and md_floatinsert.
13487 (expand::LastFiles): move initalizaton of iterators out of loop,
13488 avoid reevaluation.
13489 (expand::Documents): introduce typdedef vector<string> Strings,
13491 (expand::ExportFormats): introduce typedef vector<Format const *>
13492 Formats, and use it.
13493 (expand): implement FloatListInsert and FloatInsert.
13495 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13496 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13497 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13499 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13501 (Dispatch::LFUN_FLOAT_LIST): implement
13503 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13505 * LaTeX.C (run): Fix problem with --export code.
13507 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13509 * BufferView.[Ch] (workarea): removed.
13510 (getClipboard) new method; wrapper for workarea()->getClipboard()
13512 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13515 * WorkArea.h (width, height, xpos, ypos): These methods all
13516 returned the dimensions of the work_area sub-area of WorkArea,
13517 resulting in a position error if the WorkArea were resized. Now
13518 return the dimensions of the entire WorkArea.
13520 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13522 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13524 * LaTeX.C (deplog): correct the syntax of regex reg1
13526 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13528 * undo.C: remove !NEW_INSETS cruft
13530 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13532 * text2.C: remove !NEW_INSETS cruft
13534 * text.C: remove !NEW_INSETS cruft
13536 * tabular.C: remove !NEW_INSETS cruft
13538 * spellchecker.C: remove !NEW_INSETS cruft
13540 * lyxtext.h: remove !NEW_INSETS cruft
13542 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13544 * lyxfunc.C: remove !NEW_INSETS cruft
13546 * lyxfind.C: remove !NEW_INSETS cruft
13548 * lyx_cb.C: remove !NEW_INSETS cruft
13550 * figureForm.C: remove !NEW_INSETS cruft
13552 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13554 * buffer.[Ch]: remove !NEW_INSETS cruft
13556 * ToolbarDefaults.C: remove !NEW_INSETS cruft
13558 * CutAndPaste.C: remove !NEW_INSETS cruft
13560 * BufferView_pimpl.C: remove !NEW_INSETS cruft
13562 * BufferView2.C: remove !NEW_INSETS cruft
13564 * BufferView.h: remove !NEW_INSETS cruft
13566 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13568 * Lsstream.h: include LString.h before the sstream headers to
13569 fix problem with gcc 2.95.3 and lyxstring
13571 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13573 * lyx_main.C: add using directives when needed for C functions
13574 declared in std:: namespace.
13576 2001-04-27 Juergen Vigna <jug@sad.it>
13578 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13579 (SetHeightOfRow): comment out the update call should not be needed!
13581 2001-04-13 Juergen Vigna <jug@sad.it>
13583 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13584 (LyXTabular): tried to minimize operator= operations (and realized
13585 hopfully Lars wish).
13587 2001-04-27 Juergen Vigna <jug@sad.it>
13589 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13591 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13593 * lyxfunc.C (Dispatch): hack to make listof algorithm work
13595 * buffer.C (readInset): hack to make listof algorithm work
13597 * BufferView_pimpl.C: hack to make listof algorithm work
13599 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13601 * LyXAction.C: removed all !NEW_INSETS cruft
13602 (init): moved lfun_item in method
13604 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13606 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13608 * BufferView2.C (theLockingInset): white space.
13610 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13612 * minibuffer.C: include <iostream>
13614 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13616 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13618 * commandtags.h: add LFUN_TRANSPOSE_CHARS
13620 * text.[Ch] (TransposeChars): new method
13622 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13624 * call message directly through LyXView instead of through LyXFunc
13625 * BufferView2.C: adjust
13626 * BufferView_pimpl.C: adjust
13627 * FontLoader.C: adjust
13629 * bufferview_funcs.C: adjust
13630 * converter.C: adjust
13631 * figureForm.C: adjust
13632 * importer.C: adjust
13634 * lyx_gui_misc.C: adjust
13635 * lyxfunc.C: adjust
13638 + more files in subdirs
13640 * lyxparagraph.h (size): move up int file
13643 * adjust all uses of Assert to lyx::Assert.
13645 * BufferView2.C (ChangeCitationsIfUnique): adjust for
13646 lyxfunctional in namespace lyx
13647 * layout.C (hasLayout): ditto
13650 (delete_layout): ditto
13651 (NumberOfClass): ditto
13652 * converter.C (GetFormat): ditto
13657 * bufferlist.C (getFileNames): ditto
13658 (emergencyWriteAll): ditto
13661 * MenuBackend.C (hasSubmenu): ditto
13664 * BufferView_pimpl.C (getInsetByCode): ditto
13666 2001-04-18 Juergen Vigna <jug@sad.it>
13668 * vspace.C (asLatexString): fixed the 100% problem.
13670 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13672 * lyxfunc.C (Dispatch):
13674 * minibuffer.h: add a few std:: qualifiers
13676 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13678 * minibuffer.[Ch]: reimplement so that commands is initiated and
13679 run from lyxfunc, simplified som handling, and made the completion
13680 and history code for complete. wip.
13682 * lyxfunc.C (processKeySym): call message
13683 (miniDispatch): new temporary method
13684 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13685 (LFUN_MESSAGE): implement
13686 (LFUN_MESSAGE_PUSH): implement
13687 (LFUN_MESSAGE_POP): implement
13688 (initMiniBuffer): the initial/defualt minibuffer message.
13690 * lyxfont.[Ch]: inline some more getters
13692 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13694 * lyx_gui_misc.[Ch] (WriteStatus): remove method
13696 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13697 (AutoSave): use LFUN_MESSAGE
13698 (Reconfigure): ditto
13700 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13702 * figureForm.C: use LFUN_MESSAGE
13704 * converter.C (runLaTeX): use LFUN_MESSAGE
13706 * bufferview_funcs.C: use LFUN_MESSAGE
13708 (changeDepth): ditto
13710 * bufferparams.h: use boost::
13712 * bufferlist.h: inherit privately from noncopyable
13714 * bufferlist.C (loadLyXFile): remove some commented code.
13716 * buffer.C (runChktex): use LFUN_MESSAGE
13718 * ShareContainer.h: inherit privately from noncopyable
13720 * ParagraphParameters.[hC] (depth): inline it.
13722 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13724 (message): new method
13725 (messagePush): ditto
13726 (messagePop): ditto
13727 (show): init minibuffer
13728 (showState): direct call
13730 * LaTeX.[Ch]: inherit privately from noncopyable
13731 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13732 instead of WriteStatus.
13734 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13736 * BufferView_pimpl.C (buffer): don't init minibuffer
13737 (workAreaButtonPress): use LFUN_MESSAGE
13738 (workAreaButtonRelease): ditto
13739 (savePosition): ditto
13740 (restorePosition): ditto
13741 (MenuInsertLyXFile): ditto
13742 (workAreaExpose): don't init minibuffer
13743 (update): remove commented code, simplify
13745 * BufferView2.C (openStuff): use LFUN_MESSAGE
13746 (toggleFloat): ditto
13749 (copyEnvironment): ditto
13750 (pasteEnvironment): ditto
13755 (updateInset): remove some commented code
13757 * lastfiles.h: inherit privately from noncopyable
13760 * lyx_main.h: ditto
13762 * lyxlex_pimpl.h: ditto
13764 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13765 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13766 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13768 * LyXAction.h: inherit privately from noncopyable, add methods
13769 func_begin, func_end, returning iterators to the func map.
13771 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13772 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13773 (func_begin): new method
13774 (func_end): new method
13776 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13778 (copySelection): ditto
13779 (pasteSelection): ditto
13781 * BufferView.C: whitespace change
13782 * BufferView.h: inherit privately from noncopyable
13784 2001-04-16 Allan Rae <rae@lyx.org>
13786 * tabular-old.C (l_getline):
13787 * spellchecker.C (sc_check_word):
13788 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13789 an unrecognised preprocessor directive. So ensure they're wrapped.
13791 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
13793 * src/exporter.C (Export): Give an error message when path to file
13796 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
13798 * LaTeX.C (deplog): Always check that foundfile exists.
13800 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13803 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13805 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13807 * tabular.[Ch] (getLabelList): implement new method
13809 * minibuffer.h: comment ouf setTiimer
13811 * minibuffer.C (ExecutingCB): constify res
13812 (peek_event): constify s
13813 (Set): constify ntext
13814 (Init): constify nicename
13816 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13818 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13819 (savePosition): use two params to Minibuffer::Set
13820 (restorePosition): ditto
13822 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13824 * lyx_main.C: include language.h
13826 * Makefile.am (lyx_main.o): add language.h
13828 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13834 * CutAndPaste.C: include gettext.h
13836 * lyxfont.h: remove old hack with ON and OFF.
13839 * lyxfont.h: do not include language.h...
13844 * bufferview_funcs.C:
13850 * paragraph.C: ... but do it here instead
13852 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13854 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13856 * tabular.C: small reformat
13858 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13861 (BreakParagraph): ditto
13862 (SetOnlyLayout): ditto
13865 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13868 * lastfiles.C: removed most using decl, add std:: where needed
13870 * buffer.C: ws changes
13872 * MenuBackend.C (class compare_format): put into anon namespace
13873 (expand): constify label, names, action, action2
13876 * text.C (SingleWidth): constify font
13877 (IsBoundary): constify rtl2
13878 (GetVisibleRow): constify ww
13880 * LaTeX.C (deplog): constify logfile
13882 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13884 (workAreaExpose): constify widthChange, heightChange
13886 * lyxrow.C (par): moved
13889 * lyxrow.h: as inlines here
13891 * lyxfont.h (shape): moved from lyxfont.C
13892 (emph): moved from lyxfont.C
13894 * lyxfont.C (LyXFont): use initialization list for all
13896 (shape): move to lyxfont.h as inline
13897 (emph): move to lyxfont.h as inline
13900 2001-04-04 Juergen Vigna <jug@sad.it>
13902 * vspace.C: had to include stdio.h for use of sscanf
13904 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
13907 * BufferView_pimpl.h: remove xforms cruft. Both classes are
13908 independent of xforms.
13910 2001-04-02 Juergen Vigna <jug@sad.it>
13912 * spellchecker.C: fixed namespace placing!
13914 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
13916 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13917 the LyXParagraph * is 0.
13919 2001-03-29 Juergen Vigna <jug@sad.it>
13921 * vspace.C: added support for %, c%, p%, l%.
13922 (stringFromUnit): added helper function.
13923 (asLatexString): changed to give right results for the %-values.
13925 * buffer.C: convert the widthp in a width%.
13927 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
13929 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13932 * figureForm.[Ch]: stripped the FD_from_figure manipulation
13933 code out of lux_cb.[Ch], ready for its (imminent?) removal.
13935 * lyx_cb.[Ch]: see above.
13937 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13941 * lyx.[Ch]: replaced by figure_form.[Ch].
13945 * lyxfunc.C: changed headers associated with above changes.
13947 2001-03-27 Juergen Vigna <jug@sad.it>
13949 * BufferView_pimpl.C: set the temporary cursor right!
13951 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
13953 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13955 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
13957 * LString.h: removed "using std::getline"!
13959 * BufferView_pimpl.C (Dispatch): changes due to changes in
13960 InsetInclude::Params.
13962 * buffer.C (tag_name): removed redundant break statements as they were
13963 producing lots of warnings with my compiler.
13965 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13967 * LString.h: add "using std::getline" when using the real <string>.
13969 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
13971 * buffer.C: removed bitset usage.
13972 PAR_TAG moved to an anonymous name space.
13973 (tag_name): new funtion, also in the anonymous namespace.
13974 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13975 (makeDocBookFile): clean code. Completed transition from string arrays
13977 (SimpleDocBookOnePar): code clean.
13979 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13981 * tabular.C: add some comments.
13983 2001-03-22 Juergen Vigna <jug@sad.it>
13985 * buffer.C (parseSingleLyXformat2Token): redone the minipage
13986 compatibility read a bit and fixed bug with minipage in different
13989 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
13991 * buffer.C (pop_tag): removed.
13992 (push_tag): removed.
13993 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13994 array replaced with vector. Added support for CDATA sections.
13995 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13997 (makeDocBookFile): XML conformant declaration of CDATA section,
13998 fixed bug related to <emphasis> in the first paragraph char.
13999 (sgmlOpenTag): exclude empty tags.
14000 (sgmlCloseTag): ditto.
14002 * buffer.h (pop_tag): removed.
14003 (push_tag): removed.
14005 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
14007 * language.h (Languages): added size_type and size().
14009 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14011 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14012 response on compability reading of minipages. One probliem is that
14013 the old usage of minipages was «flertydig»
14015 * several files here and in subdirs: don't use static at file
14016 scope use anon namespaces instead.
14018 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
14020 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14021 LaTeX output. This is necessary for Literate document
14024 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14026 * buffer.C: insert hfill when needed.
14028 * tabular.C (l_getline): use string::erase, small whitespace change.
14030 * BufferView_pimpl.C: try the anon namespace.
14031 * WorkArea.C: ditto
14033 2001-03-16 Juergen Vigna <jug@sad.it>
14035 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14036 otherwise it won't open options-dialogs.
14038 * buffer.C: honor pextraWidth(p) on converting minipages.
14040 * tabular.C (l_getline): changed the functions to strip trailing \r.
14042 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
14044 * BufferView_pimpl.C:
14045 * minibuffer..C: added "using SigC::slot" declaration.
14047 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14049 * lyxlex_pimpl.h: noncopyable is in namespace boost.
14055 * paragraph.C: ditto
14057 * lyxtext.h: NO_PEXTRA
14059 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14061 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14062 * ParameterStruct.h: ditto
14063 * ParagraphParameters.h: ditto
14064 * lyxparagraph.h: ditto
14066 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14068 * buffer.C: add compability for minipage alignment.
14069 (latexParagraphs): remove unwanted pextra check.
14071 * several files: remove CXX_WORKING_NAMESPACES
14073 * buffer.C (pop_tag): tie is in namespace boost
14075 * BufferView.h: noncopyable is in namespace boost
14077 * lyx_main.h: ditto
14080 * lastfiles.h: ditto
14081 * bufferlist.h: ditto
14082 * ShareContainer.h: ditto
14084 * LyXAction.h: ditto
14087 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14089 * Merging changes from BRANCH_MVC back into HEAD.
14091 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14093 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
14095 * BufferView_pimpl.C: change from intl.C
14099 * Makefile.am: move combox.*
14105 * intl.C: remove dialog (covered by prefs)
14107 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14109 * lyxfunc.C (Dispatch): removed redundant break statement.
14111 2001-03-14 Juergen Vigna <jug@sad.it>
14113 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14115 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14117 * buffer.C: add hack to fix compability reading of minipages.
14119 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
14121 * buffer.C (getLists): Cleanup.
14123 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14125 * lyxfont.C (update): don't honor toggleall on font size.
14127 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
14131 * Makefile.am: moved to frontends/xforms/
14135 * BufferView_pimpl.C: changes for moved mathpanel
14137 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14139 * gettext.h: fix gettext_init() in --disable-nls
14141 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14143 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14145 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
14148 * lyx.h: strip external form
14150 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14152 * BufferView_pimpl.C: add comment, destroySplash()
14154 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14156 * BufferView_pimpl.C:
14160 * lyxfunc.C: use re-worked insetinclude
14162 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14164 * buffer.C: add using std::stringstream.
14166 * lyx_cb.C: readd using std::ios.
14168 * buffer.C: add using std::map.
14170 * BufferView_pimpl.C: add using std::vector.
14172 * ShareContainer.h: add std:: to swap.
14174 * buffer.h: add some typedefs
14175 * buffer.C (getLists): use them
14176 (getLists): renamed from getTocList.
14177 add a counter for the different float types and use it in the
14179 (getLists): use the same counter for the NEW_INSETS and the "non"
14182 * lyx_cb.h: remove unused items, includes, using etc.
14184 * ShareContainer.h: remove some commented code, add more comments
14185 and "documentation".
14187 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14189 * buffer.C (getTocList): make the list also when NEW_INSETS is
14192 * buffer.h: remove TocType
14194 * buffer.C (getTocList): change to return a map<string,
14195 vector<TocItem> >, implement for dynamic number of list.
14197 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14198 * text2.C (PasteSelection): adjust
14199 * CutAndPaste.C (pasteSelection): adjust
14201 * FloatList.C (FloatList): update from the new_insets branch.
14202 * Floating.[Ch]: ditto
14203 * LaTeXFeatures.C: ditto
14205 * lyxlex_pimpl.C: ditto
14207 * paragraph.C (Last): remove when NEW_INSETS is defined.
14209 * other file: changes because of the above.
14211 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14213 * lyxparagraph.h: rename next to next_, previous to previous_,
14214 make them private for NEW_INSETS. Rename Next() to next(),
14215 Previous() to previous().
14217 * other files: changes because of the above.
14219 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
14222 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14225 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14227 * main.C (main): pass lyx_localedir to gettext_init().
14229 * gettext.h: remove locale_init and gettext_init macros
14231 * gettext.C (locale_init): new function
14232 (gettext_init): new function
14234 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14237 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
14239 * Moved credits to frontends:
14240 * credits.[Ch]: removed
14241 * credits_form.[Ch]: removed
14242 * lyx_gui_misc.C: remove credits stuff
14245 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14247 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14249 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14250 unneeded destructor.
14252 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14253 a standalone pointer again.
14255 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14257 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
14263 * ToolbarDefaults.C:
14272 * BufferView_pimpl.C: use new file dialog in GUII
14275 * lyx_cb.C: remove LayoutsCB to Toolbar
14277 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14279 * ShareContainer.h (get): add std:: qualifier
14281 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14283 * ShareContainer.h: define a proper ShareContainer::value_type
14284 type (and use typename to please compaq cxx)
14286 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14288 * lyxparagraph.h: move serveral local vars to
14289 ParameterStruct/ParagraphParameters., use ShareContainer in
14290 FontTable., make vars in FontTable private and add getter and
14293 * paragraph.C: changes because of the above.
14295 * lyxfont.h: remove copy constructor and copy assignment. (the
14296 default ones is ok), move number inside FontBits. move inlines to
14299 * lyxfont.C: add number to initializaton of statics, move several
14300 inlines here. constify several local vars. some whitespace
14301 cleanup. Dont hide outerscope variables.
14303 * Spacing.h: add two new constructors to match the set methods.
14305 * ShareContainer.h: new file, will perhaps be moved to support
14307 * ParameterStruct.h: new file
14309 * ParagraphParameters.h: new file
14311 * ParagraphParameters.C: new file
14313 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14314 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14316 * BufferView_pimpl.C: ParagraphParameter changes.
14317 * buffer.C: Likewise.
14318 * bufferview_funcs.C: Likewise.
14319 * text.C: Likewise.
14320 * text2.C: Likewise.
14322 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14324 * lyxfind.C (LyXReplace): do not redefine default argument in
14326 (IsStringInText): ditto
14327 (SearchForward): ditto
14328 (SearchBackward): ditto
14330 2001-03-06 Juergen Vigna <jug@sad.it>
14332 * lyxfind.C (IsStringInText): put parentes around expressions.
14334 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
14336 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14338 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
14340 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14342 * stl_string_fwd.h: add comment
14344 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14347 * tabular.C: remove unused DocBook methods
14353 killed DO_USE_DEFAULT_LANGUAGE
14355 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14357 * lyx_gui.C: do not include language.h.
14359 * bufferview_funcs.C (ToggleAndShow): do not provide optional
14360 arguments in function implementation.
14362 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14364 * BufferView_pimpl.C: add <ctime>
14366 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14368 * BufferView_pimpl.C: add using std::find_if
14370 2001-02-27 José Matos <jamatos@fep.up.pt>
14372 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14375 2001-02-11 José Matos <jamatos@fep.up.pt>
14377 * buffer.C (makeDocBookFile): command styles now have a parameter as
14378 "title" by default.
14380 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
14382 * layout_forms.[Ch]: removed
14383 * lyx_cb.[Ch]: out character
14384 * lyx_gui.C: out character
14385 * lyx_gui_misc.C: out character
14386 * bufferview_funcs.C: : out character,
14387 added toggleall as parameter in ToggleAndShow
14389 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
14391 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14393 * text2.C (SetCurrentFont): Disable number property at boundary.
14395 2001-02-26 Juergen Vigna <jug@sad.it>
14397 * lyxfunc.C (getStatus): added a string argument override function so
14398 that this is correctly called from LyXFunc::Dispatch if it contains a
14399 do_not_use_argument which is used!
14400 (Dispatch): added check for "custom" export and call appropriate func.
14402 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
14404 * lyxrc.C: Add language_command_local, language_use_babel and
14405 language_global_options.
14407 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14409 * buffer.C (makeLaTeXFile): Use language_use_babel and
14410 language_global_options.
14412 2001-02-23 Juergen Vigna <jug@sad.it>
14414 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14415 which works with LyXText and putted it inside BufferView. Here now we
14416 only call for that part the BufferView::Dispatch() function.
14418 * BufferView.C (Dispatch): added.
14420 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14421 functions which needs to use a LyXText over from LyXFunc.
14422 (MenuInsertLyXFile): added
14423 (getInsetByCode): added
14424 (moveCursorUpdate): added
14425 (static TEXT): added
14427 2001-02-22 Juergen Vigna <jug@sad.it>
14429 * BufferView_pimpl.C (update): call a status update to see if LyXText
14432 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14434 * vc-backend.C (revert): implement for CVS
14435 (getLog): implement for CVS
14437 2001-02-20 Juergen Vigna <jug@sad.it>
14439 * text2.C (ClearSelection): added BufferView param for inset_owner call
14441 * lyxfunc.C (TEXT): added this function and use it instead of
14442 directly owner->view()-text of getLyXText().
14444 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
14446 * src/layout_forms.C: out preamble
14447 * src/layout_forms.h: out preamble
14448 * src/lyx_cb.C: out preamble
14449 * src/lyx_cb.h: out preamble
14450 * src/lyx_gui.C: out preamble
14451 * src/lyx_gui_misc.C: out preamble
14452 * src/lyxfunc.C: connect with guii preamble
14454 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14456 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14458 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14460 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14461 whether to run bibtex.
14463 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14465 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14467 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14469 * Makefile.am (lyx_SOURCES): removed bibforms.h
14471 * vspace.h: doxygen
14473 * text.C (GetVisibleRow): make several local vars const
14475 * tabular.C: small cleanup.
14477 * lyxserver.C (callback): use compare instead of strncmp
14479 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14480 inlines to after class or to paragraph.C
14482 * lyxfont.h: remove friend operator!=
14484 * converter.h: move friend bool operator< to non friend and after
14487 * combox.h: small cleanup
14489 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14490 to inlines after class def.
14492 * buffer.C (pop_tag): use string operations instead of strcmp
14494 * bmtable.c: doxygen, small cleanup
14496 * LaTeX.h: remove friend operator==
14498 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14510 * BufferView_pimpl.C:
14511 * BufferView.[Ch]: remove cruft
14513 2001-02-14 Juergen Vigna <jug@sad.it>
14515 * lyxfunc.C: removed #if 0 unused code
14517 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14519 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14521 * text2.C (SetSelection): added a BufferView * parameter
14523 2001-02-13 Juergen Vigna <jug@sad.it>
14525 * lyxfunc.C (Dispatch): fixed protected blank problem.
14526 * BufferView2.C (protectedBlank): added LyxText * parameter.
14528 * tabular.C (AppendRow): forgot to set row_info of newly added row.
14529 (AppendColumn): same as above for column_info.
14531 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14532 (moveCursorUpdate): use a LyXText param for support of InsetText.
14534 * BufferView_pimpl.C (doubleClick): added support for InsetText.
14535 (tripleClick): ditto
14537 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14539 * BufferView_pimpl.C (update): added LyXText param to honor insets.
14541 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14543 * text2.C (SetSelection): set correct update status if inset_owner
14544 (ToggleFree): ditto
14546 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
14548 * tabular.C: remove some commented code.
14550 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
14552 * BufferView_pimpl.C: call hideSplash()
14554 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14557 * bibforms.h: remove
14560 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14561 add LFUN_CHILD_CREATE
14563 * counters.h: fix tiny typo
14568 * lyx.C: move splash to frontends/xforms/
14570 * lyx_gui_misc.C: move Include and Bibform to frontends
14572 * lyxvc.h: clarify comment
14574 * vspace.C: tiny housekeeping
14576 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
14578 * text.C (PrepareToPrint): RTL Fix.
14580 * paragraph.C (GetUChar): New method.
14581 (String): Use GetUChar.
14583 * buffer.C (asciiParagraph): Use GetUChar.
14585 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
14587 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14589 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
14592 * buffer.C: rename to getLogName(), handle
14593 build log / latex log nicely
14595 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14598 * MenuBackend.h: remove support for reference menuitem type.
14600 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
14602 * BufferView_pimpl.C: housekeeping
14603 * BufferView_pimpl.h:
14608 * minibuffer.h: move Timeout GUI-I
14610 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
14612 * lyxrc.C (read): Update converters data-structures.
14614 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
14616 * LaTeX.h (operator!=): add operator != for Aux_Info
14618 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
14620 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14622 * LaTeXLog.C: deleted, useful code moved to Buffer
14625 * buffer.C: new function getLatexLogName()
14631 * lyxfunc.C: use frontends for LaTeX and VC logs
14633 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14635 * LaTeX.h: yet another std:: that Allan forgot.
14637 * Variables.C (set): renamed from isset(), because this clashes
14638 with some HP-UX macros (grr).
14640 2001-02-06 Allan Rae <rae@lyx.org>
14642 * LaTeX.h: Another bug fix. Missing std:: this time.
14644 2001-02-04 Allan Rae <rae@lyx.org>
14646 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14647 floats problem. I've left it commented out because it's not quite
14648 correct. It should also test that the current object is a table or
14649 figure inset. But I haven't gotten around to figuring out how to do
14650 that. I *think* it'll be something like: "table" == inset.type()
14652 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14655 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
14657 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14658 all the citation/databases/styles in the auxilary file.
14659 (run): Rerun latex if there was a babel language error.
14661 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
14663 * text.C (Backspace): Preserve the font when changing newline char
14665 (BreakParagraph): If the cursor is before a space, delete the space.
14667 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14669 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
14671 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14672 new argument (code).
14673 (ChangeCitationsIfUnique): New method.
14675 * paragraph.C (GetPositionOfInset): Handle bibkey.
14677 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14679 * BufferView_pimpl.h: change type of Position::par_pos to
14680 LyXParagraph::size_type.
14682 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
14684 * BufferView_pimpl.C (savePosition, restorePosition): Write
14685 messages to minibuffer.
14687 2001-01-28 José Matos <jamatos@fep.up.pt>
14689 * buffer.C (makeDocBookFile): adds support for document language.
14690 A silly restriction on the name of LatexCommand types where removed.
14691 Added support for CDATA sections, allows to chars unescaped, used
14692 among others in code, to avoid escape < and >.
14694 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14696 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14697 saved positions instrad of a stack. Furthermore, a position is
14698 stored using paragraph id/paragraph position.
14700 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14701 Remove LFUN_REF_BACK.
14703 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14705 * converter.C (dvipdfm_options): New method.
14707 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
14709 * vspace.C (isValidLength): Fix for empty input string.
14711 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14713 * LyXAction.C (init): change description of LFUN_FIGURE to
14716 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14718 * LaTeX.C: add using directive
14720 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14722 * MenuBackend.C (expand): Fix the sorting of the formats.
14724 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
14726 * lyx_main.C: tiny error message fix
14728 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14730 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14731 calling fl_initialize(). This fixes the problem with ',' as
14732 decimal separator in text files.
14734 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14736 * trans.C (process): Fix the keymap bug.
14738 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
14740 * LaTeX.C (scanAuxFiles): New method. Provides support for
14741 multiple bibliographies (when using the bibtopic/bibunits pacakges).
14742 (scanLogFile) Scan for "run BibTeX" messages.
14744 * buffer.C (makeLaTeXFile): Do not load the ae package when using
14745 OT1 font encoding. Also, load the aecompl package if the ae
14748 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14750 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14752 * texrow.C (increasePos): turn two error messages into debug
14755 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
14757 * LaTeX.C (scanAux): Handle the \@input macro.
14758 (runBibTeX): Use scanAux().
14760 * language.C (latex_options_): New field.
14762 * LaTeXFeatures.C (getMacros): Add language macros.
14764 * buffer.C (makeLaTeXFile): Small fix.
14766 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14768 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14770 * text2.C: add a using directive.
14772 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
14777 * lyxfunc.C: kill LyXBell.
14779 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
14781 * text.C (IsBoundary): Remove the error message
14783 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14785 * lyxrc.C (setDefaults): Correct initialization value for
14788 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
14790 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14793 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14794 and GotoNextNote().
14796 * src/LyXAction.C: Added reference-next.
14798 * text.C (InsertChar): Use contains instead of strchr.
14800 * lyx_cb.C (MenuInsertLabel): Enable default value code.
14802 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
14804 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14805 alignment commands (when needed).
14807 * text.C (InsertChar): Add ':' to number separator chars.