1 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3 * buffer.C: increment file format to 230.
5 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
7 * cursor.C (dispatch): avoid infinite loops
9 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
11 * rowpainter.C (paintSelection): fix x coordinates
13 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
15 * text.C (rowBreakPoint): fix breaking before displayed insets
17 2004-03-01 André Pönitz <poenitz@gmx.net>
19 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
21 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
33 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
39 * BufferView_pimpl.C: rename textwidth -> maxwidth,
40 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
42 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
44 * Bidi.[Ch] (computeTables): const correctness
45 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
46 fill_hfill, fill_label_hfill and x from Row
47 * lyxtext.h: prepareToPrint returns a RowMetrics
48 * rowPainter.C: adjust
49 * text.C (prepareToPrint): use width, not textWidth. adjust
50 (redoParagraphInternal, cursorX): adjust
51 * text2.C (getColumnNearX): adjust
52 (init): put a default value to the top LyXText::width
54 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
56 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
58 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
60 * lyxtext.h: add FontIterator class
62 * text.C (FontIterator, operator*, operator->, operator++): add
63 (rowBreakPoint, setRowWidth): adjust (fixing a
66 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
68 * BufferView_pimpl.C (workAreaDispatch): allow also
69 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
71 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
73 * text.C (rowBreakPoint): fix a bug showing with very large insets
75 2004-02-25 André Pönitz <poenitz@gmx.net>
78 * cursor.[Ch]: move some mathed specific code to mathed
80 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
82 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
83 use_tempdir in preferences
84 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
86 * lyx_main.C: ensure that tempdir is valid
87 * lyxlex.h: correct typo
88 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
89 * paragraph.[Ch] (isMultiLingual): make const
90 * cursor.[Ch] (openable): make const
92 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
94 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
96 2004-02-20 André Pönitz <poenitz@gmx.net>
98 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
100 * cursor.[Ch]: prepare for localized getStatus()
106 * text3.C: streamlines the LyXText cursor movement handlers a bit.
108 2004-02-20 André Pönitz <poenitz@gmx.net>
110 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
112 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
114 * text2.C (setCursorFromCoordinates): switch to absolute coords
117 * text3.C (dispatch): adjust
119 2004-02-16 André Pönitz <poenitz@gmx.net>
121 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
124 * cursor_slice.[Ch]: remove unneeded acessor function
126 * lyxtext.h: rename rtl() to isRTL()
134 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
136 * rowpainter.C (paintSelection): coord fix
138 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
140 * Spacing.C: compile fix
142 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
144 * cursor.C (dispatch): restore current_ before returning
146 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
148 * text2.C (cursorUp, cursorDown): fix coords
151 2004-02-12 André Pönitz <poenitz@gmx.net>
156 * text3.C: add LCursor & parameter to most cursor movement functions
157 remove usage of LyXText::cursorRow() and cursorPar()
159 * cursor.[Ch]: add textRow() needed members
162 * BufferView_pimpl.C:
165 * BufferView_pimpl.C: adjust
167 2004-02-11 André Pönitz <poenitz@gmx.net>
171 * BufferView_pimpl.C: shift undo/redo handling
173 * cursor.[Ch]: fix mathed crash
176 * lyxtext.h: move selectionAsText to LCursor
184 * rowpainter.C: fix excessive drawing
186 2004-02-06 André Pönitz <poenitz@gmx.net>
189 * BufferView_pimpl.[Ch]:
190 * text3.C: move some text specific LFUN handling
192 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
194 * text3.C (checkInsetHit): adjust coords
195 * text2.C (getColumnNearX): adjust coords
196 (edit): adjust coords
197 * text.C (getRowNearY): add two asserts
199 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
202 * format.C: add using std::distance to compile on gcc 2.95/stlport
204 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
206 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
208 2004-02-04 André Pönitz <poenitz@gmx.net>
210 * BufferView.[Ch] (insertInset):
211 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
216 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
218 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
219 on the default clause of the switch
220 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
221 wasn't catched by LCursor::dispatch
223 2004-02-03 André Pönitz <poenitz@gmx.net>
226 * cursor.[Ch]: some additional asserts
228 * undo.[Ch]: remove LyXText dependency in interface
232 * lyxtext.h (firstPar, lastPar): remove dead functions
237 * paragraph.[Ch]: adjust
239 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
241 * lyxfind.C (find): fix argument order in call to ::find
243 2004-02-02 André Pönitz <poenitz@gmx.net>
245 * cursor.[Ch]: remove direct access to anchor
247 * text.C: remove findText() hack
249 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
251 * iterators.[Ch] (lockPath): remove in favour of...
252 * BufferView.[Ch] (setCursor): this addition
253 * BufferView.C (putSelectionAt): adjust
254 * undo.C (performUndoOrRedo): adjust
255 * lyxfunc.C (dispatch): adjust
257 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
259 * iterators.C (lockPath): add a missing slice
260 * undo.C (performUndoOrRedo): remove redundant positioning code
262 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
264 * vc-backend.C (scanMaster): ";" -> ';'
266 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
268 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
271 * lyxtextclass.C (compare_name): rename to...
272 (LayoutNamesEqual): ...this
274 * lyxlex_pimpl.C (compare_tags): inherit from
275 std::binary_function, put back into anon namespace
277 * lyxfind.C (MatchString): inherig from std::binary_function
278 (findChange): use empty() istead of !size()
280 * format.C (FormatNamesEqual): new functor
287 * converter.C (compare_Converter): rename to...
288 (ConverterEqual): ...this, and fixup a bit.
289 (getConverter): use it, and make function const
290 (getNumber): use it, and make function const
294 * bufferlist.C: add using boost::bind
296 * MenuBackend.C (MenuNamesEqual): new functor
297 (hasMenu): use it, and make function const
298 (hasSubmenu): use nested bind to get rid of compare_memfun.
300 2004-01-30 André Pönitz <poenitz@gmx.net>
302 * BufferView_pimpl.C:
313 * text3.C: move some of the edit(x,y) handling to the insets
314 some coordinate changes.
316 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
318 * text.C: add using statements for std::advance and std::distance
320 * paragraph.C: add using statement for std::distance
322 * lyxfind.C: add using statement for std::advance
324 * cursor.C (region): remove std:: from swap
325 (openable): use nucleus in stead of operator->
327 * BufferView.C: add using statements for std::distance and std::swap
329 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
331 * iterators.C: Remove the pimple, move the needed structures to
332 the header file. Create accessor for the positions stack.
333 (asPosIterator): remove function
335 * PosIterator.C (PosIterator): move constructors to top of file
336 (PosIterator): reimplement the constructor taking a ParIterator in
338 (setFrom): new function
339 (operator!=): inline it
341 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
343 * lyxfind.C (replaceAll): use std::advance
345 * iterators.h: inherit from std::iterator.
347 * PosIterator.C (advance, distance): remove
348 * PosIterator.h: interit from std::iterator.
350 2004-01-26 André Pönitz <poenitz@gmx.net>
353 * BufferView_pimpl.[Ch]:
357 * bufferview_funcs.C:
368 * output_plaintext.C:
370 * paragraph_funcs.[Ch]:
371 * paragraph_pimpl.[Ch]:
377 * text3.C: more IU: dumps most of the rest of the mathcursor
378 implementation into cursor.[Ch]; "globalize" a bit of it.
380 2004-01-25 Angus Leeming <leeming@lyx.org>
382 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
384 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
386 * LaTeXFeatures.h: add nice_ and nice() const
387 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
389 2004-01-20 André Pönitz <poenitz@gmx.net>
392 * BufferView_pimpl.C:
394 * bufferview_funcs.C:
407 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
408 LCursor and mathcursor parts to LCursor and InsetBase.
410 2004-01-15 André Pönitz <poenitz@gmx.net>
412 * cursor_slice.[Ch]: add a few covienience functions
414 * funcrequest.[Ch]: remove BufferView * member
416 * BufferView_pimpl.C:
423 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
425 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
427 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
428 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
430 2004-01-13 André Pönitz <poenitz@gmx.net>
433 * lyxtext.h: hide cursor and selection anchor behind accessor function
436 * BufferView_pimpl.[Ch]:
438 * bufferview_funcs.C:
448 * cursor_slice.[Ch]: some integer type changes for inset unification
450 * lyxcursor.[hC]: remove, it's CursorSlice now.
453 * BufferView_pimpl.[Ch]:
454 * bufferview_funcs.C:
460 * textcursor.[Ch]: adjust
462 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
464 * text2.C (undoSpan): add and use
465 * text.C (breakParagraph): use undoSpan (fix bug 578)
468 2004-01-08 Angus Leeming <leeming@lyx.org>
470 * BufferView_pimpl.C (MenuInsertLyXFile):
471 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
472 * lyxfunc.C (menuNew, open, doImport):
473 FileFilterList change to the FileDialog open and save functions.
475 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
477 * ShareContainer.h: make isEqual and isUnique adaptable
479 * CutAndPaste.C: make resetOwnerAndChanges adaptable
481 2004-01-07 Angus Leeming <leeming@lyx.org>
484 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
486 * BufferView_pimpl.C (dispatch): act on these LFUNs.
488 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
489 functions replacing find, replace and replaceAll.
491 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
492 LFUN_WORDFIND(FORWARD|BACKWARD).
494 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
496 * text.C (breakParagraph): remove an outdated #warning
498 2004-01-07 André Pönitz <poenitz@gmx.net>
500 * lyxfind.C: somewhat clearer logic
502 * text.C: prevent crash in cursorX on unitialized row cache
504 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
506 * lyxcursor.[Ch] (operator>): add
507 * textcursor.C (selStart, selEnd): use std::min and std::max
509 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
511 * Chktex.C: include boost/format.hpp
513 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
515 * InsetList.C: replace functor MathcIt with adaptable functor
517 (insetIterator): modify accordingly
519 * BranchList.h: move the BranchNamesEqual functor here from...
520 * BranchList.C: ... to here
522 * BranchList.C: new BranchListEqual fuctor, use it. Remove
524 (add): replace a finding loop with std::find_if.
526 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
528 * output_docbook.C: moving LatexParam functionality into
531 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
533 * buffer.C: increment format to 229.
535 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
538 * lyx_sty.[Ch]: remove minipageindent_def
544 * text3.C: remove LFUN_INSET_MINIPAGE
546 2003-12-28 Angus Leeming <leeming@lyx.org>
548 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
550 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
552 * text2.C (setParagraph): fix off-by-one crash
554 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
556 * output_docbook.C: header stuff for AGU
558 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
560 * text2.C (redoCursor): remove
563 * BufferView_pimpl.C: remove calls to redoCursor and
564 setCursor(cursor.par(), cursor.pos()) all around
566 2003-12-15 Angus Leeming <leeming@lyx.org>
568 * buffer.C: up the format to 228.
570 2003-12-15 André Pönitz <poenitz@gmx.net>
572 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
577 * BufferView_pimpl.C:
586 2003-12-15 Angus Leeming <leeming@lyx.org>
588 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
589 than getFromGUIName to manipulate the color.
591 2003-12-14 Angus Leeming <leeming@lyx.org>
593 * BranchList.[Ch]: minimize the API.
594 (Branch::getBranch, getColor): now return a 'const &'.
595 (Branch::setSelected) now returns a bool set to true if the
596 selection status changes.
597 (BranchList::clear, size, getColor, setColor, setSelected,
598 allBranches, allSelected, separator): removed.
599 (BranchList::find): new functions, returning the Branch with
601 (BranchList::add, remove): return a bool indicating that
602 the operation was successful.
604 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
605 new InsetBranch::isBranchSlected member function.
607 * LColor.[Ch]: mimimize the API.
608 (fill): renamed as addColor and made private.
609 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
610 versions of these functions taking a string arg have been removed.
612 * bufferparams.C (readToken):
613 * lyxfunc.C (dispatch):
614 * lyxrc.C (read): changes due to the altered BranchList and
617 * factory.C (createInset, readInset): changes due to altered
620 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
623 * lyxfunc.C: remove insetminipage. "minipage-insert"
624 now produces a frameless minipage box inset.
626 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
628 * textcursor.[Ch] (selStart,selEnd): add new methods
629 remove selection::start, end, use LyXCursor::operator<
630 * lyxcursor.[Ch] (operator<): add
631 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
632 * BufferView.[Ch] (unsetXSel): add
633 * text2.C (clearSelection): use unsetXSel,adjust
636 * rowpainter.C: adjust
637 * bufferview_funcs.C (put_selection_at): adjust
639 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
641 * BufferView_pimpl.C: small coord. correction
643 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
645 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
646 dragging over the splash screen.
648 2003-12-11 Angus Leeming <leeming@lyx.org>
650 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
651 as it is now handled in LyXText::dispatch.
653 * text3.C (doInsertInset): remove a level of nesting.
655 2003-12-11 Angus Leeming <leeming@lyx.org>
657 * factory.C (createInset): changes due to the changed interface to
658 InsetCommandMailer::string2params.
660 2003-12-10 Angus Leeming <leeming@lyx.org>
662 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
663 'dialog-show-new-inset <inset name>'
665 2003-12-10 Angus Leeming <leeming@lyx.org>
667 * buffer.C: up the format to 227.
669 * factory.C: the box inset is now identified simply by 'Box'.
671 2003-12-10 Angus Leeming <leeming@lyx.org>
673 * buffer.C: up the format to 226.
675 * factory.C: the note inset is now identified simply by 'Note'.
677 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
679 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
680 when a pit is enough. Standarize a couple of loops.
682 2003-12-05 Angus Leeming <leeming@lyx.org>
684 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
685 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
686 data to the re-worked "log" dialog.
688 2003-12-03 André Pönitz <poenitz@gmx.net>
696 * text2.C: use Inset::getText instead of Inset::getParagraph
698 2003-12-03 André Pönitz <poenitz@gmx.net>
702 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
703 InsetText::read() as LyXText::read()
705 2003-12-02 Angus Leeming <leeming@lyx.org>
707 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
708 type. Add a comment in the implementation that the function uses
709 the stream's bad() function rather than fail() as the std::streams
712 2003-12-02 André Pönitz <poenitz@gmx.net>
714 * lyxlex.[Ch]: make interface more similar to std::stream
716 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
718 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
720 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
722 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
724 * vspace.[Ch]: remove VSpace::NONE
726 2003-12-01 André Pönitz <poenitz@gmx.net>
729 * lyxtext.h: move ParagraphList member to LyXText
730 rename LyXText::ownerParagraphs to LyXText::paragraph
733 * bufferview_funcs.C:
743 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
745 * undo.C: fix cursor positioning
747 2003-12-01 John Levon <levon@movementarian.org>
749 * BufferView_pimpl.C: fix a crash on exit with
752 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
754 * BranchList.C: fix setSelected() method.
756 2003-11-28 André Pönitz <poenitz@gmx.net>
758 * ParagraphParameters.[Ch]:
759 * ParameterStruct.h: remove space above/below from Paragraph to
762 * BufferView_pimpl.C:
774 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
776 * factory.C: Syntax change for CharStyles
778 2003-11-28 André Pönitz <poenitz@gmx.net>
783 * buffer.[Ch]: move LyXText member
785 2003-11-28 André Pönitz <poenitz@gmx.net>
787 * BufferView.[Ch]: make LyXText * text a private member
789 * BufferView_pimpl.C:
800 * output_plaintext.C: cleanup
802 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
805 * lyxtextclass.[Ch]: parametrize SGML document header
807 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
810 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
813 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
815 * text2.C (setFont): rework using PosIterator (no more recursive)
816 (setCharFont): no more needed
817 (setLayout): no more selection cursors fiddling (done by redoCursor)
818 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
819 destroy remaining ones)
821 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
823 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
825 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
828 * text3.C: adjust + re-allow multi par depth changes
829 * textcursor.C: simplify a bit
831 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
837 * src/output_docbook.C:
838 * src/output_latex.C:
843 * src/text2.C: Introducing a number of tags parametrizing various
844 XML formats that we may want to support
846 2003-11-25 André Pönitz <poenitz@gmx.net>
848 * InsetList.[Ch] (begein, end): inline as suggested by profiler
850 * lyxtext.h (leftMargin/rightMargin): simplify interface
857 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
859 * lyxfunc.C (dispatch): propogate the bibtex databases from the
860 master file to any child files. Fixes bug 546.
862 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
864 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
866 2003-11-24 André Pönitz <poenitz@gmx.net>
868 * rowpainter.C: simplification
870 * text2.C (updateCounters): remove call to redoParagraph on
871 changed labels as this is far too expensive.
873 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
875 * converter.C (convert): fix a crash: this function gets
876 called with buffer == 0 from importer code.
878 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
880 * text3.C (cursorPrevious): make sure that we do not compare
881 iterators form different containers.
884 * rowpainter.C (paintSelection): make sure that we do not compare
885 iterators from different containers.
887 * text3.C (dispatch): [PRIOR] make sure that we do not compare
888 iterators from different ParagraphList containers.
891 * text2.C (LyXText): change order of initialization slightly
892 (operator=): new function. copy all variables except cache_par_
893 (moveUp): make sure that we do not compare iterators from
894 different ParagraphList constainers.
897 * text.C (firstPar): new function
898 (lastPar): new function
899 (endPar): new function
901 * lyxtext.h: move things around and group public functions, public
902 variables, private functions, private variables
904 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
906 * factory.C: change call to InsetERT constructor to avoid
907 additional invocation of method status
908 * text2.C (toggleInset): remove redundant update() call
909 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
910 instead of a Bufferview pointer
912 2003-11-21 André Pönitz <poenitz@gmx.net>
914 * rowpainter.C: simplification
916 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
918 * text3.C (dispatch): make possible to extend a word/row selection
921 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
923 * lyxtext.h: x0_,y0_ -> xo_,yo_
924 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
925 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
926 * rowpainter.C (paintRows): paint full paragraphs
928 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
930 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
933 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
935 * lyxtext.h: add x0_, y0_
936 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
937 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
939 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
941 * text2.C (setCursorIntern): move the x_target update here *
942 * text3.C: change some bv() to true/false in calls to
943 cursorUp/Down/Right/Left
944 * cursor.C: use helper function.
946 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
948 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
949 * paragraph_funcs.[Ch]: correct comment
950 * rowpainter.C: do not paint selections away from bv->cursor()
951 Fix a long standing selection painting bug.
952 * text3.C: generalize mouse-selection code to LyXTexts other that
954 * textcursor.C: do not use y coords if we can use par offsets
956 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
958 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
959 cursor position after e.g. inset insert)
961 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
963 * lyxfind.C (replace): adjust to locking removal + some
966 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
968 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
971 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
974 * output_docbook.C: XML sanitation: new layout
975 parameters InnerTag and CommandDepth
977 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
979 * BufferView_pimpl.C:
981 * text3.C: Fix the insertion and modification of button-style
984 2003-11-13 André Pönitz <poenitz@gmx.net>
986 * InsetList.[Ch]: remove deleteLyXText
988 * paragraph.[Ch]: cache beginOfBody position
993 * text3.C: remove superfluous update() calls
997 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
999 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1000 * BufferView.C (fitLockedInsetCursor): remove
1001 * cursor.[Ch] (getDim): add
1002 * text.C (getRowNearY): add faster version
1003 * text3.C: remove some update calls
1005 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1017 * text3.C: The Character Style /XML short element patch.
1019 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
1022 * factory.C: Small step to solving 'unable to insert some insets'
1025 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1027 * cursor.[Ch] (updatePos): new function for updating the y
1028 position of the tip inset
1029 * bufferview_funcs.C (put_selection_at):
1030 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1032 2003-11-11 André Pönitz <poenitz@gmx.net>
1034 * text.C: remove big comment on invalid Paragraph pointers as it is
1037 2003-11-11 André Pönitz <poenitz@gmx.net>
1039 * text_funcs.[Ch]: merge with ...
1047 * Makefile.am: remove text_funcs.[Ch]
1049 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1051 * cursor.C (getPos): return absolute cached y coord
1053 * BufferView_pimpl.C (fitCursor): new simplistic code
1054 (workAreaDispatch): add a fitCursor call
1056 2003-11-10 André Pönitz <poenitz@gmx.net>
1059 * BufferView_pimpl.[Ch]: merge update() and updateInset()
1061 2003-11-10 André Pönitz <poenitz@gmx.net>
1063 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1064 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1065 indicate that the cursor needs to leave an inset
1067 * lyxtext.h: remove inset locking
1069 * cursor.[Ch]: re-implement functionality provided by inset locking
1072 * BufferView_pimpl.[Ch]:
1074 * bufferview_funcs.[Ch]:
1086 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1088 * PosIterator.[Ch]: replace the stack with a vector, add inset
1090 * iterators.[C]: adjust
1092 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1094 * lyxfind.C (replaceAll): mark the buffer dirty if something was
1096 * paragraph_funcs.C (readParToken): put the correct id in the
1097 error item, not the id of the top paragraph
1099 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1101 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1102 * bufferview_funcs.C (put_selection_at): use the above
1104 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1106 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1108 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1110 * output_linuxdoc.h:
1111 * output_plaintext.h:
1113 * output_docbook.h: add #include statements
1115 2003-11-05 José Matos <jamatos@lyx.org>
1117 * output_docbook.[Ch]:
1118 * output_latex.[Ch]:
1119 * output_linuxdoc.[Ch]:
1120 * output_plaintext.[Ch]: New files for output formats.
1121 * output.[Ch]: New file for helper functions.
1124 * paragraph_funcs.[Ch]: output functions moved to new files.
1126 * outputparams.h: rename of latexrunparams.h
1134 * paragraph_funcs.[Ch]:
1135 * paragraph_pimpl.[Ch]:
1136 * tabular.[Ch]: rename ascii to plaintext
1137 and LatexRunParams to OutputParams.
1139 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1141 * iterators.[Ch] (text): require bv argument
1142 * undo.C (recordUndo):
1143 * lyxfunc.C (dispatch):
1144 * bufferview_funcs.C (put_selection_at): adjust
1146 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
1148 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1150 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1152 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1155 2003-11-04 André Pönitz <poenitz@gmx.net>
1157 * cursor.[Ch]: restructure
1160 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1162 * iterators.[Ch] (asCursor): remove
1164 * lfuns.h: remove LFUN_INSET_EDIT
1170 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1172 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1174 * lyxfind.[Ch]: complete overhaul
1175 * BufferView_pimpl.C:
1177 * paragraph.[Ch] (insert): add
1179 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1183 * text.C: remove dead spellcheck code
1185 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1187 * dispatchresult.h: add a val setter
1189 * cursor.C (dispatch): use a tempvar for data_[i]
1191 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1193 * PosIterator.[Ch]: compile fix
1195 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1197 * text.C (cursorPar): deactivate the cursor cache
1199 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1201 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1203 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1205 * text3.C (dispatch): adjust for new DisptchResult semantics.
1207 * lyxfunc.C (dispatch): handle update when return from
1208 Cursor::dispatch, adjust for new DispatchResult semantics.
1210 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1211 DispatchResult(true) mean to not update. Add class functions for
1212 setting dispatched and update, as well as reading.
1214 * cursor.C (dispatch): don't handle update here
1216 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1218 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1219 * trans_mgr.C: adjust
1221 * paragraph_funcs.C (readParToken): exception safety
1223 * lyxvc.h: store the vcs pointer in a scoped_ptr
1226 * lyxsocket.C (serverCallback): exception safety
1228 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1230 * ispell.C (clone): make it return a auto_ptr
1232 * factory.C (createInset): exception safety
1233 (readInset): exception safety
1235 * bufferlist.C (newBuffer): exception safety
1237 * Thesaurus.C (Thesaurus): use initialization for aik_
1239 * MenuBackend.C (expandToc): exception safety.
1241 2003-11-03 André Pönitz <poenitz@gmx.net>
1245 * bufferview_funcs.C: remove getInsetFromId()
1248 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1254 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1256 * PosIterator.C (distance, advance): new
1257 * bufferview_funcs.[Ch] (put_selection_at): new
1258 * iterators.[Ch] (lockPath): new
1260 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
1262 * iterators.[Ch] (asPosIterator): added
1263 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1264 * PosIterator.[Ch]: added
1266 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1270 * cursor.C (dispatch):
1271 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1273 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1274 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1275 contructor, add a class function dispatched. Remove operator>=
1277 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1279 * debug.C: only use the default constructor for debugstream
1282 * main.C (main): include debug.h and setup the lyxerr streambuf
1285 2003-10-31 José Matos <jamatos@lyx.org>
1287 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1289 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1290 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1291 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1292 * paragraph_pimpl.C (simpleTeXSpecialC):
1293 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1294 add LatexRunParams argument.
1296 * exporter.C (Export): change call accordingly.
1298 * latexrunparams.h: add new member to take care of the other backends.
1299 2003-10-30 José Matos <jamatos@lyx.org>
1301 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1302 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1303 factorise code for paragraph output.
1305 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1308 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1310 * text3.C (dispatch):
1311 * lyxfunc.C (dispatch):
1312 * cursor.C (dispatch):
1313 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1315 * dispatchresult.h: make the dispatch_result_t ctor explicit
1317 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1320 * buffer.C: small refactoring of docbook stuff
1322 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1324 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1327 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1329 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1330 operator dispatch_result_t, and operators for == != and >=
1332 * cursor.C (dispatch): adjust for operator dispatch_result_t
1333 removal. comment out call to update
1335 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1337 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1345 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1348 * dispatchresult.h: new file, DispatchResult broken out of
1351 * Makefile.am (lyx_SOURCES): add dispatchresult.h
1353 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1355 * text.C (rowBreakPoint): put a hack inside #if 0
1357 2003-10-28 André Pönitz <poenitz@gmx.net>
1361 * paragraph_funcs.C:
1364 * text2.C: general cleanup (lots of small stuff)
1366 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1368 * text2.C (cursorEnd): simple fix to the "end key goes to one
1369 before the end on last row" bug
1371 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1373 * text.C (backspace): fix the "zombie characters"
1375 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1377 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1379 2003-10-27 André Pönitz <poenitz@gmx.net>
1381 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1383 * factory.C: handle new InsetPagebreak, InsetLine
1385 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1386 and move handling into new InsetPagebreak, InsetLine
1388 * BufferView_pimpl.C:
1390 * ParagraphParameters.C:
1391 * ParameterStruct.h:
1396 * paragraph_funcs.C:
1397 * paragraph_pimpl.C:
1403 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1406 * lyxrow_funcs.[Ch]:
1412 * text3.C: remove lastPos uses in favour of Row::endpos
1414 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1416 * undo.C (performUndoOrRedo): fix two crashes by setting a
1417 cursor by hand and reordering some calls. Use bv->lockInset instead
1418 of inset->edit because the latter loses cursor information
1420 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
1422 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1424 (rowBreakPoint): fix width. change point to point + 1.
1425 Add a missing check.
1427 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
1430 * lyxfunc.C: fix (at least partly) the problems
1431 with the Nav menu and headers inside branch insets
1434 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
1436 * paragraph.C (getChar): add strong asserts
1438 * lyxrow_funcs.C (lastPos): remove hideous hack
1440 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1441 (fill): adjust to that (avoid an infinite loop)
1443 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1445 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1447 2003-10-23 André Pönitz <poenitz@gmx.net>
1449 * RowList_fwd.h: change list<> to vector<> to gain speed
1450 after suggestion from Alfredo
1452 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1454 * lyxtext.h: move the bidi stuff from here...
1457 * Bidi.[Ch]: ... to here
1459 2003-10-23 André Pönitz <poenitz@gmx.net>
1462 * text.C (isLastRow, isFirstRow): new functions
1464 * paragraph.h: new width cache member
1466 * rowpainter.C: replace RowList::iterator with Row & where possible
1468 * lyxfunc.C: replace several view()->text with a single call
1470 * toc.C: fix 'unused' warning
1472 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1474 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1475 when woring with stream::pos_type
1476 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1478 2003-10-22 André Pönitz <poenitz@gmx.net>
1481 * text.C: use Row & instead of RowList::iterator
1483 * lyxrow.h: rename end() to endpos()
1489 2003-10-22 Angus Leeming <leeming@lyx.org>
1491 * buffer.[Ch] (fully_loaded): new member function, returning true
1492 only when the file has been loaded fully.
1493 Used to prevent the premature generation of previews and by the
1494 citation inset to prevent computation of the natbib-style label.
1496 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1497 templates are all set up.
1499 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1501 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
1503 * text.C: fixed an "oops" in the "is a bit silly"
1506 2003-10-21 André Pönitz <poenitz@gmx.net>
1508 * FuncStatus.[Ch]: small stuff, whitespace
1510 * lyxfont.[Ch]: operator<<() for debug reasons
1514 * lyxtext.h: whitespace, spelling
1516 * paragraph.C: naming of variables
1519 * text2.C: small stuff
1522 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1524 * text.C: (1) finish off the inset display() work;
1525 (2) fix the "is a bit silly" bug (accessing char
1528 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1530 * text.C: re-introduce display() for insets, fixing the
1531 various bugs (stretch of line above, math inset
1534 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1536 * text.C (rightMargin): remove spurious semicolon
1538 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1541 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1543 * text3.C: fix one crash due to wrong cursor def
1545 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1547 * vc-backend.C (scanMaster): make the regex static
1549 * LaTeX.C (scanAuxFile): make the regexs static
1551 * text3.C (doInsertInset, dispatch, dispatch):
1552 * text2.C (cursorUp, cursorDown):
1553 * text.C (selectNextWordToSpellcheck):
1554 * BufferView_pimpl.C (dispatch):
1555 * lyxfunc.C (dispatch): localDispatch -> dispatch
1557 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1559 * lyxsocket.C: include <cerrno>
1561 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1563 * lyxfunc.C (dispatch): remove textcache stuff
1565 * bufferlist.C (release): remove textcache stuff
1568 * TextCache.C: delete file
1569 * TextCache.h: delete file
1571 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1573 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1574 delete of the bv_->text.
1575 (resizeCurrentBuffer): remove texcache stuff
1576 (workAreaResize): ditto
1578 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1580 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1583 2003-10-16 André Pönitz <poenitz@gmx.net>
1590 * text3.C: speed up by storing y positions per paragraph plus per-row
1591 offset instead of having a 'full' y position in the row.
1593 2003-10-15 André Pönitz <poenitz@gmx.net>
1597 * undo.[Ch]: make undo aware of inner insets
1599 2003-10-14 Angus Leeming <leeming@lyx.org>
1601 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1602 static member functions LyX::ref() and LyX::cref.
1603 (lastfiles): new accessor functions for the new lastfiles_ member var.
1604 (addLyXView, views_): add a new LyXView to the list of views_.
1605 (updateInset): loop over all LyXViews to call their own updateInset
1606 member function, returning a pointer to the Buffer owning the inset.
1608 * BufferView_pimpl.C (loadLyXFile):
1609 * MenuBackend.C (expandLastfiles):
1610 * bufferlist.C (MenuWrite, QuitLyX):
1611 lastfiles is no longer a global variable.
1612 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1614 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1615 static function. Access through LyX::cref().emergencyCleanup().
1617 2003-10-14 André Pönitz <poenitz@gmx.net>
1619 * iterators.[Ch]: new direct access to innermost LyXText and Inset
1621 * undo.[Ch]: restoring part of 'undo in insets'
1624 * undo_funcs.[Ch]: merge with undo.[Ch]
1626 * tabular.C: small cleansing stuff
1628 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
1630 * paragraph_funcs.C (readParToken): report unknown insets as error
1631 boxes. Use the outer paragraph as location (also for unknown
1634 * factory.C (readInset): do not abort on reading an unknown inset.
1635 Eat it and return 0.
1637 2003-10-13 Angus Leeming <leeming@lyx.org>
1639 * lyx_main.C (LyX): remove call to setDisplayTranslator().
1641 * lyxrc.C: displayTranslator is now a function,
1642 declared in GraphicsTypes.h.
1644 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1646 * format.C: new placeholder $$a to pass the socket address.
1648 * bufferlist.[Ch]: new function getBufferFromTmp.
1650 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1651 files in the temporary dir.
1653 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1655 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1657 * Makefile.am: add lyxsocket.[Ch].
1659 * lyx_main.C (error_handler): handle SIGPIPE.
1661 2003-10-13 André Pönitz <poenitz@gmx.net>
1663 * BufferView_pimpl.C:
1668 * undo_funcs.[Ch]: use paroffset_type instead of
1669 ParagraphList::iterators to prevent multiple conversion
1670 (and get a more robust interface)
1672 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1674 * lyxfunc.C (dispatch): RESULT -> dispatch_result
1676 * text3.C (dispatch): ditto
1678 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1680 * LaTeX.C (handleFoundFile): move the static to smaller scope,
1681 move the onlyfile, use onlyfile instead of foundfile in a couple
1684 * DepTable.C (update): flush the error stream a bit more
1686 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1688 * lyxserver.C (callback): adjust
1690 * lyxfunc.C (getStatus): add a missing brace in commented code
1691 (ensureBufferClean): reindent
1692 (dispatch): delete version taking a string
1694 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1696 * LaTeX.C (deplog): move found file handlig from here...
1697 (handleFoundFile): .. to new function here.
1698 (deplog): make sure to discover several files mentioned on the
1701 2003-10-10 André Pönitz <poenitz@gmx.net>
1708 * text3.C: fix some of the tabular crashes
1710 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1712 * MenuBackend.C (binding): put debug message into Debug::KBMAP
1714 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1716 2003-10-09 André Pönitz <poenitz@gmx.net>
1718 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1721 * BufferView_pimpl.C:
1722 * bufferview_funcs.C:
1733 * undo_funcs.C: adjust
1735 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1737 * text2.C (incrementItemDepth): new function, use a backtracking
1738 algorithm to discover the correct item depth.
1739 (resetEnumCounterIfNeeded): new function, use a backtracking
1740 algorithm to discover if counter reset is needed.
1741 (setCounter): use them. Simplify a bit. Add different labels for
1742 different item depths for itemize.
1744 * paragraph.C (Paragraph): remove initialization of enumdepth
1747 * paragraph.h: get rid of enumdepth, and use itemdepth both for
1748 enumerate and itemize. Change the type of itemdepth to signed char.
1750 2003-10-08 André Pönitz <poenitz@gmx.net>
1752 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1757 * tabular.[Ch]: fix crash after 'row-insert'
1759 2003-10-08 Angus Leeming <leeming@lyx.org>
1761 Fix doxygen warnings.
1763 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1764 Remove CutAndPaste:: prefix from header file declaration.
1766 * LColor.h (fill): remove LColor:: prefix from declaration.
1768 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1769 use lyx::depth_type rather than Paragraph::depth_type so that
1770 header file and .C file match.
1772 * converter.h (intToFormat): remove Converters:: prefix from declaration.
1774 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1775 * aspell.C: \file aspell_local.C -> \file aspell.C
1776 * gettext.C: \file gettext.C -> \file src/gettext.C
1777 * gettext.h: \file gettext.h -> \file src/gettext.h
1778 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1779 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1780 * text.C: \file text.C -> \file src/text.C
1782 * toc.C: move comment so that doxygen is not confused.
1784 2003-10-07 Angus Leeming <leeming@lyx.org>
1786 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1788 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1791 * aspell_local.h: add forgotten std::string's.
1793 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1800 * text3.C: The Box patch. Fancybox support, minipage, parbox
1802 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1808 * ParagraphParameters.h:
1818 * lyxtextclasslist.h:
1821 * paragraph_pimpl.C:
1822 * textcursor.h: add <string> and other small fixes to make Lars'
1823 std::string patch compile with STLport.
1825 2003-10-06 Angus Leeming <leeming@lyx.org>
1827 * LColor.h: Add missing #include <string>.
1829 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1831 * All most all file in all subdirs: Make <string> be the prefered
1832 way of getting to std::string, add using declarations.
1834 2003-10-06 André Pönitz <poenitz@gmx.net>
1836 * metricsinfo.C: initialize LyXFont before changing attribute.
1837 (fixes the 'math in \emph is upright' bug)
1839 2003-10-06 André Pönitz <poenitz@gmx.net>
1841 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1843 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
1846 * paragraph_pimpl.C: Small fixes to build using STLport
1848 2003-10-02 André Pönitz <poenitz@gmx.net>
1851 * text3.C: move handling of LFUN_DEPTH *; fix #1360
1853 2003-10-01 André Pönitz <poenitz@gmx.net>
1855 * factory.C: assert early
1857 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1859 * lyx_main.C: remove the global debug object
1861 * debug.h: adjust for new debugstream
1863 * debug.C: adjust for new debugstream and keep the global debug
1866 2003-09-22 Angus Leeming <leeming@lyx.org>
1868 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1869 of g++ which otherwise complain that the scoped_ptr destructor can't delete
1870 an incomplete class LyXFont.
1872 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1874 * factory.C: bug fix in branches
1876 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1878 * lyxfunc.C (processKeySym): adjust
1880 (dispatch): change arg name from ev to func, adjust
1881 (sendDispatchMessage): ditto
1883 * lyx_main.C (defaultKeyBindings): adjust keybindings
1884 (deadKeyBindings): ditto
1886 * kbsequence.C (addkey): return a FuncRequest
1888 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1890 * kbmap.C (bind): take a FuncRequest as arg, adjust
1893 (defkey): change to take a FuncRequest as arg, adjust
1894 (findbinding): take a FuncRequest as arg, adjust.
1896 * funcrequest.h (operator=): added
1898 * funcrequest.C (FuncRequest): default kb_action changed from
1899 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1901 * buffer.C (dispatch): simplify
1902 (dispatch): adjust to take a FuncRequest as arg, adjust
1904 * boost.C (assertion_failed): change assertion message slightly
1906 * ToolbarBackend.C (read): simplify
1908 * MenuBackend.C (binding): adjust call to findbinding, add a
1909 message if no binding is found.
1911 (expandToc): correct by adding a empty FuncRequest
1913 * LyXAction.C: include <boost/assert.hpp>
1914 (isPseudoAction): delete function
1915 (LookupFunc): change name to...
1916 (lookupFunc): this. change return type to FuncRequest.
1917 (getActionName): take kb_action as arg, simplify
1918 (funcHasFlag): add an assert, simplify.
1920 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1922 * toc.C (action): return a FuncRequest, simplify
1924 * lyxfunc.C (processKeySym): adjust
1925 (getStatus): delete version that takes an int.
1927 (dispatch): delete version that takes action as int
1929 (sendDispatchMessage): simplify and adjust
1931 * funcrequest.C (getArg): take unsigned int as arg
1933 * ToolbarBackend.C (read): adjust
1934 (add): delete version that takes func as a string.
1935 (getIton): take a FuncRequest as arg
1937 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1940 * MenuBackend.C (MenuItem): add a new construct that only takes a
1941 Kind, simplify the constructor use for submenus.
1943 (expandLastfiles): adjust
1944 (expandDocuments): adjust
1945 (expandFormats): adjust
1946 (expandFloatListInsert): adjust
1947 (expandFloatInsert): adjust
1948 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1950 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1951 Remove class variables lyx_pseudo_map and lyx_arg_map
1953 * LyXAction.C (searchActionArg): delete function
1954 (getPseudoAction): delete function
1955 (retrieveActionArg): delete function
1956 (LookupFunc): make it return kb_action, simplify.
1957 (getActionName): simplify
1959 * factory.C (createInset): fix new bug
1961 2003-09-19 Angus Leeming <leeming@lyx.org>
1963 * CutAndPaste.C (pasteSelection): remove fudge used to set the
1964 masterFilename_ parameter in the include inset.
1966 * factory.C (createInset): changes due to the changes to InsetInclude.
1968 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1970 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1972 2003-09-18 Angus Leeming <leeming@lyx.org>
1975 * BufferView.C: pass the buffer when calling Inset::getLabelList,
1976 Inset::fillWithBibKeys.
1977 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1979 2003-09-18 Angus Leeming <leeming@lyx.org>
1981 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1983 (ctor): pass and store a 'Buffer const &'
1984 (buffer): new member function.
1986 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1987 '*this' to the LaTeXFeatures ctor.
1989 2003-09-18 Angus Leeming <leeming@lyx.org>
1995 * text.C: rename EnumLColor as LColor_color.
1997 2003-09-18 Angus Leeming <leeming@lyx.org>
1999 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2000 remove #include "insets/insetbase.h" from cursor.h.
2002 2003-09-18 Angus Leeming <leeming@lyx.org>
2004 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2005 InsetOld_code to remove #include "inset.h".
2007 * iterators.C: add #include "insets/inset.h"
2009 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
2011 * BufferView.C: remove more locking stuff that apparently doesn't
2012 do anything sensible.
2014 2003-09-16 André Pönitz <poenitz@gmx.net>
2017 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2020 2003-09-16 Angus Leeming <leeming@lyx.org>
2022 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2024 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2027 * paragraph.h: remove #include "lyxfont.h". Forward declare
2030 2003-09-16 Angus Leeming <leeming@lyx.org>
2032 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2033 of support/textutils.h.
2034 (isWord): move the contents of support/textutils.h's IsWordChar here.
2040 * text2.C: add #include "paragraph.h".
2043 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2045 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2051 * LaTeX.C: use namespace alias for lyx::support::os
2053 2003-09-16 Angus Leeming <leeming@lyx.org>
2056 * bufferview_funcs.C:
2059 * paragraph_pimpl.C:
2061 * text.C: add #include "LColor.h".
2063 2003-09-16 Angus Leeming <leeming@lyx.org>
2065 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2066 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2068 Store the FontBits::color variable as an int rather than as an
2069 LColor::colorso that we can move LColor.h out of the lyxfont.h header
2072 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2073 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2074 string calls together.
2076 * lyxrc.C: add #include "LColor.h".
2078 2003-09-15 Angus Leeming <leeming@lyx.org>
2080 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2083 2003-09-15 Angus Leeming <leeming@lyx.org>
2085 * LColor.h: add an EnumLColor wrapper for LColor::color.
2087 * lyxfont.[Ch] (color, setColor, realColor):
2088 * lyxtext.h, text.C (backgroundColor):
2089 pass EnumLColor args to/from the functions, rather than LColor::color
2093 * lyxtext.h: forward declare EnumLColor.
2095 * lyx_main.C: add #include "LColor.h".
2097 2003-09-15 Angus Leeming <leeming@lyx.org>
2099 * .cvsignore: add lyx-gtk.
2101 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2106 * ParagraphParameters.C
2110 * bufferview_funcs.C
2120 * vc-backend.C: remove usage of STRCONV
2122 2003-09-15 Angus Leeming <leeming@lyx.org>
2124 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2125 explicitly define the color passed to the painter.
2127 2003-09-15 Angus Leeming <leeming@lyx.org>
2129 * bufferparams.C (BufferParams): reorder member initializers to avoid
2132 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
2134 * CutAndPaste.C (pasteSelection): remove an outdated #warning
2135 * text.C (updateRowPositions): remove an unusual nop
2137 2003-09-12 André Pönitz <poenitz@gmx.net>
2139 * BufferView_pimpl.C:
2148 * Counters.[Ch]: finish the 'automatic counters' job
2150 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2152 * aspell.C: include <boost/assert.cpp> (compile fix)
2154 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2156 * boost.C (assertion_failed): use lyx::support::abort instead of
2159 2003-09-10 Angus Leeming <leeming@lyx.org>
2161 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2162 with their _fwd progeny.
2164 2003-09-09 Angus Leeming <leeming@lyx.org>
2166 134 files throughtout the source tree: replace 'using namespace abc;'
2167 directives with the appropriate 'using abc::xyz;' declarations.
2169 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2171 * boost.C (emergencyCleanup): moved here from LAssert.c
2172 (assertion_failed): new function, called by BOOST_ASSERT
2174 * several files: change Assert to BOOST_ASSERT
2176 2003-09-09 Angus Leeming <leeming@lyx.org>
2178 * buffer.[Ch]: Add an Impl class and move Buffer's member
2179 variables into it. As a result move several header files out of
2182 Add header files to lots of .C files all over the tree as a result.
2184 2003-09-09 Angus Leeming <leeming@lyx.org>
2186 * buffer.[Ch]: make Buffer's member variables private. Add
2189 Lots of changes all over the tree as a result.
2191 2003-09-08 Angus Leeming <leeming@lyx.org>
2193 * graph.C: #include <config.h>.
2195 2003-09-08 Angus Leeming <leeming@lyx.org>
2199 * BufferView_pimpl.C:
2228 * toc.C: remove redundant using directives.
2230 2003-09-07 Angus Leeming <leeming@lyx.org>
2232 * LaTeXFeatures.h: remove #include "support/types.h".
2233 * ToolbarBackend.h: remove #include <algorithm>.
2234 * changes.h: remove #include <ctime>.
2235 * debug.h: remove #include <iosfwd>.
2236 * graph.h: remove #include "support/std_string.h".
2237 * lyx_main.h: remove #include <csignal>.
2238 * lyxlex_pimpl.h: remove #include <fstream>.
2239 * sgml.h: remove #include <algorithm>, <utility>.
2240 * toc.h: remove #include "support/std_ostream.h".
2241 Add #include <iosfwd>.
2243 2003-09-07 Angus Leeming <leeming@lyx.org>
2245 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2247 * converter.h: forward declare LatexRunParams.
2248 * encoding.h: remove #include "lyxrc.h".
2249 * lyxtext.h: remove #include "LColor.h".
2250 * lyxtextclass.h: remove #include "support/types.h".
2251 * trans.h: remove #include "tex-accent.h".
2252 * trans_mgr.h: remove #include "tex-accent.h".
2253 * insets/inset.h: remove #include "support/types.h", <vector>.
2254 * insets/insetcollapsable.h: remove #include "LColor.h".
2255 * insets/insetinclude.h: remove #include "dimension.h".
2256 * insets/insetlatexaccent.h: remove #include "dimension.h".
2257 * insets/insetoptarg.h:: remove #include "insettext.h".
2258 * insets/insettext.h: remove #include "dimension.h",
2259 <boost/shared_ptr.hpp>
2261 * insets/renderers.h: add #include "dimension.h".
2262 * insets/updatableinset.h: add #include "support/types.h".
2264 * many .C files: Associated changes.
2266 2003-09-06 Angus Leeming <leeming@lyx.org>
2268 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2269 one, inside testInvariant.
2271 * PrinterParams.C: new file.
2272 * PrinterParams.[Ch]: move the function bodies out of line.
2274 2003-09-06 Angus Leeming <leeming@lyx.org>
2276 * ParagraphParameters.h: forward declare ParameterStruct rather than
2277 including its header file.
2278 (depth): moved out-of-line.
2280 2003-09-06 Angus Leeming <leeming@lyx.org>
2282 * BufferView_pimpl.h:
2285 * lyxfunc.h: forward declare LyXKeySym rather than
2286 #include "frontends/LyXKeySym.h".
2288 * BufferView_pimpl.C:
2291 * lyxfunc.C: associated changes.
2293 2003-09-06 Angus Leeming <leeming@lyx.org>
2295 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2296 As a result, can remove the #include "insets/inset.h" from BufferView.h
2298 2003-09-06 Angus Leeming <leeming@lyx.org>
2300 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2301 As a result, can remove the #include "insets/inset.h" from BufferView.h
2303 2003-09-06 Angus Leeming <leeming@lyx.org>
2309 * bufferview_funcs.C:
2310 * BufferView_pimpl.C:
2315 * ParagraphParameters.C:
2320 * frontends/controllers/ControlDocument.C:
2321 * insets/insetcaption.C: rearrange the #includes into some sort of
2324 * buffer.h: remove #includes ErrorList.h, undo.h
2326 2003-09-06 Angus Leeming <leeming@lyx.org>
2328 * support/types.h: add a 'depth_type' typedef, used to store the
2329 nesting depth of a paragraph.
2332 * ParameterStruct.h: use this lyx::depth_type typedef rather than
2333 defining explicitly.
2336 * paragraph_funcs.h:
2337 * ParagraphParameters.h:
2338 * sgml.h: use lyx::depth_type rather than Paragraph or
2339 ParameterStruct's depth_type.
2342 * paragraph_funcs.h: no need to #include paragraph.h anymore.
2345 * BufferView_pimpl.C:
2347 * ParagraphParameters.C:
2350 * bufferview_funcs.C:
2357 * frontends/LyXView.C:
2358 * frontends/controllers/ControlDocument.C:
2359 * frontends/controllers/ControlErrorList.C:
2360 * insets/insetbibitem.C:
2361 * insets/insetbranch.C:
2362 * insets/insetcaption.C:
2363 * insets/insetcollapsable.C:
2364 * insets/insetenv.C:
2365 * insets/insetert.C:
2366 * insets/insetfloat.C:
2367 * insets/insetfoot.C:
2368 * insets/insetfootlike.C:
2369 * insets/insetnewline.C:
2370 * insets/insetquotes.C:
2371 * insets/insettabular.C:
2372 * insets/insettext.C:
2373 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2375 * frontends/controllers/ControlChanges.C: #include "changes.h".
2377 2003-09-06 Angus Leeming <leeming@lyx.org>
2379 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2380 than #including paragraph.h.
2383 * RowList.h: deleted. Superfluous.
2393 * insets/insettext.h: use ParagraphList_fwd.h rather than
2396 * paragraph.h: don't forward declare ParagraphList.
2399 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2400 rather than ParagraphList.h. paragraph.h is still needed for the
2401 Paragraph::depth_type parameters.
2403 * textcursor.h: enable it to compile stand-alone in light of the
2406 * bufferview_funcs.C:
2418 * frontends/controllers/ControlParagraph.C:
2419 * frontends/controllers/ControlTabular.C:
2420 * insets/insetmarginal.C:
2421 * insets/insetminipage.C:
2422 * insets/insetnote.C:
2423 * insets/insetoptarg.C: add header files needed to compile again.
2425 2003-09-06 Angus Leeming <leeming@lyx.org>
2427 * RowList_fwd.h: new file, forward-declaring Row rather than
2428 #including lyxrow.h.
2433 * insets/insettext.h: use it instead of RowList.h
2435 * bufferview_funcs.C:
2442 * text3.C: #include "RowList.h".
2444 2003-09-05 Angus Leeming <leeming@lyx.org>
2446 * factory.C (createInset):
2447 * vspace.C (c-tor): replace sscanf call with an istringstream.
2448 * ispell.C: re-add missing HP/UX headers.
2449 * lyxserver.C: re-add missing os2 headers.
2451 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
2460 * text3.C: re-add missing system headers, needed for 2.95.2.
2462 2003-09-05 Angus Leeming <leeming@lyx.org>
2464 Changes most place everywhere due to the removal of using directives
2465 from support/std_sstream.h.
2467 2003-09-05 Angus Leeming <leeming@lyx.org>
2469 Replace LString.h with support/std_string.h,
2470 Lsstream.h with support/std_sstream.h,
2471 support/LIstream.h with support/std_istream.h,
2472 support/LOstream.h with support/std_ostream.h.
2474 Changes resulting throughout the tree.
2476 2003-09-05 Angus Leeming <leeming@lyx.org>
2478 * sgml.h: ensure that the header file can be compiled stand-alone.
2479 * *.C: strip out redundant #includes. (320 in total.)
2481 2003-09-04 Angus Leeming <leeming@lyx.org>
2483 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2484 here (from getPackages).
2486 * debug.[Ch]: add a new EXTERNAL tag.
2488 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2490 * text2.C (cursorEnd): simplify
2492 (getColumnNearX): adjust
2494 * text.C (computeBidiTables): adjust
2497 * rowpainter.C (paintChars): adjust
2498 (paintSelection): adjust
2499 (paintChangeBar): adjust
2502 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2504 (numberOfSeparators): adjust
2506 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2512 * text3.C: Restricts the mouse click functionality
2513 of insets like bibtex, include, toc and floatlist to the visible
2514 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2515 up the dialogs. Cursor has to be in front of the inset (i.e.
2516 start of row) for this to function.
2518 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2520 * bufferview_funcs.C (currentState): output row information
2522 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2524 * bufferview_funcs.C (currentState): output paragraph position
2526 2003-09-04 Angus Leeming <leeming@lyx.org>
2528 * FloatList.h: move out #include "Floating.h".
2529 * LaTeX.h: move out #include "DepTable.h".
2530 * LyXAction.h: move out #include "funcrequest.h".
2531 * buffer.h: move out #include "author.h", "iterators.h".
2532 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2533 * lyx_main.h: move out #include "errorlist.h".
2534 * lyxfunc.h: move out #include "FuncStatus.h".
2535 * lyxtext: move out #include "lyxcursor.h".
2536 * paragraph_pimpl.h: move out #include "counters.h".
2538 2003-09-03 Angus Leeming <leeming@lyx.org>
2540 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2541 preamble_snippets list, enabling us to add snippets to the preamble
2542 only if the snippet was not there already.
2544 2003-09-04 Angus Leeming <leeming@lyx.org>
2546 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2548 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2550 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2553 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2555 * BranchList.C: point fix, earlier forgotten
2557 2003-09-02 Angus Leeming <leeming@lyx.org>
2559 * box.C (contains): renamed from 'contained' after a fantastic
2562 2003-09-02 John Levon <levon@movementarian.org>
2568 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2570 2003-09-02 John Levon <levon@movementarian.org>
2572 * text2.C: simplification of cursorEnd(), including partial
2575 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2577 * buffer.C (readFile): add a space
2579 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
2581 * BufferView_pimpl.C (update): remove bogus fitCursor() call
2583 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2585 * buffer.C (readFile): new function, take a filename and a
2586 ParagraphList::iterator
2588 (readFile): adjust, make it private. don't use setStream, make
2589 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2590 always contain the filename.
2592 * BufferView.C (insertLyXFile): simplify and make it work for
2595 2003-08-30 John Levon <levon@movementarian.org>
2597 * Makefile.am: fix dist (from Kayvan)
2599 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2601 * most files: change to use const Buffer refs
2603 2003-08-27 André Pönitz <poenitz@gmx.net>
2605 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2606 on top of ownerPar().
2608 2003-08-27 John Levon <levon@movementarian.org>
2610 * funcrequest.C: properly initialise POD members
2612 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2614 * lyxtext.h (top_y): move top_y from here
2619 * BufferView_pimpl.[Ch]: to here
2620 * frontends/screen.C:
2621 * insets/insettabular.C:
2622 * insets/insettext.C: adjust
2623 * rowpainter.[Ch] (paintRows): remove LyXText & argument
2625 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2628 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2630 2003-08-26 André Pönitz <poenitz@gmx.net>
2632 * paragraph_func.[Ch] (outerPar): new function
2635 * paragraph_funcs.C:
2636 * paragraph_funcs.h:
2637 * paragraph_pimpl.C:
2638 * text2.C: remove Inset::par_owner
2640 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2645 * text2.C: eliminates the needFullRow/display() stuff
2646 altogether, putting the logic in metrics/draw in the insets.
2648 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
2650 * text2.C (redoParagraphInternal, redoParagraphs):
2651 * text.C (redoParagraph): add a call to updateRowPositions at the
2652 end of each 'metrics-like' call. Remove all others.
2653 (getRow): remove the 'y-computing' version.
2654 (getRowNearY): do not compute nor return the real y. Solve the
2655 'y < 0' problem and simplify.
2657 2003-08-22 Angus Leeming <leeming@lyx.org>
2659 * *.[Ch]: clean-up of licence and author blurbs.
2660 Also move config.h out of a few .h files and into a few .C files.
2662 2003-08-22 André Pönitz <poenitz@gmx.net>
2664 * lyxrow.[Ch]: add x_ and *fill_ members
2669 * text2.C: adjust/remove prepareToPrint() calls
2671 2003-08-22 André Pönitz <poenitz@gmx.net>
2673 * lyxrow.[Ch]: add end_ member
2675 * lyxrow_funcs.C: use LyXRow::end_
2677 * lyxtext.h (singleWidth): add LyXFont parameter
2680 * text2.C: adjust LyXText::singleWidth() calls
2682 * text.C (redoParagraph): simplify row breaking logic
2685 2003-08-19 André Pönitz <poenitz@gmx.net>
2687 * funcrequest.C: initialize button_ member
2690 * rowpainter.[Ch]: interface consolidation
2692 2003-08-18 André Pönitz <poenitz@gmx.net>
2695 * BufferView_pimpl.C:
2697 * paragraph_funcs.C:
2699 * text3.C: remove LyXScreen::draw() and fitCursor calls
2701 * BranchList.h: remove spurious semicolons
2703 * MenuBackend.C: fix branchlist related crash
2705 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2713 * bufferparams.[Ch]:
2717 * text3.C: implements the 'branch inset'
2718 idea. This allows the output of various versions of a document
2719 from a single source version, selectively outputing or suppressing
2720 output of parts of the text.
2721 This implementation contains a 'branch list editor' in a separate
2722 tab of the document settings dialog. Branches are user definable
2723 and have a "display colour" to distinguish them on-screen.
2725 ColorHandler was somewhat cleaned up.
2726 (1) make possible a dynamically growing LColor list by allowing
2727 the graphic context cache to grow along (vector);
2728 (2) eliminate an IMHO unnecessary step in colour allocation.
2730 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
2732 * BufferView_pimpl.C: compile fix
2734 2003-08-15 André Pönitz <poenitz@gmx.net>
2736 * rowpainter.C: remove extra metrics calls
2738 * lyxtext.h: merge the two constructors into a single one,
2739 pass reference to owner's par list
2741 * BufferView_pimpl.C:
2745 2003-08-15 André Pönitz <poenitz@gmx.net>
2747 * lyxrow_funcs.[Ch]:
2750 * paragraph_funcs.C:
2755 * text_funcs.C: split LyXText::rowlist_ into individual
2756 Paragraph::rows_ chunks
2759 * BufferView_pimpl.[Ch]:
2762 * text3.C: remove toggleSelection()
2764 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2766 * bufferlist.C: beautify two alerts (shorter text of buttons)
2767 * buffer.C: Remove redundant ' ' from message
2769 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2770 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2771 rename VALIGN_CENTER to VALIGN_MIDDLE
2773 2003-08-11 André Pönitz <poenitz@gmx.net>
2775 * lyxtext.h (getPar):
2776 * text.C: new function
2778 2003-08-11 André Pönitz <poenitz@gmx.net>
2781 * tracer.[Ch]: remove unneeded files
2783 * InsetList.[Ch]: remove resizeInsetsLyXText()
2788 * text3.C: merge insertParagraphs() and appendParagraph()
2789 remove breakAgain(), update()
2791 * BufferView_pimpl.[Ch]:
2792 * bufferview_funcs.[Ch]:
2796 * tabular.C: adjust after text & InsetList changes.
2798 2003-08-08 André Pönitz <poenitz@gmx.net>
2800 * text.C (insertChar, backspace): replace rowlist fiddling
2801 with rebreak of full par
2804 * text.C (breakAgainOneRow, redoHeightOfParagraph,
2805 checkParagraph, updateInset): removed
2807 2003-08-07 André Pönitz <poenitz@gmx.net>
2810 * text3.C: merge some LFUN handlers, remove dead code
2812 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2814 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2816 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
2818 * text2.C (DEPM): fix part of bug 1255 and 1256
2820 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2822 * BufferView_pimpl.C (workAreaDispatch): change to use
2823 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2824 that are no mouse related.
2826 2003-08-05 André Pönitz <poenitz@gmx.net>
2829 * BufferView_pimpl.[Ch]:
2830 * bufferview_funcs.C:
2832 * text3.C: rip out "deep update"
2834 * textcursor.[Ch] (last_sel_cursor): remove unused member
2836 2003-08-04 André Pönitz <poenitz@gmx.net>
2839 * BufferView_pimpl.[Ch]:
2840 * ParagraphParameters.C:
2841 * bufferview_funcs.C:
2847 * text3.C: replace "complicated" BufferView::update(...) calls with
2850 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2852 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
2854 * Makefile.am (lyx_SOURCES): add paper.h
2856 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2858 * Makefile.am: move things around so that both lyx-qt and
2859 lyx-xforms can be built (according to --with-frontend). Then lyx
2860 is a symbolic link to lyx-[firstfrontend]
2862 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2864 * Always use std::endl with lyxerr
2866 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
2868 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2870 2003-08-01 André Pönitz <poenitz@gmx.net>
2873 * BufferView_pimpl.[Ch]:
2875 * text3.C: merge BufferView::repaint() and BufferView::update()
2877 2003-08-01 José Matos <jamatos@lyx.org>
2879 * buffer.[Ch]: file_format is no longer a buffer data element.
2881 2003-08-01 André Pönitz <poenitz@gmx.net>
2886 * text2.C: make redoParagraph more independent of current cursor
2888 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2890 * text2.C: remove unneeded members
2892 2003-07-30 André Pönitz <poenitz@gmx.net>
2894 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2896 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2897 create a single function...
2899 * paragraph_funcs.C (moveItem): ... here.
2902 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2904 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2906 * LColor.[Ch]: Add comment and greyedout logical colors.
2908 2003-07-30 André Pönitz <poenitz@gmx.net>
2910 * tabular.C: don't use Assert too heavily. This crashes where it
2913 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
2915 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2916 is disabled (bug 1232)
2918 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2920 * factory.C: limited 'arg' scope
2922 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2924 * factory.C: fixed Note submenu issues
2926 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2928 * factory.C: submenu for Note/Comment/Greyedout
2930 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
2933 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2935 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2938 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2939 greyedout. Patch provided by Jürgen Spitzmüller.
2941 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2943 * kbmap.C (read): fix error message when reading bind files
2945 2003-07-29 Angus Leeming <leeming@lyx.org>
2947 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2948 certainly does not do what it purports to do. I am doing it, and
2949 us, a favour by killing it.
2951 2003-07-28 José Matos <jamatos@lyx.org>
2953 * buffer.C (readBody, do_writeFile):
2954 * paragraph.C(readParagraph): \end_document replaces \the_end.
2956 2003-07-29 André Pönitz <poenitz@gmx.net>
2959 * BufferView_pimpl.[Ch]:
2963 * textcursor.[Ch]: remove toggleToggle & Co
2965 2003-07-28 José Matos <jamatos@fep.up.pt>
2967 * buffer.C (readParagraph):
2968 * params_func (readParToken, readParagraph):
2969 * paragraph.C (write): \layout -> \begin_layout.
2971 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2973 * lyxlex_pimpl.C (setFile): clean up slightly.
2975 * bufferparams.h: add compressed var
2977 * buffer_funcs.C (readFile): adjust for LyXLex change
2978 (newFile): ditto + simplify
2980 * buffer.C (writeFile): handle writing of compressed files
2982 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2983 Check if the file is compressed and set a bufferparm if so.
2985 * Makefile.am (lyx_LDADD): remove explicit -lz
2987 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2989 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2990 makeDocBookFile): put the real LyX version in the first line of
2994 * version.C.in: remove lyx_docversion
2996 * tabular.C (write_attribute): add a template-based version to
2997 write enums properly
2999 2003-07-28 André Pönitz <poenitz@gmx.net>
3004 * text3.C: use doubles again for x-coordinates. They are needed.
3006 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3008 * messages.C (getLocaleDir): use lyx_localedir()
3010 * lyxlex_pimpl.C (setFile): compress stuff
3012 * buffer.C (writeFile): add some compression stuff
3013 (do_writeFile): new func, dont call expliti close... will this
3016 * Makefile.am (lyx_LDADD): add -lz
3018 2003-07-28 José Matos <jamatos@fep.up.pt>
3020 * buffer.C: increment file format.
3021 * paragraph_funcs (readParagraph, readParToken):
3022 * paragraph.C (readParagraph): add \end_layout.
3024 2003-07-27 Angus Leeming <leeming@lyx.org>
3026 * Makefile.am: remove special casing for configure-time setting of
3027 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3029 * lyx_main.C (init): remove all Jean-Marc's magic setting of
3030 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3032 2003-07-26 André Pönitz <poenitz@gmx.net>
3034 * paragraph_func.[Ch]:
3035 * paragraph.C (realizeFont): inline it whereever it is used
3040 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3043 2003-07-26 André Pönitz <poenitz@gmx.net>
3047 * text2.C: get rid of LyXText::need_break_row
3049 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3051 * toc.[Ch]: put namespace toc inside namespace lyx
3053 * MenuBackend.C (expandToc2): adjust for lyx::toc
3056 * lyxfunc.C (dispatch): adjust for lyx::find
3058 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3059 lyx::find instead. Reorganize a bit.
3060 (LyXReplace): rename to replace
3061 (LyXFind): rename to find
3063 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3066 2003-07-26 André Pönitz <poenitz@gmx.net>
3068 * text.C (setHeightOfRow): restrict scope of temporary variable
3070 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
3071 code (never has been used?)
3073 2003-07-27 Asger Alstrup <alstrup@local>
3075 * text.C (fill): Optimise algorithm to exploit that we can reuse
3076 the LyXFont for many characters.
3077 (setHeightOfRow): Same thing.
3078 (rowBreakPoint): Same thing.
3080 2003-07-26 Asger Alstrup <alstrup@local>
3082 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3084 * text.C (singleWidth): Spurious font copying in hot-spot
3085 singleWidth avoided. Reorder tests for arabic for efficiency.
3087 * text.C (fill): handle empty paragraphs better.
3089 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3092 * encoding.h: add includes
3094 * lyxrc.C: remove reading of bind files
3096 * lyx_main.C (init): setup bindings and menus only if we have a
3099 * kbmap.C (read): new method. Do the actual reading of bind
3102 * converter.C (dvipdfm_options):
3105 (output): adapt PAPER_* enums.
3107 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3109 * bufferparams.h: remove paper-related enums from there
3111 * paper.h: New file. A trivial header file to hold paper-related
3112 enums. It should later expand to contain many paper-related
3115 * lyxrc.C: declare extern displayTranslator
3117 2003-07-27 José Matos <jamatos@fep.up.pt>
3119 * tabular.[Ch] (linuxdoc): add support for tables and figures
3122 2003-07-27 José Matos <jamatos@fep.up.pt>
3124 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3125 consistency in both functions.
3126 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3128 2003-07-26 Asger Alstrup <alstrup@local>
3130 * rowpainter.C (paintRows): Change algorithm to work directly on
3131 the insets rather than asking every character in the document
3132 whether its an inset.
3134 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
3136 * buffer.C (openFileWrite): factorize some code
3138 2003-07-26 Angus Leeming <leeming@lyx.org>
3141 * lyx_main.[Ch]: replace occurances of system_tempdir with
3144 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3146 * rename Inset to InsetOld
3148 2003-07-25 Asger Alstrup <alstrup@diku.dk>
3150 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3151 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3152 which I think is a bit clearer. EDIT is gone, since it was
3153 premature optimisation, and broken for mathed anyway.
3154 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3155 with cursor positioning in insets as well (math insets still do not
3156 work, but that's a different story anyway.) It mysteriously
3157 crashes sometimes with undo in the first paragraph, but I'm fairly
3158 confident that this is a compiler bug.
3160 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3162 * paragraph.C (Paragraph): adjust for new clone return type
3164 (copyIntoMinibuffer): ditto
3166 2003-07-25 Asger Alstrup <alstrup@lyx.org>
3168 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3169 by not having a special case, and always doing a full rebreak of
3170 the document after undo.
3172 2003-07-23 Angus Leeming <leeming@lyx.org>
3174 * factory.C (createInset): InsetExternal::setParams now takes a
3177 2003-07-23 Angus Leeming <leeming@lyx.org>
3179 * factory.C (createInset): changed interface to the external and
3180 graphics mailers' string2params functions.
3182 2003-07-23 Angus Leeming <leeming@lyx.org>
3184 * factory.C (createInset): pass a
3185 Buffer const * parameter to InsetExternalMailer's string2params.
3187 2003-07-22 John Levon <levon@movementarian.org>
3189 * Thesaurus.h: include the right aiksaurus header
3191 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3193 * MenuBackend.C (expand): check menu shortcuts unconditionally
3195 2003-07-21 Angus Leeming <leeming@lyx.org>
3197 * factory.C (createInset): pass a
3198 buffer_path parameter to InsetGraphicsMailer's string2params.
3200 2003-07-21 Angus Leeming <leeming@lyx.org>
3202 * BufferView_pimpl.C (buffer):
3205 * lyxfunc.C (dispatch):
3206 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3207 rather than the grfx shortcut.
3209 2003-07-21 André Pönitz <poenitz@gmx.net>
3211 * rowpainter.C: remove unused variables
3214 * tabular_funcs.h: move to tabular.C
3215 * Makefile.am: adjust
3217 * tabular.[Ch]: basic optical cleaning
3219 * author.h: pass references, not values
3221 2003-07-18 André Pönitz <poenitz@gmx.net>
3229 * text3.C: two-phase drawing for InsetText and InsetTabular
3230 some float -> int changes.
3232 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3234 * lyx_main.C: fix the fix
3236 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3238 * lyx_main.C: fix a crash in batch mode if no files specified
3241 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
3243 * format.[Ch] (papersize): moved to BufferParams
3244 * converter.[Ch] (dvips_options): moved to BufferParams
3245 (dvipdfm_options): moved to anon namespace
3246 * bufferparams.[Ch]: added above functions.
3248 2003-07-17 André Pönitz <poenitz@gmx.net>
3252 * text2.C: don't call inset->update() anymore
3254 * metricsinfo.[Ch]: add convenience constructor
3256 2003-07-16 André Pönitz <poenitz@gmx.net>
3261 * text2.C: replace the LyXCursor::irow_ member with
3262 on-demand computation of the value
3264 2003-07-16 John Levon <levon@movementarian.org>
3266 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3268 2003-07-15 André Pönitz <poenitz@gmx.net>
3271 * text2.C: remove no more needed refresh_row
3273 2003-07-15 André Pönitz <poenitz@gmx.net>
3278 * text3.C: refresh_status tristate -> need_update bool
3280 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3282 * lyxtext.h (init): remove reinit argument (act as if always true)
3283 * text2.C: adjust to that
3285 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3287 * bufferview_funcs.[Ch]: introduce function replaceSelection()
3288 * text3.C: use it to delete selections in some cases
3289 (bugs 441, 673, 702, 954).
3291 2003-07-14 André Pönitz <poenitz@gmx.net>
3293 * rowpainter.[Ch]: reduce interface
3295 2003-07-14 André Pönitz <poenitz@gmx.net>
3297 * BufferView_pimpl.C:
3298 * text2.C: adjust after removing unused BufferView * argument
3300 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
3302 * text2.C (init): fix a crash fired on resize
3304 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
3306 * buffer.[Ch]: added new closing signal
3307 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3308 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3309 BufferView::Pimpl via the closing the signal
3311 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
3313 * buffer.[Ch]: take out all bv-related from buffer
3315 * BufferView_pimpl.[Ch]: connect to new signals
3316 * CutAndPaste.C: removed useless asserts
3317 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3320 * lyxfunc.C: moved view-related funciontality from vc here
3321 * paragraph.C: removed outdated comments
3324 2003-07-10 André Pönitz <poenitz@gmx.net>
3326 * BufferView_pimpl.C:
3330 * text2.C: remove InsetText::InnerCache, clean up consequences
3332 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3334 * ispell.C: fix two typos in error messages
3336 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
3338 * Extend Note inset to other forms of annotation like Comment
3339 and Greyedout. Right button click gives dialog.
3341 Files modified or added (+):
3345 * ControlNote.[Ch] +
3347 * Makefile.am in frontends/xforms, frontends/xforms/forms,
3348 frontends/controllers
3352 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3354 * aspell.C: add missing namespace lyx::support
3356 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
3358 * BufferView.[Ch] (newFile): Add
3359 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3360 * LaTeX.[Ch] (message): added this signal and use it
3361 * buffer.[Ch] (busy, message): added these signals and use them
3362 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3366 * importer.C: use buffer signals instead of direct bv calling
3367 * lyx_cb.[Ch] (ShowMessage): removed
3370 * paragraph_funcs.C:
3371 * text2.C: use buffer signals
3373 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3375 * introduce namespace lyx::graphics
3377 2003-07-02 André Pönitz <poenitz@gmx.net>
3379 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3381 2003-07-01 André Pönitz <poenitz@gmx.net>
3388 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3389 text*.C to text_func.C
3391 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3393 * introduce namespace lyx::support
3395 2003-06-30 André Pönitz <poenitz@gmx.net>
3400 * text.C: re-enable --with-included-string
3402 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3404 * textcursor.C: add <config.h>
3406 * text.C (getWord): remove const from word_location arg
3408 * lyxvc.C (getLogFile): fix const type order
3410 * lyxtext.h: remove const from word_location arg, add arg name
3412 * lyxlayout.h: currect type on labeltype.
3414 * importer.C: correct \file
3416 * converter.C (intToFormat): use std:: on ret val, ws changes
3418 * bufferlist.h: correct \file
3420 * buffer.C (makeLinuxDocFile): fix const type order
3421 (makeDocBookFile): ditto
3422 (fillWithBibKeys): use std:: on stdlib args.
3424 * CutAndPaste.C: fix authors.
3425 (availableSelections): use std:: on return vector
3427 2003-06-27 André Pönitz <poenitz@gmx.net>
3429 * BufferView_pimpl.C:
3430 * bufferview_funcs.C:
3438 * text3.C: remove LyXCursor::row_ member
3441 * text.C: rename fullRebreak() to partialRebreak() and implement
3442 a fullRebreak() that really bereks fully
3444 * textcursor.h: new struct for cursor-related data
3446 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
3448 * lyx_main.C (LyX): get full path of document loaded on the
3451 2003-06-26 André Pönitz <poenitz@gmx.net>
3453 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3454 remove unused/broken operator>,<,>=.
3456 * text.C: remove only use of broken operator<= in an Assert().
3458 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3460 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3461 moved errorlist_.clear to showErrorList
3463 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3465 * converter.C (scanLog, runLaTeX):
3466 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3467 move the bv->showErrorList call to the callers
3468 * lyxfunc.C: i.e. here...
3470 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3471 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3472 namespace, the second to...
3473 * buffer_funcs (BufferFormat, parseErrors): added
3474 * errorlist.C (ErrorList(TeXErrors const &)): removed
3476 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3478 * ToolbarBackend.C (getIcon): complain when icon cannot be found
3480 2003-06-24 "Garst R. Reese" <reese@isn.net>
3484 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3486 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3488 * version.C.in: change docversion to 1.4
3490 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
3492 * buffer.C: fix a bug just introduced
3494 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3496 * buffer.[Ch]: added the parseError signal and use it, removed
3498 * BufferView.[Ch] (addError): moved to ...
3499 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3500 to the Buffer::parseError signal to catch (guess what) parse errors
3501 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3503 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3505 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3506 ability to create a buffer and to return an existing one from
3507 the list. Moved these functions to...
3508 * buffer_funcs.[Ch]: added
3509 * BufferView.[Ch] (loadLyXFile): added
3510 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3511 job removed from bufferlist::loadLyXFile.
3512 * buffer.C (setReadOnly): make it work without view
3513 (i.e added an if (users))
3515 2003-06-19 Angus Leeming <leeming@lyx.org>
3518 * LyXAction.C (init):
3519 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3520 with LFUN_DIALOG_SHOW <name> <data>.
3522 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3524 * CutAndPaste.C (availableSelections): small compilation fix for
3525 ancient (gcc 2.9x) compilers
3527 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3529 * text3.C (cursorNext): add tmp var
3531 * text2.C (updateCounters): for function calling out of for clause
3532 (replaceSelectionWithString): ditto
3533 (insertStringAsParagraphs): ditto
3534 (getColumnNearX): add tmp var
3535 (setCursorFromCoordinates): add tmp var
3536 (cursorDownParagraph): add tmp var
3537 (deleteEmptyParagraphMechanism): add tmp var
3539 * text.C (insertChar): add tmp var
3541 * rowpainter.C (paintDepthBar): add tmp var
3543 * CutAndPaste.C (availableSelections): potentially check all
3544 paragraphs in a cut to fill the shown strings.
3546 2003-06-18 André Pönitz <poenitz@gmx.net>
3548 * kbmap.[Ch]: use vector<> instead of list<>
3550 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3552 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3553 pasteSelection with index
3555 * text2.C (pasteSelection): modify, call pasteSelection with index
3557 * paragraph.C (asString): reimplement version with no interval to
3558 call the one with interval.
3560 * lyxtext.h: add index arg to pasteSelection
3562 * MenuBackend.C (MenuItem): handle PasteRecent
3563 (Menu::read::Menutags): add md_pasterecent
3565 (expandPasteRecent): new function
3568 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3570 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3572 (availableSelections): new function
3574 2003-06-17 Angus Leeming <leeming@lyx.org>
3576 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3578 2003-06-17 Angus Leeming <leeming@lyx.org>
3581 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3583 * lyxfunc.C (dispatch): invoke it.
3585 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3587 * iterators.C (operator++, ParPosition): reintroduce some
3588 const_cast for the benefit of older compilers.
3590 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3592 * text3.C (dispatch): do not modify clipboard when doing
3593 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3594 LFUN_DELETE_SKIP on a selection selection
3596 2003-06-16 André Pönitz <poenitz@gmx.net>
3602 * tabular.[Ch]: IU of clone() and getLabelList();
3604 2003-06-13 André Pönitz <poenitz@gmx.net>
3606 * tabular.h: compactification
3608 2003-06-12 André Pönitz <poenitz@gmx.net>
3612 * tabular_funcs.h: some renaming plus whitespace
3614 2003-06-12 André Pönitz <poenitz@gmx.net>
3617 * BufferView_pimpl.C:
3623 * toc.C: Return a Paragraph & for ParIterator::operator*()
3625 2003-06-11 John Levon <levon@movementarian.org>
3629 * ToolbarBackend.C: add "Toolbars" section and
3632 2003-06-10 Angus Leeming <leeming@lyx.org>
3635 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3637 * lyxfunc.C (dispatch): invoke it.
3639 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3641 * main.C: protect <ios> with HAVE_IOS
3642 (main): protect sync_with_stdio with HAVE_IOS
3644 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3646 * text2.C (cutSelection): adjust
3647 (pasteSelection): adjust
3649 * messages.C: handle get of empty string
3651 * main.C (main): use sync_with_stdio(false)
3653 * lyxfunc.C (dispatch): adjust
3655 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3656 (WriteAs): remove unneeded BufferView arg.
3658 * bufferparams.h: use correct types on papersize, papersize2 and
3661 * bufferparams.C (readToken): adjust for type
3662 (writeLaTeX): add missing cases to switch.
3664 * bufferlist.C (quitWriteBuffer): adjust
3667 * buffer.C (asciiParagraph): remove some commented code.
3669 * CutAndPaste.C: remove current_view extern variable.
3670 (cutSelection): add BufferParams arg.
3671 (eraseSelection): add BufferParams arg.
3672 (pasteSelection): add Buffer const & arg
3674 2003-06-07 John Levon <levon@movementarian.org>
3677 * paragraph_funcs.C:
3678 * paragraph_pimpl.C:
3682 * paragraph.C: allow InsetERT to freely space lines,
3683 and some consolidation of code
3685 2003-06-06 José Matos <jamatos@fep.up.pt>
3687 * buffer.C (makeDocBookFile): fix bug #821
3689 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3691 * BufferView_pimpl.C (dispatch): use Dialogs::visible
3693 2003-06-04 Angus Leeming <leeming@lyx.org>
3695 * buffer.C: bump format to 224.
3697 2003-06-05 André Pönitz <poenitz@gmx.net>
3699 * text2.C (redoParagraphs): remove two const_cast<>
3701 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3703 * ParagraphList.h: remove last remnants of NO_STD_LIST
3705 2003-06-03 Angus Leeming <leeming@lyx.org>
3707 * factory.C (createInset): small change to the way InsetExternal's params
3710 2003-06-04 André Pönitz <poenitz@gmx.net>
3712 * buffer.h: use Undo directly instead of shared_ptr<Undo>
3714 * paragraph_pimpl.h:
3715 * paragraph.[Ch]: some Inset -> UpdatableInset changes
3717 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3719 * undo_funcs.C: make some simple cases of undo work again
3721 2003-06-03 John Levon <levon@movementarian.org>
3723 * ispell.C: HPUX doesn't have sys/select.h
3726 2003-06-03 John Levon <levon@movementarian.org>
3728 * CutAndPaste.C: update tabular and include inset
3733 * paragraph.C: remove owningBuffer(), don't pass Buffer
3736 * factory.C: insetGraphicsParams changed
3738 2003-06-02 John Levon <levon@movementarian.org>
3744 * text3.C: remove insetparent
3746 2003-06-02 John Levon <levon@movementarian.org>
3749 * buffer.C: fix inset_iterator.end(), move out of line
3752 2003-06-01 John Levon <levon@movementarian.org>
3754 * text3.C: use a proper cut/paste when doing inset
3755 insert (from Jürgen Spitzmüller)
3757 2003-06-01 John Levon <levon@movementarian.org>
3759 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3761 2003-05-30 André Pönitz <poenitz@gmx.net>
3763 * rowpainter.C: unify second drawing phase
3765 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3767 * trans_mgr.C: remove one case of current_view
3769 * text2.C (cursorBottom): delete NO_STD_LIST stuff
3771 * paragraph_funcs.h: remove paragraph.h include
3773 * paragraph.h: delete NO_STD_LIST stuff
3775 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3777 * buffer.h: remove paragraph.h include
3779 * ParagraphList.C: delete file
3781 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3783 * toc.C (getTocList): adjust
3785 * paragraph_pimpl.C (validate): adjust
3787 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3789 * paragraph.C (Paragraph): adjust
3790 (getPositionOfInset): use const_iterator, adjust
3791 (bibitem): use const_iterator, adjust
3792 (setInsetOwner): adjust
3794 * iterators.C (operator++): adjust
3796 * InsetList.[Ch]: Replace selfmade iterator with standard
3797 vector::iterator also introduce const_iterator. Remove getPos,
3798 getInset and setInset from InsetTable. Adjust accordingly.
3800 * BufferView.C (lockInset): adjust
3801 (ChangeInsets): adjust
3803 * tabular.[Ch]: delete commented same_id functions
3805 2003-05-28 John Levon <levon@movementarian.org>
3807 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3809 2003-05-28 André Pönitz <poenitz@gmx.net>
3811 * metricsinfo.[Ch]: remove 'fullredraw' member
3813 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
3815 * lyxtextclass.C (operator): remove caching.
3817 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3821 * text2.C (cursorBottom): adjust
3822 (setCounter): use ParagraphList::find, adjust
3824 * text.C (workWidth): use ParagraphList::find, adjust
3826 * lyxcursor.C (LyXCursor): adjust
3828 * buffer.C (inset_iterator): adjust
3830 * ParagraphList.h: make iterator(value_type) private, make
3831 ParagraphList a friend of iterator.
3833 * ParagraphList.C (find): new function
3835 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3837 2003-05-27 André Pönitz <poenitz@gmx.net>
3839 * dimension.[Ch]: a -> asc, d -> des, w -> wid
3841 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3843 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3845 2003-05-26 John Levon <levon@movementarian.org>
3847 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3849 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3851 * remove same_id from function signatures, adjust.
3853 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3855 * undo_funcs.C (createUndo): use the id functions directly, adjust.
3857 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3859 * paragraph.C (Paragraph): get rid of same_ids parameter
3861 * ParagraphList.C (insert): adjust
3864 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3866 * paragraph_funcs.C (breakParagraph): adjust
3867 (breakParagraphConservative): adjust
3869 * buffer.C (readParagraph): adjust
3871 * ParagraphList.C (insert): take a reference instead of a pointer
3874 * paragraph.[Ch] (id): new function
3876 * bufferlist.C (newFile): adjust
3878 * ParagraphList.C (ParagraphList): adjust
3880 (push_back): take a reference instead of a pointer.
3882 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3884 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3887 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3888 set else use old code.
3890 * ParagraphList.C: remove all NO_NEXT code and only compile this
3891 code of NO_STD_LIST is set.
3893 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3895 * BufferView_pimpl.C:
3905 * graphics/GraphicsConverter.C:
3906 * graphics/PreviewLoader.C: header adjustment
3908 2003-05-23 Angus Leeming <leeming@lyx.org>
3910 * LaTeXFeatures.[Ch] (useBabel): new method.
3911 * bufferparams.C (writeLaTeX): use it.
3913 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3915 * ParagraphList.h (set): remove unused function.
3917 2003-05-23 André Pönitz <poenitz@gmx.net>
3920 * BufferView_pimpl.C:
3924 * undo_funcs.C: setUndo reworked
3926 * iterators.[Ch]: add access to topmost ParagraphList
3928 * lyxtext.[Ch] (workWidth): add a const
3930 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3932 * texrow.[Ch] (increasePos): remove function
3933 * exporter.C (export): removed unused var and outdated comment
3935 2003-05-23 Angus Leeming <leeming@lyx.org>
3937 * latexrunparams.h: rename fragile as moving_arg.
3938 * paragraph.C (simpleTeXOnePar): ditto.
3939 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3941 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3943 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3945 (textUndoOrRedo): comment out a currently unused var.
3947 * paragraph.h (NO_NEXT): enable NO_NEXT
3949 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3951 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3953 * exporter.C (Export): adjust for removeAutoInsets removal.
3955 * buffer.C (runChktex): adjust for removeAutoInsets removal.
3957 * LyXAction.C (init): remove LFUN_REMOVEERRORS
3959 * BufferView.[Ch] (removeAutoInsets): delete function
3961 2003-05-22 Angus Leeming <leeming@lyx.org>
3963 * latexrunparams.h: add a free_spacing variable.
3965 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3966 to pass moving_arg, as the data is stored in runparams.fragile.
3968 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3969 to Inset::latexOptional or to simpleTeXOnePar.
3971 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3972 free_spacing arg to Inset::latexOptional.
3974 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3977 2003-05-22 Angus Leeming <leeming@lyx.org>
3979 * latexrunparams.h: add fragile and use_babel variables.
3981 * bufferparams.[Ch] (writeLaTeX): return use_babel.
3982 * buffer.C (makeLaTeXFile): store this returned value in
3983 runparams.use_babel, thus passing it to the inset::latex methods.
3985 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3986 simpleTeXSpecialChars as it is now stored in runparams.fragile.
3988 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3989 longer has a fragile arg, as it is stored in runparams.fragile.
3991 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3992 moving_arg parameter as the data is stored in runparams.fragile.
3994 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3995 a fragile parameter as the data is stored in runparams.fragile.
3997 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3999 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4001 2003-05-22 Angus Leeming <leeming@lyx.org>
4003 * latexrunparams.h: add a 'bool nice' which defaults to false.
4005 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4006 now encapsulated within runparams.
4008 * bufferlist.C (updateIncludedTeXfiles):
4009 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4011 2003-05-22 Angus Leeming <leeming@lyx.org>
4013 * latexrunparams.h: new file containing struct LatexRunParams.
4014 * Makefile.am: add new file.
4016 * LaTeX.[Ch] (c-tor, run):
4017 * buffer.[Ch] (makeLaTeXFile):
4018 * bufferlist.[Ch] (updateIncludedTeXfiles):
4019 * converter.C (convert, scanLog):
4020 * converter.[Ch] (runLaTeX):
4021 * exporter.C (Export):
4022 * paragraph.[Ch] (simpleTeXOnePar):
4023 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4024 * paragraph_funcs.[Ch] (latexParagraphs):
4025 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4026 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4027 pass around a LatexRunParams parameter.
4029 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4031 * paragraph.[Ch]: remove unused constructor
4033 * ParagraphList.C (erase): new function, taking two iterators
4035 2003-05-22 André Pönitz <poenitz@gmx.net>
4037 * undo_funcs.C: remove duplicated code
4039 * iterator.[Ch]: operator=
4041 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4043 * tabular.C (SetMultiColumn): ws changes
4045 * rowpainter.C (paintFirst): get rid of a ->previous
4047 * lyx_cb.C (getPossibleLabel): parlist simplification
4049 * BufferView.C (ChangeInsets): simplify slightly.
4051 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4053 * LyXAction.C: new lfun space-insert, kill protected-space-insert
4054 * lfuns.h: new LFUN_SPACE
4055 * lyxfunc.C: protected space has a new lfun
4056 * paragraph_funcs.C: read new space insets
4058 * factory.C: handle new space insets
4060 2003-05-22 André Pönitz <poenitz@gmx.net>
4063 * BufferView_pimpl.C:
4066 * undo_funcs.C: return a ParIterator from getParFromID.
4068 * iterators.[Ch]: add two const's
4070 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4072 * toc.C (getTocList): adjust
4074 * iterators.[Ch]: rework for parlist
4076 * buffer.C (par_iterator_begin): adjust
4077 (par_iterator_end): adjust
4079 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4081 * BufferView.C (removeAutoInsets): adjust
4082 (ChangeInsets): adjust
4084 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
4086 * text.C (top_y): fix bug 1110
4088 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
4090 * errorlist.[Ch]: added
4093 * BufferView_pimpl.C:
4094 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4097 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4099 * Makefile.am: ensure that lyx is relinked upon changes to the
4100 various "convenience" libs.
4102 2003-05-20 Angus Leeming <leeming@lyx.org>
4104 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4105 files are compiled in alphabetical order again.
4107 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4109 2003-05-19 Angus Leeming <leeming@lyx.org>
4111 * gettext.[Ch]: remove "char const * _(char const *)".
4113 2003-05-19 André Pönitz <poenitz@gmx.net>
4115 * dimension.[Ch]: promote from mathed/dimension.[Ch]
4124 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4126 2003-05-19 André Pönitz <poenitz@gmx.net>
4130 * lyxtextclass.[Ch]:
4132 * paragraph_funcs.[Ch]:
4134 * text3.C: more insetenv work
4136 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
4138 * ParagraphParameters.C (params2string): small bug fixed
4140 2003-05-16 André Pönitz <poenitz@gmx.net>
4143 * bufferview_funcs.C: patch from Kornel Benko to prevent
4144 crash when _(...) is called twice in a statement
4146 2003-05-16 André Pönitz <poenitz@gmx.net>
4153 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4155 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
4157 * lyx_main.C (init): remove spurious static_cast
4159 2003-05-14 André Pönitz <poenitz@gmx.net>
4161 * BufferView.C: fix format string
4163 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
4165 * BufferView.[Ch] (insertErrors): removed
4166 * BufferView.[Ch] (showErrorList): added
4167 * buffer.C (runChkTeX):
4168 * converter.C (scanLog): call showErrorList instead of inserterrors
4170 2003-05-13 André Pönitz <poenitz@gmx.net>
4172 * BufferView_pimpl.C:
4174 * bufferview_func.C:
4181 * tabular_funcs.h: tostr() from its own header
4183 * ParagraphParameters.C:
4188 * text3.C: STRCONV()
4190 2003-05-12 André Pönitz <poenitz@gmx.net>
4193 * BufferView_pimpl.C:
4197 * ParagraphParameters.C:
4201 * bufferview_funcs.C:
4214 * paragraph_funcs.C:
4218 * text3.C: boost::format -> bformat all over the place
4221 2003-05-09 André Pönitz <poenitz@gmx.net>
4223 * LColor.[Ch]: Pimpl the #include <map> away
4225 2003-05-09 John Levon <levon@movementarian.org>
4227 * bufferlist.C: never remove emergency saves
4229 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4231 * Makefile.am: better lib building
4233 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4235 * texrow.[Ch]: remove dependency on Paragraph and just store a id
4237 * paragraph_pimpl.C (simpleTeXBlanks): adjust
4238 (simpleTeXSpecialChars): adjust
4239 (simpleTeXSpecialChars): adjust
4240 * paragraph.C (simpleTeXOnePar): adjust
4241 * buffer.C (makeLaTeXFile): adjust
4243 * Makefile.am (BOOST_LIBS): allow boost as system lib.
4245 * text2.C (changeDepth): parlist cleanup
4246 (getColumnNearX): ditto
4248 * rowpainter.C (getLabelFont): parlist cleanup
4250 * bufferlist.C (newFile): parlist cleanup
4252 * CutAndPaste.C (eraseSelection): parlist cleanup
4254 * BufferView_pimpl.C (trackChanges): parlist cleanup
4257 * BufferView.C (lockInset): parlist cleanup.
4258 (ChangeInsets): ditto
4260 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4262 * CutAndPaste.h: Update file header.
4264 * CutAndPaste.C: Update file header.
4265 Store the parts cut out of the Document in a limited_stack.
4266 (copySelection): adjust
4267 (pasteSelection): new function, takes the index in the limited stack.
4268 (nrOfParagraphs): adjust
4269 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4270 simplify error inset insertion.
4271 (checkPastePossible): adjust
4273 2003-05-06 John Levon <levon@movementarian.org>
4275 * text2.C: don't cast wrap inset to float
4277 2003-05-05 André Pönitz <poenitz@gmx.net>
4280 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4282 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4283 few naked Paragraph *.
4285 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
4287 * bufferparams.C: Output warning if a document with missing
4288 TeX document class is loaded
4289 * exporter.C: Disable TeX exports if the document class is missing
4292 * lyxtextclasslist.C: Handle new textclass.lst format; new method
4293 isTeXClassAvailable()
4295 2003-05-03 John Levon <levon@movementarian.org>
4298 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4299 explicit cursor show/hide
4301 * BufferView_pimpl.h:
4302 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4303 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4305 * lyxfunc.C: hide cursor before dispatching.
4310 * text3.C: remove explicit cursor hides
4312 2003-05-02 André Pönitz <poenitz@gmx.net>
4314 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4317 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4320 * text2.C: tiny whitespace
4322 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4324 * undo_funcs.C: almost only ws changes.
4326 * ParagraphList.C (splice): just return if pl is empty.
4328 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4330 * ParagraphList.C (splice): new function.
4332 * CutAndPaste.C (pasteSelection): use it
4334 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4336 * CutAndPaste.C (pasteSelection): remove the last next and
4337 previous from this file.
4339 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4341 * CutAndPaste.C (pasteSelection): more clean up, user proper
4342 ParagraphList functions for pasteing.
4344 * ParagraphList.C (insert): new function, three arg insert
4346 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4348 * ParagraphList.C (insert): new function, three arg insert
4350 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4353 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4355 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4357 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4359 * CutAndPaste.C (pasteSelection): remove some unneeded code.
4361 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4363 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4364 (copySelection): clean up a bit.
4365 (pasteSelection): use make_pair
4367 * ParagraphList.C (ParagraphList): implement copy constructor
4368 (operator=): implement, base on copy constructor.
4371 * paragraph.C (erase): return a bool
4373 * paragraph_pimpl.C (erasePos): remove function, move contents...
4374 (erase): ... here. Return a bool.
4375 (erase): call erase instead of erasePos.
4377 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
4379 * ParagraphList.h: define PitPosPair
4380 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4381 ParagraphList, fix a bug on pasting multiple pars
4382 * text2.C: change interface to C&P
4384 2003-04-30 André Pönitz <poenitz@gmx.net>
4386 * undo_func.C: revert part of yesterday's patch 2
4388 2003-04-30 John Levon <levon@movementarian.org>
4390 * LColor.C: s/tabular/table/
4392 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4394 * text3.C (dispatch): do not convert iterator -> pointer
4395 * undo_funcs.C (setCursorParUndo): ditto
4396 * text_funcs.C (transposeChars): ditto
4398 * text2.C (setLayout): ws changes only
4400 * text.C (breakParagraph): do not convert iterator -> pointer
4402 (acceptChange): ditto
4403 (rejectChange): ditto
4408 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4411 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4413 * text3.C (gotoInset): YABG (yet another bad getChar)
4415 2003-04-29 André Pönitz <poenitz@gmx.net>
4417 * paragraph.h: make operator= private unimplemented as long as
4420 * ParagraphList.C: whitespace
4423 * paragraph_pimpl.[Ch]:
4424 * paragraph_funcs.C:
4426 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
4429 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4431 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4433 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4434 * paragraph.[Ch] (erase):
4435 * paragraph_pimpl.[Ch] (erase): change return type and value
4436 * text2.C (cutSelection): some rework
4438 2003-04-28 John Levon <levon@movementarian.org>
4440 * bufferlist.C: changes for unsaved changes dialog
4442 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4444 * bufferlist.C (newFile): set language (messages_) for new
4447 * buffer.C (readFile): ws changes only.
4449 2003-04-28 André Pönitz <poenitz@gmx.net>
4454 * BufferView_pimpl.C:
4455 * BufferView.C: getParFromID related ParagraphList::iterator changes
4457 2003-04-28 André Pönitz <poenitz@gmx.net>
4459 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4462 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4464 * messages.C: remove one more localedir class variable.
4466 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4468 * messages.C (getLocaleDir): singleton generation function
4470 (Messages): add a default constructor.
4472 * main.C (main): do not setup localedir here, do not call
4475 * gettext.C (_): use it.
4476 (gettext_init): delete funciton
4478 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4480 * gettext.C (getLyXMessages): new singleton generating function.
4482 * buffer.C (updateDocLang): adjust
4484 * Makefile.am (messages.o): add target
4485 (main.o): remove target
4487 2003-04-27 John Levon <levon@movementarian.org>
4492 * lyxvc.C: specify cancel button in Alert::prompt
4494 2003-04-26 John Levon <levon@movementarian.org>
4499 * LyXAction.C: add LFUN_INSET_SETTINGS
4501 * lyxfunc.C: don't enable tabular-feature when there's
4502 just any locking inset
4504 2003-04-26 John Levon <levon@movementarian.org>
4506 * bufferlist.C: re-add Cancel to buffer close question
4508 * lyxfunc.C: fix import UI a bit
4510 2003-04-25 John Levon <levon@movementarian.org>
4512 * gettext.C: remove the broken asserts for now
4514 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4516 * messages.C: make case where setlocale cannot comply work better.
4518 * buffer.C (updateDocLang): new function
4519 (changeLanguage): use it
4522 * text2.C (setCounter): use B_ a bit.
4524 * lyxlayout.C (Read): be sure to trim the label strings.
4526 * messages.C (Messages): fix typo in comment
4528 * buffer.C (readFile): set message_ after file is loaded.
4529 (makeDocBookFile): remove double return
4530 (changeLanguage): reset message_ upon language change.
4531 (B_): new func, use this to get translated buffer strings.
4533 * main.C: add myself and Jean Marc as authors.
4535 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4537 * messages.[hC]: pimplify Messages, and three different pimpls to be
4538 used in different circumstances.
4540 * gettext.[Ch]: change for use with new message code.
4542 2003-04-24 André Pönitz <poenitz@gmx.net>
4544 * factory.C: support for eqref
4546 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4548 * messages.[Ch]: add missing char
4550 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4552 * messages.[Ch]: New files
4554 2003-04-18 John Levon <levon@movementarian.org>
4558 * BufferView_pimpl.C:
4562 * text2.C: remove layout-copy/paste (bug 778)
4564 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4566 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4568 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4570 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4571 if they succeed. Act accordingly.
4573 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4575 * text2.C (setCharFont): adjust
4576 (setCounter): adjust
4577 (insertStringAsLines): adjust
4579 * text.C (leftMargin): adjust
4580 (setHeightOfRow): adjust
4582 * rowpainter.C (paintFirst): adjust
4585 * paragraph_funcs.C (depthHook): ParagraphList::iterators
4587 (isFirstInSequence): ditto
4588 (getEndLabel): ditto
4591 * paragraph.C (getParLanguage): comment out some hard stuff.
4593 * buffer.C (insertStringAsLines): take a ParagraphList as arg
4595 (simpleDocBookOnePar): ditto
4596 (makeDocBookFile): use ParagraphList::iterator
4598 * CutAndPaste.C (pasteSelection): adjust
4600 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4602 * text2.C (getFont): adjust
4603 (getLayoutFont): adjust
4604 (getLabelFont): adjust
4606 * paragraph_funcs.C (TeXOnePar): adjust
4608 * buffer.C (simpleLinuxDocOnePar): adjust
4609 (simpleDocBookOnePar): adjust
4611 * CutAndPaste.C (pasteSelection): adjust
4613 * BufferView.C (getEncoding): adjust
4615 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4617 2003-04-16 John Levon <levon@movementarian.org>
4619 * lyxfind.C: use parlist stuff for search/changes
4621 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4623 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4625 * text2.C (deleteEmptyParagraphMechanism): adjust
4627 * text2.[Ch] (ownerParagraph): delete func (both of them
4629 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4631 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4633 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4635 * ParagraphList.C: prepare for NO_NEXT
4637 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4639 * text2.C (getFont): adjust
4640 (getLayoutFont): adjust
4641 (getLabelFont): adjust
4643 * paragraph.C (getFont): adjust
4644 (getLabelFont): adjust
4645 (getLayoutFont): adjust
4647 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4649 2003-04-15 John Levon <levon@movementarian.org>
4653 * lyx_main.C: handle Include in .ui files
4655 2003-04-15 John Levon <levon@movementarian.org>
4657 * MenuBackend.C: make the doc files length shorter
4660 * ToolbarBackend.C: handle toolbar placement flags,
4663 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4665 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4668 * paragraph_funcs.C (TeXOnePar): adjust
4670 * paragraph.C (getLabelFont): add outerfont arg, adjust
4671 (getLayoutFont): ditto
4672 (simpleTeXOnePar): adjust
4674 * paragraph_pimpl.C (realizeFont): delete func
4676 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
4678 * text2.C (beforeFullRowInset): added a bad getchar check, removed
4679 row argument, constify cur argument.
4681 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4683 * text2.C (getFont): adjust
4684 (getLayoutFont): adjust
4685 (getLabelFont): adjust
4687 * paragraph_funcs.C (TeXOnePar): adjust
4688 (outerFont): new func...
4689 (realizeFont): ...moved out from here, changed this to facilitate
4692 * paragraph.C (getFont): take outerfont as arg, adjust
4693 (simpleTeXOnePar): add outerfont arg, adjust
4695 * buffer.C (simpleLinuxDocOnePar): adjust
4696 (simpleDocBookOnePar): adjust
4698 * CutAndPaste.C (pasteSelection): adjust
4700 * BufferView.C (getEncoding): adjust
4702 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4704 * text2.C (setCharFont): adjust
4705 (setCounter): adjust
4707 * text.C (leftMargin): adjust
4708 (setHeightOfRow): adjust
4710 * rowpainter.C (paintFirst): adjust
4713 * paragraph_pimpl.C (realizeFont): adjust
4715 * paragraph.C (isFirstInSequence): move from here...
4716 * paragraph_funcs.C (isFirstInSequence): ...to here
4718 * paragraph.C (outerHook): move from here...
4719 * paragraph_funcs.C (outerHook): ...to here
4721 * paragraph.C (depthHook): move from here...
4722 * paragraph_funcs.C (depthHook): ...to here
4724 * paragraph.C (getEndLabel): move from here...
4725 * paragraph_funcs.C (getEndLabel): ...to here
4727 * text2.C (realizeFont): move from here...
4728 * paragraph_funcs.C (realizeFont): ...to here
4730 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4732 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4734 2003-04-14 Angus Leeming <leeming@lyx.org>
4736 * LColor.[Ch]: scrap LColor mathcursor.
4738 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4740 * lyxlex.[Ch] (text): delete function
4741 * trans.C (Load): adjust
4742 * paragraph_funcs.C (readParToken): adjust
4744 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4746 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4747 vector<char> instead of a char[].
4749 * lyxlex_pimpl.C (getString): adjust
4751 (lex): use getString
4755 * lyxlex.C (text): use pimpl_->getString()
4759 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4761 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4762 (makeFontEntriesLayoutSpecific): temp var for par.size()
4763 (setLayout): temp var for ownerParagraphs().end()
4764 (fullRebreak): temp var for rows().end()
4765 (selectionAsString): temp var for boost::next(startpit), realize
4766 that the while really is a regular for loop.
4767 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4768 setCursor in one place.
4769 (setParagraph): temp vr for ownerParagraphs().end()
4770 (updateCounters): make the while loop a for loop
4771 (cutSelection): temp var for ownerParagraphs().end()
4772 (updateInset): make the do {} while() a regular for loop
4773 (getCursorX): use temp vars
4774 (setCurrentFont): use temp vars
4775 (getColumnNearX): use temp vars
4777 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4779 * text.C (transformChar): use temp var for getChar
4780 (computeBidiTables): use temp var for row->par()
4781 (fill): move temp vars for row->par() and pit->layout() earlier in
4783 (labelFill): use temp var for row->par()
4784 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4785 asc and desc, realize that pit never changes and that firstpit is
4786 just a duplicate and not needed. Exchange rit->par() with pit in a
4788 (breakAgain): use a temp var for boost::next(rit)
4789 (breakAgainOneRow): ditto
4790 (breakParagraph): use a temp var for rows().begin()
4791 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4792 (cursorRightOneWord): use temp var for cursor.par() and
4793 cursor.pos(), remove usage of tmpcursor.
4794 (cursorLeftOneWord): use temp var for cursor.par() and
4795 cursor.pos() only set cur at end of function.
4797 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4799 * text.C, text2.C: exchange all usage of Paragraph::next with
4800 boost::next(ParagraphList::iterator)
4802 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4804 * text2.C (cursorTop): simplify implementation
4805 (cursorBottom): ditto
4806 (setParagraph): use ParagraphList::iterator
4807 (setCurrentFont): adjust
4808 (getColumnNearX): adjust
4809 (cursorRight): adjust
4810 (cursorLeft): remove usage of Paragraph::previous
4811 (cursorUpParagraph): ditto
4812 (deleteEmptyParagraphMechanism): slight cleanup
4814 * text.C (isBoundary): take a Paragraph const & instead of a
4816 (addressBreakPoint): ditto
4817 (leftMargin): remove usage of Paragraph::previous.
4818 (setHeightOfRow): ditto
4819 (cursorLeftOneWord): ditto
4820 (selectNextWordToSpellcheck): ditto
4823 (breakParagraph): remove one usage of Paragraph::next
4824 (redoParagraph): ditto
4825 (acceptChange): ditto
4826 (insertChar): adjust
4827 (rowBreakPoint): adjust
4829 * bufferview_funcs.C (toggleAndShow): adjust
4831 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
4833 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4834 methods to access it.
4836 * text.C: Added updateRowPositions to compute all row positions.
4837 Make top_y and getRowNearY() to use the cached y position
4839 2003-04-11 John Levon <levon@movementarian.org>
4841 * text.C (rowBreakPoint): reintroduce the labelEnd
4842 checks, code copied from the row fill stuff. Deep voodoo.
4844 * text.C (fill): add a comment and debugging for the
4847 2003-04-11 John Levon <levon@movementarian.org>
4849 * text.C: make sure fullrow insets get wrapped to the next line,
4850 even when they're in a manual label
4852 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4854 * text2.C (insertParagraph): make it take ParagraphList::iterator
4856 (setLayout): make it return ParagraphList::iterator
4857 (redoParagraphs): ditto
4859 (checkParagraph): ditto
4861 * text.C (getRow): make getrow take ParagraphList::iterator as arg
4863 * text2.C: adjust several funcs.
4864 (realizeFont): take a ParagraphList::iterator as arg.
4865 (getLayoutFont): ditto
4866 (getLabelFont): ditto
4867 (setCharFont): ditto
4869 * text.C: adjust several funcs.
4871 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4873 * text.C (selectNextWordToSpellcheck): don't accidentally
4876 2003-04-10 John Levon <levon@movementarian.org>
4878 * ToolbarBackend.C (getIcon): special handling for
4881 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4883 * text2.C (cursorRight): a getChar assert fixed
4885 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4887 * text2.C (getFont): change to take a ParagraphList::iterator
4888 instead of Paragraph*
4889 Adjust several functions.
4891 * text.C (transformChar): change to take a ParagraphList::iterator
4892 instead of Paragraph*
4893 (singleWidth): ditto
4894 Adjust several functions.
4896 * rowpainter.C: adjust several functions
4897 * rowpainter.h:store a ParagraphList::iterator and not a
4901 2003-04-09 John Levon <levon@movementarian.org>
4906 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4907 and the "help" bits as well
4909 2003-04-09 John Levon <levon@movementarian.org>
4912 * ToolbarBackend.C: allow multiple toolbars
4914 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4916 * undo_funcs.C (setCursorParUndo): adjust
4918 * text_funcs.C (transposeChars): adjust
4920 * text3.C (gotoNextInset): adjust
4923 * text2.C (setLayout): adjust
4924 (changeDepth): adjust
4926 (redoParagraphs): adjust
4927 (selectionAsString): adjust
4928 (setParagraph): adjust
4929 (insertInset): adjust
4930 (cutSelection): adjust
4931 (copySelection): adjust
4932 (pasteSelection): adjust
4933 (insertStringAsLines): adjust
4934 (updateInset): adjust
4935 (setCursor): change to take a ParagraphList::iterator parameter
4936 (setCursorIntern): change to take a ParagraphList::iterator parameter
4937 (setCurrentFont): adjust
4938 (cursorLeft): adjust
4939 (cursorRight): adjust
4940 (deleteEmptyParagraphMechanism): adjust
4942 * text.C (breakParagraph): adjust
4943 (insertChar): adjust
4944 (acceptChange): adjust
4945 (rejectChange): adjust
4946 (selectNextWordToSpellcheck): adjust
4947 (changeCase): adjust
4951 * lyxfind.C (SearchForward): adjust
4952 (SearchBackward): adjust
4953 (nextChange): adjust
4955 * lyxcursor.C (par): adjust
4957 * lyxcursor.h: store a ParagraphList::iterator instead of a
4960 * lyx_cb.C (getPossibleLabel): adjust
4962 * bufferview_funcs.C (toggleAndShow): adjust
4964 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4967 * BufferView.C (removeAutoInsets): adjust
4968 (lockedInsetStoreUndo): adjust
4970 2003-04-09 John Levon <levon@movementarian.org>
4972 * ToolbarBackend.C: try icon without argument
4973 if with argument fails
4975 2003-04-08 John Levon <levon@movementarian.org>
4978 * ToolbarBackend.C: add getIcon(), handle tooltip,
4979 and change from "Icon" to "Item".
4981 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4983 * BufferView.C (lockInset): another bad getchar crunched
4985 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4987 * text2.C (changeDepth): do not setUndo on test_only (make undo work
4990 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
4992 * lyxfind.C (searchForward, searchBackwards): bug 782
4994 2003-04-07 John Levon <levon@movementarian.org>
4996 * paragraph.C: remove dead comment
4998 * text.C: remove troublesome depth-fiddling code
4999 in leftMargin() and rightMargin() (bug 1017)
5001 * text.C: fix breaking of rows in nested lists
5004 * text2.C (updateCounters): fix up depth values
5007 2003-04-07 John Levon <levon@movementarian.org>
5009 * BufferView_pimpl.C: clear message when doc finishes resizing,
5010 and after a mouse event
5012 * lyxfunc.C: clear message after exiting inset
5014 2003-04-07 John Levon <levon@movementarian.org>
5016 * bufferview_funcs.C: show math status not outside
5017 status in the statusbar
5019 2003-04-07 John Levon <levon@movementarian.org>
5021 * lyxfunc.C: note status changed after a depth change
5023 2003-04-04 Angus Leeming <leeming@lyx.org>
5025 * LaTeX.h: move AuxInfo operator==, != out of line.
5026 Remove LaTeX virtual destructor; nothing derives from it.
5027 Move operator()() out of public area and rename it startscript().
5028 Change protected for private.
5030 2003-04-04 Angus Leeming <leeming@lyx.org>
5033 * text2.C: remove unneeded #includes.
5035 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5037 * text2.C (dEPM): fix the heigth of the next row
5039 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5041 * text.C: squashed an invalid getChar requester + some ws changes
5043 2003-04-03 John Levon <levon@movementarian.org>
5045 * bufferview_funcs.h:
5046 * bufferview_funcs.C:
5049 * text2.C: make getStatus work for the env depth lfuns
5051 2003-04-03 John Levon <levon@movementarian.org>
5053 * bufferview_funcs.h:
5054 * bufferview_funcs.C:
5057 * text2.C: parlistize decDepth(), by merging it with incDepth()
5059 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5061 * lyxrow.h: store a ParagraphList::iterator instead of a
5062 Paragraph* and adjust other class functions to suit.
5064 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5067 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5069 * text2.C (setCursor): do not anchor to cursor row for the time being
5071 2003-04-02 John Levon <levon@movementarian.org>
5078 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5080 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5082 * paragraph.h: make ParagraphList and ParagraphList::iterator
5083 friends of Paragraph.
5085 * buffer.C (makeLinuxDocFile): move towards ParagraphList
5087 * ParagraphList.C: Use the private next_ and previous_ from
5090 2003-04-01 John Levon <levon@movementarian.org>
5094 * Makefile.am: rename, remove defaults gunk
5097 * MenuBackend.C: remove defaults gunk
5100 * Languages.C: remove defaults gunk
5103 * lyx_main.C: error out if files couldn't be found.
5105 2003-04-02 John Levon <levon@movementarian.org>
5107 * text2.C: make incDepth() use parlist
5109 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5111 * undo_funcs.C (firstUndoParagraph): adjust
5113 * text3.C (gotoInset): adjust
5114 (dispatch): adjust, and rewrite loop.
5116 * text2.C (init): adjust, and rewrite loop.
5117 (redoParagraphs): adjust
5118 (updateInset): adjust, and rewrite loop.
5119 (deleteEmptyParagraphMechanism): adjust
5121 * tabular.C (LyXTabular): adjust
5122 (SetMultiColumn): adjust
5125 * lyxtext.[Ch] (ownerParagraph): delete function
5126 (ownerParagraphs): new function returns a ParagraphList.
5128 * BufferView.C (removeAutoInsets): adjust
5129 (insertErrors): adjust
5130 (setCursorFromRow): adjust
5132 2003-04-01 Angus Leeming <leeming@lyx.org>
5134 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5137 2003-04-02 John Levon <levon@movementarian.org>
5143 * text_funcs.C: make transposeChars a free function
5145 * lyxrow_funcs.C: remove wrong comment
5147 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5150 * rowpainter.C: adjust
5155 * lyxrow_funcs. [Ch]: new files
5157 * lyxrow.[Ch]: remove next and previous pointers
5158 (next,previous): remove accessor functions
5159 (isParEnd): move to lyxrow_funcs
5160 (lastPos): move to lyxrow_funcs
5161 (nextRowIsAllInset): move to lyxrow_funcs
5162 (lastPrintablePos): move to lyxrow_funcs
5163 (numberOfSeparators): move to lyxrow_funcs
5164 (numberOfHfills): move to lyxrow_funcs
5165 (numberOfLabelHfills): move to lyxrow_funcs
5166 (hfillExpansion): move to lyxrow_funcs
5170 * bufferview_funcs.C (toggleAndShow): adjust
5172 * RowList.h: Remove class RowList from file leave just a
5175 * RowList.C: delete file
5177 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5180 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5182 * text3.C (cursorPrevious): adjust
5183 (cursorNext): adjust
5186 * text2.C (redoHeightOfParagraph): adjust
5187 (redoDrawingOfParagraph): adjust
5190 * text.C (breakParagraph): adjust
5191 (insertChar): adjust
5194 * rowpainter.C (RowPainter): adjust
5195 (leftMargin): simplify and adjust
5196 (most rowpainter functions): adjust.
5198 * rowpainter.h: store the row as RowList::iterator not as Row*
5200 * lyxcursor.C (row): taka RowList::iterator as arg
5203 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5206 2003-04-01 Angus Leeming <leeming@lyx.org>
5208 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5209 stuff like bool Bool.
5211 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5213 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5216 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5218 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5221 * lyxtext.h (rows): drop one version and leve a const variant that
5222 returns a RowList::iterator.
5224 2003-03-31 Angus Leeming <leeming@lyx.org>
5226 * text.C (fill): ensure that the signature is the same as that in the
5229 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
5231 * text2.C (redoParagraphs): adjust
5232 (updateCounters): adjust
5233 (checkParagraph): adjust
5234 (getColumnNearX): adjust and reformat a bit.
5236 * text.C (top_y): adjust
5238 (leftMargin): adjust
5239 (prepareToPrint): adjust
5241 (getRowNearY): adjust
5243 * lyxtext.h: make rowlist_ mutable.
5245 * RowList.h: add const_iterator
5246 * RowList.C: adjust for RowList::const_iterator.
5248 * text2.C (getCursorX): make it take a RowList::iterator as arg,
5251 2003-03-31 John Levon <levon@movementarian.org>
5254 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5256 * lyx_main.C: set default fonts from using lyx_gui funcs
5258 * exporter.C: pdf_mode moved from lyxrc
5261 * lyxfunc.C: changes from above
5263 2003-03-31 John Levon <levon@movementarian.org>
5265 * lyx_main.C: fix to the last fix
5267 2003-03-31 John Levon <levon@movementarian.org>
5269 * bufferlist.C: "Load original" -> "Load Original"
5275 * format.C: more Alert cleanups
5277 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5279 * text2.C (removeParagraph): make it take a RowList::iterator as
5281 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5282 (postRowPaint): make it take a RowList::iterator as arg, adjust.
5284 * text.C (anchor_row): make it take a RowList::iterator as arg,
5286 (computeBidiTables): make it take a const reference to Row instead
5287 of Row pointer, adjust.
5288 (leftMargin): make it take a RowList::iterator as arg, adjust.
5289 (rowBreakPoint): adjust
5290 (breakAgainOneRow): make it take a RowList::iterator as arg,
5292 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5294 * bufferview_funcs.C (toggleAndShow): adjust
5296 2003-03-30 John Levon <levon@movementarian.org>
5300 * boost-inst.C: moved to support
5302 * several files: changes as a result
5304 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5306 * text2.C (LyXText): adjust.
5308 (removeRow): make it take a RowList::iterator as arg, adjust.
5309 (fullRebreak): adjust
5310 (deleteEmptyParagraphMechanism): adjust
5311 (clearPaint): adjust
5314 * text.C (top_y): adjust
5315 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5316 (breakAgain): make it take a RowList::iterator as arg, adjust.
5317 (breakParagraph): adjust
5318 (insertChar): adjust
5321 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5322 need_break_row, and refresh_row.
5324 * text3.C (dispatch): adjust
5326 * text2.C (checkParagraph): adjust
5328 (setCursorFromCoordinates): adjust
5330 * text.C (top_y): adjust
5332 (getRow): make it return a RowList::iterator, adjust
5333 (getRowNearY): make it return a RowList::iterator, adjust
5335 * text2.C (init): adjust
5336 (insertRow): remove function
5337 (insertParagraph): adjust
5338 (redoParagraphs): adjust
5339 (fullRebreak): adjust
5340 (updateCounters): adjust
5342 * text.C (top_y): rewrite to use RowList iterators.
5344 (setHeightOfRow): rewrite to sue RowList iterators.
5345 (appendParagraph): adjust
5346 (breakAgain): adjust
5347 (breakAgainOneRow): adjust
5348 (breakParagraph): adjust
5350 (getRowNearY): adjust, and remove commented code.
5352 * lyxtext.h (firstRow): delete function
5353 (lastRow): delete function
5354 (rows): new function (const and non-const versions.)
5355 (insertRow): delete function
5357 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5359 2003-03-29 John Levon <levon@movementarian.org>
5361 * BufferView_pimpl.C: always update scrollbar top
5362 because pasting text when we're anchored could mean we
5363 miss an update altogether
5365 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5367 * text2.C (init): use rowlist_.end() and not 0.
5368 (insertRow): change to take a RowList::iterator as arg, adjust
5370 (insertParagraph): change to take a RowList::iterator as arg,
5372 (redoParagraphs): remove some debug msgs.
5374 * text.C (appendParagraph): change to take a RowList::iterator
5375 arg, adjust for this.
5376 (breakAgain): add an assert
5377 (breakAgainOneRow): ditto
5379 2003-03-29 John Levon <levon@movementarian.org>
5381 * text2.C: do not clear selection after inc/decDepth
5384 2003-03-29 John Levon <levon@movementarian.org>
5387 * buffer.C: fix broken strerrors according to Lars
5389 2003-03-29 John Levon <levon@movementarian.org>
5391 * converters.C: more Alert cleanups
5393 2003-03-29 John Levon <levon@movementarian.org>
5395 * bufferview_funcs.C: remove pointless Alert
5397 * buffer.C: fix confusing error message when
5398 a template is chmoded 000
5400 2003-03-29 John Levon <levon@movementarian.org>
5404 * BufferView_pimpl.C: Alert fixes
5408 * tabular-old.C: remove unused table compat reading
5410 2003-03-29 John Levon <levon@movementarian.org>
5415 * lyx_cb.C: more Alert cleanups
5417 * lyxfunc.C: don't allow chktex if not latex document
5419 2003-03-29 John Levon <levon@movementarian.org>
5423 * buffer.C: warnings pushed down from support/,
5426 2003-03-29 John Levon <levon@movementarian.org>
5428 * lyxfunc.C: safety check for C-r (revert)
5430 2003-03-29 John Levon <levon@movementarian.org>
5433 * bufferlist.C: several UI fixes using Alert::prompt.
5434 Fix the pointless looping quit code. Fix stupid revert
5439 * lyx_cb.C: use Alert::prompt
5441 * lyx_main.C: remove a silly question
5443 * lyxfunc.C: remove a couple of silly questions,
5446 2003-03-28 John Levon <levon@movementarian.org>
5448 * text2.C: fix bug 974 (End on empty par)
5450 2003-03-28 John Levon <levon@movementarian.org>
5452 * BufferView_pimpl.C:
5454 * lfuns.h: remove do-nothing math greek lfuns
5456 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5458 * lyxgluelength.h (isValidGlueLength): add default arg on
5459 parameter 2. Remove default arg from friend in class.
5461 * lyxlength.h (isValidLength): add default arg on parameter 2.
5462 Remove default arg from friend in class.
5464 * text2.C (LyXText): adjust, initialize refresh_row.
5468 (insertParagraph): adjst
5469 (redoParagraphs): adjust
5470 (fullRebreak): adjust
5471 (updateCounters): adjust
5472 (deleteEmptyParagraphMechanism): first attempt at fixing a
5475 * text.C (top_y): adjust
5476 (setHeightOfRow): adjust
5478 (getRowNearY): adjust
5480 * lyxtext.h: include RowList.h
5481 (~LyXText): not needed anymore, deleted.
5482 (firstRow): modify for RowList
5483 (lastRow): new function
5484 Delete firstrow and lastrow class variables, add a Rowlist
5485 rowlist_ class variable.
5487 * lyxrow.C (lastPos): use empty() and not !size() to check if a
5490 * RowList.C (insert): fix case where it == begin().
5492 2003-03-26 Angus Leeming <leeming@lyx.org>
5494 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5495 the thesaurus dialog.
5497 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5499 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5501 * RowList.[Ch]: new files
5503 * ParagraphList.C (erase): handle the case where it == begin
5506 2003-03-25 John Levon <levon@movementarian.org>
5510 * aspell.C: add new aspell support
5513 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5516 2003-03-25 Angus Leeming <leeming@lyx.org>
5519 * LyXAction.C (init): new LFUN_INSET_INSERT.
5521 * BufferView_pimpl.C (dispatch): split out part of the
5522 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5524 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5527 2003-03-25 Angus Leeming <leeming@lyx.org>
5529 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5531 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5534 * text3.C: remove useless row->height(0)
5536 2003-03-25 John Levon <levon@movementarian.org>
5540 * text3.C: rename the refreshing stuff to better names
5542 2003-03-24 John Levon <levon@movementarian.org>
5544 * BufferView_pimpl.h:
5545 * BufferView_pimpl.C: update layout choice on a mouse
5548 2003-03-23 John Levon <levon@movementarian.org>
5550 * Makefile.am: fix commandtags.h reference
5552 2003-03-22 John Levon <levon@movementarian.org>
5554 * BufferView_pimpl.C:
5559 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5561 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5564 * text.C: take the rtl methods out of line
5566 2003-03-21 André Pönitz <poenitz@gmx.net>
5568 * metricsinfo.[Ch]: new files containing structures to be passed around
5569 during the two-phase-drawing...
5571 2003-03-21 André Pönitz <poenitz@gmx.net>
5573 * lyxtextclass.C: read 'environment' tag.
5575 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5577 * text2.C (removeRow): fix bug 964
5579 2003-03-20 John Levon <levon@movementarian.org>
5583 * text2.C: paint cleanups. Inset::update() dropped font
5586 2003-03-19 John Levon <levon@movementarian.org>
5588 * lyxfunc.C: only fitcursor/markDirty if available()
5590 2003-03-19 John Levon <levon@movementarian.org>
5592 * commandtags.h: rename to ...
5594 * lfuns.h: ... this, and renumber / cleanup
5596 2003-03-19 John Levon <levon@movementarian.org>
5598 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5599 fit the cursor after an lfun
5603 * BufferView_pimpl.h:
5604 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5606 * LyXAction.C: layout-character should have ReadOnly
5608 * ParagraphParameters.C:
5610 * bufferview_funcs.C:
5617 * undo_funcs.C: changes from above
5619 2003-03-18 John Levon <levon@movementarian.org>
5621 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5622 remove it from update()
5624 * lyxfunc.C: update layout choice after an lfun
5626 * text3.C: remove extra updateLayoutChoice()s
5628 2003-03-18 John Levon <levon@movementarian.org>
5630 * text.C: top_y change means full repaint, fix
5631 a drawing bug with cursor movement
5633 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5637 * text2.C: anchor row on setCursor
5639 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5641 * lyxtext.h: remove almost all mutable keywords
5644 * text3.C: remove const keywords accordingly
5646 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5648 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5650 (TeXEnvironment): ditto
5653 2003-03-17 John Levon <levon@movementarian.org>
5655 * text.C (rowBreakPoint): remove attempt to fix displayed
5656 math insets inside a manual label
5658 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5660 * lyxtext.h: remove BufferView* as first arg from almost all class
5662 * other files: adjust.
5664 2003-03-17 John Levon <levon@movementarian.org>
5668 * text2.C: more paint cleanups
5670 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5673 * rowpainter.C: remove "smart" background painting code
5675 2003-03-16 John Levon <levon@movementarian.org>
5680 * text3.C: add helper functions for setting refresh_row/y
5682 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
5684 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5685 newline inset which *can* get inserted in the pass_thru layouts.
5686 This is primarily for literate documents.
5688 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
5690 * buffer.C: increment LYX_FORMAT to 223
5692 2003-03-14 André Pönitz <poenitz@gmx.net>
5694 * textclass.h: prepare for environment handling, ws changes
5695 * lyxlayout.C: read latexheader and latexfooter tags
5697 2003-03-14 John Levon <levon@movementarian.org>
5699 * text2.C: rewrite ::status() a bit
5701 2003-03-13 John Levon <levon@movementarian.org>
5703 * lyxtext.h: add some docs
5705 2003-03-13 John Levon <levon@movementarian.org>
5710 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5712 2003-03-13 John Levon <levon@movementarian.org>
5714 * text3.C: fix appendix redrawing
5716 2003-03-13 John Levon <levon@movementarian.org>
5718 * text.C (setHeightOfRow):
5720 * rowpainter.C: make appendix mark have the text
5721 "Appendix" so the user knows what it is
5724 * LColor.C: s/appendixline/appendix/ from above
5726 2003-03-13 John Levon <levon@movementarian.org>
5728 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5730 * text.C: fix a getChar(pos) bug properly
5732 2003-03-13 Angus Leeming <leeming@lyx.org>
5735 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5736 Probably only temporary. Let's see how things pan out.
5738 * BufferView.C (unlockInset):
5739 * BufferView_pimpl.C (fitCursor):
5740 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5742 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5743 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5745 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5746 new functions that convert ParagraphParameters to and from a string.
5748 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5749 BufferView::Pimpl's dispatch.
5750 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5752 2003-03-13 André Pönitz <poenitz@gmx.net>
5756 * factory.C: make it aware of InsetEnv
5758 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5760 * text2.C (setCursor): never ask for one past last
5761 (setCursor): add some debugging messages.
5763 * text.C (singleWidth): never ask for one past last
5764 (singleWidth): ditto
5766 (rightMargin): ditto
5767 (rowBreakPoint): ditto
5768 (setHeightOfRow): ditto
5769 (prepareToPrint): ditto
5771 * rowpainter.C (paintBackground): never ask for one past last
5772 (paintText): never ask for one past last
5774 * paragraph_pimpl.C (getChar): make the assert stricter, never
5775 allow the one past last pos to be taken
5777 * paragraph.C (getChar): ws changes only
5779 * lyxrow.C (nextRowIsAllInset): never ask for one past last
5780 (numberOfSeparators): ditto
5781 (numberOfHfills): ditto
5783 2003-03-12 John Levon <levon@movementarian.org>
5789 * paragraph_funcs.C: fix per-buffer authorlists
5791 2003-03-12 John Levon <levon@movementarian.org>
5793 * text.C: fix newline in right address
5795 2003-03-12 Angus Leeming <leeming@lyx.org>
5797 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5798 duplicate those in LyXFunc::dispatch.
5802 * ToolbarDefaults.C:
5803 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5804 Add LFUN_FONTFREE_UPDATE.
5806 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5807 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5809 * bufferview_func.[Ch]: several new functions to facilliate
5810 transfer of data to and from the character dialog.
5812 2003-03-12 John Levon <levon@movementarian.org>
5817 * paragraph_funcs.C:
5818 * paragraph_pimpl.C:
5822 * text3.C: remove META_NEWLINE in favour of an inset
5825 * rowpainter.C: remove paintNewline (done by inset)
5827 2003-03-12 John Levon <levon@movementarian.org>
5829 * paragraph_pimpl.C: complain about bad getChar()s
5830 for a while at least
5832 2003-03-12 John Levon <levon@movementarian.org>
5835 * buffer.C: move paragraph read into a separate function,
5836 a little renaming to reflect that.
5839 * bufferparams.C: remove the author_ids map, not necessary now
5842 * factory.C: moved Buffer::readInset to here
5844 * paragraph_funcs.h:
5845 * paragraph_funcs.C: readParagraph free function moved from
5848 * tabular.C: name change
5850 2003-03-12 John Levon <levon@movementarian.org>
5853 * ParagraphParameters.C: move par params input to
5856 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5857 behave like a normal read from the stream wrt reading
5858 a line vs. a \\token
5860 2003-03-12 John Levon <levon@movementarian.org>
5863 * ParagraphParameters.h:
5864 * ParagraphParameters.C: move output code to a
5867 2003-03-12 John Levon <levon@movementarian.org>
5869 * BufferView.C (insertLyXFile):
5872 * tabular.C: use a parlist iterator for creating the
5875 2003-03-12 John Levon <levon@movementarian.org>
5877 * buffer.C: make current_change static local not
5880 2003-03-12 John Levon <levon@movementarian.org>
5882 * buffer.C: fix insertStringAsLines for change tracking
5884 2003-03-12 John Levon <levon@movementarian.org>
5891 * bufferparams.C: move author list into params. Rename some
5892 functions. Move the header reading into a separate token
5893 loop. Move the header token reading into BufferParams.
5895 2003-03-12 John Levon <levon@movementarian.org>
5897 * changes.C: put debug inside lyxerr.debugging() checks
5899 2003-03-11 André Pönitz <poenitz@gmx.net>
5901 * factory.C: make it aware of InsetHFill
5903 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5905 * buffer.C (latexParagraphs): move function from here...
5906 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5909 2003-03-10 Angus Leeming <leeming@lyx.org>
5911 * LyXAction.C (init): fix bug in poplating array with multiple entries
5912 with the same LFUN (spotted by JMarc).
5914 2003-03-10 John Levon <levon@movementarian.org>
5917 * text2.C: move getColumnNearX() near its
5920 2003-03-10 John Levon <levon@movementarian.org>
5922 * text.C: fix break before a minipage
5924 2003-03-10 John Levon <levon@movementarian.org>
5926 * text.C: fix the last commit
5928 2003-03-09 John Levon <levon@movementarian.org>
5932 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5933 bug 365 (don't break before insets unless needed). Don't
5934 return a value > last under any circumstances.
5936 2003-03-09 Angus Leeming <leeming@lyx.org>
5938 * BufferView_pimpl.C (trackChanges, dispatch): call
5939 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5941 2003-03-09 Angus Leeming <leeming@lyx.org>
5943 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5944 than Dialogs::showAboutlyx().
5946 2003-03-09 Angus Leeming <leeming@lyx.org>
5948 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5949 than Dialogs::showTabularCreate().
5951 2003-03-09 John Levon <levon@movementarian.org>
5955 * text2.C: 3rd arg to nextBreakPoint was always the same.
5958 2003-03-08 John Levon <levon@movementarian.org>
5965 * text2.C: Remove the "main" bit from the "main body"
5968 2003-03-08 John Levon <levon@movementarian.org>
5970 * text.C (leftMargin): The left margin of an empty
5971 manual label paragraph should not include the label width
5974 * text.C (prepareToPrint): don't attempt to measure hfills
5975 for empty manual label paragraphs - the answer should be 0
5977 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5979 * CutAndPaste.C: remove commented code and reindent.
5981 2003-03-08 John Levon <levon@movementarian.org>
5984 * lyxfunc.C: move reloadBuffer()
5987 * BufferView.C: to here
5989 * lyxvc.C: add comment
5992 * vc-backend.C: call bv->reload() to avoid
5993 getStatus() check on MENURELOAD
5995 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
5997 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5998 to an old format .dep file.
6000 2003-03-07 Angus Leeming <leeming@lyx.org>
6002 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6003 when the LFUN_MOUSE_RELEASE should have been handled by
6004 inset->localDispatch.
6006 2003-03-07 Angus Leeming <leeming@lyx.org>
6008 * BufferView_pimpl.C (dispatch):
6009 * LyXAction.C (init):
6010 * ToolbarDefaults.C (init):
6012 * lyxfunc.C (getStatus):
6013 remove LFUN_INSET_GRAPHICS.
6015 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6017 2003-03-07 Angus Leeming <leeming@lyx.org>
6020 * LyXAction.C (init):
6021 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6023 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6026 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6028 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6029 localDispatch method LFUN_INSET_DIALOG_UPDATE.
6031 2003-03-07 Angus Leeming <leeming@lyx.org>
6033 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6036 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6038 * ParagraphList.C (front): new function
6041 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
6043 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6044 and top_row_offset_. removed var first_y.
6046 * text2.C (LyXText, removeRow):
6048 * BufferView_pimpl.C:
6049 use these methods instead of using first_y
6051 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6053 * text2.C (pasteSelection): adjust for checkPastePossible
6055 * CutAndPaste.C: remove Paragraph * buf and replace with
6056 ParagraphList paragraphs.
6057 (DeleteBuffer): delete
6058 (cutSelection): change the tc type to textclass_type
6059 (copySelection): change the tc type to textclass_type
6060 (copySelection): adjust for ParagraphList
6061 (pasteSelection): change the tc type to textclass_type
6062 (pasteSelection): adjust for Paragraphlist
6063 (nrOfParagraphs): simplify for ParagraphList
6064 (checkPastePossible): simplify for ParagraphList
6065 (checkPastePossible): remove unused arg
6067 * ParagraphList.C (insert): handle the case where there are no
6070 * CutAndPaste.h: make CutAndPaste a namespace.
6072 * text3.C (dispatch): adjust
6074 * text.C (breakParagraph): add a ParagraphList as arg
6076 * paragraph_funcs.C (breakParagraph): change to take a
6077 BufferParams and a ParagraphList as args.
6078 (breakParagraphConservative): ditto
6079 (mergeParagraph): ditto
6080 (TeXDeeper): add a ParagraphList arg
6081 (TeXEnvironment): ditto
6084 * buffer.C (readLyXformat2): adjust
6085 (insertStringAsLines): adjust
6086 (latexParagraphs): adjust
6088 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6089 (cutSelection): adjust
6090 (pasteSelection): adjust
6092 * BufferView_pimpl.C (insertInset): adjust
6094 2003-03-05 Angus Leeming <leeming@lyx.org>
6097 * LyXAction.C (init):
6098 * BufferView_pimpl.C (dispatch):
6099 * lyxfunc.C (getStatus):
6100 remove LFUN_CHILD_INSERT.
6102 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6104 2003-03-05 Angus Leeming <leeming@lyx.org>
6107 * LyXAction.C (init):
6108 * src/factory.C (createInset):
6109 * lyxfunc.C (getStatus):
6110 * text3.C (dispatch):
6111 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6113 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6115 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6117 * ParagraphList.C (insert): handle insert right before end()
6118 (erase): fix cases where it can be first or last paragraph.
6120 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6122 * paragraph_funcs.C (TeXEnvironment): remove all usage of
6123 Paragraph::next and Paragraph::previous
6126 * text.C (breakParagraph): adjust
6128 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6129 BufferParams& as arg.
6130 (breakParagraph): use ParagraphList::insert
6131 (breakParagraphConservative): take a Buffer* instead of a
6132 BufferParams& as arg.
6133 (breakParagraphConservative): use ParagraphList::insert.
6135 * buffer.C (insertStringAsLines): un-const it
6136 (insertStringAsLines): adjust
6138 * ParagraphList.C (insert): new function
6140 * CutAndPaste.C (pasteSelection): adjust
6142 * text.C (backspace): adjust
6144 * tabular.C (SetMultiColumn): adjust
6146 * CutAndPaste.C (cutSelection): adjust
6147 (pasteSelection): adjust
6149 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6150 Buffer const * as arg
6152 * ParagraphList.C (erase): new function
6153 * paragraph_funcs.C (mergeParagraph): use it
6154 (mergeParagraph): make it take a Buffer* instead of a
6155 BufferParams* as arg
6157 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6159 (breakParagraphConservative): ditto
6161 * paragraph.h: remove the breakParagraph friend
6163 * paragraph.C (eraseIntern): new function
6164 (setChange): new function
6166 * paragraph_funcs.C (mergeParagraph): make it take a
6167 ParagraphList::iterator instead of a Paragraph *, adjust
6170 * paragraph.h: move an #endif so that the change tracking stuff
6171 also works in the NO_NEXT case.
6173 2003-03-04 Angus Leeming <leeming@lyx.org>
6176 * LyXAction.C: new LFUN_INSET_MODIFY.
6178 * BufferView_pimpl.C (dispatch): if an inset is found to be open
6179 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6181 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6183 * several files: ws changes only
6185 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6186 (TeXEnvironment): ditto
6189 * buffer.C (makeLaTeXFile): adjust
6190 (latexParagraphs): make it take ParagraphList::iterator as args
6192 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6194 * buffer.C (latexParagraphs): adjust
6196 * paragraph.C (TeXOnePar): move function...
6197 (optArgInset): move function...
6198 (TeXEnvironment): move function...
6199 * paragraph_pimpl.C (TeXDeeper): move function...
6200 * paragraph_funcs.C: ...here
6202 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6204 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6206 * buffer.C (readInset): remove compability code for old Figure and
6209 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6211 * buffer.C: ws changes
6214 * BufferView_pimpl.C: ditto
6217 * bufferlist.h: ditto
6221 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
6223 * converter.[Ch]: split into itself +
6226 * Makefile.am: += graph.[Ch] + format.[Ch]
6233 * lyxrc.C: added #include "format.h"
6235 2003-02-27 Angus Leeming <leeming@lyx.org>
6237 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6240 * factory.C (createInset): add "label" to the factory.
6242 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6243 string and do no more.
6245 2003-02-27 Angus Leeming <leeming@lyx.org>
6248 * LyXAction.C (init):
6249 * factory.C (createInset):
6250 * BufferView_pimpl.C (dispatch):
6251 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6253 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6255 * lyxfunc.C (dispatch):
6256 * text3.C (dispatch): pass name to params2string.
6258 2003-02-26 Angus Leeming <leeming@lyx.org>
6260 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6262 Rearrange the ~includes. Strip out the unnecessary ones.
6264 * factory.C (createInset): reformat.
6265 create new insets for the various LFUN_XYZ_APPLY lfuns.
6267 2003-02-26 John Levon <levon@movementarian.org>
6270 * lyxrow.C: add isParStart,isParEnd helpers
6272 * paragraph.h: make isInserted/DeletedText take refs
6274 * paragraph_funcs.h:
6275 * paragraph_funcs.C: remove #if 0'd code
6280 * text.C: use lyxrow helpers above.
6281 Move draw and paint routines to RowPainter.
6282 Make several methods use refs not pointers.
6283 Make backgroundColor() const.
6284 Add markChangeInDraw(), isInInset().
6285 Merge changeRegionCase into changeCase.
6286 Make workWidth() shouldn't-happen code into an Assert.
6289 * rowpainter.C: new class for painting a row.
6292 * vspace.C: make inPixels take a ref
6294 2003-02-26 Angus Leeming <leeming@lyx.org>
6296 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6299 2003-02-25 John Levon <levon@movementarian.org>
6301 * ispell.C: give the forked command a more accurate name
6303 2003-02-22 John Levon <levon@movementarian.org>
6306 * toc.C: make TocItem store an id not a Paragraph *
6309 2003-02-21 Angus Leeming <leeming@lyx.org>
6311 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6312 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6313 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6314 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6315 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6316 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6318 * BufferView_pimpl.C (dispatch):
6319 * LyXAction.C (init):
6320 * factory.C (createInset):
6321 * lyxfunc.C (getStatus, dispatch):
6322 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6324 2003-02-21 Angus Leeming <leeming@lyx.org>
6326 * BufferView_pimpl.C (MenuInsertLyXFile):
6327 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6328 * lyxfunc.C (menuNew, open, doImport):
6329 no longer pass a LyXView & to fileDlg.
6331 2003-02-21 Angus Leeming <leeming@lyx.org>
6333 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6334 * LyXAction.C: change, BIBKEY to BIBITEM.
6335 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6336 Change InsetBibKey to InsetBibitem.
6337 Change BIBKEY_CODE to BIBITEM_CODE.
6338 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6339 * factory.C: replace insetbib.h with insetbibitem.h.
6340 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6341 * paragraph.C: replace insetbib.h with insetbibitem.h.
6342 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6343 Change bibkey() to bibitem().
6344 * text.C: remove insetbib.h.
6345 * text2.C: replace insetbib.h with insetbibitem.h.
6346 change bibkey() to bibitem().
6347 * text3.C: remove insetbib.h.
6348 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6350 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6352 * lyxrc.C (output): enclose user email in quotes (in case there are
6355 2003-02-18 John Levon <levon@movementarian.org>
6357 * buffer.h: add std::
6359 2003-02-17 John Levon <levon@movementarian.org>
6365 * pspell.C: reworking. Especially in ispell, a large
6366 number of clean ups and bug fixes.
6368 * lyxfunc.C: fix revert to behave sensibly
6370 2003-02-17 André Pönitz <poenitz@gmx.net>
6373 * commandtags.h: new LFUN_INSERT_BIBKEY
6383 * paragraph_func.C: remove special bibkey handling
6385 2003-02-17 John Levon <levon@movementarian.org>
6387 * text.C (Delete): fix case where delete at the end of
6388 the very first paragraph would not merge the pars
6390 2003-02-17 John Levon <levon@movementarian.org>
6392 * lyxrow.C: fix lastPrintablePos()
6394 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6396 * bufferparams.C (writeLaTeX): add a std:here
6398 * buffer.C: and remove a using directive there
6400 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6402 * buffer.C (makeLaTeXFile): move the code that generates the
6405 * bufferparams.C (writeLaTeX): ... in this new method
6407 * LaTeXFeatures.C (getEncodingSet): make const
6408 (getLanguages): make const
6410 * MenuBackend.C (binding): returns the binding associated to this
6412 (add): sets the status of each item by calling getStatus. Adds
6414 (read): add support for OptSubMenu
6415 (expand): remove extra separator at the end of expanded menu
6417 2003-02-15 John Levon <levon@movementarian.org>
6420 * BufferView_pimpl.C:
6422 * bufferlist.C: remove pointless BufferStorage bloat. Remove
6423 inset code that had no actual effect. Remove unneeded status
6426 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6428 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6431 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
6433 * text.C (drawLengthMarker): also draw an arrow marker for
6434 symbolic lengths (medskip...)
6436 2003-02-14 John Levon <levon@movementarian.org>
6439 * tabular.C: better method names
6441 2003-02-14 John Levon <levon@movementarian.org>
6443 * BufferView_pimpl.C:
6448 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6449 it's a more accurate name. Remove some pointless uses.
6451 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6453 * text2.C (LyXText): change order of initilizers to shut off
6456 2003-02-14 John Levon <levon@movementarian.org>
6458 * buffer.C: use ParIterator for getParFromID()
6462 * paragraph_pimpl.h:
6463 * paragraph_pimpl.C: remove unused getParFromID()
6465 2003-02-14 John Levon <levon@movementarian.org>
6467 * buffer.C: remove some very old #if 0'd parse code
6469 2003-02-13 John Levon <levon@movementarian.org>
6473 * text2.C: move hfillExpansion(), numberOfSeparators(),
6474 rowLast(), rowLastPrintable(), numberofHfills(),
6475 numberOfLabelHfills() ...
6478 * lyxrow.C: ... to member functions here.
6483 * text.C: remove LyXText::beginningOfMainBody(), and call
6484 p->beginningOfMainBody() directly. Move the check for
6485 LABEL_MANUAL into the latter.
6492 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6498 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6499 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6501 2003-02-13 John Levon <levon@movementarian.org>
6503 * CutAndPaste.C: remove debug
6505 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6507 * paragraph.C (asString): remove two unused variables
6509 * lyxtextclass.C (readTitleType):
6511 (LyXTextClass): handle new members titletype_ and titlename_
6513 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6515 2003-02-09 John Levon <levon@movementarian.org>
6518 * buffer.C: replace hand-coded list with a map for the dep clean
6520 2003-02-08 John Levon <levon@movementarian.org>
6522 * LaTeX.C: consolidate code into showRunMessage() helper
6524 2003-02-08 John Levon <levon@movementarian.org>
6529 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6530 and pass the size in explicitly
6532 * BufferView_pimpl.h:
6533 * BufferView_pimpl.C:
6535 * BufferView.C: add getCurrentChange()
6537 * BufferView_pimpl.h:
6538 * BufferView_pimpl.C: handle change lfuns
6540 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6541 for changes. Mark pasted paragraphs as new.
6543 * support/lyxtime.h:
6544 * support/lyxtime.C:
6545 * DepTable.C: abstract time_t as lyx::time_type
6548 * LColor.C: add colours for new text, deleted text, changebars
6550 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6551 package use "usenames" option.
6555 * LyXAction.C: add change lfuns
6559 * author.C: author handling
6562 * buffer.C: add a per-buffer author list, with first entry as
6563 current author. Handle new .lyx tokens for change tracking. Output
6564 author list to .lyx file. Output dvipost stuff to .tex preamble.
6565 Bump lyx format to 222.
6568 * bufferlist.C: add setCurrentAuthor() to reset current author details
6572 * bufferparams.C: add param for tracking
6574 * bufferview_funcs.C: output change info in minibuffer
6578 * changes.C: add change-tracking structure
6581 * debug.C: add CHANGES debug flag
6584 * lyxfind.C: add code for finding the next change piece
6587 * lyxrc.C: add user_name and user_email
6590 * lyxrow.C: add a metric for the top of the text line
6593 * text.C: implement accept/rejectChange()
6596 * text.C: paint changebars. Paint new/deleted text in the chosen
6597 colours. Strike through deleted text.
6601 * paragraph_pimpl.h:
6602 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6603 in the current change to the insert functions. Rework erase to
6604 mark text as deleted, adding an eraseIntern() and a range-based
6605 erase(). Implement per-paragraph change lookup and
6608 * paragraph_funcs.C: Fixup paste for change tracking.
6610 * tabular.C: mark added row/columns as new.
6612 * text.C: fix rowLast() to never return -1. Don't allow
6613 spellchecking of deleted text. Track transpose changes. Don't
6614 allow paragraph break or merge where appropriate.
6616 * text2.C: leave cursor at end of selection after a cut.
6618 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6620 * text.C (getLengthMarkerHeight):
6621 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6622 visible on screen too.
6624 2003-02-07 John Levon <levon@movementarian.org>
6626 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6628 2003-02-05 Angus Leeming <leeming@lyx.org>
6630 * lyxserver.C (read_ready): revert my patch of 11 September last year
6631 as it sends PC cpu through the roof. Presumably this means that
6632 the lyxserver will no longer run on an Alpha...
6634 2003-01-30 Angus Leeming <leeming@lyx.org>
6636 * factory.C (createInset): create an InsetCommandParam of type "index"
6637 and use it to 'do the right thing'.
6639 * text2.C (getStringToIndex): ensure that cursor position is always
6640 reset to the reset_cursor position.
6642 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6644 * lyxfunc.C (getStatus): "buffer-export custom" should never be
6647 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
6651 * lyxfunc.C: Output messages with identical spelling, punctuation,
6654 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
6656 * MenuBackend.C (expandFormats): List only viewable export formats
6659 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6662 * lyxfunc.C (getStatus): Make sure that formats other than
6663 "fax" can also be disabled
6665 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6667 * text3.C (dispatch): put the lfuns that insert insets in 3
6668 groups, and call doInsertInset with appropriate arguments.
6669 (doInsertInset): new function, that creates an inset and inserts
6670 it according to some boolean parameters.
6672 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6674 * buffer.C (readFile): remember to pass on 'par' when calling
6675 readFile recursively.
6677 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6679 * MenuBackend.C (expandFormats): add "..." to import formats.
6681 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
6683 * paragraph.C (asString): Remove XForms RTL hacks.
6685 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
6686 * buffer.C: fix typo
6688 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6690 * Makefile.am (LIBS): delete var
6691 (lyx_LDADD): add @LIBS@ here instead.
6693 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
6695 * Clarify the meaning of "wheel mouse jump"
6697 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6699 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6702 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6704 * importer.C (Loaders): do not preallocate 3 elements in the
6705 vector, since one ends up with 6 elements otherwise
6707 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6709 * DepTable.C (write): write the file name as last element of the
6710 .dep file (because it may contain spaces)
6711 (read): read info in the right order
6713 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6715 * paragraph_pimpl.C (simpleTeXBlanks):
6716 (simpleTeXSpecialChars):
6717 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6719 * tabular.C (latex): add some missing case statements. Reindent.
6721 * MenuBackend.C (expandToc): remove unused variable.
6723 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
6732 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6735 2003-01-05 John Levon <levon@movementarian.org>
6738 * BufferView.C: add getEncoding()
6741 * kbsequence.C: do not store last keypress
6744 * lyxfunc.C: store last keypress here instead. Pass encoding
6747 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6749 * lyx_main.C (init): remove annoying error message when following
6750 symbolic links (bug #780)
6752 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6754 * text.C (insertChar):
6755 * lyxrc.C (getDescription): remove extra spaces
6757 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6759 * lyxrc.C (getDescription): remove extra spaces
6761 2002-12-20 John Levon <levon@movementarian.org>
6763 * text3.C: hack fix for page up/down across tall rows
6765 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6767 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6770 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6772 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6773 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6774 thesaurus is not compiled in
6776 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
6778 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
6780 2002-12-16 Angus Leeming <leeming@lyx.org>
6783 * lyx_main.C (init): remove override_x_deadkeys stuff.
6785 2002-12-12 John Levon <levon@movementarian.org>
6787 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6788 insert. Only remove shift modifier under strict
6791 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6793 * MenuBackend.C (expandToc): fix crash.
6795 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6797 * MenuBackend.C (expandToc): gettext on float names.
6799 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6801 * lyxlength.[Ch]: set default unit to UNIT_NONE,
6802 implement bool empty() [bug 490]
6804 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6806 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6808 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6810 * several files: ws changes
6812 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6814 * text2.C (setCounter): clean up a bit, use boost.format.
6815 (updateCounters): initialize par upon declaration.
6817 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6818 if the layout exists. We do not just store the layout any more.
6819 (SwitchLayoutsBetweenClasses): use boost.format
6821 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6823 * converter.C (convert): if from and to files are the same, use a
6824 temporary files as intermediary
6826 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6829 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6831 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
6833 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6835 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6837 * tabular.C (asciiPrintCell): use string(size, char) instead of
6840 * sgml.C (openTag): fix order of arguments to string constructor
6843 * lyxfunc.C (dispatch): use boost.format
6845 * lots of files: change "c" -> 'c'
6847 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
6849 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6851 2002-11-25 Angus Leeming <leeming@lyx.org>
6853 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6855 * lyx_main.C (init): compile fix.
6857 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6859 * lyx_cb.C (start): boost.formatify
6860 do not include <iostream>
6862 * lengthcommon.C: ws only
6864 * boost-inst.C,BoostFormat.h: add more explict instantations
6866 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6868 * lots of files: handle USE_BOOST_FORMAT
6870 2002-11-21 John Levon <levon@movementarian.org>
6872 * pspell.C: fix compile
6874 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6876 * lyxfunc.C (dispatch): use boost::format
6880 * lyxfont.C (stateText): use boost::format
6882 * lyx_main.C (LyX): use boost::format
6884 (queryUserLyXDir): ditto
6887 (typedef boost::function): use the recommened syntax.
6889 * importer.C (Import): use boost::format
6891 * debug.C (showLevel): use boost::format
6893 * converter.C (view): use boost::format
6898 * bufferview_funcs.C (currentState): use boost::format
6900 * bufferlist.C (emergencyWrite): use boost::format
6902 * buffer.C (readLyXformat2): use boost::format
6903 (parseSingleLyXformat2Token): ditto
6905 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6907 * LaTeX.C (run): use boost::format
6909 * Chktex.C (scanLogFile): use boost::format
6911 * BufferView_pimpl.C (savePosition): use boost::format
6912 (restorePosition): ditto
6913 (MenuInsertLyXFile): ditto
6915 * BoostFormat.h: help file for explicit instation.
6917 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
6919 * tabular.C (latex): Support for block alignment in fixed width
6922 2002-11-17 John Levon <levon@movementarian.org>
6924 * BufferView_pimpl.C:
6926 * lyxfunc.C: split filedialog into open/save
6928 2002-11-08 Juergen Vigna <jug@sad.it>
6930 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6931 by my last patch (hopefully).
6933 2002-11-08 John Levon <levon@movementarian.org>
6942 * toc.C: ParConstIterator, and use it (from Lars)
6944 2002-11-07 Ben Stanley <bds02@uow.edu.au>
6946 * lyxtextclass.[Ch]: revise and add doxygen comments
6948 2002-11-07 John Levon <levon@movementarian.org>
6950 * text.C: fix progress value for spellchecker
6952 * toc.C: fix navigate menu for insetwrap inside minipage
6954 * paragraph_funcs.C: added FIXME for suspect code
6956 2002-11-07 John Levon <levon@movementarian.org>
6958 * BufferView_pimpl.C: fix redrawing of insets
6961 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6963 * text2.C (updateCounters): fix bug 668
6965 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
6967 * text3.C (dispatch): Do not make the buffer dirty when moving the
6970 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6972 * vc-backend.C: STRCONV
6975 * text2.C (setCounter): STRCONV
6977 * paragraph.C (asString): STRCONV
6979 * lyxlength.C (asString): STRCONV
6980 (asLatexString): ditto
6982 * lyxgluelength.C (asString): STRCONV
6983 (asLatexString): ditto
6985 * lyxfunc.C (dispatch): STRCONV
6988 * lyxfont.C (stateText): STRCONV
6990 * importer.C (Import): STRCONV
6992 * counters.C (labelItem): STRCONV
6993 (numberLabel): ditto
6994 (numberLabel): remove unused ostringstream o
6999 * bufferview_funcs.C (currentState): STRCONV
7001 * buffer.C (readFile): STRCONV
7002 (asciiParagraph): ditto
7003 (makeLaTeXFile): ditto
7005 * Spacing.C (writeEnvirBegin): STRCONV
7007 * LaTeXFeatures.C (getLanguages): STRCONV
7008 (getPackages): ditto
7010 (getBabelOptions): ditto
7011 (getTClassPreamble): ditto
7012 (getLyXSGMLEntities): ditto
7013 (getIncludedFiles): ditto
7017 (scanAuxFile): ditto
7020 * LString.h: add the STRCONV macros
7022 * BufferView_pimpl.C (savePosition): STRCONV
7023 (restorePosition): ditto
7024 (MenuInsertLyXFile): ditto
7026 * vc-backend.C (scanMaster): change from submatch[...] to
7029 * funcrequest.C: include config.h
7031 * factory.C: include config.h
7033 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7035 * box.C: include config.h
7037 * LaTeX.C (scanAuxFile): change from submatch[...] to
7041 2002-10-25 Angus Leeming <leeming@lyx.org>
7043 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7045 * ispell.[Ch] (setError): new method.
7046 * ispell.C (c-tor): move out child process into new class LaunchIspell.
7047 Use setError() insetead of goto END.
7049 * lyx_cb.C (AutoSave): move out child process into new class
7052 2002-10-30 John Levon <levon@movementarian.org>
7054 * text3.C: make start appendix undoable
7056 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
7058 * lyxlength.C (inPixels): Fix returned value.
7060 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7063 2002-10-24 Angus Leeming <leeming@lyx.org>
7065 * lyxgluelength.h: no need to forward declare BufferParams
7066 or BufferView, so don't.
7068 2002-10-21 John Levon <levon@movementarian.org>
7070 * BufferView.C: menuUndo ->undo, redo
7072 * BufferView.h: document, remove dead, make some methods private
7074 * paragraph_funcs.h:
7075 * paragraph_funcs.C:
7076 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7081 * sgml.C: move sgml open/close tag into sgml.C
7083 * bufferview_funcs.h: unused prototype
7086 * lyxfunc.C: remove unused
7089 * text.C: remove unused
7091 2002-10-21 John Levon <levon@movementarian.org>
7095 * BufferView_pimpl.h:
7096 * BufferView_pimpl.C: fix mouse wheel handling based on
7097 patch from Darren Freeman
7099 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
7101 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7103 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
7105 * lyxlength.C (inPixels): Fix hanfling of negative length.
7106 Fix LyXLength::MU case.
7108 2002-10-16 John Levon <levon@movementarian.org>
7110 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7112 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7114 * converter.C (view): add support for $$i (file name) and $$p
7115 (file path) for the viewer command. If $$i is not specified, then
7116 it is appended to the command (for compatibility with old syntax)
7118 2002-10-14 Juergen Vigna <jug@sad.it>
7120 * undo_funcs.C (textHandleUndo): alter the order in which the
7121 new undopar is added to the LyXText, as we have to set first
7122 the right prev/next and then add it as otherwise the rebuild of
7123 LyXText is not correct. Also reset the cursor to the right paragraph,
7124 with this IMO we could remove the hack in "redoParagraphs()".
7126 2002-10-09 Angus Leeming <leeming@lyx.org>
7128 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7129 to turn off an optimisation if a new inset is to be inserted.
7131 2002-10-11 André Pönitz <poenitz@gmx.net>
7133 * lyxtext.h: make some functions public to allow access
7134 from inset/lyxtext for handling LFUN_PRIOR/NEXT
7136 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7138 * text3.C (dispatch): when changing layout, avoid an infinite loop
7141 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7143 * lyxrc.C (read): treat a viewer or converter command of "none" as
7146 * MenuBackend.C (expandFormats): for an update, also allow the
7147 formats that are not viewable
7149 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7150 script if it is newer than the lyxrc.defaults in user directory
7152 2002-10-07 André Pönitz <poenitz@gmx.net>
7154 * text.C: Vitaly Lipatov's small i18n fix
7156 2002-09-25 Angus Leeming <leeming@lyx.org>
7158 * ispell.h: doxygen fix.
7160 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
7162 * buffer.h (readFile): Add a new argument to the method, to allow
7163 reading of old-format templates.
7165 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
7167 * toc.C (getTocList): Get TOC from InsetWrap.
7169 2002-09-16 John Levon <levon@movementarian.org>
7171 * lyxfunc.C: check tabular for cut/copy too
7173 2002-09-12 John Levon <levon@movementarian.org>
7178 * factory.C: add header
7180 * paragraph_funcs.h:
7181 * paragraph_funcs.C: cleanup
7183 2002-09-11 John Levon <levon@movementarian.org>
7185 * PrinterParams.h: odd/even default to true
7187 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
7189 * PrinterParams.h: update printer parameters for new xforms dialog
7191 2002-09-11 Angus Leeming <leeming@lyx.org>
7193 * lyxserver.C (read_ready): re-write to make it more transparent
7194 and to make it work in coherent fashion under Tru64 Unix.
7196 2002-09-11 André Pönitz <poenitz@gmx.net>
7200 * text3.C: implement LFUN_WORDSEL
7202 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7204 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7205 make floatlist_ a boost::shared_ptr<FloatList>
7207 * lyxtextclass.C: include FloatList.h
7208 (LyXTextClass): initialize floatlist_
7209 (TextClassTags): add TC_NOFLOAT
7210 (Read): match "nofloat" to TC_NOFLOAT and use it.
7211 (readFloat): modify call to floatlist_
7215 * FloatList.[Ch] (FloatList): remove commented out float
7217 (erase): new function
7219 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7221 * MenuBackend.C (expandToc): fix crash when there is no document
7224 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
7226 * many files: Add insetwrap.
7228 2002-09-09 John Levon <levon@movementarian.org>
7230 * text2.C: remove confusing and awkward depth wraparound
7232 2002-09-09 John Levon <levon@movementarian.org>
7234 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7237 * buffer.C: remove getIncludeonlyList()
7240 * lyxfunc.C: remove headers
7242 2002-09-09 Juergen Vigna <jug@sad.it>
7244 * text.C (getColumnNearX): fix form Michael this is most
7245 probably a cut&paste bug.
7247 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7249 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7251 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7252 references, ws changes.
7254 * text2.C (init): update counters after init
7255 (insertParagraph): no need to set counter on idividual paragraphs.
7256 (setCounter): access the counters object in the textclass object
7257 on in the buffer object.
7258 (updateCounters): ditto
7260 * lyxtextclass.C: include counters.h, add variable ctrs_ as
7261 shared_ptr<Counters> to avoid loading counters.h in all
7263 (LyXTextClass): initialize ctrs_
7264 (TextClassTags): add TC_COUNTER, and ...
7265 (Read): use it here.
7266 (CounterTags): new tags
7267 (readCounter): new function
7268 (counters): new funtion
7269 (defaultLayoutName): return a const reference
7271 * counters.C (Counters): remove contructor
7272 (newCounter): remove a couple of unneeded statements.
7273 (newCounter): simplify a bit.
7274 (numberLabel): some small formatting changes.
7276 * buffer.[Ch]: remove all traces of counters, move the Counters
7277 object to the LyXTextClass.
7279 2002-09-06 Alain Castera <castera@in2p3.fr>
7281 * tabular.C: uses \tabularnewline; uses >{...} construct from array
7282 package to set the horizontal alignment on fixed width columns.
7285 * lyx_sty.h: added tabularnewline macro def.
7287 * LaTeXFeatures.C: added NeedTabularnewline macro feature
7289 2002-09-06 John Levon <levon@movementarian.org>
7291 * LyXAction.C: tooltips for sub/superscript
7293 * MenuBackend.C: a bit more verbose
7295 * lyxfunc.C: tiny clean
7297 * undo_funcs.C: document undo_frozen
7299 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7301 * counters.C (Counters): add missing algorithm counter.
7303 * text2.C (setCounter): lookup the counter with layouts latexname
7304 instead of by section number.
7305 (setCounter): use a hackish way to lookup the correct enum
7307 a float name->type change
7308 reset enum couners with counter name directly instead of depth value.
7310 * counters.C (Counters): remove the push_backs, change to use the
7311 float type not the float name.
7312 (labelItem): remove unused string, float name->type change
7314 * counters.h: don't include vector, loose the enums and sects vectors
7316 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7318 * lyxtextclass.C (TextClassTags): add TC_FLOAT
7319 (Read): add float->TC_FLOAT to textclassTags
7320 (Read): and handle it in the switch
7321 (readFloat): new function
7323 * FloatList.C (FloatList): comment out the hardcoded float
7326 * lyxlayout.h: ws change.
7328 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
7330 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7332 2002-09-03 Angus Leeming <leeming@lyx.org>
7334 * BufferView_pimpl.h: qualified name is not allowed in member
7335 declaration: WorkArea & Pimpl::workarea() const;
7337 * factory.C: added using std::endl directive.
7339 * text3.C: added using std::find and std::vector directives.
7341 2002-08-29 André Pönitz <poenitz@gmx.net>
7344 * text2.C: remove unused member number_of_rows
7347 * BufferView2.C: remove file, move contents to...
7348 * BufferView.C: ... here
7350 * BufferView_pimpl.C:
7351 * factory.C: move more inset creation to factory
7353 * vspace.C: avoid direct usage of LyXText, ws changes
7356 don't provide direct access to WorkArea, use two simple
7357 acessors haveSelction() and workHeight() instead
7360 2002-08-29 John Levon <levon@movementarian.org>
7362 * BufferView_pimpl.C (dispatch): do not continue when
7365 2002-08-28 André Pönitz <poenitz@gmx.net>
7367 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7370 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7372 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
7374 * buffer.C: increment LYX_FORMAT to 221
7376 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7377 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7379 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7381 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7383 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7385 * factory.C (createInset): use LyXTextClass::floats
7387 * MenuBackend.C (expandFloatListInsert):
7388 (expandFloatInsert):
7391 * text2.C (setCounter):
7393 * LaTeXFeatures.C (useFloat):
7394 (getFloatDefinitions):
7396 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7398 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7399 floatlist_, with accessor floats().
7401 * FloatList.h: remove global FloatList
7403 2002-08-26 André Pönitz <poenitz@gmx.net>
7405 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7409 * BufferView_pimpl.C:
7410 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7412 2002-08-25 John Levon <levon@movementarian.org>
7414 * LyXAction.C: fix margin note description
7416 2002-08-24 John Levon <levon@movementarian.org>
7420 * bufferview_funcs.C:
7422 * undo_funcs.C: cleanups
7424 * lyxfunc.C: disable CUT/COPY when no selection
7426 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
7428 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7429 in "enum UNIT"; e.g. PTW for Percent of TextWidth
7431 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7432 Add backward compatibility to "mono", "gray" and "no".
7434 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
7436 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7437 (and file_format >= 200).
7439 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7441 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7443 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7445 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7447 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
7449 * BufferView_pimpl.C:
7456 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7457 inset and code to make it work with the paragraph code. The inset
7458 can be anywhere in the paragraph, but will only do the expected
7459 thing in LaTeX if the layout file contains the parameter line
7461 (or more generally, a nonzero value) for that layout.
7463 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7465 * paragraph.h: remove the declaration of undefined counters class
7468 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
7470 * text2.C (setCounter): fixed enumeration mis-count as reported by
7471 Dr. Richard Hawkins.
7473 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7475 * paragraph_funcs.h: remove some unneeded includes
7477 * text.C (backspace): pasteParagraph now in global scipe
7479 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7480 (pasteSelection): ditto
7482 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7483 * paragraph_funcs.C (pasteParagraph): ... here
7485 2002-08-20 André Pönitz <poenitz@gmx.net>
7487 * commandtags.h: new LFUNs for swapping/copying table row/colums
7490 * lyxfunc.C: support for new lfuns
7492 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7495 * buffer.[Ch]: remove NO_COMPABILITY stuff
7497 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
7499 * boost.C (throw_exception): new file, with helper function for
7500 boost compiled without exceptions.
7505 * ParameterStruct.h:
7506 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7508 * bufferlist.C (emergencyWriteAll): use boost bind
7510 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7512 * text.C: include paragraph_funcs.h
7513 (breakParagraph): breakParagraph is now in global scope
7515 * paragraph_funcs.[Ch]: new files
7517 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7520 * buffer.C: include paragraph_funcs.h
7521 (insertStringAsLines): breakParagraph is now in global scope
7523 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7526 * CutAndPaste.C: include paragraph_funcs.h
7527 (cutSelection): breakParagraphConservative is now in global scope
7528 (pasteSelection): ditto
7530 * buffer.h: declare oprator== and operator!= for
7531 Buffer::inset_iterator
7533 * bufferlist.C (emergencyWrite): don't use fmt(...)
7535 * text3.C: add using std::endl
7537 * BufferView.C (moveCursorUpdate): remove default arg
7539 2002-08-20 André Pönitz <poenitz@gmx.net>
7541 * buffer.[Ch]: move inline functions to .C
7544 * BufferView_pimpl.C:
7546 * buffer.[Ch]: use improved inset_iterator
7549 * paragraph.[Ch]: write one paragraph at a time
7551 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7553 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7554 style if style is not specified.
7556 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7558 * text2.C (setCounter): when searching for right label for a
7559 caption, make sure to recurse to parent insets (so that a caption
7560 in a minipage in a figure float works) (bug #568)
7562 2002-08-20 André Pönitz <poenitz@gmx.net>
7564 * text3.C: new file for LyXText::dispatch() and helpers
7566 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7568 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7570 2002-08-19 André Pönitz <poenitz@gmx.net>
7573 * text.C: new LyXText::dispatch()
7575 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7577 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7579 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7581 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7584 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7586 * Makefile.am: use $(variables) instead of @substitutions@
7588 2002-08-15 André Pönitz <poenitz@gmx.net>
7591 * BufferView_pimpl.C: streamlining mathed <-> outer world
7595 * LyXAction.C: remove unused LFUN_MATH
7597 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7599 * paragraph.[Ch]: add some NO_NEXT ifdefs.
7601 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7603 * paragraph.C (Paragraph): reformat a bit
7604 (cutIntoMinibuffer): use builtin InsetList function instad of
7608 * buffer.C: include boost/bind.hpp, add using std::for_each
7609 (writeFileAscii): use ParagraphList iterators
7610 (validate): use for_each for validate traversal of paragraphs
7611 (getBibkeyList): use ParagraphList iterators
7612 (resizeInsets): use for_each to resizeInsetsLyXText for all
7614 (getParFromID): use ParagraphList iterators
7616 * BufferView2.C (lockInset): use paragraph list and iterators
7618 2002-08-14 John Levon <levon@movementarian.org>
7620 * lyxserver.C: remove spurious xforms include
7622 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7624 * lyxfunc.C (getStatus): disable math-extern outside of math mode
7626 2002-08-13 André Pönitz <poenitz@gmx.net>
7629 * lyxfunc.C: further cleaning
7631 2002-08-13 André Pönitz <poenitz@gmx.net>
7633 * funcrequest.h: new constructor
7635 * funcrequest.C: move stuff here from .h
7638 * BufferView_pimpl.C:
7641 * lyxfunc.C: subsequent changes
7643 * lyxfunc.h: new view() member function
7645 * lyxfunc.C: subsequent changes
7647 2002-08-13 Angus Leeming <leeming@lyx.org>
7650 * BufferView_pimpl.C:
7658 changes due to the changed LyXView interface that now returns references
7659 to member variables not pointers.
7661 2002-08-13 Angus Leeming <leeming@lyx.org>
7663 * WordLangTuple (word, lang_code): return references to strings,
7668 * lyxtext.h: forward-declare WordLangTuple.
7673 * text.C: #include "WordLangTuple.h".
7676 * text.C: (selectNextWordToSpellcheck): constify return type.
7678 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
7684 * paragraph_pimpl.h:
7687 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7689 Made updateCounter always count from start of buffer, and removed
7690 second argument (par).
7691 Reverted floats number display to '#'. Perhaps I'll try again when the
7692 code base is sanitized a bit.
7694 2002-08-12 Angus Leeming <leeming@lyx.org>
7696 * buffer.[Ch] (getLabelList): constify.
7698 2002-08-07 André Pönitz <poenitz@gmx.net>
7700 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7702 * funcrequest.h: extension to keep mouse (x,y) position
7704 2002-08-12 Juergen Vigna <jug@sad.it>
7706 * BufferView2.C (insertErrors): forbid undo when inserting error
7709 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7711 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7713 * ParagraphList.[Ch]: new files
7715 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7717 * BufferView2.C (lockInset): ParagraphList changes
7720 * bufferlist.C: ditto
7724 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7726 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7727 unused class variable counter_,
7729 * paragraph.[Ch] (getFirstCounter): delete unused function
7731 * counters.C: include LAssert.h
7732 (reset): add a new function with no arg, change other version to
7733 not have def. arg and to not allow empty arg.
7735 * text2.C (setCounter): remove empty arg from call to Counters::reset
7737 2002-08-11 John Levon <levon@movementarian.org>
7739 * Makefile.am: add WordLangTuple.h
7741 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7743 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7744 lyxfunc.C lyxlex_pimpl.C: ws changes only.
7746 * insets/insettext.C: InsetList changes
7748 * graphics/GraphicsSupport.C (operator()): InsetList changes
7750 * toc.C (getTocList): InsetList changes
7752 * paragraph_pimpl.[Ch]: InsetList changes
7754 * paragraph.[Ch]: InsetList changes
7756 * buffer.C (inset_iterator): InsetList changes
7757 (setParagraph): ditto
7758 * buffer.h (inset_iterator): ditto
7759 * iterators.C (operator++): ditto
7760 * iterators.h: ditto
7762 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7764 * InsetList.[Ch]: new files, most InsetList handling moved out of
7767 * BufferView2.C (removeAutoInsets): InsetList changes
7769 (ChangeInsets): ditto
7771 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7773 * paragraph_pimpl.h (empty): new function
7775 * paragraph.[Ch] (empty): new function
7777 * other files: use the new Paragraph::empty function
7779 2002-08-09 John Levon <levon@movementarian.org>
7781 * lyxtext.h: remove unused refresh_height
7783 2002-08-09 John Levon <levon@movementarian.org>
7790 * paragraph.C: move sgml char escaping out of paragraph
7793 * paragraph.C: remove id setter
7797 * paragraph_pimpl.C: remove dead tex_code_break_column
7799 * bufferview_funcs.C: small cleanup
7801 * lyxfunc.C: remove dead proto
7803 * lyxtext.h: make some stuff private. Remove some dead stuff.
7805 * lyxgluelength.C: make as[LyX]String() readable
7807 2002-08-08 John Levon <levon@movementarian.org>
7812 * ToolbarDefaults.C:
7815 * toc.C: lyxaction cleanup
7817 2002-08-08 John Levon <levon@movementarian.org>
7819 * BufferView2.C: small cleanup
7822 * lyxfind.C: move unnecessary header into the .C
7824 2002-08-08 John Levon <levon@movementarian.org>
7826 * funcrequest.h: just tedious nonsense
7829 * lyx_main.C: cleanups
7832 * vspace.C: remove dead header lyx_main.h
7834 2002-08-07 Angus Leeming <leeming@lyx.org>
7837 * paragraph_pimpl.h:
7838 Forward declare class Counters in paragraph.h by moving the ctrs member
7839 variable into Paragraph::Pimpl.
7840 (counters): new method, returning a reference to pimpl_->ctrs.
7842 * text2.C: ensuing changes.
7844 2002-08-07 John Levon <levon@movementarian.org>
7846 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7848 * BufferView_pimpl.C: announce X selection on double/triple
7851 * lyx_main.C: use correct bool in batch dispatch
7853 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7855 2002-08-07 André Pönitz <poenitz@gmx.net>
7857 * funcrequest.h: new class to wrap a kb_action and its argument
7860 * BufferView_pimpl[Ch]:
7864 * lyxrc.C: subsequent changes
7867 2002-08-07 John Levon <levon@movementarian.org>
7869 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7870 document options change.
7872 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7877 * makefile.am: move counters functionality over from
7878 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7880 2002-08-06 John Levon <levon@movementarian.org>
7882 * WordLangTuple.h: new file for word + language code tuple
7893 * BufferView2.C: use WordLangTuple
7896 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7898 2002-08-06 John Levon <levon@movementarian.org>
7900 * lyx_main.C: fix cmdline batch handling
7902 2002-08-06 André Pönitz <poenitz@gmx.net>
7904 * lyxrc.C: set default for show_banner to true
7906 2002-08-06 John Levon <levon@movementarian.org>
7908 * pspell.C: fix a crash, and allow new aspell to work
7910 2002-08-06 John Levon <levon@movementarian.org>
7913 * kbmap.C: small cleanup
7916 * vspace.C: add const
7918 2002-08-05 John Levon <levon@movementarian.org>
7920 * LyXAction.C: back to tabular-insert
7922 2002-08-04 John Levon <levon@movementarian.org>
7925 * BufferView.C: cosmetic change
7927 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7937 * BufferView2.C: purge all "Lyx" not "LyX" strings
7940 * lyxcursor.C: attempt to add some documentation
7945 * ToolbarDefaults.C:
7946 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7947 merge with LFUN_TABULAR_INSERT
7954 * pspell.C: split up i/pspell implementations into separate
7955 files, many cleanups
7957 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7959 * text2.C: some cleanup
7961 * lyxfunc.C: don't check for isp_command == "none" any more, it
7962 didn't make any sense
7964 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7969 * makefile.am: move counters functionality over
7970 from text2.C/paragraph.[Ch] to counters.[Ch], and
7972 2002-08-02 John Levon <levon@movementarian.org>
7974 * buffer.C: s/lyxconvert/lyx2lyx/
7976 2002-08-02 Angus Leeming <leeming@lyx.org>
7978 * lyxlex.C: revert John's change as it breaks reading of the user
7981 2002-08-02 Angus Leeming <leeming@lyx.org>
7983 * importer.C (Import):
7984 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7985 changes due to LyXView::view() now returning a boost::shared_ptr.
7987 2002-08-02 John Levon <levon@movementarian.org>
7989 * lyxlex.C: small cleanup
7991 2002-08-02 John Levon <levon@movementarian.org>
7993 * text2.C (status): small cleanup, no logic change
7995 2002-08-01 John Levon <levon@movementarian.org>
7998 * buffer.C (writeFile): don't output alerts, caller
8002 * lyx_cb.C: from above
8004 * lyxfunc.C: allow to open non-existent files
8006 2002-07-31 John Levon <levon@movementarian.org>
8008 * lyxserver.C: don't let incidental errors get
8011 2002-07-30 John Levon <levon@movementarian.org>
8013 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8015 2002-07-30 John Levon <levon@movementarian.org>
8018 * lyxserver.C: remove I/O callback too
8020 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8022 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8025 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8027 * many files: strip,frontStrip -> trim,ltrim,rtrim
8029 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8031 * PrinterParams.h: remove extern containsOnly, and include
8032 support/lstrings.h instead.
8034 * LaTeX.C (scanAuxFile): modify because of strip changes
8036 * buffer.C (makeLaTeXFile): ditto
8037 * bufferparams.C (writeFile): ditt
8038 * lyxfont.C (stateText): ditto
8039 * lyxserver.C (read_ready): ditto
8040 * vc-backend.C (scanMaster): ditto
8042 * BufferView_pimpl.h: ws changes
8044 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8046 2002-07-26 André Pönitz <poenitz@gmx.net>
8048 * kb_sequence.C: remove unnedred usings
8050 2002-07-26 Juergen Vigna <jug@sad.it>
8052 * lyxfind.C (LyXReplace): we have to check better if the returned
8053 text is not of theLockingInset()->getLockingInset().
8055 2002-07-25 Juergen Vigna <jug@sad.it>
8057 * lyxfind.C (LyXReplace): don't replace if we don't get the
8060 * undo_funcs.C (createUndo): remove debugging code.
8062 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
8064 * buffer.C (parseSingleLyXformat2Token): Use default placement
8065 when reading old floats.
8067 * FloatList.C (FloatList): Change the default placement of figure
8068 and tables to "tbp".
8070 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
8072 * MenuBackend.C: using std::max
8074 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8076 * MenuBackend.C (expandToc):
8077 (expandToc2): code moved from xforms menu frontend. It is now
8078 generic and TOCs are transparent to menu frontends.
8080 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8082 * toc.C (getTocList): protect against buf=0
8084 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8085 Menu as first parameter. Now, this calls itself recursively to
8086 expand a whole tree (this will be useful for TOC handling)
8087 (expandFloatInsert): remove 'wide' version of floats
8089 * MenuBackend.h (submenuname): returns the name of the submenu.
8090 (submenu): returns the submenu itself, provided it has been
8091 created by MenuBackend::expand
8093 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8095 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8096 insets which have noFontChange == true. (bug #172)
8098 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8100 * BufferView_pimpl.C: add connection objects and use them...
8103 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8105 * MenuBackend.C (expandLastfiles):
8108 (expandFloatListInsert):
8109 (expandFloatInsert):
8110 (expand): split expand in parts
8112 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8114 * lyx_gui.C: use lyx_gui::exit()
8116 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8118 * LyXAction.C: show the failing pseudo action
8120 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
8122 * buffer.C (readFile): Run the lyxconvert script in order to read
8125 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8129 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8131 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8135 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8137 2002-07-22 Herbert Voss <voss@lyx.org>
8140 * lyxlength.[Ch]: add support for the vertical lengths
8142 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
8144 * toc.[Ch]: std:: fixes
8146 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8148 * lyxrc.C: do not include lyx_main.h
8150 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8156 * BufferView2.C: include "lyxlex.h"
8159 * bufferparams.h: do not #include "lyxlex.h"
8161 * lyxtextclasslist.C (Add): remove method
8162 (classlist): renamed to classlist_
8164 * paragraph_pimpl.C:
8168 * bufferview_funcs.C:
8173 * toc.C (getTocList): use BufferParams::getLyXTextClass
8175 * toc.C (getTocList): use InsetFloat::addToToc
8177 * toc.[Ch]: new files, containing helper functions to handle table
8180 * lyxfunc.C (dispatch): no need to remove spaces around command
8182 (getStatus): handle LFUN_SEQUENCE by returning the status of the
8183 first command of the sequence; it is not very clever, but I do not
8184 have a better idea, actually
8186 * LyXAction.C (LookupFunc): make sure to remove space at the
8187 beginning and end of the command
8189 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8191 * MenuBackend.C (getMenubar): new method: return the menubar of
8193 (read): treat differently reading of menu and menubar (in
8194 particular, the menubar has no name now)
8195 (Menu::menubar): remove
8197 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8200 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8202 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8203 a bibitem inset in a RTL paragraph.
8205 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
8207 * paragraph_pimpl.C: constify
8209 * BufferView_pimpl.C:
8211 * lyxfunc.C: fix dispatch in a nicer way
8213 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8215 * lyxfunc.C (dispatch):
8216 * BufferView_pimpl.C:
8217 * BufferView_pimpl.h:
8219 * BufferView.h: rename Dispatch() to dispatch()
8221 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8223 * lyxlayout.C (Read): honor DependsOn tag
8225 * lyxlayout.[Ch] (depends_on): new method
8227 * version.C.in: update lyx_docversion
8229 * LaTeXFeatures.C (getMacros): only define \LyX when needed
8231 * paragraph.C (validate): remove from here...
8232 * paragraph_pimpl.C (validate): ... and move here
8233 (isTextAt): make it const
8235 * buffer.C (getLists): ws cleanup
8237 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8239 * language.C (read): Use iso8859-1 encoding in latex_lang
8240 (this prevents LyX from crashing when using iso10646-1 encoding).
8242 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8244 * text2.C (toggleInset): if cursor is inside an inset, close the
8245 inset and leave cursor _after_ it
8247 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8249 * lyxfunc.C: move minibuffer completion handling out of here
8251 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8253 * BufferView_pimpl.C:
8254 * LaTeX.C: fix dispatch calls
8256 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
8258 * text.C (drawChars): Fix Arabic text rendering.
8260 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
8264 * lyxfunc.C: remove message-push/pop
8268 * lyxfunc.C: rationalise some code by removing verboseDispatch
8269 in favour of a bool argument to dispatch()
8271 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8273 * lyx_main.C (init): make sure to read symlinks as absolute paths
8275 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8278 * lyxfunc.C: no need for commandshortcut to be a member
8280 2002-07-15 André Pönitz <poenitz@gmx.net>
8282 * converter.C: add support for $$s (scripts from lib/scripts dir)
8283 * lyx_main.C: white space
8285 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8289 * lyxrc.C: remove second exit confirmation
8291 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8296 * BufferView_pimpl.h:
8297 * BufferView_pimpl.C:
8298 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8300 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8302 * MenuBackend.C (expand): add numeric shortcuts to document menu
8304 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8306 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8308 * lyxfont.C (setLyXFamily):
8315 * buffer.C (asciiParagraph): use ascii_lowercase
8317 2002-07-15 Mike Fabian <mfabian@suse.de>
8319 * lyxlex_pimpl.C (search_kw):
8320 * lyxlex.C (getLongString):
8321 * converter.h (operator<):
8322 * converter.C (operator<):
8323 * buffer.C (parseSingleLyXformat2Token):
8325 * ToolbarDefaults.C (read):
8326 * MenuBackend.C (checkShortcuts):
8328 * LColor.C (getFromGUIName):
8329 (getFromLyXName): use the compare_ascii_no_case instead of
8330 compare_no_case, because in turkish, 'i' is not the lowercase
8331 version of 'I', and thus turkish locale breaks parsing of tags.
8333 2002-07-16 Angus Leeming <leeming@lyx.org>
8335 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8336 now takes a Buffer const & argument.
8338 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
8340 * BufferView.C (resize): check there's a buffer to resize
8342 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
8344 * lyxfunc.C: remove dead code
8347 * lyxserver.C: use lyx_guii::set_read_callback
8349 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
8351 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8352 an inset in a RTL paragraph.
8354 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8356 * lyxfunc.C: repaint after a font size update
8358 2002-07-15 André Pönitz <poenitz@gmx.net>
8360 * lyxlength.C: inBP should be able to return negative values
8362 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8364 * lyxfunc.C: use lyx_gui::update_fonts()
8366 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8368 * lyxfunc.C: use lyx_gui::update_color()
8370 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8376 * lyxrc.C: remove file->new asks for name option, and let
8377 buffer-new take an argument
8379 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8381 * BufferView_pimpl.C: remove unneeded extra repaint()
8383 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
8385 * LyXAction.C: allow command-sequence with NoBuffer
8387 * lyxfunc.C: don't insist on trailing ';' for command-sequence
8389 2002-07-10 Angus Leeming <leeming@lyx.org>
8391 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8393 2002-07-09 Angus Leeming <leeming@lyx.org>
8395 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8397 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8399 * lengthcommon.h: whitespace
8401 * lyxfunc.C: update scrollbar after goto paragraph
8403 * lyxtext.h: factor out page break drawing, and fix it so
8404 page break/added space paints as selected nicely
8406 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8408 * BufferView_pimpl.C: add FIXMEs, clean up a little
8410 2002-07-09 André Pönitz <poenitz@gmx.net>
8412 * lyxfont.[Ch]: support for wasy symbols
8414 2002-07-08 André Pönitz <poenitz@gmx.net>
8416 * BufferView_pimpl.C: apply John's patch for #93.
8418 2002-07-05 Angus Leeming <leeming@lyx.org>
8420 * BufferView_pimpl.C (buffer): generate previews if desired.
8422 * LColor.h: add "preview" to the color enum.
8424 * LColor.C (LColor): add a corresponding entry to the items array.
8426 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8429 2002-07-05 Angus Leeming <leeming@lyx.org>
8431 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8432 The body of the code is now in the method that is passed an ostream &
8433 rather than a file name.
8434 Pass an additional only_preamble parameter, useful for the forthcoming
8437 2002-07-03 André Pönitz <poenitz@gmx.net>
8439 * lyxfunc.C: simplify getStatus() a bit for math stuff
8441 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8443 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8445 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8447 * text.C (changeRegionCase): do not change case of all the
8448 document when region ends at paragraph end (bug #461)
8450 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8452 * paragraph.C (startTeXParParams):
8453 (endTeXParParams): add \protect when necessary
8455 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8457 * BufferView_pimpl.C (workAreaExpose): remove warning
8459 2002-06-27 Angus Leeming <leeming@lyx.org>
8461 * Makefile.am: add lyxlayout_ptr_fwd.h.
8463 2002-06-26 André Pönitz <poenitz@gmx.net>
8465 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8467 2002-06-25 Angus Leeming <leeming@lyx.org>
8469 * lyxfunc.C (dispatch): Comment out the call to
8470 grfx::GCache::changeDisplay. The method no longer exists now that the
8471 pixmap generation part of the graphics loader has been moved into
8474 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8476 * text2.C: layout as layout
8478 * text.C: layout as layout
8480 * tabular.C (OldFormatRead): layout as layout
8482 * paragraph_pimpl.C (TeXDeeper): layout as layout
8483 (realizeFont): layout as layout
8485 * paragraph.C (writeFile): layout as layout
8486 (validate): layout as layout
8487 (getFont): layout as layout
8488 (getLabelFont): layout as layout
8489 (getLayoutFont): layout as layout
8490 (breakParagraph): layout as layout
8491 (stripLeadingSpaces): layout as layout
8492 (getEndLabel): layout as layout
8493 (getMaxDepthAfter): layout as layout
8494 (applyLayout): layout as layout
8495 (TeXOnePar): layout as layout
8496 (simpleTeXOnePar): layout as layout
8497 (TeXEnvironment): layout as layout
8498 (layout): layout as layout
8499 (layout): layout as layout
8501 * lyxtextclass.C (compare_name): new functor to work with
8502 shared_ptr, layout as layout
8503 (Read): layout as layout
8504 (hasLayout): layout as layout
8505 (operator): layout as layout
8506 (delete_layout): layout as layout
8507 (defaultLayout): layout as layout
8509 * lyxlayout_ptr_fwd.h: new file
8511 * lyxlayout.C (Read): layout as layout
8513 * lyx_cb.C (MenuInsertLabel): layout as layout
8515 * bufferlist.C (newFile): layout as layout
8517 * buffer.C (readLyXformat2): layout as layout
8518 (parseSingleLyXformat2Token): layout as layout
8519 (insertStringAsLines): layout as layout
8520 (asciiParagraph): layout as layout
8521 (latexParagraphs): layout as layout
8522 (makeLinuxDocFile): layout as layout
8523 (simpleLinuxDocOnePar): layout as layout
8524 (makeDocBookFile): layout as layout
8525 (simpleDocBookOnePar): layout as layout
8526 (getLists): layout as layout
8528 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8530 * CutAndPaste.C (cutSelection): layout as layout
8531 (pasteSelection): layout as layout
8532 (SwitchLayoutsBetweenClasses): layout as layout
8534 * BufferView_pimpl.C (Dispatch): layout as layout
8535 (smartQuote): layout as layout
8537 * BufferView2.C (unlockInset): layout as layout
8539 2002-06-24 André Pönitz <poenitz@gmx.net>
8541 * lyxfunc.C: fix #487
8543 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8547 * lyxfunc.C: remove display_shortcuts, show_banner
8549 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8551 * Buffer_pimpl.C: oops, update on resize
8553 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8560 * BufferView.C: use repaint()
8562 * BufferView_pimpl.h:
8563 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8564 as it's a clearer description. Remove superfluous
8567 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8569 * text.C: fix bug 488. Not ideal, but getting
8570 getWord() to work properly for the insets that
8571 matter is more difficult ...
8573 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8575 * BufferView_pimpl.C:
8578 * lyxfunc.C: remove the six million index lyxfuncs to just
8579 one, and DTRT (bug 458)
8581 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8585 * BufferView_pimpl.h:
8586 * BufferView_pimpl.C: clean up resize() stuff,
8587 and unnecessary updateScreen()s
8589 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8593 * BufferView_pimpl.h:
8594 * BufferView_pimpl.C:
8597 * minibuffer.C: remove focus management of workarea,
8598 not needed. Use screen's greyOut()
8600 2002-06-17 Herbert Voss <voss@lyx.org>
8602 * converter.C: (convert) do not post a message, when converting
8603 fails, let the calling function decide what to do in this case
8605 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
8607 * lyxfunc.C: tidy up a little
8609 2002-06-16 <alstrup@diku.dk>
8611 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8612 Got rid of FORMS_H_LOCATION include. Now we are
8615 2002-06-15 LyX Development team <lyx@rilke>
8617 * buffer.[Ch] (sgmlOpenTag):
8618 (sgmlCloseTag): Added support for avoiding pernicious mixed
8619 content. Return number of lines written.
8622 (makeDocBookFile): Fixed calls to sgml*Tag.
8623 Simple white space clean.
8625 (simpleDocBookOnePar): Simple white space clean.
8627 * tabular.[Ch] (docBook): Renamed to docbook and got another
8628 argument to related with the pernicious mixed content.
8630 (docbookRow): Fixed calls for docbook inset method.
8632 2002-06-15 Lyx Development team <larsbj@birdstep.com>
8634 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8635 so it's X11 independent.
8639 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8641 2002-06-15 Lyx Development team <lyx@electronia>
8643 * intl.h: Renamed getTrans to getTransManager.
8645 2002-06-14 Angus Leeming <leeming@lyx.org>
8647 * Makefile.am: nuke forgotten stl_string_fwd.h.
8649 2002-06-12 Angus Leeming <leeming@lyx.org>
8651 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8653 2002-06-13 Angus Leeming <leeming@lyx.org>
8656 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8658 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
8660 * kbmap.C (getiso): add support for cyrillic and greek
8662 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8666 * BufferView_pimpl.h:
8667 * BufferView_pimpl.C: move bogus scrolling logic
8670 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8673 * BufferView_pimpl.C: view->resize() change
8675 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8677 * BufferView_pimpl.C: topCursorVisible
8680 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8684 * lyx_gui.C: move to frontends/
8688 * lyx_main.C: changes from above
8690 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8697 * lyx_main.C: minor tidy
8699 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8701 * BufferView_pimpl.h:
8702 * BufferView_pimpl.C:
8704 * BufferView.C: make painter() const,
8707 * BufferView2.C: use screen() accessor
8710 * lyx_main.C: some minor cleanup
8712 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8714 * BufferView_pimpl.h:
8715 * BufferView_pimpl.C: remove enter/leaveView,
8718 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8723 * BufferView_pimpl.h:
8724 * BufferView_pimpl.C: only construct screen once,
8727 * lyxrc.C: remove pointless comment
8729 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8732 * BufferView.C: remove active() and belowMouse()
8734 * BufferView_pimpl.h:
8735 * BufferView_pimpl.C: use workarea() not workarea_,
8736 and make it use a scoped_ptr instead
8738 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8740 * lyx_gui.C: add debug message on BadWindow
8742 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8744 * sp_spell.C: fdopen is not part of the C++ standard.
8746 * paragraph.C (InsetIterator): use >= instead of ==
8748 2002-06-07 Angus Leeming <leeming@lyx.org>
8750 Fixes needed to compile with Compaq cxx 6.5.
8751 * BufferView_pimpl.C:
8758 * lyxtextclasslist.C:
8763 all c-library variables have been moved into namespace std. Wrap
8764 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8769 Add a using std::abs declaration.
8771 * kbmap.h (modifier_pair):
8772 * paragraph.h (InsetTable, InsetList):
8773 * lyxfont.h (FontBits):
8774 type definition made public.
8776 * bufferlist.C (emergencyWriteAll): the compiler complains that
8777 there is more than one possible lyx::class_fun template to choose from.
8778 I re-named the void specialisation as lyx::void_class_fun.
8780 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8782 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8783 the compiler is is unable to find tostr in write_attribute.
8785 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8787 * buffer.C (sgmlError): hide #warning
8789 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8791 * xtl/*: get rid of xtl, which is not in use anyway
8793 * LyXAction.C (init):
8794 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8795 were unimplemented xtl experimentation
8797 2002-06-04 André Pönitz <poenitz@gmx.net>
8799 * lyxfunc.C: disable array operation on simple formulae
8801 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
8803 * converter.C: constify a bit
8805 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
8807 * lyx_gui.C: check xforms version correctly
8809 2002-04-30 Herbert Voss <voss@lyx.org>
8811 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8814 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
8816 * lyxvc.C: fix bug 416 (make sure buffer is saved before
8817 attempt to register it with a VCS)
8819 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8821 * lyx_main.C (init): honor variables LYX_DIR_13x and
8824 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8828 * lyx_main.C: fix a crash on bad command line,
8829 and give a useful exit status on error
8831 * lyxfunc.C (doImport): allow -i lyx to work
8833 2002-03-30 André Pönitz <poenitz@gmx.net>
8835 * lyxfunc.C: mathed font changes
8837 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8852 * trans_mgr.h: srcdocs, and some minor cleanups
8854 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8856 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8857 call getFont all the time)
8859 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8861 * switch from SigC signals to boost::signals
8863 2002-05-29 André Pönitz <poenitz@gmx.net>
8865 * paragraph_pimpl.C (getChar): don't call size() too often...
8867 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8869 * paragraph_pimpl.C (insertChar): do not try to update tables when
8870 appending (pos == size())
8872 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8873 in order to reduce drastically the number of comparisons needed to
8874 parse a large document
8876 2002-05-29 André Pönitz <poenitz@gmx.net>
8882 * textclasslist.[Ch]:
8883 * sp_ispell.h: whitespace change
8885 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8887 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8888 lyxaction directly now.
8890 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
8894 * lyxvc.C: remove unused headers
8896 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8903 * undo_funcs.C: some cleanups. Use shared_ptr
8904 and a template for the undo stacks.
8906 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8908 * BufferView_pimpl.h:
8909 * BufferView_pimpl.C:
8916 * text2.C: use key_state/mouse_state
8918 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8920 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8923 * chset.C: change include order
8924 (loadFile): use boost regex and get rid of LRegex and LSubstring
8926 * Makefile.am (BOOST_LIBS): new variable
8929 * LaTeX.C: change include order.
8930 (scanAuxFile): use boost regex and get rid of LRegex and
8934 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8939 * FontInfo.C: moved to frontends/xforms/
8942 * FontLoader.C: moved into frontends for GUIIzation
8947 * lyxfunc.C: changes from above
8949 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8951 * LColor.C: remove spurious X include
8953 * BufferView_pimpl.C:
8958 * text2.C: move font metrics to frontends/
8960 2002-05-24 Juergen Vigna <jug@sad.it>
8962 * undo_funcs.C (textHandleUndo): fix the cursor selection after
8963 setting the undo_cursor.
8965 * ParagraphParameters.h: include local includes first.
8967 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8969 * BufferView_pimpl.C:
8970 * BufferView_pimpl.h:
8974 * screen.C: move WorkArea into frontends/
8980 * BufferView2.C: move LyXScreen into frontends/
8984 * lyx_gui.C: move lyxlookup into frontends/xforms/
8986 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8989 * BufferView_pimpl.C:
8999 * bufferview_funcs.C:
9012 * vc-backend.C: move LyX/XFormsView into frontends/
9014 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9026 * text2.C: move Painter to frontends/
9028 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9030 * buffer.C: comment out some some code that depend upon lyx_format
9033 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9034 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9036 * buffer.h (NO_COMPABILITY): turn off compability
9038 * ColorHandler.C: include scoped_array.hpp
9040 * font.C: Use more specific smart_ptr header.
9043 * ShareContainer.h: ditto
9047 * BufferView_pimpl.h: ditto
9048 * ColorHandler.h: ditto
9050 * kbmap.C (defkey): change call to shared_ptr::reset
9052 2002-05-21 Juergen Vigna <jug@sad.it>
9054 * buffer.C (insertErtContents): fix to insert ert asis if it is
9055 non empty. Skip it completely if it contains only whitespaces.
9057 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
9059 * BufferView_pimpl.C:
9060 * BufferView2.C: clear selection on paste (bug 393)
9062 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9064 * DepTable.C: include ctime
9066 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
9068 * buffer.C (latexParagraphs): Add new argument (moving_arg).
9070 2002-05-14 Juergen Vigna <jug@sad.it>
9072 * text.C (breakParagraph): fixed function to honor the keepempty
9073 layout in the right maner and also to permit the right breaking
9074 algorithm on empty or non empyt keepempty paragraphs.
9076 * paragraph.C (breakParagraph): we have to check also if the par
9077 is really empty (!size()) for isempty otherwise we do the wrong
9080 2002-05-10 Juergen Vigna <jug@sad.it>
9082 * buffer.[Ch] : The following are only changes to the ert
9083 compatibility read reading old LaTeX layout and font stuff and
9084 convert it to ERTInsets.
9086 * buffer.h: added isErtInset().
9088 * buffer.C (struct ErtComp): add a fromlayout bool to check
9089 if we're inside a LaTeX layout.
9090 (isErtInset): new helper function.
9091 (insertErtContents): look for other ert insets before this one
9092 and insert the contents there, so that we don't have subsequent
9093 ERT insets with nothing between them. This way we create only one
9094 inset with multiple paragraphs. Also check if we don't insert only
9095 spaces ' ' as they are ignored anyway afterwards in the .tex file
9096 so if we have only spaces we will ignore this latex part in the
9098 (parseSingleLyXformat2Token \\layout): better compatibility when
9099 reading layout-latex stuff.
9100 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9102 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9103 stuff after reading the inset only get the information back from
9106 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
9108 * buffer.C (makeLaTeXFile): Put language options after loading babel.
9110 * LaTeXFeatures.C (getBabelOptions): New method.
9112 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9114 * BufferView_pimpl.C (Dispatch): work around missing argument for
9117 2002-05-08 Juergen Vigna <jug@sad.it>
9119 * text.C (leftMargin): handle paragraph leftindent.
9121 * paragraph.C (writeFile): write the new \\leftindent tag.
9122 (validate): handle leftindent code.
9123 (TeXEnvironment): handle paragraphleftindent code again.
9125 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9127 * buffer.C (parseSingleLyXformat2Token): added compatibility code
9128 for paragrap_extra indent code and new token \\leftindent.
9129 (latexParagraphs): handle the leftindent as environment.
9131 * ParameterStruct.h: added leftindent support.
9133 * ParagraphParameters.C (leftIndent): added support functions for
9134 the paragraph left indent.
9136 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9139 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
9141 * paragraph.C (isRightToLeftPar): Return false for a paragraph
9144 * text.C (computeBidiTables): No bidi in insetERT.
9146 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9149 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9151 * version.C.in: pre 5
9153 2002-05-02 José Matos <jamatos@fep.up.pt>
9154 * buffer.C (makeDocBookFile): white space changes, add newline to
9156 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9158 * tabular.C (docBook): fix typo.
9160 2002-05-03 Juergen Vigna <jug@sad.it>
9162 * screen.C (drawFromTo): recalculate the rowpointer if we had a
9163 change in LyXText as we can not be sure it was not freed.
9164 (drawOneRow): remove unused code.
9166 * text.C (drawInset): redo the calculation of the need_break_row as
9167 it could have a row which was already freed.
9168 (draw): look at the return value of drawInset and return false if
9169 it also returned false.
9170 (paintRowText): look at the return value of draw and return false if
9171 it also returned false.
9173 * lyxtext.h: added bool return type to drawInset() and draw() so that
9174 if we have a change in the row so that the rowbreak has to be redone
9175 we abort drawing as it will be called again.
9177 2002-05-02 Juergen Vigna <jug@sad.it>
9179 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9180 a change in the maintext also if we're inside an inset.
9181 (Dispatch): set the cursor again after a break line and after the
9182 screen has been updated as it could be we're in a different row.
9184 * text2.C (fixCursorAfterDelete): check to make sure we don't request
9185 to set the cursor behind the pargraph with > size().
9186 (setCursor): check also for the same paragraph when checking where
9187 to put the cursor if we have a NFR inset.
9189 * buffer.C (parseSingleLyXformat2Token): move the compatibility
9190 parts of layout read further up as it still was in the wrong
9193 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9195 * screen.C (drawFromTo): change sine fullRebreak always return
9198 * buffer.C (parseSingleLyXformat2Token): reindent some
9200 * BufferView_pimpl.C (update): change since fullRebreak always
9202 (Dispatch): git rid of the last hardcoded "Standard"s.
9204 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9206 * text2.[Ch] (fullRebreak): make it return void now that we always
9209 2002-04-30 Juergen Vigna <jug@sad.it>
9211 * buffer.C (parseSingleLyXformat2Token): reset the font before the
9212 ert compatibility check for "latex" layout.
9214 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
9216 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9217 minipages: use col% instead of p%, and also use the current font.
9218 (makeLaTeXFile): Fix use babel condition.
9219 (parseSingleLyXformat2Token): Correct font when reading old floats.
9221 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
9223 * BufferView_pimpl.C (Dispatch): Check that float type exists when
9224 inserting list of floats.
9226 2002-04-25 Herbert Voss <voss@lyx.org>
9228 * MenuBackend.C (expand): don't add the graphics extensions to the
9231 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9233 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9234 non-existing layout, do not complain if it was the default layout
9235 of the original class (bug #342)
9237 2002-04-24 Juergen Vigna <jug@sad.it>
9239 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9240 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9242 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
9244 * buffer.C (getBibkeyList): If using \bibliography, return the
9245 option field with the reference itself. Enables us to provide natbib
9246 support when using \bibliography.
9248 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
9250 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9252 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9253 natbib is provided by the LaTeX class.
9255 2002-04-23 Juergen Vigna <jug@sad.it>
9257 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9260 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9262 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9264 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9266 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9267 ensuremath around textordmasculine, textordfeminine and
9270 2002-04-19 Juergen Vigna <jug@sad.it>
9272 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9273 reinitializing the buffer otherwise row-dimensions may be wrong.
9274 (update): reset also the selection cursors if they do exits otherwise
9275 their x/y positions may be wrong.
9277 * text2.C (cursorDown): don't enter the inset if we came from a row
9278 above and are one row over the inset.
9280 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9281 really leaving an inset.
9283 2002-04-18 Juergen Vigna <jug@sad.it>
9285 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9286 of the selected paragraph does not have the selected layout also if
9289 * text2.C (setLayout): fixed bug which did not change last selected
9292 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9293 changed the read and substituted \\end_float with \\end_inset!
9295 * BufferView_pimpl.C (cursorPrevious):
9296 (cursorNext): fixed to make it work with rows heigher than the work
9297 area without moving the cursor only the draw of the row.
9298 (workAreaMotionNotify): fix jumping over high rows.
9300 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9302 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9305 2002-04-16 Juergen Vigna <jug@sad.it>
9307 * text2.C (setCursor): set also the irow().
9308 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9310 (cursorDown): support for locking an inset if the x_fix value goes
9311 inside it. That way I can transverse insets too with cursor up/down.
9313 * lyxrow.h: added irow helper function same as other (i) functions.
9315 * BufferView_pimpl.C (cursorPrevious):
9316 (cursorNext): fixed for insets!
9318 2002-04-15 Juergen Vigna <jug@sad.it>
9320 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9321 position otherwise it is wrong in some cases.
9323 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9324 inside the inset before the call.
9326 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
9328 * buffer.[Ch] (getBibkeyList): make it const.
9330 2002-04-12 Juergen Vigna <jug@sad.it>
9332 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9334 * text2.C (getCursorX): new helper function
9335 (setCursor): compute also ix_
9336 (setCursorFromCoordinates): set also ix.
9338 * lyxcursor.h: added ix_ and helper functions.
9340 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9342 * buffer.C (insertStringAsLines): dont break paragraph if the this
9343 paragraph is inside an inset which does not permit it!
9345 * text.C (breakParagraph): honor keepempty flag and break the paragraph
9346 also with no chars on this paragraph.
9347 (paintRowText): only paint stuff if it's inside the workarea!
9349 * paragraph.C (breakParagraph): honor keepempty flag and break the
9350 paragraph always below not above.
9352 * BufferView2.C (unlockInset): update the paragraph layout on inset
9353 unlock as we changed paragraph in such a case.
9355 * lyxfind.C (LyXFind): clear the former selection if not found!
9357 * text2.C (insertInset): freeze Undo after setUndo so that it is not
9358 again called in insertChar().
9360 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9361 an inset which uses the whole row!
9362 (rightMargin): ditto.
9363 (insertChar): force a rebreak if we inserted an inset!
9365 2002-03-28 Herbert Voss <voss@lyx.org>
9367 * lyxlength.[Ch]: add inBP() to get the right PS-point
9368 units (BigPoint). With inPixels we have rounding errors
9370 2002-04-11 Juergen Vigna <jug@sad.it>
9372 * text2.C (setCursorFromCoordinates): set iy to the right value.
9373 (setCursor): add check if row->previous exists!
9375 * buffer.C (parseSingleLyXformat2Token): reset font after read of
9376 an old float_type as this was the case in the old code!
9378 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9380 * BufferView2.C (showLockedInsetCursor): use iy
9381 (fitLockedInsetCursor): ditto
9383 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9384 locked insets as there we have the right value now.
9386 * lyxcursor.C: added iy_ variable and iy functions to set to the
9387 baseline of cursor-y of the locked inset.
9389 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9390 (setCursor): fixed for insets which need a full row.
9392 * text.C (rowLastPrintable): don't ignore the last space when before
9393 an inset which needs a full row.
9394 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9395 as last character of a row when before a inset which needs a full row.
9397 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9399 * version.C.in: update date
9401 * text2.C (fullRebreak): try to always return true and see what
9404 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9406 * MenuBackend.C (expand): use Floating::listName
9408 * FloatList.C (FloatList): add listName argument to the built-in
9411 * Floating.[Ch]: add listName member, which is the 'List of XXX'
9412 text associated with the float.
9414 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9416 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9418 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9420 * ShareContainer.h: add a couple of missing typenames.
9422 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
9424 * lyxrc.C (getDescription): use _() correctly rather than N_().
9426 2002-03-28 Herbert Voss <voss@lyx.org>
9428 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9429 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9431 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9433 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9434 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9436 2002-03-29 Juergen Vigna <jug@sad.it>
9438 * lyxfunc.C (dispatch): add a missing fitCursor call.
9440 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9441 it was scrolled by a cursor move, so return the bool status.
9443 * BufferView.C (fitCursor): return the bool flag also to the outside
9444 world as this is needed.
9446 * screen.C (toggleToggle): don't subtract the offset if it's positive.
9448 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9449 call the edit() as it is not needed (and wrong) IMO.
9450 (workAreaButtonPress): set the screen_first variable before evt.
9451 unlock the inset as this may change screen_first and then we have
9452 a wrong y position for the click!
9454 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9456 * MenuBackend.C (expand): another translation that I missed
9458 2002-03-28 Juergen Vigna <jug@sad.it>
9460 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9462 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9464 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9466 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9468 * MenuBackend.C (expand): fix export/view/update when there is no
9471 2002-03-27 Herbert Voss <voss@lyx.org>
9473 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9476 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9478 * bufferview_funcs.C (currentState): only show paragraph number
9479 for is DEVEL_VERSION is set.
9481 * lyxfunc.C (dispatch): put warning in INFO channel
9483 * MenuBackend.C (expand): translate the name of floats
9485 * FloatList.C (FloatList): mark the float names for translation
9487 * converter.C (convert): use LibScriptSearch
9489 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9491 * MenuBackend.C (defaults): fix default menu (we might as well get
9494 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9496 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9499 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9501 * lyxvc.C: reorder includes.
9503 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
9505 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9508 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9510 * CutAndPaste.C: change layouts earlier on paste
9511 to avoid crashing when calling getFont()
9513 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9515 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9518 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9520 * WorkArea.C: remove 'Pending' debug message.
9522 * most files: ws cleanup
9524 * buffer.[Ch]: ws changes
9526 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9528 2002-03-21 Juergen Vigna <jug@sad.it>
9530 * tabular.C (SetMultiColumn): collapse also the contents of the
9531 cells and set the last border right. Added a Buffer const * param.
9533 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9535 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9538 2002-03-19 Juergen Vigna <jug@sad.it>
9540 * text2.C (clearSelection): reset also xsel_cache.
9542 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9543 where it needs to be called (John tells us to do so too :)
9544 (selectionLost): reset sel_cache.
9546 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9548 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9550 * text2.C (setCursorIntern): put debuging code in INSETS channel
9552 2002-03-19 André Pönitz <poenitz@gmx.net>
9554 * lyxfunc.C: tiny whitespace change
9556 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9558 * ToolbarDefaults.C (init):
9559 * LyXAction.C (init):
9561 * BufferView_pimpl.C (Dispatch):
9562 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9564 2002-03-19 Allan Rae <rae@lyx.org>
9566 * exporter.C (Export): removeAutoInsets before doing anything else.
9567 While I've just introduced a dependency on BufferView this really is
9568 the best place to clean the buffer otherwise you need to cleanup in
9569 a dozen places before calling export or cleanup in a dozen functions
9572 * converter.C (runLaTeX):
9573 (scanLog): Better handling of removeAutoInsets and screen updates.
9575 * lyxfunc.C (dispatch): small whitespace changes
9577 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9579 * WorkArea.C (C_WorkAreaEvent): return a value.
9580 (event_cb): return 1 if we handled the event, 0 otherwise.
9582 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9584 2002-03-18 Juergen Vigna <jug@sad.it>
9586 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9587 (GetAdditionalWidth): ditto.
9591 * BufferView2.C (copy): use getLyXText() so that we do it inside an
9592 inset if we're there actually (probably not used right now but this
9593 is the direction to go for unifying code).
9594 (paste): disable code to clear the selection.
9596 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9597 inside an InsetText and move the check further up as it is in the
9600 * text2.C (pasteSelection): set a selection over the pasted text.
9602 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
9604 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9605 and libgraphics to build on Cygwin.
9607 2002-03-15 Juergen Vigna <jug@sad.it>
9609 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9610 inserting an Inset into the paragraph. I know this is not the best
9611 fix but we already use current_view in CutAndPaste so we will remove
9612 all of it's using at the same time.
9614 * buffer.C (sgmlError): deactivated function till it is rewritten in
9615 the right mode, now it can create problems.
9617 * paragraph.C (isLineSeparator): check if getInset returns != 0,
9618 before accessing it.
9620 2002-03-14 Juergen Vigna <jug@sad.it>
9622 * undo_funcs.C (textHandleUndo): do the right thing when updating
9623 the inset after the undo/redo.
9625 * text2.C (setCursor): just some testcode for #44 not ready yet.
9627 * undo_funcs.C (textHandleUndo): set the next() and previous()
9628 pointers of the paragraph to 0 before deleting otherwise we have
9629 problems with the Paragraph::[destructor].
9631 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9632 on a paragraph insertion.
9634 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9636 * buffer.C (asciiParagraph): use += operator for char append to
9639 * paragraph.C (getFontSettings): compare >= not just >
9640 (highestFontInRange): ditto
9643 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9645 * paragraph.C: change several algorithm to be more appripriate for
9646 the problem domain. This is lookip in FontList and in the InsetList.
9648 2002-03-13 André Pönitz <poenitz@gmx.net>
9651 * LyXAction.C: remove unused LFUN_MATH_MACROARG
9653 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
9658 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9660 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9662 * Painter.C (display): anon helper function, adjust code for this
9664 (pixmap): remove function.
9666 * Painter.h: remove private display variable.
9668 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9670 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
9672 * WorkArea.[Ch]: remove figinset_canvas cruft.
9674 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9676 * lyxtextclass.C (operator): add one item cache optimization.
9678 * bufferlist.h: doxy changes
9680 * bufferlist.C: ws changes
9682 * DepTable.[Ch] (ext_exist): place const in the right spot.
9684 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9686 (workAreaExpose): call resizeInsets when the with BufferView changes.
9687 (Dispatch): adjust for protectedBlank removal
9688 (specialChar): call updateInset if the insert went ok.
9690 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9691 specialChar instead.
9693 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9695 * BufferView.h: doxy change
9697 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9699 * lyxtextclass.C (operator[]): remove non-const version
9700 (defaultLayout): remove non-const version
9702 2002-03-12 Juergen Vigna <jug@sad.it>
9704 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9705 did resize the LyXText too.
9707 * buffer.C (readLyXformat2): set layout information on newly allocated
9710 * tabular.C (OldFormatRead): set layout information on the paragraph.
9712 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9714 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9716 2002-03-11 Juergen Vigna <jug@sad.it>
9718 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9720 (resizeCurrentBuffer): force also the insets to resize themselfes.
9721 (moveCursorUpdate): fixed up for InsetText.
9723 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
9726 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9727 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9728 value of Dialogs::tooltipsEnabled().
9729 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9731 2002-03-08 Juergen Vigna <jug@sad.it>
9733 * BufferView_pimpl.C (updateInset): update inset inside inset also
9734 if it isn't inside theLockingInset().
9736 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9738 * buffer.C (asciiParagraph): redo some of the word and line length
9740 (getLists): look for Caption instead of caption.
9742 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9744 * buffer.C (Buffer): initialize niceFile to true
9747 (makeDocBookFile): make sure niceFile is true on exit
9749 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9751 * buffer.C (makeLaTeXFile): escape ~ in \input@path
9753 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
9755 * LyXSendto.C: remove.
9756 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9757 * lyx_gui.C: remove now-redundant comment.
9758 * ColorHandler.h: remove forward declaration of class WorkArea.
9759 * lyxfunc.C: remove #include "WorkArea.h".
9761 2002-03-07 Juergen Vigna <jug@sad.it>
9763 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9764 got moved away with the DEPM and also set the inset_owner always
9765 right which before could have been omitted.
9767 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9769 * buffer.C (parseSingleLyXformat2Token): use default layout is the
9770 wanted layout is not found.
9772 2002-03-07 Juergen Vigna <jug@sad.it>
9774 * CutAndPaste.C (cutSelection): another layout settings forgotten.
9776 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9778 * paragraph.C (breakParagraph): use default layout not layout of
9780 (Paragraph): clear ParagraphParameters.
9782 2002-03-06 Juergen Vigna <jug@sad.it>
9784 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9785 otherwise it would not be a valid lenght. Fixed a special case in
9786 the minipage compatibility read where we end the document with a
9789 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9790 was set as it could be 0 for InsetTexts first entry.
9792 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9794 * paragraph.C (writeFile): if layout is empty write out
9795 defaultLayoutName().
9797 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9798 file without named layout we set layout to defaultLayoutName().
9800 2002-03-06 Juergen Vigna <jug@sad.it>
9802 * CutAndPaste.C (copySelection): set layout for new paragraph.
9804 * text.C (prepareToPrint): leave ERT inset left aligned
9805 (leftMargin): don't indent paragraphs inside ERT insets
9807 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9809 * paragraph.C (breakParagraph): dont call clear do the work manually
9811 * paragraph.[Ch] (clear): remove function
9813 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9815 * paragraph.C (Paragraph): dont call clear, the work has already
9818 * lyxtextclass.C (operator): assert if n is empty
9820 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9821 work manually instead.
9823 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9825 * BufferView_pimpl.C: protect selectionLost against text == 0
9827 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9829 * text.C (breakParagraph): fix a setting layout to '0' problem.
9831 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9833 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9834 final location of file, for the included files, and graphics.
9836 2002-03-05 Juergen Vigna <jug@sad.it>
9838 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9840 2002-03-04 Juergen Vigna <jug@sad.it>
9842 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9844 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9845 last column of multicolumn cells.
9846 (SetWidthOfMulticolCell): recalculate NMC and real columns.
9848 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
9850 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9851 file if it doesn't go to a temporary file.
9853 * buffer.C (sgmlOpenTag):
9854 (sgmlCloseTag): remove extra newline insertion.
9856 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9858 * text.C (getRowNearY): comment out debug msg
9860 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9862 * text2.C: first -> first_y
9864 * text.C (getRowNearY): add some attemts at a possible
9865 optimization, not working.
9867 * tabular.[Ch]: add BufferParams to several function so that newly
9868 created paragraph can be initialized to he default layotu for the
9871 * tabular-old.C (ReadOld): add buf->params to call of Init
9873 * screen.C: rename text->first to text->first_y
9875 * paragraph.C (breakParagraph): always set layout in the broken
9878 * lyxtextclass.C (Read): remove lowercase
9881 (delete_layout): ditto
9883 * lyxtext.h: rename first -> first_y
9885 * lyxlayout.C (Read): remove lowercase
9888 (obsoleted_by): ditto
9890 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9892 * buffer.C (insertErtContents): add params are to InsetERT
9893 (parseSingleLyXformat2Token): add code to check if a paragraphs
9894 layout really exist.
9895 (parseSingleLyXformat2Token): add params to several inset
9897 (asciiParagraph): remove lowercase, do the layout comparisons with
9900 * BufferView_pimpl.C (cursorNext): first -> first_y
9901 (resizeCurrentBuffer): first -> first_y
9902 (updateScrollbar): first -> first_y
9903 (scrollCB): first -> first_y
9904 (workAreaMotionNotify): first -> first_y
9905 (workAreaButtonPress): first -> first_y
9906 (checkInsetHit): first -> first_y
9907 (cursorPrevious): first -> first_y
9908 (cursorNext): first -> first_y
9909 (Dispatch): add buffer_->params to severl inset contructors
9911 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9913 * lyxlayout.C (Read): remove some debug info that I forgot.
9915 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9916 clean up the code slightly.
9917 (makeLinuxDocFile): ditto
9918 (makeDocBookFile): ditto
9920 * text2.C: layout as string
9922 * text.C: layout as string
9924 * paragraph_pimpl.C: layout as string
9926 * paragraph.[Ch]: layout as string
9928 * lyxtextclasslist.[Ch]: layout as string
9930 * lyxtextclass.[Ch]: layout as string
9932 * lyxtext.h: layout as string
9934 * lyxlayout.[Ch]: layout as string
9936 * lyx_cb.C: layout as string
9938 * bufferview_funcs.C: layout as string
9940 * bufferparams.C: layout as string
9942 * buffer.C: layout as string
9944 * LyXView.[Ch]: layout as string
9946 * LaTeXFeatures.[Ch]: layout as string
9948 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9950 * BufferView_pimpl.C: change current_layout to string, remove
9955 (workAreaButtonRelease): layout as string
9957 * BufferView2.C (unlockInset): adjust
9959 * vspace.C (asLatexCommand): use an explict temp variable.
9961 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9963 * Makefile.am: use FRONTEND_*
9965 2002-03-01 Juergen Vigna <jug@sad.it>
9967 * tabular.C (SetWidthOfMulticolCell): changed to something better
9968 I hope but still work in progress.
9969 (recalculateMulticolumnsOfColumn): renamed function from
9970 recalculateMulticolCells as it is more appropriate now.
9971 (SetWidthOfCell): calculate multicols better.
9973 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9975 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9977 * lyxfunc.C (processKeySym): print sequence also if it is
9978 `deleted' (complete)
9980 * kbsequence.C (print): print sequence even if it is deleted
9981 (complete would be a better word, actually).
9983 * lyxfunc.C (dispatch): print complete options after a prefix key
9985 * vspace.C (asLatexCommand): rewrite in a slightly different form.
9987 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
9989 * text2.C (setCharFont): eliminate setCharFont code duplication.
9991 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9993 * BufferView_pimpl.C (Dispatch): remove bogus handling of
9994 LFUN_TABULAR_FEATURE (bug #177)
9996 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
9998 * Makefile.am: remove figure.h
10000 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
10002 * Bufferview_pimpl.C:
10014 * text2.C: remove #include "lyx_gui_misc.h".
10016 * LaTeX.C: added #include <cstdio>
10018 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10020 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10021 that the paragraph following this one can have.
10023 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10025 * vspace.C (asLatexCommand): fix bogus gcc warning
10027 * Makefile.am (lyx_SOURCES): remove vms_defines.h
10029 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
10031 * text2.C (setLayout): get rid of redundant code
10033 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
10035 * text2.C (incDepth): make sure depth cannot be increased beyond
10038 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
10040 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10041 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10043 * PainterBase.h (image):
10044 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10045 a LyXImage const *.
10047 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10051 * BufferView_pimpl.C:
10052 * BufferView_pimpl.h:
10072 * sp_spell.C: remove fig inset, and the crap house of
10073 cards that follows it
10075 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10080 * os2_errortable.h:
10081 * nt_defines.h: move .h into support/
10083 * vms_defines.h: remove
10085 * WorkArea.C: add space in debug output
10089 * buffer.C: add WITH_WARNINGS
10093 * bufferlist.C: s/retrive/retrieve/, add docs
10102 * chset.C: add docs
10104 * lyxgui.C: add ID to X error handler
10106 * lyxtestclass.c: fix typo
10108 2002-02-26 Juergen Vigna <jug@sad.it>
10110 * tabular_funcs.C (write_attribute): changed so that some default
10111 attributes are not written at all.
10112 (getTokenValue): set default values before trying to read the
10113 value so we have the return value always set as default if we don't
10114 find the token we search for.
10116 * tabular.C (Write): write bools as bools not as strings!
10118 2002-02-22 Juergen Vigna <jug@sad.it>
10120 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10121 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10123 * text.C (leftMargin): don't add an indent for paragraphs inside
10124 tabular cells (fix #208).
10126 2002-02-21 José Matos <jamatos@fep.up.pt>
10128 * tabular.C (docBook): fixed support for long tables.
10130 2002-02-20 Juergen Vigna <jug@sad.it>
10132 * text2.C (getFont): get the drawing font of the Inset if this
10133 paragraph is inside an inset (only important for InsetERT for now).
10135 * buffer.C (insertErtContents): use new lanugage params in ERT
10138 * CutAndPaste.C: commenting out seemingly uneeded code.
10140 2002-02-19 Allan Rae <rae@lyx.org>
10142 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10143 Iterators might be simple to use but they also get invalidated.
10144 (removeAutoInsets): renamed saved cursor tracking variables and added
10145 some comments to clarify what everything does.
10147 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
10154 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10155 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10158 * vc-backend.h: remove #include "support/syscall.h"
10162 * converter.C: rearrange #includes in Lars' approved fashion.
10164 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10165 forward declare class Timeout in the header file.
10167 * XFormsView.C: changes due to the above.
10169 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10170 similar to LyXView.
10172 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10173 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10175 2002-02-18 José Matos <jamatos@fep.up.pt>
10177 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10180 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10182 * a lot of small ws changes
10183 * add a lot of using std::XXX
10184 * use std construcs some places where approp.
10185 * use some exisint stuff from lyxfunctional where approp.
10186 * Make file changes to use partial linking (lets test this now...)
10188 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10192 remove #include "support/syscontr.h" as it's redundant. Always has been.
10200 change Systemcalls::System to Systemcalls::Wait and
10201 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10202 No change of functionality, just reflects the stripped down Systemcalls
10205 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10207 * debug.[Ch]: add a GRAPHICS type to the enum.
10209 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10211 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10213 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10216 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10218 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10219 match the changes below.
10221 * text2.C (toggleInset): if there is not editable inset at cursor
10222 position, try to see if cursor is _inside_ a collapsable inset
10225 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10227 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10228 document menu has a nice checkbox
10230 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10232 * lyxlength.C (asLatexString): change PW to output as percent of
10235 * lengthcommon.C: change '%' to 't%'
10237 * lyxfunc.C (dispatch): a few comments from Martin
10239 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
10243 * BufferView_pimpl.h:
10244 * BufferView_pimpl.C: clear our selection when X tells us we've lost
10247 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10249 * vspace.C (inPixels): fix compiler warning
10251 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10253 * lyxfunc.C (getStatus): fix status message for disabled commands.
10255 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
10257 * BufferView_pimpl.C: fix crash on close buffer
10258 during selection (#227)
10260 2002-01-27 Herbert Voss <voss@lyx.org>
10262 * buffer.C: link old Figure to new graphic inset
10264 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
10266 * FontLoader.C (getFontinfo): Change the latex font names in order
10267 to match the names of type1inst.
10269 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10271 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10273 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10274 (extchanged): ditto
10276 (remove_files_with_extension): ditto
10277 (remove_file): ditto
10280 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10281 document is smaller than the work area height. Do not initialize
10282 static variables to 0.
10284 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10286 * lyx_gui.C (init): give the toolbar tooltips a normal font.
10288 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10289 LFUN_LAYOUT_PARAGRAPHS.
10291 * tabular.C (GetCellFromInset): new method. Finds an inset in a
10292 tabular. It is possible to provide a possible cell, which will
10293 typically be the actcell from the corresponding insettabular
10295 * lyxfunc.C (getStatus): small cleanup; disable
10296 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10299 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10301 * tabular.C (Validate): remove broken optimization (fixes bug #201)
10303 * paragraph.C (startTeXParParams):
10304 (endTeXParParams): new methods. The LaTeX code to
10305 start/end paragraph formatting
10306 (simpleTeXOnePar): call startTeXParParams also when paragraph is
10307 empty (fixes bug #200)
10309 * vspace.C (inPixels): adapt to the change below
10310 (inPixels): [later] more cleanups (remove unused variables)
10312 * lyxlength.C (inPixels): change to use a width and a height as
10315 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10317 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10318 Replaced with \paperwidth
10320 * DepTable.C (insert): add std:: qualifier
10322 2002-01-18 Allan Rae <rae@lyx.org>
10324 * text2.C (removeRow): add comment. Should other refresh_?? vars be
10327 * text.C (drawInset): Turned out I didn't know enough about how
10328 rebreaking worked. This fixes most of the redraw problems. I see
10329 an occasional cursor trail when a line is broken now and the cursor
10330 placement can seem out by a few pixels also after a rebreak.
10332 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10334 * buffer.C (parseSingleLyXformat2Token): update because minipage
10335 width is now a LyXLength
10337 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10339 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10342 2002-01-17 Juergen Vigna <jug@sad.it>
10344 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10346 * BufferView2.C (lockInset): call edit() so that theLockingInset()
10347 is set correctly and the inset is updated correctly.
10349 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10351 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10352 the beginning of the loop.
10354 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
10356 * lyxrc.C: improve help for use_scalable_fonts
10358 2002-01-17 Allan Rae <rae@lyx.org>
10360 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10362 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10364 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10365 make sure to set their inset_owner to the right value (bug #171)
10367 2001-12-12 Ben Stanley <bds02@uow.edu.au>
10370 * DepTable.C: Implement mtime checking to reduce time spent doing
10373 2002-01-16 Juergen Vigna <jug@sad.it>
10375 * tabular.C (GetAdditionalHeight): one of error fixed.
10377 * lyxrc.C (output): small fix in writing use_pspell.
10379 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
10381 * sp_base.h: #include LString.h
10383 2002-01-16 Allan Rae <rae@lyx.org>
10385 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
10386 Can someone check this please?
10388 * text.C (drawInset): It was possible that p.row would be removed by
10389 breakAgainOneRow upsetting a few other settings. There may be another
10390 small tweak possible by setting need_break_row = 0 when p.row has been
10391 removed but I don't know enough about the logic here.
10393 2002-01-15 Allan Rae <rae@lyx.org>
10395 * text.C (insertChar): removed conditional truism.
10397 * BufferView2.C (removeAutoInsets): More tweaks.
10398 cur_par_prev could be a stray pointer. Check for trailing empty line
10399 in case last line was cur_par and only had an error inset on it.
10401 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10403 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10406 * vc-backend.C (most methods):
10407 * exporter.C (Export):
10408 * converter.C (convert):
10410 * LyXSendto.C (SendtoApplyCB):
10411 * lyxfunc.C (dispatch):
10415 * lyx_cb.C (AutoSave):
10417 * BufferView_pimpl.C (MenuInsertLyXFile):
10418 * buffer.C (runChktex): use Buffer::filePath().
10420 * buffer.h: rename filename to filename_; rename filepath to
10421 filepath_ and make it private
10422 (filePath): new method
10424 * buffer.C (writeFile): use fileName()
10427 * lyx_main.C (init): fix starting of LyX when the binary is a
10428 link from so,ewhere else.
10430 * minibuffer.C: include <cctype> for isprint
10432 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10434 * buffer.C (parseSingleLyXformat2Token): changes associated with the
10435 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10436 name clash with InsetCollapsable's width function.
10438 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10440 * lastfiles.C: include <iterator>
10442 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10444 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10447 * buffer.C (makeLaTeXFile): ditto.
10448 Also make loop operation more transparent.
10450 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10452 * ToolbarDefaults.C: remove trailing comma closing namespace.
10454 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10456 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10459 * trans.C (Load): comment out unused variable, allowed.
10461 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10463 * minibuffer.[Ch] (append_char): new method to recieve input from the
10464 drop-down completion browser. If a key was pressed, then recieve this
10465 char and append it to the existing string.
10466 (peek_event): modify the positioning data passed to the completion
10467 browser so that it can be placed above the minibuffer rather than below.
10468 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10470 * LyXAction.C (init): alloe error-next for readonly documents.
10472 * BufferView2.C (ChangeRefsIfUnique): use standard version of
10475 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10477 * bufferlist.C (readFile): create the buffer _after_ checking that
10480 * lyxfunc.C (verboseDispatch): fix handling of arguments
10482 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10484 * lyxrc.C: use string::erase() instead of initializing to "".
10487 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10489 * BufferView_pimpl.h:
10490 * BufferView_pimpl.C:
10493 * text2.C: tell X when we have made a selection for copying
10495 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10497 * BufferView_pimpl.C (MenuInsertLyXFile):
10498 * lyxfunc.C (menuNew):
10500 (doImport): add shortcuts to directory buttons
10502 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10505 * lyxfunc.C (setStatusMessage):
10506 (getStatusMessage): new methods
10507 (getStatus):use setStatusMessage instead of setErrorMessage
10508 (dispatch): when function is disabled, set error message here
10509 [instead of in getStatus previously]
10511 * BufferView_pimpl.C (workAreaButtonRelease): update
10512 toolbar/menubar here too.
10514 2002-01-13 Allan Rae <rae@lyx.org>
10516 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10517 Now seems indestructible. Remaining task is to audit all other
10518 code affected by deleteEmptyParagraphMechanism. One small quirk
10519 left is that an empty document with an error in the preamble can
10520 be made to report an error but no error box appears. I don't know
10522 (removeAutoInsets): Improved comments.
10524 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10527 * Thesaurus.C: update for Aiksaurus 0.14
10529 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10531 * text2.C (firstParagraph): removed member function, all uses
10532 replaces with ownerParagraph
10533 (redoParagraphs): here
10534 (updateInset): here
10535 (toggleAppendix): here
10536 * BufferView2.C (insertErrors): here
10537 (setCursorFromRow): here
10539 2002-01-13 Allan Rae <rae@lyx.org>
10541 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10542 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10543 There is still a way to segfault this although you may have to do this
10544 multiple times: Have an InsetERT with an unknown command in it.
10545 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10546 <down-arrow>, <Enter> again, View->DVI, BANG!
10548 * text2.C (setCursor):
10549 (deleteEmptyParagraphMechanism):
10550 * lyxtext.h (setCursor):
10551 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10552 Making use of the return value may help fix other bugs.
10554 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10556 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10558 * LyXView.C (updateMenubar): call MenuBar::update here
10559 (updateToolbar): but not here
10560 (showState): do not update toolbar/menubar
10562 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10563 should need to care about that.
10565 * lyxfunc.C (verboseDispatch): simplify a bit
10566 (getStatus): have a version which takes a pseudoaction, and
10567 another which requires a (kb_action,string).
10569 * LyXAction.C (retrieveActionArg): make it work also when action
10570 is not a pseudo-action.
10571 (getActionName): simplify a bit
10574 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10576 * lyxfunc.C (verboseDispatch): new families of methods with
10577 several ways to specify a command and a bool to indicate whether
10578 the command name and shortcut should be displayed in minibuffer
10579 (eventually, we could extend that to a finer bitmask like
10580 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10581 (dispatch): the pristine dispatch command which just, well,
10582 dispatchs! Note it still sets its result to minibuffer; I'm not
10585 * lyxfunc.h: remove setHintMessage
10587 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10589 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10591 * BufferView_pimpl.C (specialChar): delete new inset if we have
10592 not been able to insert it.
10594 * kbmap.C: revert to using int instead of kb_action, since all we
10595 are dealing with is pseudo-actions.
10597 * LyXAction.C (searchActionArg): change to return int instead of
10598 kb_action, since the result is a pseudoaction.
10600 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
10602 * buffer.C (insertErtContents): Fix (partially) the font bug.
10604 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10606 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10607 as the other one is broken on my machine!
10609 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
10612 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10614 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
10616 * lyxrc.[Ch]: change names and descriptions of popup font variables to
10617 reflect their actual use. Provide compatibility code for older lyxrc
10620 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10622 change names of popup font variables in line with the changes to lyxrc.C
10624 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10626 * buffer.C (asciiParagraph): avoid outputing a word twice after
10629 * lyxrc.C (getDescription): document that document_path and
10630 template_path can be empty.
10632 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10634 * LaTeXFeatures.C (getMacros):
10635 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10637 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10639 * LaTeXFeatures.C (useFloat): require "float" here instead of in
10641 (getPackages): rename feature "floats" to "float". Use an array to
10642 iterate over 'simple' features (i.e. just a \usepackage). Add
10643 handling of "amsmath" (renamed from "amsstyle").
10645 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
10647 * LaTeXFeatures.C (require): Prevent duplicate entries in the
10650 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
10652 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10653 FuncStaus::FuncStatus & FuncStaus::some_method().
10655 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
10657 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10658 of the func_satus stuff. Edited and massaged in various ways by
10661 * lyxfunc.C (getStatus): use FuncStatus
10663 2002-01-08 Juergen Vigna <jug@sad.it>
10665 * text.C (nextBreakPoint): use function Inset::isChar().
10667 * paragraph.C (TeXOnePar): use function
10668 Inset::forceDefaultParagraphs.
10670 * buffer.C (latexParagraphs): use function
10671 Inset::forceDefaultParagraphs.
10673 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10675 * lyx_gui.C (init): set the style of the menu popups to
10676 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10678 2002-01-07 Juergen Vigna <jug@sad.it>
10680 * text.C (setHeightOfRow): small fix
10681 (prepareToPrint): don't look at alignment if we don't have the place
10684 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10686 * box.C: New file. Move the Box methods and functions out of box.h,
10687 following Lars' suggestion.
10689 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10691 * box.h: #include "support/LOstream.h", needed for inlined function.
10694 * lyxtextclasslist.C: added some using std declarations.
10696 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
10698 * box.h: make signed dimensions to allow insets wider than
10699 the screen (bug #162)
10701 * BufferView_pimpl.C: add some insetHit debug
10703 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
10705 * vc-backend.C: add FIXME
10707 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10709 * lyxfunc.C (getStatus): enable code for showing math font status
10712 2002-01-07 Juergen Vigna <jug@sad.it>
10714 * text.C (nextBreakPoint): removed debug output not needed anymore.
10716 2002-01-06 Juergen Vigna <jug@sad.it>
10718 * text.C (nextBreakPoint): fixed up this function we had this bug
10719 since ever but now hopefully we break row better.
10720 (insertChar): we have to check if an inset is the next char as it
10721 could now happen that a large inset is causing a break.
10723 2002-01-05 Juergen Vigna <jug@sad.it>
10725 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10726 if it doesn't like to be drawed.
10728 2002-01-04 Juergen Vigna <jug@sad.it>
10730 * BufferView2.C (lockInset): forgot to set a cursor.
10732 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10734 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
10736 * FormMathsPanel.C:
10739 * form_maths_panel.C:
10740 * form_maths_panel.h:
10741 * form_maths_panel.fd: implemented sub- and super- buttons in math
10744 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10745 (or ^ space) to be used as in TeX (req'd by André).
10747 * lyxfunc.C: Allow ^ and _ again to be used both as
10748 super/subscript (mathed) and as themselves (in text).
10750 2002-01-03 Allan Rae <rae@lyx.org>
10752 * LyXView.C (updateWindowTitle): Setup a short icon title of either
10753 "LyX" or the filename of the current buffer if it has one. This is a
10754 modified form of John Levon's patch.
10756 * XFormsView.C (setWindowTitle): also set icon title.
10758 * LyXView.h (setWindowTitle): signature changed.
10759 * XFormsView.h (setWindowTitle): ditto.
10761 2002-01-02 Juergen Vigna <jug@sad.it>
10763 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10765 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10767 * screen.C (topCursorVisible): introduce a temp var for
10768 text->cursor.row(), handle the case where this row is null. (kindo
10771 * text2.C (setCursor): add a couple of asserts.
10773 * paragraph.h (inset_iterator): add -> operator
10775 * paragraph.[Ch] (autoDeleteInsets): remove member function
10777 * BufferView2.C (removeAutoInsets): rewrite to handle the old
10778 cursor pos correctly and handle inset deletion by itself.
10779 (insertErrors): move iterator declaration out of for expression
10781 * lyxtextclass.C: add <algorithm>
10783 * Makefile.am: added the new files to sources, removed layout.C
10785 * layout.C: removed file
10787 * layout.h: remove LYX_DUMMY_LAYOUT
10789 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10793 * lyxtextclass.[Ch]:
10794 * lyxtextclasslist.[Ch]: new files
10796 * include order changes to a lot of files, also changes because of
10799 2001-12-27 Juergen Vigna <jug@sad.it>
10801 * buffer.C (asciiParagraph): more fixes.
10803 * tabular.C (ascii): make ascii export support export of only the
10804 data separated by a column-delimiter.
10805 (ascii): better support for ascii export.
10807 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10809 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10811 * tabular_funcs.C: use a "using std::getline" instead of the
10812 previous fix from Angus (necessary for cxx + lyxstring)
10814 2001-12-24 Juergen Vigna <jug@sad.it>
10816 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10818 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10819 problems. First check a minipage also if we have some ert-contents
10820 (not only on par->size(), second set the right depth of the paragraph
10821 on the relink to the root-paragraph-list!
10823 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10824 which then did not anymore update the main paragraphs on undo/redo!
10826 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10828 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10829 code. Support all font-changing funcs (even those which are not in
10830 menu currently). Support for reporting font settings in
10831 mathed (disabled until Andre provides a function on mathed's side).
10833 * func_status.h (toggle): small helper function to set toggle
10836 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
10838 * tabular_funcs.C: getline -> std::getline
10840 2001-12-21 Juergen Vigna <jug@sad.it>
10842 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10843 accessed and could be 0 (I couldn't generate this but it seems
10846 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10848 * tabular_funcs.C: add LIstream.h, move write_attribute to..
10849 * tabular_funcs.h: here and include iosfwd
10851 2001-12-20 Juergen Vigna <jug@sad.it>
10853 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10854 inside inset but undo_par was.
10856 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10858 * Thesaurus.C: always include <config.h> in sources.
10862 * box.h: do not include <config.h> in header files
10864 * text.C (paintLastRow): remove unused variable
10866 * text.C (transformChar):
10868 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10870 * Painter.C (text):
10871 * font.C (width): rewrite to use uppercase() instead of
10874 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10876 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
10878 * lyxfind.C: clean up of find failure position change
10880 2001-12-20 Juergen Vigna <jug@sad.it>
10882 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10884 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10885 (TeXRow): added to LaTeX a single tabular row.
10886 (TeXLongtableHeaderFooter): added to output LT-h/f data.
10887 (Latex): simplified and finally good LT-h/f support.
10888 (various_functions): just small adaptions for LT-h/f support.
10890 * tabular_funcs.[hC]: added and moved here all not classfunctions
10893 2001-12-19 Juergen Vigna <jug@sad.it>
10895 * tabular.[Ch]: better support for longtabular options (not finished
10898 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10900 * text.C (paintLastRow): use the label font instead of the font of
10901 the last character to compute the size of *_BOX. This makes more
10902 sense and avoids a crash with empty paragraphs.
10903 Use Painter::rectangle to draw EMPTY_BOX.
10905 2001-12-19 Juergen Vigna <jug@sad.it>
10907 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10908 the paragraphs if the replaced paragraph is not the first one!
10909 Tried to delete not used paragraphs but does not work yet so for
10910 now it's inside #ifdef's and by default off!
10912 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10914 * MenuBackend.C: include "lyx_main.h" instead of declaring
10915 lastfiles (actually was declared as LastFiles* instead of a
10918 2001-12-17 Juergen Vigna <jug@sad.it>
10920 * tabular.C (AppendColumn): applied John's fix
10922 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
10926 * BufferView_pimpl.h:
10927 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10930 * box.h: new start of class for above
10932 * lyxfunc.C: ignore space-only minibuffer dispatches.
10933 Show the command name when it doesn't exist
10935 * minibuffer.C: don't add empty lines to the history
10937 * minibuffer.C: add a space on dropdown completion
10939 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
10941 * text.C: fix line above/below drawing in insets
10943 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10945 * lyxlength.C (LyXLength): Initialize private variables.
10947 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
10949 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10950 when inserting error insets.
10952 2001-12-13 Juergen Vigna <jug@sad.it>
10954 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10955 actually sometimes the before-paragraph.
10956 (setUndo): don't clear the redostack if we're not actually undoing!
10958 2001-12-06 Juergen Vigna <jug@sad.it>
10960 * undo_funcs.C (textHandleUndo): well after John's hint I got here
10961 and fixed redoing of main paragraph, so we can use it now ;)
10963 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10965 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10967 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10970 2001-12-13 André Pönitz <poenitz@gmx.net>
10973 * undo_func.C: minor cleanup
10975 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10977 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10978 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10979 font in urw-fonts package which is marked as -urw-fontspecific and
10980 does not work (incidentally, changing the encoding in the
10981 fonts.dir of this package to -adobe-fontspecific fixes the
10984 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10985 is a crash when undoing first paragraph (Juergen, please take a
10986 look). THis does not mean the undo fix is wrong, just that it
10989 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10990 the (Paragraph*) version when needed instead of duplicating the
10993 * text.C (workWidth): use Inset::parOwner to find out where the
10994 inset has been inserted. This is a huge performance gain for large
10995 documents with lots of insets. If Inset::parOwner is not set, fall
10996 back on the brute force method
10998 * paragraph_pimpl.C (insertInset):
10999 * paragraph.C (Paragraph):
11000 (cutIntoMinibuffer): set parOwner of insets when
11001 inserting/removing them
11003 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11005 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
11011 * mathed/formulabase.C:
11012 * mathed/math_cursor.[Ch]:
11013 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11016 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11018 * lyxlength.[Ch] (operator!=): new function
11020 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11022 * text.C (workWidth): use Inset::parOwner to find out where the
11023 inset has been inserted. This is a huge performance gain for large
11024 documents with lots of insets. If Inset::parOwner is not set, fall
11025 back on the brute force method
11027 * paragraph_pimpl.C (insertInset):
11028 * paragraph.C (Paragraph):
11029 (cutIntoMinibuffer): set parOwner of insets when
11030 inserting/removing them
11032 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11034 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11036 * tabular-old.C (getTokenValue):
11037 * tabular.C (getTokenValue):
11038 (write_attribute): new versions for LyXLength
11039 (everywhere): adjust the use of widths
11041 * tabular.h: change the type of widths from string to LyXLength
11043 2001-12-11 Ben Stanley <bds02@uow.edu.au>
11045 * paragraph.C: fixed missing line number count when exporting
11046 Environments to LaTeX file
11048 * buffer.C: added informational message for checking line numbers.
11050 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11052 * text2.C (deleteEmptyParagraphMechanism): if there is only one
11053 paragraph, do the 'double space' part, but not the 'empty
11056 * text.C (workWidth): small optimization
11057 (getLengthMarkerHeight): use minimal size for negative lengths.
11059 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
11061 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11063 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11065 2001-12-11 André Pönitz <poenitz@gmx.net>
11068 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11070 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11072 * text2.C: keep selection on a setFont()
11074 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11076 * lyx_cb.C: another bv->text misuse, from insert label
11078 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11081 * kbsequence.C: re-instate nmodifier mask
11083 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
11085 * lyx_main.h: make lyxGUI private.
11087 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11089 * lyxfind.C: place the cursor correctly on failed search
11091 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11093 * text.C (getLengthMarkerHeight): for small heights, the arrows
11094 are not always on top/bottom of the text
11095 (drawLengthMarker): smaller arrows; take the left margin in
11096 account; draw also vfills.
11098 (paintLastRow): remove special code for vfill and standard spaces,
11099 since everything is handled in drawLengthMarker now.
11101 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11103 * buffer.C (insertErtContents): try to handle font and language
11104 interaction a bit better.g
11106 * ColorHandler.C (updateColor): change the hash to cover the whole
11107 LColor enum, ws cleanup
11108 (getGCLinepars): ditto
11109 (getGCLinepars): only lookup in the linecache once.
11111 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
11113 * iterators.C (operator++): Make the iterator more robust
11115 * BufferView2.C (removeAutoInsets): Use paragraph iterators
11117 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11119 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11122 * text.C: better added space drawing
11124 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11127 * BufferView2.C: fix layout combo update on inset unlock
11129 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11131 * Makefile.am: don't compile unused files
11133 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11137 * LyXAction.C: remove old LFUN_LAYOUTNO
11139 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11141 * paragraph_pimpl.h:
11142 * paragraph_pimpl.C: isTextAt() doesn't need font param
11144 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11147 * lyxlex.C: little cleanup
11149 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11151 * BufferView_pimpl.C: fix insertAscii for insets
11153 2001-12-05 Juergen Vigna <jug@sad.it>
11155 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11156 set the right font on the "multi" paragraph paste!
11158 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11164 * lyxlength.C: remove out-commented code.
11166 * BufferView_pimpl:
11180 * vc-backend.C: change "while(" to "while ("
11182 * lyxlength.[Ch]: add zero function to check if length is zero or
11184 * lyxgluelength.C: use it
11186 2001-12-05 Allan Rae <rae@lyx.org>
11188 * lyxlength.C: Attempted a fix for the abs(int) header selection.
11189 Works for 2.95.3, from what I understand of Garst's reports this should
11190 work for other g++ versions. We're screwed if the abs(int) definition
11191 changed between bugfix releases of gcc.
11193 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11195 * text.C: fix chapter label offset !
11197 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11200 * text.C: fix hfill at end of line, clean up
11202 2001-12-04 Juergen Vigna <jug@sad.it>
11204 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11205 that we force an update of the inset and it's owners if neccessary.
11207 2001-12-03 Juergen Vigna <jug@sad.it>
11209 * text.C (rowLast): simplified code
11211 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11213 * lyxfunc.C: fix show options on timeout
11215 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11217 * screen.C (topCursorVisible): scroll half a page when the cursor
11218 reached top of bottom of screen
11220 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
11222 * minibuffer.C: deactivate on loss of focus
11224 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11226 * vspace.[Ch] (operator!=): add operator.
11228 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
11230 * BufferView_pimpl.C: refuse to open an inset when
11231 there's a selection.
11233 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
11235 * BufferView_pimpl.C: allow to click on RHS of full row insets
11237 2001-11-30 Juergen Vigna <jug@sad.it>
11239 * tabular.C (LyXTabular): add a same_id to set the same id's in the
11240 insets for undo reasons.
11242 2001-11-28 André Pönitz <poenitz@gmx.net>
11244 * vspace.[Ch]: cosmetical changes
11246 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11256 * kbsequence.C: part re-write of old kb code
11259 * WorkArea.C: remove Lgb_bug_find_hack
11261 2001-11-30 José Matos <jamatos@fep.up.pt>
11263 * buffer.C (makeDocBookFile): add a comment to point a hack.
11264 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11265 Fixed a double write of labels.
11267 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11270 * LaTeX.h Fixed bug in LaTeX class where it would not
11271 re-run latex if no depfiles were changed, but the .dvi was removed.
11273 2001-11-28 André Pönitz <poenitz@gmx.net>
11275 * all the files from the change on 2001/11/26:
11276 use lyx::layout_type instead of LyXTextClass::size_type
11277 use lyx::textclass_type instead of LyXTextClassList::size_type
11279 2001-11-29 Juergen Vigna <jug@sad.it>
11281 * text.C: added support for paragraph::isFreeSpacing()
11283 * buffer.C: same as above
11285 * paragraph.h: inserted isFreeSpacing() function to enable
11286 FreeSpacing inside InsetERT.
11288 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11289 of the paragraph's in the cut/copy buffer to 0!
11291 * text2.C (removeRow): remove the assert as it can!
11293 * lyxtext.h: added helper function firstRow returning firstrow and
11294 made firstrow private again.
11296 * BufferView2.C (lockInset): don't relock if we're already locked!
11298 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11299 the only paragraph.
11300 (removeRow): added Assert::(firstrow)
11302 * debug.C: forgot to add INSETTEXT here.
11304 2001-11-28 Juergen Vigna <jug@sad.it>
11306 * sp_spell.C (initialize): changed error text to more general
11307 spellchecker command use (not only ispell!)
11309 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11311 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11313 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11315 * vspace.C: initialise lyxgluelength on failure
11317 2001-11-28 Allan Rae <rae@lyx.org>
11319 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11320 declaration & definition that looks like a function declaration.
11322 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11324 * BufferView2.C (copy):
11325 (copyEnvironment): do not clear the selection when doing a copy.
11327 * text.C (paintFirstRow): compilation fix
11329 2001-11-27 Ben Stanley <bds02@uow.edu.au>
11331 * tabular.C (Latex): correct line count when writing latex.
11333 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
11335 * paragraph_pimpl.h:
11336 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11339 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11343 * LColor.C: change vfillline->added_space
11345 * text.C: add markers and text for added space
11347 * vspace.C: fix comment
11349 2001-11-28 André Pönitz <poenitz@gmx.net>
11351 * paragraph.C: whitespace changes
11352 * all the other files from the change on 2001/11/26:
11353 change *::pos_type into lyx::pos_type
11355 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
11357 * buffer.C (parseSingleLyXformat2Token): Set the language to the
11358 language of the document when inserting error insets.
11360 2001-11-26 André Pönitz <poenitz@gmx.net>
11362 * BufferView_pimpl.[Ch]:
11370 * paragraph_pimpl.[Ch]:
11373 * text2.C: reduce header dependencies, introduce type for positions
11375 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11377 * <various>: change to use Alert.h
11379 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
11381 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11382 when encountering an unknown token.
11383 (readLyXformat2): Show an error message if there were unknown tokens.
11385 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
11388 * BufferView_pimpl.C:
11392 * text2.C: use par->isInset()
11394 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11396 * paragraph_pimpl.h:
11397 * paragraph_pimpl.C: cleanup
11399 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11401 * text2.C (removeRow):
11402 * text.C (setHeightOfRow): remove useless (and costly) call to
11405 2001-11-20 Allan Rae <rae@lyx.org>
11407 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11408 Now need Inset*::checkInsertChar() to return true for appropriate
11409 cases so that the characters in the minibuffer will actually be
11412 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11414 * text.C: change the order of the includes.
11415 (workWidth): initialize it at once.
11416 (workWidth): make maxw unsigned
11417 (setHeightOfRow): remove unused variable (inset)
11418 (selectSelectedWord): remove unused variable (inset)
11419 (paintRowText): fix drawing of hfill characters, and clean up a bit.
11421 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11423 * lyxserver.C (emergencyCleanup): do not try to close pipes if
11424 server is not running.
11426 (closeConnection): add debug info when server is disabled.
11428 * ColorHandler.C (getGCForeground): send debug message to GUI
11431 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11433 * kbmap.C (bind): modify because return conventions of
11434 kb_sequence::parse have changed.
11436 * kbsequence.C (parse): only ignore spaces and not any stupid
11437 control character. This avoids tests like s[i] <= ' ', which are
11438 guaranteed to fail with 8bit characters and signed chars.
11439 Change return code to string::npos when there have been no error
11440 (0 was a bad idea when error is at first character)
11442 2001-11-14 José Matos <jamatos@fep.up.pt>
11445 * buffer.C (simpleDocBookOnePar): removed unused argument.
11447 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11449 * text.C (selectNextWordToSpellcheck): do not test explicitely for
11450 insets which are part of a word. Paragraph::isLetter takes care of
11451 that now. Use Paragraph::isInset to identify insets.
11452 (selectSelectedWord): do not test for hyphenation break.
11454 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11455 that protected spaces are considered as spaces.
11457 * paragraph.C (isLetter): cleanup the code for ispell extras; use
11460 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
11463 * lyxserver.C: fix it. and small cleanup.
11465 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11467 * BufferView_pimpl.C: use inline helpers
11470 * LaTeXFeatures.C: fix typos
11473 * Spacing.C: move spacing_string into class
11475 * ToolbarDefaults.C: move stuff into namespace anon
11477 * layout.h: update enum
11479 * lyxfunc.C: use better debug
11481 * minibuffer.h: fix typo
11485 * WorkArea.C: add and use Debug::WORKAREA
11489 * text2.C: code re-organisation, inline helpers
11491 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
11493 * Layout.C: replaced a few cases of std::vector.size() == 0 with
11494 std::vector.empty().
11496 2001-11-09 Allan Rae <rae@lyx.org>
11498 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11499 '\n's after tables. Tabular and ERT inset work now makes this no
11502 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11505 * minibuffer.C: fix crash, improve drop-down completion
11507 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11510 * lyxserver.C: invalidate fd's when doing endPipe()
11512 2001-11-08 José Matos <jamatos@fep.up.pt>
11514 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11515 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11518 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11520 2001-11-07 José Matos <jamatos@fep.up.pt>
11523 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11526 * buffer.C (sgmlOpenTag):
11527 * buffer.C (sgmlCloseTag): removed debug info.
11529 * buffer.h (sgmlOpenTag):
11530 * buffer.h (sgmlCloseTag): made public.
11532 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11534 * buffer.C (saveParamsAsDefaults):
11535 * lyx_cb.C (MenuLayoutSave): remove
11537 * LyXAction.C (init):
11539 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11541 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11543 * buffer.C (setPaperStuff): removed from here...
11545 * bufferparams.C (setPaperStuff): ... and moved there.
11547 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11551 * XFormsView.C: add support for drop-down completion
11553 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11555 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11558 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11560 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11563 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11565 * lyx_main.C: change ref to known bugs
11567 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11569 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11570 to work around older babel problems.
11572 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11574 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11576 2001-10-24 Juergen Vigna <jug@sad.it>
11578 * tabular-old.C (ReadOld): below variable changes reflected.
11580 * tabular.[Ch]: added ltType struct for longtable header/footer
11581 defines and changed all instances where they are used. Added
11582 future support for double top/bottom rows.
11584 2001-10-24 José Matos <jamatos@fep.up.pt>
11586 * buffer.h (docbookHandleCaption):
11587 * buffer.C (docbookHandleCaption): removed unused function.
11588 (makeDocBookFile): moved docbook supported version to v4.1.
11590 2001-10-24 José Matos <jamatos@fep.up.pt>
11593 * tabular.C (docbookRow): new function to export docbook code of a row.
11594 (DocBook): now honors the longtable flags.
11596 2001-10-23 José Matos <jamatos@fep.up.pt>
11599 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11600 of the lyx defined sgml entities used in a docbook/linuxdoc document.
11602 * buffer.C (makeLinuxDocFile):
11603 (makeDocBookFile): reworked the preamble, more clean, and with
11604 support for lyx defined entities. Changed the document declaration
11605 to be more XML friendly.
11607 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11608 if we need to output XML that should be done with a filter.
11610 2001-10-22 Juergen Vigna <jug@sad.it>
11612 * sp_pspell.h (class PSpell): add alive function needed in the
11613 controller to see if the spellchecker could be started.
11615 2001-10-22 Juergen Vigna <jug@sad.it>
11617 * buffer.C (insertStringAsLines): modify the font for inserting
11618 chars in certain conditions by calling checkInsertChar(font).
11620 2001-10-19 Juergen Vigna <jug@sad.it>
11622 * text.C (workWidth): use getRow instead of wrong algorithm.
11623 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11625 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
11630 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11632 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11634 * text.C (workWidth): do not search for the exact row when
11635 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11636 optimization for big documents.
11638 2001-10-18 Juergen Vigna <jug@sad.it>
11640 * text.C (workWidth): new function with added Inset * parameter.
11642 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11644 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11646 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11647 change return type of getColumnNearX.
11650 * text.C (changeRegionCase): use uppercase/lowercase instead of
11653 (rightMargin): simplify code by factoring out the uses of
11658 (appendParagraph): use Paragraph::size_type
11660 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11662 * vspace.C (asLatexString): add a missing break
11664 2001-10-15 Herbert Voss <voss@perce.de>
11666 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11668 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11670 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11673 2001-10-10 André Pönitz <poenitz@gmx.net>
11675 * lyxfunc.C: removed greek_kb_flag.
11677 2001-10-10 Herbert Voss <voss@perce.de>
11679 * lyx_main.C: delete global string help_lyxdir.
11681 2001-10-09 Herbert Voss <voss@perce.de>
11683 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11685 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11687 * lyx_main.C: added global string help_lyxdir.
11689 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11691 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
11693 * lyxrc.C (set_font_norm_type): support iso8859-4
11695 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
11697 * LaTeX.C (deplog): add another regex for MikTeX
11699 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
11701 * lyxrc.C (set_font_norm_type): support iso8859-3
11703 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11705 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11707 * LaTeXFeatures.C: remove special case of french and index
11709 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11710 before \begin{document}). This solves several incompatibilities.
11712 2001-10-03 Garst Reese <reese@isn.net>
11714 * lyx_cb.C: change CheckTex error msg.
11716 2001-10-03 José Matos <jamatos@fep.up.pt>
11718 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11720 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11722 * .cvsignore: update
11724 * lyx_main.C (commandLineVersionInfo): use new style version info.
11726 * buffer.C (writeFile):
11728 (makeLinuxDocFile):
11729 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11731 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11733 * version.h: update to use stuff in version.C
11735 * version.C.in: new file. Contains version information determined
11736 at compile time. This is a merging of version.h and
11739 2001-10-03 Juergen Vigna <jug@sad.it>
11741 * BufferView_pimpl.C (update): don't change "dirty" status in
11744 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
11746 * WorkArea.C (c-tor): re-position version string slightly.
11748 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
11750 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11751 revert to previous code.
11753 WorkArea.[Ch]: (show, destroySplash): methods removed.
11755 WorkArea.C: rework code so that it's an amalgam of the codes before and
11756 after the splash screen was moved to WorkArea.
11758 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11761 * vspace.C (inPixels):
11764 * buffer.C (insertStringAsLines):
11765 (asciiParagraph): fix types to be large enough
11767 * lyxlex_pimpl.h: change member status from short to int
11769 * layout.h: fix type of endlabeltype
11772 * kbsequence.C (parse): change return type to string::size_type
11774 * LaTeX.C (updateBibtexDependencies): comment out unneeded
11777 * Bullet.C (bulletSize):
11778 (bulletEntry): do not use short ints as parameters
11780 * BufferView2.C (insertLyXFile): change a char to an int.
11782 * WorkArea.C (WorkArea): remove unneeded floats in computation
11784 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
11786 * buffer.C (asciiParagraph): Treat '\\' as other chars.
11788 * paragraph.C (asString): Do not ignore newline/hfill chars when
11789 copying to the clipboard.
11791 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
11793 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11794 after a multi-line inset.
11796 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
11798 * paragraph.C (validate): Set NeedLyXFootnoteCode
11800 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11802 * lyxfont.C (LyXSizeNames): changed increase-error to increase
11803 and decrease-error to decrease.
11805 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11807 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11808 it more readable (should be equivalent)
11810 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
11812 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11814 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11816 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11817 of a cursor (row, etc.) after a character has been deleted
11818 (deleteEmptyParagraphMechanism): call the method above on _all_
11819 cursors held by the LyXText when a double space has been
11822 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11824 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11826 (resizeCurrentBuff): remove code to destroy the old splash dialog.
11828 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11829 background. Use greyOut() and the new show() methods to toggle between
11830 the foreground and background. Add code to remove the splash after
11831 its initial showing.
11833 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11834 (create_forms): no longer call Dialogs::showSplash.
11836 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11838 * .cvsignore: add version_info.h
11840 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11842 * version_info.h.in: new file
11844 * Makefile.am: add version_info.h.in
11846 * lyx_main.C (commandLineVersionInfo): use version_info defined in
11847 version_info.h instead of VERSION_INFO
11849 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
11851 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11852 The ERT inset now returns string().
11854 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
11856 * lyxtext.h, text.C (selectNextWord): renamed as
11857 selectNextWordToSpellcheck.
11859 * text.C (selectNextWordToSpellcheck): Modified to not select
11860 words inside an ERT inset.
11862 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11864 * lyx_cb.C (MenuLayoutSave): change a bit the question
11866 * sp_base.h: include <sys/types.h>
11868 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
11870 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11872 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
11874 * several files: fix typos in user-visible strings
11876 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11878 * text2.C (pasteSelection): do not set the selection, since it
11879 will be cleared later. Actually, the intent was to fix the way the
11880 selection was set, but I figured rmoving the code was just as good.
11882 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
11884 * FontLoader.C (available): Check if font is available without
11887 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11889 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11891 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
11893 * lyxrc.[Ch]: added display_graphics variable and associated code.
11895 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11897 * bufferparams.C (hasClassDefaults): new method. Returns true if
11898 the buffer parameters correspond to known class defaults
11900 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
11902 * XFormsView.C (show): set minimum size to the main window.
11904 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11906 * text2.C (copySelection):
11908 * lyxfind.C (LyXReplace):
11909 * BufferView_pimpl.C (Dispatch): pass the correct flag to
11910 LyXText::selectionAsString.
11912 * paragraph.C (asString): add "label" argument to the second form
11914 * text2.C (selectionAsString): add "label" argument and pass it to
11915 Paragraph::asString.
11917 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11919 * lyx_main.C (commandLineHelp): remove version information
11921 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
11923 * lyx_main.C: add -version commandline option
11925 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11927 * paragraph.h: make the optional constructor arg required instead.
11928 some modifications to other files because of this.
11930 * minibuffer.C (C_MiniBuffer_peek_event): make it static
11932 * lyxserver.C (C_LyXComm_callback): make it static
11934 * lyx_main.C (error_handler): make it static
11936 * lyx_gui.C (LyX_XErrHandler): make it static
11938 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11940 * WorkArea.C: make the extern "C" methods static.
11942 * Makefile.am (lyx_LDADD): simplify
11944 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11946 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11947 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11949 * LyXAction.C (init):
11950 * lyxfunc.C (dispatch): associated code removal.
11952 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11954 * lyxfont.h (isSymbolFont): shut off warning
11956 * text.C (setHeightOfRow):
11957 (getVisibleRow): fix crash with empty paragraphs which have a
11960 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
11962 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11965 2001-09-04 José Matos <jamatos@fep.up.pt>
11968 * tabular.C (docbook): rename docBook method to docbook.
11970 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11972 * Makefile.am: add dependencies to main.o.
11974 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
11976 * FontLoader.C (available): Return false if !lyxrc.use_gui
11978 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
11980 * FontInfo.C (query):
11981 * converter.C (view):
11982 * importer.C (Import):
11983 * exporter.C (Export): Can not -> cannot.
11985 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
11987 * BufferView_pimpl.C: allow to create index inset even if
11990 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11992 * buffer.C (getLists): replace boost::tie code with an explicit pair
11993 as boost::tie can break some compilers.
11995 * iterators.h: Added a std:: declaration to the return type of
11998 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
12000 * lyxrc.C: add help for view_dvi_paper_option, default to safe
12003 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
12005 * iterators.[Ch]: New files. Provide paragraph iterators.
12007 * buffer.C (changeLanguage): Use paragraph iterators.
12008 (isMultiLingual): ditto
12010 * BufferView2.C (ChangeInsets): Use paragraph iterators.
12012 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
12014 * FontLoader.C: Support for cmr font.
12016 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
12018 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12019 (available): New method.
12021 * FontInfo.C (getFontname): Use scalable fonts even when
12022 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12025 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12027 * converter.C (Formats::view): reverted! Incorrect fix.
12029 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12031 * converter.C (Formats::view): only output the -paper option
12032 if the dvi viewer is xdvi, thereby fixing bug #233429.
12034 2001-08-23 Herbert Voss <voss@perce>
12036 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12038 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
12040 * Spacing.h (Spacing): Set space to Default on in the default
12043 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
12045 * vc-backend.h (RCS::versionString): add RCS to version
12046 (CVS::versionString): add CVS to version
12048 * vc-backend.C (scanMaster): do not add CVS to version.
12049 (scanMaster): do not add RCS to version
12051 * lyxvc.C (versionString): new method
12053 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12055 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12057 * Spacing.C (set): initialize fval
12059 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
12061 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12064 2001-08-16 Juergen Vigna <jug@sad.it>
12066 * lyxfunc.C (dispatch): implemented the new FINISHED states.
12068 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12070 * BufferView_pimpl.C:
12073 * text2.C: setParagraph takes linespacing now
12075 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
12077 * LyxAction.C: add internal LFUN_CITATION_INSERT
12079 * LyXView.C: actually apply fix
12081 * bufferlist.C: fix open non-existent file
12083 * lyxfind.C: fix indentation
12085 * lyxfunc.C: remove unneeded assert, fix typo
12087 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12089 * MenuBackend.C: use "Floatname List"
12091 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
12093 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12094 when converting LaTeX layout to insetERT.
12095 Generate a non-collapsed float when reading old float
12097 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12099 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12102 2001-08-13 Juergen Vigna <jug@sad.it>
12104 * text.C (fill): return 0 instead of 20 as this seems to be the more
12107 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12109 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12112 2001-08-13 Juergen Vigna <jug@sad.it>
12114 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12116 (SearchBackward): comment out the unlocking of the inset_owner this
12117 should not be needed!
12119 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
12121 * Many files: Remove inherit_language, and add latex_language
12123 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12124 collapsible insets.
12126 2001-08-10 Juergen Vigna <jug@sad.it>
12128 * text.C (prepareToPrint): fixed hfill-width in draw!
12130 * BufferView2.C (selectLastWord): save the selection cursor as this
12131 now is cleared in the function LyXText::clearSelection!
12133 2001-08-08 Juergen Vigna <jug@sad.it>
12135 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12136 BACKSPACE type functions.
12138 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12139 is only cutted from the document but not put in the cut-buffer, where
12140 still the old stuff should be.
12142 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12144 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12146 * tabular.C (SetWidthOfCell): fixed special case where the width
12148 (LeftLine): handle '|' in align_special.
12150 (LeftAlreadyDrawed): ditto
12151 (SetWidthOfCell): ditto
12153 2001-08-07 Juergen Vigna <jug@sad.it>
12155 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12157 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12159 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12160 * lyxlex.[hC]: ditto
12162 2001-08-06 Juergen Vigna <jug@sad.it>
12164 * text.C (getVisibleRow): fix up row clearing a bit.
12166 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12168 * minibuffer.C: make sure the X server sees the changes in the input.
12170 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12172 * paragraph.C (getFont): split into...
12173 (getLabelFont): this
12174 (getLayoutFont): and this
12175 * paragraph_pimpl.C (realizeFont): calling this
12177 * text2.C (getFont): split into...
12178 (getLayoutFont): this
12179 (getLabelFont): and this
12180 (realizeFont): all three calling this
12182 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12185 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12187 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12189 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
12191 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12192 layouts from the Quote inset insertion.
12194 2001-08-03 Juergen Vigna <jug@sad.it>
12196 * BufferView_pimpl.C (update): do the fitCursor only at the end!
12198 * screen.C (drawFromTo): don't call fitcursor here and do the loop
12199 only if status not is already CHANGED_IN_DRAW (second level).
12201 * text.C (draw): don't set the need_break_row when inside an
12204 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12206 * buffer.C (parseSingleLyXformat2Token): handle more latex
12209 * bufferview_funcs.[hC]: change function names to
12210 begin with small char, adjust other files.
12212 2001-08-02 André Pönitz <poenitz@gmx.net>
12215 BufferView_pimpl.C: remove broken special code for math-greek
12217 2001-08-02 Juergen Vigna <jug@sad.it>
12219 * BufferView_pimpl.C (update): redone this function so that we
12220 update the text again if there was a CHANGE_IN_DRAW.
12222 * screen.C (cursorToggle): removed LyXText parameter and recoded.
12223 (drawFromTo): added a new internal bool which is used by draw() and
12225 (general): some cursor drawing problems fixed.
12227 2001-08-01 Juergen Vigna <jug@sad.it>
12229 * lyxfind.C (LyXFind): fixed
12230 (SearchForward): ditto
12231 (SearchBackward): ditto
12233 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12234 spurius drawing of the cursor in the main area.
12236 * text2.C (status): small fix which could lead to a segfault!
12237 (clearSelection): remove unneeded BufferView param.
12239 2001-08-01 André Pönitz <poenitz@gmx.net>
12241 * lyxfunc.C: small change due to changed mathed interface
12243 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12245 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12247 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
12249 * lyxfunc.c: fail gracefully if file doesn't exist
12254 * BufferView_pimpl.C: IsDirWriteable() proto changed
12256 * LyXView.C: fix updateWindowTitle() to store the last title
12258 2001-07-31 Juergen Vigna <jug@sad.it>
12260 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12261 the font (wrong since using of Paragraph::highestFontInRange).
12263 * paragraph.C (highestFontInRange): added a default_size parameter.
12265 * text.C (getVisibleRow): minor clear row changes (still not perfect).
12266 (setHeightOfRow): reformat
12268 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12270 * converter.[hC] + affected files: move to (inital-char)lowercase
12273 * ParagraphParameters.C (ParagraphParameters): remove commented code
12275 * PainterBase.[Ch]: remove commented code
12277 * LaTeXFeatures.h: add "bool floats" for float.sty
12279 * LaTeXFeatures.C (LaTeXFeatures): init floats
12280 (require): handle float
12281 (getPackages): do it with floats
12283 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12285 * BufferView_pimpl.C (Dispatch): improve handling of
12286 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12288 * commandtags.h: #include lyxfont.h here temporarily to avoid
12291 * bufferlist.h: include LString.h here.
12293 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12295 * text2.C (getStringToIndex): new method.
12297 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
12299 * *: Reduced header file dependencies all over.
12301 2001-07-30 Baruch Even <baruch@lyx.org>
12303 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12305 2001-07-29 Baruch Even <baruch@lyx.org>
12307 * buffer.C (readInset): Changed GRAPHICS to Graphics.
12309 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12311 * ParameterStruct.h (endif): add a default constructor to make
12312 sure that all variables is initialized.
12314 * ParagraphParameters.C (ParagraphParameters): adjust
12316 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12318 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12319 index; also, check that there is something to index, and that it
12320 does not span over several paragraphs.
12321 (doubleClick): use WHOLE_WORD_STRICT for double click.
12323 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12325 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12328 2001-07-26 Baruch Even <baruch@lyx.org>
12330 * buffer.C (readInset): Changed to call up InsetGraphics when reading
12331 an InsetFig figure, backwards compatible reading of old figure code.
12333 2001-07-27 Juergen Vigna <jug@sad.it>
12335 * text2.C: font.realize function adaption.
12337 * text.C (draw): add a warnings lyxerr text if needed.
12339 * layout.C: font.realize function adaption.
12341 * language.C: add inherit_language and implement it's handlings
12343 * bufferview_funcs.C (StyleReset): remove language parameter from
12344 font creation (should be language_inherit now).
12346 * bufferparams.C (writeFile): handle ignore_language.
12348 * paragraph.C (getFontSettings): the language has to be resolved
12349 otherwise we have problems in LyXFont!
12351 * lyxfont.C (lyxWriteChanges): added document_language parameter
12352 (update): removed unneeded language parameter
12354 * paragraph.C (validate): fixed wrong output of color-package when
12355 using interface colors for certain fonts in certain environments,
12356 which should not seen as that on the final output.
12358 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
12360 * BufferView_pimpl.C:
12365 * LyXAction.C: add thesaurus support
12368 * lyxfind.C: add "once" parameter, for thesaurus, to not
12369 move to the next match
12371 2001-07-26 Juergen Vigna <jug@sad.it>
12373 * lyxfont.C (realize): honor ignore_language too!
12376 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12378 * text.C (draw): one place more for ignore_language to not draw
12381 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
12383 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12385 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12387 * buffer.C (parseSingleLyXformat2Token): a more general fix for
12388 the minipage conversion problem.
12390 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12392 * buffer.C (parseSingleLyXformat2Token): check minipage if we
12395 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12397 * BufferView.h: don't forward declare WorkArea
12399 * BufferView.C: don't include WorkArea.h
12401 2001-07-25 André Pönitz <poenitz@gmx.net>
12405 * lyxfunc.C: new LFUN 'math-space'
12407 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12409 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12411 * text2.C (toggleInset): call open/close
12413 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12415 * lyxfunc.C (dispatch): add debug for the disabled case
12417 * font.C (buttonText): make similar to rectText
12419 * buffer.C (readInset): comment out parsing of insetlist and
12422 * PainterBase.C (rectText): small correction
12424 * BufferView_pimpl.C: comment out insettheorem and insetlist
12425 * LyXAction.C: ditto
12426 * commandtags.h: ditto
12428 2001-07-24 Juergen Vigna <jug@sad.it>
12430 * text.C (draw): honor the ignore_language.
12432 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12434 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12436 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12439 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12441 * lyxtext.h: remove unused (and unimplemented) methods
12443 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12445 * text.C (getVisibleRow): honor background color
12448 * Painter.h: remove default color argument for fillRectangle
12450 * text.C (backgroundColor): new method
12452 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12454 * text.C (getVisibleRow): adjust
12456 * font.[Ch] (rectText): new method, metrics
12457 (buttonText): new method, metrics
12459 * PainterBase.[hC]: make rectText and buttonText always draw and take
12462 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12464 * ToolbarDefaults.C (read):
12465 * MenuBackend.C (read): allow escaping in all strings
12467 * BufferView_pimpl.C (insertAndEditInset): new method.
12468 (Dispatch): use insertAndEditInset whenever appropriate.
12470 * BufferView_pimpl.C (insertNote): removed
12472 * BufferView_pimpl.C (smartQuote): new method, moved from
12473 BufferView; if an insetquote cannot be inserted, insert a '"'
12476 * BufferView2.C: remove insertCorrectQuote();
12478 * lyxfunc.C (getStatus): Add support for all remaingin
12479 inset-insert lfuns.
12481 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12483 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12484 command (necessary to pass " as parameter of self-insert.
12486 * text.C (selectWordWhenUnderCursor):
12487 (selectWord): add word_location parameter
12488 (selectWordWhenUnderCursor): same + remove special code for word
12490 (selectNextWord): use kind() to guess type of insetspecialchar,
12493 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12494 (insertErtContents): create ert insets as collapsed.
12495 (readInset): better compatibility code for Info inset.
12497 2001-07-20 Juergen Vigna <jug@sad.it>
12499 * lyxfunc.C (dispatch): use always LyXFind now!
12501 * text2.C (init): add a reinit flag so that the LyXText can be
12502 reinited instead of deleted and reallocated (used in InsetText).
12504 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12510 2001-07-18 Juergen Vigna <jug@sad.it>
12512 * text.C (selectNextWord): handle insets inside inset by calling
12513 always the bv->text functions so that we can go up the_locking_inset!
12515 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12516 in strange locations when inside an inset!
12518 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12519 handling to include insets.
12521 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12523 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12525 * LyXAction.C (init):
12527 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12528 LIGATURE_BREAK, since the name is so stupid.
12530 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12532 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12535 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12537 * sp_form.[Ch]: remove.
12539 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12541 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12544 * src/buffer.C (readInset): ditto.
12546 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12548 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12549 menuSeparator(), endOfSentenceDot(), ldots() and
12550 hyphenationPoint(), which are therefore removed.
12551 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12553 * LyXAction.C (init):
12554 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12556 * paragraph.C (getWord): removed.
12558 * BufferView_pimpl.C (Dispatch): use last word or selection for
12559 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12561 * lyx_main.C (queryUserLyXDir): do not ask before creating
12562 user_dir, except if it has been named explicitely.
12564 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12566 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12567 a document of zero size.
12569 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12571 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12572 approriately in the c-tor and in require().
12573 (getPackages): output the appropriate LaTeX for natbib support.
12575 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12576 variables "use_natbib" and "use_numerical_citations" when reading the
12578 (readInset): read the various natbib cite commands.
12579 (validate): white-space change.
12581 * bufferparams.[Ch]: new variables "bool use_natbib" and
12582 "bool use_numerical_citations".
12583 (writeFile): output them in the LyX file.
12585 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12587 * lyxfunc.C (getStatus): add support for all the inset insertion
12590 * text2.C (insertInset):
12591 * paragraph.C (insetAllowed):
12592 * BufferView_pimpl.C (insertInset): update to take in account the
12593 renaming of insertInsetAllowed
12595 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12597 * text2.C (getInset): new method. returns inset at cursor position.
12599 * BufferView_pimpl.C (Dispatch): changes because of this.
12601 * LyXAction.C (init): rename open-stuff to inset-toggle.
12603 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12605 * text2.C (toggleInset): renamed from openStuff; use
12608 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
12610 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12612 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12614 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
12616 * buffer.C (readLyXformat2): Add filename to the error dialog
12618 2001-07-18 Juergen Vigna <jug@sad.it>
12620 * tabular.C (GetCellNumber): put an assert here instead of the check!
12622 2001-07-17 Juergen Vigna <jug@sad.it>
12624 * BufferView_pimpl.C (toggleSelection): adapted too.
12626 * text.C (selectNextWord): adapted for use with insets.
12627 (selectSelectedWord): ditto
12629 2001-07-17 Juergen Vigna <jug@sad.it>
12631 * sp_spell.C (PSpell): fix initialitation order.
12633 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12635 * paragraph.C: spacing
12637 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
12639 * sp_spell.C: repair language selection for pspell
12641 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12643 * lyxfunc.h: change more methods to begin with lower char.
12645 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
12647 * buffer.C (parseSingleLyXformat2Token): Generate error insets
12648 for unknown layouts.
12650 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
12652 * buffer.C (readLyXformat2): Generate an error dialog if there are
12655 2001-07-16 Juergen Vigna <jug@sad.it>
12657 * sp_spell.C: always compile ISpell part.
12659 * lyxrc.C: added use_pspell entry and it's handling.
12661 2001-07-13 Juergen Vigna <jug@sad.it>
12663 * sp_spell.C: removed double includes.
12665 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
12667 Consistent use of Lsstream.h:
12668 * Lsstream.h: added using std::stringstream for consistencies sake.
12670 * buffer.C: removed using std::stringstream
12672 * lyxfont.C (stateText):
12673 * paragraph.C (asString):
12674 * text.C (selectNextWord, selectSelectedWord):
12675 * text2.C (setCounter):
12676 * vspace.C (asString, asLatexString):
12677 std::ostringstream -> ostringstream.
12679 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12681 * LyXAction.C: add LFUN_HELP_ABOUTLYX
12682 * commandtags.h: add LFUN_HELP_ABOUTLYX
12683 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12685 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12687 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12689 * lyx_gui_misc.C: remove spellchecker
12690 * lyxfunc.C: showSpellchecker
12692 * sp_ispell.h: added
12693 * sp_pspell.h: added
12694 * sp_spell.C: added
12695 * sp_form.[Ch]: removed
12696 * spellchecker.[Ch]: removed
12698 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
12700 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12702 (simpleTeXSpecialChars): Simply print the input character without
12703 any special translation if pass_thru is set.
12705 * layout.h: Added bool pass_thru to layout class for being able to
12706 implement pass through of a paragraph for Literate Programming.
12708 * layout.C: add LT_PASS_THRU to LayoutTags enum.
12709 * layout.C (LyXLayout): set pass_thru to flase in constructor.
12710 * layout.C (Read): add "passthru" to list of layout tags and add
12711 code to set the pass_thru boolean when it is read.
12713 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12715 * trans_decl.h: remove allowed from KmodInfo
12717 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12718 remove allowed code
12721 * paragraph_pimpl.C (erase): use boost::prior
12723 * Painter.C (text): use data() instead of c_str() when length is
12725 * WorkArea.C (putClipboard): ditto
12726 * font.h (width): ditto
12728 * BufferView2.C: use it-> instead of (*it). for iterators
12730 * paragraph_pimpl.C: ditto
12731 * paragraph.C: ditto
12732 * minibuffer.C: ditto
12733 * language.C: ditto
12735 * encoding.C: ditto
12736 * counters.C: ditto
12737 * converter.C: ditto
12739 * Variables.C: ditto
12740 * TextCache.C: ditto
12741 * MenuBackend.C: ditto
12742 * LyXAction.C: ditto
12744 * FloatList.C: ditto
12745 * DepTable.C: ditto
12746 * ColorHandler.C (LyXColorHandler): ditto
12748 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12750 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12752 * text2.C (openStuff): reintroduce this method (which had been
12753 nuked in NEW_INSETS frenzy).
12755 * lyxfunc.C (Dispatch): when an action has not been handled, use
12756 its name in the error message, not its number.
12758 * paragraph.C (inInset): change method name to begin with lowercase.
12761 * text2.C: updates because of this.
12763 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12765 * ToolbarDefaults.C (add): add spaces in error message
12767 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12769 * buffer.C (readLyXformat2): initialize the ert comp. variables.
12770 (readLyXformat2): rename return_par to first_par, use lyxlex's
12771 pushToken and remove the manual push handling.
12772 (parseSingleLyXformat2Token): add another ert comp. variable:
12773 in_tabular, rename return_par to first_par. handle newlines better
12775 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12777 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12779 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12781 * text2.C (getParFromID): removed
12783 * buffer.C (getParFromID): new method moved form lyxtext.
12784 * BufferView2.C (insertErrors): adjust
12785 (setCursorFromRow): adjust
12786 * BufferView_pimpl.C (restorePosition): adjust
12787 * lyxfunc.C (Dispatch): adjust
12788 * undo_funcs.C (textUndo): adjust
12790 (textHandleUndo): adjust
12791 (textHandleUndo): adjust
12793 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12795 * buffer.C: up' the LYX_FORMAT
12797 * lyxfont.h: turn NO_LATEX on as default
12799 * buffer.C (insertErtContents): new methods of tex style compability.
12800 (parseSingleLyXformat2Token): use it several places.
12801 * tabular.C (OldFormatRead): and here
12803 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12805 * text2.C: remove some commented code.
12808 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12809 * trans.C: changes because of the above.
12811 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
12813 * text2.C (setCounter): Fix counters bug with bibliography layout.
12815 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12817 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12818 own member functions
12819 (simpleTeXSpecialChars): ditto
12821 2001-07-06 Juergen Vigna <jug@sad.it>
12823 * a lot of files: changed the access to LyXText::status and the
12824 call of undo-functions.
12826 * undo.[Ch]: added a inset_id to the undo informations.
12828 * undo_funcs.[Ch]: added and moved here all undo functions.
12830 * lyxtext.h: give the status enum a weight, made status_ a private
12831 variable and made accessor functions for it, removed the whole bunch
12832 of undo-functions as they are now in their own file, make some
12833 functions publically available. Added function ownerParagraph with
12836 * paragraph.[Ch]: added "bool same_ids" to the constructor,
12837 made InInset() a const function, added getParFromID() function.
12839 * buffer.[Ch]: added const version for inset_iterator functions,
12840 added getInsetFromID() function.
12842 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12843 changed undo functions for new version.
12845 2001-07-05 Juergen Vigna <jug@sad.it>
12847 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12848 unknow mechanism does not call the proper constructor but only this
12849 one also if I request the other!?
12851 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12853 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12855 * text2.C (LyXText): use initialization lists.
12857 * lyxtext.h (Selection): initialize set_ and mark_
12858 (init): remove method
12860 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
12862 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12864 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12866 * screen.[Ch]: change method names to begin with lowercase
12868 * BufferView_pimpl.C (updateScrollbar): simplify further and
12869 hopefully make it a bit faster.
12871 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12873 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12874 calling directly xforms functions.
12876 * Painter.C (Painter):
12877 * lyx_cb.C (MenuWrite):
12878 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12881 * lyx_gui.C: remove bogus guiruntime extern declaration.
12883 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12885 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12887 (redoDrawingOfParagraph): ditto
12888 (redoParagraphs): ditto
12889 (cutSelection): don't create a object for CutAndPaste use the
12890 static method directly
12891 (pasteSelection): ditto
12893 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12896 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12898 * modifications to some other files because of this.
12900 * Makefile.am (lyx_SOURCES): add XFormsView
12902 * XFormsView.[Ch]: new files
12904 * LyXView.[Ch]: make LyXView a base class for the gui handling for
12905 the main window. Move the gui dependent stuff to XFormsView
12907 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12909 * tabular.C (GetCellInset): update cur_cell also in the row/col
12910 version of this function.
12912 * lyxfunc.C: no need to include figure_form.h here.
12918 * lyxvc.C: no need to include forms.h here.
12920 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12922 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12924 * lyxfunc.C (Dispatch):
12926 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12927 constructor argument.
12929 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12931 * paragraph.C (Paragraph): dont't clear, and just set layout.
12932 (makeSameLayout): use params's copy contructor.
12934 * ParagraphParameters.[Ch] (makeSame): delete method
12936 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
12938 * Variables.[Ch]: fix indentation, rename set to isSet
12940 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12942 * lyxfunc.C (Dispatch): fix typo
12944 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12946 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12949 * bufferlist.C: include assert.h for emergencyWrite().
12951 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12953 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12954 give up at last (bug #425202) !
12956 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
12962 * spellchecker.C: strip spellchecker options and bring up
12963 preferences tab instead
12965 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12967 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12968 the istringstream constructor
12970 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12972 * paragraph.C (getLayout): fix return value
12974 * paragraph.h: do not declare getLayout as inline.
12976 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12978 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12980 * lyxcursor.h (operator<): new func
12981 (operator>): new func
12982 (operator>=): new func
12983 (operator<=): new func
12985 * text.C (changeCase): use selection.start and selection.end
12986 (changeRegionCase): require from to be <= to. Require par to be a
12989 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12991 2001-06-27 Juergen Vigna <jug@sad.it>
12993 * text.C (cursorLeftOneWord): changed to return the cursor and added
12994 overlay with BufferView * parameter which calls this one.
12996 (selectWord): use new getWord function.
12997 (changeCase): renamed from changeWordCase as and extended to work
12998 also on selections.
13000 * lyxtext.h: added enum word_location
13002 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13003 changeCase as this operates now also on selections.
13005 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
13007 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13009 * many files: send debug output to Debug::INFO instead of
13012 * converter.C (View):
13014 (Move): send debug output to Debug::FILES instead of console.
13016 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
13018 * lyxfunc.C (getStatus): use func_status
13020 * func_status.h: new header, describing the results of
13021 LyXFunc::getStatus;
13023 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13026 2001-06-25 The LyX Project <jug@sad.it>
13028 * buffer.C (sgmlOpenTag):
13030 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
13032 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13034 * text2.C: remove some dead code
13036 * tabular.C (GetCellInset): store the last cell checked (gotten)
13038 * tabular.h: add the helper for the speedup
13040 * lyxtext.h: remove some dead code
13042 2001-06-26 The LyX Project <Asger>
13044 * paragraph.C: Change export to LaTeX of alignment to
13045 \begin{center} and family for better roundtrip work with reLyX.
13047 * Tune the math drawing a bit.
13049 2001-06-25 The LyX Project <Asger>
13051 * LColor.C (LColor): New color for math background. New color
13054 2001-06-25 The LyX Project <jug@sad.it>
13056 * lyxfunc.C (MenuNew): remove extra check for .lyx file
13058 * lyxfunc.C (Open):
13059 * bufferlist.C (newFile): do not restrict to files ending with
13062 * BufferView_pimpl.C (MenuInsertLyXFile):
13064 2001-06-24 The LyX Project <jug@sad.it>
13066 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13069 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13071 * lyxtext.h: rename most methods to begin with a small char.
13072 Lots of changes because of this.
13074 * paragraph.C (Paragraph): do not call fitToSize
13075 (erase): call Pimpl::erase
13076 (insertChar): call Pimpl::insertChar
13077 (insertInset): call Pipl::insertInset
13078 (breakParagraph): do not call fitToSize
13079 (breakParagraphConservative): do not call fitToSize
13080 (fitToSize): remove method
13082 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13084 2001-06-24 The LyX Project <Asger>
13086 * Fix Qt compilation^2
13088 2001-06-24 The LyX Project <jug@sad.it>
13090 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13091 depthHook(getDepth()-1).
13094 * ParagraphParameters.h:
13095 * ParameterStruct.h: change type of depth to unsigned int ==
13096 depth_type. Many adaptations to other files before of that.
13098 2001-06-24 The LyX Project <Asger>
13100 * Fix Qt compilation.
13102 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13104 * paragraph.h: renamed several methods to begin with small letter.
13105 several changes to many parts of the code because of this.
13107 2001-06-23 The LyX Project <jug@sad.it>
13109 * text2.C (InsertStringAsLines): renamed from InsertStringA;
13110 rewritten to discard all double spaces when KeepEmpty is off
13111 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13112 to only handle newlines but not fiddle with spaces and friends.
13114 * lyxfunc.C (MenuNew): when doing 'new from template', use
13115 template_path as default directory
13117 2001-06-23 The LyX Project <Asger>
13119 * Clean-up of header file includes all over
13120 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13122 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13124 * paragraph.h: renamed from lyxparagraph.h
13126 2001-06-23 Asger <lyx@violet.home.sad.it>
13128 * Buffer.h: Removed Buffer::resize
13129 * BufferList.h: Removed BufferList::resize
13130 * LyXView.h: Added LyXView::resize. This way, we will only reflow
13131 the document lazily when we change the width, or the font settings.
13133 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13135 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13137 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13139 * buffer.h: remove out of date comment
13141 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13144 * screen.C: fix "theoretical" GC leak
13146 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13148 * LaTeX.C (scanAuxFile):
13149 (deplog): remove trailing \r when reading stream (useful under
13152 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
13154 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13155 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13156 and BufferView::theLockingInset(Inset*), so should use them and not
13157 access bv_->text->the_locking_inset directly.
13159 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13161 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13164 * tex-defs.h: remove old unused file
13166 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
13168 * BufferView_pimpl.C: fix typo, remove minibuffer message
13169 when buffer has loaded
13171 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13173 * lyxfunc.C (Dispatch): use stringstream
13174 (MenuNew): use stringstream
13175 (Open): use stringstream
13177 * importer.C (Import): use stringstream
13179 * bufferview_funcs.C (CurrentState): use stringstream
13181 * LaTeX.C (run): use stringstream
13183 * BufferView_pimpl.C (savePosition): use stringstream
13184 (restorePosition): use stringstream
13185 (MenuInsertLyXFile): use stringstream
13187 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
13200 * vspace.C: removed // -*- C++ -*- as first line.
13203 * version.h: added // -*- C++ -*- as first line.
13205 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13207 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13209 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13212 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13214 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13217 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13219 * gettext.C: include LString.h even when --disable-nls is on.
13221 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
13223 * converter.h (Get): changed argument type from int to
13224 FormatList::size_type to avoid unnecessary conversion.
13226 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13229 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13231 * gettext.h: include LString.h even when --disable-nls is on.
13233 2001-06-07 Juergen Vigna <jug@sad.it>
13235 * text.C (BreakAgain): subst spaces with tabs.
13237 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13238 (resizeInsetsLyXText): set force on resizeLyXText.
13240 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13242 * gettext.h (gettext_init):
13243 (locale_init): use a real definition instead of a macro
13245 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13247 * Bufferview_pimpl.C:
13249 * LColor.C: further lcolor tidies
13251 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13253 * BufferView_pimpl.C (updateScrollbar): simplify.
13255 * BufferView2.C: don't include insets/insetinfo.h, change
13256 prototype for insertInset and call the Pimpl version. let
13257 updateInset call Pimpl version.
13259 * BufferView.h: move inset_slept to BufferView::Pimpl, move
13260 gotoInset to BufferView::Pimpl
13262 2001-06-01 Juergen Vigna <jug@sad.it>
13264 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13265 inside a LockingInset (is the update needed at all?).
13267 2001-05-31 Juergen Vigna <jug@sad.it>
13269 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13270 here not the old one otherwise how should we compare it afterwards
13273 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13278 * FontInfo.C: bring C functions into global namespace when
13281 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13283 * LString.h: make sure config.h has been loaded before LString.h.
13285 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13286 (one for each char read by EatLine!).
13288 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13291 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13293 * paragraph.C (BreakParagraph): set the inset_owner in the new par
13294 to the same as the par we break from
13296 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
13298 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13300 * MenuBackend.C (expand): also create menu entries for wide
13301 versions of the floats.
13303 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13305 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13307 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13308 frontends/Makefile.am
13314 * tabular.C (getTokenValue): add std::
13316 * tabular-old.C (getTokenValue): add std::
13317 (getTokenValue): ditto
13318 (getTokenValue): ditto
13320 * screen.C (ToggleSelection): adjust
13322 * lyxtext.h: put selection cursors inside a Selection struct.
13324 * lyxfunc.C (moveCursorUpdate): adjust
13326 * lyxfont.C (latexWriteStartChanges): add std::
13328 * lyxfind.C: adjust
13330 * font.h: delete with(char const *, LyXFont const &)
13332 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13334 * FontInfo.C (getFontname): add std::
13336 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13337 (workAreaButtonPress): adjust
13338 (tripleClick): adjust
13340 (moveCursorUpdate): adjust
13343 * BufferView2.C (gotoInset): adjust
13345 2001-05-30 Juergen Vigna <jug@sad.it>
13347 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13348 to check pspell I add this as default as I now have new pspell
13349 libraries and they seem to use this.
13351 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13353 * text2.C (CutSelection): make the cursor valid before the call to
13356 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13358 * kbsequence.C (parse): de-uglify a bit the parsing code, which
13359 relied on 0 terminated strings and other horrors. Bug found due to
13360 the new assert in lyxstring!
13362 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13365 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13367 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13370 * lyxfunc.C (processKeySym): change method of getting to the
13373 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13374 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13375 * BufferView_pimpl.[Ch]: here as private methods.
13377 2001-05-28 Juergen Vigna <jug@sad.it>
13379 * text.C (SetHeightOfRow): added the update() call again as it is
13380 needed to initialize inset dimensions!
13382 2001-05-16 Juergen Vigna <jug@sad.it>
13384 * text2.C (SetCharFont): Add new function with BufferView * and
13385 bool toggleall parameters for setting insets internal fonts.
13386 (SetFont): Freeze the undo as we may change fonts in Insets and
13387 all this change should be inside only one Undo!
13389 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13390 setting font's in insets as for them we have the SetFont function!
13392 2001-05-15 Juergen Vigna <jug@sad.it>
13394 * text2.C (ClearSelection): to be sure we REALLY don't have any
13397 * tabular.C (TeXCellPreamble): fixed the left border problem for
13400 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
13402 * LaTeX.C (deplog): Make sure that the main .tex file is in the
13405 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13407 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13408 LFUN_BREAKPARAGRAPH.
13410 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13411 help test to "internal only", similar for LFUN_INSERT_URL
13413 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13414 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13415 auto_region_delete and deadkeys.
13417 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
13420 * LColor.C: remove some dead entries, tidy a little
13422 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13424 * lyxfunc.C (processKeySym): comment the Escape handling, remove
13426 (Dispatch): implement LFUN_ESCAPE
13428 * commandtags.h: add LFUN_ESCAPE
13430 * LyXAction.C (init): add entry for LFUN_ESCAPE
13432 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13433 Remove commented code.
13434 (insertNote): moved here
13435 (open_new_inset): moved here
13437 * BufferView[2].[Ch]: move insertNote and open_new_inset to
13440 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13442 * kbmap.C (findbinding): clean it up and make it work correctly.
13444 * lyx_main.C (init): do not pass argc and argv as parameters
13446 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
13448 * buffer.C: fix path for OS/2 & Win32
13452 * lyx_main.C: Added os:: class.
13454 * os2_defines.h: update
13456 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13458 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13459 better by trying again with reduced state.
13461 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13463 * lyxrc.C (read): print error about invalid key sequence only when
13464 debugging (because not all latinX keysyms are known to some X
13467 * kbsequence.C (getiso): add a few std:: qualifiers
13468 (getiso): comment out extra return statement.
13470 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
13472 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13474 (Dispatch): enhance the accent inset a bit. (not perfect)
13476 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13478 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13480 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13482 * bufferlist.C (emergencyWrite): fix assert() call
13484 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
13486 * text.C (InsertChar): Added trivial patch to only send the "you
13487 can not do multiple spaces this way" message once during a
13490 2001-05-08 Baruch Even <baruch@lyx.org>
13492 * Makefile.am: Changed order of libraries to get LyX to link properly
13493 with the gnome frontend.
13495 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13497 * LaTeXFeatures.h: add a std:: qualifier
13499 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13501 * paragraph.C (String): use stringstream
13503 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13505 * paragraph.C (writeFile): remove footflag arg
13507 * buffer.C (makeLaTeXFile): use stringstream
13508 (latexParagraphs): remove footnot gurba
13510 * LaTeXFeatures.C (getPackages): use stringstream
13511 (getMacros): likewise
13512 (getTClassPreamble): likewise
13513 (getFloatDefinitions): new method
13515 * paragraph.C (writeFile): reindent
13518 * WorkArea.h: revert the xpos + etc changes.
13520 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13522 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13524 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13525 (pasteSelection): likewise
13526 * text2.C (CreateUndo): likewise
13528 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13530 * minibuffer.C (peek_event): temporarily reduce the functionality
13531 of the minibuffer (to allow args on lfuns)
13533 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13534 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13536 * buffer.C (readInset): add compability reading of old float
13537 lists, add reading of new style float list.
13538 (readInset): avoid reevaluation of inscmd.getCmdName()
13539 (getLists): reindent
13541 * MenuBackend.C (MenuItem): implement parsing of
13542 md_floatlistinsert and md_floatinsert.
13543 (expand::LastFiles): move initalizaton of iterators out of loop,
13544 avoid reevaluation.
13545 (expand::Documents): introduce typdedef vector<string> Strings,
13547 (expand::ExportFormats): introduce typedef vector<Format const *>
13548 Formats, and use it.
13549 (expand): implement FloatListInsert and FloatInsert.
13551 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13552 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13553 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13555 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13557 (Dispatch::LFUN_FLOAT_LIST): implement
13559 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13561 * LaTeX.C (run): Fix problem with --export code.
13563 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13565 * BufferView.[Ch] (workarea): removed.
13566 (getClipboard) new method; wrapper for workarea()->getClipboard()
13568 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13571 * WorkArea.h (width, height, xpos, ypos): These methods all
13572 returned the dimensions of the work_area sub-area of WorkArea,
13573 resulting in a position error if the WorkArea were resized. Now
13574 return the dimensions of the entire WorkArea.
13576 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13578 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13580 * LaTeX.C (deplog): correct the syntax of regex reg1
13582 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13584 * undo.C: remove !NEW_INSETS cruft
13586 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13588 * text2.C: remove !NEW_INSETS cruft
13590 * text.C: remove !NEW_INSETS cruft
13592 * tabular.C: remove !NEW_INSETS cruft
13594 * spellchecker.C: remove !NEW_INSETS cruft
13596 * lyxtext.h: remove !NEW_INSETS cruft
13598 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13600 * lyxfunc.C: remove !NEW_INSETS cruft
13602 * lyxfind.C: remove !NEW_INSETS cruft
13604 * lyx_cb.C: remove !NEW_INSETS cruft
13606 * figureForm.C: remove !NEW_INSETS cruft
13608 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13610 * buffer.[Ch]: remove !NEW_INSETS cruft
13612 * ToolbarDefaults.C: remove !NEW_INSETS cruft
13614 * CutAndPaste.C: remove !NEW_INSETS cruft
13616 * BufferView_pimpl.C: remove !NEW_INSETS cruft
13618 * BufferView2.C: remove !NEW_INSETS cruft
13620 * BufferView.h: remove !NEW_INSETS cruft
13622 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13624 * Lsstream.h: include LString.h before the sstream headers to
13625 fix problem with gcc 2.95.3 and lyxstring
13627 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13629 * lyx_main.C: add using directives when needed for C functions
13630 declared in std:: namespace.
13632 2001-04-27 Juergen Vigna <jug@sad.it>
13634 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13635 (SetHeightOfRow): comment out the update call should not be needed!
13637 2001-04-13 Juergen Vigna <jug@sad.it>
13639 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13640 (LyXTabular): tried to minimize operator= operations (and realized
13641 hopfully Lars wish).
13643 2001-04-27 Juergen Vigna <jug@sad.it>
13645 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13647 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13649 * lyxfunc.C (Dispatch): hack to make listof algorithm work
13651 * buffer.C (readInset): hack to make listof algorithm work
13653 * BufferView_pimpl.C: hack to make listof algorithm work
13655 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13657 * LyXAction.C: removed all !NEW_INSETS cruft
13658 (init): moved lfun_item in method
13660 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13662 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13664 * BufferView2.C (theLockingInset): white space.
13666 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13668 * minibuffer.C: include <iostream>
13670 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13672 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13674 * commandtags.h: add LFUN_TRANSPOSE_CHARS
13676 * text.[Ch] (TransposeChars): new method
13678 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13680 * call message directly through LyXView instead of through LyXFunc
13681 * BufferView2.C: adjust
13682 * BufferView_pimpl.C: adjust
13683 * FontLoader.C: adjust
13685 * bufferview_funcs.C: adjust
13686 * converter.C: adjust
13687 * figureForm.C: adjust
13688 * importer.C: adjust
13690 * lyx_gui_misc.C: adjust
13691 * lyxfunc.C: adjust
13694 + more files in subdirs
13696 * lyxparagraph.h (size): move up int file
13699 * adjust all uses of Assert to lyx::Assert.
13701 * BufferView2.C (ChangeCitationsIfUnique): adjust for
13702 lyxfunctional in namespace lyx
13703 * layout.C (hasLayout): ditto
13706 (delete_layout): ditto
13707 (NumberOfClass): ditto
13708 * converter.C (GetFormat): ditto
13713 * bufferlist.C (getFileNames): ditto
13714 (emergencyWriteAll): ditto
13717 * MenuBackend.C (hasSubmenu): ditto
13720 * BufferView_pimpl.C (getInsetByCode): ditto
13722 2001-04-18 Juergen Vigna <jug@sad.it>
13724 * vspace.C (asLatexString): fixed the 100% problem.
13726 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13728 * lyxfunc.C (Dispatch):
13730 * minibuffer.h: add a few std:: qualifiers
13732 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13734 * minibuffer.[Ch]: reimplement so that commands is initiated and
13735 run from lyxfunc, simplified som handling, and made the completion
13736 and history code for complete. wip.
13738 * lyxfunc.C (processKeySym): call message
13739 (miniDispatch): new temporary method
13740 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13741 (LFUN_MESSAGE): implement
13742 (LFUN_MESSAGE_PUSH): implement
13743 (LFUN_MESSAGE_POP): implement
13744 (initMiniBuffer): the initial/defualt minibuffer message.
13746 * lyxfont.[Ch]: inline some more getters
13748 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13750 * lyx_gui_misc.[Ch] (WriteStatus): remove method
13752 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13753 (AutoSave): use LFUN_MESSAGE
13754 (Reconfigure): ditto
13756 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13758 * figureForm.C: use LFUN_MESSAGE
13760 * converter.C (runLaTeX): use LFUN_MESSAGE
13762 * bufferview_funcs.C: use LFUN_MESSAGE
13764 (changeDepth): ditto
13766 * bufferparams.h: use boost::
13768 * bufferlist.h: inherit privately from noncopyable
13770 * bufferlist.C (loadLyXFile): remove some commented code.
13772 * buffer.C (runChktex): use LFUN_MESSAGE
13774 * ShareContainer.h: inherit privately from noncopyable
13776 * ParagraphParameters.[hC] (depth): inline it.
13778 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13780 (message): new method
13781 (messagePush): ditto
13782 (messagePop): ditto
13783 (show): init minibuffer
13784 (showState): direct call
13786 * LaTeX.[Ch]: inherit privately from noncopyable
13787 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13788 instead of WriteStatus.
13790 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13792 * BufferView_pimpl.C (buffer): don't init minibuffer
13793 (workAreaButtonPress): use LFUN_MESSAGE
13794 (workAreaButtonRelease): ditto
13795 (savePosition): ditto
13796 (restorePosition): ditto
13797 (MenuInsertLyXFile): ditto
13798 (workAreaExpose): don't init minibuffer
13799 (update): remove commented code, simplify
13801 * BufferView2.C (openStuff): use LFUN_MESSAGE
13802 (toggleFloat): ditto
13805 (copyEnvironment): ditto
13806 (pasteEnvironment): ditto
13811 (updateInset): remove some commented code
13813 * lastfiles.h: inherit privately from noncopyable
13816 * lyx_main.h: ditto
13818 * lyxlex_pimpl.h: ditto
13820 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13821 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13822 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13824 * LyXAction.h: inherit privately from noncopyable, add methods
13825 func_begin, func_end, returning iterators to the func map.
13827 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13828 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13829 (func_begin): new method
13830 (func_end): new method
13832 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13834 (copySelection): ditto
13835 (pasteSelection): ditto
13837 * BufferView.C: whitespace change
13838 * BufferView.h: inherit privately from noncopyable
13840 2001-04-16 Allan Rae <rae@lyx.org>
13842 * tabular-old.C (l_getline):
13843 * spellchecker.C (sc_check_word):
13844 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13845 an unrecognised preprocessor directive. So ensure they're wrapped.
13847 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
13849 * src/exporter.C (Export): Give an error message when path to file
13852 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
13854 * LaTeX.C (deplog): Always check that foundfile exists.
13856 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13859 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13861 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13863 * tabular.[Ch] (getLabelList): implement new method
13865 * minibuffer.h: comment ouf setTiimer
13867 * minibuffer.C (ExecutingCB): constify res
13868 (peek_event): constify s
13869 (Set): constify ntext
13870 (Init): constify nicename
13872 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13874 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13875 (savePosition): use two params to Minibuffer::Set
13876 (restorePosition): ditto
13878 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13880 * lyx_main.C: include language.h
13882 * Makefile.am (lyx_main.o): add language.h
13884 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13890 * CutAndPaste.C: include gettext.h
13892 * lyxfont.h: remove old hack with ON and OFF.
13895 * lyxfont.h: do not include language.h...
13900 * bufferview_funcs.C:
13906 * paragraph.C: ... but do it here instead
13908 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13910 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13912 * tabular.C: small reformat
13914 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13917 (BreakParagraph): ditto
13918 (SetOnlyLayout): ditto
13921 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13924 * lastfiles.C: removed most using decl, add std:: where needed
13926 * buffer.C: ws changes
13928 * MenuBackend.C (class compare_format): put into anon namespace
13929 (expand): constify label, names, action, action2
13932 * text.C (SingleWidth): constify font
13933 (IsBoundary): constify rtl2
13934 (GetVisibleRow): constify ww
13936 * LaTeX.C (deplog): constify logfile
13938 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13940 (workAreaExpose): constify widthChange, heightChange
13942 * lyxrow.C (par): moved
13945 * lyxrow.h: as inlines here
13947 * lyxfont.h (shape): moved from lyxfont.C
13948 (emph): moved from lyxfont.C
13950 * lyxfont.C (LyXFont): use initialization list for all
13952 (shape): move to lyxfont.h as inline
13953 (emph): move to lyxfont.h as inline
13956 2001-04-04 Juergen Vigna <jug@sad.it>
13958 * vspace.C: had to include stdio.h for use of sscanf
13960 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
13963 * BufferView_pimpl.h: remove xforms cruft. Both classes are
13964 independent of xforms.
13966 2001-04-02 Juergen Vigna <jug@sad.it>
13968 * spellchecker.C: fixed namespace placing!
13970 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
13972 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13973 the LyXParagraph * is 0.
13975 2001-03-29 Juergen Vigna <jug@sad.it>
13977 * vspace.C: added support for %, c%, p%, l%.
13978 (stringFromUnit): added helper function.
13979 (asLatexString): changed to give right results for the %-values.
13981 * buffer.C: convert the widthp in a width%.
13983 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
13985 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13988 * figureForm.[Ch]: stripped the FD_from_figure manipulation
13989 code out of lux_cb.[Ch], ready for its (imminent?) removal.
13991 * lyx_cb.[Ch]: see above.
13993 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13997 * lyx.[Ch]: replaced by figure_form.[Ch].
14001 * lyxfunc.C: changed headers associated with above changes.
14003 2001-03-27 Juergen Vigna <jug@sad.it>
14005 * BufferView_pimpl.C: set the temporary cursor right!
14007 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
14009 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14011 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
14013 * LString.h: removed "using std::getline"!
14015 * BufferView_pimpl.C (Dispatch): changes due to changes in
14016 InsetInclude::Params.
14018 * buffer.C (tag_name): removed redundant break statements as they were
14019 producing lots of warnings with my compiler.
14021 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14023 * LString.h: add "using std::getline" when using the real <string>.
14025 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
14027 * buffer.C: removed bitset usage.
14028 PAR_TAG moved to an anonymous name space.
14029 (tag_name): new funtion, also in the anonymous namespace.
14030 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14031 (makeDocBookFile): clean code. Completed transition from string arrays
14033 (SimpleDocBookOnePar): code clean.
14035 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14037 * tabular.C: add some comments.
14039 2001-03-22 Juergen Vigna <jug@sad.it>
14041 * buffer.C (parseSingleLyXformat2Token): redone the minipage
14042 compatibility read a bit and fixed bug with minipage in different
14045 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
14047 * buffer.C (pop_tag): removed.
14048 (push_tag): removed.
14049 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14050 array replaced with vector. Added support for CDATA sections.
14051 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14053 (makeDocBookFile): XML conformant declaration of CDATA section,
14054 fixed bug related to <emphasis> in the first paragraph char.
14055 (sgmlOpenTag): exclude empty tags.
14056 (sgmlCloseTag): ditto.
14058 * buffer.h (pop_tag): removed.
14059 (push_tag): removed.
14061 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
14063 * language.h (Languages): added size_type and size().
14065 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14067 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14068 response on compability reading of minipages. One probliem is that
14069 the old usage of minipages was «flertydig»
14071 * several files here and in subdirs: don't use static at file
14072 scope use anon namespaces instead.
14074 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
14076 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14077 LaTeX output. This is necessary for Literate document
14080 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14082 * buffer.C: insert hfill when needed.
14084 * tabular.C (l_getline): use string::erase, small whitespace change.
14086 * BufferView_pimpl.C: try the anon namespace.
14087 * WorkArea.C: ditto
14089 2001-03-16 Juergen Vigna <jug@sad.it>
14091 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14092 otherwise it won't open options-dialogs.
14094 * buffer.C: honor pextraWidth(p) on converting minipages.
14096 * tabular.C (l_getline): changed the functions to strip trailing \r.
14098 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
14100 * BufferView_pimpl.C:
14101 * minibuffer..C: added "using SigC::slot" declaration.
14103 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14105 * lyxlex_pimpl.h: noncopyable is in namespace boost.
14111 * paragraph.C: ditto
14113 * lyxtext.h: NO_PEXTRA
14115 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14117 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14118 * ParameterStruct.h: ditto
14119 * ParagraphParameters.h: ditto
14120 * lyxparagraph.h: ditto
14122 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14124 * buffer.C: add compability for minipage alignment.
14125 (latexParagraphs): remove unwanted pextra check.
14127 * several files: remove CXX_WORKING_NAMESPACES
14129 * buffer.C (pop_tag): tie is in namespace boost
14131 * BufferView.h: noncopyable is in namespace boost
14133 * lyx_main.h: ditto
14136 * lastfiles.h: ditto
14137 * bufferlist.h: ditto
14138 * ShareContainer.h: ditto
14140 * LyXAction.h: ditto
14143 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14145 * Merging changes from BRANCH_MVC back into HEAD.
14147 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14149 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
14151 * BufferView_pimpl.C: change from intl.C
14155 * Makefile.am: move combox.*
14161 * intl.C: remove dialog (covered by prefs)
14163 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14165 * lyxfunc.C (Dispatch): removed redundant break statement.
14167 2001-03-14 Juergen Vigna <jug@sad.it>
14169 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14171 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14173 * buffer.C: add hack to fix compability reading of minipages.
14175 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
14177 * buffer.C (getLists): Cleanup.
14179 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14181 * lyxfont.C (update): don't honor toggleall on font size.
14183 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
14187 * Makefile.am: moved to frontends/xforms/
14191 * BufferView_pimpl.C: changes for moved mathpanel
14193 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14195 * gettext.h: fix gettext_init() in --disable-nls
14197 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14199 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14201 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
14204 * lyx.h: strip external form
14206 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14208 * BufferView_pimpl.C: add comment, destroySplash()
14210 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14212 * BufferView_pimpl.C:
14216 * lyxfunc.C: use re-worked insetinclude
14218 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14220 * buffer.C: add using std::stringstream.
14222 * lyx_cb.C: readd using std::ios.
14224 * buffer.C: add using std::map.
14226 * BufferView_pimpl.C: add using std::vector.
14228 * ShareContainer.h: add std:: to swap.
14230 * buffer.h: add some typedefs
14231 * buffer.C (getLists): use them
14232 (getLists): renamed from getTocList.
14233 add a counter for the different float types and use it in the
14235 (getLists): use the same counter for the NEW_INSETS and the "non"
14238 * lyx_cb.h: remove unused items, includes, using etc.
14240 * ShareContainer.h: remove some commented code, add more comments
14241 and "documentation".
14243 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14245 * buffer.C (getTocList): make the list also when NEW_INSETS is
14248 * buffer.h: remove TocType
14250 * buffer.C (getTocList): change to return a map<string,
14251 vector<TocItem> >, implement for dynamic number of list.
14253 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14254 * text2.C (PasteSelection): adjust
14255 * CutAndPaste.C (pasteSelection): adjust
14257 * FloatList.C (FloatList): update from the new_insets branch.
14258 * Floating.[Ch]: ditto
14259 * LaTeXFeatures.C: ditto
14261 * lyxlex_pimpl.C: ditto
14263 * paragraph.C (Last): remove when NEW_INSETS is defined.
14265 * other file: changes because of the above.
14267 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14269 * lyxparagraph.h: rename next to next_, previous to previous_,
14270 make them private for NEW_INSETS. Rename Next() to next(),
14271 Previous() to previous().
14273 * other files: changes because of the above.
14275 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
14278 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14281 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14283 * main.C (main): pass lyx_localedir to gettext_init().
14285 * gettext.h: remove locale_init and gettext_init macros
14287 * gettext.C (locale_init): new function
14288 (gettext_init): new function
14290 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14293 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
14295 * Moved credits to frontends:
14296 * credits.[Ch]: removed
14297 * credits_form.[Ch]: removed
14298 * lyx_gui_misc.C: remove credits stuff
14301 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14303 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14305 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14306 unneeded destructor.
14308 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14309 a standalone pointer again.
14311 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14313 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
14319 * ToolbarDefaults.C:
14328 * BufferView_pimpl.C: use new file dialog in GUII
14331 * lyx_cb.C: remove LayoutsCB to Toolbar
14333 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14335 * ShareContainer.h (get): add std:: qualifier
14337 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14339 * ShareContainer.h: define a proper ShareContainer::value_type
14340 type (and use typename to please compaq cxx)
14342 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14344 * lyxparagraph.h: move serveral local vars to
14345 ParameterStruct/ParagraphParameters., use ShareContainer in
14346 FontTable., make vars in FontTable private and add getter and
14349 * paragraph.C: changes because of the above.
14351 * lyxfont.h: remove copy constructor and copy assignment. (the
14352 default ones is ok), move number inside FontBits. move inlines to
14355 * lyxfont.C: add number to initializaton of statics, move several
14356 inlines here. constify several local vars. some whitespace
14357 cleanup. Dont hide outerscope variables.
14359 * Spacing.h: add two new constructors to match the set methods.
14361 * ShareContainer.h: new file, will perhaps be moved to support
14363 * ParameterStruct.h: new file
14365 * ParagraphParameters.h: new file
14367 * ParagraphParameters.C: new file
14369 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14370 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14372 * BufferView_pimpl.C: ParagraphParameter changes.
14373 * buffer.C: Likewise.
14374 * bufferview_funcs.C: Likewise.
14375 * text.C: Likewise.
14376 * text2.C: Likewise.
14378 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14380 * lyxfind.C (LyXReplace): do not redefine default argument in
14382 (IsStringInText): ditto
14383 (SearchForward): ditto
14384 (SearchBackward): ditto
14386 2001-03-06 Juergen Vigna <jug@sad.it>
14388 * lyxfind.C (IsStringInText): put parentes around expressions.
14390 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
14392 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14394 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
14396 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14398 * stl_string_fwd.h: add comment
14400 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14403 * tabular.C: remove unused DocBook methods
14409 killed DO_USE_DEFAULT_LANGUAGE
14411 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14413 * lyx_gui.C: do not include language.h.
14415 * bufferview_funcs.C (ToggleAndShow): do not provide optional
14416 arguments in function implementation.
14418 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14420 * BufferView_pimpl.C: add <ctime>
14422 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14424 * BufferView_pimpl.C: add using std::find_if
14426 2001-02-27 José Matos <jamatos@fep.up.pt>
14428 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14431 2001-02-11 José Matos <jamatos@fep.up.pt>
14433 * buffer.C (makeDocBookFile): command styles now have a parameter as
14434 "title" by default.
14436 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
14438 * layout_forms.[Ch]: removed
14439 * lyx_cb.[Ch]: out character
14440 * lyx_gui.C: out character
14441 * lyx_gui_misc.C: out character
14442 * bufferview_funcs.C: : out character,
14443 added toggleall as parameter in ToggleAndShow
14445 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
14447 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14449 * text2.C (SetCurrentFont): Disable number property at boundary.
14451 2001-02-26 Juergen Vigna <jug@sad.it>
14453 * lyxfunc.C (getStatus): added a string argument override function so
14454 that this is correctly called from LyXFunc::Dispatch if it contains a
14455 do_not_use_argument which is used!
14456 (Dispatch): added check for "custom" export and call appropriate func.
14458 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
14460 * lyxrc.C: Add language_command_local, language_use_babel and
14461 language_global_options.
14463 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14465 * buffer.C (makeLaTeXFile): Use language_use_babel and
14466 language_global_options.
14468 2001-02-23 Juergen Vigna <jug@sad.it>
14470 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14471 which works with LyXText and putted it inside BufferView. Here now we
14472 only call for that part the BufferView::Dispatch() function.
14474 * BufferView.C (Dispatch): added.
14476 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14477 functions which needs to use a LyXText over from LyXFunc.
14478 (MenuInsertLyXFile): added
14479 (getInsetByCode): added
14480 (moveCursorUpdate): added
14481 (static TEXT): added
14483 2001-02-22 Juergen Vigna <jug@sad.it>
14485 * BufferView_pimpl.C (update): call a status update to see if LyXText
14488 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14490 * vc-backend.C (revert): implement for CVS
14491 (getLog): implement for CVS
14493 2001-02-20 Juergen Vigna <jug@sad.it>
14495 * text2.C (ClearSelection): added BufferView param for inset_owner call
14497 * lyxfunc.C (TEXT): added this function and use it instead of
14498 directly owner->view()-text of getLyXText().
14500 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
14502 * src/layout_forms.C: out preamble
14503 * src/layout_forms.h: out preamble
14504 * src/lyx_cb.C: out preamble
14505 * src/lyx_cb.h: out preamble
14506 * src/lyx_gui.C: out preamble
14507 * src/lyx_gui_misc.C: out preamble
14508 * src/lyxfunc.C: connect with guii preamble
14510 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14512 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14514 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14516 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14517 whether to run bibtex.
14519 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14521 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14523 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14525 * Makefile.am (lyx_SOURCES): removed bibforms.h
14527 * vspace.h: doxygen
14529 * text.C (GetVisibleRow): make several local vars const
14531 * tabular.C: small cleanup.
14533 * lyxserver.C (callback): use compare instead of strncmp
14535 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14536 inlines to after class or to paragraph.C
14538 * lyxfont.h: remove friend operator!=
14540 * converter.h: move friend bool operator< to non friend and after
14543 * combox.h: small cleanup
14545 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14546 to inlines after class def.
14548 * buffer.C (pop_tag): use string operations instead of strcmp
14550 * bmtable.c: doxygen, small cleanup
14552 * LaTeX.h: remove friend operator==
14554 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14566 * BufferView_pimpl.C:
14567 * BufferView.[Ch]: remove cruft
14569 2001-02-14 Juergen Vigna <jug@sad.it>
14571 * lyxfunc.C: removed #if 0 unused code
14573 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14575 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14577 * text2.C (SetSelection): added a BufferView * parameter
14579 2001-02-13 Juergen Vigna <jug@sad.it>
14581 * lyxfunc.C (Dispatch): fixed protected blank problem.
14582 * BufferView2.C (protectedBlank): added LyxText * parameter.
14584 * tabular.C (AppendRow): forgot to set row_info of newly added row.
14585 (AppendColumn): same as above for column_info.
14587 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14588 (moveCursorUpdate): use a LyXText param for support of InsetText.
14590 * BufferView_pimpl.C (doubleClick): added support for InsetText.
14591 (tripleClick): ditto
14593 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14595 * BufferView_pimpl.C (update): added LyXText param to honor insets.
14597 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14599 * text2.C (SetSelection): set correct update status if inset_owner
14600 (ToggleFree): ditto
14602 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
14604 * tabular.C: remove some commented code.
14606 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
14608 * BufferView_pimpl.C: call hideSplash()
14610 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14613 * bibforms.h: remove
14616 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14617 add LFUN_CHILD_CREATE
14619 * counters.h: fix tiny typo
14624 * lyx.C: move splash to frontends/xforms/
14626 * lyx_gui_misc.C: move Include and Bibform to frontends
14628 * lyxvc.h: clarify comment
14630 * vspace.C: tiny housekeeping
14632 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
14634 * text.C (PrepareToPrint): RTL Fix.
14636 * paragraph.C (GetUChar): New method.
14637 (String): Use GetUChar.
14639 * buffer.C (asciiParagraph): Use GetUChar.
14641 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
14643 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14645 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
14648 * buffer.C: rename to getLogName(), handle
14649 build log / latex log nicely
14651 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14654 * MenuBackend.h: remove support for reference menuitem type.
14656 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
14658 * BufferView_pimpl.C: housekeeping
14659 * BufferView_pimpl.h:
14664 * minibuffer.h: move Timeout GUI-I
14666 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
14668 * lyxrc.C (read): Update converters data-structures.
14670 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
14672 * LaTeX.h (operator!=): add operator != for Aux_Info
14674 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
14676 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14678 * LaTeXLog.C: deleted, useful code moved to Buffer
14681 * buffer.C: new function getLatexLogName()
14687 * lyxfunc.C: use frontends for LaTeX and VC logs
14689 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14691 * LaTeX.h: yet another std:: that Allan forgot.
14693 * Variables.C (set): renamed from isset(), because this clashes
14694 with some HP-UX macros (grr).
14696 2001-02-06 Allan Rae <rae@lyx.org>
14698 * LaTeX.h: Another bug fix. Missing std:: this time.
14700 2001-02-04 Allan Rae <rae@lyx.org>
14702 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14703 floats problem. I've left it commented out because it's not quite
14704 correct. It should also test that the current object is a table or
14705 figure inset. But I haven't gotten around to figuring out how to do
14706 that. I *think* it'll be something like: "table" == inset.type()
14708 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14711 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
14713 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14714 all the citation/databases/styles in the auxilary file.
14715 (run): Rerun latex if there was a babel language error.
14717 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
14719 * text.C (Backspace): Preserve the font when changing newline char
14721 (BreakParagraph): If the cursor is before a space, delete the space.
14723 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14725 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
14727 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14728 new argument (code).
14729 (ChangeCitationsIfUnique): New method.
14731 * paragraph.C (GetPositionOfInset): Handle bibkey.
14733 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14735 * BufferView_pimpl.h: change type of Position::par_pos to
14736 LyXParagraph::size_type.
14738 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
14740 * BufferView_pimpl.C (savePosition, restorePosition): Write
14741 messages to minibuffer.
14743 2001-01-28 José Matos <jamatos@fep.up.pt>
14745 * buffer.C (makeDocBookFile): adds support for document language.
14746 A silly restriction on the name of LatexCommand types where removed.
14747 Added support for CDATA sections, allows to chars unescaped, used
14748 among others in code, to avoid escape < and >.
14750 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14752 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14753 saved positions instrad of a stack. Furthermore, a position is
14754 stored using paragraph id/paragraph position.
14756 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14757 Remove LFUN_REF_BACK.
14759 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14761 * converter.C (dvipdfm_options): New method.
14763 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
14765 * vspace.C (isValidLength): Fix for empty input string.
14767 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14769 * LyXAction.C (init): change description of LFUN_FIGURE to
14772 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14774 * LaTeX.C: add using directive
14776 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14778 * MenuBackend.C (expand): Fix the sorting of the formats.
14780 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
14782 * lyx_main.C: tiny error message fix
14784 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14786 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14787 calling fl_initialize(). This fixes the problem with ',' as
14788 decimal separator in text files.
14790 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14792 * trans.C (process): Fix the keymap bug.
14794 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
14796 * LaTeX.C (scanAuxFiles): New method. Provides support for
14797 multiple bibliographies (when using the bibtopic/bibunits pacakges).
14798 (scanLogFile) Scan for "run BibTeX" messages.
14800 * buffer.C (makeLaTeXFile): Do not load the ae package when using
14801 OT1 font encoding. Also, load the aecompl package if the ae
14804 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14806 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14808 * texrow.C (increasePos): turn two error messages into debug
14811 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
14813 * LaTeX.C (scanAux): Handle the \@input macro.
14814 (runBibTeX): Use scanAux().
14816 * language.C (latex_options_): New field.
14818 * LaTeXFeatures.C (getMacros): Add language macros.
14820 * buffer.C (makeLaTeXFile): Small fix.
14822 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14824 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14826 * text2.C: add a using directive.
14828 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
14833 * lyxfunc.C: kill LyXBell.
14835 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
14837 * text.C (IsBoundary): Remove the error message
14839 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14841 * lyxrc.C (setDefaults): Correct initialization value for
14844 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
14846 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14849 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14850 and GotoNextNote().
14852 * src/LyXAction.C: Added reference-next.
14854 * text.C (InsertChar): Use contains instead of strchr.
14856 * lyx_cb.C (MenuInsertLabel): Enable default value code.
14858 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
14860 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14861 alignment commands (when needed).
14863 * text.C (InsertChar): Add ':' to number separator chars.