2 2004-02-25 André Pönitz <poenitz@gmx.net>
5 * cursor.[Ch]: move some mathed specific code to mathed
7 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
9 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
10 use_tempdir in preferences
11 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
13 * lyx_main.C: ensure that tempdir is valid
14 * lyxlex.h: correct typo
15 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
16 * paragraph.[Ch] (isMultiLingual): make const
17 * cursor.[Ch] (openable): make const
19 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
21 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
23 2004-02-20 André Pönitz <poenitz@gmx.net>
25 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
27 * cursor.[Ch]: prepare for localized getStatus()
33 * text3.C: streamlines the LyXText cursor movement handlers a bit.
36 2004-02-20 André Pönitz <poenitz@gmx.net>
38 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
40 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
42 * text2.C (setCursorFromCoordinates): switch to absolute coords
45 * text3.C (dispatch): adjust
47 2004-02-16 André Pönitz <poenitz@gmx.net>
49 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
52 * cursor_slice.[Ch]: remove unneeded acessor function
54 * lyxtext.h: rename rtl() to isRTL()
63 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
65 * rowpainter.C (paintSelection): coord fix
67 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
69 * Spacing.C: compile fix
71 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
73 * cursor.C (dispatch): restore current_ before returning
75 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
77 * text2.C (cursorUp, cursorDown): fix coords
80 2004-02-12 André Pönitz <poenitz@gmx.net>
85 * text3.C: add LCursor & parameter to most cursor movement functions
86 remove usage of LyXText::cursorRow() and cursorPar()
88 * cursor.[Ch]: add textRow() needed members
94 * BufferView_pimpl.C: adjust
96 2004-02-11 André Pönitz <poenitz@gmx.net>
100 * BufferView_pimpl.C: shift undo/redo handling
102 * cursor.[Ch]: fix mathed crash
105 * lyxtext.h: move selectionAsText to LCursor
113 * rowpainter.C: fix excessive drawing
115 2004-02-06 André Pönitz <poenitz@gmx.net>
118 * BufferView_pimpl.[Ch]:
119 * text3.C: move some text specific LFUN handling
121 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
123 * text3.C (checkInsetHit): adjust coords
124 * text2.C (getColumnNearX): adjust coords
125 (edit): adjust coords
126 * text.C (getRowNearY): add two asserts
128 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
131 * format.C: add using std::distance to compile on gcc 2.95/stlport
133 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
135 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
137 2004-02-04 André Pönitz <poenitz@gmx.net>
139 * BufferView.[Ch] (insertInset):
140 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
145 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
147 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
148 on the default clause of the switch
149 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
150 wasn't catched by LCursor::dispatch
152 2004-02-03 André Pönitz <poenitz@gmx.net>
155 * cursor.[Ch]: some additional asserts
157 * undo.[Ch]: remove LyXText dependency in interface
161 * lyxtext.h (firstPar, lastPar): remove dead functions
166 * paragraph.[Ch]: adjust
168 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
170 * lyxfind.C (find): fix argument order in call to ::find
172 2004-02-02 André Pönitz <poenitz@gmx.net>
174 * cursor.[Ch]: remove direct access to anchor
176 * text.C: remove findText() hack
178 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
180 * iterators.[Ch] (lockPath): remove in favour of...
181 * BufferView.[Ch] (setCursor): this addition
182 * BufferView.C (putSelectionAt): adjust
183 * undo.C (performUndoOrRedo): adjust
184 * lyxfunc.C (dispatch): adjust
186 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
188 * iterators.C (lockPath): add a missing slice
189 * undo.C (performUndoOrRedo): remove redundant positioning code
191 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
193 * vc-backend.C (scanMaster): ";" -> ';'
195 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
197 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
200 * lyxtextclass.C (compare_name): rename to...
201 (LayoutNamesEqual): ...this
203 * lyxlex_pimpl.C (compare_tags): inherit from
204 std::binary_function, put back into anon namespace
206 * lyxfind.C (MatchString): inherig from std::binary_function
207 (findChange): use empty() istead of !size()
209 * format.C (FormatNamesEqual): new functor
216 * converter.C (compare_Converter): rename to...
217 (ConverterEqual): ...this, and fixup a bit.
218 (getConverter): use it, and make function const
219 (getNumber): use it, and make function const
223 * bufferlist.C: add using boost::bind
225 * MenuBackend.C (MenuNamesEqual): new functor
226 (hasMenu): use it, and make function const
227 (hasSubmenu): use nested bind to get rid of compare_memfun.
229 2004-01-30 André Pönitz <poenitz@gmx.net>
231 * BufferView_pimpl.C:
242 * text3.C: move some of the edit(x,y) handling to the insets
243 some coordinate changes.
245 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
247 * text.C: add using statements for std::advance and std::distance
249 * paragraph.C: add using statement for std::distance
251 * lyxfind.C: add using statement for std::advance
253 * cursor.C (region): remove std:: from swap
254 (openable): use nucleus in stead of operator->
256 * BufferView.C: add using statements for std::distance and std::swap
258 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
260 * iterators.C: Remove the pimple, move the needed structures to
261 the header file. Create accessor for the positions stack.
262 (asPosIterator): remove function
264 * PosIterator.C (PosIterator): move constructors to top of file
265 (PosIterator): reimplement the constructor taking a ParIterator in
267 (setFrom): new function
268 (operator!=): inline it
270 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
272 * lyxfind.C (replaceAll): use std::advance
274 * iterators.h: inherit from std::iterator.
276 * PosIterator.C (advance, distance): remove
277 * PosIterator.h: interit from std::iterator.
279 2004-01-26 André Pönitz <poenitz@gmx.net>
282 * BufferView_pimpl.[Ch]:
286 * bufferview_funcs.C:
297 * output_plaintext.C:
299 * paragraph_funcs.[Ch]:
300 * paragraph_pimpl.[Ch]:
306 * text3.C: more IU: dumps most of the rest of the mathcursor
307 implementation into cursor.[Ch]; "globalize" a bit of it.
309 2004-01-25 Angus Leeming <leeming@lyx.org>
311 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
313 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
315 * LaTeXFeatures.h: add nice_ and nice() const
316 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
318 2004-01-20 André Pönitz <poenitz@gmx.net>
321 * BufferView_pimpl.C:
323 * bufferview_funcs.C:
336 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
337 LCursor and mathcursor parts to LCursor and InsetBase.
339 2004-01-15 André Pönitz <poenitz@gmx.net>
341 * cursor_slice.[Ch]: add a few covienience functions
343 * funcrequest.[Ch]: remove BufferView * member
345 * BufferView_pimpl.C:
352 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
354 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
356 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
357 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
359 2004-01-13 André Pönitz <poenitz@gmx.net>
362 * lyxtext.h: hide cursor and selection anchor behind accessor function
365 * BufferView_pimpl.[Ch]:
367 * bufferview_funcs.C:
377 * cursor_slice.[Ch]: some integer type changes for inset unification
379 * lyxcursor.[hC]: remove, it's CursorSlice now.
382 * BufferView_pimpl.[Ch]:
383 * bufferview_funcs.C:
389 * textcursor.[Ch]: adjust
391 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
393 * text2.C (undoSpan): add and use
394 * text.C (breakParagraph): use undoSpan (fix bug 578)
397 2004-01-08 Angus Leeming <leeming@lyx.org>
399 * BufferView_pimpl.C (MenuInsertLyXFile):
400 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
401 * lyxfunc.C (menuNew, open, doImport):
402 FileFilterList change to the FileDialog open and save functions.
404 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
406 * ShareContainer.h: make isEqual and isUnique adaptable
408 * CutAndPaste.C: make resetOwnerAndChanges adaptable
410 2004-01-07 Angus Leeming <leeming@lyx.org>
413 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
415 * BufferView_pimpl.C (dispatch): act on these LFUNs.
417 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
418 functions replacing find, replace and replaceAll.
420 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
421 LFUN_WORDFIND(FORWARD|BACKWARD).
423 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
425 * text.C (breakParagraph): remove an outdated #warning
427 2004-01-07 André Pönitz <poenitz@gmx.net>
429 * lyxfind.C: somewhat clearer logic
431 * text.C: prevent crash in cursorX on unitialized row cache
433 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
435 * lyxcursor.[Ch] (operator>): add
436 * textcursor.C (selStart, selEnd): use std::min and std::max
438 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
440 * Chktex.C: include boost/format.hpp
442 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
444 * InsetList.C: replace functor MathcIt with adaptable functor
446 (insetIterator): modify accordingly
448 * BranchList.h: move the BranchNamesEqual functor here from...
449 * BranchList.C: ... to here
451 * BranchList.C: new BranchListEqual fuctor, use it. Remove
453 (add): replace a finding loop with std::find_if.
455 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
457 * output_docbook.C: moving LatexParam functionality into
460 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
462 * buffer.C: increment format to 229.
464 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
467 * lyx_sty.[Ch]: remove minipageindent_def
473 * text3.C: remove LFUN_INSET_MINIPAGE
475 2003-12-28 Angus Leeming <leeming@lyx.org>
477 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
479 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
481 * text2.C (setParagraph): fix off-by-one crash
483 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
485 * output_docbook.C: header stuff for AGU
487 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
489 * text2.C (redoCursor): remove
492 * BufferView_pimpl.C: remove calls to redoCursor and
493 setCursor(cursor.par(), cursor.pos()) all around
495 2003-12-15 Angus Leeming <leeming@lyx.org>
497 * buffer.C: up the format to 228.
499 2003-12-15 André Pönitz <poenitz@gmx.net>
501 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
506 * BufferView_pimpl.C:
515 2003-12-15 Angus Leeming <leeming@lyx.org>
517 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
518 than getFromGUIName to manipulate the color.
520 2003-12-14 Angus Leeming <leeming@lyx.org>
522 * BranchList.[Ch]: minimize the API.
523 (Branch::getBranch, getColor): now return a 'const &'.
524 (Branch::setSelected) now returns a bool set to true if the
525 selection status changes.
526 (BranchList::clear, size, getColor, setColor, setSelected,
527 allBranches, allSelected, separator): removed.
528 (BranchList::find): new functions, returning the Branch with
530 (BranchList::add, remove): return a bool indicating that
531 the operation was successful.
533 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
534 new InsetBranch::isBranchSlected member function.
536 * LColor.[Ch]: mimimize the API.
537 (fill): renamed as addColor and made private.
538 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
539 versions of these functions taking a string arg have been removed.
541 * bufferparams.C (readToken):
542 * lyxfunc.C (dispatch):
543 * lyxrc.C (read): changes due to the altered BranchList and
546 * factory.C (createInset, readInset): changes due to altered
549 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
552 * lyxfunc.C: remove insetminipage. "minipage-insert"
553 now produces a frameless minipage box inset.
555 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
557 * textcursor.[Ch] (selStart,selEnd): add new methods
558 remove selection::start, end, use LyXCursor::operator<
559 * lyxcursor.[Ch] (operator<): add
560 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
561 * BufferView.[Ch] (unsetXSel): add
562 * text2.C (clearSelection): use unsetXSel,adjust
565 * rowpainter.C: adjust
566 * bufferview_funcs.C (put_selection_at): adjust
568 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
570 * BufferView_pimpl.C: small coord. correction
572 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
574 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
575 dragging over the splash screen.
577 2003-12-11 Angus Leeming <leeming@lyx.org>
579 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
580 as it is now handled in LyXText::dispatch.
582 * text3.C (doInsertInset): remove a level of nesting.
584 2003-12-11 Angus Leeming <leeming@lyx.org>
586 * factory.C (createInset): changes due to the changed interface to
587 InsetCommandMailer::string2params.
589 2003-12-10 Angus Leeming <leeming@lyx.org>
591 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
592 'dialog-show-new-inset <inset name>'
594 2003-12-10 Angus Leeming <leeming@lyx.org>
596 * buffer.C: up the format to 227.
598 * factory.C: the box inset is now identified simply by 'Box'.
600 2003-12-10 Angus Leeming <leeming@lyx.org>
602 * buffer.C: up the format to 226.
604 * factory.C: the note inset is now identified simply by 'Note'.
606 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
608 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
609 when a pit is enough. Standarize a couple of loops.
611 2003-12-05 Angus Leeming <leeming@lyx.org>
613 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
614 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
615 data to the re-worked "log" dialog.
617 2003-12-03 André Pönitz <poenitz@gmx.net>
625 * text2.C: use Inset::getText instead of Inset::getParagraph
627 2003-12-03 André Pönitz <poenitz@gmx.net>
631 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
632 InsetText::read() as LyXText::read()
634 2003-12-02 Angus Leeming <leeming@lyx.org>
636 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
637 type. Add a comment in the implementation that the function uses
638 the stream's bad() function rather than fail() as the std::streams
641 2003-12-02 André Pönitz <poenitz@gmx.net>
643 * lyxlex.[Ch]: make interface more similar to std::stream
645 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
647 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
649 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
651 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
653 * vspace.[Ch]: remove VSpace::NONE
655 2003-12-01 André Pönitz <poenitz@gmx.net>
658 * lyxtext.h: move ParagraphList member to LyXText
659 rename LyXText::ownerParagraphs to LyXText::paragraph
662 * bufferview_funcs.C:
672 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
674 * undo.C: fix cursor positioning
676 2003-12-01 John Levon <levon@movementarian.org>
678 * BufferView_pimpl.C: fix a crash on exit with
681 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
683 * BranchList.C: fix setSelected() method.
685 2003-11-28 André Pönitz <poenitz@gmx.net>
687 * ParagraphParameters.[Ch]:
688 * ParameterStruct.h: remove space above/below from Paragraph to
691 * BufferView_pimpl.C:
703 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
705 * factory.C: Syntax change for CharStyles
707 2003-11-28 André Pönitz <poenitz@gmx.net>
712 * buffer.[Ch]: move LyXText member
714 2003-11-28 André Pönitz <poenitz@gmx.net>
716 * BufferView.[Ch]: make LyXText * text a private member
718 * BufferView_pimpl.C:
729 * output_plaintext.C: cleanup
731 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
734 * lyxtextclass.[Ch]: parametrize SGML document header
736 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
739 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
742 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
744 * text2.C (setFont): rework using PosIterator (no more recursive)
745 (setCharFont): no more needed
746 (setLayout): no more selection cursors fiddling (done by redoCursor)
747 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
748 destroy remaining ones)
750 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
752 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
754 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
757 * text3.C: adjust + re-allow multi par depth changes
758 * textcursor.C: simplify a bit
760 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
766 * src/output_docbook.C:
767 * src/output_latex.C:
772 * src/text2.C: Introducing a number of tags parametrizing various
773 XML formats that we may want to support
775 2003-11-25 André Pönitz <poenitz@gmx.net>
777 * InsetList.[Ch] (begein, end): inline as suggested by profiler
779 * lyxtext.h (leftMargin/rightMargin): simplify interface
786 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
788 * lyxfunc.C (dispatch): propogate the bibtex databases from the
789 master file to any child files. Fixes bug 546.
791 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
793 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
795 2003-11-24 André Pönitz <poenitz@gmx.net>
797 * rowpainter.C: simplification
799 * text2.C (updateCounters): remove call to redoParagraph on
800 changed labels as this is far too expensive.
802 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
804 * converter.C (convert): fix a crash: this function gets
805 called with buffer == 0 from importer code.
807 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
809 * text3.C (cursorPrevious): make sure that we do not compare
810 iterators form different containers.
813 * rowpainter.C (paintSelection): make sure that we do not compare
814 iterators from different containers.
816 * text3.C (dispatch): [PRIOR] make sure that we do not compare
817 iterators from different ParagraphList containers.
820 * text2.C (LyXText): change order of initialization slightly
821 (operator=): new function. copy all variables except cache_par_
822 (moveUp): make sure that we do not compare iterators from
823 different ParagraphList constainers.
826 * text.C (firstPar): new function
827 (lastPar): new function
828 (endPar): new function
830 * lyxtext.h: move things around and group public functions, public
831 variables, private functions, private variables
833 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
835 * factory.C: change call to InsetERT constructor to avoid
836 additional invocation of method status
837 * text2.C (toggleInset): remove redundant update() call
838 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
839 instead of a Bufferview pointer
841 2003-11-21 André Pönitz <poenitz@gmx.net>
843 * rowpainter.C: simplification
845 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
847 * text3.C (dispatch): make possible to extend a word/row selection
850 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
852 * lyxtext.h: x0_,y0_ -> xo_,yo_
853 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
854 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
855 * rowpainter.C (paintRows): paint full paragraphs
857 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
859 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
862 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
864 * lyxtext.h: add x0_, y0_
865 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
866 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
868 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
870 * text2.C (setCursorIntern): move the x_target update here *
871 * text3.C: change some bv() to true/false in calls to
872 cursorUp/Down/Right/Left
873 * cursor.C: use helper function.
875 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
877 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
878 * paragraph_funcs.[Ch]: correct comment
879 * rowpainter.C: do not paint selections away from bv->cursor()
880 Fix a long standing selection painting bug.
881 * text3.C: generalize mouse-selection code to LyXTexts other that
883 * textcursor.C: do not use y coords if we can use par offsets
885 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
887 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
888 cursor position after e.g. inset insert)
890 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
892 * lyxfind.C (replace): adjust to locking removal + some
895 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
897 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
900 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
903 * output_docbook.C: XML sanitation: new layout
904 parameters InnerTag and CommandDepth
906 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
908 * BufferView_pimpl.C:
910 * text3.C: Fix the insertion and modification of button-style
913 2003-11-13 André Pönitz <poenitz@gmx.net>
915 * InsetList.[Ch]: remove deleteLyXText
917 * paragraph.[Ch]: cache beginOfBody position
922 * text3.C: remove superfluous update() calls
926 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
928 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
929 * BufferView.C (fitLockedInsetCursor): remove
930 * cursor.[Ch] (getDim): add
931 * text.C (getRowNearY): add faster version
932 * text3.C: remove some update calls
934 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
946 * text3.C: The Character Style /XML short element patch.
948 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
951 * factory.C: Small step to solving 'unable to insert some insets'
954 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
956 * cursor.[Ch] (updatePos): new function for updating the y
957 position of the tip inset
958 * bufferview_funcs.C (put_selection_at):
959 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
961 2003-11-11 André Pönitz <poenitz@gmx.net>
963 * text.C: remove big comment on invalid Paragraph pointers as it is
966 2003-11-11 André Pönitz <poenitz@gmx.net>
968 * text_funcs.[Ch]: merge with ...
976 * Makefile.am: remove text_funcs.[Ch]
978 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
980 * cursor.C (getPos): return absolute cached y coord
982 * BufferView_pimpl.C (fitCursor): new simplistic code
983 (workAreaDispatch): add a fitCursor call
985 2003-11-10 André Pönitz <poenitz@gmx.net>
988 * BufferView_pimpl.[Ch]: merge update() and updateInset()
990 2003-11-10 André Pönitz <poenitz@gmx.net>
992 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
993 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
994 indicate that the cursor needs to leave an inset
996 * lyxtext.h: remove inset locking
998 * cursor.[Ch]: re-implement functionality provided by inset locking
1001 * BufferView_pimpl.[Ch]:
1003 * bufferview_funcs.[Ch]:
1015 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1017 * PosIterator.[Ch]: replace the stack with a vector, add inset
1019 * iterators.[C]: adjust
1021 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1023 * lyxfind.C (replaceAll): mark the buffer dirty if something was
1025 * paragraph_funcs.C (readParToken): put the correct id in the
1026 error item, not the id of the top paragraph
1028 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1030 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1031 * bufferview_funcs.C (put_selection_at): use the above
1033 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1035 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1037 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1039 * output_linuxdoc.h:
1040 * output_plaintext.h:
1042 * output_docbook.h: add #include statements
1044 2003-11-05 José Matos <jamatos@lyx.org>
1046 * output_docbook.[Ch]:
1047 * output_latex.[Ch]:
1048 * output_linuxdoc.[Ch]:
1049 * output_plaintext.[Ch]: New files for output formats.
1050 * output.[Ch]: New file for helper functions.
1053 * paragraph_funcs.[Ch]: output functions moved to new files.
1055 * outputparams.h: rename of latexrunparams.h
1063 * paragraph_funcs.[Ch]:
1064 * paragraph_pimpl.[Ch]:
1065 * tabular.[Ch]: rename ascii to plaintext
1066 and LatexRunParams to OutputParams.
1068 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1070 * iterators.[Ch] (text): require bv argument
1071 * undo.C (recordUndo):
1072 * lyxfunc.C (dispatch):
1073 * bufferview_funcs.C (put_selection_at): adjust
1075 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
1077 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1079 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1081 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1084 2003-11-04 André Pönitz <poenitz@gmx.net>
1086 * cursor.[Ch]: restructure
1089 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1091 * iterators.[Ch] (asCursor): remove
1093 * lfuns.h: remove LFUN_INSET_EDIT
1099 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1101 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1103 * lyxfind.[Ch]: complete overhaul
1104 * BufferView_pimpl.C:
1106 * paragraph.[Ch] (insert): add
1108 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1112 * text.C: remove dead spellcheck code
1114 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1116 * dispatchresult.h: add a val setter
1118 * cursor.C (dispatch): use a tempvar for data_[i]
1120 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1122 * PosIterator.[Ch]: compile fix
1124 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1126 * text.C (cursorPar): deactivate the cursor cache
1128 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1130 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1132 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1134 * text3.C (dispatch): adjust for new DisptchResult semantics.
1136 * lyxfunc.C (dispatch): handle update when return from
1137 Cursor::dispatch, adjust for new DispatchResult semantics.
1139 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1140 DispatchResult(true) mean to not update. Add class functions for
1141 setting dispatched and update, as well as reading.
1143 * cursor.C (dispatch): don't handle update here
1145 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1147 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1148 * trans_mgr.C: adjust
1150 * paragraph_funcs.C (readParToken): exception safety
1152 * lyxvc.h: store the vcs pointer in a scoped_ptr
1155 * lyxsocket.C (serverCallback): exception safety
1157 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1159 * ispell.C (clone): make it return a auto_ptr
1161 * factory.C (createInset): exception safety
1162 (readInset): exception safety
1164 * bufferlist.C (newBuffer): exception safety
1166 * Thesaurus.C (Thesaurus): use initialization for aik_
1168 * MenuBackend.C (expandToc): exception safety.
1170 2003-11-03 André Pönitz <poenitz@gmx.net>
1174 * bufferview_funcs.C: remove getInsetFromId()
1177 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1183 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1185 * PosIterator.C (distance, advance): new
1186 * bufferview_funcs.[Ch] (put_selection_at): new
1187 * iterators.[Ch] (lockPath): new
1189 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
1191 * iterators.[Ch] (asPosIterator): added
1192 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1193 * PosIterator.[Ch]: added
1195 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1199 * cursor.C (dispatch):
1200 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1202 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1203 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1204 contructor, add a class function dispatched. Remove operator>=
1206 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1208 * debug.C: only use the default constructor for debugstream
1211 * main.C (main): include debug.h and setup the lyxerr streambuf
1214 2003-10-31 José Matos <jamatos@lyx.org>
1216 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1218 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1219 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1220 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1221 * paragraph_pimpl.C (simpleTeXSpecialC):
1222 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1223 add LatexRunParams argument.
1225 * exporter.C (Export): change call accordingly.
1227 * latexrunparams.h: add new member to take care of the other backends.
1228 2003-10-30 José Matos <jamatos@lyx.org>
1230 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1231 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1232 factorise code for paragraph output.
1234 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1237 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1239 * text3.C (dispatch):
1240 * lyxfunc.C (dispatch):
1241 * cursor.C (dispatch):
1242 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1244 * dispatchresult.h: make the dispatch_result_t ctor explicit
1246 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1249 * buffer.C: small refactoring of docbook stuff
1251 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1253 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1256 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1258 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1259 operator dispatch_result_t, and operators for == != and >=
1261 * cursor.C (dispatch): adjust for operator dispatch_result_t
1262 removal. comment out call to update
1264 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1266 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1274 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1277 * dispatchresult.h: new file, DispatchResult broken out of
1280 * Makefile.am (lyx_SOURCES): add dispatchresult.h
1282 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1284 * text.C (rowBreakPoint): put a hack inside #if 0
1286 2003-10-28 André Pönitz <poenitz@gmx.net>
1290 * paragraph_funcs.C:
1293 * text2.C: general cleanup (lots of small stuff)
1295 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1297 * text2.C (cursorEnd): simple fix to the "end key goes to one
1298 before the end on last row" bug
1300 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1302 * text.C (backspace): fix the "zombie characters"
1304 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1306 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1308 2003-10-27 André Pönitz <poenitz@gmx.net>
1310 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1312 * factory.C: handle new InsetPagebreak, InsetLine
1314 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1315 and move handling into new InsetPagebreak, InsetLine
1317 * BufferView_pimpl.C:
1319 * ParagraphParameters.C:
1320 * ParameterStruct.h:
1325 * paragraph_funcs.C:
1326 * paragraph_pimpl.C:
1332 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1335 * lyxrow_funcs.[Ch]:
1341 * text3.C: remove lastPos uses in favour of Row::endpos
1343 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1345 * undo.C (performUndoOrRedo): fix two crashes by setting a
1346 cursor by hand and reordering some calls. Use bv->lockInset instead
1347 of inset->edit because the latter loses cursor information
1349 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
1351 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1353 (rowBreakPoint): fix width. change point to point + 1.
1354 Add a missing check.
1356 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
1359 * lyxfunc.C: fix (at least partly) the problems
1360 with the Nav menu and headers inside branch insets
1363 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
1365 * paragraph.C (getChar): add strong asserts
1367 * lyxrow_funcs.C (lastPos): remove hideous hack
1369 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1370 (fill): adjust to that (avoid an infinite loop)
1372 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1374 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1376 2003-10-23 André Pönitz <poenitz@gmx.net>
1378 * RowList_fwd.h: change list<> to vector<> to gain speed
1379 after suggestion from Alfredo
1381 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1383 * lyxtext.h: move the bidi stuff from here...
1386 * Bidi.[Ch]: ... to here
1388 2003-10-23 André Pönitz <poenitz@gmx.net>
1391 * text.C (isLastRow, isFirstRow): new functions
1393 * paragraph.h: new width cache member
1395 * rowpainter.C: replace RowList::iterator with Row & where possible
1397 * lyxfunc.C: replace several view()->text with a single call
1399 * toc.C: fix 'unused' warning
1401 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1403 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1404 when woring with stream::pos_type
1405 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1407 2003-10-22 André Pönitz <poenitz@gmx.net>
1410 * text.C: use Row & instead of RowList::iterator
1412 * lyxrow.h: rename end() to endpos()
1418 2003-10-22 Angus Leeming <leeming@lyx.org>
1420 * buffer.[Ch] (fully_loaded): new member function, returning true
1421 only when the file has been loaded fully.
1422 Used to prevent the premature generation of previews and by the
1423 citation inset to prevent computation of the natbib-style label.
1425 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1426 templates are all set up.
1428 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1430 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
1432 * text.C: fixed an "oops" in the "is a bit silly"
1435 2003-10-21 André Pönitz <poenitz@gmx.net>
1437 * FuncStatus.[Ch]: small stuff, whitespace
1439 * lyxfont.[Ch]: operator<<() for debug reasons
1443 * lyxtext.h: whitespace, spelling
1445 * paragraph.C: naming of variables
1448 * text2.C: small stuff
1451 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1453 * text.C: (1) finish off the inset display() work;
1454 (2) fix the "is a bit silly" bug (accessing char
1457 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1459 * text.C: re-introduce display() for insets, fixing the
1460 various bugs (stretch of line above, math inset
1463 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1465 * text.C (rightMargin): remove spurious semicolon
1467 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1470 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1472 * text3.C: fix one crash due to wrong cursor def
1474 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1476 * vc-backend.C (scanMaster): make the regex static
1478 * LaTeX.C (scanAuxFile): make the regexs static
1480 * text3.C (doInsertInset, dispatch, dispatch):
1481 * text2.C (cursorUp, cursorDown):
1482 * text.C (selectNextWordToSpellcheck):
1483 * BufferView_pimpl.C (dispatch):
1484 * lyxfunc.C (dispatch): localDispatch -> dispatch
1486 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1488 * lyxsocket.C: include <cerrno>
1490 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1492 * lyxfunc.C (dispatch): remove textcache stuff
1494 * bufferlist.C (release): remove textcache stuff
1497 * TextCache.C: delete file
1498 * TextCache.h: delete file
1500 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1502 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1503 delete of the bv_->text.
1504 (resizeCurrentBuffer): remove texcache stuff
1505 (workAreaResize): ditto
1507 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1509 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1512 2003-10-16 André Pönitz <poenitz@gmx.net>
1519 * text3.C: speed up by storing y positions per paragraph plus per-row
1520 offset instead of having a 'full' y position in the row.
1522 2003-10-15 André Pönitz <poenitz@gmx.net>
1526 * undo.[Ch]: make undo aware of inner insets
1528 2003-10-14 Angus Leeming <leeming@lyx.org>
1530 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1531 static member functions LyX::ref() and LyX::cref.
1532 (lastfiles): new accessor functions for the new lastfiles_ member var.
1533 (addLyXView, views_): add a new LyXView to the list of views_.
1534 (updateInset): loop over all LyXViews to call their own updateInset
1535 member function, returning a pointer to the Buffer owning the inset.
1537 * BufferView_pimpl.C (loadLyXFile):
1538 * MenuBackend.C (expandLastfiles):
1539 * bufferlist.C (MenuWrite, QuitLyX):
1540 lastfiles is no longer a global variable.
1541 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1543 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1544 static function. Access through LyX::cref().emergencyCleanup().
1546 2003-10-14 André Pönitz <poenitz@gmx.net>
1548 * iterators.[Ch]: new direct access to innermost LyXText and Inset
1550 * undo.[Ch]: restoring part of 'undo in insets'
1553 * undo_funcs.[Ch]: merge with undo.[Ch]
1555 * tabular.C: small cleansing stuff
1557 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
1559 * paragraph_funcs.C (readParToken): report unknown insets as error
1560 boxes. Use the outer paragraph as location (also for unknown
1563 * factory.C (readInset): do not abort on reading an unknown inset.
1564 Eat it and return 0.
1566 2003-10-13 Angus Leeming <leeming@lyx.org>
1568 * lyx_main.C (LyX): remove call to setDisplayTranslator().
1570 * lyxrc.C: displayTranslator is now a function,
1571 declared in GraphicsTypes.h.
1573 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1575 * format.C: new placeholder $$a to pass the socket address.
1577 * bufferlist.[Ch]: new function getBufferFromTmp.
1579 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1580 files in the temporary dir.
1582 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1584 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1586 * Makefile.am: add lyxsocket.[Ch].
1588 * lyx_main.C (error_handler): handle SIGPIPE.
1590 2003-10-13 André Pönitz <poenitz@gmx.net>
1592 * BufferView_pimpl.C:
1597 * undo_funcs.[Ch]: use paroffset_type instead of
1598 ParagraphList::iterators to prevent multiple conversion
1599 (and get a more robust interface)
1601 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1603 * lyxfunc.C (dispatch): RESULT -> dispatch_result
1605 * text3.C (dispatch): ditto
1607 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1609 * LaTeX.C (handleFoundFile): move the static to smaller scope,
1610 move the onlyfile, use onlyfile instead of foundfile in a couple
1613 * DepTable.C (update): flush the error stream a bit more
1615 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1617 * lyxserver.C (callback): adjust
1619 * lyxfunc.C (getStatus): add a missing brace in commented code
1620 (ensureBufferClean): reindent
1621 (dispatch): delete version taking a string
1623 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1625 * LaTeX.C (deplog): move found file handlig from here...
1626 (handleFoundFile): .. to new function here.
1627 (deplog): make sure to discover several files mentioned on the
1630 2003-10-10 André Pönitz <poenitz@gmx.net>
1637 * text3.C: fix some of the tabular crashes
1639 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1641 * MenuBackend.C (binding): put debug message into Debug::KBMAP
1643 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1645 2003-10-09 André Pönitz <poenitz@gmx.net>
1647 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1650 * BufferView_pimpl.C:
1651 * bufferview_funcs.C:
1662 * undo_funcs.C: adjust
1664 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1666 * text2.C (incrementItemDepth): new function, use a backtracking
1667 algorithm to discover the correct item depth.
1668 (resetEnumCounterIfNeeded): new function, use a backtracking
1669 algorithm to discover if counter reset is needed.
1670 (setCounter): use them. Simplify a bit. Add different labels for
1671 different item depths for itemize.
1673 * paragraph.C (Paragraph): remove initialization of enumdepth
1676 * paragraph.h: get rid of enumdepth, and use itemdepth both for
1677 enumerate and itemize. Change the type of itemdepth to signed char.
1679 2003-10-08 André Pönitz <poenitz@gmx.net>
1681 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1686 * tabular.[Ch]: fix crash after 'row-insert'
1688 2003-10-08 Angus Leeming <leeming@lyx.org>
1690 Fix doxygen warnings.
1692 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1693 Remove CutAndPaste:: prefix from header file declaration.
1695 * LColor.h (fill): remove LColor:: prefix from declaration.
1697 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1698 use lyx::depth_type rather than Paragraph::depth_type so that
1699 header file and .C file match.
1701 * converter.h (intToFormat): remove Converters:: prefix from declaration.
1703 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1704 * aspell.C: \file aspell_local.C -> \file aspell.C
1705 * gettext.C: \file gettext.C -> \file src/gettext.C
1706 * gettext.h: \file gettext.h -> \file src/gettext.h
1707 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1708 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1709 * text.C: \file text.C -> \file src/text.C
1711 * toc.C: move comment so that doxygen is not confused.
1713 2003-10-07 Angus Leeming <leeming@lyx.org>
1715 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1717 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1720 * aspell_local.h: add forgotten std::string's.
1722 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1729 * text3.C: The Box patch. Fancybox support, minipage, parbox
1731 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1737 * ParagraphParameters.h:
1747 * lyxtextclasslist.h:
1750 * paragraph_pimpl.C:
1751 * textcursor.h: add <string> and other small fixes to make Lars'
1752 std::string patch compile with STLport.
1754 2003-10-06 Angus Leeming <leeming@lyx.org>
1756 * LColor.h: Add missing #include <string>.
1758 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1760 * All most all file in all subdirs: Make <string> be the prefered
1761 way of getting to std::string, add using declarations.
1763 2003-10-06 André Pönitz <poenitz@gmx.net>
1765 * metricsinfo.C: initialize LyXFont before changing attribute.
1766 (fixes the 'math in \emph is upright' bug)
1768 2003-10-06 André Pönitz <poenitz@gmx.net>
1770 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1772 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
1775 * paragraph_pimpl.C: Small fixes to build using STLport
1777 2003-10-02 André Pönitz <poenitz@gmx.net>
1780 * text3.C: move handling of LFUN_DEPTH *; fix #1360
1782 2003-10-01 André Pönitz <poenitz@gmx.net>
1784 * factory.C: assert early
1786 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1788 * lyx_main.C: remove the global debug object
1790 * debug.h: adjust for new debugstream
1792 * debug.C: adjust for new debugstream and keep the global debug
1795 2003-09-22 Angus Leeming <leeming@lyx.org>
1797 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1798 of g++ which otherwise complain that the scoped_ptr destructor can't delete
1799 an incomplete class LyXFont.
1801 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1803 * factory.C: bug fix in branches
1805 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1807 * lyxfunc.C (processKeySym): adjust
1809 (dispatch): change arg name from ev to func, adjust
1810 (sendDispatchMessage): ditto
1812 * lyx_main.C (defaultKeyBindings): adjust keybindings
1813 (deadKeyBindings): ditto
1815 * kbsequence.C (addkey): return a FuncRequest
1817 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1819 * kbmap.C (bind): take a FuncRequest as arg, adjust
1822 (defkey): change to take a FuncRequest as arg, adjust
1823 (findbinding): take a FuncRequest as arg, adjust.
1825 * funcrequest.h (operator=): added
1827 * funcrequest.C (FuncRequest): default kb_action changed from
1828 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1830 * buffer.C (dispatch): simplify
1831 (dispatch): adjust to take a FuncRequest as arg, adjust
1833 * boost.C (assertion_failed): change assertion message slightly
1835 * ToolbarBackend.C (read): simplify
1837 * MenuBackend.C (binding): adjust call to findbinding, add a
1838 message if no binding is found.
1840 (expandToc): correct by adding a empty FuncRequest
1842 * LyXAction.C: include <boost/assert.hpp>
1843 (isPseudoAction): delete function
1844 (LookupFunc): change name to...
1845 (lookupFunc): this. change return type to FuncRequest.
1846 (getActionName): take kb_action as arg, simplify
1847 (funcHasFlag): add an assert, simplify.
1849 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1851 * toc.C (action): return a FuncRequest, simplify
1853 * lyxfunc.C (processKeySym): adjust
1854 (getStatus): delete version that takes an int.
1856 (dispatch): delete version that takes action as int
1858 (sendDispatchMessage): simplify and adjust
1860 * funcrequest.C (getArg): take unsigned int as arg
1862 * ToolbarBackend.C (read): adjust
1863 (add): delete version that takes func as a string.
1864 (getIton): take a FuncRequest as arg
1866 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1869 * MenuBackend.C (MenuItem): add a new construct that only takes a
1870 Kind, simplify the constructor use for submenus.
1872 (expandLastfiles): adjust
1873 (expandDocuments): adjust
1874 (expandFormats): adjust
1875 (expandFloatListInsert): adjust
1876 (expandFloatInsert): adjust
1877 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1879 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1880 Remove class variables lyx_pseudo_map and lyx_arg_map
1882 * LyXAction.C (searchActionArg): delete function
1883 (getPseudoAction): delete function
1884 (retrieveActionArg): delete function
1885 (LookupFunc): make it return kb_action, simplify.
1886 (getActionName): simplify
1888 * factory.C (createInset): fix new bug
1890 2003-09-19 Angus Leeming <leeming@lyx.org>
1892 * CutAndPaste.C (pasteSelection): remove fudge used to set the
1893 masterFilename_ parameter in the include inset.
1895 * factory.C (createInset): changes due to the changes to InsetInclude.
1897 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1899 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1901 2003-09-18 Angus Leeming <leeming@lyx.org>
1904 * BufferView.C: pass the buffer when calling Inset::getLabelList,
1905 Inset::fillWithBibKeys.
1906 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1908 2003-09-18 Angus Leeming <leeming@lyx.org>
1910 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1912 (ctor): pass and store a 'Buffer const &'
1913 (buffer): new member function.
1915 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1916 '*this' to the LaTeXFeatures ctor.
1918 2003-09-18 Angus Leeming <leeming@lyx.org>
1924 * text.C: rename EnumLColor as LColor_color.
1926 2003-09-18 Angus Leeming <leeming@lyx.org>
1928 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1929 remove #include "insets/insetbase.h" from cursor.h.
1931 2003-09-18 Angus Leeming <leeming@lyx.org>
1933 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1934 InsetOld_code to remove #include "inset.h".
1936 * iterators.C: add #include "insets/inset.h"
1938 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
1940 * BufferView.C: remove more locking stuff that apparently doesn't
1941 do anything sensible.
1943 2003-09-16 André Pönitz <poenitz@gmx.net>
1946 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1949 2003-09-16 Angus Leeming <leeming@lyx.org>
1951 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1953 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1956 * paragraph.h: remove #include "lyxfont.h". Forward declare
1959 2003-09-16 Angus Leeming <leeming@lyx.org>
1961 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1962 of support/textutils.h.
1963 (isWord): move the contents of support/textutils.h's IsWordChar here.
1969 * text2.C: add #include "paragraph.h".
1972 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1974 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1980 * LaTeX.C: use namespace alias for lyx::support::os
1982 2003-09-16 Angus Leeming <leeming@lyx.org>
1985 * bufferview_funcs.C:
1988 * paragraph_pimpl.C:
1990 * text.C: add #include "LColor.h".
1992 2003-09-16 Angus Leeming <leeming@lyx.org>
1994 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1995 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1997 Store the FontBits::color variable as an int rather than as an
1998 LColor::colorso that we can move LColor.h out of the lyxfont.h header
2001 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2002 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2003 string calls together.
2005 * lyxrc.C: add #include "LColor.h".
2007 2003-09-15 Angus Leeming <leeming@lyx.org>
2009 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2012 2003-09-15 Angus Leeming <leeming@lyx.org>
2014 * LColor.h: add an EnumLColor wrapper for LColor::color.
2016 * lyxfont.[Ch] (color, setColor, realColor):
2017 * lyxtext.h, text.C (backgroundColor):
2018 pass EnumLColor args to/from the functions, rather than LColor::color
2022 * lyxtext.h: forward declare EnumLColor.
2024 * lyx_main.C: add #include "LColor.h".
2026 2003-09-15 Angus Leeming <leeming@lyx.org>
2028 * .cvsignore: add lyx-gtk.
2030 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2035 * ParagraphParameters.C
2039 * bufferview_funcs.C
2049 * vc-backend.C: remove usage of STRCONV
2051 2003-09-15 Angus Leeming <leeming@lyx.org>
2053 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2054 explicitly define the color passed to the painter.
2056 2003-09-15 Angus Leeming <leeming@lyx.org>
2058 * bufferparams.C (BufferParams): reorder member initializers to avoid
2061 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
2063 * CutAndPaste.C (pasteSelection): remove an outdated #warning
2064 * text.C (updateRowPositions): remove an unusual nop
2066 2003-09-12 André Pönitz <poenitz@gmx.net>
2068 * BufferView_pimpl.C:
2077 * Counters.[Ch]: finish the 'automatic counters' job
2079 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2081 * aspell.C: include <boost/assert.cpp> (compile fix)
2083 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2085 * boost.C (assertion_failed): use lyx::support::abort instead of
2088 2003-09-10 Angus Leeming <leeming@lyx.org>
2090 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2091 with their _fwd progeny.
2093 2003-09-09 Angus Leeming <leeming@lyx.org>
2095 134 files throughtout the source tree: replace 'using namespace abc;'
2096 directives with the appropriate 'using abc::xyz;' declarations.
2098 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2100 * boost.C (emergencyCleanup): moved here from LAssert.c
2101 (assertion_failed): new function, called by BOOST_ASSERT
2103 * several files: change Assert to BOOST_ASSERT
2105 2003-09-09 Angus Leeming <leeming@lyx.org>
2107 * buffer.[Ch]: Add an Impl class and move Buffer's member
2108 variables into it. As a result move several header files out of
2111 Add header files to lots of .C files all over the tree as a result.
2113 2003-09-09 Angus Leeming <leeming@lyx.org>
2115 * buffer.[Ch]: make Buffer's member variables private. Add
2118 Lots of changes all over the tree as a result.
2120 2003-09-08 Angus Leeming <leeming@lyx.org>
2122 * graph.C: #include <config.h>.
2124 2003-09-08 Angus Leeming <leeming@lyx.org>
2128 * BufferView_pimpl.C:
2157 * toc.C: remove redundant using directives.
2159 2003-09-07 Angus Leeming <leeming@lyx.org>
2161 * LaTeXFeatures.h: remove #include "support/types.h".
2162 * ToolbarBackend.h: remove #include <algorithm>.
2163 * changes.h: remove #include <ctime>.
2164 * debug.h: remove #include <iosfwd>.
2165 * graph.h: remove #include "support/std_string.h".
2166 * lyx_main.h: remove #include <csignal>.
2167 * lyxlex_pimpl.h: remove #include <fstream>.
2168 * sgml.h: remove #include <algorithm>, <utility>.
2169 * toc.h: remove #include "support/std_ostream.h".
2170 Add #include <iosfwd>.
2172 2003-09-07 Angus Leeming <leeming@lyx.org>
2174 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2176 * converter.h: forward declare LatexRunParams.
2177 * encoding.h: remove #include "lyxrc.h".
2178 * lyxtext.h: remove #include "LColor.h".
2179 * lyxtextclass.h: remove #include "support/types.h".
2180 * trans.h: remove #include "tex-accent.h".
2181 * trans_mgr.h: remove #include "tex-accent.h".
2182 * insets/inset.h: remove #include "support/types.h", <vector>.
2183 * insets/insetcollapsable.h: remove #include "LColor.h".
2184 * insets/insetinclude.h: remove #include "dimension.h".
2185 * insets/insetlatexaccent.h: remove #include "dimension.h".
2186 * insets/insetoptarg.h:: remove #include "insettext.h".
2187 * insets/insettext.h: remove #include "dimension.h",
2188 <boost/shared_ptr.hpp>
2190 * insets/renderers.h: add #include "dimension.h".
2191 * insets/updatableinset.h: add #include "support/types.h".
2193 * many .C files: Associated changes.
2195 2003-09-06 Angus Leeming <leeming@lyx.org>
2197 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2198 one, inside testInvariant.
2200 * PrinterParams.C: new file.
2201 * PrinterParams.[Ch]: move the function bodies out of line.
2203 2003-09-06 Angus Leeming <leeming@lyx.org>
2205 * ParagraphParameters.h: forward declare ParameterStruct rather than
2206 including its header file.
2207 (depth): moved out-of-line.
2209 2003-09-06 Angus Leeming <leeming@lyx.org>
2211 * BufferView_pimpl.h:
2214 * lyxfunc.h: forward declare LyXKeySym rather than
2215 #include "frontends/LyXKeySym.h".
2217 * BufferView_pimpl.C:
2220 * lyxfunc.C: associated changes.
2222 2003-09-06 Angus Leeming <leeming@lyx.org>
2224 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2225 As a result, can remove the #include "insets/inset.h" from BufferView.h
2227 2003-09-06 Angus Leeming <leeming@lyx.org>
2229 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2230 As a result, can remove the #include "insets/inset.h" from BufferView.h
2232 2003-09-06 Angus Leeming <leeming@lyx.org>
2238 * bufferview_funcs.C:
2239 * BufferView_pimpl.C:
2244 * ParagraphParameters.C:
2249 * frontends/controllers/ControlDocument.C:
2250 * insets/insetcaption.C: rearrange the #includes into some sort of
2253 * buffer.h: remove #includes ErrorList.h, undo.h
2255 2003-09-06 Angus Leeming <leeming@lyx.org>
2257 * support/types.h: add a 'depth_type' typedef, used to store the
2258 nesting depth of a paragraph.
2261 * ParameterStruct.h: use this lyx::depth_type typedef rather than
2262 defining explicitly.
2265 * paragraph_funcs.h:
2266 * ParagraphParameters.h:
2267 * sgml.h: use lyx::depth_type rather than Paragraph or
2268 ParameterStruct's depth_type.
2271 * paragraph_funcs.h: no need to #include paragraph.h anymore.
2274 * BufferView_pimpl.C:
2276 * ParagraphParameters.C:
2279 * bufferview_funcs.C:
2286 * frontends/LyXView.C:
2287 * frontends/controllers/ControlDocument.C:
2288 * frontends/controllers/ControlErrorList.C:
2289 * insets/insetbibitem.C:
2290 * insets/insetbranch.C:
2291 * insets/insetcaption.C:
2292 * insets/insetcollapsable.C:
2293 * insets/insetenv.C:
2294 * insets/insetert.C:
2295 * insets/insetfloat.C:
2296 * insets/insetfoot.C:
2297 * insets/insetfootlike.C:
2298 * insets/insetnewline.C:
2299 * insets/insetquotes.C:
2300 * insets/insettabular.C:
2301 * insets/insettext.C:
2302 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2304 * frontends/controllers/ControlChanges.C: #include "changes.h".
2306 2003-09-06 Angus Leeming <leeming@lyx.org>
2308 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2309 than #including paragraph.h.
2312 * RowList.h: deleted. Superfluous.
2322 * insets/insettext.h: use ParagraphList_fwd.h rather than
2325 * paragraph.h: don't forward declare ParagraphList.
2328 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2329 rather than ParagraphList.h. paragraph.h is still needed for the
2330 Paragraph::depth_type parameters.
2332 * textcursor.h: enable it to compile stand-alone in light of the
2335 * bufferview_funcs.C:
2347 * frontends/controllers/ControlParagraph.C:
2348 * frontends/controllers/ControlTabular.C:
2349 * insets/insetmarginal.C:
2350 * insets/insetminipage.C:
2351 * insets/insetnote.C:
2352 * insets/insetoptarg.C: add header files needed to compile again.
2354 2003-09-06 Angus Leeming <leeming@lyx.org>
2356 * RowList_fwd.h: new file, forward-declaring Row rather than
2357 #including lyxrow.h.
2362 * insets/insettext.h: use it instead of RowList.h
2364 * bufferview_funcs.C:
2371 * text3.C: #include "RowList.h".
2373 2003-09-05 Angus Leeming <leeming@lyx.org>
2375 * factory.C (createInset):
2376 * vspace.C (c-tor): replace sscanf call with an istringstream.
2377 * ispell.C: re-add missing HP/UX headers.
2378 * lyxserver.C: re-add missing os2 headers.
2380 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
2389 * text3.C: re-add missing system headers, needed for 2.95.2.
2391 2003-09-05 Angus Leeming <leeming@lyx.org>
2393 Changes most place everywhere due to the removal of using directives
2394 from support/std_sstream.h.
2396 2003-09-05 Angus Leeming <leeming@lyx.org>
2398 Replace LString.h with support/std_string.h,
2399 Lsstream.h with support/std_sstream.h,
2400 support/LIstream.h with support/std_istream.h,
2401 support/LOstream.h with support/std_ostream.h.
2403 Changes resulting throughout the tree.
2405 2003-09-05 Angus Leeming <leeming@lyx.org>
2407 * sgml.h: ensure that the header file can be compiled stand-alone.
2408 * *.C: strip out redundant #includes. (320 in total.)
2410 2003-09-04 Angus Leeming <leeming@lyx.org>
2412 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2413 here (from getPackages).
2415 * debug.[Ch]: add a new EXTERNAL tag.
2417 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2419 * text2.C (cursorEnd): simplify
2421 (getColumnNearX): adjust
2423 * text.C (computeBidiTables): adjust
2426 * rowpainter.C (paintChars): adjust
2427 (paintSelection): adjust
2428 (paintChangeBar): adjust
2431 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2433 (numberOfSeparators): adjust
2435 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2441 * text3.C: Restricts the mouse click functionality
2442 of insets like bibtex, include, toc and floatlist to the visible
2443 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2444 up the dialogs. Cursor has to be in front of the inset (i.e.
2445 start of row) for this to function.
2447 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2449 * bufferview_funcs.C (currentState): output row information
2451 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2453 * bufferview_funcs.C (currentState): output paragraph position
2455 2003-09-04 Angus Leeming <leeming@lyx.org>
2457 * FloatList.h: move out #include "Floating.h".
2458 * LaTeX.h: move out #include "DepTable.h".
2459 * LyXAction.h: move out #include "funcrequest.h".
2460 * buffer.h: move out #include "author.h", "iterators.h".
2461 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2462 * lyx_main.h: move out #include "errorlist.h".
2463 * lyxfunc.h: move out #include "FuncStatus.h".
2464 * lyxtext: move out #include "lyxcursor.h".
2465 * paragraph_pimpl.h: move out #include "counters.h".
2467 2003-09-03 Angus Leeming <leeming@lyx.org>
2469 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2470 preamble_snippets list, enabling us to add snippets to the preamble
2471 only if the snippet was not there already.
2473 2003-09-04 Angus Leeming <leeming@lyx.org>
2475 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2477 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2479 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2482 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2484 * BranchList.C: point fix, earlier forgotten
2486 2003-09-02 Angus Leeming <leeming@lyx.org>
2488 * box.C (contains): renamed from 'contained' after a fantastic
2491 2003-09-02 John Levon <levon@movementarian.org>
2497 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2499 2003-09-02 John Levon <levon@movementarian.org>
2501 * text2.C: simplification of cursorEnd(), including partial
2504 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2506 * buffer.C (readFile): add a space
2508 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
2510 * BufferView_pimpl.C (update): remove bogus fitCursor() call
2512 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2514 * buffer.C (readFile): new function, take a filename and a
2515 ParagraphList::iterator
2517 (readFile): adjust, make it private. don't use setStream, make
2518 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2519 always contain the filename.
2521 * BufferView.C (insertLyXFile): simplify and make it work for
2524 2003-08-30 John Levon <levon@movementarian.org>
2526 * Makefile.am: fix dist (from Kayvan)
2528 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2530 * most files: change to use const Buffer refs
2532 2003-08-27 André Pönitz <poenitz@gmx.net>
2534 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2535 on top of ownerPar().
2537 2003-08-27 John Levon <levon@movementarian.org>
2539 * funcrequest.C: properly initialise POD members
2541 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2543 * lyxtext.h (top_y): move top_y from here
2548 * BufferView_pimpl.[Ch]: to here
2549 * frontends/screen.C:
2550 * insets/insettabular.C:
2551 * insets/insettext.C: adjust
2552 * rowpainter.[Ch] (paintRows): remove LyXText & argument
2554 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2557 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2559 2003-08-26 André Pönitz <poenitz@gmx.net>
2561 * paragraph_func.[Ch] (outerPar): new function
2564 * paragraph_funcs.C:
2565 * paragraph_funcs.h:
2566 * paragraph_pimpl.C:
2567 * text2.C: remove Inset::par_owner
2569 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2574 * text2.C: eliminates the needFullRow/display() stuff
2575 altogether, putting the logic in metrics/draw in the insets.
2577 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
2579 * text2.C (redoParagraphInternal, redoParagraphs):
2580 * text.C (redoParagraph): add a call to updateRowPositions at the
2581 end of each 'metrics-like' call. Remove all others.
2582 (getRow): remove the 'y-computing' version.
2583 (getRowNearY): do not compute nor return the real y. Solve the
2584 'y < 0' problem and simplify.
2586 2003-08-22 Angus Leeming <leeming@lyx.org>
2588 * *.[Ch]: clean-up of licence and author blurbs.
2589 Also move config.h out of a few .h files and into a few .C files.
2591 2003-08-22 André Pönitz <poenitz@gmx.net>
2593 * lyxrow.[Ch]: add x_ and *fill_ members
2598 * text2.C: adjust/remove prepareToPrint() calls
2600 2003-08-22 André Pönitz <poenitz@gmx.net>
2602 * lyxrow.[Ch]: add end_ member
2604 * lyxrow_funcs.C: use LyXRow::end_
2606 * lyxtext.h (singleWidth): add LyXFont parameter
2609 * text2.C: adjust LyXText::singleWidth() calls
2611 * text.C (redoParagraph): simplify row breaking logic
2614 2003-08-19 André Pönitz <poenitz@gmx.net>
2616 * funcrequest.C: initialize button_ member
2619 * rowpainter.[Ch]: interface consolidation
2621 2003-08-18 André Pönitz <poenitz@gmx.net>
2624 * BufferView_pimpl.C:
2626 * paragraph_funcs.C:
2628 * text3.C: remove LyXScreen::draw() and fitCursor calls
2630 * BranchList.h: remove spurious semicolons
2632 * MenuBackend.C: fix branchlist related crash
2634 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2642 * bufferparams.[Ch]:
2646 * text3.C: implements the 'branch inset'
2647 idea. This allows the output of various versions of a document
2648 from a single source version, selectively outputing or suppressing
2649 output of parts of the text.
2650 This implementation contains a 'branch list editor' in a separate
2651 tab of the document settings dialog. Branches are user definable
2652 and have a "display colour" to distinguish them on-screen.
2654 ColorHandler was somewhat cleaned up.
2655 (1) make possible a dynamically growing LColor list by allowing
2656 the graphic context cache to grow along (vector);
2657 (2) eliminate an IMHO unnecessary step in colour allocation.
2659 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
2661 * BufferView_pimpl.C: compile fix
2663 2003-08-15 André Pönitz <poenitz@gmx.net>
2665 * rowpainter.C: remove extra metrics calls
2667 * lyxtext.h: merge the two constructors into a single one,
2668 pass reference to owner's par list
2670 * BufferView_pimpl.C:
2674 2003-08-15 André Pönitz <poenitz@gmx.net>
2676 * lyxrow_funcs.[Ch]:
2679 * paragraph_funcs.C:
2684 * text_funcs.C: split LyXText::rowlist_ into individual
2685 Paragraph::rows_ chunks
2688 * BufferView_pimpl.[Ch]:
2691 * text3.C: remove toggleSelection()
2693 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2695 * bufferlist.C: beautify two alerts (shorter text of buttons)
2696 * buffer.C: Remove redundant ' ' from message
2698 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2699 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2700 rename VALIGN_CENTER to VALIGN_MIDDLE
2702 2003-08-11 André Pönitz <poenitz@gmx.net>
2704 * lyxtext.h (getPar):
2705 * text.C: new function
2707 2003-08-11 André Pönitz <poenitz@gmx.net>
2710 * tracer.[Ch]: remove unneeded files
2712 * InsetList.[Ch]: remove resizeInsetsLyXText()
2717 * text3.C: merge insertParagraphs() and appendParagraph()
2718 remove breakAgain(), update()
2720 * BufferView_pimpl.[Ch]:
2721 * bufferview_funcs.[Ch]:
2725 * tabular.C: adjust after text & InsetList changes.
2727 2003-08-08 André Pönitz <poenitz@gmx.net>
2729 * text.C (insertChar, backspace): replace rowlist fiddling
2730 with rebreak of full par
2733 * text.C (breakAgainOneRow, redoHeightOfParagraph,
2734 checkParagraph, updateInset): removed
2736 2003-08-07 André Pönitz <poenitz@gmx.net>
2739 * text3.C: merge some LFUN handlers, remove dead code
2741 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2743 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2745 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
2747 * text2.C (DEPM): fix part of bug 1255 and 1256
2749 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2751 * BufferView_pimpl.C (workAreaDispatch): change to use
2752 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2753 that are no mouse related.
2755 2003-08-05 André Pönitz <poenitz@gmx.net>
2758 * BufferView_pimpl.[Ch]:
2759 * bufferview_funcs.C:
2761 * text3.C: rip out "deep update"
2763 * textcursor.[Ch] (last_sel_cursor): remove unused member
2765 2003-08-04 André Pönitz <poenitz@gmx.net>
2768 * BufferView_pimpl.[Ch]:
2769 * ParagraphParameters.C:
2770 * bufferview_funcs.C:
2776 * text3.C: replace "complicated" BufferView::update(...) calls with
2779 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2781 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
2783 * Makefile.am (lyx_SOURCES): add paper.h
2785 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2787 * Makefile.am: move things around so that both lyx-qt and
2788 lyx-xforms can be built (according to --with-frontend). Then lyx
2789 is a symbolic link to lyx-[firstfrontend]
2791 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2793 * Always use std::endl with lyxerr
2795 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
2797 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2799 2003-08-01 André Pönitz <poenitz@gmx.net>
2802 * BufferView_pimpl.[Ch]:
2804 * text3.C: merge BufferView::repaint() and BufferView::update()
2806 2003-08-01 José Matos <jamatos@lyx.org>
2808 * buffer.[Ch]: file_format is no longer a buffer data element.
2810 2003-08-01 André Pönitz <poenitz@gmx.net>
2815 * text2.C: make redoParagraph more independent of current cursor
2817 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2819 * text2.C: remove unneeded members
2821 2003-07-30 André Pönitz <poenitz@gmx.net>
2823 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2825 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2826 create a single function...
2828 * paragraph_funcs.C (moveItem): ... here.
2831 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2833 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2835 * LColor.[Ch]: Add comment and greyedout logical colors.
2837 2003-07-30 André Pönitz <poenitz@gmx.net>
2839 * tabular.C: don't use Assert too heavily. This crashes where it
2842 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
2844 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2845 is disabled (bug 1232)
2847 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2849 * factory.C: limited 'arg' scope
2851 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2853 * factory.C: fixed Note submenu issues
2855 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2857 * factory.C: submenu for Note/Comment/Greyedout
2859 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
2862 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2864 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2867 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2868 greyedout. Patch provided by Jürgen Spitzmüller.
2870 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2872 * kbmap.C (read): fix error message when reading bind files
2874 2003-07-29 Angus Leeming <leeming@lyx.org>
2876 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2877 certainly does not do what it purports to do. I am doing it, and
2878 us, a favour by killing it.
2880 2003-07-28 José Matos <jamatos@lyx.org>
2882 * buffer.C (readBody, do_writeFile):
2883 * paragraph.C(readParagraph): \end_document replaces \the_end.
2885 2003-07-29 André Pönitz <poenitz@gmx.net>
2888 * BufferView_pimpl.[Ch]:
2892 * textcursor.[Ch]: remove toggleToggle & Co
2894 2003-07-28 José Matos <jamatos@fep.up.pt>
2896 * buffer.C (readParagraph):
2897 * params_func (readParToken, readParagraph):
2898 * paragraph.C (write): \layout -> \begin_layout.
2900 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2902 * lyxlex_pimpl.C (setFile): clean up slightly.
2904 * bufferparams.h: add compressed var
2906 * buffer_funcs.C (readFile): adjust for LyXLex change
2907 (newFile): ditto + simplify
2909 * buffer.C (writeFile): handle writing of compressed files
2911 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2912 Check if the file is compressed and set a bufferparm if so.
2914 * Makefile.am (lyx_LDADD): remove explicit -lz
2916 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2918 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2919 makeDocBookFile): put the real LyX version in the first line of
2923 * version.C.in: remove lyx_docversion
2925 * tabular.C (write_attribute): add a template-based version to
2926 write enums properly
2928 2003-07-28 André Pönitz <poenitz@gmx.net>
2933 * text3.C: use doubles again for x-coordinates. They are needed.
2935 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2937 * messages.C (getLocaleDir): use lyx_localedir()
2939 * lyxlex_pimpl.C (setFile): compress stuff
2941 * buffer.C (writeFile): add some compression stuff
2942 (do_writeFile): new func, dont call expliti close... will this
2945 * Makefile.am (lyx_LDADD): add -lz
2947 2003-07-28 José Matos <jamatos@fep.up.pt>
2949 * buffer.C: increment file format.
2950 * paragraph_funcs (readParagraph, readParToken):
2951 * paragraph.C (readParagraph): add \end_layout.
2953 2003-07-27 Angus Leeming <leeming@lyx.org>
2955 * Makefile.am: remove special casing for configure-time setting of
2956 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2958 * lyx_main.C (init): remove all Jean-Marc's magic setting of
2959 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2961 2003-07-26 André Pönitz <poenitz@gmx.net>
2963 * paragraph_func.[Ch]:
2964 * paragraph.C (realizeFont): inline it whereever it is used
2969 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2972 2003-07-26 André Pönitz <poenitz@gmx.net>
2976 * text2.C: get rid of LyXText::need_break_row
2978 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2980 * toc.[Ch]: put namespace toc inside namespace lyx
2982 * MenuBackend.C (expandToc2): adjust for lyx::toc
2985 * lyxfunc.C (dispatch): adjust for lyx::find
2987 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2988 lyx::find instead. Reorganize a bit.
2989 (LyXReplace): rename to replace
2990 (LyXFind): rename to find
2992 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2995 2003-07-26 André Pönitz <poenitz@gmx.net>
2997 * text.C (setHeightOfRow): restrict scope of temporary variable
2999 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
3000 code (never has been used?)
3002 2003-07-27 Asger Alstrup <alstrup@local>
3004 * text.C (fill): Optimise algorithm to exploit that we can reuse
3005 the LyXFont for many characters.
3006 (setHeightOfRow): Same thing.
3007 (rowBreakPoint): Same thing.
3009 2003-07-26 Asger Alstrup <alstrup@local>
3011 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3013 * text.C (singleWidth): Spurious font copying in hot-spot
3014 singleWidth avoided. Reorder tests for arabic for efficiency.
3016 * text.C (fill): handle empty paragraphs better.
3018 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3021 * encoding.h: add includes
3023 * lyxrc.C: remove reading of bind files
3025 * lyx_main.C (init): setup bindings and menus only if we have a
3028 * kbmap.C (read): new method. Do the actual reading of bind
3031 * converter.C (dvipdfm_options):
3034 (output): adapt PAPER_* enums.
3036 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3038 * bufferparams.h: remove paper-related enums from there
3040 * paper.h: New file. A trivial header file to hold paper-related
3041 enums. It should later expand to contain many paper-related
3044 * lyxrc.C: declare extern displayTranslator
3046 2003-07-27 José Matos <jamatos@fep.up.pt>
3048 * tabular.[Ch] (linuxdoc): add support for tables and figures
3051 2003-07-27 José Matos <jamatos@fep.up.pt>
3053 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3054 consistency in both functions.
3055 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3057 2003-07-26 Asger Alstrup <alstrup@local>
3059 * rowpainter.C (paintRows): Change algorithm to work directly on
3060 the insets rather than asking every character in the document
3061 whether its an inset.
3063 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
3065 * buffer.C (openFileWrite): factorize some code
3067 2003-07-26 Angus Leeming <leeming@lyx.org>
3070 * lyx_main.[Ch]: replace occurances of system_tempdir with
3073 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3075 * rename Inset to InsetOld
3077 2003-07-25 Asger Alstrup <alstrup@diku.dk>
3079 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3080 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3081 which I think is a bit clearer. EDIT is gone, since it was
3082 premature optimisation, and broken for mathed anyway.
3083 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3084 with cursor positioning in insets as well (math insets still do not
3085 work, but that's a different story anyway.) It mysteriously
3086 crashes sometimes with undo in the first paragraph, but I'm fairly
3087 confident that this is a compiler bug.
3089 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3091 * paragraph.C (Paragraph): adjust for new clone return type
3093 (copyIntoMinibuffer): ditto
3095 2003-07-25 Asger Alstrup <alstrup@lyx.org>
3097 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3098 by not having a special case, and always doing a full rebreak of
3099 the document after undo.
3101 2003-07-23 Angus Leeming <leeming@lyx.org>
3103 * factory.C (createInset): InsetExternal::setParams now takes a
3106 2003-07-23 Angus Leeming <leeming@lyx.org>
3108 * factory.C (createInset): changed interface to the external and
3109 graphics mailers' string2params functions.
3111 2003-07-23 Angus Leeming <leeming@lyx.org>
3113 * factory.C (createInset): pass a
3114 Buffer const * parameter to InsetExternalMailer's string2params.
3116 2003-07-22 John Levon <levon@movementarian.org>
3118 * Thesaurus.h: include the right aiksaurus header
3120 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3122 * MenuBackend.C (expand): check menu shortcuts unconditionally
3124 2003-07-21 Angus Leeming <leeming@lyx.org>
3126 * factory.C (createInset): pass a
3127 buffer_path parameter to InsetGraphicsMailer's string2params.
3129 2003-07-21 Angus Leeming <leeming@lyx.org>
3131 * BufferView_pimpl.C (buffer):
3134 * lyxfunc.C (dispatch):
3135 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3136 rather than the grfx shortcut.
3138 2003-07-21 André Pönitz <poenitz@gmx.net>
3140 * rowpainter.C: remove unused variables
3143 * tabular_funcs.h: move to tabular.C
3144 * Makefile.am: adjust
3146 * tabular.[Ch]: basic optical cleaning
3148 * author.h: pass references, not values
3150 2003-07-18 André Pönitz <poenitz@gmx.net>
3158 * text3.C: two-phase drawing for InsetText and InsetTabular
3159 some float -> int changes.
3161 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3163 * lyx_main.C: fix the fix
3165 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3167 * lyx_main.C: fix a crash in batch mode if no files specified
3170 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
3172 * format.[Ch] (papersize): moved to BufferParams
3173 * converter.[Ch] (dvips_options): moved to BufferParams
3174 (dvipdfm_options): moved to anon namespace
3175 * bufferparams.[Ch]: added above functions.
3177 2003-07-17 André Pönitz <poenitz@gmx.net>
3181 * text2.C: don't call inset->update() anymore
3183 * metricsinfo.[Ch]: add convenience constructor
3185 2003-07-16 André Pönitz <poenitz@gmx.net>
3190 * text2.C: replace the LyXCursor::irow_ member with
3191 on-demand computation of the value
3193 2003-07-16 John Levon <levon@movementarian.org>
3195 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3197 2003-07-15 André Pönitz <poenitz@gmx.net>
3200 * text2.C: remove no more needed refresh_row
3202 2003-07-15 André Pönitz <poenitz@gmx.net>
3207 * text3.C: refresh_status tristate -> need_update bool
3209 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3211 * lyxtext.h (init): remove reinit argument (act as if always true)
3212 * text2.C: adjust to that
3214 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3216 * bufferview_funcs.[Ch]: introduce function replaceSelection()
3217 * text3.C: use it to delete selections in some cases
3218 (bugs 441, 673, 702, 954).
3220 2003-07-14 André Pönitz <poenitz@gmx.net>
3222 * rowpainter.[Ch]: reduce interface
3224 2003-07-14 André Pönitz <poenitz@gmx.net>
3226 * BufferView_pimpl.C:
3227 * text2.C: adjust after removing unused BufferView * argument
3229 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
3231 * text2.C (init): fix a crash fired on resize
3233 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
3235 * buffer.[Ch]: added new closing signal
3236 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3237 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3238 BufferView::Pimpl via the closing the signal
3240 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
3242 * buffer.[Ch]: take out all bv-related from buffer
3244 * BufferView_pimpl.[Ch]: connect to new signals
3245 * CutAndPaste.C: removed useless asserts
3246 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3249 * lyxfunc.C: moved view-related funciontality from vc here
3250 * paragraph.C: removed outdated comments
3253 2003-07-10 André Pönitz <poenitz@gmx.net>
3255 * BufferView_pimpl.C:
3259 * text2.C: remove InsetText::InnerCache, clean up consequences
3261 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3263 * ispell.C: fix two typos in error messages
3265 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
3267 * Extend Note inset to other forms of annotation like Comment
3268 and Greyedout. Right button click gives dialog.
3270 Files modified or added (+):
3274 * ControlNote.[Ch] +
3276 * Makefile.am in frontends/xforms, frontends/xforms/forms,
3277 frontends/controllers
3281 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3283 * aspell.C: add missing namespace lyx::support
3285 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
3287 * BufferView.[Ch] (newFile): Add
3288 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3289 * LaTeX.[Ch] (message): added this signal and use it
3290 * buffer.[Ch] (busy, message): added these signals and use them
3291 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3295 * importer.C: use buffer signals instead of direct bv calling
3296 * lyx_cb.[Ch] (ShowMessage): removed
3299 * paragraph_funcs.C:
3300 * text2.C: use buffer signals
3302 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3304 * introduce namespace lyx::graphics
3306 2003-07-02 André Pönitz <poenitz@gmx.net>
3308 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3310 2003-07-01 André Pönitz <poenitz@gmx.net>
3317 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3318 text*.C to text_func.C
3320 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3322 * introduce namespace lyx::support
3324 2003-06-30 André Pönitz <poenitz@gmx.net>
3329 * text.C: re-enable --with-included-string
3331 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3333 * textcursor.C: add <config.h>
3335 * text.C (getWord): remove const from word_location arg
3337 * lyxvc.C (getLogFile): fix const type order
3339 * lyxtext.h: remove const from word_location arg, add arg name
3341 * lyxlayout.h: currect type on labeltype.
3343 * importer.C: correct \file
3345 * converter.C (intToFormat): use std:: on ret val, ws changes
3347 * bufferlist.h: correct \file
3349 * buffer.C (makeLinuxDocFile): fix const type order
3350 (makeDocBookFile): ditto
3351 (fillWithBibKeys): use std:: on stdlib args.
3353 * CutAndPaste.C: fix authors.
3354 (availableSelections): use std:: on return vector
3356 2003-06-27 André Pönitz <poenitz@gmx.net>
3358 * BufferView_pimpl.C:
3359 * bufferview_funcs.C:
3367 * text3.C: remove LyXCursor::row_ member
3370 * text.C: rename fullRebreak() to partialRebreak() and implement
3371 a fullRebreak() that really bereks fully
3373 * textcursor.h: new struct for cursor-related data
3375 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
3377 * lyx_main.C (LyX): get full path of document loaded on the
3380 2003-06-26 André Pönitz <poenitz@gmx.net>
3382 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3383 remove unused/broken operator>,<,>=.
3385 * text.C: remove only use of broken operator<= in an Assert().
3387 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3389 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3390 moved errorlist_.clear to showErrorList
3392 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3394 * converter.C (scanLog, runLaTeX):
3395 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3396 move the bv->showErrorList call to the callers
3397 * lyxfunc.C: i.e. here...
3399 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3400 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3401 namespace, the second to...
3402 * buffer_funcs (BufferFormat, parseErrors): added
3403 * errorlist.C (ErrorList(TeXErrors const &)): removed
3405 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3407 * ToolbarBackend.C (getIcon): complain when icon cannot be found
3409 2003-06-24 "Garst R. Reese" <reese@isn.net>
3413 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3415 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3417 * version.C.in: change docversion to 1.4
3419 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
3421 * buffer.C: fix a bug just introduced
3423 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3425 * buffer.[Ch]: added the parseError signal and use it, removed
3427 * BufferView.[Ch] (addError): moved to ...
3428 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3429 to the Buffer::parseError signal to catch (guess what) parse errors
3430 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3432 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3434 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3435 ability to create a buffer and to return an existing one from
3436 the list. Moved these functions to...
3437 * buffer_funcs.[Ch]: added
3438 * BufferView.[Ch] (loadLyXFile): added
3439 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3440 job removed from bufferlist::loadLyXFile.
3441 * buffer.C (setReadOnly): make it work without view
3442 (i.e added an if (users))
3444 2003-06-19 Angus Leeming <leeming@lyx.org>
3447 * LyXAction.C (init):
3448 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3449 with LFUN_DIALOG_SHOW <name> <data>.
3451 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3453 * CutAndPaste.C (availableSelections): small compilation fix for
3454 ancient (gcc 2.9x) compilers
3456 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3458 * text3.C (cursorNext): add tmp var
3460 * text2.C (updateCounters): for function calling out of for clause
3461 (replaceSelectionWithString): ditto
3462 (insertStringAsParagraphs): ditto
3463 (getColumnNearX): add tmp var
3464 (setCursorFromCoordinates): add tmp var
3465 (cursorDownParagraph): add tmp var
3466 (deleteEmptyParagraphMechanism): add tmp var
3468 * text.C (insertChar): add tmp var
3470 * rowpainter.C (paintDepthBar): add tmp var
3472 * CutAndPaste.C (availableSelections): potentially check all
3473 paragraphs in a cut to fill the shown strings.
3475 2003-06-18 André Pönitz <poenitz@gmx.net>
3477 * kbmap.[Ch]: use vector<> instead of list<>
3479 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3481 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3482 pasteSelection with index
3484 * text2.C (pasteSelection): modify, call pasteSelection with index
3486 * paragraph.C (asString): reimplement version with no interval to
3487 call the one with interval.
3489 * lyxtext.h: add index arg to pasteSelection
3491 * MenuBackend.C (MenuItem): handle PasteRecent
3492 (Menu::read::Menutags): add md_pasterecent
3494 (expandPasteRecent): new function
3497 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3499 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3501 (availableSelections): new function
3503 2003-06-17 Angus Leeming <leeming@lyx.org>
3505 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3507 2003-06-17 Angus Leeming <leeming@lyx.org>
3510 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3512 * lyxfunc.C (dispatch): invoke it.
3514 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3516 * iterators.C (operator++, ParPosition): reintroduce some
3517 const_cast for the benefit of older compilers.
3519 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3521 * text3.C (dispatch): do not modify clipboard when doing
3522 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3523 LFUN_DELETE_SKIP on a selection selection
3525 2003-06-16 André Pönitz <poenitz@gmx.net>
3531 * tabular.[Ch]: IU of clone() and getLabelList();
3533 2003-06-13 André Pönitz <poenitz@gmx.net>
3535 * tabular.h: compactification
3537 2003-06-12 André Pönitz <poenitz@gmx.net>
3541 * tabular_funcs.h: some renaming plus whitespace
3543 2003-06-12 André Pönitz <poenitz@gmx.net>
3546 * BufferView_pimpl.C:
3552 * toc.C: Return a Paragraph & for ParIterator::operator*()
3554 2003-06-11 John Levon <levon@movementarian.org>
3558 * ToolbarBackend.C: add "Toolbars" section and
3561 2003-06-10 Angus Leeming <leeming@lyx.org>
3564 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3566 * lyxfunc.C (dispatch): invoke it.
3568 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3570 * main.C: protect <ios> with HAVE_IOS
3571 (main): protect sync_with_stdio with HAVE_IOS
3573 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3575 * text2.C (cutSelection): adjust
3576 (pasteSelection): adjust
3578 * messages.C: handle get of empty string
3580 * main.C (main): use sync_with_stdio(false)
3582 * lyxfunc.C (dispatch): adjust
3584 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3585 (WriteAs): remove unneeded BufferView arg.
3587 * bufferparams.h: use correct types on papersize, papersize2 and
3590 * bufferparams.C (readToken): adjust for type
3591 (writeLaTeX): add missing cases to switch.
3593 * bufferlist.C (quitWriteBuffer): adjust
3596 * buffer.C (asciiParagraph): remove some commented code.
3598 * CutAndPaste.C: remove current_view extern variable.
3599 (cutSelection): add BufferParams arg.
3600 (eraseSelection): add BufferParams arg.
3601 (pasteSelection): add Buffer const & arg
3603 2003-06-07 John Levon <levon@movementarian.org>
3606 * paragraph_funcs.C:
3607 * paragraph_pimpl.C:
3611 * paragraph.C: allow InsetERT to freely space lines,
3612 and some consolidation of code
3614 2003-06-06 José Matos <jamatos@fep.up.pt>
3616 * buffer.C (makeDocBookFile): fix bug #821
3618 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3620 * BufferView_pimpl.C (dispatch): use Dialogs::visible
3622 2003-06-04 Angus Leeming <leeming@lyx.org>
3624 * buffer.C: bump format to 224.
3626 2003-06-05 André Pönitz <poenitz@gmx.net>
3628 * text2.C (redoParagraphs): remove two const_cast<>
3630 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3632 * ParagraphList.h: remove last remnants of NO_STD_LIST
3634 2003-06-03 Angus Leeming <leeming@lyx.org>
3636 * factory.C (createInset): small change to the way InsetExternal's params
3639 2003-06-04 André Pönitz <poenitz@gmx.net>
3641 * buffer.h: use Undo directly instead of shared_ptr<Undo>
3643 * paragraph_pimpl.h:
3644 * paragraph.[Ch]: some Inset -> UpdatableInset changes
3646 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3648 * undo_funcs.C: make some simple cases of undo work again
3650 2003-06-03 John Levon <levon@movementarian.org>
3652 * ispell.C: HPUX doesn't have sys/select.h
3655 2003-06-03 John Levon <levon@movementarian.org>
3657 * CutAndPaste.C: update tabular and include inset
3662 * paragraph.C: remove owningBuffer(), don't pass Buffer
3665 * factory.C: insetGraphicsParams changed
3667 2003-06-02 John Levon <levon@movementarian.org>
3673 * text3.C: remove insetparent
3675 2003-06-02 John Levon <levon@movementarian.org>
3678 * buffer.C: fix inset_iterator.end(), move out of line
3681 2003-06-01 John Levon <levon@movementarian.org>
3683 * text3.C: use a proper cut/paste when doing inset
3684 insert (from Jürgen Spitzmüller)
3686 2003-06-01 John Levon <levon@movementarian.org>
3688 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3690 2003-05-30 André Pönitz <poenitz@gmx.net>
3692 * rowpainter.C: unify second drawing phase
3694 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3696 * trans_mgr.C: remove one case of current_view
3698 * text2.C (cursorBottom): delete NO_STD_LIST stuff
3700 * paragraph_funcs.h: remove paragraph.h include
3702 * paragraph.h: delete NO_STD_LIST stuff
3704 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3706 * buffer.h: remove paragraph.h include
3708 * ParagraphList.C: delete file
3710 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3712 * toc.C (getTocList): adjust
3714 * paragraph_pimpl.C (validate): adjust
3716 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3718 * paragraph.C (Paragraph): adjust
3719 (getPositionOfInset): use const_iterator, adjust
3720 (bibitem): use const_iterator, adjust
3721 (setInsetOwner): adjust
3723 * iterators.C (operator++): adjust
3725 * InsetList.[Ch]: Replace selfmade iterator with standard
3726 vector::iterator also introduce const_iterator. Remove getPos,
3727 getInset and setInset from InsetTable. Adjust accordingly.
3729 * BufferView.C (lockInset): adjust
3730 (ChangeInsets): adjust
3732 * tabular.[Ch]: delete commented same_id functions
3734 2003-05-28 John Levon <levon@movementarian.org>
3736 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3738 2003-05-28 André Pönitz <poenitz@gmx.net>
3740 * metricsinfo.[Ch]: remove 'fullredraw' member
3742 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
3744 * lyxtextclass.C (operator): remove caching.
3746 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3750 * text2.C (cursorBottom): adjust
3751 (setCounter): use ParagraphList::find, adjust
3753 * text.C (workWidth): use ParagraphList::find, adjust
3755 * lyxcursor.C (LyXCursor): adjust
3757 * buffer.C (inset_iterator): adjust
3759 * ParagraphList.h: make iterator(value_type) private, make
3760 ParagraphList a friend of iterator.
3762 * ParagraphList.C (find): new function
3764 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3766 2003-05-27 André Pönitz <poenitz@gmx.net>
3768 * dimension.[Ch]: a -> asc, d -> des, w -> wid
3770 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3772 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3774 2003-05-26 John Levon <levon@movementarian.org>
3776 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3778 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3780 * remove same_id from function signatures, adjust.
3782 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3784 * undo_funcs.C (createUndo): use the id functions directly, adjust.
3786 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3788 * paragraph.C (Paragraph): get rid of same_ids parameter
3790 * ParagraphList.C (insert): adjust
3793 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3795 * paragraph_funcs.C (breakParagraph): adjust
3796 (breakParagraphConservative): adjust
3798 * buffer.C (readParagraph): adjust
3800 * ParagraphList.C (insert): take a reference instead of a pointer
3803 * paragraph.[Ch] (id): new function
3805 * bufferlist.C (newFile): adjust
3807 * ParagraphList.C (ParagraphList): adjust
3809 (push_back): take a reference instead of a pointer.
3811 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3813 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3816 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3817 set else use old code.
3819 * ParagraphList.C: remove all NO_NEXT code and only compile this
3820 code of NO_STD_LIST is set.
3822 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3824 * BufferView_pimpl.C:
3834 * graphics/GraphicsConverter.C:
3835 * graphics/PreviewLoader.C: header adjustment
3837 2003-05-23 Angus Leeming <leeming@lyx.org>
3839 * LaTeXFeatures.[Ch] (useBabel): new method.
3840 * bufferparams.C (writeLaTeX): use it.
3842 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3844 * ParagraphList.h (set): remove unused function.
3846 2003-05-23 André Pönitz <poenitz@gmx.net>
3849 * BufferView_pimpl.C:
3853 * undo_funcs.C: setUndo reworked
3855 * iterators.[Ch]: add access to topmost ParagraphList
3857 * lyxtext.[Ch] (workWidth): add a const
3859 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3861 * texrow.[Ch] (increasePos): remove function
3862 * exporter.C (export): removed unused var and outdated comment
3864 2003-05-23 Angus Leeming <leeming@lyx.org>
3866 * latexrunparams.h: rename fragile as moving_arg.
3867 * paragraph.C (simpleTeXOnePar): ditto.
3868 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3870 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3872 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3874 (textUndoOrRedo): comment out a currently unused var.
3876 * paragraph.h (NO_NEXT): enable NO_NEXT
3878 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3880 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3882 * exporter.C (Export): adjust for removeAutoInsets removal.
3884 * buffer.C (runChktex): adjust for removeAutoInsets removal.
3886 * LyXAction.C (init): remove LFUN_REMOVEERRORS
3888 * BufferView.[Ch] (removeAutoInsets): delete function
3890 2003-05-22 Angus Leeming <leeming@lyx.org>
3892 * latexrunparams.h: add a free_spacing variable.
3894 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3895 to pass moving_arg, as the data is stored in runparams.fragile.
3897 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3898 to Inset::latexOptional or to simpleTeXOnePar.
3900 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3901 free_spacing arg to Inset::latexOptional.
3903 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3906 2003-05-22 Angus Leeming <leeming@lyx.org>
3908 * latexrunparams.h: add fragile and use_babel variables.
3910 * bufferparams.[Ch] (writeLaTeX): return use_babel.
3911 * buffer.C (makeLaTeXFile): store this returned value in
3912 runparams.use_babel, thus passing it to the inset::latex methods.
3914 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3915 simpleTeXSpecialChars as it is now stored in runparams.fragile.
3917 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3918 longer has a fragile arg, as it is stored in runparams.fragile.
3920 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3921 moving_arg parameter as the data is stored in runparams.fragile.
3923 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3924 a fragile parameter as the data is stored in runparams.fragile.
3926 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3928 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3930 2003-05-22 Angus Leeming <leeming@lyx.org>
3932 * latexrunparams.h: add a 'bool nice' which defaults to false.
3934 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3935 now encapsulated within runparams.
3937 * bufferlist.C (updateIncludedTeXfiles):
3938 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3940 2003-05-22 Angus Leeming <leeming@lyx.org>
3942 * latexrunparams.h: new file containing struct LatexRunParams.
3943 * Makefile.am: add new file.
3945 * LaTeX.[Ch] (c-tor, run):
3946 * buffer.[Ch] (makeLaTeXFile):
3947 * bufferlist.[Ch] (updateIncludedTeXfiles):
3948 * converter.C (convert, scanLog):
3949 * converter.[Ch] (runLaTeX):
3950 * exporter.C (Export):
3951 * paragraph.[Ch] (simpleTeXOnePar):
3952 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3953 * paragraph_funcs.[Ch] (latexParagraphs):
3954 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3955 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3956 pass around a LatexRunParams parameter.
3958 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3960 * paragraph.[Ch]: remove unused constructor
3962 * ParagraphList.C (erase): new function, taking two iterators
3964 2003-05-22 André Pönitz <poenitz@gmx.net>
3966 * undo_funcs.C: remove duplicated code
3968 * iterator.[Ch]: operator=
3970 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3972 * tabular.C (SetMultiColumn): ws changes
3974 * rowpainter.C (paintFirst): get rid of a ->previous
3976 * lyx_cb.C (getPossibleLabel): parlist simplification
3978 * BufferView.C (ChangeInsets): simplify slightly.
3980 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3982 * LyXAction.C: new lfun space-insert, kill protected-space-insert
3983 * lfuns.h: new LFUN_SPACE
3984 * lyxfunc.C: protected space has a new lfun
3985 * paragraph_funcs.C: read new space insets
3987 * factory.C: handle new space insets
3989 2003-05-22 André Pönitz <poenitz@gmx.net>
3992 * BufferView_pimpl.C:
3995 * undo_funcs.C: return a ParIterator from getParFromID.
3997 * iterators.[Ch]: add two const's
3999 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4001 * toc.C (getTocList): adjust
4003 * iterators.[Ch]: rework for parlist
4005 * buffer.C (par_iterator_begin): adjust
4006 (par_iterator_end): adjust
4008 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4010 * BufferView.C (removeAutoInsets): adjust
4011 (ChangeInsets): adjust
4013 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
4015 * text.C (top_y): fix bug 1110
4017 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
4019 * errorlist.[Ch]: added
4022 * BufferView_pimpl.C:
4023 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4026 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4028 * Makefile.am: ensure that lyx is relinked upon changes to the
4029 various "convenience" libs.
4031 2003-05-20 Angus Leeming <leeming@lyx.org>
4033 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4034 files are compiled in alphabetical order again.
4036 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4038 2003-05-19 Angus Leeming <leeming@lyx.org>
4040 * gettext.[Ch]: remove "char const * _(char const *)".
4042 2003-05-19 André Pönitz <poenitz@gmx.net>
4044 * dimension.[Ch]: promote from mathed/dimension.[Ch]
4053 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4055 2003-05-19 André Pönitz <poenitz@gmx.net>
4059 * lyxtextclass.[Ch]:
4061 * paragraph_funcs.[Ch]:
4063 * text3.C: more insetenv work
4065 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
4067 * ParagraphParameters.C (params2string): small bug fixed
4069 2003-05-16 André Pönitz <poenitz@gmx.net>
4072 * bufferview_funcs.C: patch from Kornel Benko to prevent
4073 crash when _(...) is called twice in a statement
4075 2003-05-16 André Pönitz <poenitz@gmx.net>
4082 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4084 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
4086 * lyx_main.C (init): remove spurious static_cast
4088 2003-05-14 André Pönitz <poenitz@gmx.net>
4090 * BufferView.C: fix format string
4092 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
4094 * BufferView.[Ch] (insertErrors): removed
4095 * BufferView.[Ch] (showErrorList): added
4096 * buffer.C (runChkTeX):
4097 * converter.C (scanLog): call showErrorList instead of inserterrors
4099 2003-05-13 André Pönitz <poenitz@gmx.net>
4101 * BufferView_pimpl.C:
4103 * bufferview_func.C:
4110 * tabular_funcs.h: tostr() from its own header
4112 * ParagraphParameters.C:
4117 * text3.C: STRCONV()
4119 2003-05-12 André Pönitz <poenitz@gmx.net>
4122 * BufferView_pimpl.C:
4126 * ParagraphParameters.C:
4130 * bufferview_funcs.C:
4143 * paragraph_funcs.C:
4147 * text3.C: boost::format -> bformat all over the place
4150 2003-05-09 André Pönitz <poenitz@gmx.net>
4152 * LColor.[Ch]: Pimpl the #include <map> away
4154 2003-05-09 John Levon <levon@movementarian.org>
4156 * bufferlist.C: never remove emergency saves
4158 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4160 * Makefile.am: better lib building
4162 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4164 * texrow.[Ch]: remove dependency on Paragraph and just store a id
4166 * paragraph_pimpl.C (simpleTeXBlanks): adjust
4167 (simpleTeXSpecialChars): adjust
4168 (simpleTeXSpecialChars): adjust
4169 * paragraph.C (simpleTeXOnePar): adjust
4170 * buffer.C (makeLaTeXFile): adjust
4172 * Makefile.am (BOOST_LIBS): allow boost as system lib.
4174 * text2.C (changeDepth): parlist cleanup
4175 (getColumnNearX): ditto
4177 * rowpainter.C (getLabelFont): parlist cleanup
4179 * bufferlist.C (newFile): parlist cleanup
4181 * CutAndPaste.C (eraseSelection): parlist cleanup
4183 * BufferView_pimpl.C (trackChanges): parlist cleanup
4186 * BufferView.C (lockInset): parlist cleanup.
4187 (ChangeInsets): ditto
4189 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4191 * CutAndPaste.h: Update file header.
4193 * CutAndPaste.C: Update file header.
4194 Store the parts cut out of the Document in a limited_stack.
4195 (copySelection): adjust
4196 (pasteSelection): new function, takes the index in the limited stack.
4197 (nrOfParagraphs): adjust
4198 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4199 simplify error inset insertion.
4200 (checkPastePossible): adjust
4202 2003-05-06 John Levon <levon@movementarian.org>
4204 * text2.C: don't cast wrap inset to float
4206 2003-05-05 André Pönitz <poenitz@gmx.net>
4209 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4211 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4212 few naked Paragraph *.
4214 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
4216 * bufferparams.C: Output warning if a document with missing
4217 TeX document class is loaded
4218 * exporter.C: Disable TeX exports if the document class is missing
4221 * lyxtextclasslist.C: Handle new textclass.lst format; new method
4222 isTeXClassAvailable()
4224 2003-05-03 John Levon <levon@movementarian.org>
4227 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4228 explicit cursor show/hide
4230 * BufferView_pimpl.h:
4231 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4232 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4234 * lyxfunc.C: hide cursor before dispatching.
4239 * text3.C: remove explicit cursor hides
4241 2003-05-02 André Pönitz <poenitz@gmx.net>
4243 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4246 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4249 * text2.C: tiny whitespace
4251 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4253 * undo_funcs.C: almost only ws changes.
4255 * ParagraphList.C (splice): just return if pl is empty.
4257 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4259 * ParagraphList.C (splice): new function.
4261 * CutAndPaste.C (pasteSelection): use it
4263 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4265 * CutAndPaste.C (pasteSelection): remove the last next and
4266 previous from this file.
4268 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4270 * CutAndPaste.C (pasteSelection): more clean up, user proper
4271 ParagraphList functions for pasteing.
4273 * ParagraphList.C (insert): new function, three arg insert
4275 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4277 * ParagraphList.C (insert): new function, three arg insert
4279 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4282 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4284 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4286 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4288 * CutAndPaste.C (pasteSelection): remove some unneeded code.
4290 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4292 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4293 (copySelection): clean up a bit.
4294 (pasteSelection): use make_pair
4296 * ParagraphList.C (ParagraphList): implement copy constructor
4297 (operator=): implement, base on copy constructor.
4300 * paragraph.C (erase): return a bool
4302 * paragraph_pimpl.C (erasePos): remove function, move contents...
4303 (erase): ... here. Return a bool.
4304 (erase): call erase instead of erasePos.
4306 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
4308 * ParagraphList.h: define PitPosPair
4309 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4310 ParagraphList, fix a bug on pasting multiple pars
4311 * text2.C: change interface to C&P
4313 2003-04-30 André Pönitz <poenitz@gmx.net>
4315 * undo_func.C: revert part of yesterday's patch 2
4317 2003-04-30 John Levon <levon@movementarian.org>
4319 * LColor.C: s/tabular/table/
4321 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4323 * text3.C (dispatch): do not convert iterator -> pointer
4324 * undo_funcs.C (setCursorParUndo): ditto
4325 * text_funcs.C (transposeChars): ditto
4327 * text2.C (setLayout): ws changes only
4329 * text.C (breakParagraph): do not convert iterator -> pointer
4331 (acceptChange): ditto
4332 (rejectChange): ditto
4337 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4340 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4342 * text3.C (gotoInset): YABG (yet another bad getChar)
4344 2003-04-29 André Pönitz <poenitz@gmx.net>
4346 * paragraph.h: make operator= private unimplemented as long as
4349 * ParagraphList.C: whitespace
4352 * paragraph_pimpl.[Ch]:
4353 * paragraph_funcs.C:
4355 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
4358 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4360 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4362 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4363 * paragraph.[Ch] (erase):
4364 * paragraph_pimpl.[Ch] (erase): change return type and value
4365 * text2.C (cutSelection): some rework
4367 2003-04-28 John Levon <levon@movementarian.org>
4369 * bufferlist.C: changes for unsaved changes dialog
4371 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4373 * bufferlist.C (newFile): set language (messages_) for new
4376 * buffer.C (readFile): ws changes only.
4378 2003-04-28 André Pönitz <poenitz@gmx.net>
4383 * BufferView_pimpl.C:
4384 * BufferView.C: getParFromID related ParagraphList::iterator changes
4386 2003-04-28 André Pönitz <poenitz@gmx.net>
4388 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4391 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4393 * messages.C: remove one more localedir class variable.
4395 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4397 * messages.C (getLocaleDir): singleton generation function
4399 (Messages): add a default constructor.
4401 * main.C (main): do not setup localedir here, do not call
4404 * gettext.C (_): use it.
4405 (gettext_init): delete funciton
4407 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4409 * gettext.C (getLyXMessages): new singleton generating function.
4411 * buffer.C (updateDocLang): adjust
4413 * Makefile.am (messages.o): add target
4414 (main.o): remove target
4416 2003-04-27 John Levon <levon@movementarian.org>
4421 * lyxvc.C: specify cancel button in Alert::prompt
4423 2003-04-26 John Levon <levon@movementarian.org>
4428 * LyXAction.C: add LFUN_INSET_SETTINGS
4430 * lyxfunc.C: don't enable tabular-feature when there's
4431 just any locking inset
4433 2003-04-26 John Levon <levon@movementarian.org>
4435 * bufferlist.C: re-add Cancel to buffer close question
4437 * lyxfunc.C: fix import UI a bit
4439 2003-04-25 John Levon <levon@movementarian.org>
4441 * gettext.C: remove the broken asserts for now
4443 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4445 * messages.C: make case where setlocale cannot comply work better.
4447 * buffer.C (updateDocLang): new function
4448 (changeLanguage): use it
4451 * text2.C (setCounter): use B_ a bit.
4453 * lyxlayout.C (Read): be sure to trim the label strings.
4455 * messages.C (Messages): fix typo in comment
4457 * buffer.C (readFile): set message_ after file is loaded.
4458 (makeDocBookFile): remove double return
4459 (changeLanguage): reset message_ upon language change.
4460 (B_): new func, use this to get translated buffer strings.
4462 * main.C: add myself and Jean Marc as authors.
4464 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4466 * messages.[hC]: pimplify Messages, and three different pimpls to be
4467 used in different circumstances.
4469 * gettext.[Ch]: change for use with new message code.
4471 2003-04-24 André Pönitz <poenitz@gmx.net>
4473 * factory.C: support for eqref
4475 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4477 * messages.[Ch]: add missing char
4479 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4481 * messages.[Ch]: New files
4483 2003-04-18 John Levon <levon@movementarian.org>
4487 * BufferView_pimpl.C:
4491 * text2.C: remove layout-copy/paste (bug 778)
4493 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4495 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4497 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4499 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4500 if they succeed. Act accordingly.
4502 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4504 * text2.C (setCharFont): adjust
4505 (setCounter): adjust
4506 (insertStringAsLines): adjust
4508 * text.C (leftMargin): adjust
4509 (setHeightOfRow): adjust
4511 * rowpainter.C (paintFirst): adjust
4514 * paragraph_funcs.C (depthHook): ParagraphList::iterators
4516 (isFirstInSequence): ditto
4517 (getEndLabel): ditto
4520 * paragraph.C (getParLanguage): comment out some hard stuff.
4522 * buffer.C (insertStringAsLines): take a ParagraphList as arg
4524 (simpleDocBookOnePar): ditto
4525 (makeDocBookFile): use ParagraphList::iterator
4527 * CutAndPaste.C (pasteSelection): adjust
4529 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4531 * text2.C (getFont): adjust
4532 (getLayoutFont): adjust
4533 (getLabelFont): adjust
4535 * paragraph_funcs.C (TeXOnePar): adjust
4537 * buffer.C (simpleLinuxDocOnePar): adjust
4538 (simpleDocBookOnePar): adjust
4540 * CutAndPaste.C (pasteSelection): adjust
4542 * BufferView.C (getEncoding): adjust
4544 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4546 2003-04-16 John Levon <levon@movementarian.org>
4548 * lyxfind.C: use parlist stuff for search/changes
4550 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4552 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4554 * text2.C (deleteEmptyParagraphMechanism): adjust
4556 * text2.[Ch] (ownerParagraph): delete func (both of them
4558 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4560 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4562 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4564 * ParagraphList.C: prepare for NO_NEXT
4566 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4568 * text2.C (getFont): adjust
4569 (getLayoutFont): adjust
4570 (getLabelFont): adjust
4572 * paragraph.C (getFont): adjust
4573 (getLabelFont): adjust
4574 (getLayoutFont): adjust
4576 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4578 2003-04-15 John Levon <levon@movementarian.org>
4582 * lyx_main.C: handle Include in .ui files
4584 2003-04-15 John Levon <levon@movementarian.org>
4586 * MenuBackend.C: make the doc files length shorter
4589 * ToolbarBackend.C: handle toolbar placement flags,
4592 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4594 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4597 * paragraph_funcs.C (TeXOnePar): adjust
4599 * paragraph.C (getLabelFont): add outerfont arg, adjust
4600 (getLayoutFont): ditto
4601 (simpleTeXOnePar): adjust
4603 * paragraph_pimpl.C (realizeFont): delete func
4605 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
4607 * text2.C (beforeFullRowInset): added a bad getchar check, removed
4608 row argument, constify cur argument.
4610 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4612 * text2.C (getFont): adjust
4613 (getLayoutFont): adjust
4614 (getLabelFont): adjust
4616 * paragraph_funcs.C (TeXOnePar): adjust
4617 (outerFont): new func...
4618 (realizeFont): ...moved out from here, changed this to facilitate
4621 * paragraph.C (getFont): take outerfont as arg, adjust
4622 (simpleTeXOnePar): add outerfont arg, adjust
4624 * buffer.C (simpleLinuxDocOnePar): adjust
4625 (simpleDocBookOnePar): adjust
4627 * CutAndPaste.C (pasteSelection): adjust
4629 * BufferView.C (getEncoding): adjust
4631 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4633 * text2.C (setCharFont): adjust
4634 (setCounter): adjust
4636 * text.C (leftMargin): adjust
4637 (setHeightOfRow): adjust
4639 * rowpainter.C (paintFirst): adjust
4642 * paragraph_pimpl.C (realizeFont): adjust
4644 * paragraph.C (isFirstInSequence): move from here...
4645 * paragraph_funcs.C (isFirstInSequence): ...to here
4647 * paragraph.C (outerHook): move from here...
4648 * paragraph_funcs.C (outerHook): ...to here
4650 * paragraph.C (depthHook): move from here...
4651 * paragraph_funcs.C (depthHook): ...to here
4653 * paragraph.C (getEndLabel): move from here...
4654 * paragraph_funcs.C (getEndLabel): ...to here
4656 * text2.C (realizeFont): move from here...
4657 * paragraph_funcs.C (realizeFont): ...to here
4659 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4661 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4663 2003-04-14 Angus Leeming <leeming@lyx.org>
4665 * LColor.[Ch]: scrap LColor mathcursor.
4667 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4669 * lyxlex.[Ch] (text): delete function
4670 * trans.C (Load): adjust
4671 * paragraph_funcs.C (readParToken): adjust
4673 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4675 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4676 vector<char> instead of a char[].
4678 * lyxlex_pimpl.C (getString): adjust
4680 (lex): use getString
4684 * lyxlex.C (text): use pimpl_->getString()
4688 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4690 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4691 (makeFontEntriesLayoutSpecific): temp var for par.size()
4692 (setLayout): temp var for ownerParagraphs().end()
4693 (fullRebreak): temp var for rows().end()
4694 (selectionAsString): temp var for boost::next(startpit), realize
4695 that the while really is a regular for loop.
4696 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4697 setCursor in one place.
4698 (setParagraph): temp vr for ownerParagraphs().end()
4699 (updateCounters): make the while loop a for loop
4700 (cutSelection): temp var for ownerParagraphs().end()
4701 (updateInset): make the do {} while() a regular for loop
4702 (getCursorX): use temp vars
4703 (setCurrentFont): use temp vars
4704 (getColumnNearX): use temp vars
4706 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4708 * text.C (transformChar): use temp var for getChar
4709 (computeBidiTables): use temp var for row->par()
4710 (fill): move temp vars for row->par() and pit->layout() earlier in
4712 (labelFill): use temp var for row->par()
4713 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4714 asc and desc, realize that pit never changes and that firstpit is
4715 just a duplicate and not needed. Exchange rit->par() with pit in a
4717 (breakAgain): use a temp var for boost::next(rit)
4718 (breakAgainOneRow): ditto
4719 (breakParagraph): use a temp var for rows().begin()
4720 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4721 (cursorRightOneWord): use temp var for cursor.par() and
4722 cursor.pos(), remove usage of tmpcursor.
4723 (cursorLeftOneWord): use temp var for cursor.par() and
4724 cursor.pos() only set cur at end of function.
4726 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4728 * text.C, text2.C: exchange all usage of Paragraph::next with
4729 boost::next(ParagraphList::iterator)
4731 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4733 * text2.C (cursorTop): simplify implementation
4734 (cursorBottom): ditto
4735 (setParagraph): use ParagraphList::iterator
4736 (setCurrentFont): adjust
4737 (getColumnNearX): adjust
4738 (cursorRight): adjust
4739 (cursorLeft): remove usage of Paragraph::previous
4740 (cursorUpParagraph): ditto
4741 (deleteEmptyParagraphMechanism): slight cleanup
4743 * text.C (isBoundary): take a Paragraph const & instead of a
4745 (addressBreakPoint): ditto
4746 (leftMargin): remove usage of Paragraph::previous.
4747 (setHeightOfRow): ditto
4748 (cursorLeftOneWord): ditto
4749 (selectNextWordToSpellcheck): ditto
4752 (breakParagraph): remove one usage of Paragraph::next
4753 (redoParagraph): ditto
4754 (acceptChange): ditto
4755 (insertChar): adjust
4756 (rowBreakPoint): adjust
4758 * bufferview_funcs.C (toggleAndShow): adjust
4760 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
4762 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4763 methods to access it.
4765 * text.C: Added updateRowPositions to compute all row positions.
4766 Make top_y and getRowNearY() to use the cached y position
4768 2003-04-11 John Levon <levon@movementarian.org>
4770 * text.C (rowBreakPoint): reintroduce the labelEnd
4771 checks, code copied from the row fill stuff. Deep voodoo.
4773 * text.C (fill): add a comment and debugging for the
4776 2003-04-11 John Levon <levon@movementarian.org>
4778 * text.C: make sure fullrow insets get wrapped to the next line,
4779 even when they're in a manual label
4781 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4783 * text2.C (insertParagraph): make it take ParagraphList::iterator
4785 (setLayout): make it return ParagraphList::iterator
4786 (redoParagraphs): ditto
4788 (checkParagraph): ditto
4790 * text.C (getRow): make getrow take ParagraphList::iterator as arg
4792 * text2.C: adjust several funcs.
4793 (realizeFont): take a ParagraphList::iterator as arg.
4794 (getLayoutFont): ditto
4795 (getLabelFont): ditto
4796 (setCharFont): ditto
4798 * text.C: adjust several funcs.
4800 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4802 * text.C (selectNextWordToSpellcheck): don't accidentally
4805 2003-04-10 John Levon <levon@movementarian.org>
4807 * ToolbarBackend.C (getIcon): special handling for
4810 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4812 * text2.C (cursorRight): a getChar assert fixed
4814 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4816 * text2.C (getFont): change to take a ParagraphList::iterator
4817 instead of Paragraph*
4818 Adjust several functions.
4820 * text.C (transformChar): change to take a ParagraphList::iterator
4821 instead of Paragraph*
4822 (singleWidth): ditto
4823 Adjust several functions.
4825 * rowpainter.C: adjust several functions
4826 * rowpainter.h:store a ParagraphList::iterator and not a
4830 2003-04-09 John Levon <levon@movementarian.org>
4835 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4836 and the "help" bits as well
4838 2003-04-09 John Levon <levon@movementarian.org>
4841 * ToolbarBackend.C: allow multiple toolbars
4843 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4845 * undo_funcs.C (setCursorParUndo): adjust
4847 * text_funcs.C (transposeChars): adjust
4849 * text3.C (gotoNextInset): adjust
4852 * text2.C (setLayout): adjust
4853 (changeDepth): adjust
4855 (redoParagraphs): adjust
4856 (selectionAsString): adjust
4857 (setParagraph): adjust
4858 (insertInset): adjust
4859 (cutSelection): adjust
4860 (copySelection): adjust
4861 (pasteSelection): adjust
4862 (insertStringAsLines): adjust
4863 (updateInset): adjust
4864 (setCursor): change to take a ParagraphList::iterator parameter
4865 (setCursorIntern): change to take a ParagraphList::iterator parameter
4866 (setCurrentFont): adjust
4867 (cursorLeft): adjust
4868 (cursorRight): adjust
4869 (deleteEmptyParagraphMechanism): adjust
4871 * text.C (breakParagraph): adjust
4872 (insertChar): adjust
4873 (acceptChange): adjust
4874 (rejectChange): adjust
4875 (selectNextWordToSpellcheck): adjust
4876 (changeCase): adjust
4880 * lyxfind.C (SearchForward): adjust
4881 (SearchBackward): adjust
4882 (nextChange): adjust
4884 * lyxcursor.C (par): adjust
4886 * lyxcursor.h: store a ParagraphList::iterator instead of a
4889 * lyx_cb.C (getPossibleLabel): adjust
4891 * bufferview_funcs.C (toggleAndShow): adjust
4893 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4896 * BufferView.C (removeAutoInsets): adjust
4897 (lockedInsetStoreUndo): adjust
4899 2003-04-09 John Levon <levon@movementarian.org>
4901 * ToolbarBackend.C: try icon without argument
4902 if with argument fails
4904 2003-04-08 John Levon <levon@movementarian.org>
4907 * ToolbarBackend.C: add getIcon(), handle tooltip,
4908 and change from "Icon" to "Item".
4910 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4912 * BufferView.C (lockInset): another bad getchar crunched
4914 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4916 * text2.C (changeDepth): do not setUndo on test_only (make undo work
4919 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
4921 * lyxfind.C (searchForward, searchBackwards): bug 782
4923 2003-04-07 John Levon <levon@movementarian.org>
4925 * paragraph.C: remove dead comment
4927 * text.C: remove troublesome depth-fiddling code
4928 in leftMargin() and rightMargin() (bug 1017)
4930 * text.C: fix breaking of rows in nested lists
4933 * text2.C (updateCounters): fix up depth values
4936 2003-04-07 John Levon <levon@movementarian.org>
4938 * BufferView_pimpl.C: clear message when doc finishes resizing,
4939 and after a mouse event
4941 * lyxfunc.C: clear message after exiting inset
4943 2003-04-07 John Levon <levon@movementarian.org>
4945 * bufferview_funcs.C: show math status not outside
4946 status in the statusbar
4948 2003-04-07 John Levon <levon@movementarian.org>
4950 * lyxfunc.C: note status changed after a depth change
4952 2003-04-04 Angus Leeming <leeming@lyx.org>
4954 * LaTeX.h: move AuxInfo operator==, != out of line.
4955 Remove LaTeX virtual destructor; nothing derives from it.
4956 Move operator()() out of public area and rename it startscript().
4957 Change protected for private.
4959 2003-04-04 Angus Leeming <leeming@lyx.org>
4962 * text2.C: remove unneeded #includes.
4964 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4966 * text2.C (dEPM): fix the heigth of the next row
4968 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4970 * text.C: squashed an invalid getChar requester + some ws changes
4972 2003-04-03 John Levon <levon@movementarian.org>
4974 * bufferview_funcs.h:
4975 * bufferview_funcs.C:
4978 * text2.C: make getStatus work for the env depth lfuns
4980 2003-04-03 John Levon <levon@movementarian.org>
4982 * bufferview_funcs.h:
4983 * bufferview_funcs.C:
4986 * text2.C: parlistize decDepth(), by merging it with incDepth()
4988 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4990 * lyxrow.h: store a ParagraphList::iterator instead of a
4991 Paragraph* and adjust other class functions to suit.
4993 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4996 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4998 * text2.C (setCursor): do not anchor to cursor row for the time being
5000 2003-04-02 John Levon <levon@movementarian.org>
5007 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5009 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5011 * paragraph.h: make ParagraphList and ParagraphList::iterator
5012 friends of Paragraph.
5014 * buffer.C (makeLinuxDocFile): move towards ParagraphList
5016 * ParagraphList.C: Use the private next_ and previous_ from
5019 2003-04-01 John Levon <levon@movementarian.org>
5023 * Makefile.am: rename, remove defaults gunk
5026 * MenuBackend.C: remove defaults gunk
5029 * Languages.C: remove defaults gunk
5032 * lyx_main.C: error out if files couldn't be found.
5034 2003-04-02 John Levon <levon@movementarian.org>
5036 * text2.C: make incDepth() use parlist
5038 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5040 * undo_funcs.C (firstUndoParagraph): adjust
5042 * text3.C (gotoInset): adjust
5043 (dispatch): adjust, and rewrite loop.
5045 * text2.C (init): adjust, and rewrite loop.
5046 (redoParagraphs): adjust
5047 (updateInset): adjust, and rewrite loop.
5048 (deleteEmptyParagraphMechanism): adjust
5050 * tabular.C (LyXTabular): adjust
5051 (SetMultiColumn): adjust
5054 * lyxtext.[Ch] (ownerParagraph): delete function
5055 (ownerParagraphs): new function returns a ParagraphList.
5057 * BufferView.C (removeAutoInsets): adjust
5058 (insertErrors): adjust
5059 (setCursorFromRow): adjust
5061 2003-04-01 Angus Leeming <leeming@lyx.org>
5063 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5066 2003-04-02 John Levon <levon@movementarian.org>
5072 * text_funcs.C: make transposeChars a free function
5074 * lyxrow_funcs.C: remove wrong comment
5076 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5079 * rowpainter.C: adjust
5084 * lyxrow_funcs. [Ch]: new files
5086 * lyxrow.[Ch]: remove next and previous pointers
5087 (next,previous): remove accessor functions
5088 (isParEnd): move to lyxrow_funcs
5089 (lastPos): move to lyxrow_funcs
5090 (nextRowIsAllInset): move to lyxrow_funcs
5091 (lastPrintablePos): move to lyxrow_funcs
5092 (numberOfSeparators): move to lyxrow_funcs
5093 (numberOfHfills): move to lyxrow_funcs
5094 (numberOfLabelHfills): move to lyxrow_funcs
5095 (hfillExpansion): move to lyxrow_funcs
5099 * bufferview_funcs.C (toggleAndShow): adjust
5101 * RowList.h: Remove class RowList from file leave just a
5104 * RowList.C: delete file
5106 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5109 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5111 * text3.C (cursorPrevious): adjust
5112 (cursorNext): adjust
5115 * text2.C (redoHeightOfParagraph): adjust
5116 (redoDrawingOfParagraph): adjust
5119 * text.C (breakParagraph): adjust
5120 (insertChar): adjust
5123 * rowpainter.C (RowPainter): adjust
5124 (leftMargin): simplify and adjust
5125 (most rowpainter functions): adjust.
5127 * rowpainter.h: store the row as RowList::iterator not as Row*
5129 * lyxcursor.C (row): taka RowList::iterator as arg
5132 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5135 2003-04-01 Angus Leeming <leeming@lyx.org>
5137 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5138 stuff like bool Bool.
5140 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5142 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5145 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5147 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5150 * lyxtext.h (rows): drop one version and leve a const variant that
5151 returns a RowList::iterator.
5153 2003-03-31 Angus Leeming <leeming@lyx.org>
5155 * text.C (fill): ensure that the signature is the same as that in the
5158 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
5160 * text2.C (redoParagraphs): adjust
5161 (updateCounters): adjust
5162 (checkParagraph): adjust
5163 (getColumnNearX): adjust and reformat a bit.
5165 * text.C (top_y): adjust
5167 (leftMargin): adjust
5168 (prepareToPrint): adjust
5170 (getRowNearY): adjust
5172 * lyxtext.h: make rowlist_ mutable.
5174 * RowList.h: add const_iterator
5175 * RowList.C: adjust for RowList::const_iterator.
5177 * text2.C (getCursorX): make it take a RowList::iterator as arg,
5180 2003-03-31 John Levon <levon@movementarian.org>
5183 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5185 * lyx_main.C: set default fonts from using lyx_gui funcs
5187 * exporter.C: pdf_mode moved from lyxrc
5190 * lyxfunc.C: changes from above
5192 2003-03-31 John Levon <levon@movementarian.org>
5194 * lyx_main.C: fix to the last fix
5196 2003-03-31 John Levon <levon@movementarian.org>
5198 * bufferlist.C: "Load original" -> "Load Original"
5204 * format.C: more Alert cleanups
5206 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5208 * text2.C (removeParagraph): make it take a RowList::iterator as
5210 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5211 (postRowPaint): make it take a RowList::iterator as arg, adjust.
5213 * text.C (anchor_row): make it take a RowList::iterator as arg,
5215 (computeBidiTables): make it take a const reference to Row instead
5216 of Row pointer, adjust.
5217 (leftMargin): make it take a RowList::iterator as arg, adjust.
5218 (rowBreakPoint): adjust
5219 (breakAgainOneRow): make it take a RowList::iterator as arg,
5221 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5223 * bufferview_funcs.C (toggleAndShow): adjust
5225 2003-03-30 John Levon <levon@movementarian.org>
5229 * boost-inst.C: moved to support
5231 * several files: changes as a result
5233 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5235 * text2.C (LyXText): adjust.
5237 (removeRow): make it take a RowList::iterator as arg, adjust.
5238 (fullRebreak): adjust
5239 (deleteEmptyParagraphMechanism): adjust
5240 (clearPaint): adjust
5243 * text.C (top_y): adjust
5244 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5245 (breakAgain): make it take a RowList::iterator as arg, adjust.
5246 (breakParagraph): adjust
5247 (insertChar): adjust
5250 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5251 need_break_row, and refresh_row.
5253 * text3.C (dispatch): adjust
5255 * text2.C (checkParagraph): adjust
5257 (setCursorFromCoordinates): adjust
5259 * text.C (top_y): adjust
5261 (getRow): make it return a RowList::iterator, adjust
5262 (getRowNearY): make it return a RowList::iterator, adjust
5264 * text2.C (init): adjust
5265 (insertRow): remove function
5266 (insertParagraph): adjust
5267 (redoParagraphs): adjust
5268 (fullRebreak): adjust
5269 (updateCounters): adjust
5271 * text.C (top_y): rewrite to use RowList iterators.
5273 (setHeightOfRow): rewrite to sue RowList iterators.
5274 (appendParagraph): adjust
5275 (breakAgain): adjust
5276 (breakAgainOneRow): adjust
5277 (breakParagraph): adjust
5279 (getRowNearY): adjust, and remove commented code.
5281 * lyxtext.h (firstRow): delete function
5282 (lastRow): delete function
5283 (rows): new function (const and non-const versions.)
5284 (insertRow): delete function
5286 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5288 2003-03-29 John Levon <levon@movementarian.org>
5290 * BufferView_pimpl.C: always update scrollbar top
5291 because pasting text when we're anchored could mean we
5292 miss an update altogether
5294 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5296 * text2.C (init): use rowlist_.end() and not 0.
5297 (insertRow): change to take a RowList::iterator as arg, adjust
5299 (insertParagraph): change to take a RowList::iterator as arg,
5301 (redoParagraphs): remove some debug msgs.
5303 * text.C (appendParagraph): change to take a RowList::iterator
5304 arg, adjust for this.
5305 (breakAgain): add an assert
5306 (breakAgainOneRow): ditto
5308 2003-03-29 John Levon <levon@movementarian.org>
5310 * text2.C: do not clear selection after inc/decDepth
5313 2003-03-29 John Levon <levon@movementarian.org>
5316 * buffer.C: fix broken strerrors according to Lars
5318 2003-03-29 John Levon <levon@movementarian.org>
5320 * converters.C: more Alert cleanups
5322 2003-03-29 John Levon <levon@movementarian.org>
5324 * bufferview_funcs.C: remove pointless Alert
5326 * buffer.C: fix confusing error message when
5327 a template is chmoded 000
5329 2003-03-29 John Levon <levon@movementarian.org>
5333 * BufferView_pimpl.C: Alert fixes
5337 * tabular-old.C: remove unused table compat reading
5339 2003-03-29 John Levon <levon@movementarian.org>
5344 * lyx_cb.C: more Alert cleanups
5346 * lyxfunc.C: don't allow chktex if not latex document
5348 2003-03-29 John Levon <levon@movementarian.org>
5352 * buffer.C: warnings pushed down from support/,
5355 2003-03-29 John Levon <levon@movementarian.org>
5357 * lyxfunc.C: safety check for C-r (revert)
5359 2003-03-29 John Levon <levon@movementarian.org>
5362 * bufferlist.C: several UI fixes using Alert::prompt.
5363 Fix the pointless looping quit code. Fix stupid revert
5368 * lyx_cb.C: use Alert::prompt
5370 * lyx_main.C: remove a silly question
5372 * lyxfunc.C: remove a couple of silly questions,
5375 2003-03-28 John Levon <levon@movementarian.org>
5377 * text2.C: fix bug 974 (End on empty par)
5379 2003-03-28 John Levon <levon@movementarian.org>
5381 * BufferView_pimpl.C:
5383 * lfuns.h: remove do-nothing math greek lfuns
5385 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5387 * lyxgluelength.h (isValidGlueLength): add default arg on
5388 parameter 2. Remove default arg from friend in class.
5390 * lyxlength.h (isValidLength): add default arg on parameter 2.
5391 Remove default arg from friend in class.
5393 * text2.C (LyXText): adjust, initialize refresh_row.
5397 (insertParagraph): adjst
5398 (redoParagraphs): adjust
5399 (fullRebreak): adjust
5400 (updateCounters): adjust
5401 (deleteEmptyParagraphMechanism): first attempt at fixing a
5404 * text.C (top_y): adjust
5405 (setHeightOfRow): adjust
5407 (getRowNearY): adjust
5409 * lyxtext.h: include RowList.h
5410 (~LyXText): not needed anymore, deleted.
5411 (firstRow): modify for RowList
5412 (lastRow): new function
5413 Delete firstrow and lastrow class variables, add a Rowlist
5414 rowlist_ class variable.
5416 * lyxrow.C (lastPos): use empty() and not !size() to check if a
5419 * RowList.C (insert): fix case where it == begin().
5421 2003-03-26 Angus Leeming <leeming@lyx.org>
5423 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5424 the thesaurus dialog.
5426 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5428 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5430 * RowList.[Ch]: new files
5432 * ParagraphList.C (erase): handle the case where it == begin
5435 2003-03-25 John Levon <levon@movementarian.org>
5439 * aspell.C: add new aspell support
5442 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5445 2003-03-25 Angus Leeming <leeming@lyx.org>
5448 * LyXAction.C (init): new LFUN_INSET_INSERT.
5450 * BufferView_pimpl.C (dispatch): split out part of the
5451 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5453 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5456 2003-03-25 Angus Leeming <leeming@lyx.org>
5458 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5460 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5463 * text3.C: remove useless row->height(0)
5465 2003-03-25 John Levon <levon@movementarian.org>
5469 * text3.C: rename the refreshing stuff to better names
5471 2003-03-24 John Levon <levon@movementarian.org>
5473 * BufferView_pimpl.h:
5474 * BufferView_pimpl.C: update layout choice on a mouse
5477 2003-03-23 John Levon <levon@movementarian.org>
5479 * Makefile.am: fix commandtags.h reference
5481 2003-03-22 John Levon <levon@movementarian.org>
5483 * BufferView_pimpl.C:
5488 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5490 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5493 * text.C: take the rtl methods out of line
5495 2003-03-21 André Pönitz <poenitz@gmx.net>
5497 * metricsinfo.[Ch]: new files containing structures to be passed around
5498 during the two-phase-drawing...
5500 2003-03-21 André Pönitz <poenitz@gmx.net>
5502 * lyxtextclass.C: read 'environment' tag.
5504 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5506 * text2.C (removeRow): fix bug 964
5508 2003-03-20 John Levon <levon@movementarian.org>
5512 * text2.C: paint cleanups. Inset::update() dropped font
5515 2003-03-19 John Levon <levon@movementarian.org>
5517 * lyxfunc.C: only fitcursor/markDirty if available()
5519 2003-03-19 John Levon <levon@movementarian.org>
5521 * commandtags.h: rename to ...
5523 * lfuns.h: ... this, and renumber / cleanup
5525 2003-03-19 John Levon <levon@movementarian.org>
5527 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5528 fit the cursor after an lfun
5532 * BufferView_pimpl.h:
5533 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5535 * LyXAction.C: layout-character should have ReadOnly
5537 * ParagraphParameters.C:
5539 * bufferview_funcs.C:
5546 * undo_funcs.C: changes from above
5548 2003-03-18 John Levon <levon@movementarian.org>
5550 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5551 remove it from update()
5553 * lyxfunc.C: update layout choice after an lfun
5555 * text3.C: remove extra updateLayoutChoice()s
5557 2003-03-18 John Levon <levon@movementarian.org>
5559 * text.C: top_y change means full repaint, fix
5560 a drawing bug with cursor movement
5562 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5566 * text2.C: anchor row on setCursor
5568 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5570 * lyxtext.h: remove almost all mutable keywords
5573 * text3.C: remove const keywords accordingly
5575 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5577 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5579 (TeXEnvironment): ditto
5582 2003-03-17 John Levon <levon@movementarian.org>
5584 * text.C (rowBreakPoint): remove attempt to fix displayed
5585 math insets inside a manual label
5587 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5589 * lyxtext.h: remove BufferView* as first arg from almost all class
5591 * other files: adjust.
5593 2003-03-17 John Levon <levon@movementarian.org>
5597 * text2.C: more paint cleanups
5599 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5602 * rowpainter.C: remove "smart" background painting code
5604 2003-03-16 John Levon <levon@movementarian.org>
5609 * text3.C: add helper functions for setting refresh_row/y
5611 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
5613 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5614 newline inset which *can* get inserted in the pass_thru layouts.
5615 This is primarily for literate documents.
5617 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
5619 * buffer.C: increment LYX_FORMAT to 223
5621 2003-03-14 André Pönitz <poenitz@gmx.net>
5623 * textclass.h: prepare for environment handling, ws changes
5624 * lyxlayout.C: read latexheader and latexfooter tags
5626 2003-03-14 John Levon <levon@movementarian.org>
5628 * text2.C: rewrite ::status() a bit
5630 2003-03-13 John Levon <levon@movementarian.org>
5632 * lyxtext.h: add some docs
5634 2003-03-13 John Levon <levon@movementarian.org>
5639 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5641 2003-03-13 John Levon <levon@movementarian.org>
5643 * text3.C: fix appendix redrawing
5645 2003-03-13 John Levon <levon@movementarian.org>
5647 * text.C (setHeightOfRow):
5649 * rowpainter.C: make appendix mark have the text
5650 "Appendix" so the user knows what it is
5653 * LColor.C: s/appendixline/appendix/ from above
5655 2003-03-13 John Levon <levon@movementarian.org>
5657 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5659 * text.C: fix a getChar(pos) bug properly
5661 2003-03-13 Angus Leeming <leeming@lyx.org>
5664 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5665 Probably only temporary. Let's see how things pan out.
5667 * BufferView.C (unlockInset):
5668 * BufferView_pimpl.C (fitCursor):
5669 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5671 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5672 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5674 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5675 new functions that convert ParagraphParameters to and from a string.
5677 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5678 BufferView::Pimpl's dispatch.
5679 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5681 2003-03-13 André Pönitz <poenitz@gmx.net>
5685 * factory.C: make it aware of InsetEnv
5687 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5689 * text2.C (setCursor): never ask for one past last
5690 (setCursor): add some debugging messages.
5692 * text.C (singleWidth): never ask for one past last
5693 (singleWidth): ditto
5695 (rightMargin): ditto
5696 (rowBreakPoint): ditto
5697 (setHeightOfRow): ditto
5698 (prepareToPrint): ditto
5700 * rowpainter.C (paintBackground): never ask for one past last
5701 (paintText): never ask for one past last
5703 * paragraph_pimpl.C (getChar): make the assert stricter, never
5704 allow the one past last pos to be taken
5706 * paragraph.C (getChar): ws changes only
5708 * lyxrow.C (nextRowIsAllInset): never ask for one past last
5709 (numberOfSeparators): ditto
5710 (numberOfHfills): ditto
5712 2003-03-12 John Levon <levon@movementarian.org>
5718 * paragraph_funcs.C: fix per-buffer authorlists
5720 2003-03-12 John Levon <levon@movementarian.org>
5722 * text.C: fix newline in right address
5724 2003-03-12 Angus Leeming <leeming@lyx.org>
5726 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5727 duplicate those in LyXFunc::dispatch.
5731 * ToolbarDefaults.C:
5732 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5733 Add LFUN_FONTFREE_UPDATE.
5735 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5736 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5738 * bufferview_func.[Ch]: several new functions to facilliate
5739 transfer of data to and from the character dialog.
5741 2003-03-12 John Levon <levon@movementarian.org>
5746 * paragraph_funcs.C:
5747 * paragraph_pimpl.C:
5751 * text3.C: remove META_NEWLINE in favour of an inset
5754 * rowpainter.C: remove paintNewline (done by inset)
5756 2003-03-12 John Levon <levon@movementarian.org>
5758 * paragraph_pimpl.C: complain about bad getChar()s
5759 for a while at least
5761 2003-03-12 John Levon <levon@movementarian.org>
5764 * buffer.C: move paragraph read into a separate function,
5765 a little renaming to reflect that.
5768 * bufferparams.C: remove the author_ids map, not necessary now
5771 * factory.C: moved Buffer::readInset to here
5773 * paragraph_funcs.h:
5774 * paragraph_funcs.C: readParagraph free function moved from
5777 * tabular.C: name change
5779 2003-03-12 John Levon <levon@movementarian.org>
5782 * ParagraphParameters.C: move par params input to
5785 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5786 behave like a normal read from the stream wrt reading
5787 a line vs. a \\token
5789 2003-03-12 John Levon <levon@movementarian.org>
5792 * ParagraphParameters.h:
5793 * ParagraphParameters.C: move output code to a
5796 2003-03-12 John Levon <levon@movementarian.org>
5798 * BufferView.C (insertLyXFile):
5801 * tabular.C: use a parlist iterator for creating the
5804 2003-03-12 John Levon <levon@movementarian.org>
5806 * buffer.C: make current_change static local not
5809 2003-03-12 John Levon <levon@movementarian.org>
5811 * buffer.C: fix insertStringAsLines for change tracking
5813 2003-03-12 John Levon <levon@movementarian.org>
5820 * bufferparams.C: move author list into params. Rename some
5821 functions. Move the header reading into a separate token
5822 loop. Move the header token reading into BufferParams.
5824 2003-03-12 John Levon <levon@movementarian.org>
5826 * changes.C: put debug inside lyxerr.debugging() checks
5828 2003-03-11 André Pönitz <poenitz@gmx.net>
5830 * factory.C: make it aware of InsetHFill
5832 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5834 * buffer.C (latexParagraphs): move function from here...
5835 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5838 2003-03-10 Angus Leeming <leeming@lyx.org>
5840 * LyXAction.C (init): fix bug in poplating array with multiple entries
5841 with the same LFUN (spotted by JMarc).
5843 2003-03-10 John Levon <levon@movementarian.org>
5846 * text2.C: move getColumnNearX() near its
5849 2003-03-10 John Levon <levon@movementarian.org>
5851 * text.C: fix break before a minipage
5853 2003-03-10 John Levon <levon@movementarian.org>
5855 * text.C: fix the last commit
5857 2003-03-09 John Levon <levon@movementarian.org>
5861 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5862 bug 365 (don't break before insets unless needed). Don't
5863 return a value > last under any circumstances.
5865 2003-03-09 Angus Leeming <leeming@lyx.org>
5867 * BufferView_pimpl.C (trackChanges, dispatch): call
5868 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5870 2003-03-09 Angus Leeming <leeming@lyx.org>
5872 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5873 than Dialogs::showAboutlyx().
5875 2003-03-09 Angus Leeming <leeming@lyx.org>
5877 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5878 than Dialogs::showTabularCreate().
5880 2003-03-09 John Levon <levon@movementarian.org>
5884 * text2.C: 3rd arg to nextBreakPoint was always the same.
5887 2003-03-08 John Levon <levon@movementarian.org>
5894 * text2.C: Remove the "main" bit from the "main body"
5897 2003-03-08 John Levon <levon@movementarian.org>
5899 * text.C (leftMargin): The left margin of an empty
5900 manual label paragraph should not include the label width
5903 * text.C (prepareToPrint): don't attempt to measure hfills
5904 for empty manual label paragraphs - the answer should be 0
5906 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5908 * CutAndPaste.C: remove commented code and reindent.
5910 2003-03-08 John Levon <levon@movementarian.org>
5913 * lyxfunc.C: move reloadBuffer()
5916 * BufferView.C: to here
5918 * lyxvc.C: add comment
5921 * vc-backend.C: call bv->reload() to avoid
5922 getStatus() check on MENURELOAD
5924 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
5926 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5927 to an old format .dep file.
5929 2003-03-07 Angus Leeming <leeming@lyx.org>
5931 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5932 when the LFUN_MOUSE_RELEASE should have been handled by
5933 inset->localDispatch.
5935 2003-03-07 Angus Leeming <leeming@lyx.org>
5937 * BufferView_pimpl.C (dispatch):
5938 * LyXAction.C (init):
5939 * ToolbarDefaults.C (init):
5941 * lyxfunc.C (getStatus):
5942 remove LFUN_INSET_GRAPHICS.
5944 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5946 2003-03-07 Angus Leeming <leeming@lyx.org>
5949 * LyXAction.C (init):
5950 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5952 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5955 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5957 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5958 localDispatch method LFUN_INSET_DIALOG_UPDATE.
5960 2003-03-07 Angus Leeming <leeming@lyx.org>
5962 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5965 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5967 * ParagraphList.C (front): new function
5970 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
5972 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5973 and top_row_offset_. removed var first_y.
5975 * text2.C (LyXText, removeRow):
5977 * BufferView_pimpl.C:
5978 use these methods instead of using first_y
5980 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5982 * text2.C (pasteSelection): adjust for checkPastePossible
5984 * CutAndPaste.C: remove Paragraph * buf and replace with
5985 ParagraphList paragraphs.
5986 (DeleteBuffer): delete
5987 (cutSelection): change the tc type to textclass_type
5988 (copySelection): change the tc type to textclass_type
5989 (copySelection): adjust for ParagraphList
5990 (pasteSelection): change the tc type to textclass_type
5991 (pasteSelection): adjust for Paragraphlist
5992 (nrOfParagraphs): simplify for ParagraphList
5993 (checkPastePossible): simplify for ParagraphList
5994 (checkPastePossible): remove unused arg
5996 * ParagraphList.C (insert): handle the case where there are no
5999 * CutAndPaste.h: make CutAndPaste a namespace.
6001 * text3.C (dispatch): adjust
6003 * text.C (breakParagraph): add a ParagraphList as arg
6005 * paragraph_funcs.C (breakParagraph): change to take a
6006 BufferParams and a ParagraphList as args.
6007 (breakParagraphConservative): ditto
6008 (mergeParagraph): ditto
6009 (TeXDeeper): add a ParagraphList arg
6010 (TeXEnvironment): ditto
6013 * buffer.C (readLyXformat2): adjust
6014 (insertStringAsLines): adjust
6015 (latexParagraphs): adjust
6017 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6018 (cutSelection): adjust
6019 (pasteSelection): adjust
6021 * BufferView_pimpl.C (insertInset): adjust
6023 2003-03-05 Angus Leeming <leeming@lyx.org>
6026 * LyXAction.C (init):
6027 * BufferView_pimpl.C (dispatch):
6028 * lyxfunc.C (getStatus):
6029 remove LFUN_CHILD_INSERT.
6031 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6033 2003-03-05 Angus Leeming <leeming@lyx.org>
6036 * LyXAction.C (init):
6037 * src/factory.C (createInset):
6038 * lyxfunc.C (getStatus):
6039 * text3.C (dispatch):
6040 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6042 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6044 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6046 * ParagraphList.C (insert): handle insert right before end()
6047 (erase): fix cases where it can be first or last paragraph.
6049 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6051 * paragraph_funcs.C (TeXEnvironment): remove all usage of
6052 Paragraph::next and Paragraph::previous
6055 * text.C (breakParagraph): adjust
6057 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6058 BufferParams& as arg.
6059 (breakParagraph): use ParagraphList::insert
6060 (breakParagraphConservative): take a Buffer* instead of a
6061 BufferParams& as arg.
6062 (breakParagraphConservative): use ParagraphList::insert.
6064 * buffer.C (insertStringAsLines): un-const it
6065 (insertStringAsLines): adjust
6067 * ParagraphList.C (insert): new function
6069 * CutAndPaste.C (pasteSelection): adjust
6071 * text.C (backspace): adjust
6073 * tabular.C (SetMultiColumn): adjust
6075 * CutAndPaste.C (cutSelection): adjust
6076 (pasteSelection): adjust
6078 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6079 Buffer const * as arg
6081 * ParagraphList.C (erase): new function
6082 * paragraph_funcs.C (mergeParagraph): use it
6083 (mergeParagraph): make it take a Buffer* instead of a
6084 BufferParams* as arg
6086 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6088 (breakParagraphConservative): ditto
6090 * paragraph.h: remove the breakParagraph friend
6092 * paragraph.C (eraseIntern): new function
6093 (setChange): new function
6095 * paragraph_funcs.C (mergeParagraph): make it take a
6096 ParagraphList::iterator instead of a Paragraph *, adjust
6099 * paragraph.h: move an #endif so that the change tracking stuff
6100 also works in the NO_NEXT case.
6102 2003-03-04 Angus Leeming <leeming@lyx.org>
6105 * LyXAction.C: new LFUN_INSET_MODIFY.
6107 * BufferView_pimpl.C (dispatch): if an inset is found to be open
6108 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6110 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6112 * several files: ws changes only
6114 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6115 (TeXEnvironment): ditto
6118 * buffer.C (makeLaTeXFile): adjust
6119 (latexParagraphs): make it take ParagraphList::iterator as args
6121 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6123 * buffer.C (latexParagraphs): adjust
6125 * paragraph.C (TeXOnePar): move function...
6126 (optArgInset): move function...
6127 (TeXEnvironment): move function...
6128 * paragraph_pimpl.C (TeXDeeper): move function...
6129 * paragraph_funcs.C: ...here
6131 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6133 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6135 * buffer.C (readInset): remove compability code for old Figure and
6138 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6140 * buffer.C: ws changes
6143 * BufferView_pimpl.C: ditto
6146 * bufferlist.h: ditto
6150 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
6152 * converter.[Ch]: split into itself +
6155 * Makefile.am: += graph.[Ch] + format.[Ch]
6162 * lyxrc.C: added #include "format.h"
6164 2003-02-27 Angus Leeming <leeming@lyx.org>
6166 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6169 * factory.C (createInset): add "label" to the factory.
6171 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6172 string and do no more.
6174 2003-02-27 Angus Leeming <leeming@lyx.org>
6177 * LyXAction.C (init):
6178 * factory.C (createInset):
6179 * BufferView_pimpl.C (dispatch):
6180 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6182 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6184 * lyxfunc.C (dispatch):
6185 * text3.C (dispatch): pass name to params2string.
6187 2003-02-26 Angus Leeming <leeming@lyx.org>
6189 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6191 Rearrange the ~includes. Strip out the unnecessary ones.
6193 * factory.C (createInset): reformat.
6194 create new insets for the various LFUN_XYZ_APPLY lfuns.
6196 2003-02-26 John Levon <levon@movementarian.org>
6199 * lyxrow.C: add isParStart,isParEnd helpers
6201 * paragraph.h: make isInserted/DeletedText take refs
6203 * paragraph_funcs.h:
6204 * paragraph_funcs.C: remove #if 0'd code
6209 * text.C: use lyxrow helpers above.
6210 Move draw and paint routines to RowPainter.
6211 Make several methods use refs not pointers.
6212 Make backgroundColor() const.
6213 Add markChangeInDraw(), isInInset().
6214 Merge changeRegionCase into changeCase.
6215 Make workWidth() shouldn't-happen code into an Assert.
6218 * rowpainter.C: new class for painting a row.
6221 * vspace.C: make inPixels take a ref
6223 2003-02-26 Angus Leeming <leeming@lyx.org>
6225 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6228 2003-02-25 John Levon <levon@movementarian.org>
6230 * ispell.C: give the forked command a more accurate name
6232 2003-02-22 John Levon <levon@movementarian.org>
6235 * toc.C: make TocItem store an id not a Paragraph *
6238 2003-02-21 Angus Leeming <leeming@lyx.org>
6240 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6241 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6242 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6243 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6244 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6245 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6247 * BufferView_pimpl.C (dispatch):
6248 * LyXAction.C (init):
6249 * factory.C (createInset):
6250 * lyxfunc.C (getStatus, dispatch):
6251 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6253 2003-02-21 Angus Leeming <leeming@lyx.org>
6255 * BufferView_pimpl.C (MenuInsertLyXFile):
6256 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6257 * lyxfunc.C (menuNew, open, doImport):
6258 no longer pass a LyXView & to fileDlg.
6260 2003-02-21 Angus Leeming <leeming@lyx.org>
6262 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6263 * LyXAction.C: change, BIBKEY to BIBITEM.
6264 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6265 Change InsetBibKey to InsetBibitem.
6266 Change BIBKEY_CODE to BIBITEM_CODE.
6267 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6268 * factory.C: replace insetbib.h with insetbibitem.h.
6269 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6270 * paragraph.C: replace insetbib.h with insetbibitem.h.
6271 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6272 Change bibkey() to bibitem().
6273 * text.C: remove insetbib.h.
6274 * text2.C: replace insetbib.h with insetbibitem.h.
6275 change bibkey() to bibitem().
6276 * text3.C: remove insetbib.h.
6277 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6279 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6281 * lyxrc.C (output): enclose user email in quotes (in case there are
6284 2003-02-18 John Levon <levon@movementarian.org>
6286 * buffer.h: add std::
6288 2003-02-17 John Levon <levon@movementarian.org>
6294 * pspell.C: reworking. Especially in ispell, a large
6295 number of clean ups and bug fixes.
6297 * lyxfunc.C: fix revert to behave sensibly
6299 2003-02-17 André Pönitz <poenitz@gmx.net>
6302 * commandtags.h: new LFUN_INSERT_BIBKEY
6312 * paragraph_func.C: remove special bibkey handling
6314 2003-02-17 John Levon <levon@movementarian.org>
6316 * text.C (Delete): fix case where delete at the end of
6317 the very first paragraph would not merge the pars
6319 2003-02-17 John Levon <levon@movementarian.org>
6321 * lyxrow.C: fix lastPrintablePos()
6323 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6325 * bufferparams.C (writeLaTeX): add a std:here
6327 * buffer.C: and remove a using directive there
6329 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6331 * buffer.C (makeLaTeXFile): move the code that generates the
6334 * bufferparams.C (writeLaTeX): ... in this new method
6336 * LaTeXFeatures.C (getEncodingSet): make const
6337 (getLanguages): make const
6339 * MenuBackend.C (binding): returns the binding associated to this
6341 (add): sets the status of each item by calling getStatus. Adds
6343 (read): add support for OptSubMenu
6344 (expand): remove extra separator at the end of expanded menu
6346 2003-02-15 John Levon <levon@movementarian.org>
6349 * BufferView_pimpl.C:
6351 * bufferlist.C: remove pointless BufferStorage bloat. Remove
6352 inset code that had no actual effect. Remove unneeded status
6355 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6357 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6360 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
6362 * text.C (drawLengthMarker): also draw an arrow marker for
6363 symbolic lengths (medskip...)
6365 2003-02-14 John Levon <levon@movementarian.org>
6368 * tabular.C: better method names
6370 2003-02-14 John Levon <levon@movementarian.org>
6372 * BufferView_pimpl.C:
6377 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6378 it's a more accurate name. Remove some pointless uses.
6380 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6382 * text2.C (LyXText): change order of initilizers to shut off
6385 2003-02-14 John Levon <levon@movementarian.org>
6387 * buffer.C: use ParIterator for getParFromID()
6391 * paragraph_pimpl.h:
6392 * paragraph_pimpl.C: remove unused getParFromID()
6394 2003-02-14 John Levon <levon@movementarian.org>
6396 * buffer.C: remove some very old #if 0'd parse code
6398 2003-02-13 John Levon <levon@movementarian.org>
6402 * text2.C: move hfillExpansion(), numberOfSeparators(),
6403 rowLast(), rowLastPrintable(), numberofHfills(),
6404 numberOfLabelHfills() ...
6407 * lyxrow.C: ... to member functions here.
6412 * text.C: remove LyXText::beginningOfMainBody(), and call
6413 p->beginningOfMainBody() directly. Move the check for
6414 LABEL_MANUAL into the latter.
6421 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6427 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6428 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6430 2003-02-13 John Levon <levon@movementarian.org>
6432 * CutAndPaste.C: remove debug
6434 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6436 * paragraph.C (asString): remove two unused variables
6438 * lyxtextclass.C (readTitleType):
6440 (LyXTextClass): handle new members titletype_ and titlename_
6442 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6444 2003-02-09 John Levon <levon@movementarian.org>
6447 * buffer.C: replace hand-coded list with a map for the dep clean
6449 2003-02-08 John Levon <levon@movementarian.org>
6451 * LaTeX.C: consolidate code into showRunMessage() helper
6453 2003-02-08 John Levon <levon@movementarian.org>
6458 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6459 and pass the size in explicitly
6461 * BufferView_pimpl.h:
6462 * BufferView_pimpl.C:
6464 * BufferView.C: add getCurrentChange()
6466 * BufferView_pimpl.h:
6467 * BufferView_pimpl.C: handle change lfuns
6469 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6470 for changes. Mark pasted paragraphs as new.
6472 * support/lyxtime.h:
6473 * support/lyxtime.C:
6474 * DepTable.C: abstract time_t as lyx::time_type
6477 * LColor.C: add colours for new text, deleted text, changebars
6479 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6480 package use "usenames" option.
6484 * LyXAction.C: add change lfuns
6488 * author.C: author handling
6491 * buffer.C: add a per-buffer author list, with first entry as
6492 current author. Handle new .lyx tokens for change tracking. Output
6493 author list to .lyx file. Output dvipost stuff to .tex preamble.
6494 Bump lyx format to 222.
6497 * bufferlist.C: add setCurrentAuthor() to reset current author details
6501 * bufferparams.C: add param for tracking
6503 * bufferview_funcs.C: output change info in minibuffer
6507 * changes.C: add change-tracking structure
6510 * debug.C: add CHANGES debug flag
6513 * lyxfind.C: add code for finding the next change piece
6516 * lyxrc.C: add user_name and user_email
6519 * lyxrow.C: add a metric for the top of the text line
6522 * text.C: implement accept/rejectChange()
6525 * text.C: paint changebars. Paint new/deleted text in the chosen
6526 colours. Strike through deleted text.
6530 * paragraph_pimpl.h:
6531 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6532 in the current change to the insert functions. Rework erase to
6533 mark text as deleted, adding an eraseIntern() and a range-based
6534 erase(). Implement per-paragraph change lookup and
6537 * paragraph_funcs.C: Fixup paste for change tracking.
6539 * tabular.C: mark added row/columns as new.
6541 * text.C: fix rowLast() to never return -1. Don't allow
6542 spellchecking of deleted text. Track transpose changes. Don't
6543 allow paragraph break or merge where appropriate.
6545 * text2.C: leave cursor at end of selection after a cut.
6547 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6549 * text.C (getLengthMarkerHeight):
6550 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6551 visible on screen too.
6553 2003-02-07 John Levon <levon@movementarian.org>
6555 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6557 2003-02-05 Angus Leeming <leeming@lyx.org>
6559 * lyxserver.C (read_ready): revert my patch of 11 September last year
6560 as it sends PC cpu through the roof. Presumably this means that
6561 the lyxserver will no longer run on an Alpha...
6563 2003-01-30 Angus Leeming <leeming@lyx.org>
6565 * factory.C (createInset): create an InsetCommandParam of type "index"
6566 and use it to 'do the right thing'.
6568 * text2.C (getStringToIndex): ensure that cursor position is always
6569 reset to the reset_cursor position.
6571 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6573 * lyxfunc.C (getStatus): "buffer-export custom" should never be
6576 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
6580 * lyxfunc.C: Output messages with identical spelling, punctuation,
6583 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
6585 * MenuBackend.C (expandFormats): List only viewable export formats
6588 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6591 * lyxfunc.C (getStatus): Make sure that formats other than
6592 "fax" can also be disabled
6594 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6596 * text3.C (dispatch): put the lfuns that insert insets in 3
6597 groups, and call doInsertInset with appropriate arguments.
6598 (doInsertInset): new function, that creates an inset and inserts
6599 it according to some boolean parameters.
6601 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6603 * buffer.C (readFile): remember to pass on 'par' when calling
6604 readFile recursively.
6606 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6608 * MenuBackend.C (expandFormats): add "..." to import formats.
6610 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
6612 * paragraph.C (asString): Remove XForms RTL hacks.
6614 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
6615 * buffer.C: fix typo
6617 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6619 * Makefile.am (LIBS): delete var
6620 (lyx_LDADD): add @LIBS@ here instead.
6622 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
6624 * Clarify the meaning of "wheel mouse jump"
6626 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6628 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6631 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6633 * importer.C (Loaders): do not preallocate 3 elements in the
6634 vector, since one ends up with 6 elements otherwise
6636 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6638 * DepTable.C (write): write the file name as last element of the
6639 .dep file (because it may contain spaces)
6640 (read): read info in the right order
6642 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6644 * paragraph_pimpl.C (simpleTeXBlanks):
6645 (simpleTeXSpecialChars):
6646 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6648 * tabular.C (latex): add some missing case statements. Reindent.
6650 * MenuBackend.C (expandToc): remove unused variable.
6652 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
6661 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6664 2003-01-05 John Levon <levon@movementarian.org>
6667 * BufferView.C: add getEncoding()
6670 * kbsequence.C: do not store last keypress
6673 * lyxfunc.C: store last keypress here instead. Pass encoding
6676 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6678 * lyx_main.C (init): remove annoying error message when following
6679 symbolic links (bug #780)
6681 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6683 * text.C (insertChar):
6684 * lyxrc.C (getDescription): remove extra spaces
6686 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6688 * lyxrc.C (getDescription): remove extra spaces
6690 2002-12-20 John Levon <levon@movementarian.org>
6692 * text3.C: hack fix for page up/down across tall rows
6694 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6696 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6699 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6701 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6702 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6703 thesaurus is not compiled in
6705 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
6707 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
6709 2002-12-16 Angus Leeming <leeming@lyx.org>
6712 * lyx_main.C (init): remove override_x_deadkeys stuff.
6714 2002-12-12 John Levon <levon@movementarian.org>
6716 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6717 insert. Only remove shift modifier under strict
6720 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6722 * MenuBackend.C (expandToc): fix crash.
6724 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6726 * MenuBackend.C (expandToc): gettext on float names.
6728 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6730 * lyxlength.[Ch]: set default unit to UNIT_NONE,
6731 implement bool empty() [bug 490]
6733 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6735 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6737 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6739 * several files: ws changes
6741 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6743 * text2.C (setCounter): clean up a bit, use boost.format.
6744 (updateCounters): initialize par upon declaration.
6746 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6747 if the layout exists. We do not just store the layout any more.
6748 (SwitchLayoutsBetweenClasses): use boost.format
6750 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6752 * converter.C (convert): if from and to files are the same, use a
6753 temporary files as intermediary
6755 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6758 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6760 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
6762 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6764 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6766 * tabular.C (asciiPrintCell): use string(size, char) instead of
6769 * sgml.C (openTag): fix order of arguments to string constructor
6772 * lyxfunc.C (dispatch): use boost.format
6774 * lots of files: change "c" -> 'c'
6776 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
6778 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6780 2002-11-25 Angus Leeming <leeming@lyx.org>
6782 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6784 * lyx_main.C (init): compile fix.
6786 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6788 * lyx_cb.C (start): boost.formatify
6789 do not include <iostream>
6791 * lengthcommon.C: ws only
6793 * boost-inst.C,BoostFormat.h: add more explict instantations
6795 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6797 * lots of files: handle USE_BOOST_FORMAT
6799 2002-11-21 John Levon <levon@movementarian.org>
6801 * pspell.C: fix compile
6803 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6805 * lyxfunc.C (dispatch): use boost::format
6809 * lyxfont.C (stateText): use boost::format
6811 * lyx_main.C (LyX): use boost::format
6813 (queryUserLyXDir): ditto
6816 (typedef boost::function): use the recommened syntax.
6818 * importer.C (Import): use boost::format
6820 * debug.C (showLevel): use boost::format
6822 * converter.C (view): use boost::format
6827 * bufferview_funcs.C (currentState): use boost::format
6829 * bufferlist.C (emergencyWrite): use boost::format
6831 * buffer.C (readLyXformat2): use boost::format
6832 (parseSingleLyXformat2Token): ditto
6834 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6836 * LaTeX.C (run): use boost::format
6838 * Chktex.C (scanLogFile): use boost::format
6840 * BufferView_pimpl.C (savePosition): use boost::format
6841 (restorePosition): ditto
6842 (MenuInsertLyXFile): ditto
6844 * BoostFormat.h: help file for explicit instation.
6846 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
6848 * tabular.C (latex): Support for block alignment in fixed width
6851 2002-11-17 John Levon <levon@movementarian.org>
6853 * BufferView_pimpl.C:
6855 * lyxfunc.C: split filedialog into open/save
6857 2002-11-08 Juergen Vigna <jug@sad.it>
6859 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6860 by my last patch (hopefully).
6862 2002-11-08 John Levon <levon@movementarian.org>
6871 * toc.C: ParConstIterator, and use it (from Lars)
6873 2002-11-07 Ben Stanley <bds02@uow.edu.au>
6875 * lyxtextclass.[Ch]: revise and add doxygen comments
6877 2002-11-07 John Levon <levon@movementarian.org>
6879 * text.C: fix progress value for spellchecker
6881 * toc.C: fix navigate menu for insetwrap inside minipage
6883 * paragraph_funcs.C: added FIXME for suspect code
6885 2002-11-07 John Levon <levon@movementarian.org>
6887 * BufferView_pimpl.C: fix redrawing of insets
6890 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6892 * text2.C (updateCounters): fix bug 668
6894 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
6896 * text3.C (dispatch): Do not make the buffer dirty when moving the
6899 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6901 * vc-backend.C: STRCONV
6904 * text2.C (setCounter): STRCONV
6906 * paragraph.C (asString): STRCONV
6908 * lyxlength.C (asString): STRCONV
6909 (asLatexString): ditto
6911 * lyxgluelength.C (asString): STRCONV
6912 (asLatexString): ditto
6914 * lyxfunc.C (dispatch): STRCONV
6917 * lyxfont.C (stateText): STRCONV
6919 * importer.C (Import): STRCONV
6921 * counters.C (labelItem): STRCONV
6922 (numberLabel): ditto
6923 (numberLabel): remove unused ostringstream o
6928 * bufferview_funcs.C (currentState): STRCONV
6930 * buffer.C (readFile): STRCONV
6931 (asciiParagraph): ditto
6932 (makeLaTeXFile): ditto
6934 * Spacing.C (writeEnvirBegin): STRCONV
6936 * LaTeXFeatures.C (getLanguages): STRCONV
6937 (getPackages): ditto
6939 (getBabelOptions): ditto
6940 (getTClassPreamble): ditto
6941 (getLyXSGMLEntities): ditto
6942 (getIncludedFiles): ditto
6946 (scanAuxFile): ditto
6949 * LString.h: add the STRCONV macros
6951 * BufferView_pimpl.C (savePosition): STRCONV
6952 (restorePosition): ditto
6953 (MenuInsertLyXFile): ditto
6955 * vc-backend.C (scanMaster): change from submatch[...] to
6958 * funcrequest.C: include config.h
6960 * factory.C: include config.h
6962 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6964 * box.C: include config.h
6966 * LaTeX.C (scanAuxFile): change from submatch[...] to
6970 2002-10-25 Angus Leeming <leeming@lyx.org>
6972 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6974 * ispell.[Ch] (setError): new method.
6975 * ispell.C (c-tor): move out child process into new class LaunchIspell.
6976 Use setError() insetead of goto END.
6978 * lyx_cb.C (AutoSave): move out child process into new class
6981 2002-10-30 John Levon <levon@movementarian.org>
6983 * text3.C: make start appendix undoable
6985 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
6987 * lyxlength.C (inPixels): Fix returned value.
6989 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6992 2002-10-24 Angus Leeming <leeming@lyx.org>
6994 * lyxgluelength.h: no need to forward declare BufferParams
6995 or BufferView, so don't.
6997 2002-10-21 John Levon <levon@movementarian.org>
6999 * BufferView.C: menuUndo ->undo, redo
7001 * BufferView.h: document, remove dead, make some methods private
7003 * paragraph_funcs.h:
7004 * paragraph_funcs.C:
7005 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7010 * sgml.C: move sgml open/close tag into sgml.C
7012 * bufferview_funcs.h: unused prototype
7015 * lyxfunc.C: remove unused
7018 * text.C: remove unused
7020 2002-10-21 John Levon <levon@movementarian.org>
7024 * BufferView_pimpl.h:
7025 * BufferView_pimpl.C: fix mouse wheel handling based on
7026 patch from Darren Freeman
7028 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
7030 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7032 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
7034 * lyxlength.C (inPixels): Fix hanfling of negative length.
7035 Fix LyXLength::MU case.
7037 2002-10-16 John Levon <levon@movementarian.org>
7039 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7041 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7043 * converter.C (view): add support for $$i (file name) and $$p
7044 (file path) for the viewer command. If $$i is not specified, then
7045 it is appended to the command (for compatibility with old syntax)
7047 2002-10-14 Juergen Vigna <jug@sad.it>
7049 * undo_funcs.C (textHandleUndo): alter the order in which the
7050 new undopar is added to the LyXText, as we have to set first
7051 the right prev/next and then add it as otherwise the rebuild of
7052 LyXText is not correct. Also reset the cursor to the right paragraph,
7053 with this IMO we could remove the hack in "redoParagraphs()".
7055 2002-10-09 Angus Leeming <leeming@lyx.org>
7057 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7058 to turn off an optimisation if a new inset is to be inserted.
7060 2002-10-11 André Pönitz <poenitz@gmx.net>
7062 * lyxtext.h: make some functions public to allow access
7063 from inset/lyxtext for handling LFUN_PRIOR/NEXT
7065 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7067 * text3.C (dispatch): when changing layout, avoid an infinite loop
7070 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7072 * lyxrc.C (read): treat a viewer or converter command of "none" as
7075 * MenuBackend.C (expandFormats): for an update, also allow the
7076 formats that are not viewable
7078 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7079 script if it is newer than the lyxrc.defaults in user directory
7081 2002-10-07 André Pönitz <poenitz@gmx.net>
7083 * text.C: Vitaly Lipatov's small i18n fix
7085 2002-09-25 Angus Leeming <leeming@lyx.org>
7087 * ispell.h: doxygen fix.
7089 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
7091 * buffer.h (readFile): Add a new argument to the method, to allow
7092 reading of old-format templates.
7094 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
7096 * toc.C (getTocList): Get TOC from InsetWrap.
7098 2002-09-16 John Levon <levon@movementarian.org>
7100 * lyxfunc.C: check tabular for cut/copy too
7102 2002-09-12 John Levon <levon@movementarian.org>
7107 * factory.C: add header
7109 * paragraph_funcs.h:
7110 * paragraph_funcs.C: cleanup
7112 2002-09-11 John Levon <levon@movementarian.org>
7114 * PrinterParams.h: odd/even default to true
7116 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
7118 * PrinterParams.h: update printer parameters for new xforms dialog
7120 2002-09-11 Angus Leeming <leeming@lyx.org>
7122 * lyxserver.C (read_ready): re-write to make it more transparent
7123 and to make it work in coherent fashion under Tru64 Unix.
7125 2002-09-11 André Pönitz <poenitz@gmx.net>
7129 * text3.C: implement LFUN_WORDSEL
7131 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7133 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7134 make floatlist_ a boost::shared_ptr<FloatList>
7136 * lyxtextclass.C: include FloatList.h
7137 (LyXTextClass): initialize floatlist_
7138 (TextClassTags): add TC_NOFLOAT
7139 (Read): match "nofloat" to TC_NOFLOAT and use it.
7140 (readFloat): modify call to floatlist_
7144 * FloatList.[Ch] (FloatList): remove commented out float
7146 (erase): new function
7148 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7150 * MenuBackend.C (expandToc): fix crash when there is no document
7153 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
7155 * many files: Add insetwrap.
7157 2002-09-09 John Levon <levon@movementarian.org>
7159 * text2.C: remove confusing and awkward depth wraparound
7161 2002-09-09 John Levon <levon@movementarian.org>
7163 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7166 * buffer.C: remove getIncludeonlyList()
7169 * lyxfunc.C: remove headers
7171 2002-09-09 Juergen Vigna <jug@sad.it>
7173 * text.C (getColumnNearX): fix form Michael this is most
7174 probably a cut&paste bug.
7176 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7178 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7180 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7181 references, ws changes.
7183 * text2.C (init): update counters after init
7184 (insertParagraph): no need to set counter on idividual paragraphs.
7185 (setCounter): access the counters object in the textclass object
7186 on in the buffer object.
7187 (updateCounters): ditto
7189 * lyxtextclass.C: include counters.h, add variable ctrs_ as
7190 shared_ptr<Counters> to avoid loading counters.h in all
7192 (LyXTextClass): initialize ctrs_
7193 (TextClassTags): add TC_COUNTER, and ...
7194 (Read): use it here.
7195 (CounterTags): new tags
7196 (readCounter): new function
7197 (counters): new funtion
7198 (defaultLayoutName): return a const reference
7200 * counters.C (Counters): remove contructor
7201 (newCounter): remove a couple of unneeded statements.
7202 (newCounter): simplify a bit.
7203 (numberLabel): some small formatting changes.
7205 * buffer.[Ch]: remove all traces of counters, move the Counters
7206 object to the LyXTextClass.
7208 2002-09-06 Alain Castera <castera@in2p3.fr>
7210 * tabular.C: uses \tabularnewline; uses >{...} construct from array
7211 package to set the horizontal alignment on fixed width columns.
7214 * lyx_sty.h: added tabularnewline macro def.
7216 * LaTeXFeatures.C: added NeedTabularnewline macro feature
7218 2002-09-06 John Levon <levon@movementarian.org>
7220 * LyXAction.C: tooltips for sub/superscript
7222 * MenuBackend.C: a bit more verbose
7224 * lyxfunc.C: tiny clean
7226 * undo_funcs.C: document undo_frozen
7228 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7230 * counters.C (Counters): add missing algorithm counter.
7232 * text2.C (setCounter): lookup the counter with layouts latexname
7233 instead of by section number.
7234 (setCounter): use a hackish way to lookup the correct enum
7236 a float name->type change
7237 reset enum couners with counter name directly instead of depth value.
7239 * counters.C (Counters): remove the push_backs, change to use the
7240 float type not the float name.
7241 (labelItem): remove unused string, float name->type change
7243 * counters.h: don't include vector, loose the enums and sects vectors
7245 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7247 * lyxtextclass.C (TextClassTags): add TC_FLOAT
7248 (Read): add float->TC_FLOAT to textclassTags
7249 (Read): and handle it in the switch
7250 (readFloat): new function
7252 * FloatList.C (FloatList): comment out the hardcoded float
7255 * lyxlayout.h: ws change.
7257 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
7259 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7261 2002-09-03 Angus Leeming <leeming@lyx.org>
7263 * BufferView_pimpl.h: qualified name is not allowed in member
7264 declaration: WorkArea & Pimpl::workarea() const;
7266 * factory.C: added using std::endl directive.
7268 * text3.C: added using std::find and std::vector directives.
7270 2002-08-29 André Pönitz <poenitz@gmx.net>
7273 * text2.C: remove unused member number_of_rows
7276 * BufferView2.C: remove file, move contents to...
7277 * BufferView.C: ... here
7279 * BufferView_pimpl.C:
7280 * factory.C: move more inset creation to factory
7282 * vspace.C: avoid direct usage of LyXText, ws changes
7285 don't provide direct access to WorkArea, use two simple
7286 acessors haveSelction() and workHeight() instead
7289 2002-08-29 John Levon <levon@movementarian.org>
7291 * BufferView_pimpl.C (dispatch): do not continue when
7294 2002-08-28 André Pönitz <poenitz@gmx.net>
7296 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7299 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7301 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
7303 * buffer.C: increment LYX_FORMAT to 221
7305 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7306 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7308 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7310 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7312 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7314 * factory.C (createInset): use LyXTextClass::floats
7316 * MenuBackend.C (expandFloatListInsert):
7317 (expandFloatInsert):
7320 * text2.C (setCounter):
7322 * LaTeXFeatures.C (useFloat):
7323 (getFloatDefinitions):
7325 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7327 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7328 floatlist_, with accessor floats().
7330 * FloatList.h: remove global FloatList
7332 2002-08-26 André Pönitz <poenitz@gmx.net>
7334 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7338 * BufferView_pimpl.C:
7339 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7341 2002-08-25 John Levon <levon@movementarian.org>
7343 * LyXAction.C: fix margin note description
7345 2002-08-24 John Levon <levon@movementarian.org>
7349 * bufferview_funcs.C:
7351 * undo_funcs.C: cleanups
7353 * lyxfunc.C: disable CUT/COPY when no selection
7355 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
7357 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7358 in "enum UNIT"; e.g. PTW for Percent of TextWidth
7360 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7361 Add backward compatibility to "mono", "gray" and "no".
7363 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
7365 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7366 (and file_format >= 200).
7368 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7370 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7372 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7374 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7376 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
7378 * BufferView_pimpl.C:
7385 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7386 inset and code to make it work with the paragraph code. The inset
7387 can be anywhere in the paragraph, but will only do the expected
7388 thing in LaTeX if the layout file contains the parameter line
7390 (or more generally, a nonzero value) for that layout.
7392 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7394 * paragraph.h: remove the declaration of undefined counters class
7397 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
7399 * text2.C (setCounter): fixed enumeration mis-count as reported by
7400 Dr. Richard Hawkins.
7402 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7404 * paragraph_funcs.h: remove some unneeded includes
7406 * text.C (backspace): pasteParagraph now in global scipe
7408 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7409 (pasteSelection): ditto
7411 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7412 * paragraph_funcs.C (pasteParagraph): ... here
7414 2002-08-20 André Pönitz <poenitz@gmx.net>
7416 * commandtags.h: new LFUNs for swapping/copying table row/colums
7419 * lyxfunc.C: support for new lfuns
7421 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7424 * buffer.[Ch]: remove NO_COMPABILITY stuff
7426 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
7428 * boost.C (throw_exception): new file, with helper function for
7429 boost compiled without exceptions.
7434 * ParameterStruct.h:
7435 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7437 * bufferlist.C (emergencyWriteAll): use boost bind
7439 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7441 * text.C: include paragraph_funcs.h
7442 (breakParagraph): breakParagraph is now in global scope
7444 * paragraph_funcs.[Ch]: new files
7446 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7449 * buffer.C: include paragraph_funcs.h
7450 (insertStringAsLines): breakParagraph is now in global scope
7452 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7455 * CutAndPaste.C: include paragraph_funcs.h
7456 (cutSelection): breakParagraphConservative is now in global scope
7457 (pasteSelection): ditto
7459 * buffer.h: declare oprator== and operator!= for
7460 Buffer::inset_iterator
7462 * bufferlist.C (emergencyWrite): don't use fmt(...)
7464 * text3.C: add using std::endl
7466 * BufferView.C (moveCursorUpdate): remove default arg
7468 2002-08-20 André Pönitz <poenitz@gmx.net>
7470 * buffer.[Ch]: move inline functions to .C
7473 * BufferView_pimpl.C:
7475 * buffer.[Ch]: use improved inset_iterator
7478 * paragraph.[Ch]: write one paragraph at a time
7480 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7482 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7483 style if style is not specified.
7485 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7487 * text2.C (setCounter): when searching for right label for a
7488 caption, make sure to recurse to parent insets (so that a caption
7489 in a minipage in a figure float works) (bug #568)
7491 2002-08-20 André Pönitz <poenitz@gmx.net>
7493 * text3.C: new file for LyXText::dispatch() and helpers
7495 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7497 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7499 2002-08-19 André Pönitz <poenitz@gmx.net>
7502 * text.C: new LyXText::dispatch()
7504 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7506 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7508 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7510 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7513 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7515 * Makefile.am: use $(variables) instead of @substitutions@
7517 2002-08-15 André Pönitz <poenitz@gmx.net>
7520 * BufferView_pimpl.C: streamlining mathed <-> outer world
7524 * LyXAction.C: remove unused LFUN_MATH
7526 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7528 * paragraph.[Ch]: add some NO_NEXT ifdefs.
7530 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7532 * paragraph.C (Paragraph): reformat a bit
7533 (cutIntoMinibuffer): use builtin InsetList function instad of
7537 * buffer.C: include boost/bind.hpp, add using std::for_each
7538 (writeFileAscii): use ParagraphList iterators
7539 (validate): use for_each for validate traversal of paragraphs
7540 (getBibkeyList): use ParagraphList iterators
7541 (resizeInsets): use for_each to resizeInsetsLyXText for all
7543 (getParFromID): use ParagraphList iterators
7545 * BufferView2.C (lockInset): use paragraph list and iterators
7547 2002-08-14 John Levon <levon@movementarian.org>
7549 * lyxserver.C: remove spurious xforms include
7551 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7553 * lyxfunc.C (getStatus): disable math-extern outside of math mode
7555 2002-08-13 André Pönitz <poenitz@gmx.net>
7558 * lyxfunc.C: further cleaning
7560 2002-08-13 André Pönitz <poenitz@gmx.net>
7562 * funcrequest.h: new constructor
7564 * funcrequest.C: move stuff here from .h
7567 * BufferView_pimpl.C:
7570 * lyxfunc.C: subsequent changes
7572 * lyxfunc.h: new view() member function
7574 * lyxfunc.C: subsequent changes
7576 2002-08-13 Angus Leeming <leeming@lyx.org>
7579 * BufferView_pimpl.C:
7587 changes due to the changed LyXView interface that now returns references
7588 to member variables not pointers.
7590 2002-08-13 Angus Leeming <leeming@lyx.org>
7592 * WordLangTuple (word, lang_code): return references to strings,
7597 * lyxtext.h: forward-declare WordLangTuple.
7602 * text.C: #include "WordLangTuple.h".
7605 * text.C: (selectNextWordToSpellcheck): constify return type.
7607 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
7613 * paragraph_pimpl.h:
7616 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7618 Made updateCounter always count from start of buffer, and removed
7619 second argument (par).
7620 Reverted floats number display to '#'. Perhaps I'll try again when the
7621 code base is sanitized a bit.
7623 2002-08-12 Angus Leeming <leeming@lyx.org>
7625 * buffer.[Ch] (getLabelList): constify.
7627 2002-08-07 André Pönitz <poenitz@gmx.net>
7629 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7631 * funcrequest.h: extension to keep mouse (x,y) position
7633 2002-08-12 Juergen Vigna <jug@sad.it>
7635 * BufferView2.C (insertErrors): forbid undo when inserting error
7638 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7640 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7642 * ParagraphList.[Ch]: new files
7644 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7646 * BufferView2.C (lockInset): ParagraphList changes
7649 * bufferlist.C: ditto
7653 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7655 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7656 unused class variable counter_,
7658 * paragraph.[Ch] (getFirstCounter): delete unused function
7660 * counters.C: include LAssert.h
7661 (reset): add a new function with no arg, change other version to
7662 not have def. arg and to not allow empty arg.
7664 * text2.C (setCounter): remove empty arg from call to Counters::reset
7666 2002-08-11 John Levon <levon@movementarian.org>
7668 * Makefile.am: add WordLangTuple.h
7670 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7672 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7673 lyxfunc.C lyxlex_pimpl.C: ws changes only.
7675 * insets/insettext.C: InsetList changes
7677 * graphics/GraphicsSupport.C (operator()): InsetList changes
7679 * toc.C (getTocList): InsetList changes
7681 * paragraph_pimpl.[Ch]: InsetList changes
7683 * paragraph.[Ch]: InsetList changes
7685 * buffer.C (inset_iterator): InsetList changes
7686 (setParagraph): ditto
7687 * buffer.h (inset_iterator): ditto
7688 * iterators.C (operator++): ditto
7689 * iterators.h: ditto
7691 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7693 * InsetList.[Ch]: new files, most InsetList handling moved out of
7696 * BufferView2.C (removeAutoInsets): InsetList changes
7698 (ChangeInsets): ditto
7700 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7702 * paragraph_pimpl.h (empty): new function
7704 * paragraph.[Ch] (empty): new function
7706 * other files: use the new Paragraph::empty function
7708 2002-08-09 John Levon <levon@movementarian.org>
7710 * lyxtext.h: remove unused refresh_height
7712 2002-08-09 John Levon <levon@movementarian.org>
7719 * paragraph.C: move sgml char escaping out of paragraph
7722 * paragraph.C: remove id setter
7726 * paragraph_pimpl.C: remove dead tex_code_break_column
7728 * bufferview_funcs.C: small cleanup
7730 * lyxfunc.C: remove dead proto
7732 * lyxtext.h: make some stuff private. Remove some dead stuff.
7734 * lyxgluelength.C: make as[LyX]String() readable
7736 2002-08-08 John Levon <levon@movementarian.org>
7741 * ToolbarDefaults.C:
7744 * toc.C: lyxaction cleanup
7746 2002-08-08 John Levon <levon@movementarian.org>
7748 * BufferView2.C: small cleanup
7751 * lyxfind.C: move unnecessary header into the .C
7753 2002-08-08 John Levon <levon@movementarian.org>
7755 * funcrequest.h: just tedious nonsense
7758 * lyx_main.C: cleanups
7761 * vspace.C: remove dead header lyx_main.h
7763 2002-08-07 Angus Leeming <leeming@lyx.org>
7766 * paragraph_pimpl.h:
7767 Forward declare class Counters in paragraph.h by moving the ctrs member
7768 variable into Paragraph::Pimpl.
7769 (counters): new method, returning a reference to pimpl_->ctrs.
7771 * text2.C: ensuing changes.
7773 2002-08-07 John Levon <levon@movementarian.org>
7775 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7777 * BufferView_pimpl.C: announce X selection on double/triple
7780 * lyx_main.C: use correct bool in batch dispatch
7782 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7784 2002-08-07 André Pönitz <poenitz@gmx.net>
7786 * funcrequest.h: new class to wrap a kb_action and its argument
7789 * BufferView_pimpl[Ch]:
7793 * lyxrc.C: subsequent changes
7796 2002-08-07 John Levon <levon@movementarian.org>
7798 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7799 document options change.
7801 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7806 * makefile.am: move counters functionality over from
7807 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7809 2002-08-06 John Levon <levon@movementarian.org>
7811 * WordLangTuple.h: new file for word + language code tuple
7822 * BufferView2.C: use WordLangTuple
7825 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7827 2002-08-06 John Levon <levon@movementarian.org>
7829 * lyx_main.C: fix cmdline batch handling
7831 2002-08-06 André Pönitz <poenitz@gmx.net>
7833 * lyxrc.C: set default for show_banner to true
7835 2002-08-06 John Levon <levon@movementarian.org>
7837 * pspell.C: fix a crash, and allow new aspell to work
7839 2002-08-06 John Levon <levon@movementarian.org>
7842 * kbmap.C: small cleanup
7845 * vspace.C: add const
7847 2002-08-05 John Levon <levon@movementarian.org>
7849 * LyXAction.C: back to tabular-insert
7851 2002-08-04 John Levon <levon@movementarian.org>
7854 * BufferView.C: cosmetic change
7856 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7866 * BufferView2.C: purge all "Lyx" not "LyX" strings
7869 * lyxcursor.C: attempt to add some documentation
7874 * ToolbarDefaults.C:
7875 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7876 merge with LFUN_TABULAR_INSERT
7883 * pspell.C: split up i/pspell implementations into separate
7884 files, many cleanups
7886 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7888 * text2.C: some cleanup
7890 * lyxfunc.C: don't check for isp_command == "none" any more, it
7891 didn't make any sense
7893 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7898 * makefile.am: move counters functionality over
7899 from text2.C/paragraph.[Ch] to counters.[Ch], and
7901 2002-08-02 John Levon <levon@movementarian.org>
7903 * buffer.C: s/lyxconvert/lyx2lyx/
7905 2002-08-02 Angus Leeming <leeming@lyx.org>
7907 * lyxlex.C: revert John's change as it breaks reading of the user
7910 2002-08-02 Angus Leeming <leeming@lyx.org>
7912 * importer.C (Import):
7913 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7914 changes due to LyXView::view() now returning a boost::shared_ptr.
7916 2002-08-02 John Levon <levon@movementarian.org>
7918 * lyxlex.C: small cleanup
7920 2002-08-02 John Levon <levon@movementarian.org>
7922 * text2.C (status): small cleanup, no logic change
7924 2002-08-01 John Levon <levon@movementarian.org>
7927 * buffer.C (writeFile): don't output alerts, caller
7931 * lyx_cb.C: from above
7933 * lyxfunc.C: allow to open non-existent files
7935 2002-07-31 John Levon <levon@movementarian.org>
7937 * lyxserver.C: don't let incidental errors get
7940 2002-07-30 John Levon <levon@movementarian.org>
7942 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7944 2002-07-30 John Levon <levon@movementarian.org>
7947 * lyxserver.C: remove I/O callback too
7949 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7951 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7954 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7956 * many files: strip,frontStrip -> trim,ltrim,rtrim
7958 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7960 * PrinterParams.h: remove extern containsOnly, and include
7961 support/lstrings.h instead.
7963 * LaTeX.C (scanAuxFile): modify because of strip changes
7965 * buffer.C (makeLaTeXFile): ditto
7966 * bufferparams.C (writeFile): ditt
7967 * lyxfont.C (stateText): ditto
7968 * lyxserver.C (read_ready): ditto
7969 * vc-backend.C (scanMaster): ditto
7971 * BufferView_pimpl.h: ws changes
7973 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7975 2002-07-26 André Pönitz <poenitz@gmx.net>
7977 * kb_sequence.C: remove unnedred usings
7979 2002-07-26 Juergen Vigna <jug@sad.it>
7981 * lyxfind.C (LyXReplace): we have to check better if the returned
7982 text is not of theLockingInset()->getLockingInset().
7984 2002-07-25 Juergen Vigna <jug@sad.it>
7986 * lyxfind.C (LyXReplace): don't replace if we don't get the
7989 * undo_funcs.C (createUndo): remove debugging code.
7991 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
7993 * buffer.C (parseSingleLyXformat2Token): Use default placement
7994 when reading old floats.
7996 * FloatList.C (FloatList): Change the default placement of figure
7997 and tables to "tbp".
7999 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
8001 * MenuBackend.C: using std::max
8003 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8005 * MenuBackend.C (expandToc):
8006 (expandToc2): code moved from xforms menu frontend. It is now
8007 generic and TOCs are transparent to menu frontends.
8009 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8011 * toc.C (getTocList): protect against buf=0
8013 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8014 Menu as first parameter. Now, this calls itself recursively to
8015 expand a whole tree (this will be useful for TOC handling)
8016 (expandFloatInsert): remove 'wide' version of floats
8018 * MenuBackend.h (submenuname): returns the name of the submenu.
8019 (submenu): returns the submenu itself, provided it has been
8020 created by MenuBackend::expand
8022 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8024 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8025 insets which have noFontChange == true. (bug #172)
8027 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8029 * BufferView_pimpl.C: add connection objects and use them...
8032 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8034 * MenuBackend.C (expandLastfiles):
8037 (expandFloatListInsert):
8038 (expandFloatInsert):
8039 (expand): split expand in parts
8041 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8043 * lyx_gui.C: use lyx_gui::exit()
8045 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8047 * LyXAction.C: show the failing pseudo action
8049 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
8051 * buffer.C (readFile): Run the lyxconvert script in order to read
8054 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8058 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8060 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8064 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8066 2002-07-22 Herbert Voss <voss@lyx.org>
8069 * lyxlength.[Ch]: add support for the vertical lengths
8071 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
8073 * toc.[Ch]: std:: fixes
8075 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8077 * lyxrc.C: do not include lyx_main.h
8079 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8085 * BufferView2.C: include "lyxlex.h"
8088 * bufferparams.h: do not #include "lyxlex.h"
8090 * lyxtextclasslist.C (Add): remove method
8091 (classlist): renamed to classlist_
8093 * paragraph_pimpl.C:
8097 * bufferview_funcs.C:
8102 * toc.C (getTocList): use BufferParams::getLyXTextClass
8104 * toc.C (getTocList): use InsetFloat::addToToc
8106 * toc.[Ch]: new files, containing helper functions to handle table
8109 * lyxfunc.C (dispatch): no need to remove spaces around command
8111 (getStatus): handle LFUN_SEQUENCE by returning the status of the
8112 first command of the sequence; it is not very clever, but I do not
8113 have a better idea, actually
8115 * LyXAction.C (LookupFunc): make sure to remove space at the
8116 beginning and end of the command
8118 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8120 * MenuBackend.C (getMenubar): new method: return the menubar of
8122 (read): treat differently reading of menu and menubar (in
8123 particular, the menubar has no name now)
8124 (Menu::menubar): remove
8126 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8129 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8131 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8132 a bibitem inset in a RTL paragraph.
8134 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
8136 * paragraph_pimpl.C: constify
8138 * BufferView_pimpl.C:
8140 * lyxfunc.C: fix dispatch in a nicer way
8142 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8144 * lyxfunc.C (dispatch):
8145 * BufferView_pimpl.C:
8146 * BufferView_pimpl.h:
8148 * BufferView.h: rename Dispatch() to dispatch()
8150 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8152 * lyxlayout.C (Read): honor DependsOn tag
8154 * lyxlayout.[Ch] (depends_on): new method
8156 * version.C.in: update lyx_docversion
8158 * LaTeXFeatures.C (getMacros): only define \LyX when needed
8160 * paragraph.C (validate): remove from here...
8161 * paragraph_pimpl.C (validate): ... and move here
8162 (isTextAt): make it const
8164 * buffer.C (getLists): ws cleanup
8166 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8168 * language.C (read): Use iso8859-1 encoding in latex_lang
8169 (this prevents LyX from crashing when using iso10646-1 encoding).
8171 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8173 * text2.C (toggleInset): if cursor is inside an inset, close the
8174 inset and leave cursor _after_ it
8176 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8178 * lyxfunc.C: move minibuffer completion handling out of here
8180 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8182 * BufferView_pimpl.C:
8183 * LaTeX.C: fix dispatch calls
8185 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
8187 * text.C (drawChars): Fix Arabic text rendering.
8189 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
8193 * lyxfunc.C: remove message-push/pop
8197 * lyxfunc.C: rationalise some code by removing verboseDispatch
8198 in favour of a bool argument to dispatch()
8200 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8202 * lyx_main.C (init): make sure to read symlinks as absolute paths
8204 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8207 * lyxfunc.C: no need for commandshortcut to be a member
8209 2002-07-15 André Pönitz <poenitz@gmx.net>
8211 * converter.C: add support for $$s (scripts from lib/scripts dir)
8212 * lyx_main.C: white space
8214 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8218 * lyxrc.C: remove second exit confirmation
8220 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8225 * BufferView_pimpl.h:
8226 * BufferView_pimpl.C:
8227 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8229 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8231 * MenuBackend.C (expand): add numeric shortcuts to document menu
8233 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8235 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8237 * lyxfont.C (setLyXFamily):
8244 * buffer.C (asciiParagraph): use ascii_lowercase
8246 2002-07-15 Mike Fabian <mfabian@suse.de>
8248 * lyxlex_pimpl.C (search_kw):
8249 * lyxlex.C (getLongString):
8250 * converter.h (operator<):
8251 * converter.C (operator<):
8252 * buffer.C (parseSingleLyXformat2Token):
8254 * ToolbarDefaults.C (read):
8255 * MenuBackend.C (checkShortcuts):
8257 * LColor.C (getFromGUIName):
8258 (getFromLyXName): use the compare_ascii_no_case instead of
8259 compare_no_case, because in turkish, 'i' is not the lowercase
8260 version of 'I', and thus turkish locale breaks parsing of tags.
8262 2002-07-16 Angus Leeming <leeming@lyx.org>
8264 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8265 now takes a Buffer const & argument.
8267 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
8269 * BufferView.C (resize): check there's a buffer to resize
8271 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
8273 * lyxfunc.C: remove dead code
8276 * lyxserver.C: use lyx_guii::set_read_callback
8278 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
8280 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8281 an inset in a RTL paragraph.
8283 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8285 * lyxfunc.C: repaint after a font size update
8287 2002-07-15 André Pönitz <poenitz@gmx.net>
8289 * lyxlength.C: inBP should be able to return negative values
8291 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8293 * lyxfunc.C: use lyx_gui::update_fonts()
8295 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8297 * lyxfunc.C: use lyx_gui::update_color()
8299 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8305 * lyxrc.C: remove file->new asks for name option, and let
8306 buffer-new take an argument
8308 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8310 * BufferView_pimpl.C: remove unneeded extra repaint()
8312 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
8314 * LyXAction.C: allow command-sequence with NoBuffer
8316 * lyxfunc.C: don't insist on trailing ';' for command-sequence
8318 2002-07-10 Angus Leeming <leeming@lyx.org>
8320 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8322 2002-07-09 Angus Leeming <leeming@lyx.org>
8324 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8326 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8328 * lengthcommon.h: whitespace
8330 * lyxfunc.C: update scrollbar after goto paragraph
8332 * lyxtext.h: factor out page break drawing, and fix it so
8333 page break/added space paints as selected nicely
8335 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8337 * BufferView_pimpl.C: add FIXMEs, clean up a little
8339 2002-07-09 André Pönitz <poenitz@gmx.net>
8341 * lyxfont.[Ch]: support for wasy symbols
8343 2002-07-08 André Pönitz <poenitz@gmx.net>
8345 * BufferView_pimpl.C: apply John's patch for #93.
8347 2002-07-05 Angus Leeming <leeming@lyx.org>
8349 * BufferView_pimpl.C (buffer): generate previews if desired.
8351 * LColor.h: add "preview" to the color enum.
8353 * LColor.C (LColor): add a corresponding entry to the items array.
8355 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8358 2002-07-05 Angus Leeming <leeming@lyx.org>
8360 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8361 The body of the code is now in the method that is passed an ostream &
8362 rather than a file name.
8363 Pass an additional only_preamble parameter, useful for the forthcoming
8366 2002-07-03 André Pönitz <poenitz@gmx.net>
8368 * lyxfunc.C: simplify getStatus() a bit for math stuff
8370 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8372 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8374 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8376 * text.C (changeRegionCase): do not change case of all the
8377 document when region ends at paragraph end (bug #461)
8379 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8381 * paragraph.C (startTeXParParams):
8382 (endTeXParParams): add \protect when necessary
8384 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8386 * BufferView_pimpl.C (workAreaExpose): remove warning
8388 2002-06-27 Angus Leeming <leeming@lyx.org>
8390 * Makefile.am: add lyxlayout_ptr_fwd.h.
8392 2002-06-26 André Pönitz <poenitz@gmx.net>
8394 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8396 2002-06-25 Angus Leeming <leeming@lyx.org>
8398 * lyxfunc.C (dispatch): Comment out the call to
8399 grfx::GCache::changeDisplay. The method no longer exists now that the
8400 pixmap generation part of the graphics loader has been moved into
8403 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8405 * text2.C: layout as layout
8407 * text.C: layout as layout
8409 * tabular.C (OldFormatRead): layout as layout
8411 * paragraph_pimpl.C (TeXDeeper): layout as layout
8412 (realizeFont): layout as layout
8414 * paragraph.C (writeFile): layout as layout
8415 (validate): layout as layout
8416 (getFont): layout as layout
8417 (getLabelFont): layout as layout
8418 (getLayoutFont): layout as layout
8419 (breakParagraph): layout as layout
8420 (stripLeadingSpaces): layout as layout
8421 (getEndLabel): layout as layout
8422 (getMaxDepthAfter): layout as layout
8423 (applyLayout): layout as layout
8424 (TeXOnePar): layout as layout
8425 (simpleTeXOnePar): layout as layout
8426 (TeXEnvironment): layout as layout
8427 (layout): layout as layout
8428 (layout): layout as layout
8430 * lyxtextclass.C (compare_name): new functor to work with
8431 shared_ptr, layout as layout
8432 (Read): layout as layout
8433 (hasLayout): layout as layout
8434 (operator): layout as layout
8435 (delete_layout): layout as layout
8436 (defaultLayout): layout as layout
8438 * lyxlayout_ptr_fwd.h: new file
8440 * lyxlayout.C (Read): layout as layout
8442 * lyx_cb.C (MenuInsertLabel): layout as layout
8444 * bufferlist.C (newFile): layout as layout
8446 * buffer.C (readLyXformat2): layout as layout
8447 (parseSingleLyXformat2Token): layout as layout
8448 (insertStringAsLines): layout as layout
8449 (asciiParagraph): layout as layout
8450 (latexParagraphs): layout as layout
8451 (makeLinuxDocFile): layout as layout
8452 (simpleLinuxDocOnePar): layout as layout
8453 (makeDocBookFile): layout as layout
8454 (simpleDocBookOnePar): layout as layout
8455 (getLists): layout as layout
8457 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8459 * CutAndPaste.C (cutSelection): layout as layout
8460 (pasteSelection): layout as layout
8461 (SwitchLayoutsBetweenClasses): layout as layout
8463 * BufferView_pimpl.C (Dispatch): layout as layout
8464 (smartQuote): layout as layout
8466 * BufferView2.C (unlockInset): layout as layout
8468 2002-06-24 André Pönitz <poenitz@gmx.net>
8470 * lyxfunc.C: fix #487
8472 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8476 * lyxfunc.C: remove display_shortcuts, show_banner
8478 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8480 * Buffer_pimpl.C: oops, update on resize
8482 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8489 * BufferView.C: use repaint()
8491 * BufferView_pimpl.h:
8492 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8493 as it's a clearer description. Remove superfluous
8496 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8498 * text.C: fix bug 488. Not ideal, but getting
8499 getWord() to work properly for the insets that
8500 matter is more difficult ...
8502 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8504 * BufferView_pimpl.C:
8507 * lyxfunc.C: remove the six million index lyxfuncs to just
8508 one, and DTRT (bug 458)
8510 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8514 * BufferView_pimpl.h:
8515 * BufferView_pimpl.C: clean up resize() stuff,
8516 and unnecessary updateScreen()s
8518 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8522 * BufferView_pimpl.h:
8523 * BufferView_pimpl.C:
8526 * minibuffer.C: remove focus management of workarea,
8527 not needed. Use screen's greyOut()
8529 2002-06-17 Herbert Voss <voss@lyx.org>
8531 * converter.C: (convert) do not post a message, when converting
8532 fails, let the calling function decide what to do in this case
8534 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
8536 * lyxfunc.C: tidy up a little
8538 2002-06-16 <alstrup@diku.dk>
8540 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8541 Got rid of FORMS_H_LOCATION include. Now we are
8544 2002-06-15 LyX Development team <lyx@rilke>
8546 * buffer.[Ch] (sgmlOpenTag):
8547 (sgmlCloseTag): Added support for avoiding pernicious mixed
8548 content. Return number of lines written.
8551 (makeDocBookFile): Fixed calls to sgml*Tag.
8552 Simple white space clean.
8554 (simpleDocBookOnePar): Simple white space clean.
8556 * tabular.[Ch] (docBook): Renamed to docbook and got another
8557 argument to related with the pernicious mixed content.
8559 (docbookRow): Fixed calls for docbook inset method.
8561 2002-06-15 Lyx Development team <larsbj@birdstep.com>
8563 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8564 so it's X11 independent.
8568 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8570 2002-06-15 Lyx Development team <lyx@electronia>
8572 * intl.h: Renamed getTrans to getTransManager.
8574 2002-06-14 Angus Leeming <leeming@lyx.org>
8576 * Makefile.am: nuke forgotten stl_string_fwd.h.
8578 2002-06-12 Angus Leeming <leeming@lyx.org>
8580 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8582 2002-06-13 Angus Leeming <leeming@lyx.org>
8585 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8587 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
8589 * kbmap.C (getiso): add support for cyrillic and greek
8591 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8595 * BufferView_pimpl.h:
8596 * BufferView_pimpl.C: move bogus scrolling logic
8599 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8602 * BufferView_pimpl.C: view->resize() change
8604 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8606 * BufferView_pimpl.C: topCursorVisible
8609 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8613 * lyx_gui.C: move to frontends/
8617 * lyx_main.C: changes from above
8619 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8626 * lyx_main.C: minor tidy
8628 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8630 * BufferView_pimpl.h:
8631 * BufferView_pimpl.C:
8633 * BufferView.C: make painter() const,
8636 * BufferView2.C: use screen() accessor
8639 * lyx_main.C: some minor cleanup
8641 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8643 * BufferView_pimpl.h:
8644 * BufferView_pimpl.C: remove enter/leaveView,
8647 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8652 * BufferView_pimpl.h:
8653 * BufferView_pimpl.C: only construct screen once,
8656 * lyxrc.C: remove pointless comment
8658 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8661 * BufferView.C: remove active() and belowMouse()
8663 * BufferView_pimpl.h:
8664 * BufferView_pimpl.C: use workarea() not workarea_,
8665 and make it use a scoped_ptr instead
8667 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8669 * lyx_gui.C: add debug message on BadWindow
8671 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8673 * sp_spell.C: fdopen is not part of the C++ standard.
8675 * paragraph.C (InsetIterator): use >= instead of ==
8677 2002-06-07 Angus Leeming <leeming@lyx.org>
8679 Fixes needed to compile with Compaq cxx 6.5.
8680 * BufferView_pimpl.C:
8687 * lyxtextclasslist.C:
8692 all c-library variables have been moved into namespace std. Wrap
8693 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8698 Add a using std::abs declaration.
8700 * kbmap.h (modifier_pair):
8701 * paragraph.h (InsetTable, InsetList):
8702 * lyxfont.h (FontBits):
8703 type definition made public.
8705 * bufferlist.C (emergencyWriteAll): the compiler complains that
8706 there is more than one possible lyx::class_fun template to choose from.
8707 I re-named the void specialisation as lyx::void_class_fun.
8709 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8711 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8712 the compiler is is unable to find tostr in write_attribute.
8714 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8716 * buffer.C (sgmlError): hide #warning
8718 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8720 * xtl/*: get rid of xtl, which is not in use anyway
8722 * LyXAction.C (init):
8723 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8724 were unimplemented xtl experimentation
8726 2002-06-04 André Pönitz <poenitz@gmx.net>
8728 * lyxfunc.C: disable array operation on simple formulae
8730 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
8732 * converter.C: constify a bit
8734 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
8736 * lyx_gui.C: check xforms version correctly
8738 2002-04-30 Herbert Voss <voss@lyx.org>
8740 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8743 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
8745 * lyxvc.C: fix bug 416 (make sure buffer is saved before
8746 attempt to register it with a VCS)
8748 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8750 * lyx_main.C (init): honor variables LYX_DIR_13x and
8753 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8757 * lyx_main.C: fix a crash on bad command line,
8758 and give a useful exit status on error
8760 * lyxfunc.C (doImport): allow -i lyx to work
8762 2002-03-30 André Pönitz <poenitz@gmx.net>
8764 * lyxfunc.C: mathed font changes
8766 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8781 * trans_mgr.h: srcdocs, and some minor cleanups
8783 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8785 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8786 call getFont all the time)
8788 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8790 * switch from SigC signals to boost::signals
8792 2002-05-29 André Pönitz <poenitz@gmx.net>
8794 * paragraph_pimpl.C (getChar): don't call size() too often...
8796 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8798 * paragraph_pimpl.C (insertChar): do not try to update tables when
8799 appending (pos == size())
8801 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8802 in order to reduce drastically the number of comparisons needed to
8803 parse a large document
8805 2002-05-29 André Pönitz <poenitz@gmx.net>
8811 * textclasslist.[Ch]:
8812 * sp_ispell.h: whitespace change
8814 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8816 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8817 lyxaction directly now.
8819 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
8823 * lyxvc.C: remove unused headers
8825 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8832 * undo_funcs.C: some cleanups. Use shared_ptr
8833 and a template for the undo stacks.
8835 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8837 * BufferView_pimpl.h:
8838 * BufferView_pimpl.C:
8845 * text2.C: use key_state/mouse_state
8847 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8849 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8852 * chset.C: change include order
8853 (loadFile): use boost regex and get rid of LRegex and LSubstring
8855 * Makefile.am (BOOST_LIBS): new variable
8858 * LaTeX.C: change include order.
8859 (scanAuxFile): use boost regex and get rid of LRegex and
8863 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8868 * FontInfo.C: moved to frontends/xforms/
8871 * FontLoader.C: moved into frontends for GUIIzation
8876 * lyxfunc.C: changes from above
8878 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8880 * LColor.C: remove spurious X include
8882 * BufferView_pimpl.C:
8887 * text2.C: move font metrics to frontends/
8889 2002-05-24 Juergen Vigna <jug@sad.it>
8891 * undo_funcs.C (textHandleUndo): fix the cursor selection after
8892 setting the undo_cursor.
8894 * ParagraphParameters.h: include local includes first.
8896 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8898 * BufferView_pimpl.C:
8899 * BufferView_pimpl.h:
8903 * screen.C: move WorkArea into frontends/
8909 * BufferView2.C: move LyXScreen into frontends/
8913 * lyx_gui.C: move lyxlookup into frontends/xforms/
8915 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8918 * BufferView_pimpl.C:
8928 * bufferview_funcs.C:
8941 * vc-backend.C: move LyX/XFormsView into frontends/
8943 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8955 * text2.C: move Painter to frontends/
8957 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8959 * buffer.C: comment out some some code that depend upon lyx_format
8962 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8963 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8965 * buffer.h (NO_COMPABILITY): turn off compability
8967 * ColorHandler.C: include scoped_array.hpp
8969 * font.C: Use more specific smart_ptr header.
8972 * ShareContainer.h: ditto
8976 * BufferView_pimpl.h: ditto
8977 * ColorHandler.h: ditto
8979 * kbmap.C (defkey): change call to shared_ptr::reset
8981 2002-05-21 Juergen Vigna <jug@sad.it>
8983 * buffer.C (insertErtContents): fix to insert ert asis if it is
8984 non empty. Skip it completely if it contains only whitespaces.
8986 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
8988 * BufferView_pimpl.C:
8989 * BufferView2.C: clear selection on paste (bug 393)
8991 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8993 * DepTable.C: include ctime
8995 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
8997 * buffer.C (latexParagraphs): Add new argument (moving_arg).
8999 2002-05-14 Juergen Vigna <jug@sad.it>
9001 * text.C (breakParagraph): fixed function to honor the keepempty
9002 layout in the right maner and also to permit the right breaking
9003 algorithm on empty or non empyt keepempty paragraphs.
9005 * paragraph.C (breakParagraph): we have to check also if the par
9006 is really empty (!size()) for isempty otherwise we do the wrong
9009 2002-05-10 Juergen Vigna <jug@sad.it>
9011 * buffer.[Ch] : The following are only changes to the ert
9012 compatibility read reading old LaTeX layout and font stuff and
9013 convert it to ERTInsets.
9015 * buffer.h: added isErtInset().
9017 * buffer.C (struct ErtComp): add a fromlayout bool to check
9018 if we're inside a LaTeX layout.
9019 (isErtInset): new helper function.
9020 (insertErtContents): look for other ert insets before this one
9021 and insert the contents there, so that we don't have subsequent
9022 ERT insets with nothing between them. This way we create only one
9023 inset with multiple paragraphs. Also check if we don't insert only
9024 spaces ' ' as they are ignored anyway afterwards in the .tex file
9025 so if we have only spaces we will ignore this latex part in the
9027 (parseSingleLyXformat2Token \\layout): better compatibility when
9028 reading layout-latex stuff.
9029 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9031 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9032 stuff after reading the inset only get the information back from
9035 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
9037 * buffer.C (makeLaTeXFile): Put language options after loading babel.
9039 * LaTeXFeatures.C (getBabelOptions): New method.
9041 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9043 * BufferView_pimpl.C (Dispatch): work around missing argument for
9046 2002-05-08 Juergen Vigna <jug@sad.it>
9048 * text.C (leftMargin): handle paragraph leftindent.
9050 * paragraph.C (writeFile): write the new \\leftindent tag.
9051 (validate): handle leftindent code.
9052 (TeXEnvironment): handle paragraphleftindent code again.
9054 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9056 * buffer.C (parseSingleLyXformat2Token): added compatibility code
9057 for paragrap_extra indent code and new token \\leftindent.
9058 (latexParagraphs): handle the leftindent as environment.
9060 * ParameterStruct.h: added leftindent support.
9062 * ParagraphParameters.C (leftIndent): added support functions for
9063 the paragraph left indent.
9065 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9068 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
9070 * paragraph.C (isRightToLeftPar): Return false for a paragraph
9073 * text.C (computeBidiTables): No bidi in insetERT.
9075 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9078 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9080 * version.C.in: pre 5
9082 2002-05-02 José Matos <jamatos@fep.up.pt>
9083 * buffer.C (makeDocBookFile): white space changes, add newline to
9085 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9087 * tabular.C (docBook): fix typo.
9089 2002-05-03 Juergen Vigna <jug@sad.it>
9091 * screen.C (drawFromTo): recalculate the rowpointer if we had a
9092 change in LyXText as we can not be sure it was not freed.
9093 (drawOneRow): remove unused code.
9095 * text.C (drawInset): redo the calculation of the need_break_row as
9096 it could have a row which was already freed.
9097 (draw): look at the return value of drawInset and return false if
9098 it also returned false.
9099 (paintRowText): look at the return value of draw and return false if
9100 it also returned false.
9102 * lyxtext.h: added bool return type to drawInset() and draw() so that
9103 if we have a change in the row so that the rowbreak has to be redone
9104 we abort drawing as it will be called again.
9106 2002-05-02 Juergen Vigna <jug@sad.it>
9108 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9109 a change in the maintext also if we're inside an inset.
9110 (Dispatch): set the cursor again after a break line and after the
9111 screen has been updated as it could be we're in a different row.
9113 * text2.C (fixCursorAfterDelete): check to make sure we don't request
9114 to set the cursor behind the pargraph with > size().
9115 (setCursor): check also for the same paragraph when checking where
9116 to put the cursor if we have a NFR inset.
9118 * buffer.C (parseSingleLyXformat2Token): move the compatibility
9119 parts of layout read further up as it still was in the wrong
9122 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9124 * screen.C (drawFromTo): change sine fullRebreak always return
9127 * buffer.C (parseSingleLyXformat2Token): reindent some
9129 * BufferView_pimpl.C (update): change since fullRebreak always
9131 (Dispatch): git rid of the last hardcoded "Standard"s.
9133 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9135 * text2.[Ch] (fullRebreak): make it return void now that we always
9138 2002-04-30 Juergen Vigna <jug@sad.it>
9140 * buffer.C (parseSingleLyXformat2Token): reset the font before the
9141 ert compatibility check for "latex" layout.
9143 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
9145 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9146 minipages: use col% instead of p%, and also use the current font.
9147 (makeLaTeXFile): Fix use babel condition.
9148 (parseSingleLyXformat2Token): Correct font when reading old floats.
9150 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
9152 * BufferView_pimpl.C (Dispatch): Check that float type exists when
9153 inserting list of floats.
9155 2002-04-25 Herbert Voss <voss@lyx.org>
9157 * MenuBackend.C (expand): don't add the graphics extensions to the
9160 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9162 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9163 non-existing layout, do not complain if it was the default layout
9164 of the original class (bug #342)
9166 2002-04-24 Juergen Vigna <jug@sad.it>
9168 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9169 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9171 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
9173 * buffer.C (getBibkeyList): If using \bibliography, return the
9174 option field with the reference itself. Enables us to provide natbib
9175 support when using \bibliography.
9177 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
9179 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9181 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9182 natbib is provided by the LaTeX class.
9184 2002-04-23 Juergen Vigna <jug@sad.it>
9186 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9189 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9191 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9193 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9195 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9196 ensuremath around textordmasculine, textordfeminine and
9199 2002-04-19 Juergen Vigna <jug@sad.it>
9201 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9202 reinitializing the buffer otherwise row-dimensions may be wrong.
9203 (update): reset also the selection cursors if they do exits otherwise
9204 their x/y positions may be wrong.
9206 * text2.C (cursorDown): don't enter the inset if we came from a row
9207 above and are one row over the inset.
9209 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9210 really leaving an inset.
9212 2002-04-18 Juergen Vigna <jug@sad.it>
9214 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9215 of the selected paragraph does not have the selected layout also if
9218 * text2.C (setLayout): fixed bug which did not change last selected
9221 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9222 changed the read and substituted \\end_float with \\end_inset!
9224 * BufferView_pimpl.C (cursorPrevious):
9225 (cursorNext): fixed to make it work with rows heigher than the work
9226 area without moving the cursor only the draw of the row.
9227 (workAreaMotionNotify): fix jumping over high rows.
9229 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9231 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9234 2002-04-16 Juergen Vigna <jug@sad.it>
9236 * text2.C (setCursor): set also the irow().
9237 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9239 (cursorDown): support for locking an inset if the x_fix value goes
9240 inside it. That way I can transverse insets too with cursor up/down.
9242 * lyxrow.h: added irow helper function same as other (i) functions.
9244 * BufferView_pimpl.C (cursorPrevious):
9245 (cursorNext): fixed for insets!
9247 2002-04-15 Juergen Vigna <jug@sad.it>
9249 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9250 position otherwise it is wrong in some cases.
9252 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9253 inside the inset before the call.
9255 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
9257 * buffer.[Ch] (getBibkeyList): make it const.
9259 2002-04-12 Juergen Vigna <jug@sad.it>
9261 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9263 * text2.C (getCursorX): new helper function
9264 (setCursor): compute also ix_
9265 (setCursorFromCoordinates): set also ix.
9267 * lyxcursor.h: added ix_ and helper functions.
9269 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9271 * buffer.C (insertStringAsLines): dont break paragraph if the this
9272 paragraph is inside an inset which does not permit it!
9274 * text.C (breakParagraph): honor keepempty flag and break the paragraph
9275 also with no chars on this paragraph.
9276 (paintRowText): only paint stuff if it's inside the workarea!
9278 * paragraph.C (breakParagraph): honor keepempty flag and break the
9279 paragraph always below not above.
9281 * BufferView2.C (unlockInset): update the paragraph layout on inset
9282 unlock as we changed paragraph in such a case.
9284 * lyxfind.C (LyXFind): clear the former selection if not found!
9286 * text2.C (insertInset): freeze Undo after setUndo so that it is not
9287 again called in insertChar().
9289 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9290 an inset which uses the whole row!
9291 (rightMargin): ditto.
9292 (insertChar): force a rebreak if we inserted an inset!
9294 2002-03-28 Herbert Voss <voss@lyx.org>
9296 * lyxlength.[Ch]: add inBP() to get the right PS-point
9297 units (BigPoint). With inPixels we have rounding errors
9299 2002-04-11 Juergen Vigna <jug@sad.it>
9301 * text2.C (setCursorFromCoordinates): set iy to the right value.
9302 (setCursor): add check if row->previous exists!
9304 * buffer.C (parseSingleLyXformat2Token): reset font after read of
9305 an old float_type as this was the case in the old code!
9307 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9309 * BufferView2.C (showLockedInsetCursor): use iy
9310 (fitLockedInsetCursor): ditto
9312 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9313 locked insets as there we have the right value now.
9315 * lyxcursor.C: added iy_ variable and iy functions to set to the
9316 baseline of cursor-y of the locked inset.
9318 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9319 (setCursor): fixed for insets which need a full row.
9321 * text.C (rowLastPrintable): don't ignore the last space when before
9322 an inset which needs a full row.
9323 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9324 as last character of a row when before a inset which needs a full row.
9326 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9328 * version.C.in: update date
9330 * text2.C (fullRebreak): try to always return true and see what
9333 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9335 * MenuBackend.C (expand): use Floating::listName
9337 * FloatList.C (FloatList): add listName argument to the built-in
9340 * Floating.[Ch]: add listName member, which is the 'List of XXX'
9341 text associated with the float.
9343 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9345 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9347 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9349 * ShareContainer.h: add a couple of missing typenames.
9351 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
9353 * lyxrc.C (getDescription): use _() correctly rather than N_().
9355 2002-03-28 Herbert Voss <voss@lyx.org>
9357 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9358 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9360 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9362 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9363 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9365 2002-03-29 Juergen Vigna <jug@sad.it>
9367 * lyxfunc.C (dispatch): add a missing fitCursor call.
9369 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9370 it was scrolled by a cursor move, so return the bool status.
9372 * BufferView.C (fitCursor): return the bool flag also to the outside
9373 world as this is needed.
9375 * screen.C (toggleToggle): don't subtract the offset if it's positive.
9377 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9378 call the edit() as it is not needed (and wrong) IMO.
9379 (workAreaButtonPress): set the screen_first variable before evt.
9380 unlock the inset as this may change screen_first and then we have
9381 a wrong y position for the click!
9383 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9385 * MenuBackend.C (expand): another translation that I missed
9387 2002-03-28 Juergen Vigna <jug@sad.it>
9389 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9391 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9393 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9395 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9397 * MenuBackend.C (expand): fix export/view/update when there is no
9400 2002-03-27 Herbert Voss <voss@lyx.org>
9402 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9405 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9407 * bufferview_funcs.C (currentState): only show paragraph number
9408 for is DEVEL_VERSION is set.
9410 * lyxfunc.C (dispatch): put warning in INFO channel
9412 * MenuBackend.C (expand): translate the name of floats
9414 * FloatList.C (FloatList): mark the float names for translation
9416 * converter.C (convert): use LibScriptSearch
9418 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9420 * MenuBackend.C (defaults): fix default menu (we might as well get
9423 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9425 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9428 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9430 * lyxvc.C: reorder includes.
9432 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
9434 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9437 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9439 * CutAndPaste.C: change layouts earlier on paste
9440 to avoid crashing when calling getFont()
9442 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9444 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9447 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9449 * WorkArea.C: remove 'Pending' debug message.
9451 * most files: ws cleanup
9453 * buffer.[Ch]: ws changes
9455 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9457 2002-03-21 Juergen Vigna <jug@sad.it>
9459 * tabular.C (SetMultiColumn): collapse also the contents of the
9460 cells and set the last border right. Added a Buffer const * param.
9462 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9464 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9467 2002-03-19 Juergen Vigna <jug@sad.it>
9469 * text2.C (clearSelection): reset also xsel_cache.
9471 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9472 where it needs to be called (John tells us to do so too :)
9473 (selectionLost): reset sel_cache.
9475 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9477 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9479 * text2.C (setCursorIntern): put debuging code in INSETS channel
9481 2002-03-19 André Pönitz <poenitz@gmx.net>
9483 * lyxfunc.C: tiny whitespace change
9485 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9487 * ToolbarDefaults.C (init):
9488 * LyXAction.C (init):
9490 * BufferView_pimpl.C (Dispatch):
9491 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9493 2002-03-19 Allan Rae <rae@lyx.org>
9495 * exporter.C (Export): removeAutoInsets before doing anything else.
9496 While I've just introduced a dependency on BufferView this really is
9497 the best place to clean the buffer otherwise you need to cleanup in
9498 a dozen places before calling export or cleanup in a dozen functions
9501 * converter.C (runLaTeX):
9502 (scanLog): Better handling of removeAutoInsets and screen updates.
9504 * lyxfunc.C (dispatch): small whitespace changes
9506 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9508 * WorkArea.C (C_WorkAreaEvent): return a value.
9509 (event_cb): return 1 if we handled the event, 0 otherwise.
9511 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9513 2002-03-18 Juergen Vigna <jug@sad.it>
9515 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9516 (GetAdditionalWidth): ditto.
9520 * BufferView2.C (copy): use getLyXText() so that we do it inside an
9521 inset if we're there actually (probably not used right now but this
9522 is the direction to go for unifying code).
9523 (paste): disable code to clear the selection.
9525 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9526 inside an InsetText and move the check further up as it is in the
9529 * text2.C (pasteSelection): set a selection over the pasted text.
9531 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
9533 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9534 and libgraphics to build on Cygwin.
9536 2002-03-15 Juergen Vigna <jug@sad.it>
9538 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9539 inserting an Inset into the paragraph. I know this is not the best
9540 fix but we already use current_view in CutAndPaste so we will remove
9541 all of it's using at the same time.
9543 * buffer.C (sgmlError): deactivated function till it is rewritten in
9544 the right mode, now it can create problems.
9546 * paragraph.C (isLineSeparator): check if getInset returns != 0,
9547 before accessing it.
9549 2002-03-14 Juergen Vigna <jug@sad.it>
9551 * undo_funcs.C (textHandleUndo): do the right thing when updating
9552 the inset after the undo/redo.
9554 * text2.C (setCursor): just some testcode for #44 not ready yet.
9556 * undo_funcs.C (textHandleUndo): set the next() and previous()
9557 pointers of the paragraph to 0 before deleting otherwise we have
9558 problems with the Paragraph::[destructor].
9560 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9561 on a paragraph insertion.
9563 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9565 * buffer.C (asciiParagraph): use += operator for char append to
9568 * paragraph.C (getFontSettings): compare >= not just >
9569 (highestFontInRange): ditto
9572 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9574 * paragraph.C: change several algorithm to be more appripriate for
9575 the problem domain. This is lookip in FontList and in the InsetList.
9577 2002-03-13 André Pönitz <poenitz@gmx.net>
9580 * LyXAction.C: remove unused LFUN_MATH_MACROARG
9582 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
9587 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9589 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9591 * Painter.C (display): anon helper function, adjust code for this
9593 (pixmap): remove function.
9595 * Painter.h: remove private display variable.
9597 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9599 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
9601 * WorkArea.[Ch]: remove figinset_canvas cruft.
9603 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9605 * lyxtextclass.C (operator): add one item cache optimization.
9607 * bufferlist.h: doxy changes
9609 * bufferlist.C: ws changes
9611 * DepTable.[Ch] (ext_exist): place const in the right spot.
9613 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9615 (workAreaExpose): call resizeInsets when the with BufferView changes.
9616 (Dispatch): adjust for protectedBlank removal
9617 (specialChar): call updateInset if the insert went ok.
9619 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9620 specialChar instead.
9622 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9624 * BufferView.h: doxy change
9626 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9628 * lyxtextclass.C (operator[]): remove non-const version
9629 (defaultLayout): remove non-const version
9631 2002-03-12 Juergen Vigna <jug@sad.it>
9633 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9634 did resize the LyXText too.
9636 * buffer.C (readLyXformat2): set layout information on newly allocated
9639 * tabular.C (OldFormatRead): set layout information on the paragraph.
9641 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9643 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9645 2002-03-11 Juergen Vigna <jug@sad.it>
9647 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9649 (resizeCurrentBuffer): force also the insets to resize themselfes.
9650 (moveCursorUpdate): fixed up for InsetText.
9652 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
9655 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9656 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9657 value of Dialogs::tooltipsEnabled().
9658 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9660 2002-03-08 Juergen Vigna <jug@sad.it>
9662 * BufferView_pimpl.C (updateInset): update inset inside inset also
9663 if it isn't inside theLockingInset().
9665 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9667 * buffer.C (asciiParagraph): redo some of the word and line length
9669 (getLists): look for Caption instead of caption.
9671 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9673 * buffer.C (Buffer): initialize niceFile to true
9676 (makeDocBookFile): make sure niceFile is true on exit
9678 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9680 * buffer.C (makeLaTeXFile): escape ~ in \input@path
9682 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
9684 * LyXSendto.C: remove.
9685 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9686 * lyx_gui.C: remove now-redundant comment.
9687 * ColorHandler.h: remove forward declaration of class WorkArea.
9688 * lyxfunc.C: remove #include "WorkArea.h".
9690 2002-03-07 Juergen Vigna <jug@sad.it>
9692 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9693 got moved away with the DEPM and also set the inset_owner always
9694 right which before could have been omitted.
9696 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9698 * buffer.C (parseSingleLyXformat2Token): use default layout is the
9699 wanted layout is not found.
9701 2002-03-07 Juergen Vigna <jug@sad.it>
9703 * CutAndPaste.C (cutSelection): another layout settings forgotten.
9705 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9707 * paragraph.C (breakParagraph): use default layout not layout of
9709 (Paragraph): clear ParagraphParameters.
9711 2002-03-06 Juergen Vigna <jug@sad.it>
9713 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9714 otherwise it would not be a valid lenght. Fixed a special case in
9715 the minipage compatibility read where we end the document with a
9718 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9719 was set as it could be 0 for InsetTexts first entry.
9721 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9723 * paragraph.C (writeFile): if layout is empty write out
9724 defaultLayoutName().
9726 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9727 file without named layout we set layout to defaultLayoutName().
9729 2002-03-06 Juergen Vigna <jug@sad.it>
9731 * CutAndPaste.C (copySelection): set layout for new paragraph.
9733 * text.C (prepareToPrint): leave ERT inset left aligned
9734 (leftMargin): don't indent paragraphs inside ERT insets
9736 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9738 * paragraph.C (breakParagraph): dont call clear do the work manually
9740 * paragraph.[Ch] (clear): remove function
9742 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9744 * paragraph.C (Paragraph): dont call clear, the work has already
9747 * lyxtextclass.C (operator): assert if n is empty
9749 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9750 work manually instead.
9752 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9754 * BufferView_pimpl.C: protect selectionLost against text == 0
9756 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9758 * text.C (breakParagraph): fix a setting layout to '0' problem.
9760 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9762 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9763 final location of file, for the included files, and graphics.
9765 2002-03-05 Juergen Vigna <jug@sad.it>
9767 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9769 2002-03-04 Juergen Vigna <jug@sad.it>
9771 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9773 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9774 last column of multicolumn cells.
9775 (SetWidthOfMulticolCell): recalculate NMC and real columns.
9777 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
9779 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9780 file if it doesn't go to a temporary file.
9782 * buffer.C (sgmlOpenTag):
9783 (sgmlCloseTag): remove extra newline insertion.
9785 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9787 * text.C (getRowNearY): comment out debug msg
9789 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9791 * text2.C: first -> first_y
9793 * text.C (getRowNearY): add some attemts at a possible
9794 optimization, not working.
9796 * tabular.[Ch]: add BufferParams to several function so that newly
9797 created paragraph can be initialized to he default layotu for the
9800 * tabular-old.C (ReadOld): add buf->params to call of Init
9802 * screen.C: rename text->first to text->first_y
9804 * paragraph.C (breakParagraph): always set layout in the broken
9807 * lyxtextclass.C (Read): remove lowercase
9810 (delete_layout): ditto
9812 * lyxtext.h: rename first -> first_y
9814 * lyxlayout.C (Read): remove lowercase
9817 (obsoleted_by): ditto
9819 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9821 * buffer.C (insertErtContents): add params are to InsetERT
9822 (parseSingleLyXformat2Token): add code to check if a paragraphs
9823 layout really exist.
9824 (parseSingleLyXformat2Token): add params to several inset
9826 (asciiParagraph): remove lowercase, do the layout comparisons with
9829 * BufferView_pimpl.C (cursorNext): first -> first_y
9830 (resizeCurrentBuffer): first -> first_y
9831 (updateScrollbar): first -> first_y
9832 (scrollCB): first -> first_y
9833 (workAreaMotionNotify): first -> first_y
9834 (workAreaButtonPress): first -> first_y
9835 (checkInsetHit): first -> first_y
9836 (cursorPrevious): first -> first_y
9837 (cursorNext): first -> first_y
9838 (Dispatch): add buffer_->params to severl inset contructors
9840 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9842 * lyxlayout.C (Read): remove some debug info that I forgot.
9844 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9845 clean up the code slightly.
9846 (makeLinuxDocFile): ditto
9847 (makeDocBookFile): ditto
9849 * text2.C: layout as string
9851 * text.C: layout as string
9853 * paragraph_pimpl.C: layout as string
9855 * paragraph.[Ch]: layout as string
9857 * lyxtextclasslist.[Ch]: layout as string
9859 * lyxtextclass.[Ch]: layout as string
9861 * lyxtext.h: layout as string
9863 * lyxlayout.[Ch]: layout as string
9865 * lyx_cb.C: layout as string
9867 * bufferview_funcs.C: layout as string
9869 * bufferparams.C: layout as string
9871 * buffer.C: layout as string
9873 * LyXView.[Ch]: layout as string
9875 * LaTeXFeatures.[Ch]: layout as string
9877 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9879 * BufferView_pimpl.C: change current_layout to string, remove
9884 (workAreaButtonRelease): layout as string
9886 * BufferView2.C (unlockInset): adjust
9888 * vspace.C (asLatexCommand): use an explict temp variable.
9890 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9892 * Makefile.am: use FRONTEND_*
9894 2002-03-01 Juergen Vigna <jug@sad.it>
9896 * tabular.C (SetWidthOfMulticolCell): changed to something better
9897 I hope but still work in progress.
9898 (recalculateMulticolumnsOfColumn): renamed function from
9899 recalculateMulticolCells as it is more appropriate now.
9900 (SetWidthOfCell): calculate multicols better.
9902 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9904 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9906 * lyxfunc.C (processKeySym): print sequence also if it is
9907 `deleted' (complete)
9909 * kbsequence.C (print): print sequence even if it is deleted
9910 (complete would be a better word, actually).
9912 * lyxfunc.C (dispatch): print complete options after a prefix key
9914 * vspace.C (asLatexCommand): rewrite in a slightly different form.
9916 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
9918 * text2.C (setCharFont): eliminate setCharFont code duplication.
9920 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9922 * BufferView_pimpl.C (Dispatch): remove bogus handling of
9923 LFUN_TABULAR_FEATURE (bug #177)
9925 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
9927 * Makefile.am: remove figure.h
9929 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
9931 * Bufferview_pimpl.C:
9943 * text2.C: remove #include "lyx_gui_misc.h".
9945 * LaTeX.C: added #include <cstdio>
9947 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9949 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9950 that the paragraph following this one can have.
9952 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9954 * vspace.C (asLatexCommand): fix bogus gcc warning
9956 * Makefile.am (lyx_SOURCES): remove vms_defines.h
9958 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
9960 * text2.C (setLayout): get rid of redundant code
9962 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
9964 * text2.C (incDepth): make sure depth cannot be increased beyond
9967 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
9969 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9970 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9972 * PainterBase.h (image):
9973 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9976 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9980 * BufferView_pimpl.C:
9981 * BufferView_pimpl.h:
10001 * sp_spell.C: remove fig inset, and the crap house of
10002 cards that follows it
10004 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10009 * os2_errortable.h:
10010 * nt_defines.h: move .h into support/
10012 * vms_defines.h: remove
10014 * WorkArea.C: add space in debug output
10018 * buffer.C: add WITH_WARNINGS
10022 * bufferlist.C: s/retrive/retrieve/, add docs
10031 * chset.C: add docs
10033 * lyxgui.C: add ID to X error handler
10035 * lyxtestclass.c: fix typo
10037 2002-02-26 Juergen Vigna <jug@sad.it>
10039 * tabular_funcs.C (write_attribute): changed so that some default
10040 attributes are not written at all.
10041 (getTokenValue): set default values before trying to read the
10042 value so we have the return value always set as default if we don't
10043 find the token we search for.
10045 * tabular.C (Write): write bools as bools not as strings!
10047 2002-02-22 Juergen Vigna <jug@sad.it>
10049 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10050 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10052 * text.C (leftMargin): don't add an indent for paragraphs inside
10053 tabular cells (fix #208).
10055 2002-02-21 José Matos <jamatos@fep.up.pt>
10057 * tabular.C (docBook): fixed support for long tables.
10059 2002-02-20 Juergen Vigna <jug@sad.it>
10061 * text2.C (getFont): get the drawing font of the Inset if this
10062 paragraph is inside an inset (only important for InsetERT for now).
10064 * buffer.C (insertErtContents): use new lanugage params in ERT
10067 * CutAndPaste.C: commenting out seemingly uneeded code.
10069 2002-02-19 Allan Rae <rae@lyx.org>
10071 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10072 Iterators might be simple to use but they also get invalidated.
10073 (removeAutoInsets): renamed saved cursor tracking variables and added
10074 some comments to clarify what everything does.
10076 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
10083 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10084 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10087 * vc-backend.h: remove #include "support/syscall.h"
10091 * converter.C: rearrange #includes in Lars' approved fashion.
10093 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10094 forward declare class Timeout in the header file.
10096 * XFormsView.C: changes due to the above.
10098 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10099 similar to LyXView.
10101 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10102 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10104 2002-02-18 José Matos <jamatos@fep.up.pt>
10106 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10109 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10111 * a lot of small ws changes
10112 * add a lot of using std::XXX
10113 * use std construcs some places where approp.
10114 * use some exisint stuff from lyxfunctional where approp.
10115 * Make file changes to use partial linking (lets test this now...)
10117 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10121 remove #include "support/syscontr.h" as it's redundant. Always has been.
10129 change Systemcalls::System to Systemcalls::Wait and
10130 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10131 No change of functionality, just reflects the stripped down Systemcalls
10134 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10136 * debug.[Ch]: add a GRAPHICS type to the enum.
10138 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10140 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10142 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10145 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10147 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10148 match the changes below.
10150 * text2.C (toggleInset): if there is not editable inset at cursor
10151 position, try to see if cursor is _inside_ a collapsable inset
10154 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10156 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10157 document menu has a nice checkbox
10159 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10161 * lyxlength.C (asLatexString): change PW to output as percent of
10164 * lengthcommon.C: change '%' to 't%'
10166 * lyxfunc.C (dispatch): a few comments from Martin
10168 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
10172 * BufferView_pimpl.h:
10173 * BufferView_pimpl.C: clear our selection when X tells us we've lost
10176 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10178 * vspace.C (inPixels): fix compiler warning
10180 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10182 * lyxfunc.C (getStatus): fix status message for disabled commands.
10184 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
10186 * BufferView_pimpl.C: fix crash on close buffer
10187 during selection (#227)
10189 2002-01-27 Herbert Voss <voss@lyx.org>
10191 * buffer.C: link old Figure to new graphic inset
10193 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
10195 * FontLoader.C (getFontinfo): Change the latex font names in order
10196 to match the names of type1inst.
10198 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10200 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10202 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10203 (extchanged): ditto
10205 (remove_files_with_extension): ditto
10206 (remove_file): ditto
10209 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10210 document is smaller than the work area height. Do not initialize
10211 static variables to 0.
10213 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10215 * lyx_gui.C (init): give the toolbar tooltips a normal font.
10217 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10218 LFUN_LAYOUT_PARAGRAPHS.
10220 * tabular.C (GetCellFromInset): new method. Finds an inset in a
10221 tabular. It is possible to provide a possible cell, which will
10222 typically be the actcell from the corresponding insettabular
10224 * lyxfunc.C (getStatus): small cleanup; disable
10225 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10228 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10230 * tabular.C (Validate): remove broken optimization (fixes bug #201)
10232 * paragraph.C (startTeXParParams):
10233 (endTeXParParams): new methods. The LaTeX code to
10234 start/end paragraph formatting
10235 (simpleTeXOnePar): call startTeXParParams also when paragraph is
10236 empty (fixes bug #200)
10238 * vspace.C (inPixels): adapt to the change below
10239 (inPixels): [later] more cleanups (remove unused variables)
10241 * lyxlength.C (inPixels): change to use a width and a height as
10244 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10246 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10247 Replaced with \paperwidth
10249 * DepTable.C (insert): add std:: qualifier
10251 2002-01-18 Allan Rae <rae@lyx.org>
10253 * text2.C (removeRow): add comment. Should other refresh_?? vars be
10256 * text.C (drawInset): Turned out I didn't know enough about how
10257 rebreaking worked. This fixes most of the redraw problems. I see
10258 an occasional cursor trail when a line is broken now and the cursor
10259 placement can seem out by a few pixels also after a rebreak.
10261 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10263 * buffer.C (parseSingleLyXformat2Token): update because minipage
10264 width is now a LyXLength
10266 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10268 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10271 2002-01-17 Juergen Vigna <jug@sad.it>
10273 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10275 * BufferView2.C (lockInset): call edit() so that theLockingInset()
10276 is set correctly and the inset is updated correctly.
10278 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10280 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10281 the beginning of the loop.
10283 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
10285 * lyxrc.C: improve help for use_scalable_fonts
10287 2002-01-17 Allan Rae <rae@lyx.org>
10289 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10291 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10293 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10294 make sure to set their inset_owner to the right value (bug #171)
10296 2001-12-12 Ben Stanley <bds02@uow.edu.au>
10299 * DepTable.C: Implement mtime checking to reduce time spent doing
10302 2002-01-16 Juergen Vigna <jug@sad.it>
10304 * tabular.C (GetAdditionalHeight): one of error fixed.
10306 * lyxrc.C (output): small fix in writing use_pspell.
10308 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
10310 * sp_base.h: #include LString.h
10312 2002-01-16 Allan Rae <rae@lyx.org>
10314 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
10315 Can someone check this please?
10317 * text.C (drawInset): It was possible that p.row would be removed by
10318 breakAgainOneRow upsetting a few other settings. There may be another
10319 small tweak possible by setting need_break_row = 0 when p.row has been
10320 removed but I don't know enough about the logic here.
10322 2002-01-15 Allan Rae <rae@lyx.org>
10324 * text.C (insertChar): removed conditional truism.
10326 * BufferView2.C (removeAutoInsets): More tweaks.
10327 cur_par_prev could be a stray pointer. Check for trailing empty line
10328 in case last line was cur_par and only had an error inset on it.
10330 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10332 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10335 * vc-backend.C (most methods):
10336 * exporter.C (Export):
10337 * converter.C (convert):
10339 * LyXSendto.C (SendtoApplyCB):
10340 * lyxfunc.C (dispatch):
10344 * lyx_cb.C (AutoSave):
10346 * BufferView_pimpl.C (MenuInsertLyXFile):
10347 * buffer.C (runChktex): use Buffer::filePath().
10349 * buffer.h: rename filename to filename_; rename filepath to
10350 filepath_ and make it private
10351 (filePath): new method
10353 * buffer.C (writeFile): use fileName()
10356 * lyx_main.C (init): fix starting of LyX when the binary is a
10357 link from so,ewhere else.
10359 * minibuffer.C: include <cctype> for isprint
10361 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10363 * buffer.C (parseSingleLyXformat2Token): changes associated with the
10364 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10365 name clash with InsetCollapsable's width function.
10367 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10369 * lastfiles.C: include <iterator>
10371 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10373 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10376 * buffer.C (makeLaTeXFile): ditto.
10377 Also make loop operation more transparent.
10379 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10381 * ToolbarDefaults.C: remove trailing comma closing namespace.
10383 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10385 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10388 * trans.C (Load): comment out unused variable, allowed.
10390 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10392 * minibuffer.[Ch] (append_char): new method to recieve input from the
10393 drop-down completion browser. If a key was pressed, then recieve this
10394 char and append it to the existing string.
10395 (peek_event): modify the positioning data passed to the completion
10396 browser so that it can be placed above the minibuffer rather than below.
10397 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10399 * LyXAction.C (init): alloe error-next for readonly documents.
10401 * BufferView2.C (ChangeRefsIfUnique): use standard version of
10404 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10406 * bufferlist.C (readFile): create the buffer _after_ checking that
10409 * lyxfunc.C (verboseDispatch): fix handling of arguments
10411 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10413 * lyxrc.C: use string::erase() instead of initializing to "".
10416 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10418 * BufferView_pimpl.h:
10419 * BufferView_pimpl.C:
10422 * text2.C: tell X when we have made a selection for copying
10424 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10426 * BufferView_pimpl.C (MenuInsertLyXFile):
10427 * lyxfunc.C (menuNew):
10429 (doImport): add shortcuts to directory buttons
10431 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10434 * lyxfunc.C (setStatusMessage):
10435 (getStatusMessage): new methods
10436 (getStatus):use setStatusMessage instead of setErrorMessage
10437 (dispatch): when function is disabled, set error message here
10438 [instead of in getStatus previously]
10440 * BufferView_pimpl.C (workAreaButtonRelease): update
10441 toolbar/menubar here too.
10443 2002-01-13 Allan Rae <rae@lyx.org>
10445 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10446 Now seems indestructible. Remaining task is to audit all other
10447 code affected by deleteEmptyParagraphMechanism. One small quirk
10448 left is that an empty document with an error in the preamble can
10449 be made to report an error but no error box appears. I don't know
10451 (removeAutoInsets): Improved comments.
10453 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10456 * Thesaurus.C: update for Aiksaurus 0.14
10458 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10460 * text2.C (firstParagraph): removed member function, all uses
10461 replaces with ownerParagraph
10462 (redoParagraphs): here
10463 (updateInset): here
10464 (toggleAppendix): here
10465 * BufferView2.C (insertErrors): here
10466 (setCursorFromRow): here
10468 2002-01-13 Allan Rae <rae@lyx.org>
10470 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10471 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10472 There is still a way to segfault this although you may have to do this
10473 multiple times: Have an InsetERT with an unknown command in it.
10474 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10475 <down-arrow>, <Enter> again, View->DVI, BANG!
10477 * text2.C (setCursor):
10478 (deleteEmptyParagraphMechanism):
10479 * lyxtext.h (setCursor):
10480 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10481 Making use of the return value may help fix other bugs.
10483 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10485 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10487 * LyXView.C (updateMenubar): call MenuBar::update here
10488 (updateToolbar): but not here
10489 (showState): do not update toolbar/menubar
10491 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10492 should need to care about that.
10494 * lyxfunc.C (verboseDispatch): simplify a bit
10495 (getStatus): have a version which takes a pseudoaction, and
10496 another which requires a (kb_action,string).
10498 * LyXAction.C (retrieveActionArg): make it work also when action
10499 is not a pseudo-action.
10500 (getActionName): simplify a bit
10503 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10505 * lyxfunc.C (verboseDispatch): new families of methods with
10506 several ways to specify a command and a bool to indicate whether
10507 the command name and shortcut should be displayed in minibuffer
10508 (eventually, we could extend that to a finer bitmask like
10509 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10510 (dispatch): the pristine dispatch command which just, well,
10511 dispatchs! Note it still sets its result to minibuffer; I'm not
10514 * lyxfunc.h: remove setHintMessage
10516 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10518 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10520 * BufferView_pimpl.C (specialChar): delete new inset if we have
10521 not been able to insert it.
10523 * kbmap.C: revert to using int instead of kb_action, since all we
10524 are dealing with is pseudo-actions.
10526 * LyXAction.C (searchActionArg): change to return int instead of
10527 kb_action, since the result is a pseudoaction.
10529 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
10531 * buffer.C (insertErtContents): Fix (partially) the font bug.
10533 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10535 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10536 as the other one is broken on my machine!
10538 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
10541 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10543 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
10545 * lyxrc.[Ch]: change names and descriptions of popup font variables to
10546 reflect their actual use. Provide compatibility code for older lyxrc
10549 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10551 change names of popup font variables in line with the changes to lyxrc.C
10553 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10555 * buffer.C (asciiParagraph): avoid outputing a word twice after
10558 * lyxrc.C (getDescription): document that document_path and
10559 template_path can be empty.
10561 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10563 * LaTeXFeatures.C (getMacros):
10564 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10566 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10568 * LaTeXFeatures.C (useFloat): require "float" here instead of in
10570 (getPackages): rename feature "floats" to "float". Use an array to
10571 iterate over 'simple' features (i.e. just a \usepackage). Add
10572 handling of "amsmath" (renamed from "amsstyle").
10574 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
10576 * LaTeXFeatures.C (require): Prevent duplicate entries in the
10579 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
10581 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10582 FuncStaus::FuncStatus & FuncStaus::some_method().
10584 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
10586 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10587 of the func_satus stuff. Edited and massaged in various ways by
10590 * lyxfunc.C (getStatus): use FuncStatus
10592 2002-01-08 Juergen Vigna <jug@sad.it>
10594 * text.C (nextBreakPoint): use function Inset::isChar().
10596 * paragraph.C (TeXOnePar): use function
10597 Inset::forceDefaultParagraphs.
10599 * buffer.C (latexParagraphs): use function
10600 Inset::forceDefaultParagraphs.
10602 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10604 * lyx_gui.C (init): set the style of the menu popups to
10605 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10607 2002-01-07 Juergen Vigna <jug@sad.it>
10609 * text.C (setHeightOfRow): small fix
10610 (prepareToPrint): don't look at alignment if we don't have the place
10613 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10615 * box.C: New file. Move the Box methods and functions out of box.h,
10616 following Lars' suggestion.
10618 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10620 * box.h: #include "support/LOstream.h", needed for inlined function.
10623 * lyxtextclasslist.C: added some using std declarations.
10625 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
10627 * box.h: make signed dimensions to allow insets wider than
10628 the screen (bug #162)
10630 * BufferView_pimpl.C: add some insetHit debug
10632 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
10634 * vc-backend.C: add FIXME
10636 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10638 * lyxfunc.C (getStatus): enable code for showing math font status
10641 2002-01-07 Juergen Vigna <jug@sad.it>
10643 * text.C (nextBreakPoint): removed debug output not needed anymore.
10645 2002-01-06 Juergen Vigna <jug@sad.it>
10647 * text.C (nextBreakPoint): fixed up this function we had this bug
10648 since ever but now hopefully we break row better.
10649 (insertChar): we have to check if an inset is the next char as it
10650 could now happen that a large inset is causing a break.
10652 2002-01-05 Juergen Vigna <jug@sad.it>
10654 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10655 if it doesn't like to be drawed.
10657 2002-01-04 Juergen Vigna <jug@sad.it>
10659 * BufferView2.C (lockInset): forgot to set a cursor.
10661 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10663 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
10665 * FormMathsPanel.C:
10668 * form_maths_panel.C:
10669 * form_maths_panel.h:
10670 * form_maths_panel.fd: implemented sub- and super- buttons in math
10673 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10674 (or ^ space) to be used as in TeX (req'd by André).
10676 * lyxfunc.C: Allow ^ and _ again to be used both as
10677 super/subscript (mathed) and as themselves (in text).
10679 2002-01-03 Allan Rae <rae@lyx.org>
10681 * LyXView.C (updateWindowTitle): Setup a short icon title of either
10682 "LyX" or the filename of the current buffer if it has one. This is a
10683 modified form of John Levon's patch.
10685 * XFormsView.C (setWindowTitle): also set icon title.
10687 * LyXView.h (setWindowTitle): signature changed.
10688 * XFormsView.h (setWindowTitle): ditto.
10690 2002-01-02 Juergen Vigna <jug@sad.it>
10692 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10694 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10696 * screen.C (topCursorVisible): introduce a temp var for
10697 text->cursor.row(), handle the case where this row is null. (kindo
10700 * text2.C (setCursor): add a couple of asserts.
10702 * paragraph.h (inset_iterator): add -> operator
10704 * paragraph.[Ch] (autoDeleteInsets): remove member function
10706 * BufferView2.C (removeAutoInsets): rewrite to handle the old
10707 cursor pos correctly and handle inset deletion by itself.
10708 (insertErrors): move iterator declaration out of for expression
10710 * lyxtextclass.C: add <algorithm>
10712 * Makefile.am: added the new files to sources, removed layout.C
10714 * layout.C: removed file
10716 * layout.h: remove LYX_DUMMY_LAYOUT
10718 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10722 * lyxtextclass.[Ch]:
10723 * lyxtextclasslist.[Ch]: new files
10725 * include order changes to a lot of files, also changes because of
10728 2001-12-27 Juergen Vigna <jug@sad.it>
10730 * buffer.C (asciiParagraph): more fixes.
10732 * tabular.C (ascii): make ascii export support export of only the
10733 data separated by a column-delimiter.
10734 (ascii): better support for ascii export.
10736 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10738 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10740 * tabular_funcs.C: use a "using std::getline" instead of the
10741 previous fix from Angus (necessary for cxx + lyxstring)
10743 2001-12-24 Juergen Vigna <jug@sad.it>
10745 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10747 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10748 problems. First check a minipage also if we have some ert-contents
10749 (not only on par->size(), second set the right depth of the paragraph
10750 on the relink to the root-paragraph-list!
10752 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10753 which then did not anymore update the main paragraphs on undo/redo!
10755 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10757 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10758 code. Support all font-changing funcs (even those which are not in
10759 menu currently). Support for reporting font settings in
10760 mathed (disabled until Andre provides a function on mathed's side).
10762 * func_status.h (toggle): small helper function to set toggle
10765 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
10767 * tabular_funcs.C: getline -> std::getline
10769 2001-12-21 Juergen Vigna <jug@sad.it>
10771 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10772 accessed and could be 0 (I couldn't generate this but it seems
10775 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10777 * tabular_funcs.C: add LIstream.h, move write_attribute to..
10778 * tabular_funcs.h: here and include iosfwd
10780 2001-12-20 Juergen Vigna <jug@sad.it>
10782 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10783 inside inset but undo_par was.
10785 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10787 * Thesaurus.C: always include <config.h> in sources.
10791 * box.h: do not include <config.h> in header files
10793 * text.C (paintLastRow): remove unused variable
10795 * text.C (transformChar):
10797 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10799 * Painter.C (text):
10800 * font.C (width): rewrite to use uppercase() instead of
10803 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10805 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
10807 * lyxfind.C: clean up of find failure position change
10809 2001-12-20 Juergen Vigna <jug@sad.it>
10811 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10813 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10814 (TeXRow): added to LaTeX a single tabular row.
10815 (TeXLongtableHeaderFooter): added to output LT-h/f data.
10816 (Latex): simplified and finally good LT-h/f support.
10817 (various_functions): just small adaptions for LT-h/f support.
10819 * tabular_funcs.[hC]: added and moved here all not classfunctions
10822 2001-12-19 Juergen Vigna <jug@sad.it>
10824 * tabular.[Ch]: better support for longtabular options (not finished
10827 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10829 * text.C (paintLastRow): use the label font instead of the font of
10830 the last character to compute the size of *_BOX. This makes more
10831 sense and avoids a crash with empty paragraphs.
10832 Use Painter::rectangle to draw EMPTY_BOX.
10834 2001-12-19 Juergen Vigna <jug@sad.it>
10836 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10837 the paragraphs if the replaced paragraph is not the first one!
10838 Tried to delete not used paragraphs but does not work yet so for
10839 now it's inside #ifdef's and by default off!
10841 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10843 * MenuBackend.C: include "lyx_main.h" instead of declaring
10844 lastfiles (actually was declared as LastFiles* instead of a
10847 2001-12-17 Juergen Vigna <jug@sad.it>
10849 * tabular.C (AppendColumn): applied John's fix
10851 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
10855 * BufferView_pimpl.h:
10856 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10859 * box.h: new start of class for above
10861 * lyxfunc.C: ignore space-only minibuffer dispatches.
10862 Show the command name when it doesn't exist
10864 * minibuffer.C: don't add empty lines to the history
10866 * minibuffer.C: add a space on dropdown completion
10868 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
10870 * text.C: fix line above/below drawing in insets
10872 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10874 * lyxlength.C (LyXLength): Initialize private variables.
10876 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
10878 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10879 when inserting error insets.
10881 2001-12-13 Juergen Vigna <jug@sad.it>
10883 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10884 actually sometimes the before-paragraph.
10885 (setUndo): don't clear the redostack if we're not actually undoing!
10887 2001-12-06 Juergen Vigna <jug@sad.it>
10889 * undo_funcs.C (textHandleUndo): well after John's hint I got here
10890 and fixed redoing of main paragraph, so we can use it now ;)
10892 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10894 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10896 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10899 2001-12-13 André Pönitz <poenitz@gmx.net>
10902 * undo_func.C: minor cleanup
10904 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10906 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10907 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10908 font in urw-fonts package which is marked as -urw-fontspecific and
10909 does not work (incidentally, changing the encoding in the
10910 fonts.dir of this package to -adobe-fontspecific fixes the
10913 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10914 is a crash when undoing first paragraph (Juergen, please take a
10915 look). THis does not mean the undo fix is wrong, just that it
10918 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10919 the (Paragraph*) version when needed instead of duplicating the
10922 * text.C (workWidth): use Inset::parOwner to find out where the
10923 inset has been inserted. This is a huge performance gain for large
10924 documents with lots of insets. If Inset::parOwner is not set, fall
10925 back on the brute force method
10927 * paragraph_pimpl.C (insertInset):
10928 * paragraph.C (Paragraph):
10929 (cutIntoMinibuffer): set parOwner of insets when
10930 inserting/removing them
10932 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10934 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
10940 * mathed/formulabase.C:
10941 * mathed/math_cursor.[Ch]:
10942 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10945 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10947 * lyxlength.[Ch] (operator!=): new function
10949 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10951 * text.C (workWidth): use Inset::parOwner to find out where the
10952 inset has been inserted. This is a huge performance gain for large
10953 documents with lots of insets. If Inset::parOwner is not set, fall
10954 back on the brute force method
10956 * paragraph_pimpl.C (insertInset):
10957 * paragraph.C (Paragraph):
10958 (cutIntoMinibuffer): set parOwner of insets when
10959 inserting/removing them
10961 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10963 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10965 * tabular-old.C (getTokenValue):
10966 * tabular.C (getTokenValue):
10967 (write_attribute): new versions for LyXLength
10968 (everywhere): adjust the use of widths
10970 * tabular.h: change the type of widths from string to LyXLength
10972 2001-12-11 Ben Stanley <bds02@uow.edu.au>
10974 * paragraph.C: fixed missing line number count when exporting
10975 Environments to LaTeX file
10977 * buffer.C: added informational message for checking line numbers.
10979 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10981 * text2.C (deleteEmptyParagraphMechanism): if there is only one
10982 paragraph, do the 'double space' part, but not the 'empty
10985 * text.C (workWidth): small optimization
10986 (getLengthMarkerHeight): use minimal size for negative lengths.
10988 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
10990 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10992 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10994 2001-12-11 André Pönitz <poenitz@gmx.net>
10997 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10999 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11001 * text2.C: keep selection on a setFont()
11003 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11005 * lyx_cb.C: another bv->text misuse, from insert label
11007 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11010 * kbsequence.C: re-instate nmodifier mask
11012 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
11014 * lyx_main.h: make lyxGUI private.
11016 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11018 * lyxfind.C: place the cursor correctly on failed search
11020 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11022 * text.C (getLengthMarkerHeight): for small heights, the arrows
11023 are not always on top/bottom of the text
11024 (drawLengthMarker): smaller arrows; take the left margin in
11025 account; draw also vfills.
11027 (paintLastRow): remove special code for vfill and standard spaces,
11028 since everything is handled in drawLengthMarker now.
11030 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11032 * buffer.C (insertErtContents): try to handle font and language
11033 interaction a bit better.g
11035 * ColorHandler.C (updateColor): change the hash to cover the whole
11036 LColor enum, ws cleanup
11037 (getGCLinepars): ditto
11038 (getGCLinepars): only lookup in the linecache once.
11040 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
11042 * iterators.C (operator++): Make the iterator more robust
11044 * BufferView2.C (removeAutoInsets): Use paragraph iterators
11046 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11048 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11051 * text.C: better added space drawing
11053 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11056 * BufferView2.C: fix layout combo update on inset unlock
11058 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11060 * Makefile.am: don't compile unused files
11062 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11066 * LyXAction.C: remove old LFUN_LAYOUTNO
11068 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11070 * paragraph_pimpl.h:
11071 * paragraph_pimpl.C: isTextAt() doesn't need font param
11073 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11076 * lyxlex.C: little cleanup
11078 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11080 * BufferView_pimpl.C: fix insertAscii for insets
11082 2001-12-05 Juergen Vigna <jug@sad.it>
11084 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11085 set the right font on the "multi" paragraph paste!
11087 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11093 * lyxlength.C: remove out-commented code.
11095 * BufferView_pimpl:
11109 * vc-backend.C: change "while(" to "while ("
11111 * lyxlength.[Ch]: add zero function to check if length is zero or
11113 * lyxgluelength.C: use it
11115 2001-12-05 Allan Rae <rae@lyx.org>
11117 * lyxlength.C: Attempted a fix for the abs(int) header selection.
11118 Works for 2.95.3, from what I understand of Garst's reports this should
11119 work for other g++ versions. We're screwed if the abs(int) definition
11120 changed between bugfix releases of gcc.
11122 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11124 * text.C: fix chapter label offset !
11126 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11129 * text.C: fix hfill at end of line, clean up
11131 2001-12-04 Juergen Vigna <jug@sad.it>
11133 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11134 that we force an update of the inset and it's owners if neccessary.
11136 2001-12-03 Juergen Vigna <jug@sad.it>
11138 * text.C (rowLast): simplified code
11140 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11142 * lyxfunc.C: fix show options on timeout
11144 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11146 * screen.C (topCursorVisible): scroll half a page when the cursor
11147 reached top of bottom of screen
11149 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
11151 * minibuffer.C: deactivate on loss of focus
11153 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11155 * vspace.[Ch] (operator!=): add operator.
11157 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
11159 * BufferView_pimpl.C: refuse to open an inset when
11160 there's a selection.
11162 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
11164 * BufferView_pimpl.C: allow to click on RHS of full row insets
11166 2001-11-30 Juergen Vigna <jug@sad.it>
11168 * tabular.C (LyXTabular): add a same_id to set the same id's in the
11169 insets for undo reasons.
11171 2001-11-28 André Pönitz <poenitz@gmx.net>
11173 * vspace.[Ch]: cosmetical changes
11175 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11185 * kbsequence.C: part re-write of old kb code
11188 * WorkArea.C: remove Lgb_bug_find_hack
11190 2001-11-30 José Matos <jamatos@fep.up.pt>
11192 * buffer.C (makeDocBookFile): add a comment to point a hack.
11193 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11194 Fixed a double write of labels.
11196 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11199 * LaTeX.h Fixed bug in LaTeX class where it would not
11200 re-run latex if no depfiles were changed, but the .dvi was removed.
11202 2001-11-28 André Pönitz <poenitz@gmx.net>
11204 * all the files from the change on 2001/11/26:
11205 use lyx::layout_type instead of LyXTextClass::size_type
11206 use lyx::textclass_type instead of LyXTextClassList::size_type
11208 2001-11-29 Juergen Vigna <jug@sad.it>
11210 * text.C: added support for paragraph::isFreeSpacing()
11212 * buffer.C: same as above
11214 * paragraph.h: inserted isFreeSpacing() function to enable
11215 FreeSpacing inside InsetERT.
11217 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11218 of the paragraph's in the cut/copy buffer to 0!
11220 * text2.C (removeRow): remove the assert as it can!
11222 * lyxtext.h: added helper function firstRow returning firstrow and
11223 made firstrow private again.
11225 * BufferView2.C (lockInset): don't relock if we're already locked!
11227 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11228 the only paragraph.
11229 (removeRow): added Assert::(firstrow)
11231 * debug.C: forgot to add INSETTEXT here.
11233 2001-11-28 Juergen Vigna <jug@sad.it>
11235 * sp_spell.C (initialize): changed error text to more general
11236 spellchecker command use (not only ispell!)
11238 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11240 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11242 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11244 * vspace.C: initialise lyxgluelength on failure
11246 2001-11-28 Allan Rae <rae@lyx.org>
11248 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11249 declaration & definition that looks like a function declaration.
11251 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11253 * BufferView2.C (copy):
11254 (copyEnvironment): do not clear the selection when doing a copy.
11256 * text.C (paintFirstRow): compilation fix
11258 2001-11-27 Ben Stanley <bds02@uow.edu.au>
11260 * tabular.C (Latex): correct line count when writing latex.
11262 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
11264 * paragraph_pimpl.h:
11265 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11268 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11272 * LColor.C: change vfillline->added_space
11274 * text.C: add markers and text for added space
11276 * vspace.C: fix comment
11278 2001-11-28 André Pönitz <poenitz@gmx.net>
11280 * paragraph.C: whitespace changes
11281 * all the other files from the change on 2001/11/26:
11282 change *::pos_type into lyx::pos_type
11284 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
11286 * buffer.C (parseSingleLyXformat2Token): Set the language to the
11287 language of the document when inserting error insets.
11289 2001-11-26 André Pönitz <poenitz@gmx.net>
11291 * BufferView_pimpl.[Ch]:
11299 * paragraph_pimpl.[Ch]:
11302 * text2.C: reduce header dependencies, introduce type for positions
11304 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11306 * <various>: change to use Alert.h
11308 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
11310 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11311 when encountering an unknown token.
11312 (readLyXformat2): Show an error message if there were unknown tokens.
11314 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
11317 * BufferView_pimpl.C:
11321 * text2.C: use par->isInset()
11323 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11325 * paragraph_pimpl.h:
11326 * paragraph_pimpl.C: cleanup
11328 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11330 * text2.C (removeRow):
11331 * text.C (setHeightOfRow): remove useless (and costly) call to
11334 2001-11-20 Allan Rae <rae@lyx.org>
11336 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11337 Now need Inset*::checkInsertChar() to return true for appropriate
11338 cases so that the characters in the minibuffer will actually be
11341 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11343 * text.C: change the order of the includes.
11344 (workWidth): initialize it at once.
11345 (workWidth): make maxw unsigned
11346 (setHeightOfRow): remove unused variable (inset)
11347 (selectSelectedWord): remove unused variable (inset)
11348 (paintRowText): fix drawing of hfill characters, and clean up a bit.
11350 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11352 * lyxserver.C (emergencyCleanup): do not try to close pipes if
11353 server is not running.
11355 (closeConnection): add debug info when server is disabled.
11357 * ColorHandler.C (getGCForeground): send debug message to GUI
11360 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11362 * kbmap.C (bind): modify because return conventions of
11363 kb_sequence::parse have changed.
11365 * kbsequence.C (parse): only ignore spaces and not any stupid
11366 control character. This avoids tests like s[i] <= ' ', which are
11367 guaranteed to fail with 8bit characters and signed chars.
11368 Change return code to string::npos when there have been no error
11369 (0 was a bad idea when error is at first character)
11371 2001-11-14 José Matos <jamatos@fep.up.pt>
11374 * buffer.C (simpleDocBookOnePar): removed unused argument.
11376 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11378 * text.C (selectNextWordToSpellcheck): do not test explicitely for
11379 insets which are part of a word. Paragraph::isLetter takes care of
11380 that now. Use Paragraph::isInset to identify insets.
11381 (selectSelectedWord): do not test for hyphenation break.
11383 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11384 that protected spaces are considered as spaces.
11386 * paragraph.C (isLetter): cleanup the code for ispell extras; use
11389 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
11392 * lyxserver.C: fix it. and small cleanup.
11394 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11396 * BufferView_pimpl.C: use inline helpers
11399 * LaTeXFeatures.C: fix typos
11402 * Spacing.C: move spacing_string into class
11404 * ToolbarDefaults.C: move stuff into namespace anon
11406 * layout.h: update enum
11408 * lyxfunc.C: use better debug
11410 * minibuffer.h: fix typo
11414 * WorkArea.C: add and use Debug::WORKAREA
11418 * text2.C: code re-organisation, inline helpers
11420 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
11422 * Layout.C: replaced a few cases of std::vector.size() == 0 with
11423 std::vector.empty().
11425 2001-11-09 Allan Rae <rae@lyx.org>
11427 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11428 '\n's after tables. Tabular and ERT inset work now makes this no
11431 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11434 * minibuffer.C: fix crash, improve drop-down completion
11436 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11439 * lyxserver.C: invalidate fd's when doing endPipe()
11441 2001-11-08 José Matos <jamatos@fep.up.pt>
11443 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11444 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11447 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11449 2001-11-07 José Matos <jamatos@fep.up.pt>
11452 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11455 * buffer.C (sgmlOpenTag):
11456 * buffer.C (sgmlCloseTag): removed debug info.
11458 * buffer.h (sgmlOpenTag):
11459 * buffer.h (sgmlCloseTag): made public.
11461 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11463 * buffer.C (saveParamsAsDefaults):
11464 * lyx_cb.C (MenuLayoutSave): remove
11466 * LyXAction.C (init):
11468 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11470 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11472 * buffer.C (setPaperStuff): removed from here...
11474 * bufferparams.C (setPaperStuff): ... and moved there.
11476 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11480 * XFormsView.C: add support for drop-down completion
11482 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11484 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11487 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11489 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11492 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11494 * lyx_main.C: change ref to known bugs
11496 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11498 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11499 to work around older babel problems.
11501 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11503 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11505 2001-10-24 Juergen Vigna <jug@sad.it>
11507 * tabular-old.C (ReadOld): below variable changes reflected.
11509 * tabular.[Ch]: added ltType struct for longtable header/footer
11510 defines and changed all instances where they are used. Added
11511 future support for double top/bottom rows.
11513 2001-10-24 José Matos <jamatos@fep.up.pt>
11515 * buffer.h (docbookHandleCaption):
11516 * buffer.C (docbookHandleCaption): removed unused function.
11517 (makeDocBookFile): moved docbook supported version to v4.1.
11519 2001-10-24 José Matos <jamatos@fep.up.pt>
11522 * tabular.C (docbookRow): new function to export docbook code of a row.
11523 (DocBook): now honors the longtable flags.
11525 2001-10-23 José Matos <jamatos@fep.up.pt>
11528 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11529 of the lyx defined sgml entities used in a docbook/linuxdoc document.
11531 * buffer.C (makeLinuxDocFile):
11532 (makeDocBookFile): reworked the preamble, more clean, and with
11533 support for lyx defined entities. Changed the document declaration
11534 to be more XML friendly.
11536 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11537 if we need to output XML that should be done with a filter.
11539 2001-10-22 Juergen Vigna <jug@sad.it>
11541 * sp_pspell.h (class PSpell): add alive function needed in the
11542 controller to see if the spellchecker could be started.
11544 2001-10-22 Juergen Vigna <jug@sad.it>
11546 * buffer.C (insertStringAsLines): modify the font for inserting
11547 chars in certain conditions by calling checkInsertChar(font).
11549 2001-10-19 Juergen Vigna <jug@sad.it>
11551 * text.C (workWidth): use getRow instead of wrong algorithm.
11552 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11554 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
11559 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11561 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11563 * text.C (workWidth): do not search for the exact row when
11564 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11565 optimization for big documents.
11567 2001-10-18 Juergen Vigna <jug@sad.it>
11569 * text.C (workWidth): new function with added Inset * parameter.
11571 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11573 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11575 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11576 change return type of getColumnNearX.
11579 * text.C (changeRegionCase): use uppercase/lowercase instead of
11582 (rightMargin): simplify code by factoring out the uses of
11587 (appendParagraph): use Paragraph::size_type
11589 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11591 * vspace.C (asLatexString): add a missing break
11593 2001-10-15 Herbert Voss <voss@perce.de>
11595 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11597 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11599 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11602 2001-10-10 André Pönitz <poenitz@gmx.net>
11604 * lyxfunc.C: removed greek_kb_flag.
11606 2001-10-10 Herbert Voss <voss@perce.de>
11608 * lyx_main.C: delete global string help_lyxdir.
11610 2001-10-09 Herbert Voss <voss@perce.de>
11612 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11614 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11616 * lyx_main.C: added global string help_lyxdir.
11618 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11620 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
11622 * lyxrc.C (set_font_norm_type): support iso8859-4
11624 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
11626 * LaTeX.C (deplog): add another regex for MikTeX
11628 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
11630 * lyxrc.C (set_font_norm_type): support iso8859-3
11632 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11634 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11636 * LaTeXFeatures.C: remove special case of french and index
11638 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11639 before \begin{document}). This solves several incompatibilities.
11641 2001-10-03 Garst Reese <reese@isn.net>
11643 * lyx_cb.C: change CheckTex error msg.
11645 2001-10-03 José Matos <jamatos@fep.up.pt>
11647 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11649 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11651 * .cvsignore: update
11653 * lyx_main.C (commandLineVersionInfo): use new style version info.
11655 * buffer.C (writeFile):
11657 (makeLinuxDocFile):
11658 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11660 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11662 * version.h: update to use stuff in version.C
11664 * version.C.in: new file. Contains version information determined
11665 at compile time. This is a merging of version.h and
11668 2001-10-03 Juergen Vigna <jug@sad.it>
11670 * BufferView_pimpl.C (update): don't change "dirty" status in
11673 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
11675 * WorkArea.C (c-tor): re-position version string slightly.
11677 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
11679 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11680 revert to previous code.
11682 WorkArea.[Ch]: (show, destroySplash): methods removed.
11684 WorkArea.C: rework code so that it's an amalgam of the codes before and
11685 after the splash screen was moved to WorkArea.
11687 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11690 * vspace.C (inPixels):
11693 * buffer.C (insertStringAsLines):
11694 (asciiParagraph): fix types to be large enough
11696 * lyxlex_pimpl.h: change member status from short to int
11698 * layout.h: fix type of endlabeltype
11701 * kbsequence.C (parse): change return type to string::size_type
11703 * LaTeX.C (updateBibtexDependencies): comment out unneeded
11706 * Bullet.C (bulletSize):
11707 (bulletEntry): do not use short ints as parameters
11709 * BufferView2.C (insertLyXFile): change a char to an int.
11711 * WorkArea.C (WorkArea): remove unneeded floats in computation
11713 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
11715 * buffer.C (asciiParagraph): Treat '\\' as other chars.
11717 * paragraph.C (asString): Do not ignore newline/hfill chars when
11718 copying to the clipboard.
11720 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
11722 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11723 after a multi-line inset.
11725 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
11727 * paragraph.C (validate): Set NeedLyXFootnoteCode
11729 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11731 * lyxfont.C (LyXSizeNames): changed increase-error to increase
11732 and decrease-error to decrease.
11734 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11736 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11737 it more readable (should be equivalent)
11739 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
11741 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11743 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11745 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11746 of a cursor (row, etc.) after a character has been deleted
11747 (deleteEmptyParagraphMechanism): call the method above on _all_
11748 cursors held by the LyXText when a double space has been
11751 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11753 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11755 (resizeCurrentBuff): remove code to destroy the old splash dialog.
11757 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11758 background. Use greyOut() and the new show() methods to toggle between
11759 the foreground and background. Add code to remove the splash after
11760 its initial showing.
11762 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11763 (create_forms): no longer call Dialogs::showSplash.
11765 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11767 * .cvsignore: add version_info.h
11769 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11771 * version_info.h.in: new file
11773 * Makefile.am: add version_info.h.in
11775 * lyx_main.C (commandLineVersionInfo): use version_info defined in
11776 version_info.h instead of VERSION_INFO
11778 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
11780 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11781 The ERT inset now returns string().
11783 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
11785 * lyxtext.h, text.C (selectNextWord): renamed as
11786 selectNextWordToSpellcheck.
11788 * text.C (selectNextWordToSpellcheck): Modified to not select
11789 words inside an ERT inset.
11791 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11793 * lyx_cb.C (MenuLayoutSave): change a bit the question
11795 * sp_base.h: include <sys/types.h>
11797 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
11799 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11801 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
11803 * several files: fix typos in user-visible strings
11805 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11807 * text2.C (pasteSelection): do not set the selection, since it
11808 will be cleared later. Actually, the intent was to fix the way the
11809 selection was set, but I figured rmoving the code was just as good.
11811 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
11813 * FontLoader.C (available): Check if font is available without
11816 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11818 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11820 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
11822 * lyxrc.[Ch]: added display_graphics variable and associated code.
11824 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11826 * bufferparams.C (hasClassDefaults): new method. Returns true if
11827 the buffer parameters correspond to known class defaults
11829 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
11831 * XFormsView.C (show): set minimum size to the main window.
11833 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11835 * text2.C (copySelection):
11837 * lyxfind.C (LyXReplace):
11838 * BufferView_pimpl.C (Dispatch): pass the correct flag to
11839 LyXText::selectionAsString.
11841 * paragraph.C (asString): add "label" argument to the second form
11843 * text2.C (selectionAsString): add "label" argument and pass it to
11844 Paragraph::asString.
11846 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11848 * lyx_main.C (commandLineHelp): remove version information
11850 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
11852 * lyx_main.C: add -version commandline option
11854 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11856 * paragraph.h: make the optional constructor arg required instead.
11857 some modifications to other files because of this.
11859 * minibuffer.C (C_MiniBuffer_peek_event): make it static
11861 * lyxserver.C (C_LyXComm_callback): make it static
11863 * lyx_main.C (error_handler): make it static
11865 * lyx_gui.C (LyX_XErrHandler): make it static
11867 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11869 * WorkArea.C: make the extern "C" methods static.
11871 * Makefile.am (lyx_LDADD): simplify
11873 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11875 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11876 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11878 * LyXAction.C (init):
11879 * lyxfunc.C (dispatch): associated code removal.
11881 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11883 * lyxfont.h (isSymbolFont): shut off warning
11885 * text.C (setHeightOfRow):
11886 (getVisibleRow): fix crash with empty paragraphs which have a
11889 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
11891 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11894 2001-09-04 José Matos <jamatos@fep.up.pt>
11897 * tabular.C (docbook): rename docBook method to docbook.
11899 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11901 * Makefile.am: add dependencies to main.o.
11903 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
11905 * FontLoader.C (available): Return false if !lyxrc.use_gui
11907 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
11909 * FontInfo.C (query):
11910 * converter.C (view):
11911 * importer.C (Import):
11912 * exporter.C (Export): Can not -> cannot.
11914 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
11916 * BufferView_pimpl.C: allow to create index inset even if
11919 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11921 * buffer.C (getLists): replace boost::tie code with an explicit pair
11922 as boost::tie can break some compilers.
11924 * iterators.h: Added a std:: declaration to the return type of
11927 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
11929 * lyxrc.C: add help for view_dvi_paper_option, default to safe
11932 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
11934 * iterators.[Ch]: New files. Provide paragraph iterators.
11936 * buffer.C (changeLanguage): Use paragraph iterators.
11937 (isMultiLingual): ditto
11939 * BufferView2.C (ChangeInsets): Use paragraph iterators.
11941 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
11943 * FontLoader.C: Support for cmr font.
11945 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
11947 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11948 (available): New method.
11950 * FontInfo.C (getFontname): Use scalable fonts even when
11951 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11954 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11956 * converter.C (Formats::view): reverted! Incorrect fix.
11958 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11960 * converter.C (Formats::view): only output the -paper option
11961 if the dvi viewer is xdvi, thereby fixing bug #233429.
11963 2001-08-23 Herbert Voss <voss@perce>
11965 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11967 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
11969 * Spacing.h (Spacing): Set space to Default on in the default
11972 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
11974 * vc-backend.h (RCS::versionString): add RCS to version
11975 (CVS::versionString): add CVS to version
11977 * vc-backend.C (scanMaster): do not add CVS to version.
11978 (scanMaster): do not add RCS to version
11980 * lyxvc.C (versionString): new method
11982 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11984 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11986 * Spacing.C (set): initialize fval
11988 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
11990 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11993 2001-08-16 Juergen Vigna <jug@sad.it>
11995 * lyxfunc.C (dispatch): implemented the new FINISHED states.
11997 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11999 * BufferView_pimpl.C:
12002 * text2.C: setParagraph takes linespacing now
12004 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
12006 * LyxAction.C: add internal LFUN_CITATION_INSERT
12008 * LyXView.C: actually apply fix
12010 * bufferlist.C: fix open non-existent file
12012 * lyxfind.C: fix indentation
12014 * lyxfunc.C: remove unneeded assert, fix typo
12016 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12018 * MenuBackend.C: use "Floatname List"
12020 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
12022 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12023 when converting LaTeX layout to insetERT.
12024 Generate a non-collapsed float when reading old float
12026 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12028 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12031 2001-08-13 Juergen Vigna <jug@sad.it>
12033 * text.C (fill): return 0 instead of 20 as this seems to be the more
12036 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12038 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12041 2001-08-13 Juergen Vigna <jug@sad.it>
12043 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12045 (SearchBackward): comment out the unlocking of the inset_owner this
12046 should not be needed!
12048 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
12050 * Many files: Remove inherit_language, and add latex_language
12052 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12053 collapsible insets.
12055 2001-08-10 Juergen Vigna <jug@sad.it>
12057 * text.C (prepareToPrint): fixed hfill-width in draw!
12059 * BufferView2.C (selectLastWord): save the selection cursor as this
12060 now is cleared in the function LyXText::clearSelection!
12062 2001-08-08 Juergen Vigna <jug@sad.it>
12064 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12065 BACKSPACE type functions.
12067 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12068 is only cutted from the document but not put in the cut-buffer, where
12069 still the old stuff should be.
12071 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12073 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12075 * tabular.C (SetWidthOfCell): fixed special case where the width
12077 (LeftLine): handle '|' in align_special.
12079 (LeftAlreadyDrawed): ditto
12080 (SetWidthOfCell): ditto
12082 2001-08-07 Juergen Vigna <jug@sad.it>
12084 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12086 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12088 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12089 * lyxlex.[hC]: ditto
12091 2001-08-06 Juergen Vigna <jug@sad.it>
12093 * text.C (getVisibleRow): fix up row clearing a bit.
12095 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12097 * minibuffer.C: make sure the X server sees the changes in the input.
12099 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12101 * paragraph.C (getFont): split into...
12102 (getLabelFont): this
12103 (getLayoutFont): and this
12104 * paragraph_pimpl.C (realizeFont): calling this
12106 * text2.C (getFont): split into...
12107 (getLayoutFont): this
12108 (getLabelFont): and this
12109 (realizeFont): all three calling this
12111 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12114 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12116 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12118 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
12120 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12121 layouts from the Quote inset insertion.
12123 2001-08-03 Juergen Vigna <jug@sad.it>
12125 * BufferView_pimpl.C (update): do the fitCursor only at the end!
12127 * screen.C (drawFromTo): don't call fitcursor here and do the loop
12128 only if status not is already CHANGED_IN_DRAW (second level).
12130 * text.C (draw): don't set the need_break_row when inside an
12133 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12135 * buffer.C (parseSingleLyXformat2Token): handle more latex
12138 * bufferview_funcs.[hC]: change function names to
12139 begin with small char, adjust other files.
12141 2001-08-02 André Pönitz <poenitz@gmx.net>
12144 BufferView_pimpl.C: remove broken special code for math-greek
12146 2001-08-02 Juergen Vigna <jug@sad.it>
12148 * BufferView_pimpl.C (update): redone this function so that we
12149 update the text again if there was a CHANGE_IN_DRAW.
12151 * screen.C (cursorToggle): removed LyXText parameter and recoded.
12152 (drawFromTo): added a new internal bool which is used by draw() and
12154 (general): some cursor drawing problems fixed.
12156 2001-08-01 Juergen Vigna <jug@sad.it>
12158 * lyxfind.C (LyXFind): fixed
12159 (SearchForward): ditto
12160 (SearchBackward): ditto
12162 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12163 spurius drawing of the cursor in the main area.
12165 * text2.C (status): small fix which could lead to a segfault!
12166 (clearSelection): remove unneeded BufferView param.
12168 2001-08-01 André Pönitz <poenitz@gmx.net>
12170 * lyxfunc.C: small change due to changed mathed interface
12172 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12174 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12176 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
12178 * lyxfunc.c: fail gracefully if file doesn't exist
12183 * BufferView_pimpl.C: IsDirWriteable() proto changed
12185 * LyXView.C: fix updateWindowTitle() to store the last title
12187 2001-07-31 Juergen Vigna <jug@sad.it>
12189 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12190 the font (wrong since using of Paragraph::highestFontInRange).
12192 * paragraph.C (highestFontInRange): added a default_size parameter.
12194 * text.C (getVisibleRow): minor clear row changes (still not perfect).
12195 (setHeightOfRow): reformat
12197 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12199 * converter.[hC] + affected files: move to (inital-char)lowercase
12202 * ParagraphParameters.C (ParagraphParameters): remove commented code
12204 * PainterBase.[Ch]: remove commented code
12206 * LaTeXFeatures.h: add "bool floats" for float.sty
12208 * LaTeXFeatures.C (LaTeXFeatures): init floats
12209 (require): handle float
12210 (getPackages): do it with floats
12212 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12214 * BufferView_pimpl.C (Dispatch): improve handling of
12215 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12217 * commandtags.h: #include lyxfont.h here temporarily to avoid
12220 * bufferlist.h: include LString.h here.
12222 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12224 * text2.C (getStringToIndex): new method.
12226 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
12228 * *: Reduced header file dependencies all over.
12230 2001-07-30 Baruch Even <baruch@lyx.org>
12232 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12234 2001-07-29 Baruch Even <baruch@lyx.org>
12236 * buffer.C (readInset): Changed GRAPHICS to Graphics.
12238 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12240 * ParameterStruct.h (endif): add a default constructor to make
12241 sure that all variables is initialized.
12243 * ParagraphParameters.C (ParagraphParameters): adjust
12245 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12247 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12248 index; also, check that there is something to index, and that it
12249 does not span over several paragraphs.
12250 (doubleClick): use WHOLE_WORD_STRICT for double click.
12252 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12254 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12257 2001-07-26 Baruch Even <baruch@lyx.org>
12259 * buffer.C (readInset): Changed to call up InsetGraphics when reading
12260 an InsetFig figure, backwards compatible reading of old figure code.
12262 2001-07-27 Juergen Vigna <jug@sad.it>
12264 * text2.C: font.realize function adaption.
12266 * text.C (draw): add a warnings lyxerr text if needed.
12268 * layout.C: font.realize function adaption.
12270 * language.C: add inherit_language and implement it's handlings
12272 * bufferview_funcs.C (StyleReset): remove language parameter from
12273 font creation (should be language_inherit now).
12275 * bufferparams.C (writeFile): handle ignore_language.
12277 * paragraph.C (getFontSettings): the language has to be resolved
12278 otherwise we have problems in LyXFont!
12280 * lyxfont.C (lyxWriteChanges): added document_language parameter
12281 (update): removed unneeded language parameter
12283 * paragraph.C (validate): fixed wrong output of color-package when
12284 using interface colors for certain fonts in certain environments,
12285 which should not seen as that on the final output.
12287 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
12289 * BufferView_pimpl.C:
12294 * LyXAction.C: add thesaurus support
12297 * lyxfind.C: add "once" parameter, for thesaurus, to not
12298 move to the next match
12300 2001-07-26 Juergen Vigna <jug@sad.it>
12302 * lyxfont.C (realize): honor ignore_language too!
12305 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12307 * text.C (draw): one place more for ignore_language to not draw
12310 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
12312 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12314 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12316 * buffer.C (parseSingleLyXformat2Token): a more general fix for
12317 the minipage conversion problem.
12319 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12321 * buffer.C (parseSingleLyXformat2Token): check minipage if we
12324 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12326 * BufferView.h: don't forward declare WorkArea
12328 * BufferView.C: don't include WorkArea.h
12330 2001-07-25 André Pönitz <poenitz@gmx.net>
12334 * lyxfunc.C: new LFUN 'math-space'
12336 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12338 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12340 * text2.C (toggleInset): call open/close
12342 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12344 * lyxfunc.C (dispatch): add debug for the disabled case
12346 * font.C (buttonText): make similar to rectText
12348 * buffer.C (readInset): comment out parsing of insetlist and
12351 * PainterBase.C (rectText): small correction
12353 * BufferView_pimpl.C: comment out insettheorem and insetlist
12354 * LyXAction.C: ditto
12355 * commandtags.h: ditto
12357 2001-07-24 Juergen Vigna <jug@sad.it>
12359 * text.C (draw): honor the ignore_language.
12361 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12363 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12365 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12368 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12370 * lyxtext.h: remove unused (and unimplemented) methods
12372 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12374 * text.C (getVisibleRow): honor background color
12377 * Painter.h: remove default color argument for fillRectangle
12379 * text.C (backgroundColor): new method
12381 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12383 * text.C (getVisibleRow): adjust
12385 * font.[Ch] (rectText): new method, metrics
12386 (buttonText): new method, metrics
12388 * PainterBase.[hC]: make rectText and buttonText always draw and take
12391 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12393 * ToolbarDefaults.C (read):
12394 * MenuBackend.C (read): allow escaping in all strings
12396 * BufferView_pimpl.C (insertAndEditInset): new method.
12397 (Dispatch): use insertAndEditInset whenever appropriate.
12399 * BufferView_pimpl.C (insertNote): removed
12401 * BufferView_pimpl.C (smartQuote): new method, moved from
12402 BufferView; if an insetquote cannot be inserted, insert a '"'
12405 * BufferView2.C: remove insertCorrectQuote();
12407 * lyxfunc.C (getStatus): Add support for all remaingin
12408 inset-insert lfuns.
12410 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12412 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12413 command (necessary to pass " as parameter of self-insert.
12415 * text.C (selectWordWhenUnderCursor):
12416 (selectWord): add word_location parameter
12417 (selectWordWhenUnderCursor): same + remove special code for word
12419 (selectNextWord): use kind() to guess type of insetspecialchar,
12422 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12423 (insertErtContents): create ert insets as collapsed.
12424 (readInset): better compatibility code for Info inset.
12426 2001-07-20 Juergen Vigna <jug@sad.it>
12428 * lyxfunc.C (dispatch): use always LyXFind now!
12430 * text2.C (init): add a reinit flag so that the LyXText can be
12431 reinited instead of deleted and reallocated (used in InsetText).
12433 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12439 2001-07-18 Juergen Vigna <jug@sad.it>
12441 * text.C (selectNextWord): handle insets inside inset by calling
12442 always the bv->text functions so that we can go up the_locking_inset!
12444 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12445 in strange locations when inside an inset!
12447 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12448 handling to include insets.
12450 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12452 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12454 * LyXAction.C (init):
12456 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12457 LIGATURE_BREAK, since the name is so stupid.
12459 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12461 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12464 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12466 * sp_form.[Ch]: remove.
12468 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12470 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12473 * src/buffer.C (readInset): ditto.
12475 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12477 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12478 menuSeparator(), endOfSentenceDot(), ldots() and
12479 hyphenationPoint(), which are therefore removed.
12480 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12482 * LyXAction.C (init):
12483 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12485 * paragraph.C (getWord): removed.
12487 * BufferView_pimpl.C (Dispatch): use last word or selection for
12488 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12490 * lyx_main.C (queryUserLyXDir): do not ask before creating
12491 user_dir, except if it has been named explicitely.
12493 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12495 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12496 a document of zero size.
12498 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12500 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12501 approriately in the c-tor and in require().
12502 (getPackages): output the appropriate LaTeX for natbib support.
12504 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12505 variables "use_natbib" and "use_numerical_citations" when reading the
12507 (readInset): read the various natbib cite commands.
12508 (validate): white-space change.
12510 * bufferparams.[Ch]: new variables "bool use_natbib" and
12511 "bool use_numerical_citations".
12512 (writeFile): output them in the LyX file.
12514 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12516 * lyxfunc.C (getStatus): add support for all the inset insertion
12519 * text2.C (insertInset):
12520 * paragraph.C (insetAllowed):
12521 * BufferView_pimpl.C (insertInset): update to take in account the
12522 renaming of insertInsetAllowed
12524 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12526 * text2.C (getInset): new method. returns inset at cursor position.
12528 * BufferView_pimpl.C (Dispatch): changes because of this.
12530 * LyXAction.C (init): rename open-stuff to inset-toggle.
12532 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12534 * text2.C (toggleInset): renamed from openStuff; use
12537 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
12539 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12541 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12543 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
12545 * buffer.C (readLyXformat2): Add filename to the error dialog
12547 2001-07-18 Juergen Vigna <jug@sad.it>
12549 * tabular.C (GetCellNumber): put an assert here instead of the check!
12551 2001-07-17 Juergen Vigna <jug@sad.it>
12553 * BufferView_pimpl.C (toggleSelection): adapted too.
12555 * text.C (selectNextWord): adapted for use with insets.
12556 (selectSelectedWord): ditto
12558 2001-07-17 Juergen Vigna <jug@sad.it>
12560 * sp_spell.C (PSpell): fix initialitation order.
12562 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12564 * paragraph.C: spacing
12566 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
12568 * sp_spell.C: repair language selection for pspell
12570 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12572 * lyxfunc.h: change more methods to begin with lower char.
12574 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
12576 * buffer.C (parseSingleLyXformat2Token): Generate error insets
12577 for unknown layouts.
12579 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
12581 * buffer.C (readLyXformat2): Generate an error dialog if there are
12584 2001-07-16 Juergen Vigna <jug@sad.it>
12586 * sp_spell.C: always compile ISpell part.
12588 * lyxrc.C: added use_pspell entry and it's handling.
12590 2001-07-13 Juergen Vigna <jug@sad.it>
12592 * sp_spell.C: removed double includes.
12594 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
12596 Consistent use of Lsstream.h:
12597 * Lsstream.h: added using std::stringstream for consistencies sake.
12599 * buffer.C: removed using std::stringstream
12601 * lyxfont.C (stateText):
12602 * paragraph.C (asString):
12603 * text.C (selectNextWord, selectSelectedWord):
12604 * text2.C (setCounter):
12605 * vspace.C (asString, asLatexString):
12606 std::ostringstream -> ostringstream.
12608 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12610 * LyXAction.C: add LFUN_HELP_ABOUTLYX
12611 * commandtags.h: add LFUN_HELP_ABOUTLYX
12612 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12614 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12616 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12618 * lyx_gui_misc.C: remove spellchecker
12619 * lyxfunc.C: showSpellchecker
12621 * sp_ispell.h: added
12622 * sp_pspell.h: added
12623 * sp_spell.C: added
12624 * sp_form.[Ch]: removed
12625 * spellchecker.[Ch]: removed
12627 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
12629 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12631 (simpleTeXSpecialChars): Simply print the input character without
12632 any special translation if pass_thru is set.
12634 * layout.h: Added bool pass_thru to layout class for being able to
12635 implement pass through of a paragraph for Literate Programming.
12637 * layout.C: add LT_PASS_THRU to LayoutTags enum.
12638 * layout.C (LyXLayout): set pass_thru to flase in constructor.
12639 * layout.C (Read): add "passthru" to list of layout tags and add
12640 code to set the pass_thru boolean when it is read.
12642 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12644 * trans_decl.h: remove allowed from KmodInfo
12646 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12647 remove allowed code
12650 * paragraph_pimpl.C (erase): use boost::prior
12652 * Painter.C (text): use data() instead of c_str() when length is
12654 * WorkArea.C (putClipboard): ditto
12655 * font.h (width): ditto
12657 * BufferView2.C: use it-> instead of (*it). for iterators
12659 * paragraph_pimpl.C: ditto
12660 * paragraph.C: ditto
12661 * minibuffer.C: ditto
12662 * language.C: ditto
12664 * encoding.C: ditto
12665 * counters.C: ditto
12666 * converter.C: ditto
12668 * Variables.C: ditto
12669 * TextCache.C: ditto
12670 * MenuBackend.C: ditto
12671 * LyXAction.C: ditto
12673 * FloatList.C: ditto
12674 * DepTable.C: ditto
12675 * ColorHandler.C (LyXColorHandler): ditto
12677 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12679 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12681 * text2.C (openStuff): reintroduce this method (which had been
12682 nuked in NEW_INSETS frenzy).
12684 * lyxfunc.C (Dispatch): when an action has not been handled, use
12685 its name in the error message, not its number.
12687 * paragraph.C (inInset): change method name to begin with lowercase.
12690 * text2.C: updates because of this.
12692 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12694 * ToolbarDefaults.C (add): add spaces in error message
12696 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12698 * buffer.C (readLyXformat2): initialize the ert comp. variables.
12699 (readLyXformat2): rename return_par to first_par, use lyxlex's
12700 pushToken and remove the manual push handling.
12701 (parseSingleLyXformat2Token): add another ert comp. variable:
12702 in_tabular, rename return_par to first_par. handle newlines better
12704 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12706 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12708 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12710 * text2.C (getParFromID): removed
12712 * buffer.C (getParFromID): new method moved form lyxtext.
12713 * BufferView2.C (insertErrors): adjust
12714 (setCursorFromRow): adjust
12715 * BufferView_pimpl.C (restorePosition): adjust
12716 * lyxfunc.C (Dispatch): adjust
12717 * undo_funcs.C (textUndo): adjust
12719 (textHandleUndo): adjust
12720 (textHandleUndo): adjust
12722 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12724 * buffer.C: up' the LYX_FORMAT
12726 * lyxfont.h: turn NO_LATEX on as default
12728 * buffer.C (insertErtContents): new methods of tex style compability.
12729 (parseSingleLyXformat2Token): use it several places.
12730 * tabular.C (OldFormatRead): and here
12732 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12734 * text2.C: remove some commented code.
12737 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12738 * trans.C: changes because of the above.
12740 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
12742 * text2.C (setCounter): Fix counters bug with bibliography layout.
12744 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12746 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12747 own member functions
12748 (simpleTeXSpecialChars): ditto
12750 2001-07-06 Juergen Vigna <jug@sad.it>
12752 * a lot of files: changed the access to LyXText::status and the
12753 call of undo-functions.
12755 * undo.[Ch]: added a inset_id to the undo informations.
12757 * undo_funcs.[Ch]: added and moved here all undo functions.
12759 * lyxtext.h: give the status enum a weight, made status_ a private
12760 variable and made accessor functions for it, removed the whole bunch
12761 of undo-functions as they are now in their own file, make some
12762 functions publically available. Added function ownerParagraph with
12765 * paragraph.[Ch]: added "bool same_ids" to the constructor,
12766 made InInset() a const function, added getParFromID() function.
12768 * buffer.[Ch]: added const version for inset_iterator functions,
12769 added getInsetFromID() function.
12771 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12772 changed undo functions for new version.
12774 2001-07-05 Juergen Vigna <jug@sad.it>
12776 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12777 unknow mechanism does not call the proper constructor but only this
12778 one also if I request the other!?
12780 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12782 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12784 * text2.C (LyXText): use initialization lists.
12786 * lyxtext.h (Selection): initialize set_ and mark_
12787 (init): remove method
12789 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
12791 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12793 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12795 * screen.[Ch]: change method names to begin with lowercase
12797 * BufferView_pimpl.C (updateScrollbar): simplify further and
12798 hopefully make it a bit faster.
12800 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12802 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12803 calling directly xforms functions.
12805 * Painter.C (Painter):
12806 * lyx_cb.C (MenuWrite):
12807 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12810 * lyx_gui.C: remove bogus guiruntime extern declaration.
12812 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12814 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12816 (redoDrawingOfParagraph): ditto
12817 (redoParagraphs): ditto
12818 (cutSelection): don't create a object for CutAndPaste use the
12819 static method directly
12820 (pasteSelection): ditto
12822 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12825 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12827 * modifications to some other files because of this.
12829 * Makefile.am (lyx_SOURCES): add XFormsView
12831 * XFormsView.[Ch]: new files
12833 * LyXView.[Ch]: make LyXView a base class for the gui handling for
12834 the main window. Move the gui dependent stuff to XFormsView
12836 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12838 * tabular.C (GetCellInset): update cur_cell also in the row/col
12839 version of this function.
12841 * lyxfunc.C: no need to include figure_form.h here.
12847 * lyxvc.C: no need to include forms.h here.
12849 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12851 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12853 * lyxfunc.C (Dispatch):
12855 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12856 constructor argument.
12858 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12860 * paragraph.C (Paragraph): dont't clear, and just set layout.
12861 (makeSameLayout): use params's copy contructor.
12863 * ParagraphParameters.[Ch] (makeSame): delete method
12865 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
12867 * Variables.[Ch]: fix indentation, rename set to isSet
12869 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12871 * lyxfunc.C (Dispatch): fix typo
12873 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12875 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12878 * bufferlist.C: include assert.h for emergencyWrite().
12880 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12882 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12883 give up at last (bug #425202) !
12885 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
12891 * spellchecker.C: strip spellchecker options and bring up
12892 preferences tab instead
12894 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12896 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12897 the istringstream constructor
12899 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12901 * paragraph.C (getLayout): fix return value
12903 * paragraph.h: do not declare getLayout as inline.
12905 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12907 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12909 * lyxcursor.h (operator<): new func
12910 (operator>): new func
12911 (operator>=): new func
12912 (operator<=): new func
12914 * text.C (changeCase): use selection.start and selection.end
12915 (changeRegionCase): require from to be <= to. Require par to be a
12918 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12920 2001-06-27 Juergen Vigna <jug@sad.it>
12922 * text.C (cursorLeftOneWord): changed to return the cursor and added
12923 overlay with BufferView * parameter which calls this one.
12925 (selectWord): use new getWord function.
12926 (changeCase): renamed from changeWordCase as and extended to work
12927 also on selections.
12929 * lyxtext.h: added enum word_location
12931 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12932 changeCase as this operates now also on selections.
12934 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
12936 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12938 * many files: send debug output to Debug::INFO instead of
12941 * converter.C (View):
12943 (Move): send debug output to Debug::FILES instead of console.
12945 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
12947 * lyxfunc.C (getStatus): use func_status
12949 * func_status.h: new header, describing the results of
12950 LyXFunc::getStatus;
12952 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12955 2001-06-25 The LyX Project <jug@sad.it>
12957 * buffer.C (sgmlOpenTag):
12959 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
12961 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12963 * text2.C: remove some dead code
12965 * tabular.C (GetCellInset): store the last cell checked (gotten)
12967 * tabular.h: add the helper for the speedup
12969 * lyxtext.h: remove some dead code
12971 2001-06-26 The LyX Project <Asger>
12973 * paragraph.C: Change export to LaTeX of alignment to
12974 \begin{center} and family for better roundtrip work with reLyX.
12976 * Tune the math drawing a bit.
12978 2001-06-25 The LyX Project <Asger>
12980 * LColor.C (LColor): New color for math background. New color
12983 2001-06-25 The LyX Project <jug@sad.it>
12985 * lyxfunc.C (MenuNew): remove extra check for .lyx file
12987 * lyxfunc.C (Open):
12988 * bufferlist.C (newFile): do not restrict to files ending with
12991 * BufferView_pimpl.C (MenuInsertLyXFile):
12993 2001-06-24 The LyX Project <jug@sad.it>
12995 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12998 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13000 * lyxtext.h: rename most methods to begin with a small char.
13001 Lots of changes because of this.
13003 * paragraph.C (Paragraph): do not call fitToSize
13004 (erase): call Pimpl::erase
13005 (insertChar): call Pimpl::insertChar
13006 (insertInset): call Pipl::insertInset
13007 (breakParagraph): do not call fitToSize
13008 (breakParagraphConservative): do not call fitToSize
13009 (fitToSize): remove method
13011 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13013 2001-06-24 The LyX Project <Asger>
13015 * Fix Qt compilation^2
13017 2001-06-24 The LyX Project <jug@sad.it>
13019 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13020 depthHook(getDepth()-1).
13023 * ParagraphParameters.h:
13024 * ParameterStruct.h: change type of depth to unsigned int ==
13025 depth_type. Many adaptations to other files before of that.
13027 2001-06-24 The LyX Project <Asger>
13029 * Fix Qt compilation.
13031 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13033 * paragraph.h: renamed several methods to begin with small letter.
13034 several changes to many parts of the code because of this.
13036 2001-06-23 The LyX Project <jug@sad.it>
13038 * text2.C (InsertStringAsLines): renamed from InsertStringA;
13039 rewritten to discard all double spaces when KeepEmpty is off
13040 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13041 to only handle newlines but not fiddle with spaces and friends.
13043 * lyxfunc.C (MenuNew): when doing 'new from template', use
13044 template_path as default directory
13046 2001-06-23 The LyX Project <Asger>
13048 * Clean-up of header file includes all over
13049 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13051 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13053 * paragraph.h: renamed from lyxparagraph.h
13055 2001-06-23 Asger <lyx@violet.home.sad.it>
13057 * Buffer.h: Removed Buffer::resize
13058 * BufferList.h: Removed BufferList::resize
13059 * LyXView.h: Added LyXView::resize. This way, we will only reflow
13060 the document lazily when we change the width, or the font settings.
13062 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13064 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13066 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13068 * buffer.h: remove out of date comment
13070 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13073 * screen.C: fix "theoretical" GC leak
13075 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13077 * LaTeX.C (scanAuxFile):
13078 (deplog): remove trailing \r when reading stream (useful under
13081 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
13083 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13084 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13085 and BufferView::theLockingInset(Inset*), so should use them and not
13086 access bv_->text->the_locking_inset directly.
13088 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13090 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13093 * tex-defs.h: remove old unused file
13095 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
13097 * BufferView_pimpl.C: fix typo, remove minibuffer message
13098 when buffer has loaded
13100 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13102 * lyxfunc.C (Dispatch): use stringstream
13103 (MenuNew): use stringstream
13104 (Open): use stringstream
13106 * importer.C (Import): use stringstream
13108 * bufferview_funcs.C (CurrentState): use stringstream
13110 * LaTeX.C (run): use stringstream
13112 * BufferView_pimpl.C (savePosition): use stringstream
13113 (restorePosition): use stringstream
13114 (MenuInsertLyXFile): use stringstream
13116 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
13129 * vspace.C: removed // -*- C++ -*- as first line.
13132 * version.h: added // -*- C++ -*- as first line.
13134 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13136 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13138 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13141 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13143 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13146 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13148 * gettext.C: include LString.h even when --disable-nls is on.
13150 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
13152 * converter.h (Get): changed argument type from int to
13153 FormatList::size_type to avoid unnecessary conversion.
13155 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13158 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13160 * gettext.h: include LString.h even when --disable-nls is on.
13162 2001-06-07 Juergen Vigna <jug@sad.it>
13164 * text.C (BreakAgain): subst spaces with tabs.
13166 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13167 (resizeInsetsLyXText): set force on resizeLyXText.
13169 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13171 * gettext.h (gettext_init):
13172 (locale_init): use a real definition instead of a macro
13174 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13176 * Bufferview_pimpl.C:
13178 * LColor.C: further lcolor tidies
13180 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13182 * BufferView_pimpl.C (updateScrollbar): simplify.
13184 * BufferView2.C: don't include insets/insetinfo.h, change
13185 prototype for insertInset and call the Pimpl version. let
13186 updateInset call Pimpl version.
13188 * BufferView.h: move inset_slept to BufferView::Pimpl, move
13189 gotoInset to BufferView::Pimpl
13191 2001-06-01 Juergen Vigna <jug@sad.it>
13193 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13194 inside a LockingInset (is the update needed at all?).
13196 2001-05-31 Juergen Vigna <jug@sad.it>
13198 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13199 here not the old one otherwise how should we compare it afterwards
13202 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13207 * FontInfo.C: bring C functions into global namespace when
13210 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13212 * LString.h: make sure config.h has been loaded before LString.h.
13214 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13215 (one for each char read by EatLine!).
13217 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13220 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13222 * paragraph.C (BreakParagraph): set the inset_owner in the new par
13223 to the same as the par we break from
13225 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
13227 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13229 * MenuBackend.C (expand): also create menu entries for wide
13230 versions of the floats.
13232 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13234 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13236 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13237 frontends/Makefile.am
13243 * tabular.C (getTokenValue): add std::
13245 * tabular-old.C (getTokenValue): add std::
13246 (getTokenValue): ditto
13247 (getTokenValue): ditto
13249 * screen.C (ToggleSelection): adjust
13251 * lyxtext.h: put selection cursors inside a Selection struct.
13253 * lyxfunc.C (moveCursorUpdate): adjust
13255 * lyxfont.C (latexWriteStartChanges): add std::
13257 * lyxfind.C: adjust
13259 * font.h: delete with(char const *, LyXFont const &)
13261 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13263 * FontInfo.C (getFontname): add std::
13265 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13266 (workAreaButtonPress): adjust
13267 (tripleClick): adjust
13269 (moveCursorUpdate): adjust
13272 * BufferView2.C (gotoInset): adjust
13274 2001-05-30 Juergen Vigna <jug@sad.it>
13276 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13277 to check pspell I add this as default as I now have new pspell
13278 libraries and they seem to use this.
13280 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13282 * text2.C (CutSelection): make the cursor valid before the call to
13285 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13287 * kbsequence.C (parse): de-uglify a bit the parsing code, which
13288 relied on 0 terminated strings and other horrors. Bug found due to
13289 the new assert in lyxstring!
13291 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13294 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13296 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13299 * lyxfunc.C (processKeySym): change method of getting to the
13302 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13303 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13304 * BufferView_pimpl.[Ch]: here as private methods.
13306 2001-05-28 Juergen Vigna <jug@sad.it>
13308 * text.C (SetHeightOfRow): added the update() call again as it is
13309 needed to initialize inset dimensions!
13311 2001-05-16 Juergen Vigna <jug@sad.it>
13313 * text2.C (SetCharFont): Add new function with BufferView * and
13314 bool toggleall parameters for setting insets internal fonts.
13315 (SetFont): Freeze the undo as we may change fonts in Insets and
13316 all this change should be inside only one Undo!
13318 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13319 setting font's in insets as for them we have the SetFont function!
13321 2001-05-15 Juergen Vigna <jug@sad.it>
13323 * text2.C (ClearSelection): to be sure we REALLY don't have any
13326 * tabular.C (TeXCellPreamble): fixed the left border problem for
13329 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
13331 * LaTeX.C (deplog): Make sure that the main .tex file is in the
13334 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13336 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13337 LFUN_BREAKPARAGRAPH.
13339 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13340 help test to "internal only", similar for LFUN_INSERT_URL
13342 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13343 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13344 auto_region_delete and deadkeys.
13346 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
13349 * LColor.C: remove some dead entries, tidy a little
13351 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13353 * lyxfunc.C (processKeySym): comment the Escape handling, remove
13355 (Dispatch): implement LFUN_ESCAPE
13357 * commandtags.h: add LFUN_ESCAPE
13359 * LyXAction.C (init): add entry for LFUN_ESCAPE
13361 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13362 Remove commented code.
13363 (insertNote): moved here
13364 (open_new_inset): moved here
13366 * BufferView[2].[Ch]: move insertNote and open_new_inset to
13369 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13371 * kbmap.C (findbinding): clean it up and make it work correctly.
13373 * lyx_main.C (init): do not pass argc and argv as parameters
13375 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
13377 * buffer.C: fix path for OS/2 & Win32
13381 * lyx_main.C: Added os:: class.
13383 * os2_defines.h: update
13385 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13387 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13388 better by trying again with reduced state.
13390 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13392 * lyxrc.C (read): print error about invalid key sequence only when
13393 debugging (because not all latinX keysyms are known to some X
13396 * kbsequence.C (getiso): add a few std:: qualifiers
13397 (getiso): comment out extra return statement.
13399 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
13401 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13403 (Dispatch): enhance the accent inset a bit. (not perfect)
13405 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13407 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13409 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13411 * bufferlist.C (emergencyWrite): fix assert() call
13413 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
13415 * text.C (InsertChar): Added trivial patch to only send the "you
13416 can not do multiple spaces this way" message once during a
13419 2001-05-08 Baruch Even <baruch@lyx.org>
13421 * Makefile.am: Changed order of libraries to get LyX to link properly
13422 with the gnome frontend.
13424 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13426 * LaTeXFeatures.h: add a std:: qualifier
13428 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13430 * paragraph.C (String): use stringstream
13432 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13434 * paragraph.C (writeFile): remove footflag arg
13436 * buffer.C (makeLaTeXFile): use stringstream
13437 (latexParagraphs): remove footnot gurba
13439 * LaTeXFeatures.C (getPackages): use stringstream
13440 (getMacros): likewise
13441 (getTClassPreamble): likewise
13442 (getFloatDefinitions): new method
13444 * paragraph.C (writeFile): reindent
13447 * WorkArea.h: revert the xpos + etc changes.
13449 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13451 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13453 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13454 (pasteSelection): likewise
13455 * text2.C (CreateUndo): likewise
13457 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13459 * minibuffer.C (peek_event): temporarily reduce the functionality
13460 of the minibuffer (to allow args on lfuns)
13462 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13463 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13465 * buffer.C (readInset): add compability reading of old float
13466 lists, add reading of new style float list.
13467 (readInset): avoid reevaluation of inscmd.getCmdName()
13468 (getLists): reindent
13470 * MenuBackend.C (MenuItem): implement parsing of
13471 md_floatlistinsert and md_floatinsert.
13472 (expand::LastFiles): move initalizaton of iterators out of loop,
13473 avoid reevaluation.
13474 (expand::Documents): introduce typdedef vector<string> Strings,
13476 (expand::ExportFormats): introduce typedef vector<Format const *>
13477 Formats, and use it.
13478 (expand): implement FloatListInsert and FloatInsert.
13480 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13481 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13482 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13484 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13486 (Dispatch::LFUN_FLOAT_LIST): implement
13488 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13490 * LaTeX.C (run): Fix problem with --export code.
13492 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13494 * BufferView.[Ch] (workarea): removed.
13495 (getClipboard) new method; wrapper for workarea()->getClipboard()
13497 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13500 * WorkArea.h (width, height, xpos, ypos): These methods all
13501 returned the dimensions of the work_area sub-area of WorkArea,
13502 resulting in a position error if the WorkArea were resized. Now
13503 return the dimensions of the entire WorkArea.
13505 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13507 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13509 * LaTeX.C (deplog): correct the syntax of regex reg1
13511 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13513 * undo.C: remove !NEW_INSETS cruft
13515 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13517 * text2.C: remove !NEW_INSETS cruft
13519 * text.C: remove !NEW_INSETS cruft
13521 * tabular.C: remove !NEW_INSETS cruft
13523 * spellchecker.C: remove !NEW_INSETS cruft
13525 * lyxtext.h: remove !NEW_INSETS cruft
13527 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13529 * lyxfunc.C: remove !NEW_INSETS cruft
13531 * lyxfind.C: remove !NEW_INSETS cruft
13533 * lyx_cb.C: remove !NEW_INSETS cruft
13535 * figureForm.C: remove !NEW_INSETS cruft
13537 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13539 * buffer.[Ch]: remove !NEW_INSETS cruft
13541 * ToolbarDefaults.C: remove !NEW_INSETS cruft
13543 * CutAndPaste.C: remove !NEW_INSETS cruft
13545 * BufferView_pimpl.C: remove !NEW_INSETS cruft
13547 * BufferView2.C: remove !NEW_INSETS cruft
13549 * BufferView.h: remove !NEW_INSETS cruft
13551 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13553 * Lsstream.h: include LString.h before the sstream headers to
13554 fix problem with gcc 2.95.3 and lyxstring
13556 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13558 * lyx_main.C: add using directives when needed for C functions
13559 declared in std:: namespace.
13561 2001-04-27 Juergen Vigna <jug@sad.it>
13563 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13564 (SetHeightOfRow): comment out the update call should not be needed!
13566 2001-04-13 Juergen Vigna <jug@sad.it>
13568 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13569 (LyXTabular): tried to minimize operator= operations (and realized
13570 hopfully Lars wish).
13572 2001-04-27 Juergen Vigna <jug@sad.it>
13574 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13576 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13578 * lyxfunc.C (Dispatch): hack to make listof algorithm work
13580 * buffer.C (readInset): hack to make listof algorithm work
13582 * BufferView_pimpl.C: hack to make listof algorithm work
13584 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13586 * LyXAction.C: removed all !NEW_INSETS cruft
13587 (init): moved lfun_item in method
13589 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13591 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13593 * BufferView2.C (theLockingInset): white space.
13595 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13597 * minibuffer.C: include <iostream>
13599 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13601 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13603 * commandtags.h: add LFUN_TRANSPOSE_CHARS
13605 * text.[Ch] (TransposeChars): new method
13607 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13609 * call message directly through LyXView instead of through LyXFunc
13610 * BufferView2.C: adjust
13611 * BufferView_pimpl.C: adjust
13612 * FontLoader.C: adjust
13614 * bufferview_funcs.C: adjust
13615 * converter.C: adjust
13616 * figureForm.C: adjust
13617 * importer.C: adjust
13619 * lyx_gui_misc.C: adjust
13620 * lyxfunc.C: adjust
13623 + more files in subdirs
13625 * lyxparagraph.h (size): move up int file
13628 * adjust all uses of Assert to lyx::Assert.
13630 * BufferView2.C (ChangeCitationsIfUnique): adjust for
13631 lyxfunctional in namespace lyx
13632 * layout.C (hasLayout): ditto
13635 (delete_layout): ditto
13636 (NumberOfClass): ditto
13637 * converter.C (GetFormat): ditto
13642 * bufferlist.C (getFileNames): ditto
13643 (emergencyWriteAll): ditto
13646 * MenuBackend.C (hasSubmenu): ditto
13649 * BufferView_pimpl.C (getInsetByCode): ditto
13651 2001-04-18 Juergen Vigna <jug@sad.it>
13653 * vspace.C (asLatexString): fixed the 100% problem.
13655 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13657 * lyxfunc.C (Dispatch):
13659 * minibuffer.h: add a few std:: qualifiers
13661 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13663 * minibuffer.[Ch]: reimplement so that commands is initiated and
13664 run from lyxfunc, simplified som handling, and made the completion
13665 and history code for complete. wip.
13667 * lyxfunc.C (processKeySym): call message
13668 (miniDispatch): new temporary method
13669 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13670 (LFUN_MESSAGE): implement
13671 (LFUN_MESSAGE_PUSH): implement
13672 (LFUN_MESSAGE_POP): implement
13673 (initMiniBuffer): the initial/defualt minibuffer message.
13675 * lyxfont.[Ch]: inline some more getters
13677 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13679 * lyx_gui_misc.[Ch] (WriteStatus): remove method
13681 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13682 (AutoSave): use LFUN_MESSAGE
13683 (Reconfigure): ditto
13685 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13687 * figureForm.C: use LFUN_MESSAGE
13689 * converter.C (runLaTeX): use LFUN_MESSAGE
13691 * bufferview_funcs.C: use LFUN_MESSAGE
13693 (changeDepth): ditto
13695 * bufferparams.h: use boost::
13697 * bufferlist.h: inherit privately from noncopyable
13699 * bufferlist.C (loadLyXFile): remove some commented code.
13701 * buffer.C (runChktex): use LFUN_MESSAGE
13703 * ShareContainer.h: inherit privately from noncopyable
13705 * ParagraphParameters.[hC] (depth): inline it.
13707 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13709 (message): new method
13710 (messagePush): ditto
13711 (messagePop): ditto
13712 (show): init minibuffer
13713 (showState): direct call
13715 * LaTeX.[Ch]: inherit privately from noncopyable
13716 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13717 instead of WriteStatus.
13719 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13721 * BufferView_pimpl.C (buffer): don't init minibuffer
13722 (workAreaButtonPress): use LFUN_MESSAGE
13723 (workAreaButtonRelease): ditto
13724 (savePosition): ditto
13725 (restorePosition): ditto
13726 (MenuInsertLyXFile): ditto
13727 (workAreaExpose): don't init minibuffer
13728 (update): remove commented code, simplify
13730 * BufferView2.C (openStuff): use LFUN_MESSAGE
13731 (toggleFloat): ditto
13734 (copyEnvironment): ditto
13735 (pasteEnvironment): ditto
13740 (updateInset): remove some commented code
13742 * lastfiles.h: inherit privately from noncopyable
13745 * lyx_main.h: ditto
13747 * lyxlex_pimpl.h: ditto
13749 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13750 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13751 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13753 * LyXAction.h: inherit privately from noncopyable, add methods
13754 func_begin, func_end, returning iterators to the func map.
13756 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13757 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13758 (func_begin): new method
13759 (func_end): new method
13761 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13763 (copySelection): ditto
13764 (pasteSelection): ditto
13766 * BufferView.C: whitespace change
13767 * BufferView.h: inherit privately from noncopyable
13769 2001-04-16 Allan Rae <rae@lyx.org>
13771 * tabular-old.C (l_getline):
13772 * spellchecker.C (sc_check_word):
13773 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13774 an unrecognised preprocessor directive. So ensure they're wrapped.
13776 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
13778 * src/exporter.C (Export): Give an error message when path to file
13781 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
13783 * LaTeX.C (deplog): Always check that foundfile exists.
13785 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13788 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13790 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13792 * tabular.[Ch] (getLabelList): implement new method
13794 * minibuffer.h: comment ouf setTiimer
13796 * minibuffer.C (ExecutingCB): constify res
13797 (peek_event): constify s
13798 (Set): constify ntext
13799 (Init): constify nicename
13801 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13803 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13804 (savePosition): use two params to Minibuffer::Set
13805 (restorePosition): ditto
13807 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13809 * lyx_main.C: include language.h
13811 * Makefile.am (lyx_main.o): add language.h
13813 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13819 * CutAndPaste.C: include gettext.h
13821 * lyxfont.h: remove old hack with ON and OFF.
13824 * lyxfont.h: do not include language.h...
13829 * bufferview_funcs.C:
13835 * paragraph.C: ... but do it here instead
13837 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13839 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13841 * tabular.C: small reformat
13843 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13846 (BreakParagraph): ditto
13847 (SetOnlyLayout): ditto
13850 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13853 * lastfiles.C: removed most using decl, add std:: where needed
13855 * buffer.C: ws changes
13857 * MenuBackend.C (class compare_format): put into anon namespace
13858 (expand): constify label, names, action, action2
13861 * text.C (SingleWidth): constify font
13862 (IsBoundary): constify rtl2
13863 (GetVisibleRow): constify ww
13865 * LaTeX.C (deplog): constify logfile
13867 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13869 (workAreaExpose): constify widthChange, heightChange
13871 * lyxrow.C (par): moved
13874 * lyxrow.h: as inlines here
13876 * lyxfont.h (shape): moved from lyxfont.C
13877 (emph): moved from lyxfont.C
13879 * lyxfont.C (LyXFont): use initialization list for all
13881 (shape): move to lyxfont.h as inline
13882 (emph): move to lyxfont.h as inline
13885 2001-04-04 Juergen Vigna <jug@sad.it>
13887 * vspace.C: had to include stdio.h for use of sscanf
13889 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
13892 * BufferView_pimpl.h: remove xforms cruft. Both classes are
13893 independent of xforms.
13895 2001-04-02 Juergen Vigna <jug@sad.it>
13897 * spellchecker.C: fixed namespace placing!
13899 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
13901 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13902 the LyXParagraph * is 0.
13904 2001-03-29 Juergen Vigna <jug@sad.it>
13906 * vspace.C: added support for %, c%, p%, l%.
13907 (stringFromUnit): added helper function.
13908 (asLatexString): changed to give right results for the %-values.
13910 * buffer.C: convert the widthp in a width%.
13912 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
13914 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13917 * figureForm.[Ch]: stripped the FD_from_figure manipulation
13918 code out of lux_cb.[Ch], ready for its (imminent?) removal.
13920 * lyx_cb.[Ch]: see above.
13922 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13926 * lyx.[Ch]: replaced by figure_form.[Ch].
13930 * lyxfunc.C: changed headers associated with above changes.
13932 2001-03-27 Juergen Vigna <jug@sad.it>
13934 * BufferView_pimpl.C: set the temporary cursor right!
13936 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
13938 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13940 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
13942 * LString.h: removed "using std::getline"!
13944 * BufferView_pimpl.C (Dispatch): changes due to changes in
13945 InsetInclude::Params.
13947 * buffer.C (tag_name): removed redundant break statements as they were
13948 producing lots of warnings with my compiler.
13950 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13952 * LString.h: add "using std::getline" when using the real <string>.
13954 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
13956 * buffer.C: removed bitset usage.
13957 PAR_TAG moved to an anonymous name space.
13958 (tag_name): new funtion, also in the anonymous namespace.
13959 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13960 (makeDocBookFile): clean code. Completed transition from string arrays
13962 (SimpleDocBookOnePar): code clean.
13964 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13966 * tabular.C: add some comments.
13968 2001-03-22 Juergen Vigna <jug@sad.it>
13970 * buffer.C (parseSingleLyXformat2Token): redone the minipage
13971 compatibility read a bit and fixed bug with minipage in different
13974 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
13976 * buffer.C (pop_tag): removed.
13977 (push_tag): removed.
13978 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13979 array replaced with vector. Added support for CDATA sections.
13980 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13982 (makeDocBookFile): XML conformant declaration of CDATA section,
13983 fixed bug related to <emphasis> in the first paragraph char.
13984 (sgmlOpenTag): exclude empty tags.
13985 (sgmlCloseTag): ditto.
13987 * buffer.h (pop_tag): removed.
13988 (push_tag): removed.
13990 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
13992 * language.h (Languages): added size_type and size().
13994 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13996 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13997 response on compability reading of minipages. One probliem is that
13998 the old usage of minipages was «flertydig»
14000 * several files here and in subdirs: don't use static at file
14001 scope use anon namespaces instead.
14003 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
14005 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14006 LaTeX output. This is necessary for Literate document
14009 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14011 * buffer.C: insert hfill when needed.
14013 * tabular.C (l_getline): use string::erase, small whitespace change.
14015 * BufferView_pimpl.C: try the anon namespace.
14016 * WorkArea.C: ditto
14018 2001-03-16 Juergen Vigna <jug@sad.it>
14020 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14021 otherwise it won't open options-dialogs.
14023 * buffer.C: honor pextraWidth(p) on converting minipages.
14025 * tabular.C (l_getline): changed the functions to strip trailing \r.
14027 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
14029 * BufferView_pimpl.C:
14030 * minibuffer..C: added "using SigC::slot" declaration.
14032 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14034 * lyxlex_pimpl.h: noncopyable is in namespace boost.
14040 * paragraph.C: ditto
14042 * lyxtext.h: NO_PEXTRA
14044 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14046 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14047 * ParameterStruct.h: ditto
14048 * ParagraphParameters.h: ditto
14049 * lyxparagraph.h: ditto
14051 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14053 * buffer.C: add compability for minipage alignment.
14054 (latexParagraphs): remove unwanted pextra check.
14056 * several files: remove CXX_WORKING_NAMESPACES
14058 * buffer.C (pop_tag): tie is in namespace boost
14060 * BufferView.h: noncopyable is in namespace boost
14062 * lyx_main.h: ditto
14065 * lastfiles.h: ditto
14066 * bufferlist.h: ditto
14067 * ShareContainer.h: ditto
14069 * LyXAction.h: ditto
14072 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14074 * Merging changes from BRANCH_MVC back into HEAD.
14076 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14078 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
14080 * BufferView_pimpl.C: change from intl.C
14084 * Makefile.am: move combox.*
14090 * intl.C: remove dialog (covered by prefs)
14092 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14094 * lyxfunc.C (Dispatch): removed redundant break statement.
14096 2001-03-14 Juergen Vigna <jug@sad.it>
14098 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14100 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14102 * buffer.C: add hack to fix compability reading of minipages.
14104 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
14106 * buffer.C (getLists): Cleanup.
14108 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14110 * lyxfont.C (update): don't honor toggleall on font size.
14112 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
14116 * Makefile.am: moved to frontends/xforms/
14120 * BufferView_pimpl.C: changes for moved mathpanel
14122 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14124 * gettext.h: fix gettext_init() in --disable-nls
14126 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14128 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14130 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
14133 * lyx.h: strip external form
14135 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14137 * BufferView_pimpl.C: add comment, destroySplash()
14139 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14141 * BufferView_pimpl.C:
14145 * lyxfunc.C: use re-worked insetinclude
14147 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14149 * buffer.C: add using std::stringstream.
14151 * lyx_cb.C: readd using std::ios.
14153 * buffer.C: add using std::map.
14155 * BufferView_pimpl.C: add using std::vector.
14157 * ShareContainer.h: add std:: to swap.
14159 * buffer.h: add some typedefs
14160 * buffer.C (getLists): use them
14161 (getLists): renamed from getTocList.
14162 add a counter for the different float types and use it in the
14164 (getLists): use the same counter for the NEW_INSETS and the "non"
14167 * lyx_cb.h: remove unused items, includes, using etc.
14169 * ShareContainer.h: remove some commented code, add more comments
14170 and "documentation".
14172 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14174 * buffer.C (getTocList): make the list also when NEW_INSETS is
14177 * buffer.h: remove TocType
14179 * buffer.C (getTocList): change to return a map<string,
14180 vector<TocItem> >, implement for dynamic number of list.
14182 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14183 * text2.C (PasteSelection): adjust
14184 * CutAndPaste.C (pasteSelection): adjust
14186 * FloatList.C (FloatList): update from the new_insets branch.
14187 * Floating.[Ch]: ditto
14188 * LaTeXFeatures.C: ditto
14190 * lyxlex_pimpl.C: ditto
14192 * paragraph.C (Last): remove when NEW_INSETS is defined.
14194 * other file: changes because of the above.
14196 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14198 * lyxparagraph.h: rename next to next_, previous to previous_,
14199 make them private for NEW_INSETS. Rename Next() to next(),
14200 Previous() to previous().
14202 * other files: changes because of the above.
14204 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
14207 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14210 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14212 * main.C (main): pass lyx_localedir to gettext_init().
14214 * gettext.h: remove locale_init and gettext_init macros
14216 * gettext.C (locale_init): new function
14217 (gettext_init): new function
14219 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14222 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
14224 * Moved credits to frontends:
14225 * credits.[Ch]: removed
14226 * credits_form.[Ch]: removed
14227 * lyx_gui_misc.C: remove credits stuff
14230 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14232 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14234 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14235 unneeded destructor.
14237 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14238 a standalone pointer again.
14240 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14242 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
14248 * ToolbarDefaults.C:
14257 * BufferView_pimpl.C: use new file dialog in GUII
14260 * lyx_cb.C: remove LayoutsCB to Toolbar
14262 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14264 * ShareContainer.h (get): add std:: qualifier
14266 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14268 * ShareContainer.h: define a proper ShareContainer::value_type
14269 type (and use typename to please compaq cxx)
14271 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14273 * lyxparagraph.h: move serveral local vars to
14274 ParameterStruct/ParagraphParameters., use ShareContainer in
14275 FontTable., make vars in FontTable private and add getter and
14278 * paragraph.C: changes because of the above.
14280 * lyxfont.h: remove copy constructor and copy assignment. (the
14281 default ones is ok), move number inside FontBits. move inlines to
14284 * lyxfont.C: add number to initializaton of statics, move several
14285 inlines here. constify several local vars. some whitespace
14286 cleanup. Dont hide outerscope variables.
14288 * Spacing.h: add two new constructors to match the set methods.
14290 * ShareContainer.h: new file, will perhaps be moved to support
14292 * ParameterStruct.h: new file
14294 * ParagraphParameters.h: new file
14296 * ParagraphParameters.C: new file
14298 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14299 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14301 * BufferView_pimpl.C: ParagraphParameter changes.
14302 * buffer.C: Likewise.
14303 * bufferview_funcs.C: Likewise.
14304 * text.C: Likewise.
14305 * text2.C: Likewise.
14307 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14309 * lyxfind.C (LyXReplace): do not redefine default argument in
14311 (IsStringInText): ditto
14312 (SearchForward): ditto
14313 (SearchBackward): ditto
14315 2001-03-06 Juergen Vigna <jug@sad.it>
14317 * lyxfind.C (IsStringInText): put parentes around expressions.
14319 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
14321 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14323 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
14325 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14327 * stl_string_fwd.h: add comment
14329 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14332 * tabular.C: remove unused DocBook methods
14338 killed DO_USE_DEFAULT_LANGUAGE
14340 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14342 * lyx_gui.C: do not include language.h.
14344 * bufferview_funcs.C (ToggleAndShow): do not provide optional
14345 arguments in function implementation.
14347 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14349 * BufferView_pimpl.C: add <ctime>
14351 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14353 * BufferView_pimpl.C: add using std::find_if
14355 2001-02-27 José Matos <jamatos@fep.up.pt>
14357 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14360 2001-02-11 José Matos <jamatos@fep.up.pt>
14362 * buffer.C (makeDocBookFile): command styles now have a parameter as
14363 "title" by default.
14365 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
14367 * layout_forms.[Ch]: removed
14368 * lyx_cb.[Ch]: out character
14369 * lyx_gui.C: out character
14370 * lyx_gui_misc.C: out character
14371 * bufferview_funcs.C: : out character,
14372 added toggleall as parameter in ToggleAndShow
14374 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
14376 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14378 * text2.C (SetCurrentFont): Disable number property at boundary.
14380 2001-02-26 Juergen Vigna <jug@sad.it>
14382 * lyxfunc.C (getStatus): added a string argument override function so
14383 that this is correctly called from LyXFunc::Dispatch if it contains a
14384 do_not_use_argument which is used!
14385 (Dispatch): added check for "custom" export and call appropriate func.
14387 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
14389 * lyxrc.C: Add language_command_local, language_use_babel and
14390 language_global_options.
14392 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14394 * buffer.C (makeLaTeXFile): Use language_use_babel and
14395 language_global_options.
14397 2001-02-23 Juergen Vigna <jug@sad.it>
14399 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14400 which works with LyXText and putted it inside BufferView. Here now we
14401 only call for that part the BufferView::Dispatch() function.
14403 * BufferView.C (Dispatch): added.
14405 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14406 functions which needs to use a LyXText over from LyXFunc.
14407 (MenuInsertLyXFile): added
14408 (getInsetByCode): added
14409 (moveCursorUpdate): added
14410 (static TEXT): added
14412 2001-02-22 Juergen Vigna <jug@sad.it>
14414 * BufferView_pimpl.C (update): call a status update to see if LyXText
14417 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14419 * vc-backend.C (revert): implement for CVS
14420 (getLog): implement for CVS
14422 2001-02-20 Juergen Vigna <jug@sad.it>
14424 * text2.C (ClearSelection): added BufferView param for inset_owner call
14426 * lyxfunc.C (TEXT): added this function and use it instead of
14427 directly owner->view()-text of getLyXText().
14429 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
14431 * src/layout_forms.C: out preamble
14432 * src/layout_forms.h: out preamble
14433 * src/lyx_cb.C: out preamble
14434 * src/lyx_cb.h: out preamble
14435 * src/lyx_gui.C: out preamble
14436 * src/lyx_gui_misc.C: out preamble
14437 * src/lyxfunc.C: connect with guii preamble
14439 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14441 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14443 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14445 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14446 whether to run bibtex.
14448 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14450 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14452 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14454 * Makefile.am (lyx_SOURCES): removed bibforms.h
14456 * vspace.h: doxygen
14458 * text.C (GetVisibleRow): make several local vars const
14460 * tabular.C: small cleanup.
14462 * lyxserver.C (callback): use compare instead of strncmp
14464 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14465 inlines to after class or to paragraph.C
14467 * lyxfont.h: remove friend operator!=
14469 * converter.h: move friend bool operator< to non friend and after
14472 * combox.h: small cleanup
14474 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14475 to inlines after class def.
14477 * buffer.C (pop_tag): use string operations instead of strcmp
14479 * bmtable.c: doxygen, small cleanup
14481 * LaTeX.h: remove friend operator==
14483 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14495 * BufferView_pimpl.C:
14496 * BufferView.[Ch]: remove cruft
14498 2001-02-14 Juergen Vigna <jug@sad.it>
14500 * lyxfunc.C: removed #if 0 unused code
14502 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14504 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14506 * text2.C (SetSelection): added a BufferView * parameter
14508 2001-02-13 Juergen Vigna <jug@sad.it>
14510 * lyxfunc.C (Dispatch): fixed protected blank problem.
14511 * BufferView2.C (protectedBlank): added LyxText * parameter.
14513 * tabular.C (AppendRow): forgot to set row_info of newly added row.
14514 (AppendColumn): same as above for column_info.
14516 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14517 (moveCursorUpdate): use a LyXText param for support of InsetText.
14519 * BufferView_pimpl.C (doubleClick): added support for InsetText.
14520 (tripleClick): ditto
14522 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14524 * BufferView_pimpl.C (update): added LyXText param to honor insets.
14526 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14528 * text2.C (SetSelection): set correct update status if inset_owner
14529 (ToggleFree): ditto
14531 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
14533 * tabular.C: remove some commented code.
14535 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
14537 * BufferView_pimpl.C: call hideSplash()
14539 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14542 * bibforms.h: remove
14545 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14546 add LFUN_CHILD_CREATE
14548 * counters.h: fix tiny typo
14553 * lyx.C: move splash to frontends/xforms/
14555 * lyx_gui_misc.C: move Include and Bibform to frontends
14557 * lyxvc.h: clarify comment
14559 * vspace.C: tiny housekeeping
14561 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
14563 * text.C (PrepareToPrint): RTL Fix.
14565 * paragraph.C (GetUChar): New method.
14566 (String): Use GetUChar.
14568 * buffer.C (asciiParagraph): Use GetUChar.
14570 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
14572 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14574 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
14577 * buffer.C: rename to getLogName(), handle
14578 build log / latex log nicely
14580 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14583 * MenuBackend.h: remove support for reference menuitem type.
14585 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
14587 * BufferView_pimpl.C: housekeeping
14588 * BufferView_pimpl.h:
14593 * minibuffer.h: move Timeout GUI-I
14595 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
14597 * lyxrc.C (read): Update converters data-structures.
14599 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
14601 * LaTeX.h (operator!=): add operator != for Aux_Info
14603 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
14605 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14607 * LaTeXLog.C: deleted, useful code moved to Buffer
14610 * buffer.C: new function getLatexLogName()
14616 * lyxfunc.C: use frontends for LaTeX and VC logs
14618 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14620 * LaTeX.h: yet another std:: that Allan forgot.
14622 * Variables.C (set): renamed from isset(), because this clashes
14623 with some HP-UX macros (grr).
14625 2001-02-06 Allan Rae <rae@lyx.org>
14627 * LaTeX.h: Another bug fix. Missing std:: this time.
14629 2001-02-04 Allan Rae <rae@lyx.org>
14631 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14632 floats problem. I've left it commented out because it's not quite
14633 correct. It should also test that the current object is a table or
14634 figure inset. But I haven't gotten around to figuring out how to do
14635 that. I *think* it'll be something like: "table" == inset.type()
14637 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14640 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
14642 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14643 all the citation/databases/styles in the auxilary file.
14644 (run): Rerun latex if there was a babel language error.
14646 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
14648 * text.C (Backspace): Preserve the font when changing newline char
14650 (BreakParagraph): If the cursor is before a space, delete the space.
14652 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14654 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
14656 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14657 new argument (code).
14658 (ChangeCitationsIfUnique): New method.
14660 * paragraph.C (GetPositionOfInset): Handle bibkey.
14662 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14664 * BufferView_pimpl.h: change type of Position::par_pos to
14665 LyXParagraph::size_type.
14667 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
14669 * BufferView_pimpl.C (savePosition, restorePosition): Write
14670 messages to minibuffer.
14672 2001-01-28 José Matos <jamatos@fep.up.pt>
14674 * buffer.C (makeDocBookFile): adds support for document language.
14675 A silly restriction on the name of LatexCommand types where removed.
14676 Added support for CDATA sections, allows to chars unescaped, used
14677 among others in code, to avoid escape < and >.
14679 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14681 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14682 saved positions instrad of a stack. Furthermore, a position is
14683 stored using paragraph id/paragraph position.
14685 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14686 Remove LFUN_REF_BACK.
14688 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14690 * converter.C (dvipdfm_options): New method.
14692 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
14694 * vspace.C (isValidLength): Fix for empty input string.
14696 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14698 * LyXAction.C (init): change description of LFUN_FIGURE to
14701 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14703 * LaTeX.C: add using directive
14705 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14707 * MenuBackend.C (expand): Fix the sorting of the formats.
14709 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
14711 * lyx_main.C: tiny error message fix
14713 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14715 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14716 calling fl_initialize(). This fixes the problem with ',' as
14717 decimal separator in text files.
14719 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14721 * trans.C (process): Fix the keymap bug.
14723 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
14725 * LaTeX.C (scanAuxFiles): New method. Provides support for
14726 multiple bibliographies (when using the bibtopic/bibunits pacakges).
14727 (scanLogFile) Scan for "run BibTeX" messages.
14729 * buffer.C (makeLaTeXFile): Do not load the ae package when using
14730 OT1 font encoding. Also, load the aecompl package if the ae
14733 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14735 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14737 * texrow.C (increasePos): turn two error messages into debug
14740 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
14742 * LaTeX.C (scanAux): Handle the \@input macro.
14743 (runBibTeX): Use scanAux().
14745 * language.C (latex_options_): New field.
14747 * LaTeXFeatures.C (getMacros): Add language macros.
14749 * buffer.C (makeLaTeXFile): Small fix.
14751 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14753 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14755 * text2.C: add a using directive.
14757 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
14762 * lyxfunc.C: kill LyXBell.
14764 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
14766 * text.C (IsBoundary): Remove the error message
14768 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14770 * lyxrc.C (setDefaults): Correct initialization value for
14773 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
14775 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14778 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14779 and GotoNextNote().
14781 * src/LyXAction.C: Added reference-next.
14783 * text.C (InsertChar): Use contains instead of strchr.
14785 * lyx_cb.C (MenuInsertLabel): Enable default value code.
14787 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
14789 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14790 alignment commands (when needed).
14792 * text.C (InsertChar): Add ':' to number separator chars.