2 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
4 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
5 bogus "rebuild cursor" code
7 2004-03-11 André Pönitz <poenitz@gmx.net>
9 * buffer.[Ch]: use InsetText instead of LyXText as container for
12 * dociterator.[Ch]: drop the BufferView * member which is not needed
13 anymore after the change to buffer.C
19 * BufferView_pimpl.[Ch]:
21 * cursor_slice.[Ch]: adjust
23 * text3.C: fix bug in mathDispatch
25 2004-03-08 André Pönitz <poenitz@gmx.net>
27 * undo.[Ch]: use 'StableDocumentIterator' as base for
30 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
33 * bufferparams.[Ch]: add jurabib support and param.
35 * LaTeX.C: add FIXME/comment.
37 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
39 * buffer.C: increment file format to 230.
41 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
43 * cursor.C (dispatch): avoid infinite loops
45 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
47 * rowpainter.C (paintSelection): fix x coordinates
49 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
51 * text.C (rowBreakPoint): fix breaking before displayed insets
53 2004-03-01 André Pönitz <poenitz@gmx.net>
55 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
57 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
69 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
75 * BufferView_pimpl.C: rename textwidth -> maxwidth,
76 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
78 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
80 * Bidi.[Ch] (computeTables): const correctness
81 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
82 fill_hfill, fill_label_hfill and x from Row
83 * lyxtext.h: prepareToPrint returns a RowMetrics
84 * rowPainter.C: adjust
85 * text.C (prepareToPrint): use width, not textWidth. adjust
86 (redoParagraphInternal, cursorX): adjust
87 * text2.C (getColumnNearX): adjust
88 (init): put a default value to the top LyXText::width
90 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
92 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
94 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
96 * lyxtext.h: add FontIterator class
98 * text.C (FontIterator, operator*, operator->, operator++): add
99 (rowBreakPoint, setRowWidth): adjust (fixing a
102 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
104 * BufferView_pimpl.C (workAreaDispatch): allow also
105 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
107 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
109 * text.C (rowBreakPoint): fix a bug showing with very large insets
111 2004-02-25 André Pönitz <poenitz@gmx.net>
114 * cursor.[Ch]: move some mathed specific code to mathed
116 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
118 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
119 use_tempdir in preferences
120 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
122 * lyx_main.C: ensure that tempdir is valid
123 * lyxlex.h: correct typo
124 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
125 * paragraph.[Ch] (isMultiLingual): make const
126 * cursor.[Ch] (openable): make const
128 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
130 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
132 2004-02-20 André Pönitz <poenitz@gmx.net>
134 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
136 * cursor.[Ch]: prepare for localized getStatus()
142 * text3.C: streamlines the LyXText cursor movement handlers a bit.
144 2004-02-20 André Pönitz <poenitz@gmx.net>
146 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
148 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
150 * text2.C (setCursorFromCoordinates): switch to absolute coords
153 * text3.C (dispatch): adjust
155 2004-02-16 André Pönitz <poenitz@gmx.net>
157 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
160 * cursor_slice.[Ch]: remove unneeded acessor function
162 * lyxtext.h: rename rtl() to isRTL()
170 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
172 * rowpainter.C (paintSelection): coord fix
174 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
176 * Spacing.C: compile fix
178 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
180 * cursor.C (dispatch): restore current_ before returning
182 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
184 * text2.C (cursorUp, cursorDown): fix coords
187 2004-02-12 André Pönitz <poenitz@gmx.net>
192 * text3.C: add LCursor & parameter to most cursor movement functions
193 remove usage of LyXText::cursorRow() and cursorPar()
195 * cursor.[Ch]: add textRow() needed members
198 * BufferView_pimpl.C:
201 * BufferView_pimpl.C: adjust
203 2004-02-11 André Pönitz <poenitz@gmx.net>
207 * BufferView_pimpl.C: shift undo/redo handling
209 * cursor.[Ch]: fix mathed crash
212 * lyxtext.h: move selectionAsText to LCursor
220 * rowpainter.C: fix excessive drawing
222 2004-02-06 André Pönitz <poenitz@gmx.net>
225 * BufferView_pimpl.[Ch]:
226 * text3.C: move some text specific LFUN handling
228 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
230 * text3.C (checkInsetHit): adjust coords
231 * text2.C (getColumnNearX): adjust coords
232 (edit): adjust coords
233 * text.C (getRowNearY): add two asserts
235 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
238 * format.C: add using std::distance to compile on gcc 2.95/stlport
240 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
242 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
244 2004-02-04 André Pönitz <poenitz@gmx.net>
246 * BufferView.[Ch] (insertInset):
247 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
252 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
254 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
255 on the default clause of the switch
256 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
257 wasn't catched by LCursor::dispatch
259 2004-02-03 André Pönitz <poenitz@gmx.net>
262 * cursor.[Ch]: some additional asserts
264 * undo.[Ch]: remove LyXText dependency in interface
268 * lyxtext.h (firstPar, lastPar): remove dead functions
273 * paragraph.[Ch]: adjust
275 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
277 * lyxfind.C (find): fix argument order in call to ::find
279 2004-02-02 André Pönitz <poenitz@gmx.net>
281 * cursor.[Ch]: remove direct access to anchor
283 * text.C: remove findText() hack
285 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
287 * iterators.[Ch] (lockPath): remove in favour of...
288 * BufferView.[Ch] (setCursor): this addition
289 * BufferView.C (putSelectionAt): adjust
290 * undo.C (performUndoOrRedo): adjust
291 * lyxfunc.C (dispatch): adjust
293 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
295 * iterators.C (lockPath): add a missing slice
296 * undo.C (performUndoOrRedo): remove redundant positioning code
298 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
300 * vc-backend.C (scanMaster): ";" -> ';'
302 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
304 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
307 * lyxtextclass.C (compare_name): rename to...
308 (LayoutNamesEqual): ...this
310 * lyxlex_pimpl.C (compare_tags): inherit from
311 std::binary_function, put back into anon namespace
313 * lyxfind.C (MatchString): inherig from std::binary_function
314 (findChange): use empty() istead of !size()
316 * format.C (FormatNamesEqual): new functor
323 * converter.C (compare_Converter): rename to...
324 (ConverterEqual): ...this, and fixup a bit.
325 (getConverter): use it, and make function const
326 (getNumber): use it, and make function const
330 * bufferlist.C: add using boost::bind
332 * MenuBackend.C (MenuNamesEqual): new functor
333 (hasMenu): use it, and make function const
334 (hasSubmenu): use nested bind to get rid of compare_memfun.
336 2004-01-30 André Pönitz <poenitz@gmx.net>
338 * BufferView_pimpl.C:
349 * text3.C: move some of the edit(x,y) handling to the insets
350 some coordinate changes.
352 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
354 * text.C: add using statements for std::advance and std::distance
356 * paragraph.C: add using statement for std::distance
358 * lyxfind.C: add using statement for std::advance
360 * cursor.C (region): remove std:: from swap
361 (openable): use nucleus in stead of operator->
363 * BufferView.C: add using statements for std::distance and std::swap
365 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
367 * iterators.C: Remove the pimple, move the needed structures to
368 the header file. Create accessor for the positions stack.
369 (asPosIterator): remove function
371 * PosIterator.C (PosIterator): move constructors to top of file
372 (PosIterator): reimplement the constructor taking a ParIterator in
374 (setFrom): new function
375 (operator!=): inline it
377 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
379 * lyxfind.C (replaceAll): use std::advance
381 * iterators.h: inherit from std::iterator.
383 * PosIterator.C (advance, distance): remove
384 * PosIterator.h: interit from std::iterator.
386 2004-01-26 André Pönitz <poenitz@gmx.net>
389 * BufferView_pimpl.[Ch]:
393 * bufferview_funcs.C:
404 * output_plaintext.C:
406 * paragraph_funcs.[Ch]:
407 * paragraph_pimpl.[Ch]:
413 * text3.C: more IU: dumps most of the rest of the mathcursor
414 implementation into cursor.[Ch]; "globalize" a bit of it.
416 2004-01-25 Angus Leeming <leeming@lyx.org>
418 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
420 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
422 * LaTeXFeatures.h: add nice_ and nice() const
423 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
425 2004-01-20 André Pönitz <poenitz@gmx.net>
428 * BufferView_pimpl.C:
430 * bufferview_funcs.C:
443 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
444 LCursor and mathcursor parts to LCursor and InsetBase.
446 2004-01-15 André Pönitz <poenitz@gmx.net>
448 * cursor_slice.[Ch]: add a few covienience functions
450 * funcrequest.[Ch]: remove BufferView * member
452 * BufferView_pimpl.C:
459 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
461 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
463 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
464 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
466 2004-01-13 André Pönitz <poenitz@gmx.net>
469 * lyxtext.h: hide cursor and selection anchor behind accessor function
472 * BufferView_pimpl.[Ch]:
474 * bufferview_funcs.C:
484 * cursor_slice.[Ch]: some integer type changes for inset unification
486 * lyxcursor.[hC]: remove, it's CursorSlice now.
489 * BufferView_pimpl.[Ch]:
490 * bufferview_funcs.C:
496 * textcursor.[Ch]: adjust
498 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
500 * text2.C (undoSpan): add and use
501 * text.C (breakParagraph): use undoSpan (fix bug 578)
504 2004-01-08 Angus Leeming <leeming@lyx.org>
506 * BufferView_pimpl.C (MenuInsertLyXFile):
507 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
508 * lyxfunc.C (menuNew, open, doImport):
509 FileFilterList change to the FileDialog open and save functions.
511 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
513 * ShareContainer.h: make isEqual and isUnique adaptable
515 * CutAndPaste.C: make resetOwnerAndChanges adaptable
517 2004-01-07 Angus Leeming <leeming@lyx.org>
520 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
522 * BufferView_pimpl.C (dispatch): act on these LFUNs.
524 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
525 functions replacing find, replace and replaceAll.
527 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
528 LFUN_WORDFIND(FORWARD|BACKWARD).
530 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
532 * text.C (breakParagraph): remove an outdated #warning
534 2004-01-07 André Pönitz <poenitz@gmx.net>
536 * lyxfind.C: somewhat clearer logic
538 * text.C: prevent crash in cursorX on unitialized row cache
540 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
542 * lyxcursor.[Ch] (operator>): add
543 * textcursor.C (selStart, selEnd): use std::min and std::max
545 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
547 * Chktex.C: include boost/format.hpp
549 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
551 * InsetList.C: replace functor MathcIt with adaptable functor
553 (insetIterator): modify accordingly
555 * BranchList.h: move the BranchNamesEqual functor here from...
556 * BranchList.C: ... to here
558 * BranchList.C: new BranchListEqual fuctor, use it. Remove
560 (add): replace a finding loop with std::find_if.
562 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
564 * output_docbook.C: moving LatexParam functionality into
567 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
569 * buffer.C: increment format to 229.
571 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
574 * lyx_sty.[Ch]: remove minipageindent_def
580 * text3.C: remove LFUN_INSET_MINIPAGE
582 2003-12-28 Angus Leeming <leeming@lyx.org>
584 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
586 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
588 * text2.C (setParagraph): fix off-by-one crash
590 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
592 * output_docbook.C: header stuff for AGU
594 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
596 * text2.C (redoCursor): remove
599 * BufferView_pimpl.C: remove calls to redoCursor and
600 setCursor(cursor.par(), cursor.pos()) all around
602 2003-12-15 Angus Leeming <leeming@lyx.org>
604 * buffer.C: up the format to 228.
606 2003-12-15 André Pönitz <poenitz@gmx.net>
608 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
613 * BufferView_pimpl.C:
622 2003-12-15 Angus Leeming <leeming@lyx.org>
624 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
625 than getFromGUIName to manipulate the color.
627 2003-12-14 Angus Leeming <leeming@lyx.org>
629 * BranchList.[Ch]: minimize the API.
630 (Branch::getBranch, getColor): now return a 'const &'.
631 (Branch::setSelected) now returns a bool set to true if the
632 selection status changes.
633 (BranchList::clear, size, getColor, setColor, setSelected,
634 allBranches, allSelected, separator): removed.
635 (BranchList::find): new functions, returning the Branch with
637 (BranchList::add, remove): return a bool indicating that
638 the operation was successful.
640 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
641 new InsetBranch::isBranchSlected member function.
643 * LColor.[Ch]: mimimize the API.
644 (fill): renamed as addColor and made private.
645 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
646 versions of these functions taking a string arg have been removed.
648 * bufferparams.C (readToken):
649 * lyxfunc.C (dispatch):
650 * lyxrc.C (read): changes due to the altered BranchList and
653 * factory.C (createInset, readInset): changes due to altered
656 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
659 * lyxfunc.C: remove insetminipage. "minipage-insert"
660 now produces a frameless minipage box inset.
662 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
664 * textcursor.[Ch] (selStart,selEnd): add new methods
665 remove selection::start, end, use LyXCursor::operator<
666 * lyxcursor.[Ch] (operator<): add
667 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
668 * BufferView.[Ch] (unsetXSel): add
669 * text2.C (clearSelection): use unsetXSel,adjust
672 * rowpainter.C: adjust
673 * bufferview_funcs.C (put_selection_at): adjust
675 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
677 * BufferView_pimpl.C: small coord. correction
679 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
681 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
682 dragging over the splash screen.
684 2003-12-11 Angus Leeming <leeming@lyx.org>
686 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
687 as it is now handled in LyXText::dispatch.
689 * text3.C (doInsertInset): remove a level of nesting.
691 2003-12-11 Angus Leeming <leeming@lyx.org>
693 * factory.C (createInset): changes due to the changed interface to
694 InsetCommandMailer::string2params.
696 2003-12-10 Angus Leeming <leeming@lyx.org>
698 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
699 'dialog-show-new-inset <inset name>'
701 2003-12-10 Angus Leeming <leeming@lyx.org>
703 * buffer.C: up the format to 227.
705 * factory.C: the box inset is now identified simply by 'Box'.
707 2003-12-10 Angus Leeming <leeming@lyx.org>
709 * buffer.C: up the format to 226.
711 * factory.C: the note inset is now identified simply by 'Note'.
713 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
715 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
716 when a pit is enough. Standarize a couple of loops.
718 2003-12-05 Angus Leeming <leeming@lyx.org>
720 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
721 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
722 data to the re-worked "log" dialog.
724 2003-12-03 André Pönitz <poenitz@gmx.net>
732 * text2.C: use Inset::getText instead of Inset::getParagraph
734 2003-12-03 André Pönitz <poenitz@gmx.net>
738 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
739 InsetText::read() as LyXText::read()
741 2003-12-02 Angus Leeming <leeming@lyx.org>
743 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
744 type. Add a comment in the implementation that the function uses
745 the stream's bad() function rather than fail() as the std::streams
748 2003-12-02 André Pönitz <poenitz@gmx.net>
750 * lyxlex.[Ch]: make interface more similar to std::stream
752 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
754 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
756 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
758 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
760 * vspace.[Ch]: remove VSpace::NONE
762 2003-12-01 André Pönitz <poenitz@gmx.net>
765 * lyxtext.h: move ParagraphList member to LyXText
766 rename LyXText::ownerParagraphs to LyXText::paragraph
769 * bufferview_funcs.C:
779 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
781 * undo.C: fix cursor positioning
783 2003-12-01 John Levon <levon@movementarian.org>
785 * BufferView_pimpl.C: fix a crash on exit with
788 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
790 * BranchList.C: fix setSelected() method.
792 2003-11-28 André Pönitz <poenitz@gmx.net>
794 * ParagraphParameters.[Ch]:
795 * ParameterStruct.h: remove space above/below from Paragraph to
798 * BufferView_pimpl.C:
810 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
812 * factory.C: Syntax change for CharStyles
814 2003-11-28 André Pönitz <poenitz@gmx.net>
819 * buffer.[Ch]: move LyXText member
821 2003-11-28 André Pönitz <poenitz@gmx.net>
823 * BufferView.[Ch]: make LyXText * text a private member
825 * BufferView_pimpl.C:
836 * output_plaintext.C: cleanup
838 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
841 * lyxtextclass.[Ch]: parametrize SGML document header
843 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
846 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
849 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
851 * text2.C (setFont): rework using PosIterator (no more recursive)
852 (setCharFont): no more needed
853 (setLayout): no more selection cursors fiddling (done by redoCursor)
854 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
855 destroy remaining ones)
857 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
859 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
861 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
864 * text3.C: adjust + re-allow multi par depth changes
865 * textcursor.C: simplify a bit
867 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
873 * src/output_docbook.C:
874 * src/output_latex.C:
879 * src/text2.C: Introducing a number of tags parametrizing various
880 XML formats that we may want to support
882 2003-11-25 André Pönitz <poenitz@gmx.net>
884 * InsetList.[Ch] (begein, end): inline as suggested by profiler
886 * lyxtext.h (leftMargin/rightMargin): simplify interface
893 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
895 * lyxfunc.C (dispatch): propogate the bibtex databases from the
896 master file to any child files. Fixes bug 546.
898 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
900 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
902 2003-11-24 André Pönitz <poenitz@gmx.net>
904 * rowpainter.C: simplification
906 * text2.C (updateCounters): remove call to redoParagraph on
907 changed labels as this is far too expensive.
909 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
911 * converter.C (convert): fix a crash: this function gets
912 called with buffer == 0 from importer code.
914 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
916 * text3.C (cursorPrevious): make sure that we do not compare
917 iterators form different containers.
920 * rowpainter.C (paintSelection): make sure that we do not compare
921 iterators from different containers.
923 * text3.C (dispatch): [PRIOR] make sure that we do not compare
924 iterators from different ParagraphList containers.
927 * text2.C (LyXText): change order of initialization slightly
928 (operator=): new function. copy all variables except cache_par_
929 (moveUp): make sure that we do not compare iterators from
930 different ParagraphList constainers.
933 * text.C (firstPar): new function
934 (lastPar): new function
935 (endPar): new function
937 * lyxtext.h: move things around and group public functions, public
938 variables, private functions, private variables
940 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
942 * factory.C: change call to InsetERT constructor to avoid
943 additional invocation of method status
944 * text2.C (toggleInset): remove redundant update() call
945 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
946 instead of a Bufferview pointer
948 2003-11-21 André Pönitz <poenitz@gmx.net>
950 * rowpainter.C: simplification
952 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
954 * text3.C (dispatch): make possible to extend a word/row selection
957 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
959 * lyxtext.h: x0_,y0_ -> xo_,yo_
960 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
961 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
962 * rowpainter.C (paintRows): paint full paragraphs
964 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
966 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
969 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
971 * lyxtext.h: add x0_, y0_
972 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
973 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
975 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
977 * text2.C (setCursorIntern): move the x_target update here *
978 * text3.C: change some bv() to true/false in calls to
979 cursorUp/Down/Right/Left
980 * cursor.C: use helper function.
982 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
984 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
985 * paragraph_funcs.[Ch]: correct comment
986 * rowpainter.C: do not paint selections away from bv->cursor()
987 Fix a long standing selection painting bug.
988 * text3.C: generalize mouse-selection code to LyXTexts other that
990 * textcursor.C: do not use y coords if we can use par offsets
992 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
994 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
995 cursor position after e.g. inset insert)
997 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
999 * lyxfind.C (replace): adjust to locking removal + some
1002 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
1004 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1007 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
1010 * output_docbook.C: XML sanitation: new layout
1011 parameters InnerTag and CommandDepth
1013 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
1015 * BufferView_pimpl.C:
1017 * text3.C: Fix the insertion and modification of button-style
1020 2003-11-13 André Pönitz <poenitz@gmx.net>
1022 * InsetList.[Ch]: remove deleteLyXText
1024 * paragraph.[Ch]: cache beginOfBody position
1029 * text3.C: remove superfluous update() calls
1033 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1035 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1036 * BufferView.C (fitLockedInsetCursor): remove
1037 * cursor.[Ch] (getDim): add
1038 * text.C (getRowNearY): add faster version
1039 * text3.C: remove some update calls
1041 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1053 * text3.C: The Character Style /XML short element patch.
1055 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
1058 * factory.C: Small step to solving 'unable to insert some insets'
1061 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1063 * cursor.[Ch] (updatePos): new function for updating the y
1064 position of the tip inset
1065 * bufferview_funcs.C (put_selection_at):
1066 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1068 2003-11-11 André Pönitz <poenitz@gmx.net>
1070 * text.C: remove big comment on invalid Paragraph pointers as it is
1073 2003-11-11 André Pönitz <poenitz@gmx.net>
1075 * text_funcs.[Ch]: merge with ...
1083 * Makefile.am: remove text_funcs.[Ch]
1085 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1087 * cursor.C (getPos): return absolute cached y coord
1089 * BufferView_pimpl.C (fitCursor): new simplistic code
1090 (workAreaDispatch): add a fitCursor call
1092 2003-11-10 André Pönitz <poenitz@gmx.net>
1095 * BufferView_pimpl.[Ch]: merge update() and updateInset()
1097 2003-11-10 André Pönitz <poenitz@gmx.net>
1099 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1100 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1101 indicate that the cursor needs to leave an inset
1103 * lyxtext.h: remove inset locking
1105 * cursor.[Ch]: re-implement functionality provided by inset locking
1108 * BufferView_pimpl.[Ch]:
1110 * bufferview_funcs.[Ch]:
1122 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1124 * PosIterator.[Ch]: replace the stack with a vector, add inset
1126 * iterators.[C]: adjust
1128 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1130 * lyxfind.C (replaceAll): mark the buffer dirty if something was
1132 * paragraph_funcs.C (readParToken): put the correct id in the
1133 error item, not the id of the top paragraph
1135 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1137 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1138 * bufferview_funcs.C (put_selection_at): use the above
1140 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1142 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1144 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1146 * output_linuxdoc.h:
1147 * output_plaintext.h:
1149 * output_docbook.h: add #include statements
1151 2003-11-05 José Matos <jamatos@lyx.org>
1153 * output_docbook.[Ch]:
1154 * output_latex.[Ch]:
1155 * output_linuxdoc.[Ch]:
1156 * output_plaintext.[Ch]: New files for output formats.
1157 * output.[Ch]: New file for helper functions.
1160 * paragraph_funcs.[Ch]: output functions moved to new files.
1162 * outputparams.h: rename of latexrunparams.h
1170 * paragraph_funcs.[Ch]:
1171 * paragraph_pimpl.[Ch]:
1172 * tabular.[Ch]: rename ascii to plaintext
1173 and LatexRunParams to OutputParams.
1175 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1177 * iterators.[Ch] (text): require bv argument
1178 * undo.C (recordUndo):
1179 * lyxfunc.C (dispatch):
1180 * bufferview_funcs.C (put_selection_at): adjust
1182 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
1184 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1186 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1188 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1191 2003-11-04 André Pönitz <poenitz@gmx.net>
1193 * cursor.[Ch]: restructure
1196 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1198 * iterators.[Ch] (asCursor): remove
1200 * lfuns.h: remove LFUN_INSET_EDIT
1206 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1208 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1210 * lyxfind.[Ch]: complete overhaul
1211 * BufferView_pimpl.C:
1213 * paragraph.[Ch] (insert): add
1215 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1219 * text.C: remove dead spellcheck code
1221 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1223 * dispatchresult.h: add a val setter
1225 * cursor.C (dispatch): use a tempvar for data_[i]
1227 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1229 * PosIterator.[Ch]: compile fix
1231 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1233 * text.C (cursorPar): deactivate the cursor cache
1235 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1237 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1239 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1241 * text3.C (dispatch): adjust for new DisptchResult semantics.
1243 * lyxfunc.C (dispatch): handle update when return from
1244 Cursor::dispatch, adjust for new DispatchResult semantics.
1246 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1247 DispatchResult(true) mean to not update. Add class functions for
1248 setting dispatched and update, as well as reading.
1250 * cursor.C (dispatch): don't handle update here
1252 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1254 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1255 * trans_mgr.C: adjust
1257 * paragraph_funcs.C (readParToken): exception safety
1259 * lyxvc.h: store the vcs pointer in a scoped_ptr
1262 * lyxsocket.C (serverCallback): exception safety
1264 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1266 * ispell.C (clone): make it return a auto_ptr
1268 * factory.C (createInset): exception safety
1269 (readInset): exception safety
1271 * bufferlist.C (newBuffer): exception safety
1273 * Thesaurus.C (Thesaurus): use initialization for aik_
1275 * MenuBackend.C (expandToc): exception safety.
1277 2003-11-03 André Pönitz <poenitz@gmx.net>
1281 * bufferview_funcs.C: remove getInsetFromId()
1284 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1290 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1292 * PosIterator.C (distance, advance): new
1293 * bufferview_funcs.[Ch] (put_selection_at): new
1294 * iterators.[Ch] (lockPath): new
1296 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
1298 * iterators.[Ch] (asPosIterator): added
1299 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1300 * PosIterator.[Ch]: added
1302 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1306 * cursor.C (dispatch):
1307 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1309 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1310 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1311 contructor, add a class function dispatched. Remove operator>=
1313 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1315 * debug.C: only use the default constructor for debugstream
1318 * main.C (main): include debug.h and setup the lyxerr streambuf
1321 2003-10-31 José Matos <jamatos@lyx.org>
1323 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1325 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1326 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1327 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1328 * paragraph_pimpl.C (simpleTeXSpecialC):
1329 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1330 add LatexRunParams argument.
1332 * exporter.C (Export): change call accordingly.
1334 * latexrunparams.h: add new member to take care of the other backends.
1335 2003-10-30 José Matos <jamatos@lyx.org>
1337 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1338 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1339 factorise code for paragraph output.
1341 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1344 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1346 * text3.C (dispatch):
1347 * lyxfunc.C (dispatch):
1348 * cursor.C (dispatch):
1349 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1351 * dispatchresult.h: make the dispatch_result_t ctor explicit
1353 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1356 * buffer.C: small refactoring of docbook stuff
1358 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1360 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1363 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1365 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1366 operator dispatch_result_t, and operators for == != and >=
1368 * cursor.C (dispatch): adjust for operator dispatch_result_t
1369 removal. comment out call to update
1371 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1373 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1381 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1384 * dispatchresult.h: new file, DispatchResult broken out of
1387 * Makefile.am (lyx_SOURCES): add dispatchresult.h
1389 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1391 * text.C (rowBreakPoint): put a hack inside #if 0
1393 2003-10-28 André Pönitz <poenitz@gmx.net>
1397 * paragraph_funcs.C:
1400 * text2.C: general cleanup (lots of small stuff)
1402 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1404 * text2.C (cursorEnd): simple fix to the "end key goes to one
1405 before the end on last row" bug
1407 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1409 * text.C (backspace): fix the "zombie characters"
1411 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1413 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1415 2003-10-27 André Pönitz <poenitz@gmx.net>
1417 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1419 * factory.C: handle new InsetPagebreak, InsetLine
1421 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1422 and move handling into new InsetPagebreak, InsetLine
1424 * BufferView_pimpl.C:
1426 * ParagraphParameters.C:
1427 * ParameterStruct.h:
1432 * paragraph_funcs.C:
1433 * paragraph_pimpl.C:
1439 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1442 * lyxrow_funcs.[Ch]:
1448 * text3.C: remove lastPos uses in favour of Row::endpos
1450 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1452 * undo.C (performUndoOrRedo): fix two crashes by setting a
1453 cursor by hand and reordering some calls. Use bv->lockInset instead
1454 of inset->edit because the latter loses cursor information
1456 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
1458 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1460 (rowBreakPoint): fix width. change point to point + 1.
1461 Add a missing check.
1463 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
1466 * lyxfunc.C: fix (at least partly) the problems
1467 with the Nav menu and headers inside branch insets
1470 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
1472 * paragraph.C (getChar): add strong asserts
1474 * lyxrow_funcs.C (lastPos): remove hideous hack
1476 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1477 (fill): adjust to that (avoid an infinite loop)
1479 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1481 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1483 2003-10-23 André Pönitz <poenitz@gmx.net>
1485 * RowList_fwd.h: change list<> to vector<> to gain speed
1486 after suggestion from Alfredo
1488 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1490 * lyxtext.h: move the bidi stuff from here...
1493 * Bidi.[Ch]: ... to here
1495 2003-10-23 André Pönitz <poenitz@gmx.net>
1498 * text.C (isLastRow, isFirstRow): new functions
1500 * paragraph.h: new width cache member
1502 * rowpainter.C: replace RowList::iterator with Row & where possible
1504 * lyxfunc.C: replace several view()->text with a single call
1506 * toc.C: fix 'unused' warning
1508 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1510 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1511 when woring with stream::pos_type
1512 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1514 2003-10-22 André Pönitz <poenitz@gmx.net>
1517 * text.C: use Row & instead of RowList::iterator
1519 * lyxrow.h: rename end() to endpos()
1525 2003-10-22 Angus Leeming <leeming@lyx.org>
1527 * buffer.[Ch] (fully_loaded): new member function, returning true
1528 only when the file has been loaded fully.
1529 Used to prevent the premature generation of previews and by the
1530 citation inset to prevent computation of the natbib-style label.
1532 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1533 templates are all set up.
1535 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1537 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
1539 * text.C: fixed an "oops" in the "is a bit silly"
1542 2003-10-21 André Pönitz <poenitz@gmx.net>
1544 * FuncStatus.[Ch]: small stuff, whitespace
1546 * lyxfont.[Ch]: operator<<() for debug reasons
1550 * lyxtext.h: whitespace, spelling
1552 * paragraph.C: naming of variables
1555 * text2.C: small stuff
1558 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1560 * text.C: (1) finish off the inset display() work;
1561 (2) fix the "is a bit silly" bug (accessing char
1564 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1566 * text.C: re-introduce display() for insets, fixing the
1567 various bugs (stretch of line above, math inset
1570 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1572 * text.C (rightMargin): remove spurious semicolon
1574 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1577 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1579 * text3.C: fix one crash due to wrong cursor def
1581 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1583 * vc-backend.C (scanMaster): make the regex static
1585 * LaTeX.C (scanAuxFile): make the regexs static
1587 * text3.C (doInsertInset, dispatch, dispatch):
1588 * text2.C (cursorUp, cursorDown):
1589 * text.C (selectNextWordToSpellcheck):
1590 * BufferView_pimpl.C (dispatch):
1591 * lyxfunc.C (dispatch): localDispatch -> dispatch
1593 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1595 * lyxsocket.C: include <cerrno>
1597 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1599 * lyxfunc.C (dispatch): remove textcache stuff
1601 * bufferlist.C (release): remove textcache stuff
1604 * TextCache.C: delete file
1605 * TextCache.h: delete file
1607 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1609 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1610 delete of the bv_->text.
1611 (resizeCurrentBuffer): remove texcache stuff
1612 (workAreaResize): ditto
1614 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1616 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1619 2003-10-16 André Pönitz <poenitz@gmx.net>
1626 * text3.C: speed up by storing y positions per paragraph plus per-row
1627 offset instead of having a 'full' y position in the row.
1629 2003-10-15 André Pönitz <poenitz@gmx.net>
1633 * undo.[Ch]: make undo aware of inner insets
1635 2003-10-14 Angus Leeming <leeming@lyx.org>
1637 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1638 static member functions LyX::ref() and LyX::cref.
1639 (lastfiles): new accessor functions for the new lastfiles_ member var.
1640 (addLyXView, views_): add a new LyXView to the list of views_.
1641 (updateInset): loop over all LyXViews to call their own updateInset
1642 member function, returning a pointer to the Buffer owning the inset.
1644 * BufferView_pimpl.C (loadLyXFile):
1645 * MenuBackend.C (expandLastfiles):
1646 * bufferlist.C (MenuWrite, QuitLyX):
1647 lastfiles is no longer a global variable.
1648 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1650 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1651 static function. Access through LyX::cref().emergencyCleanup().
1653 2003-10-14 André Pönitz <poenitz@gmx.net>
1655 * iterators.[Ch]: new direct access to innermost LyXText and Inset
1657 * undo.[Ch]: restoring part of 'undo in insets'
1660 * undo_funcs.[Ch]: merge with undo.[Ch]
1662 * tabular.C: small cleansing stuff
1664 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
1666 * paragraph_funcs.C (readParToken): report unknown insets as error
1667 boxes. Use the outer paragraph as location (also for unknown
1670 * factory.C (readInset): do not abort on reading an unknown inset.
1671 Eat it and return 0.
1673 2003-10-13 Angus Leeming <leeming@lyx.org>
1675 * lyx_main.C (LyX): remove call to setDisplayTranslator().
1677 * lyxrc.C: displayTranslator is now a function,
1678 declared in GraphicsTypes.h.
1680 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1682 * format.C: new placeholder $$a to pass the socket address.
1684 * bufferlist.[Ch]: new function getBufferFromTmp.
1686 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1687 files in the temporary dir.
1689 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1691 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1693 * Makefile.am: add lyxsocket.[Ch].
1695 * lyx_main.C (error_handler): handle SIGPIPE.
1697 2003-10-13 André Pönitz <poenitz@gmx.net>
1699 * BufferView_pimpl.C:
1704 * undo_funcs.[Ch]: use paroffset_type instead of
1705 ParagraphList::iterators to prevent multiple conversion
1706 (and get a more robust interface)
1708 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1710 * lyxfunc.C (dispatch): RESULT -> dispatch_result
1712 * text3.C (dispatch): ditto
1714 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1716 * LaTeX.C (handleFoundFile): move the static to smaller scope,
1717 move the onlyfile, use onlyfile instead of foundfile in a couple
1720 * DepTable.C (update): flush the error stream a bit more
1722 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1724 * lyxserver.C (callback): adjust
1726 * lyxfunc.C (getStatus): add a missing brace in commented code
1727 (ensureBufferClean): reindent
1728 (dispatch): delete version taking a string
1730 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1732 * LaTeX.C (deplog): move found file handlig from here...
1733 (handleFoundFile): .. to new function here.
1734 (deplog): make sure to discover several files mentioned on the
1737 2003-10-10 André Pönitz <poenitz@gmx.net>
1744 * text3.C: fix some of the tabular crashes
1746 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1748 * MenuBackend.C (binding): put debug message into Debug::KBMAP
1750 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1752 2003-10-09 André Pönitz <poenitz@gmx.net>
1754 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1757 * BufferView_pimpl.C:
1758 * bufferview_funcs.C:
1769 * undo_funcs.C: adjust
1771 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1773 * text2.C (incrementItemDepth): new function, use a backtracking
1774 algorithm to discover the correct item depth.
1775 (resetEnumCounterIfNeeded): new function, use a backtracking
1776 algorithm to discover if counter reset is needed.
1777 (setCounter): use them. Simplify a bit. Add different labels for
1778 different item depths for itemize.
1780 * paragraph.C (Paragraph): remove initialization of enumdepth
1783 * paragraph.h: get rid of enumdepth, and use itemdepth both for
1784 enumerate and itemize. Change the type of itemdepth to signed char.
1786 2003-10-08 André Pönitz <poenitz@gmx.net>
1788 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1793 * tabular.[Ch]: fix crash after 'row-insert'
1795 2003-10-08 Angus Leeming <leeming@lyx.org>
1797 Fix doxygen warnings.
1799 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1800 Remove CutAndPaste:: prefix from header file declaration.
1802 * LColor.h (fill): remove LColor:: prefix from declaration.
1804 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1805 use lyx::depth_type rather than Paragraph::depth_type so that
1806 header file and .C file match.
1808 * converter.h (intToFormat): remove Converters:: prefix from declaration.
1810 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1811 * aspell.C: \file aspell_local.C -> \file aspell.C
1812 * gettext.C: \file gettext.C -> \file src/gettext.C
1813 * gettext.h: \file gettext.h -> \file src/gettext.h
1814 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1815 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1816 * text.C: \file text.C -> \file src/text.C
1818 * toc.C: move comment so that doxygen is not confused.
1820 2003-10-07 Angus Leeming <leeming@lyx.org>
1822 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1824 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1827 * aspell_local.h: add forgotten std::string's.
1829 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1836 * text3.C: The Box patch. Fancybox support, minipage, parbox
1838 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1844 * ParagraphParameters.h:
1854 * lyxtextclasslist.h:
1857 * paragraph_pimpl.C:
1858 * textcursor.h: add <string> and other small fixes to make Lars'
1859 std::string patch compile with STLport.
1861 2003-10-06 Angus Leeming <leeming@lyx.org>
1863 * LColor.h: Add missing #include <string>.
1865 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1867 * All most all file in all subdirs: Make <string> be the prefered
1868 way of getting to std::string, add using declarations.
1870 2003-10-06 André Pönitz <poenitz@gmx.net>
1872 * metricsinfo.C: initialize LyXFont before changing attribute.
1873 (fixes the 'math in \emph is upright' bug)
1875 2003-10-06 André Pönitz <poenitz@gmx.net>
1877 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1879 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
1882 * paragraph_pimpl.C: Small fixes to build using STLport
1884 2003-10-02 André Pönitz <poenitz@gmx.net>
1887 * text3.C: move handling of LFUN_DEPTH *; fix #1360
1889 2003-10-01 André Pönitz <poenitz@gmx.net>
1891 * factory.C: assert early
1893 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1895 * lyx_main.C: remove the global debug object
1897 * debug.h: adjust for new debugstream
1899 * debug.C: adjust for new debugstream and keep the global debug
1902 2003-09-22 Angus Leeming <leeming@lyx.org>
1904 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1905 of g++ which otherwise complain that the scoped_ptr destructor can't delete
1906 an incomplete class LyXFont.
1908 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1910 * factory.C: bug fix in branches
1912 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1914 * lyxfunc.C (processKeySym): adjust
1916 (dispatch): change arg name from ev to func, adjust
1917 (sendDispatchMessage): ditto
1919 * lyx_main.C (defaultKeyBindings): adjust keybindings
1920 (deadKeyBindings): ditto
1922 * kbsequence.C (addkey): return a FuncRequest
1924 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1926 * kbmap.C (bind): take a FuncRequest as arg, adjust
1929 (defkey): change to take a FuncRequest as arg, adjust
1930 (findbinding): take a FuncRequest as arg, adjust.
1932 * funcrequest.h (operator=): added
1934 * funcrequest.C (FuncRequest): default kb_action changed from
1935 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1937 * buffer.C (dispatch): simplify
1938 (dispatch): adjust to take a FuncRequest as arg, adjust
1940 * boost.C (assertion_failed): change assertion message slightly
1942 * ToolbarBackend.C (read): simplify
1944 * MenuBackend.C (binding): adjust call to findbinding, add a
1945 message if no binding is found.
1947 (expandToc): correct by adding a empty FuncRequest
1949 * LyXAction.C: include <boost/assert.hpp>
1950 (isPseudoAction): delete function
1951 (LookupFunc): change name to...
1952 (lookupFunc): this. change return type to FuncRequest.
1953 (getActionName): take kb_action as arg, simplify
1954 (funcHasFlag): add an assert, simplify.
1956 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1958 * toc.C (action): return a FuncRequest, simplify
1960 * lyxfunc.C (processKeySym): adjust
1961 (getStatus): delete version that takes an int.
1963 (dispatch): delete version that takes action as int
1965 (sendDispatchMessage): simplify and adjust
1967 * funcrequest.C (getArg): take unsigned int as arg
1969 * ToolbarBackend.C (read): adjust
1970 (add): delete version that takes func as a string.
1971 (getIton): take a FuncRequest as arg
1973 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1976 * MenuBackend.C (MenuItem): add a new construct that only takes a
1977 Kind, simplify the constructor use for submenus.
1979 (expandLastfiles): adjust
1980 (expandDocuments): adjust
1981 (expandFormats): adjust
1982 (expandFloatListInsert): adjust
1983 (expandFloatInsert): adjust
1984 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1986 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1987 Remove class variables lyx_pseudo_map and lyx_arg_map
1989 * LyXAction.C (searchActionArg): delete function
1990 (getPseudoAction): delete function
1991 (retrieveActionArg): delete function
1992 (LookupFunc): make it return kb_action, simplify.
1993 (getActionName): simplify
1995 * factory.C (createInset): fix new bug
1997 2003-09-19 Angus Leeming <leeming@lyx.org>
1999 * CutAndPaste.C (pasteSelection): remove fudge used to set the
2000 masterFilename_ parameter in the include inset.
2002 * factory.C (createInset): changes due to the changes to InsetInclude.
2004 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2006 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2008 2003-09-18 Angus Leeming <leeming@lyx.org>
2011 * BufferView.C: pass the buffer when calling Inset::getLabelList,
2012 Inset::fillWithBibKeys.
2013 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2015 2003-09-18 Angus Leeming <leeming@lyx.org>
2017 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2019 (ctor): pass and store a 'Buffer const &'
2020 (buffer): new member function.
2022 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2023 '*this' to the LaTeXFeatures ctor.
2025 2003-09-18 Angus Leeming <leeming@lyx.org>
2031 * text.C: rename EnumLColor as LColor_color.
2033 2003-09-18 Angus Leeming <leeming@lyx.org>
2035 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2036 remove #include "insets/insetbase.h" from cursor.h.
2038 2003-09-18 Angus Leeming <leeming@lyx.org>
2040 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2041 InsetOld_code to remove #include "inset.h".
2043 * iterators.C: add #include "insets/inset.h"
2045 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
2047 * BufferView.C: remove more locking stuff that apparently doesn't
2048 do anything sensible.
2050 2003-09-16 André Pönitz <poenitz@gmx.net>
2053 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2056 2003-09-16 Angus Leeming <leeming@lyx.org>
2058 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2060 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2063 * paragraph.h: remove #include "lyxfont.h". Forward declare
2066 2003-09-16 Angus Leeming <leeming@lyx.org>
2068 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2069 of support/textutils.h.
2070 (isWord): move the contents of support/textutils.h's IsWordChar here.
2076 * text2.C: add #include "paragraph.h".
2079 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2081 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2087 * LaTeX.C: use namespace alias for lyx::support::os
2089 2003-09-16 Angus Leeming <leeming@lyx.org>
2092 * bufferview_funcs.C:
2095 * paragraph_pimpl.C:
2097 * text.C: add #include "LColor.h".
2099 2003-09-16 Angus Leeming <leeming@lyx.org>
2101 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2102 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2104 Store the FontBits::color variable as an int rather than as an
2105 LColor::colorso that we can move LColor.h out of the lyxfont.h header
2108 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2109 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2110 string calls together.
2112 * lyxrc.C: add #include "LColor.h".
2114 2003-09-15 Angus Leeming <leeming@lyx.org>
2116 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2119 2003-09-15 Angus Leeming <leeming@lyx.org>
2121 * LColor.h: add an EnumLColor wrapper for LColor::color.
2123 * lyxfont.[Ch] (color, setColor, realColor):
2124 * lyxtext.h, text.C (backgroundColor):
2125 pass EnumLColor args to/from the functions, rather than LColor::color
2129 * lyxtext.h: forward declare EnumLColor.
2131 * lyx_main.C: add #include "LColor.h".
2133 2003-09-15 Angus Leeming <leeming@lyx.org>
2135 * .cvsignore: add lyx-gtk.
2137 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2142 * ParagraphParameters.C
2146 * bufferview_funcs.C
2156 * vc-backend.C: remove usage of STRCONV
2158 2003-09-15 Angus Leeming <leeming@lyx.org>
2160 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2161 explicitly define the color passed to the painter.
2163 2003-09-15 Angus Leeming <leeming@lyx.org>
2165 * bufferparams.C (BufferParams): reorder member initializers to avoid
2168 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
2170 * CutAndPaste.C (pasteSelection): remove an outdated #warning
2171 * text.C (updateRowPositions): remove an unusual nop
2173 2003-09-12 André Pönitz <poenitz@gmx.net>
2175 * BufferView_pimpl.C:
2184 * Counters.[Ch]: finish the 'automatic counters' job
2186 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2188 * aspell.C: include <boost/assert.cpp> (compile fix)
2190 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2192 * boost.C (assertion_failed): use lyx::support::abort instead of
2195 2003-09-10 Angus Leeming <leeming@lyx.org>
2197 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2198 with their _fwd progeny.
2200 2003-09-09 Angus Leeming <leeming@lyx.org>
2202 134 files throughtout the source tree: replace 'using namespace abc;'
2203 directives with the appropriate 'using abc::xyz;' declarations.
2205 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2207 * boost.C (emergencyCleanup): moved here from LAssert.c
2208 (assertion_failed): new function, called by BOOST_ASSERT
2210 * several files: change Assert to BOOST_ASSERT
2212 2003-09-09 Angus Leeming <leeming@lyx.org>
2214 * buffer.[Ch]: Add an Impl class and move Buffer's member
2215 variables into it. As a result move several header files out of
2218 Add header files to lots of .C files all over the tree as a result.
2220 2003-09-09 Angus Leeming <leeming@lyx.org>
2222 * buffer.[Ch]: make Buffer's member variables private. Add
2225 Lots of changes all over the tree as a result.
2227 2003-09-08 Angus Leeming <leeming@lyx.org>
2229 * graph.C: #include <config.h>.
2231 2003-09-08 Angus Leeming <leeming@lyx.org>
2235 * BufferView_pimpl.C:
2264 * toc.C: remove redundant using directives.
2266 2003-09-07 Angus Leeming <leeming@lyx.org>
2268 * LaTeXFeatures.h: remove #include "support/types.h".
2269 * ToolbarBackend.h: remove #include <algorithm>.
2270 * changes.h: remove #include <ctime>.
2271 * debug.h: remove #include <iosfwd>.
2272 * graph.h: remove #include "support/std_string.h".
2273 * lyx_main.h: remove #include <csignal>.
2274 * lyxlex_pimpl.h: remove #include <fstream>.
2275 * sgml.h: remove #include <algorithm>, <utility>.
2276 * toc.h: remove #include "support/std_ostream.h".
2277 Add #include <iosfwd>.
2279 2003-09-07 Angus Leeming <leeming@lyx.org>
2281 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2283 * converter.h: forward declare LatexRunParams.
2284 * encoding.h: remove #include "lyxrc.h".
2285 * lyxtext.h: remove #include "LColor.h".
2286 * lyxtextclass.h: remove #include "support/types.h".
2287 * trans.h: remove #include "tex-accent.h".
2288 * trans_mgr.h: remove #include "tex-accent.h".
2289 * insets/inset.h: remove #include "support/types.h", <vector>.
2290 * insets/insetcollapsable.h: remove #include "LColor.h".
2291 * insets/insetinclude.h: remove #include "dimension.h".
2292 * insets/insetlatexaccent.h: remove #include "dimension.h".
2293 * insets/insetoptarg.h:: remove #include "insettext.h".
2294 * insets/insettext.h: remove #include "dimension.h",
2295 <boost/shared_ptr.hpp>
2297 * insets/renderers.h: add #include "dimension.h".
2298 * insets/updatableinset.h: add #include "support/types.h".
2300 * many .C files: Associated changes.
2302 2003-09-06 Angus Leeming <leeming@lyx.org>
2304 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2305 one, inside testInvariant.
2307 * PrinterParams.C: new file.
2308 * PrinterParams.[Ch]: move the function bodies out of line.
2310 2003-09-06 Angus Leeming <leeming@lyx.org>
2312 * ParagraphParameters.h: forward declare ParameterStruct rather than
2313 including its header file.
2314 (depth): moved out-of-line.
2316 2003-09-06 Angus Leeming <leeming@lyx.org>
2318 * BufferView_pimpl.h:
2321 * lyxfunc.h: forward declare LyXKeySym rather than
2322 #include "frontends/LyXKeySym.h".
2324 * BufferView_pimpl.C:
2327 * lyxfunc.C: associated changes.
2329 2003-09-06 Angus Leeming <leeming@lyx.org>
2331 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2332 As a result, can remove the #include "insets/inset.h" from BufferView.h
2334 2003-09-06 Angus Leeming <leeming@lyx.org>
2336 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2337 As a result, can remove the #include "insets/inset.h" from BufferView.h
2339 2003-09-06 Angus Leeming <leeming@lyx.org>
2345 * bufferview_funcs.C:
2346 * BufferView_pimpl.C:
2351 * ParagraphParameters.C:
2356 * frontends/controllers/ControlDocument.C:
2357 * insets/insetcaption.C: rearrange the #includes into some sort of
2360 * buffer.h: remove #includes ErrorList.h, undo.h
2362 2003-09-06 Angus Leeming <leeming@lyx.org>
2364 * support/types.h: add a 'depth_type' typedef, used to store the
2365 nesting depth of a paragraph.
2368 * ParameterStruct.h: use this lyx::depth_type typedef rather than
2369 defining explicitly.
2372 * paragraph_funcs.h:
2373 * ParagraphParameters.h:
2374 * sgml.h: use lyx::depth_type rather than Paragraph or
2375 ParameterStruct's depth_type.
2378 * paragraph_funcs.h: no need to #include paragraph.h anymore.
2381 * BufferView_pimpl.C:
2383 * ParagraphParameters.C:
2386 * bufferview_funcs.C:
2393 * frontends/LyXView.C:
2394 * frontends/controllers/ControlDocument.C:
2395 * frontends/controllers/ControlErrorList.C:
2396 * insets/insetbibitem.C:
2397 * insets/insetbranch.C:
2398 * insets/insetcaption.C:
2399 * insets/insetcollapsable.C:
2400 * insets/insetenv.C:
2401 * insets/insetert.C:
2402 * insets/insetfloat.C:
2403 * insets/insetfoot.C:
2404 * insets/insetfootlike.C:
2405 * insets/insetnewline.C:
2406 * insets/insetquotes.C:
2407 * insets/insettabular.C:
2408 * insets/insettext.C:
2409 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2411 * frontends/controllers/ControlChanges.C: #include "changes.h".
2413 2003-09-06 Angus Leeming <leeming@lyx.org>
2415 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2416 than #including paragraph.h.
2419 * RowList.h: deleted. Superfluous.
2429 * insets/insettext.h: use ParagraphList_fwd.h rather than
2432 * paragraph.h: don't forward declare ParagraphList.
2435 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2436 rather than ParagraphList.h. paragraph.h is still needed for the
2437 Paragraph::depth_type parameters.
2439 * textcursor.h: enable it to compile stand-alone in light of the
2442 * bufferview_funcs.C:
2454 * frontends/controllers/ControlParagraph.C:
2455 * frontends/controllers/ControlTabular.C:
2456 * insets/insetmarginal.C:
2457 * insets/insetminipage.C:
2458 * insets/insetnote.C:
2459 * insets/insetoptarg.C: add header files needed to compile again.
2461 2003-09-06 Angus Leeming <leeming@lyx.org>
2463 * RowList_fwd.h: new file, forward-declaring Row rather than
2464 #including lyxrow.h.
2469 * insets/insettext.h: use it instead of RowList.h
2471 * bufferview_funcs.C:
2478 * text3.C: #include "RowList.h".
2480 2003-09-05 Angus Leeming <leeming@lyx.org>
2482 * factory.C (createInset):
2483 * vspace.C (c-tor): replace sscanf call with an istringstream.
2484 * ispell.C: re-add missing HP/UX headers.
2485 * lyxserver.C: re-add missing os2 headers.
2487 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
2496 * text3.C: re-add missing system headers, needed for 2.95.2.
2498 2003-09-05 Angus Leeming <leeming@lyx.org>
2500 Changes most place everywhere due to the removal of using directives
2501 from support/std_sstream.h.
2503 2003-09-05 Angus Leeming <leeming@lyx.org>
2505 Replace LString.h with support/std_string.h,
2506 Lsstream.h with support/std_sstream.h,
2507 support/LIstream.h with support/std_istream.h,
2508 support/LOstream.h with support/std_ostream.h.
2510 Changes resulting throughout the tree.
2512 2003-09-05 Angus Leeming <leeming@lyx.org>
2514 * sgml.h: ensure that the header file can be compiled stand-alone.
2515 * *.C: strip out redundant #includes. (320 in total.)
2517 2003-09-04 Angus Leeming <leeming@lyx.org>
2519 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2520 here (from getPackages).
2522 * debug.[Ch]: add a new EXTERNAL tag.
2524 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2526 * text2.C (cursorEnd): simplify
2528 (getColumnNearX): adjust
2530 * text.C (computeBidiTables): adjust
2533 * rowpainter.C (paintChars): adjust
2534 (paintSelection): adjust
2535 (paintChangeBar): adjust
2538 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2540 (numberOfSeparators): adjust
2542 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2548 * text3.C: Restricts the mouse click functionality
2549 of insets like bibtex, include, toc and floatlist to the visible
2550 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2551 up the dialogs. Cursor has to be in front of the inset (i.e.
2552 start of row) for this to function.
2554 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2556 * bufferview_funcs.C (currentState): output row information
2558 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2560 * bufferview_funcs.C (currentState): output paragraph position
2562 2003-09-04 Angus Leeming <leeming@lyx.org>
2564 * FloatList.h: move out #include "Floating.h".
2565 * LaTeX.h: move out #include "DepTable.h".
2566 * LyXAction.h: move out #include "funcrequest.h".
2567 * buffer.h: move out #include "author.h", "iterators.h".
2568 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2569 * lyx_main.h: move out #include "errorlist.h".
2570 * lyxfunc.h: move out #include "FuncStatus.h".
2571 * lyxtext: move out #include "lyxcursor.h".
2572 * paragraph_pimpl.h: move out #include "counters.h".
2574 2003-09-03 Angus Leeming <leeming@lyx.org>
2576 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2577 preamble_snippets list, enabling us to add snippets to the preamble
2578 only if the snippet was not there already.
2580 2003-09-04 Angus Leeming <leeming@lyx.org>
2582 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2584 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2586 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2589 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2591 * BranchList.C: point fix, earlier forgotten
2593 2003-09-02 Angus Leeming <leeming@lyx.org>
2595 * box.C (contains): renamed from 'contained' after a fantastic
2598 2003-09-02 John Levon <levon@movementarian.org>
2604 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2606 2003-09-02 John Levon <levon@movementarian.org>
2608 * text2.C: simplification of cursorEnd(), including partial
2611 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2613 * buffer.C (readFile): add a space
2615 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
2617 * BufferView_pimpl.C (update): remove bogus fitCursor() call
2619 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2621 * buffer.C (readFile): new function, take a filename and a
2622 ParagraphList::iterator
2624 (readFile): adjust, make it private. don't use setStream, make
2625 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2626 always contain the filename.
2628 * BufferView.C (insertLyXFile): simplify and make it work for
2631 2003-08-30 John Levon <levon@movementarian.org>
2633 * Makefile.am: fix dist (from Kayvan)
2635 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2637 * most files: change to use const Buffer refs
2639 2003-08-27 André Pönitz <poenitz@gmx.net>
2641 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2642 on top of ownerPar().
2644 2003-08-27 John Levon <levon@movementarian.org>
2646 * funcrequest.C: properly initialise POD members
2648 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2650 * lyxtext.h (top_y): move top_y from here
2655 * BufferView_pimpl.[Ch]: to here
2656 * frontends/screen.C:
2657 * insets/insettabular.C:
2658 * insets/insettext.C: adjust
2659 * rowpainter.[Ch] (paintRows): remove LyXText & argument
2661 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2664 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2666 2003-08-26 André Pönitz <poenitz@gmx.net>
2668 * paragraph_func.[Ch] (outerPar): new function
2671 * paragraph_funcs.C:
2672 * paragraph_funcs.h:
2673 * paragraph_pimpl.C:
2674 * text2.C: remove Inset::par_owner
2676 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2681 * text2.C: eliminates the needFullRow/display() stuff
2682 altogether, putting the logic in metrics/draw in the insets.
2684 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
2686 * text2.C (redoParagraphInternal, redoParagraphs):
2687 * text.C (redoParagraph): add a call to updateRowPositions at the
2688 end of each 'metrics-like' call. Remove all others.
2689 (getRow): remove the 'y-computing' version.
2690 (getRowNearY): do not compute nor return the real y. Solve the
2691 'y < 0' problem and simplify.
2693 2003-08-22 Angus Leeming <leeming@lyx.org>
2695 * *.[Ch]: clean-up of licence and author blurbs.
2696 Also move config.h out of a few .h files and into a few .C files.
2698 2003-08-22 André Pönitz <poenitz@gmx.net>
2700 * lyxrow.[Ch]: add x_ and *fill_ members
2705 * text2.C: adjust/remove prepareToPrint() calls
2707 2003-08-22 André Pönitz <poenitz@gmx.net>
2709 * lyxrow.[Ch]: add end_ member
2711 * lyxrow_funcs.C: use LyXRow::end_
2713 * lyxtext.h (singleWidth): add LyXFont parameter
2716 * text2.C: adjust LyXText::singleWidth() calls
2718 * text.C (redoParagraph): simplify row breaking logic
2721 2003-08-19 André Pönitz <poenitz@gmx.net>
2723 * funcrequest.C: initialize button_ member
2726 * rowpainter.[Ch]: interface consolidation
2728 2003-08-18 André Pönitz <poenitz@gmx.net>
2731 * BufferView_pimpl.C:
2733 * paragraph_funcs.C:
2735 * text3.C: remove LyXScreen::draw() and fitCursor calls
2737 * BranchList.h: remove spurious semicolons
2739 * MenuBackend.C: fix branchlist related crash
2741 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2749 * bufferparams.[Ch]:
2753 * text3.C: implements the 'branch inset'
2754 idea. This allows the output of various versions of a document
2755 from a single source version, selectively outputing or suppressing
2756 output of parts of the text.
2757 This implementation contains a 'branch list editor' in a separate
2758 tab of the document settings dialog. Branches are user definable
2759 and have a "display colour" to distinguish them on-screen.
2761 ColorHandler was somewhat cleaned up.
2762 (1) make possible a dynamically growing LColor list by allowing
2763 the graphic context cache to grow along (vector);
2764 (2) eliminate an IMHO unnecessary step in colour allocation.
2766 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
2768 * BufferView_pimpl.C: compile fix
2770 2003-08-15 André Pönitz <poenitz@gmx.net>
2772 * rowpainter.C: remove extra metrics calls
2774 * lyxtext.h: merge the two constructors into a single one,
2775 pass reference to owner's par list
2777 * BufferView_pimpl.C:
2781 2003-08-15 André Pönitz <poenitz@gmx.net>
2783 * lyxrow_funcs.[Ch]:
2786 * paragraph_funcs.C:
2791 * text_funcs.C: split LyXText::rowlist_ into individual
2792 Paragraph::rows_ chunks
2795 * BufferView_pimpl.[Ch]:
2798 * text3.C: remove toggleSelection()
2800 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2802 * bufferlist.C: beautify two alerts (shorter text of buttons)
2803 * buffer.C: Remove redundant ' ' from message
2805 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2806 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2807 rename VALIGN_CENTER to VALIGN_MIDDLE
2809 2003-08-11 André Pönitz <poenitz@gmx.net>
2811 * lyxtext.h (getPar):
2812 * text.C: new function
2814 2003-08-11 André Pönitz <poenitz@gmx.net>
2817 * tracer.[Ch]: remove unneeded files
2819 * InsetList.[Ch]: remove resizeInsetsLyXText()
2824 * text3.C: merge insertParagraphs() and appendParagraph()
2825 remove breakAgain(), update()
2827 * BufferView_pimpl.[Ch]:
2828 * bufferview_funcs.[Ch]:
2832 * tabular.C: adjust after text & InsetList changes.
2834 2003-08-08 André Pönitz <poenitz@gmx.net>
2836 * text.C (insertChar, backspace): replace rowlist fiddling
2837 with rebreak of full par
2840 * text.C (breakAgainOneRow, redoHeightOfParagraph,
2841 checkParagraph, updateInset): removed
2843 2003-08-07 André Pönitz <poenitz@gmx.net>
2846 * text3.C: merge some LFUN handlers, remove dead code
2848 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2850 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2852 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
2854 * text2.C (DEPM): fix part of bug 1255 and 1256
2856 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2858 * BufferView_pimpl.C (workAreaDispatch): change to use
2859 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2860 that are no mouse related.
2862 2003-08-05 André Pönitz <poenitz@gmx.net>
2865 * BufferView_pimpl.[Ch]:
2866 * bufferview_funcs.C:
2868 * text3.C: rip out "deep update"
2870 * textcursor.[Ch] (last_sel_cursor): remove unused member
2872 2003-08-04 André Pönitz <poenitz@gmx.net>
2875 * BufferView_pimpl.[Ch]:
2876 * ParagraphParameters.C:
2877 * bufferview_funcs.C:
2883 * text3.C: replace "complicated" BufferView::update(...) calls with
2886 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2888 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
2890 * Makefile.am (lyx_SOURCES): add paper.h
2892 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2894 * Makefile.am: move things around so that both lyx-qt and
2895 lyx-xforms can be built (according to --with-frontend). Then lyx
2896 is a symbolic link to lyx-[firstfrontend]
2898 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2900 * Always use std::endl with lyxerr
2902 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
2904 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2906 2003-08-01 André Pönitz <poenitz@gmx.net>
2909 * BufferView_pimpl.[Ch]:
2911 * text3.C: merge BufferView::repaint() and BufferView::update()
2913 2003-08-01 José Matos <jamatos@lyx.org>
2915 * buffer.[Ch]: file_format is no longer a buffer data element.
2917 2003-08-01 André Pönitz <poenitz@gmx.net>
2922 * text2.C: make redoParagraph more independent of current cursor
2924 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2926 * text2.C: remove unneeded members
2928 2003-07-30 André Pönitz <poenitz@gmx.net>
2930 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2932 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2933 create a single function...
2935 * paragraph_funcs.C (moveItem): ... here.
2938 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2940 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2942 * LColor.[Ch]: Add comment and greyedout logical colors.
2944 2003-07-30 André Pönitz <poenitz@gmx.net>
2946 * tabular.C: don't use Assert too heavily. This crashes where it
2949 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
2951 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2952 is disabled (bug 1232)
2954 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2956 * factory.C: limited 'arg' scope
2958 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2960 * factory.C: fixed Note submenu issues
2962 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2964 * factory.C: submenu for Note/Comment/Greyedout
2966 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
2969 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2971 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2974 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2975 greyedout. Patch provided by Jürgen Spitzmüller.
2977 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2979 * kbmap.C (read): fix error message when reading bind files
2981 2003-07-29 Angus Leeming <leeming@lyx.org>
2983 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2984 certainly does not do what it purports to do. I am doing it, and
2985 us, a favour by killing it.
2987 2003-07-28 José Matos <jamatos@lyx.org>
2989 * buffer.C (readBody, do_writeFile):
2990 * paragraph.C(readParagraph): \end_document replaces \the_end.
2992 2003-07-29 André Pönitz <poenitz@gmx.net>
2995 * BufferView_pimpl.[Ch]:
2999 * textcursor.[Ch]: remove toggleToggle & Co
3001 2003-07-28 José Matos <jamatos@fep.up.pt>
3003 * buffer.C (readParagraph):
3004 * params_func (readParToken, readParagraph):
3005 * paragraph.C (write): \layout -> \begin_layout.
3007 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3009 * lyxlex_pimpl.C (setFile): clean up slightly.
3011 * bufferparams.h: add compressed var
3013 * buffer_funcs.C (readFile): adjust for LyXLex change
3014 (newFile): ditto + simplify
3016 * buffer.C (writeFile): handle writing of compressed files
3018 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3019 Check if the file is compressed and set a bufferparm if so.
3021 * Makefile.am (lyx_LDADD): remove explicit -lz
3023 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3025 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3026 makeDocBookFile): put the real LyX version in the first line of
3030 * version.C.in: remove lyx_docversion
3032 * tabular.C (write_attribute): add a template-based version to
3033 write enums properly
3035 2003-07-28 André Pönitz <poenitz@gmx.net>
3040 * text3.C: use doubles again for x-coordinates. They are needed.
3042 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3044 * messages.C (getLocaleDir): use lyx_localedir()
3046 * lyxlex_pimpl.C (setFile): compress stuff
3048 * buffer.C (writeFile): add some compression stuff
3049 (do_writeFile): new func, dont call expliti close... will this
3052 * Makefile.am (lyx_LDADD): add -lz
3054 2003-07-28 José Matos <jamatos@fep.up.pt>
3056 * buffer.C: increment file format.
3057 * paragraph_funcs (readParagraph, readParToken):
3058 * paragraph.C (readParagraph): add \end_layout.
3060 2003-07-27 Angus Leeming <leeming@lyx.org>
3062 * Makefile.am: remove special casing for configure-time setting of
3063 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3065 * lyx_main.C (init): remove all Jean-Marc's magic setting of
3066 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3068 2003-07-26 André Pönitz <poenitz@gmx.net>
3070 * paragraph_func.[Ch]:
3071 * paragraph.C (realizeFont): inline it whereever it is used
3076 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3079 2003-07-26 André Pönitz <poenitz@gmx.net>
3083 * text2.C: get rid of LyXText::need_break_row
3085 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3087 * toc.[Ch]: put namespace toc inside namespace lyx
3089 * MenuBackend.C (expandToc2): adjust for lyx::toc
3092 * lyxfunc.C (dispatch): adjust for lyx::find
3094 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3095 lyx::find instead. Reorganize a bit.
3096 (LyXReplace): rename to replace
3097 (LyXFind): rename to find
3099 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3102 2003-07-26 André Pönitz <poenitz@gmx.net>
3104 * text.C (setHeightOfRow): restrict scope of temporary variable
3106 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
3107 code (never has been used?)
3109 2003-07-27 Asger Alstrup <alstrup@local>
3111 * text.C (fill): Optimise algorithm to exploit that we can reuse
3112 the LyXFont for many characters.
3113 (setHeightOfRow): Same thing.
3114 (rowBreakPoint): Same thing.
3116 2003-07-26 Asger Alstrup <alstrup@local>
3118 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3120 * text.C (singleWidth): Spurious font copying in hot-spot
3121 singleWidth avoided. Reorder tests for arabic for efficiency.
3123 * text.C (fill): handle empty paragraphs better.
3125 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3128 * encoding.h: add includes
3130 * lyxrc.C: remove reading of bind files
3132 * lyx_main.C (init): setup bindings and menus only if we have a
3135 * kbmap.C (read): new method. Do the actual reading of bind
3138 * converter.C (dvipdfm_options):
3141 (output): adapt PAPER_* enums.
3143 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3145 * bufferparams.h: remove paper-related enums from there
3147 * paper.h: New file. A trivial header file to hold paper-related
3148 enums. It should later expand to contain many paper-related
3151 * lyxrc.C: declare extern displayTranslator
3153 2003-07-27 José Matos <jamatos@fep.up.pt>
3155 * tabular.[Ch] (linuxdoc): add support for tables and figures
3158 2003-07-27 José Matos <jamatos@fep.up.pt>
3160 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3161 consistency in both functions.
3162 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3164 2003-07-26 Asger Alstrup <alstrup@local>
3166 * rowpainter.C (paintRows): Change algorithm to work directly on
3167 the insets rather than asking every character in the document
3168 whether its an inset.
3170 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
3172 * buffer.C (openFileWrite): factorize some code
3174 2003-07-26 Angus Leeming <leeming@lyx.org>
3177 * lyx_main.[Ch]: replace occurances of system_tempdir with
3180 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3182 * rename Inset to InsetOld
3184 2003-07-25 Asger Alstrup <alstrup@diku.dk>
3186 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3187 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3188 which I think is a bit clearer. EDIT is gone, since it was
3189 premature optimisation, and broken for mathed anyway.
3190 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3191 with cursor positioning in insets as well (math insets still do not
3192 work, but that's a different story anyway.) It mysteriously
3193 crashes sometimes with undo in the first paragraph, but I'm fairly
3194 confident that this is a compiler bug.
3196 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3198 * paragraph.C (Paragraph): adjust for new clone return type
3200 (copyIntoMinibuffer): ditto
3202 2003-07-25 Asger Alstrup <alstrup@lyx.org>
3204 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3205 by not having a special case, and always doing a full rebreak of
3206 the document after undo.
3208 2003-07-23 Angus Leeming <leeming@lyx.org>
3210 * factory.C (createInset): InsetExternal::setParams now takes a
3213 2003-07-23 Angus Leeming <leeming@lyx.org>
3215 * factory.C (createInset): changed interface to the external and
3216 graphics mailers' string2params functions.
3218 2003-07-23 Angus Leeming <leeming@lyx.org>
3220 * factory.C (createInset): pass a
3221 Buffer const * parameter to InsetExternalMailer's string2params.
3223 2003-07-22 John Levon <levon@movementarian.org>
3225 * Thesaurus.h: include the right aiksaurus header
3227 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3229 * MenuBackend.C (expand): check menu shortcuts unconditionally
3231 2003-07-21 Angus Leeming <leeming@lyx.org>
3233 * factory.C (createInset): pass a
3234 buffer_path parameter to InsetGraphicsMailer's string2params.
3236 2003-07-21 Angus Leeming <leeming@lyx.org>
3238 * BufferView_pimpl.C (buffer):
3241 * lyxfunc.C (dispatch):
3242 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3243 rather than the grfx shortcut.
3245 2003-07-21 André Pönitz <poenitz@gmx.net>
3247 * rowpainter.C: remove unused variables
3250 * tabular_funcs.h: move to tabular.C
3251 * Makefile.am: adjust
3253 * tabular.[Ch]: basic optical cleaning
3255 * author.h: pass references, not values
3257 2003-07-18 André Pönitz <poenitz@gmx.net>
3265 * text3.C: two-phase drawing for InsetText and InsetTabular
3266 some float -> int changes.
3268 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3270 * lyx_main.C: fix the fix
3272 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3274 * lyx_main.C: fix a crash in batch mode if no files specified
3277 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
3279 * format.[Ch] (papersize): moved to BufferParams
3280 * converter.[Ch] (dvips_options): moved to BufferParams
3281 (dvipdfm_options): moved to anon namespace
3282 * bufferparams.[Ch]: added above functions.
3284 2003-07-17 André Pönitz <poenitz@gmx.net>
3288 * text2.C: don't call inset->update() anymore
3290 * metricsinfo.[Ch]: add convenience constructor
3292 2003-07-16 André Pönitz <poenitz@gmx.net>
3297 * text2.C: replace the LyXCursor::irow_ member with
3298 on-demand computation of the value
3300 2003-07-16 John Levon <levon@movementarian.org>
3302 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3304 2003-07-15 André Pönitz <poenitz@gmx.net>
3307 * text2.C: remove no more needed refresh_row
3309 2003-07-15 André Pönitz <poenitz@gmx.net>
3314 * text3.C: refresh_status tristate -> need_update bool
3316 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3318 * lyxtext.h (init): remove reinit argument (act as if always true)
3319 * text2.C: adjust to that
3321 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3323 * bufferview_funcs.[Ch]: introduce function replaceSelection()
3324 * text3.C: use it to delete selections in some cases
3325 (bugs 441, 673, 702, 954).
3327 2003-07-14 André Pönitz <poenitz@gmx.net>
3329 * rowpainter.[Ch]: reduce interface
3331 2003-07-14 André Pönitz <poenitz@gmx.net>
3333 * BufferView_pimpl.C:
3334 * text2.C: adjust after removing unused BufferView * argument
3336 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
3338 * text2.C (init): fix a crash fired on resize
3340 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
3342 * buffer.[Ch]: added new closing signal
3343 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3344 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3345 BufferView::Pimpl via the closing the signal
3347 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
3349 * buffer.[Ch]: take out all bv-related from buffer
3351 * BufferView_pimpl.[Ch]: connect to new signals
3352 * CutAndPaste.C: removed useless asserts
3353 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3356 * lyxfunc.C: moved view-related funciontality from vc here
3357 * paragraph.C: removed outdated comments
3360 2003-07-10 André Pönitz <poenitz@gmx.net>
3362 * BufferView_pimpl.C:
3366 * text2.C: remove InsetText::InnerCache, clean up consequences
3368 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3370 * ispell.C: fix two typos in error messages
3372 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
3374 * Extend Note inset to other forms of annotation like Comment
3375 and Greyedout. Right button click gives dialog.
3377 Files modified or added (+):
3381 * ControlNote.[Ch] +
3383 * Makefile.am in frontends/xforms, frontends/xforms/forms,
3384 frontends/controllers
3388 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3390 * aspell.C: add missing namespace lyx::support
3392 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
3394 * BufferView.[Ch] (newFile): Add
3395 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3396 * LaTeX.[Ch] (message): added this signal and use it
3397 * buffer.[Ch] (busy, message): added these signals and use them
3398 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3402 * importer.C: use buffer signals instead of direct bv calling
3403 * lyx_cb.[Ch] (ShowMessage): removed
3406 * paragraph_funcs.C:
3407 * text2.C: use buffer signals
3409 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3411 * introduce namespace lyx::graphics
3413 2003-07-02 André Pönitz <poenitz@gmx.net>
3415 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3417 2003-07-01 André Pönitz <poenitz@gmx.net>
3424 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3425 text*.C to text_func.C
3427 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3429 * introduce namespace lyx::support
3431 2003-06-30 André Pönitz <poenitz@gmx.net>
3436 * text.C: re-enable --with-included-string
3438 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3440 * textcursor.C: add <config.h>
3442 * text.C (getWord): remove const from word_location arg
3444 * lyxvc.C (getLogFile): fix const type order
3446 * lyxtext.h: remove const from word_location arg, add arg name
3448 * lyxlayout.h: currect type on labeltype.
3450 * importer.C: correct \file
3452 * converter.C (intToFormat): use std:: on ret val, ws changes
3454 * bufferlist.h: correct \file
3456 * buffer.C (makeLinuxDocFile): fix const type order
3457 (makeDocBookFile): ditto
3458 (fillWithBibKeys): use std:: on stdlib args.
3460 * CutAndPaste.C: fix authors.
3461 (availableSelections): use std:: on return vector
3463 2003-06-27 André Pönitz <poenitz@gmx.net>
3465 * BufferView_pimpl.C:
3466 * bufferview_funcs.C:
3474 * text3.C: remove LyXCursor::row_ member
3477 * text.C: rename fullRebreak() to partialRebreak() and implement
3478 a fullRebreak() that really bereks fully
3480 * textcursor.h: new struct for cursor-related data
3482 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
3484 * lyx_main.C (LyX): get full path of document loaded on the
3487 2003-06-26 André Pönitz <poenitz@gmx.net>
3489 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3490 remove unused/broken operator>,<,>=.
3492 * text.C: remove only use of broken operator<= in an Assert().
3494 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3496 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3497 moved errorlist_.clear to showErrorList
3499 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3501 * converter.C (scanLog, runLaTeX):
3502 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3503 move the bv->showErrorList call to the callers
3504 * lyxfunc.C: i.e. here...
3506 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3507 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3508 namespace, the second to...
3509 * buffer_funcs (BufferFormat, parseErrors): added
3510 * errorlist.C (ErrorList(TeXErrors const &)): removed
3512 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3514 * ToolbarBackend.C (getIcon): complain when icon cannot be found
3516 2003-06-24 "Garst R. Reese" <reese@isn.net>
3520 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3522 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3524 * version.C.in: change docversion to 1.4
3526 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
3528 * buffer.C: fix a bug just introduced
3530 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3532 * buffer.[Ch]: added the parseError signal and use it, removed
3534 * BufferView.[Ch] (addError): moved to ...
3535 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3536 to the Buffer::parseError signal to catch (guess what) parse errors
3537 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3539 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3541 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3542 ability to create a buffer and to return an existing one from
3543 the list. Moved these functions to...
3544 * buffer_funcs.[Ch]: added
3545 * BufferView.[Ch] (loadLyXFile): added
3546 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3547 job removed from bufferlist::loadLyXFile.
3548 * buffer.C (setReadOnly): make it work without view
3549 (i.e added an if (users))
3551 2003-06-19 Angus Leeming <leeming@lyx.org>
3554 * LyXAction.C (init):
3555 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3556 with LFUN_DIALOG_SHOW <name> <data>.
3558 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3560 * CutAndPaste.C (availableSelections): small compilation fix for
3561 ancient (gcc 2.9x) compilers
3563 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3565 * text3.C (cursorNext): add tmp var
3567 * text2.C (updateCounters): for function calling out of for clause
3568 (replaceSelectionWithString): ditto
3569 (insertStringAsParagraphs): ditto
3570 (getColumnNearX): add tmp var
3571 (setCursorFromCoordinates): add tmp var
3572 (cursorDownParagraph): add tmp var
3573 (deleteEmptyParagraphMechanism): add tmp var
3575 * text.C (insertChar): add tmp var
3577 * rowpainter.C (paintDepthBar): add tmp var
3579 * CutAndPaste.C (availableSelections): potentially check all
3580 paragraphs in a cut to fill the shown strings.
3582 2003-06-18 André Pönitz <poenitz@gmx.net>
3584 * kbmap.[Ch]: use vector<> instead of list<>
3586 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3588 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3589 pasteSelection with index
3591 * text2.C (pasteSelection): modify, call pasteSelection with index
3593 * paragraph.C (asString): reimplement version with no interval to
3594 call the one with interval.
3596 * lyxtext.h: add index arg to pasteSelection
3598 * MenuBackend.C (MenuItem): handle PasteRecent
3599 (Menu::read::Menutags): add md_pasterecent
3601 (expandPasteRecent): new function
3604 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3606 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3608 (availableSelections): new function
3610 2003-06-17 Angus Leeming <leeming@lyx.org>
3612 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3614 2003-06-17 Angus Leeming <leeming@lyx.org>
3617 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3619 * lyxfunc.C (dispatch): invoke it.
3621 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3623 * iterators.C (operator++, ParPosition): reintroduce some
3624 const_cast for the benefit of older compilers.
3626 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3628 * text3.C (dispatch): do not modify clipboard when doing
3629 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3630 LFUN_DELETE_SKIP on a selection selection
3632 2003-06-16 André Pönitz <poenitz@gmx.net>
3638 * tabular.[Ch]: IU of clone() and getLabelList();
3640 2003-06-13 André Pönitz <poenitz@gmx.net>
3642 * tabular.h: compactification
3644 2003-06-12 André Pönitz <poenitz@gmx.net>
3648 * tabular_funcs.h: some renaming plus whitespace
3650 2003-06-12 André Pönitz <poenitz@gmx.net>
3653 * BufferView_pimpl.C:
3659 * toc.C: Return a Paragraph & for ParIterator::operator*()
3661 2003-06-11 John Levon <levon@movementarian.org>
3665 * ToolbarBackend.C: add "Toolbars" section and
3668 2003-06-10 Angus Leeming <leeming@lyx.org>
3671 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3673 * lyxfunc.C (dispatch): invoke it.
3675 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3677 * main.C: protect <ios> with HAVE_IOS
3678 (main): protect sync_with_stdio with HAVE_IOS
3680 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3682 * text2.C (cutSelection): adjust
3683 (pasteSelection): adjust
3685 * messages.C: handle get of empty string
3687 * main.C (main): use sync_with_stdio(false)
3689 * lyxfunc.C (dispatch): adjust
3691 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3692 (WriteAs): remove unneeded BufferView arg.
3694 * bufferparams.h: use correct types on papersize, papersize2 and
3697 * bufferparams.C (readToken): adjust for type
3698 (writeLaTeX): add missing cases to switch.
3700 * bufferlist.C (quitWriteBuffer): adjust
3703 * buffer.C (asciiParagraph): remove some commented code.
3705 * CutAndPaste.C: remove current_view extern variable.
3706 (cutSelection): add BufferParams arg.
3707 (eraseSelection): add BufferParams arg.
3708 (pasteSelection): add Buffer const & arg
3710 2003-06-07 John Levon <levon@movementarian.org>
3713 * paragraph_funcs.C:
3714 * paragraph_pimpl.C:
3718 * paragraph.C: allow InsetERT to freely space lines,
3719 and some consolidation of code
3721 2003-06-06 José Matos <jamatos@fep.up.pt>
3723 * buffer.C (makeDocBookFile): fix bug #821
3725 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3727 * BufferView_pimpl.C (dispatch): use Dialogs::visible
3729 2003-06-04 Angus Leeming <leeming@lyx.org>
3731 * buffer.C: bump format to 224.
3733 2003-06-05 André Pönitz <poenitz@gmx.net>
3735 * text2.C (redoParagraphs): remove two const_cast<>
3737 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3739 * ParagraphList.h: remove last remnants of NO_STD_LIST
3741 2003-06-03 Angus Leeming <leeming@lyx.org>
3743 * factory.C (createInset): small change to the way InsetExternal's params
3746 2003-06-04 André Pönitz <poenitz@gmx.net>
3748 * buffer.h: use Undo directly instead of shared_ptr<Undo>
3750 * paragraph_pimpl.h:
3751 * paragraph.[Ch]: some Inset -> UpdatableInset changes
3753 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3755 * undo_funcs.C: make some simple cases of undo work again
3757 2003-06-03 John Levon <levon@movementarian.org>
3759 * ispell.C: HPUX doesn't have sys/select.h
3762 2003-06-03 John Levon <levon@movementarian.org>
3764 * CutAndPaste.C: update tabular and include inset
3769 * paragraph.C: remove owningBuffer(), don't pass Buffer
3772 * factory.C: insetGraphicsParams changed
3774 2003-06-02 John Levon <levon@movementarian.org>
3780 * text3.C: remove insetparent
3782 2003-06-02 John Levon <levon@movementarian.org>
3785 * buffer.C: fix inset_iterator.end(), move out of line
3788 2003-06-01 John Levon <levon@movementarian.org>
3790 * text3.C: use a proper cut/paste when doing inset
3791 insert (from Jürgen Spitzmüller)
3793 2003-06-01 John Levon <levon@movementarian.org>
3795 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3797 2003-05-30 André Pönitz <poenitz@gmx.net>
3799 * rowpainter.C: unify second drawing phase
3801 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3803 * trans_mgr.C: remove one case of current_view
3805 * text2.C (cursorBottom): delete NO_STD_LIST stuff
3807 * paragraph_funcs.h: remove paragraph.h include
3809 * paragraph.h: delete NO_STD_LIST stuff
3811 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3813 * buffer.h: remove paragraph.h include
3815 * ParagraphList.C: delete file
3817 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3819 * toc.C (getTocList): adjust
3821 * paragraph_pimpl.C (validate): adjust
3823 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3825 * paragraph.C (Paragraph): adjust
3826 (getPositionOfInset): use const_iterator, adjust
3827 (bibitem): use const_iterator, adjust
3828 (setInsetOwner): adjust
3830 * iterators.C (operator++): adjust
3832 * InsetList.[Ch]: Replace selfmade iterator with standard
3833 vector::iterator also introduce const_iterator. Remove getPos,
3834 getInset and setInset from InsetTable. Adjust accordingly.
3836 * BufferView.C (lockInset): adjust
3837 (ChangeInsets): adjust
3839 * tabular.[Ch]: delete commented same_id functions
3841 2003-05-28 John Levon <levon@movementarian.org>
3843 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3845 2003-05-28 André Pönitz <poenitz@gmx.net>
3847 * metricsinfo.[Ch]: remove 'fullredraw' member
3849 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
3851 * lyxtextclass.C (operator): remove caching.
3853 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3857 * text2.C (cursorBottom): adjust
3858 (setCounter): use ParagraphList::find, adjust
3860 * text.C (workWidth): use ParagraphList::find, adjust
3862 * lyxcursor.C (LyXCursor): adjust
3864 * buffer.C (inset_iterator): adjust
3866 * ParagraphList.h: make iterator(value_type) private, make
3867 ParagraphList a friend of iterator.
3869 * ParagraphList.C (find): new function
3871 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3873 2003-05-27 André Pönitz <poenitz@gmx.net>
3875 * dimension.[Ch]: a -> asc, d -> des, w -> wid
3877 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3879 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3881 2003-05-26 John Levon <levon@movementarian.org>
3883 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3885 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3887 * remove same_id from function signatures, adjust.
3889 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3891 * undo_funcs.C (createUndo): use the id functions directly, adjust.
3893 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3895 * paragraph.C (Paragraph): get rid of same_ids parameter
3897 * ParagraphList.C (insert): adjust
3900 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3902 * paragraph_funcs.C (breakParagraph): adjust
3903 (breakParagraphConservative): adjust
3905 * buffer.C (readParagraph): adjust
3907 * ParagraphList.C (insert): take a reference instead of a pointer
3910 * paragraph.[Ch] (id): new function
3912 * bufferlist.C (newFile): adjust
3914 * ParagraphList.C (ParagraphList): adjust
3916 (push_back): take a reference instead of a pointer.
3918 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3920 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3923 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3924 set else use old code.
3926 * ParagraphList.C: remove all NO_NEXT code and only compile this
3927 code of NO_STD_LIST is set.
3929 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3931 * BufferView_pimpl.C:
3941 * graphics/GraphicsConverter.C:
3942 * graphics/PreviewLoader.C: header adjustment
3944 2003-05-23 Angus Leeming <leeming@lyx.org>
3946 * LaTeXFeatures.[Ch] (useBabel): new method.
3947 * bufferparams.C (writeLaTeX): use it.
3949 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3951 * ParagraphList.h (set): remove unused function.
3953 2003-05-23 André Pönitz <poenitz@gmx.net>
3956 * BufferView_pimpl.C:
3960 * undo_funcs.C: setUndo reworked
3962 * iterators.[Ch]: add access to topmost ParagraphList
3964 * lyxtext.[Ch] (workWidth): add a const
3966 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3968 * texrow.[Ch] (increasePos): remove function
3969 * exporter.C (export): removed unused var and outdated comment
3971 2003-05-23 Angus Leeming <leeming@lyx.org>
3973 * latexrunparams.h: rename fragile as moving_arg.
3974 * paragraph.C (simpleTeXOnePar): ditto.
3975 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3977 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3979 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3981 (textUndoOrRedo): comment out a currently unused var.
3983 * paragraph.h (NO_NEXT): enable NO_NEXT
3985 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3987 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3989 * exporter.C (Export): adjust for removeAutoInsets removal.
3991 * buffer.C (runChktex): adjust for removeAutoInsets removal.
3993 * LyXAction.C (init): remove LFUN_REMOVEERRORS
3995 * BufferView.[Ch] (removeAutoInsets): delete function
3997 2003-05-22 Angus Leeming <leeming@lyx.org>
3999 * latexrunparams.h: add a free_spacing variable.
4001 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4002 to pass moving_arg, as the data is stored in runparams.fragile.
4004 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4005 to Inset::latexOptional or to simpleTeXOnePar.
4007 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4008 free_spacing arg to Inset::latexOptional.
4010 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4013 2003-05-22 Angus Leeming <leeming@lyx.org>
4015 * latexrunparams.h: add fragile and use_babel variables.
4017 * bufferparams.[Ch] (writeLaTeX): return use_babel.
4018 * buffer.C (makeLaTeXFile): store this returned value in
4019 runparams.use_babel, thus passing it to the inset::latex methods.
4021 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4022 simpleTeXSpecialChars as it is now stored in runparams.fragile.
4024 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4025 longer has a fragile arg, as it is stored in runparams.fragile.
4027 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4028 moving_arg parameter as the data is stored in runparams.fragile.
4030 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4031 a fragile parameter as the data is stored in runparams.fragile.
4033 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4035 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4037 2003-05-22 Angus Leeming <leeming@lyx.org>
4039 * latexrunparams.h: add a 'bool nice' which defaults to false.
4041 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4042 now encapsulated within runparams.
4044 * bufferlist.C (updateIncludedTeXfiles):
4045 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4047 2003-05-22 Angus Leeming <leeming@lyx.org>
4049 * latexrunparams.h: new file containing struct LatexRunParams.
4050 * Makefile.am: add new file.
4052 * LaTeX.[Ch] (c-tor, run):
4053 * buffer.[Ch] (makeLaTeXFile):
4054 * bufferlist.[Ch] (updateIncludedTeXfiles):
4055 * converter.C (convert, scanLog):
4056 * converter.[Ch] (runLaTeX):
4057 * exporter.C (Export):
4058 * paragraph.[Ch] (simpleTeXOnePar):
4059 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4060 * paragraph_funcs.[Ch] (latexParagraphs):
4061 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4062 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4063 pass around a LatexRunParams parameter.
4065 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4067 * paragraph.[Ch]: remove unused constructor
4069 * ParagraphList.C (erase): new function, taking two iterators
4071 2003-05-22 André Pönitz <poenitz@gmx.net>
4073 * undo_funcs.C: remove duplicated code
4075 * iterator.[Ch]: operator=
4077 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4079 * tabular.C (SetMultiColumn): ws changes
4081 * rowpainter.C (paintFirst): get rid of a ->previous
4083 * lyx_cb.C (getPossibleLabel): parlist simplification
4085 * BufferView.C (ChangeInsets): simplify slightly.
4087 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4089 * LyXAction.C: new lfun space-insert, kill protected-space-insert
4090 * lfuns.h: new LFUN_SPACE
4091 * lyxfunc.C: protected space has a new lfun
4092 * paragraph_funcs.C: read new space insets
4094 * factory.C: handle new space insets
4096 2003-05-22 André Pönitz <poenitz@gmx.net>
4099 * BufferView_pimpl.C:
4102 * undo_funcs.C: return a ParIterator from getParFromID.
4104 * iterators.[Ch]: add two const's
4106 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4108 * toc.C (getTocList): adjust
4110 * iterators.[Ch]: rework for parlist
4112 * buffer.C (par_iterator_begin): adjust
4113 (par_iterator_end): adjust
4115 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4117 * BufferView.C (removeAutoInsets): adjust
4118 (ChangeInsets): adjust
4120 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
4122 * text.C (top_y): fix bug 1110
4124 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
4126 * errorlist.[Ch]: added
4129 * BufferView_pimpl.C:
4130 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4133 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4135 * Makefile.am: ensure that lyx is relinked upon changes to the
4136 various "convenience" libs.
4138 2003-05-20 Angus Leeming <leeming@lyx.org>
4140 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4141 files are compiled in alphabetical order again.
4143 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4145 2003-05-19 Angus Leeming <leeming@lyx.org>
4147 * gettext.[Ch]: remove "char const * _(char const *)".
4149 2003-05-19 André Pönitz <poenitz@gmx.net>
4151 * dimension.[Ch]: promote from mathed/dimension.[Ch]
4160 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4162 2003-05-19 André Pönitz <poenitz@gmx.net>
4166 * lyxtextclass.[Ch]:
4168 * paragraph_funcs.[Ch]:
4170 * text3.C: more insetenv work
4172 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
4174 * ParagraphParameters.C (params2string): small bug fixed
4176 2003-05-16 André Pönitz <poenitz@gmx.net>
4179 * bufferview_funcs.C: patch from Kornel Benko to prevent
4180 crash when _(...) is called twice in a statement
4182 2003-05-16 André Pönitz <poenitz@gmx.net>
4189 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4191 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
4193 * lyx_main.C (init): remove spurious static_cast
4195 2003-05-14 André Pönitz <poenitz@gmx.net>
4197 * BufferView.C: fix format string
4199 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
4201 * BufferView.[Ch] (insertErrors): removed
4202 * BufferView.[Ch] (showErrorList): added
4203 * buffer.C (runChkTeX):
4204 * converter.C (scanLog): call showErrorList instead of inserterrors
4206 2003-05-13 André Pönitz <poenitz@gmx.net>
4208 * BufferView_pimpl.C:
4210 * bufferview_func.C:
4217 * tabular_funcs.h: tostr() from its own header
4219 * ParagraphParameters.C:
4224 * text3.C: STRCONV()
4226 2003-05-12 André Pönitz <poenitz@gmx.net>
4229 * BufferView_pimpl.C:
4233 * ParagraphParameters.C:
4237 * bufferview_funcs.C:
4250 * paragraph_funcs.C:
4254 * text3.C: boost::format -> bformat all over the place
4257 2003-05-09 André Pönitz <poenitz@gmx.net>
4259 * LColor.[Ch]: Pimpl the #include <map> away
4261 2003-05-09 John Levon <levon@movementarian.org>
4263 * bufferlist.C: never remove emergency saves
4265 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4267 * Makefile.am: better lib building
4269 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4271 * texrow.[Ch]: remove dependency on Paragraph and just store a id
4273 * paragraph_pimpl.C (simpleTeXBlanks): adjust
4274 (simpleTeXSpecialChars): adjust
4275 (simpleTeXSpecialChars): adjust
4276 * paragraph.C (simpleTeXOnePar): adjust
4277 * buffer.C (makeLaTeXFile): adjust
4279 * Makefile.am (BOOST_LIBS): allow boost as system lib.
4281 * text2.C (changeDepth): parlist cleanup
4282 (getColumnNearX): ditto
4284 * rowpainter.C (getLabelFont): parlist cleanup
4286 * bufferlist.C (newFile): parlist cleanup
4288 * CutAndPaste.C (eraseSelection): parlist cleanup
4290 * BufferView_pimpl.C (trackChanges): parlist cleanup
4293 * BufferView.C (lockInset): parlist cleanup.
4294 (ChangeInsets): ditto
4296 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4298 * CutAndPaste.h: Update file header.
4300 * CutAndPaste.C: Update file header.
4301 Store the parts cut out of the Document in a limited_stack.
4302 (copySelection): adjust
4303 (pasteSelection): new function, takes the index in the limited stack.
4304 (nrOfParagraphs): adjust
4305 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4306 simplify error inset insertion.
4307 (checkPastePossible): adjust
4309 2003-05-06 John Levon <levon@movementarian.org>
4311 * text2.C: don't cast wrap inset to float
4313 2003-05-05 André Pönitz <poenitz@gmx.net>
4316 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4318 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4319 few naked Paragraph *.
4321 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
4323 * bufferparams.C: Output warning if a document with missing
4324 TeX document class is loaded
4325 * exporter.C: Disable TeX exports if the document class is missing
4328 * lyxtextclasslist.C: Handle new textclass.lst format; new method
4329 isTeXClassAvailable()
4331 2003-05-03 John Levon <levon@movementarian.org>
4334 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4335 explicit cursor show/hide
4337 * BufferView_pimpl.h:
4338 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4339 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4341 * lyxfunc.C: hide cursor before dispatching.
4346 * text3.C: remove explicit cursor hides
4348 2003-05-02 André Pönitz <poenitz@gmx.net>
4350 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4353 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4356 * text2.C: tiny whitespace
4358 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4360 * undo_funcs.C: almost only ws changes.
4362 * ParagraphList.C (splice): just return if pl is empty.
4364 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4366 * ParagraphList.C (splice): new function.
4368 * CutAndPaste.C (pasteSelection): use it
4370 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4372 * CutAndPaste.C (pasteSelection): remove the last next and
4373 previous from this file.
4375 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4377 * CutAndPaste.C (pasteSelection): more clean up, user proper
4378 ParagraphList functions for pasteing.
4380 * ParagraphList.C (insert): new function, three arg insert
4382 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4384 * ParagraphList.C (insert): new function, three arg insert
4386 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4389 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4391 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4393 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4395 * CutAndPaste.C (pasteSelection): remove some unneeded code.
4397 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4399 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4400 (copySelection): clean up a bit.
4401 (pasteSelection): use make_pair
4403 * ParagraphList.C (ParagraphList): implement copy constructor
4404 (operator=): implement, base on copy constructor.
4407 * paragraph.C (erase): return a bool
4409 * paragraph_pimpl.C (erasePos): remove function, move contents...
4410 (erase): ... here. Return a bool.
4411 (erase): call erase instead of erasePos.
4413 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
4415 * ParagraphList.h: define PitPosPair
4416 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4417 ParagraphList, fix a bug on pasting multiple pars
4418 * text2.C: change interface to C&P
4420 2003-04-30 André Pönitz <poenitz@gmx.net>
4422 * undo_func.C: revert part of yesterday's patch 2
4424 2003-04-30 John Levon <levon@movementarian.org>
4426 * LColor.C: s/tabular/table/
4428 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4430 * text3.C (dispatch): do not convert iterator -> pointer
4431 * undo_funcs.C (setCursorParUndo): ditto
4432 * text_funcs.C (transposeChars): ditto
4434 * text2.C (setLayout): ws changes only
4436 * text.C (breakParagraph): do not convert iterator -> pointer
4438 (acceptChange): ditto
4439 (rejectChange): ditto
4444 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4447 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4449 * text3.C (gotoInset): YABG (yet another bad getChar)
4451 2003-04-29 André Pönitz <poenitz@gmx.net>
4453 * paragraph.h: make operator= private unimplemented as long as
4456 * ParagraphList.C: whitespace
4459 * paragraph_pimpl.[Ch]:
4460 * paragraph_funcs.C:
4462 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
4465 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4467 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4469 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4470 * paragraph.[Ch] (erase):
4471 * paragraph_pimpl.[Ch] (erase): change return type and value
4472 * text2.C (cutSelection): some rework
4474 2003-04-28 John Levon <levon@movementarian.org>
4476 * bufferlist.C: changes for unsaved changes dialog
4478 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4480 * bufferlist.C (newFile): set language (messages_) for new
4483 * buffer.C (readFile): ws changes only.
4485 2003-04-28 André Pönitz <poenitz@gmx.net>
4490 * BufferView_pimpl.C:
4491 * BufferView.C: getParFromID related ParagraphList::iterator changes
4493 2003-04-28 André Pönitz <poenitz@gmx.net>
4495 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4498 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4500 * messages.C: remove one more localedir class variable.
4502 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4504 * messages.C (getLocaleDir): singleton generation function
4506 (Messages): add a default constructor.
4508 * main.C (main): do not setup localedir here, do not call
4511 * gettext.C (_): use it.
4512 (gettext_init): delete funciton
4514 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4516 * gettext.C (getLyXMessages): new singleton generating function.
4518 * buffer.C (updateDocLang): adjust
4520 * Makefile.am (messages.o): add target
4521 (main.o): remove target
4523 2003-04-27 John Levon <levon@movementarian.org>
4528 * lyxvc.C: specify cancel button in Alert::prompt
4530 2003-04-26 John Levon <levon@movementarian.org>
4535 * LyXAction.C: add LFUN_INSET_SETTINGS
4537 * lyxfunc.C: don't enable tabular-feature when there's
4538 just any locking inset
4540 2003-04-26 John Levon <levon@movementarian.org>
4542 * bufferlist.C: re-add Cancel to buffer close question
4544 * lyxfunc.C: fix import UI a bit
4546 2003-04-25 John Levon <levon@movementarian.org>
4548 * gettext.C: remove the broken asserts for now
4550 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4552 * messages.C: make case where setlocale cannot comply work better.
4554 * buffer.C (updateDocLang): new function
4555 (changeLanguage): use it
4558 * text2.C (setCounter): use B_ a bit.
4560 * lyxlayout.C (Read): be sure to trim the label strings.
4562 * messages.C (Messages): fix typo in comment
4564 * buffer.C (readFile): set message_ after file is loaded.
4565 (makeDocBookFile): remove double return
4566 (changeLanguage): reset message_ upon language change.
4567 (B_): new func, use this to get translated buffer strings.
4569 * main.C: add myself and Jean Marc as authors.
4571 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4573 * messages.[hC]: pimplify Messages, and three different pimpls to be
4574 used in different circumstances.
4576 * gettext.[Ch]: change for use with new message code.
4578 2003-04-24 André Pönitz <poenitz@gmx.net>
4580 * factory.C: support for eqref
4582 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4584 * messages.[Ch]: add missing char
4586 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4588 * messages.[Ch]: New files
4590 2003-04-18 John Levon <levon@movementarian.org>
4594 * BufferView_pimpl.C:
4598 * text2.C: remove layout-copy/paste (bug 778)
4600 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4602 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4604 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4606 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4607 if they succeed. Act accordingly.
4609 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4611 * text2.C (setCharFont): adjust
4612 (setCounter): adjust
4613 (insertStringAsLines): adjust
4615 * text.C (leftMargin): adjust
4616 (setHeightOfRow): adjust
4618 * rowpainter.C (paintFirst): adjust
4621 * paragraph_funcs.C (depthHook): ParagraphList::iterators
4623 (isFirstInSequence): ditto
4624 (getEndLabel): ditto
4627 * paragraph.C (getParLanguage): comment out some hard stuff.
4629 * buffer.C (insertStringAsLines): take a ParagraphList as arg
4631 (simpleDocBookOnePar): ditto
4632 (makeDocBookFile): use ParagraphList::iterator
4634 * CutAndPaste.C (pasteSelection): adjust
4636 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4638 * text2.C (getFont): adjust
4639 (getLayoutFont): adjust
4640 (getLabelFont): adjust
4642 * paragraph_funcs.C (TeXOnePar): adjust
4644 * buffer.C (simpleLinuxDocOnePar): adjust
4645 (simpleDocBookOnePar): adjust
4647 * CutAndPaste.C (pasteSelection): adjust
4649 * BufferView.C (getEncoding): adjust
4651 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4653 2003-04-16 John Levon <levon@movementarian.org>
4655 * lyxfind.C: use parlist stuff for search/changes
4657 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4659 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4661 * text2.C (deleteEmptyParagraphMechanism): adjust
4663 * text2.[Ch] (ownerParagraph): delete func (both of them
4665 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4667 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4669 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4671 * ParagraphList.C: prepare for NO_NEXT
4673 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4675 * text2.C (getFont): adjust
4676 (getLayoutFont): adjust
4677 (getLabelFont): adjust
4679 * paragraph.C (getFont): adjust
4680 (getLabelFont): adjust
4681 (getLayoutFont): adjust
4683 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4685 2003-04-15 John Levon <levon@movementarian.org>
4689 * lyx_main.C: handle Include in .ui files
4691 2003-04-15 John Levon <levon@movementarian.org>
4693 * MenuBackend.C: make the doc files length shorter
4696 * ToolbarBackend.C: handle toolbar placement flags,
4699 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4701 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4704 * paragraph_funcs.C (TeXOnePar): adjust
4706 * paragraph.C (getLabelFont): add outerfont arg, adjust
4707 (getLayoutFont): ditto
4708 (simpleTeXOnePar): adjust
4710 * paragraph_pimpl.C (realizeFont): delete func
4712 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
4714 * text2.C (beforeFullRowInset): added a bad getchar check, removed
4715 row argument, constify cur argument.
4717 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4719 * text2.C (getFont): adjust
4720 (getLayoutFont): adjust
4721 (getLabelFont): adjust
4723 * paragraph_funcs.C (TeXOnePar): adjust
4724 (outerFont): new func...
4725 (realizeFont): ...moved out from here, changed this to facilitate
4728 * paragraph.C (getFont): take outerfont as arg, adjust
4729 (simpleTeXOnePar): add outerfont arg, adjust
4731 * buffer.C (simpleLinuxDocOnePar): adjust
4732 (simpleDocBookOnePar): adjust
4734 * CutAndPaste.C (pasteSelection): adjust
4736 * BufferView.C (getEncoding): adjust
4738 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4740 * text2.C (setCharFont): adjust
4741 (setCounter): adjust
4743 * text.C (leftMargin): adjust
4744 (setHeightOfRow): adjust
4746 * rowpainter.C (paintFirst): adjust
4749 * paragraph_pimpl.C (realizeFont): adjust
4751 * paragraph.C (isFirstInSequence): move from here...
4752 * paragraph_funcs.C (isFirstInSequence): ...to here
4754 * paragraph.C (outerHook): move from here...
4755 * paragraph_funcs.C (outerHook): ...to here
4757 * paragraph.C (depthHook): move from here...
4758 * paragraph_funcs.C (depthHook): ...to here
4760 * paragraph.C (getEndLabel): move from here...
4761 * paragraph_funcs.C (getEndLabel): ...to here
4763 * text2.C (realizeFont): move from here...
4764 * paragraph_funcs.C (realizeFont): ...to here
4766 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4768 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4770 2003-04-14 Angus Leeming <leeming@lyx.org>
4772 * LColor.[Ch]: scrap LColor mathcursor.
4774 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4776 * lyxlex.[Ch] (text): delete function
4777 * trans.C (Load): adjust
4778 * paragraph_funcs.C (readParToken): adjust
4780 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4782 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4783 vector<char> instead of a char[].
4785 * lyxlex_pimpl.C (getString): adjust
4787 (lex): use getString
4791 * lyxlex.C (text): use pimpl_->getString()
4795 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4797 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4798 (makeFontEntriesLayoutSpecific): temp var for par.size()
4799 (setLayout): temp var for ownerParagraphs().end()
4800 (fullRebreak): temp var for rows().end()
4801 (selectionAsString): temp var for boost::next(startpit), realize
4802 that the while really is a regular for loop.
4803 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4804 setCursor in one place.
4805 (setParagraph): temp vr for ownerParagraphs().end()
4806 (updateCounters): make the while loop a for loop
4807 (cutSelection): temp var for ownerParagraphs().end()
4808 (updateInset): make the do {} while() a regular for loop
4809 (getCursorX): use temp vars
4810 (setCurrentFont): use temp vars
4811 (getColumnNearX): use temp vars
4813 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4815 * text.C (transformChar): use temp var for getChar
4816 (computeBidiTables): use temp var for row->par()
4817 (fill): move temp vars for row->par() and pit->layout() earlier in
4819 (labelFill): use temp var for row->par()
4820 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4821 asc and desc, realize that pit never changes and that firstpit is
4822 just a duplicate and not needed. Exchange rit->par() with pit in a
4824 (breakAgain): use a temp var for boost::next(rit)
4825 (breakAgainOneRow): ditto
4826 (breakParagraph): use a temp var for rows().begin()
4827 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4828 (cursorRightOneWord): use temp var for cursor.par() and
4829 cursor.pos(), remove usage of tmpcursor.
4830 (cursorLeftOneWord): use temp var for cursor.par() and
4831 cursor.pos() only set cur at end of function.
4833 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4835 * text.C, text2.C: exchange all usage of Paragraph::next with
4836 boost::next(ParagraphList::iterator)
4838 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4840 * text2.C (cursorTop): simplify implementation
4841 (cursorBottom): ditto
4842 (setParagraph): use ParagraphList::iterator
4843 (setCurrentFont): adjust
4844 (getColumnNearX): adjust
4845 (cursorRight): adjust
4846 (cursorLeft): remove usage of Paragraph::previous
4847 (cursorUpParagraph): ditto
4848 (deleteEmptyParagraphMechanism): slight cleanup
4850 * text.C (isBoundary): take a Paragraph const & instead of a
4852 (addressBreakPoint): ditto
4853 (leftMargin): remove usage of Paragraph::previous.
4854 (setHeightOfRow): ditto
4855 (cursorLeftOneWord): ditto
4856 (selectNextWordToSpellcheck): ditto
4859 (breakParagraph): remove one usage of Paragraph::next
4860 (redoParagraph): ditto
4861 (acceptChange): ditto
4862 (insertChar): adjust
4863 (rowBreakPoint): adjust
4865 * bufferview_funcs.C (toggleAndShow): adjust
4867 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
4869 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4870 methods to access it.
4872 * text.C: Added updateRowPositions to compute all row positions.
4873 Make top_y and getRowNearY() to use the cached y position
4875 2003-04-11 John Levon <levon@movementarian.org>
4877 * text.C (rowBreakPoint): reintroduce the labelEnd
4878 checks, code copied from the row fill stuff. Deep voodoo.
4880 * text.C (fill): add a comment and debugging for the
4883 2003-04-11 John Levon <levon@movementarian.org>
4885 * text.C: make sure fullrow insets get wrapped to the next line,
4886 even when they're in a manual label
4888 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4890 * text2.C (insertParagraph): make it take ParagraphList::iterator
4892 (setLayout): make it return ParagraphList::iterator
4893 (redoParagraphs): ditto
4895 (checkParagraph): ditto
4897 * text.C (getRow): make getrow take ParagraphList::iterator as arg
4899 * text2.C: adjust several funcs.
4900 (realizeFont): take a ParagraphList::iterator as arg.
4901 (getLayoutFont): ditto
4902 (getLabelFont): ditto
4903 (setCharFont): ditto
4905 * text.C: adjust several funcs.
4907 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4909 * text.C (selectNextWordToSpellcheck): don't accidentally
4912 2003-04-10 John Levon <levon@movementarian.org>
4914 * ToolbarBackend.C (getIcon): special handling for
4917 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4919 * text2.C (cursorRight): a getChar assert fixed
4921 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4923 * text2.C (getFont): change to take a ParagraphList::iterator
4924 instead of Paragraph*
4925 Adjust several functions.
4927 * text.C (transformChar): change to take a ParagraphList::iterator
4928 instead of Paragraph*
4929 (singleWidth): ditto
4930 Adjust several functions.
4932 * rowpainter.C: adjust several functions
4933 * rowpainter.h:store a ParagraphList::iterator and not a
4937 2003-04-09 John Levon <levon@movementarian.org>
4942 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4943 and the "help" bits as well
4945 2003-04-09 John Levon <levon@movementarian.org>
4948 * ToolbarBackend.C: allow multiple toolbars
4950 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4952 * undo_funcs.C (setCursorParUndo): adjust
4954 * text_funcs.C (transposeChars): adjust
4956 * text3.C (gotoNextInset): adjust
4959 * text2.C (setLayout): adjust
4960 (changeDepth): adjust
4962 (redoParagraphs): adjust
4963 (selectionAsString): adjust
4964 (setParagraph): adjust
4965 (insertInset): adjust
4966 (cutSelection): adjust
4967 (copySelection): adjust
4968 (pasteSelection): adjust
4969 (insertStringAsLines): adjust
4970 (updateInset): adjust
4971 (setCursor): change to take a ParagraphList::iterator parameter
4972 (setCursorIntern): change to take a ParagraphList::iterator parameter
4973 (setCurrentFont): adjust
4974 (cursorLeft): adjust
4975 (cursorRight): adjust
4976 (deleteEmptyParagraphMechanism): adjust
4978 * text.C (breakParagraph): adjust
4979 (insertChar): adjust
4980 (acceptChange): adjust
4981 (rejectChange): adjust
4982 (selectNextWordToSpellcheck): adjust
4983 (changeCase): adjust
4987 * lyxfind.C (SearchForward): adjust
4988 (SearchBackward): adjust
4989 (nextChange): adjust
4991 * lyxcursor.C (par): adjust
4993 * lyxcursor.h: store a ParagraphList::iterator instead of a
4996 * lyx_cb.C (getPossibleLabel): adjust
4998 * bufferview_funcs.C (toggleAndShow): adjust
5000 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5003 * BufferView.C (removeAutoInsets): adjust
5004 (lockedInsetStoreUndo): adjust
5006 2003-04-09 John Levon <levon@movementarian.org>
5008 * ToolbarBackend.C: try icon without argument
5009 if with argument fails
5011 2003-04-08 John Levon <levon@movementarian.org>
5014 * ToolbarBackend.C: add getIcon(), handle tooltip,
5015 and change from "Icon" to "Item".
5017 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5019 * BufferView.C (lockInset): another bad getchar crunched
5021 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5023 * text2.C (changeDepth): do not setUndo on test_only (make undo work
5026 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
5028 * lyxfind.C (searchForward, searchBackwards): bug 782
5030 2003-04-07 John Levon <levon@movementarian.org>
5032 * paragraph.C: remove dead comment
5034 * text.C: remove troublesome depth-fiddling code
5035 in leftMargin() and rightMargin() (bug 1017)
5037 * text.C: fix breaking of rows in nested lists
5040 * text2.C (updateCounters): fix up depth values
5043 2003-04-07 John Levon <levon@movementarian.org>
5045 * BufferView_pimpl.C: clear message when doc finishes resizing,
5046 and after a mouse event
5048 * lyxfunc.C: clear message after exiting inset
5050 2003-04-07 John Levon <levon@movementarian.org>
5052 * bufferview_funcs.C: show math status not outside
5053 status in the statusbar
5055 2003-04-07 John Levon <levon@movementarian.org>
5057 * lyxfunc.C: note status changed after a depth change
5059 2003-04-04 Angus Leeming <leeming@lyx.org>
5061 * LaTeX.h: move AuxInfo operator==, != out of line.
5062 Remove LaTeX virtual destructor; nothing derives from it.
5063 Move operator()() out of public area and rename it startscript().
5064 Change protected for private.
5066 2003-04-04 Angus Leeming <leeming@lyx.org>
5069 * text2.C: remove unneeded #includes.
5071 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5073 * text2.C (dEPM): fix the heigth of the next row
5075 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5077 * text.C: squashed an invalid getChar requester + some ws changes
5079 2003-04-03 John Levon <levon@movementarian.org>
5081 * bufferview_funcs.h:
5082 * bufferview_funcs.C:
5085 * text2.C: make getStatus work for the env depth lfuns
5087 2003-04-03 John Levon <levon@movementarian.org>
5089 * bufferview_funcs.h:
5090 * bufferview_funcs.C:
5093 * text2.C: parlistize decDepth(), by merging it with incDepth()
5095 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5097 * lyxrow.h: store a ParagraphList::iterator instead of a
5098 Paragraph* and adjust other class functions to suit.
5100 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5103 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5105 * text2.C (setCursor): do not anchor to cursor row for the time being
5107 2003-04-02 John Levon <levon@movementarian.org>
5114 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5116 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5118 * paragraph.h: make ParagraphList and ParagraphList::iterator
5119 friends of Paragraph.
5121 * buffer.C (makeLinuxDocFile): move towards ParagraphList
5123 * ParagraphList.C: Use the private next_ and previous_ from
5126 2003-04-01 John Levon <levon@movementarian.org>
5130 * Makefile.am: rename, remove defaults gunk
5133 * MenuBackend.C: remove defaults gunk
5136 * Languages.C: remove defaults gunk
5139 * lyx_main.C: error out if files couldn't be found.
5141 2003-04-02 John Levon <levon@movementarian.org>
5143 * text2.C: make incDepth() use parlist
5145 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5147 * undo_funcs.C (firstUndoParagraph): adjust
5149 * text3.C (gotoInset): adjust
5150 (dispatch): adjust, and rewrite loop.
5152 * text2.C (init): adjust, and rewrite loop.
5153 (redoParagraphs): adjust
5154 (updateInset): adjust, and rewrite loop.
5155 (deleteEmptyParagraphMechanism): adjust
5157 * tabular.C (LyXTabular): adjust
5158 (SetMultiColumn): adjust
5161 * lyxtext.[Ch] (ownerParagraph): delete function
5162 (ownerParagraphs): new function returns a ParagraphList.
5164 * BufferView.C (removeAutoInsets): adjust
5165 (insertErrors): adjust
5166 (setCursorFromRow): adjust
5168 2003-04-01 Angus Leeming <leeming@lyx.org>
5170 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5173 2003-04-02 John Levon <levon@movementarian.org>
5179 * text_funcs.C: make transposeChars a free function
5181 * lyxrow_funcs.C: remove wrong comment
5183 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5186 * rowpainter.C: adjust
5191 * lyxrow_funcs. [Ch]: new files
5193 * lyxrow.[Ch]: remove next and previous pointers
5194 (next,previous): remove accessor functions
5195 (isParEnd): move to lyxrow_funcs
5196 (lastPos): move to lyxrow_funcs
5197 (nextRowIsAllInset): move to lyxrow_funcs
5198 (lastPrintablePos): move to lyxrow_funcs
5199 (numberOfSeparators): move to lyxrow_funcs
5200 (numberOfHfills): move to lyxrow_funcs
5201 (numberOfLabelHfills): move to lyxrow_funcs
5202 (hfillExpansion): move to lyxrow_funcs
5206 * bufferview_funcs.C (toggleAndShow): adjust
5208 * RowList.h: Remove class RowList from file leave just a
5211 * RowList.C: delete file
5213 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5216 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5218 * text3.C (cursorPrevious): adjust
5219 (cursorNext): adjust
5222 * text2.C (redoHeightOfParagraph): adjust
5223 (redoDrawingOfParagraph): adjust
5226 * text.C (breakParagraph): adjust
5227 (insertChar): adjust
5230 * rowpainter.C (RowPainter): adjust
5231 (leftMargin): simplify and adjust
5232 (most rowpainter functions): adjust.
5234 * rowpainter.h: store the row as RowList::iterator not as Row*
5236 * lyxcursor.C (row): taka RowList::iterator as arg
5239 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5242 2003-04-01 Angus Leeming <leeming@lyx.org>
5244 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5245 stuff like bool Bool.
5247 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5249 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5252 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5254 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5257 * lyxtext.h (rows): drop one version and leve a const variant that
5258 returns a RowList::iterator.
5260 2003-03-31 Angus Leeming <leeming@lyx.org>
5262 * text.C (fill): ensure that the signature is the same as that in the
5265 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
5267 * text2.C (redoParagraphs): adjust
5268 (updateCounters): adjust
5269 (checkParagraph): adjust
5270 (getColumnNearX): adjust and reformat a bit.
5272 * text.C (top_y): adjust
5274 (leftMargin): adjust
5275 (prepareToPrint): adjust
5277 (getRowNearY): adjust
5279 * lyxtext.h: make rowlist_ mutable.
5281 * RowList.h: add const_iterator
5282 * RowList.C: adjust for RowList::const_iterator.
5284 * text2.C (getCursorX): make it take a RowList::iterator as arg,
5287 2003-03-31 John Levon <levon@movementarian.org>
5290 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5292 * lyx_main.C: set default fonts from using lyx_gui funcs
5294 * exporter.C: pdf_mode moved from lyxrc
5297 * lyxfunc.C: changes from above
5299 2003-03-31 John Levon <levon@movementarian.org>
5301 * lyx_main.C: fix to the last fix
5303 2003-03-31 John Levon <levon@movementarian.org>
5305 * bufferlist.C: "Load original" -> "Load Original"
5311 * format.C: more Alert cleanups
5313 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5315 * text2.C (removeParagraph): make it take a RowList::iterator as
5317 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5318 (postRowPaint): make it take a RowList::iterator as arg, adjust.
5320 * text.C (anchor_row): make it take a RowList::iterator as arg,
5322 (computeBidiTables): make it take a const reference to Row instead
5323 of Row pointer, adjust.
5324 (leftMargin): make it take a RowList::iterator as arg, adjust.
5325 (rowBreakPoint): adjust
5326 (breakAgainOneRow): make it take a RowList::iterator as arg,
5328 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5330 * bufferview_funcs.C (toggleAndShow): adjust
5332 2003-03-30 John Levon <levon@movementarian.org>
5336 * boost-inst.C: moved to support
5338 * several files: changes as a result
5340 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5342 * text2.C (LyXText): adjust.
5344 (removeRow): make it take a RowList::iterator as arg, adjust.
5345 (fullRebreak): adjust
5346 (deleteEmptyParagraphMechanism): adjust
5347 (clearPaint): adjust
5350 * text.C (top_y): adjust
5351 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5352 (breakAgain): make it take a RowList::iterator as arg, adjust.
5353 (breakParagraph): adjust
5354 (insertChar): adjust
5357 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5358 need_break_row, and refresh_row.
5360 * text3.C (dispatch): adjust
5362 * text2.C (checkParagraph): adjust
5364 (setCursorFromCoordinates): adjust
5366 * text.C (top_y): adjust
5368 (getRow): make it return a RowList::iterator, adjust
5369 (getRowNearY): make it return a RowList::iterator, adjust
5371 * text2.C (init): adjust
5372 (insertRow): remove function
5373 (insertParagraph): adjust
5374 (redoParagraphs): adjust
5375 (fullRebreak): adjust
5376 (updateCounters): adjust
5378 * text.C (top_y): rewrite to use RowList iterators.
5380 (setHeightOfRow): rewrite to sue RowList iterators.
5381 (appendParagraph): adjust
5382 (breakAgain): adjust
5383 (breakAgainOneRow): adjust
5384 (breakParagraph): adjust
5386 (getRowNearY): adjust, and remove commented code.
5388 * lyxtext.h (firstRow): delete function
5389 (lastRow): delete function
5390 (rows): new function (const and non-const versions.)
5391 (insertRow): delete function
5393 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5395 2003-03-29 John Levon <levon@movementarian.org>
5397 * BufferView_pimpl.C: always update scrollbar top
5398 because pasting text when we're anchored could mean we
5399 miss an update altogether
5401 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5403 * text2.C (init): use rowlist_.end() and not 0.
5404 (insertRow): change to take a RowList::iterator as arg, adjust
5406 (insertParagraph): change to take a RowList::iterator as arg,
5408 (redoParagraphs): remove some debug msgs.
5410 * text.C (appendParagraph): change to take a RowList::iterator
5411 arg, adjust for this.
5412 (breakAgain): add an assert
5413 (breakAgainOneRow): ditto
5415 2003-03-29 John Levon <levon@movementarian.org>
5417 * text2.C: do not clear selection after inc/decDepth
5420 2003-03-29 John Levon <levon@movementarian.org>
5423 * buffer.C: fix broken strerrors according to Lars
5425 2003-03-29 John Levon <levon@movementarian.org>
5427 * converters.C: more Alert cleanups
5429 2003-03-29 John Levon <levon@movementarian.org>
5431 * bufferview_funcs.C: remove pointless Alert
5433 * buffer.C: fix confusing error message when
5434 a template is chmoded 000
5436 2003-03-29 John Levon <levon@movementarian.org>
5440 * BufferView_pimpl.C: Alert fixes
5444 * tabular-old.C: remove unused table compat reading
5446 2003-03-29 John Levon <levon@movementarian.org>
5451 * lyx_cb.C: more Alert cleanups
5453 * lyxfunc.C: don't allow chktex if not latex document
5455 2003-03-29 John Levon <levon@movementarian.org>
5459 * buffer.C: warnings pushed down from support/,
5462 2003-03-29 John Levon <levon@movementarian.org>
5464 * lyxfunc.C: safety check for C-r (revert)
5466 2003-03-29 John Levon <levon@movementarian.org>
5469 * bufferlist.C: several UI fixes using Alert::prompt.
5470 Fix the pointless looping quit code. Fix stupid revert
5475 * lyx_cb.C: use Alert::prompt
5477 * lyx_main.C: remove a silly question
5479 * lyxfunc.C: remove a couple of silly questions,
5482 2003-03-28 John Levon <levon@movementarian.org>
5484 * text2.C: fix bug 974 (End on empty par)
5486 2003-03-28 John Levon <levon@movementarian.org>
5488 * BufferView_pimpl.C:
5490 * lfuns.h: remove do-nothing math greek lfuns
5492 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5494 * lyxgluelength.h (isValidGlueLength): add default arg on
5495 parameter 2. Remove default arg from friend in class.
5497 * lyxlength.h (isValidLength): add default arg on parameter 2.
5498 Remove default arg from friend in class.
5500 * text2.C (LyXText): adjust, initialize refresh_row.
5504 (insertParagraph): adjst
5505 (redoParagraphs): adjust
5506 (fullRebreak): adjust
5507 (updateCounters): adjust
5508 (deleteEmptyParagraphMechanism): first attempt at fixing a
5511 * text.C (top_y): adjust
5512 (setHeightOfRow): adjust
5514 (getRowNearY): adjust
5516 * lyxtext.h: include RowList.h
5517 (~LyXText): not needed anymore, deleted.
5518 (firstRow): modify for RowList
5519 (lastRow): new function
5520 Delete firstrow and lastrow class variables, add a Rowlist
5521 rowlist_ class variable.
5523 * lyxrow.C (lastPos): use empty() and not !size() to check if a
5526 * RowList.C (insert): fix case where it == begin().
5528 2003-03-26 Angus Leeming <leeming@lyx.org>
5530 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5531 the thesaurus dialog.
5533 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5535 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5537 * RowList.[Ch]: new files
5539 * ParagraphList.C (erase): handle the case where it == begin
5542 2003-03-25 John Levon <levon@movementarian.org>
5546 * aspell.C: add new aspell support
5549 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5552 2003-03-25 Angus Leeming <leeming@lyx.org>
5555 * LyXAction.C (init): new LFUN_INSET_INSERT.
5557 * BufferView_pimpl.C (dispatch): split out part of the
5558 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5560 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5563 2003-03-25 Angus Leeming <leeming@lyx.org>
5565 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5567 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5570 * text3.C: remove useless row->height(0)
5572 2003-03-25 John Levon <levon@movementarian.org>
5576 * text3.C: rename the refreshing stuff to better names
5578 2003-03-24 John Levon <levon@movementarian.org>
5580 * BufferView_pimpl.h:
5581 * BufferView_pimpl.C: update layout choice on a mouse
5584 2003-03-23 John Levon <levon@movementarian.org>
5586 * Makefile.am: fix commandtags.h reference
5588 2003-03-22 John Levon <levon@movementarian.org>
5590 * BufferView_pimpl.C:
5595 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5597 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5600 * text.C: take the rtl methods out of line
5602 2003-03-21 André Pönitz <poenitz@gmx.net>
5604 * metricsinfo.[Ch]: new files containing structures to be passed around
5605 during the two-phase-drawing...
5607 2003-03-21 André Pönitz <poenitz@gmx.net>
5609 * lyxtextclass.C: read 'environment' tag.
5611 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5613 * text2.C (removeRow): fix bug 964
5615 2003-03-20 John Levon <levon@movementarian.org>
5619 * text2.C: paint cleanups. Inset::update() dropped font
5622 2003-03-19 John Levon <levon@movementarian.org>
5624 * lyxfunc.C: only fitcursor/markDirty if available()
5626 2003-03-19 John Levon <levon@movementarian.org>
5628 * commandtags.h: rename to ...
5630 * lfuns.h: ... this, and renumber / cleanup
5632 2003-03-19 John Levon <levon@movementarian.org>
5634 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5635 fit the cursor after an lfun
5639 * BufferView_pimpl.h:
5640 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5642 * LyXAction.C: layout-character should have ReadOnly
5644 * ParagraphParameters.C:
5646 * bufferview_funcs.C:
5653 * undo_funcs.C: changes from above
5655 2003-03-18 John Levon <levon@movementarian.org>
5657 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5658 remove it from update()
5660 * lyxfunc.C: update layout choice after an lfun
5662 * text3.C: remove extra updateLayoutChoice()s
5664 2003-03-18 John Levon <levon@movementarian.org>
5666 * text.C: top_y change means full repaint, fix
5667 a drawing bug with cursor movement
5669 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5673 * text2.C: anchor row on setCursor
5675 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5677 * lyxtext.h: remove almost all mutable keywords
5680 * text3.C: remove const keywords accordingly
5682 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5684 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5686 (TeXEnvironment): ditto
5689 2003-03-17 John Levon <levon@movementarian.org>
5691 * text.C (rowBreakPoint): remove attempt to fix displayed
5692 math insets inside a manual label
5694 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5696 * lyxtext.h: remove BufferView* as first arg from almost all class
5698 * other files: adjust.
5700 2003-03-17 John Levon <levon@movementarian.org>
5704 * text2.C: more paint cleanups
5706 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5709 * rowpainter.C: remove "smart" background painting code
5711 2003-03-16 John Levon <levon@movementarian.org>
5716 * text3.C: add helper functions for setting refresh_row/y
5718 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
5720 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5721 newline inset which *can* get inserted in the pass_thru layouts.
5722 This is primarily for literate documents.
5724 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
5726 * buffer.C: increment LYX_FORMAT to 223
5728 2003-03-14 André Pönitz <poenitz@gmx.net>
5730 * textclass.h: prepare for environment handling, ws changes
5731 * lyxlayout.C: read latexheader and latexfooter tags
5733 2003-03-14 John Levon <levon@movementarian.org>
5735 * text2.C: rewrite ::status() a bit
5737 2003-03-13 John Levon <levon@movementarian.org>
5739 * lyxtext.h: add some docs
5741 2003-03-13 John Levon <levon@movementarian.org>
5746 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5748 2003-03-13 John Levon <levon@movementarian.org>
5750 * text3.C: fix appendix redrawing
5752 2003-03-13 John Levon <levon@movementarian.org>
5754 * text.C (setHeightOfRow):
5756 * rowpainter.C: make appendix mark have the text
5757 "Appendix" so the user knows what it is
5760 * LColor.C: s/appendixline/appendix/ from above
5762 2003-03-13 John Levon <levon@movementarian.org>
5764 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5766 * text.C: fix a getChar(pos) bug properly
5768 2003-03-13 Angus Leeming <leeming@lyx.org>
5771 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5772 Probably only temporary. Let's see how things pan out.
5774 * BufferView.C (unlockInset):
5775 * BufferView_pimpl.C (fitCursor):
5776 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5778 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5779 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5781 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5782 new functions that convert ParagraphParameters to and from a string.
5784 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5785 BufferView::Pimpl's dispatch.
5786 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5788 2003-03-13 André Pönitz <poenitz@gmx.net>
5792 * factory.C: make it aware of InsetEnv
5794 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5796 * text2.C (setCursor): never ask for one past last
5797 (setCursor): add some debugging messages.
5799 * text.C (singleWidth): never ask for one past last
5800 (singleWidth): ditto
5802 (rightMargin): ditto
5803 (rowBreakPoint): ditto
5804 (setHeightOfRow): ditto
5805 (prepareToPrint): ditto
5807 * rowpainter.C (paintBackground): never ask for one past last
5808 (paintText): never ask for one past last
5810 * paragraph_pimpl.C (getChar): make the assert stricter, never
5811 allow the one past last pos to be taken
5813 * paragraph.C (getChar): ws changes only
5815 * lyxrow.C (nextRowIsAllInset): never ask for one past last
5816 (numberOfSeparators): ditto
5817 (numberOfHfills): ditto
5819 2003-03-12 John Levon <levon@movementarian.org>
5825 * paragraph_funcs.C: fix per-buffer authorlists
5827 2003-03-12 John Levon <levon@movementarian.org>
5829 * text.C: fix newline in right address
5831 2003-03-12 Angus Leeming <leeming@lyx.org>
5833 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5834 duplicate those in LyXFunc::dispatch.
5838 * ToolbarDefaults.C:
5839 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5840 Add LFUN_FONTFREE_UPDATE.
5842 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5843 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5845 * bufferview_func.[Ch]: several new functions to facilliate
5846 transfer of data to and from the character dialog.
5848 2003-03-12 John Levon <levon@movementarian.org>
5853 * paragraph_funcs.C:
5854 * paragraph_pimpl.C:
5858 * text3.C: remove META_NEWLINE in favour of an inset
5861 * rowpainter.C: remove paintNewline (done by inset)
5863 2003-03-12 John Levon <levon@movementarian.org>
5865 * paragraph_pimpl.C: complain about bad getChar()s
5866 for a while at least
5868 2003-03-12 John Levon <levon@movementarian.org>
5871 * buffer.C: move paragraph read into a separate function,
5872 a little renaming to reflect that.
5875 * bufferparams.C: remove the author_ids map, not necessary now
5878 * factory.C: moved Buffer::readInset to here
5880 * paragraph_funcs.h:
5881 * paragraph_funcs.C: readParagraph free function moved from
5884 * tabular.C: name change
5886 2003-03-12 John Levon <levon@movementarian.org>
5889 * ParagraphParameters.C: move par params input to
5892 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5893 behave like a normal read from the stream wrt reading
5894 a line vs. a \\token
5896 2003-03-12 John Levon <levon@movementarian.org>
5899 * ParagraphParameters.h:
5900 * ParagraphParameters.C: move output code to a
5903 2003-03-12 John Levon <levon@movementarian.org>
5905 * BufferView.C (insertLyXFile):
5908 * tabular.C: use a parlist iterator for creating the
5911 2003-03-12 John Levon <levon@movementarian.org>
5913 * buffer.C: make current_change static local not
5916 2003-03-12 John Levon <levon@movementarian.org>
5918 * buffer.C: fix insertStringAsLines for change tracking
5920 2003-03-12 John Levon <levon@movementarian.org>
5927 * bufferparams.C: move author list into params. Rename some
5928 functions. Move the header reading into a separate token
5929 loop. Move the header token reading into BufferParams.
5931 2003-03-12 John Levon <levon@movementarian.org>
5933 * changes.C: put debug inside lyxerr.debugging() checks
5935 2003-03-11 André Pönitz <poenitz@gmx.net>
5937 * factory.C: make it aware of InsetHFill
5939 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5941 * buffer.C (latexParagraphs): move function from here...
5942 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5945 2003-03-10 Angus Leeming <leeming@lyx.org>
5947 * LyXAction.C (init): fix bug in poplating array with multiple entries
5948 with the same LFUN (spotted by JMarc).
5950 2003-03-10 John Levon <levon@movementarian.org>
5953 * text2.C: move getColumnNearX() near its
5956 2003-03-10 John Levon <levon@movementarian.org>
5958 * text.C: fix break before a minipage
5960 2003-03-10 John Levon <levon@movementarian.org>
5962 * text.C: fix the last commit
5964 2003-03-09 John Levon <levon@movementarian.org>
5968 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5969 bug 365 (don't break before insets unless needed). Don't
5970 return a value > last under any circumstances.
5972 2003-03-09 Angus Leeming <leeming@lyx.org>
5974 * BufferView_pimpl.C (trackChanges, dispatch): call
5975 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5977 2003-03-09 Angus Leeming <leeming@lyx.org>
5979 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5980 than Dialogs::showAboutlyx().
5982 2003-03-09 Angus Leeming <leeming@lyx.org>
5984 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5985 than Dialogs::showTabularCreate().
5987 2003-03-09 John Levon <levon@movementarian.org>
5991 * text2.C: 3rd arg to nextBreakPoint was always the same.
5994 2003-03-08 John Levon <levon@movementarian.org>
6001 * text2.C: Remove the "main" bit from the "main body"
6004 2003-03-08 John Levon <levon@movementarian.org>
6006 * text.C (leftMargin): The left margin of an empty
6007 manual label paragraph should not include the label width
6010 * text.C (prepareToPrint): don't attempt to measure hfills
6011 for empty manual label paragraphs - the answer should be 0
6013 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6015 * CutAndPaste.C: remove commented code and reindent.
6017 2003-03-08 John Levon <levon@movementarian.org>
6020 * lyxfunc.C: move reloadBuffer()
6023 * BufferView.C: to here
6025 * lyxvc.C: add comment
6028 * vc-backend.C: call bv->reload() to avoid
6029 getStatus() check on MENURELOAD
6031 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
6033 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6034 to an old format .dep file.
6036 2003-03-07 Angus Leeming <leeming@lyx.org>
6038 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6039 when the LFUN_MOUSE_RELEASE should have been handled by
6040 inset->localDispatch.
6042 2003-03-07 Angus Leeming <leeming@lyx.org>
6044 * BufferView_pimpl.C (dispatch):
6045 * LyXAction.C (init):
6046 * ToolbarDefaults.C (init):
6048 * lyxfunc.C (getStatus):
6049 remove LFUN_INSET_GRAPHICS.
6051 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6053 2003-03-07 Angus Leeming <leeming@lyx.org>
6056 * LyXAction.C (init):
6057 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6059 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6062 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6064 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6065 localDispatch method LFUN_INSET_DIALOG_UPDATE.
6067 2003-03-07 Angus Leeming <leeming@lyx.org>
6069 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6072 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6074 * ParagraphList.C (front): new function
6077 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
6079 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6080 and top_row_offset_. removed var first_y.
6082 * text2.C (LyXText, removeRow):
6084 * BufferView_pimpl.C:
6085 use these methods instead of using first_y
6087 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6089 * text2.C (pasteSelection): adjust for checkPastePossible
6091 * CutAndPaste.C: remove Paragraph * buf and replace with
6092 ParagraphList paragraphs.
6093 (DeleteBuffer): delete
6094 (cutSelection): change the tc type to textclass_type
6095 (copySelection): change the tc type to textclass_type
6096 (copySelection): adjust for ParagraphList
6097 (pasteSelection): change the tc type to textclass_type
6098 (pasteSelection): adjust for Paragraphlist
6099 (nrOfParagraphs): simplify for ParagraphList
6100 (checkPastePossible): simplify for ParagraphList
6101 (checkPastePossible): remove unused arg
6103 * ParagraphList.C (insert): handle the case where there are no
6106 * CutAndPaste.h: make CutAndPaste a namespace.
6108 * text3.C (dispatch): adjust
6110 * text.C (breakParagraph): add a ParagraphList as arg
6112 * paragraph_funcs.C (breakParagraph): change to take a
6113 BufferParams and a ParagraphList as args.
6114 (breakParagraphConservative): ditto
6115 (mergeParagraph): ditto
6116 (TeXDeeper): add a ParagraphList arg
6117 (TeXEnvironment): ditto
6120 * buffer.C (readLyXformat2): adjust
6121 (insertStringAsLines): adjust
6122 (latexParagraphs): adjust
6124 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6125 (cutSelection): adjust
6126 (pasteSelection): adjust
6128 * BufferView_pimpl.C (insertInset): adjust
6130 2003-03-05 Angus Leeming <leeming@lyx.org>
6133 * LyXAction.C (init):
6134 * BufferView_pimpl.C (dispatch):
6135 * lyxfunc.C (getStatus):
6136 remove LFUN_CHILD_INSERT.
6138 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6140 2003-03-05 Angus Leeming <leeming@lyx.org>
6143 * LyXAction.C (init):
6144 * src/factory.C (createInset):
6145 * lyxfunc.C (getStatus):
6146 * text3.C (dispatch):
6147 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6149 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6151 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6153 * ParagraphList.C (insert): handle insert right before end()
6154 (erase): fix cases where it can be first or last paragraph.
6156 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6158 * paragraph_funcs.C (TeXEnvironment): remove all usage of
6159 Paragraph::next and Paragraph::previous
6162 * text.C (breakParagraph): adjust
6164 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6165 BufferParams& as arg.
6166 (breakParagraph): use ParagraphList::insert
6167 (breakParagraphConservative): take a Buffer* instead of a
6168 BufferParams& as arg.
6169 (breakParagraphConservative): use ParagraphList::insert.
6171 * buffer.C (insertStringAsLines): un-const it
6172 (insertStringAsLines): adjust
6174 * ParagraphList.C (insert): new function
6176 * CutAndPaste.C (pasteSelection): adjust
6178 * text.C (backspace): adjust
6180 * tabular.C (SetMultiColumn): adjust
6182 * CutAndPaste.C (cutSelection): adjust
6183 (pasteSelection): adjust
6185 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6186 Buffer const * as arg
6188 * ParagraphList.C (erase): new function
6189 * paragraph_funcs.C (mergeParagraph): use it
6190 (mergeParagraph): make it take a Buffer* instead of a
6191 BufferParams* as arg
6193 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6195 (breakParagraphConservative): ditto
6197 * paragraph.h: remove the breakParagraph friend
6199 * paragraph.C (eraseIntern): new function
6200 (setChange): new function
6202 * paragraph_funcs.C (mergeParagraph): make it take a
6203 ParagraphList::iterator instead of a Paragraph *, adjust
6206 * paragraph.h: move an #endif so that the change tracking stuff
6207 also works in the NO_NEXT case.
6209 2003-03-04 Angus Leeming <leeming@lyx.org>
6212 * LyXAction.C: new LFUN_INSET_MODIFY.
6214 * BufferView_pimpl.C (dispatch): if an inset is found to be open
6215 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6217 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6219 * several files: ws changes only
6221 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6222 (TeXEnvironment): ditto
6225 * buffer.C (makeLaTeXFile): adjust
6226 (latexParagraphs): make it take ParagraphList::iterator as args
6228 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6230 * buffer.C (latexParagraphs): adjust
6232 * paragraph.C (TeXOnePar): move function...
6233 (optArgInset): move function...
6234 (TeXEnvironment): move function...
6235 * paragraph_pimpl.C (TeXDeeper): move function...
6236 * paragraph_funcs.C: ...here
6238 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6240 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6242 * buffer.C (readInset): remove compability code for old Figure and
6245 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6247 * buffer.C: ws changes
6250 * BufferView_pimpl.C: ditto
6253 * bufferlist.h: ditto
6257 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
6259 * converter.[Ch]: split into itself +
6262 * Makefile.am: += graph.[Ch] + format.[Ch]
6269 * lyxrc.C: added #include "format.h"
6271 2003-02-27 Angus Leeming <leeming@lyx.org>
6273 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6276 * factory.C (createInset): add "label" to the factory.
6278 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6279 string and do no more.
6281 2003-02-27 Angus Leeming <leeming@lyx.org>
6284 * LyXAction.C (init):
6285 * factory.C (createInset):
6286 * BufferView_pimpl.C (dispatch):
6287 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6289 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6291 * lyxfunc.C (dispatch):
6292 * text3.C (dispatch): pass name to params2string.
6294 2003-02-26 Angus Leeming <leeming@lyx.org>
6296 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6298 Rearrange the ~includes. Strip out the unnecessary ones.
6300 * factory.C (createInset): reformat.
6301 create new insets for the various LFUN_XYZ_APPLY lfuns.
6303 2003-02-26 John Levon <levon@movementarian.org>
6306 * lyxrow.C: add isParStart,isParEnd helpers
6308 * paragraph.h: make isInserted/DeletedText take refs
6310 * paragraph_funcs.h:
6311 * paragraph_funcs.C: remove #if 0'd code
6316 * text.C: use lyxrow helpers above.
6317 Move draw and paint routines to RowPainter.
6318 Make several methods use refs not pointers.
6319 Make backgroundColor() const.
6320 Add markChangeInDraw(), isInInset().
6321 Merge changeRegionCase into changeCase.
6322 Make workWidth() shouldn't-happen code into an Assert.
6325 * rowpainter.C: new class for painting a row.
6328 * vspace.C: make inPixels take a ref
6330 2003-02-26 Angus Leeming <leeming@lyx.org>
6332 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6335 2003-02-25 John Levon <levon@movementarian.org>
6337 * ispell.C: give the forked command a more accurate name
6339 2003-02-22 John Levon <levon@movementarian.org>
6342 * toc.C: make TocItem store an id not a Paragraph *
6345 2003-02-21 Angus Leeming <leeming@lyx.org>
6347 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6348 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6349 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6350 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6351 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6352 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6354 * BufferView_pimpl.C (dispatch):
6355 * LyXAction.C (init):
6356 * factory.C (createInset):
6357 * lyxfunc.C (getStatus, dispatch):
6358 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6360 2003-02-21 Angus Leeming <leeming@lyx.org>
6362 * BufferView_pimpl.C (MenuInsertLyXFile):
6363 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6364 * lyxfunc.C (menuNew, open, doImport):
6365 no longer pass a LyXView & to fileDlg.
6367 2003-02-21 Angus Leeming <leeming@lyx.org>
6369 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6370 * LyXAction.C: change, BIBKEY to BIBITEM.
6371 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6372 Change InsetBibKey to InsetBibitem.
6373 Change BIBKEY_CODE to BIBITEM_CODE.
6374 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6375 * factory.C: replace insetbib.h with insetbibitem.h.
6376 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6377 * paragraph.C: replace insetbib.h with insetbibitem.h.
6378 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6379 Change bibkey() to bibitem().
6380 * text.C: remove insetbib.h.
6381 * text2.C: replace insetbib.h with insetbibitem.h.
6382 change bibkey() to bibitem().
6383 * text3.C: remove insetbib.h.
6384 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6386 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6388 * lyxrc.C (output): enclose user email in quotes (in case there are
6391 2003-02-18 John Levon <levon@movementarian.org>
6393 * buffer.h: add std::
6395 2003-02-17 John Levon <levon@movementarian.org>
6401 * pspell.C: reworking. Especially in ispell, a large
6402 number of clean ups and bug fixes.
6404 * lyxfunc.C: fix revert to behave sensibly
6406 2003-02-17 André Pönitz <poenitz@gmx.net>
6409 * commandtags.h: new LFUN_INSERT_BIBKEY
6419 * paragraph_func.C: remove special bibkey handling
6421 2003-02-17 John Levon <levon@movementarian.org>
6423 * text.C (Delete): fix case where delete at the end of
6424 the very first paragraph would not merge the pars
6426 2003-02-17 John Levon <levon@movementarian.org>
6428 * lyxrow.C: fix lastPrintablePos()
6430 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6432 * bufferparams.C (writeLaTeX): add a std:here
6434 * buffer.C: and remove a using directive there
6436 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6438 * buffer.C (makeLaTeXFile): move the code that generates the
6441 * bufferparams.C (writeLaTeX): ... in this new method
6443 * LaTeXFeatures.C (getEncodingSet): make const
6444 (getLanguages): make const
6446 * MenuBackend.C (binding): returns the binding associated to this
6448 (add): sets the status of each item by calling getStatus. Adds
6450 (read): add support for OptSubMenu
6451 (expand): remove extra separator at the end of expanded menu
6453 2003-02-15 John Levon <levon@movementarian.org>
6456 * BufferView_pimpl.C:
6458 * bufferlist.C: remove pointless BufferStorage bloat. Remove
6459 inset code that had no actual effect. Remove unneeded status
6462 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6464 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6467 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
6469 * text.C (drawLengthMarker): also draw an arrow marker for
6470 symbolic lengths (medskip...)
6472 2003-02-14 John Levon <levon@movementarian.org>
6475 * tabular.C: better method names
6477 2003-02-14 John Levon <levon@movementarian.org>
6479 * BufferView_pimpl.C:
6484 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6485 it's a more accurate name. Remove some pointless uses.
6487 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6489 * text2.C (LyXText): change order of initilizers to shut off
6492 2003-02-14 John Levon <levon@movementarian.org>
6494 * buffer.C: use ParIterator for getParFromID()
6498 * paragraph_pimpl.h:
6499 * paragraph_pimpl.C: remove unused getParFromID()
6501 2003-02-14 John Levon <levon@movementarian.org>
6503 * buffer.C: remove some very old #if 0'd parse code
6505 2003-02-13 John Levon <levon@movementarian.org>
6509 * text2.C: move hfillExpansion(), numberOfSeparators(),
6510 rowLast(), rowLastPrintable(), numberofHfills(),
6511 numberOfLabelHfills() ...
6514 * lyxrow.C: ... to member functions here.
6519 * text.C: remove LyXText::beginningOfMainBody(), and call
6520 p->beginningOfMainBody() directly. Move the check for
6521 LABEL_MANUAL into the latter.
6528 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6534 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6535 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6537 2003-02-13 John Levon <levon@movementarian.org>
6539 * CutAndPaste.C: remove debug
6541 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6543 * paragraph.C (asString): remove two unused variables
6545 * lyxtextclass.C (readTitleType):
6547 (LyXTextClass): handle new members titletype_ and titlename_
6549 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6551 2003-02-09 John Levon <levon@movementarian.org>
6554 * buffer.C: replace hand-coded list with a map for the dep clean
6556 2003-02-08 John Levon <levon@movementarian.org>
6558 * LaTeX.C: consolidate code into showRunMessage() helper
6560 2003-02-08 John Levon <levon@movementarian.org>
6565 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6566 and pass the size in explicitly
6568 * BufferView_pimpl.h:
6569 * BufferView_pimpl.C:
6571 * BufferView.C: add getCurrentChange()
6573 * BufferView_pimpl.h:
6574 * BufferView_pimpl.C: handle change lfuns
6576 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6577 for changes. Mark pasted paragraphs as new.
6579 * support/lyxtime.h:
6580 * support/lyxtime.C:
6581 * DepTable.C: abstract time_t as lyx::time_type
6584 * LColor.C: add colours for new text, deleted text, changebars
6586 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6587 package use "usenames" option.
6591 * LyXAction.C: add change lfuns
6595 * author.C: author handling
6598 * buffer.C: add a per-buffer author list, with first entry as
6599 current author. Handle new .lyx tokens for change tracking. Output
6600 author list to .lyx file. Output dvipost stuff to .tex preamble.
6601 Bump lyx format to 222.
6604 * bufferlist.C: add setCurrentAuthor() to reset current author details
6608 * bufferparams.C: add param for tracking
6610 * bufferview_funcs.C: output change info in minibuffer
6614 * changes.C: add change-tracking structure
6617 * debug.C: add CHANGES debug flag
6620 * lyxfind.C: add code for finding the next change piece
6623 * lyxrc.C: add user_name and user_email
6626 * lyxrow.C: add a metric for the top of the text line
6629 * text.C: implement accept/rejectChange()
6632 * text.C: paint changebars. Paint new/deleted text in the chosen
6633 colours. Strike through deleted text.
6637 * paragraph_pimpl.h:
6638 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6639 in the current change to the insert functions. Rework erase to
6640 mark text as deleted, adding an eraseIntern() and a range-based
6641 erase(). Implement per-paragraph change lookup and
6644 * paragraph_funcs.C: Fixup paste for change tracking.
6646 * tabular.C: mark added row/columns as new.
6648 * text.C: fix rowLast() to never return -1. Don't allow
6649 spellchecking of deleted text. Track transpose changes. Don't
6650 allow paragraph break or merge where appropriate.
6652 * text2.C: leave cursor at end of selection after a cut.
6654 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6656 * text.C (getLengthMarkerHeight):
6657 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6658 visible on screen too.
6660 2003-02-07 John Levon <levon@movementarian.org>
6662 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6664 2003-02-05 Angus Leeming <leeming@lyx.org>
6666 * lyxserver.C (read_ready): revert my patch of 11 September last year
6667 as it sends PC cpu through the roof. Presumably this means that
6668 the lyxserver will no longer run on an Alpha...
6670 2003-01-30 Angus Leeming <leeming@lyx.org>
6672 * factory.C (createInset): create an InsetCommandParam of type "index"
6673 and use it to 'do the right thing'.
6675 * text2.C (getStringToIndex): ensure that cursor position is always
6676 reset to the reset_cursor position.
6678 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6680 * lyxfunc.C (getStatus): "buffer-export custom" should never be
6683 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
6687 * lyxfunc.C: Output messages with identical spelling, punctuation,
6690 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
6692 * MenuBackend.C (expandFormats): List only viewable export formats
6695 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6698 * lyxfunc.C (getStatus): Make sure that formats other than
6699 "fax" can also be disabled
6701 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6703 * text3.C (dispatch): put the lfuns that insert insets in 3
6704 groups, and call doInsertInset with appropriate arguments.
6705 (doInsertInset): new function, that creates an inset and inserts
6706 it according to some boolean parameters.
6708 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6710 * buffer.C (readFile): remember to pass on 'par' when calling
6711 readFile recursively.
6713 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6715 * MenuBackend.C (expandFormats): add "..." to import formats.
6717 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
6719 * paragraph.C (asString): Remove XForms RTL hacks.
6721 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
6722 * buffer.C: fix typo
6724 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6726 * Makefile.am (LIBS): delete var
6727 (lyx_LDADD): add @LIBS@ here instead.
6729 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
6731 * Clarify the meaning of "wheel mouse jump"
6733 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6735 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6738 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6740 * importer.C (Loaders): do not preallocate 3 elements in the
6741 vector, since one ends up with 6 elements otherwise
6743 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6745 * DepTable.C (write): write the file name as last element of the
6746 .dep file (because it may contain spaces)
6747 (read): read info in the right order
6749 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6751 * paragraph_pimpl.C (simpleTeXBlanks):
6752 (simpleTeXSpecialChars):
6753 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6755 * tabular.C (latex): add some missing case statements. Reindent.
6757 * MenuBackend.C (expandToc): remove unused variable.
6759 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
6768 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6771 2003-01-05 John Levon <levon@movementarian.org>
6774 * BufferView.C: add getEncoding()
6777 * kbsequence.C: do not store last keypress
6780 * lyxfunc.C: store last keypress here instead. Pass encoding
6783 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6785 * lyx_main.C (init): remove annoying error message when following
6786 symbolic links (bug #780)
6788 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6790 * text.C (insertChar):
6791 * lyxrc.C (getDescription): remove extra spaces
6793 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6795 * lyxrc.C (getDescription): remove extra spaces
6797 2002-12-20 John Levon <levon@movementarian.org>
6799 * text3.C: hack fix for page up/down across tall rows
6801 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6803 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6806 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6808 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6809 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6810 thesaurus is not compiled in
6812 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
6814 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
6816 2002-12-16 Angus Leeming <leeming@lyx.org>
6819 * lyx_main.C (init): remove override_x_deadkeys stuff.
6821 2002-12-12 John Levon <levon@movementarian.org>
6823 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6824 insert. Only remove shift modifier under strict
6827 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6829 * MenuBackend.C (expandToc): fix crash.
6831 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6833 * MenuBackend.C (expandToc): gettext on float names.
6835 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6837 * lyxlength.[Ch]: set default unit to UNIT_NONE,
6838 implement bool empty() [bug 490]
6840 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6842 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6844 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6846 * several files: ws changes
6848 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6850 * text2.C (setCounter): clean up a bit, use boost.format.
6851 (updateCounters): initialize par upon declaration.
6853 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6854 if the layout exists. We do not just store the layout any more.
6855 (SwitchLayoutsBetweenClasses): use boost.format
6857 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6859 * converter.C (convert): if from and to files are the same, use a
6860 temporary files as intermediary
6862 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6865 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6867 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
6869 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6871 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6873 * tabular.C (asciiPrintCell): use string(size, char) instead of
6876 * sgml.C (openTag): fix order of arguments to string constructor
6879 * lyxfunc.C (dispatch): use boost.format
6881 * lots of files: change "c" -> 'c'
6883 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
6885 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6887 2002-11-25 Angus Leeming <leeming@lyx.org>
6889 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6891 * lyx_main.C (init): compile fix.
6893 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6895 * lyx_cb.C (start): boost.formatify
6896 do not include <iostream>
6898 * lengthcommon.C: ws only
6900 * boost-inst.C,BoostFormat.h: add more explict instantations
6902 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6904 * lots of files: handle USE_BOOST_FORMAT
6906 2002-11-21 John Levon <levon@movementarian.org>
6908 * pspell.C: fix compile
6910 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6912 * lyxfunc.C (dispatch): use boost::format
6916 * lyxfont.C (stateText): use boost::format
6918 * lyx_main.C (LyX): use boost::format
6920 (queryUserLyXDir): ditto
6923 (typedef boost::function): use the recommened syntax.
6925 * importer.C (Import): use boost::format
6927 * debug.C (showLevel): use boost::format
6929 * converter.C (view): use boost::format
6934 * bufferview_funcs.C (currentState): use boost::format
6936 * bufferlist.C (emergencyWrite): use boost::format
6938 * buffer.C (readLyXformat2): use boost::format
6939 (parseSingleLyXformat2Token): ditto
6941 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6943 * LaTeX.C (run): use boost::format
6945 * Chktex.C (scanLogFile): use boost::format
6947 * BufferView_pimpl.C (savePosition): use boost::format
6948 (restorePosition): ditto
6949 (MenuInsertLyXFile): ditto
6951 * BoostFormat.h: help file for explicit instation.
6953 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
6955 * tabular.C (latex): Support for block alignment in fixed width
6958 2002-11-17 John Levon <levon@movementarian.org>
6960 * BufferView_pimpl.C:
6962 * lyxfunc.C: split filedialog into open/save
6964 2002-11-08 Juergen Vigna <jug@sad.it>
6966 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6967 by my last patch (hopefully).
6969 2002-11-08 John Levon <levon@movementarian.org>
6978 * toc.C: ParConstIterator, and use it (from Lars)
6980 2002-11-07 Ben Stanley <bds02@uow.edu.au>
6982 * lyxtextclass.[Ch]: revise and add doxygen comments
6984 2002-11-07 John Levon <levon@movementarian.org>
6986 * text.C: fix progress value for spellchecker
6988 * toc.C: fix navigate menu for insetwrap inside minipage
6990 * paragraph_funcs.C: added FIXME for suspect code
6992 2002-11-07 John Levon <levon@movementarian.org>
6994 * BufferView_pimpl.C: fix redrawing of insets
6997 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6999 * text2.C (updateCounters): fix bug 668
7001 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
7003 * text3.C (dispatch): Do not make the buffer dirty when moving the
7006 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7008 * vc-backend.C: STRCONV
7011 * text2.C (setCounter): STRCONV
7013 * paragraph.C (asString): STRCONV
7015 * lyxlength.C (asString): STRCONV
7016 (asLatexString): ditto
7018 * lyxgluelength.C (asString): STRCONV
7019 (asLatexString): ditto
7021 * lyxfunc.C (dispatch): STRCONV
7024 * lyxfont.C (stateText): STRCONV
7026 * importer.C (Import): STRCONV
7028 * counters.C (labelItem): STRCONV
7029 (numberLabel): ditto
7030 (numberLabel): remove unused ostringstream o
7035 * bufferview_funcs.C (currentState): STRCONV
7037 * buffer.C (readFile): STRCONV
7038 (asciiParagraph): ditto
7039 (makeLaTeXFile): ditto
7041 * Spacing.C (writeEnvirBegin): STRCONV
7043 * LaTeXFeatures.C (getLanguages): STRCONV
7044 (getPackages): ditto
7046 (getBabelOptions): ditto
7047 (getTClassPreamble): ditto
7048 (getLyXSGMLEntities): ditto
7049 (getIncludedFiles): ditto
7053 (scanAuxFile): ditto
7056 * LString.h: add the STRCONV macros
7058 * BufferView_pimpl.C (savePosition): STRCONV
7059 (restorePosition): ditto
7060 (MenuInsertLyXFile): ditto
7062 * vc-backend.C (scanMaster): change from submatch[...] to
7065 * funcrequest.C: include config.h
7067 * factory.C: include config.h
7069 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7071 * box.C: include config.h
7073 * LaTeX.C (scanAuxFile): change from submatch[...] to
7077 2002-10-25 Angus Leeming <leeming@lyx.org>
7079 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7081 * ispell.[Ch] (setError): new method.
7082 * ispell.C (c-tor): move out child process into new class LaunchIspell.
7083 Use setError() insetead of goto END.
7085 * lyx_cb.C (AutoSave): move out child process into new class
7088 2002-10-30 John Levon <levon@movementarian.org>
7090 * text3.C: make start appendix undoable
7092 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
7094 * lyxlength.C (inPixels): Fix returned value.
7096 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7099 2002-10-24 Angus Leeming <leeming@lyx.org>
7101 * lyxgluelength.h: no need to forward declare BufferParams
7102 or BufferView, so don't.
7104 2002-10-21 John Levon <levon@movementarian.org>
7106 * BufferView.C: menuUndo ->undo, redo
7108 * BufferView.h: document, remove dead, make some methods private
7110 * paragraph_funcs.h:
7111 * paragraph_funcs.C:
7112 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7117 * sgml.C: move sgml open/close tag into sgml.C
7119 * bufferview_funcs.h: unused prototype
7122 * lyxfunc.C: remove unused
7125 * text.C: remove unused
7127 2002-10-21 John Levon <levon@movementarian.org>
7131 * BufferView_pimpl.h:
7132 * BufferView_pimpl.C: fix mouse wheel handling based on
7133 patch from Darren Freeman
7135 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
7137 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7139 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
7141 * lyxlength.C (inPixels): Fix hanfling of negative length.
7142 Fix LyXLength::MU case.
7144 2002-10-16 John Levon <levon@movementarian.org>
7146 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7148 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7150 * converter.C (view): add support for $$i (file name) and $$p
7151 (file path) for the viewer command. If $$i is not specified, then
7152 it is appended to the command (for compatibility with old syntax)
7154 2002-10-14 Juergen Vigna <jug@sad.it>
7156 * undo_funcs.C (textHandleUndo): alter the order in which the
7157 new undopar is added to the LyXText, as we have to set first
7158 the right prev/next and then add it as otherwise the rebuild of
7159 LyXText is not correct. Also reset the cursor to the right paragraph,
7160 with this IMO we could remove the hack in "redoParagraphs()".
7162 2002-10-09 Angus Leeming <leeming@lyx.org>
7164 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7165 to turn off an optimisation if a new inset is to be inserted.
7167 2002-10-11 André Pönitz <poenitz@gmx.net>
7169 * lyxtext.h: make some functions public to allow access
7170 from inset/lyxtext for handling LFUN_PRIOR/NEXT
7172 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7174 * text3.C (dispatch): when changing layout, avoid an infinite loop
7177 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7179 * lyxrc.C (read): treat a viewer or converter command of "none" as
7182 * MenuBackend.C (expandFormats): for an update, also allow the
7183 formats that are not viewable
7185 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7186 script if it is newer than the lyxrc.defaults in user directory
7188 2002-10-07 André Pönitz <poenitz@gmx.net>
7190 * text.C: Vitaly Lipatov's small i18n fix
7192 2002-09-25 Angus Leeming <leeming@lyx.org>
7194 * ispell.h: doxygen fix.
7196 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
7198 * buffer.h (readFile): Add a new argument to the method, to allow
7199 reading of old-format templates.
7201 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
7203 * toc.C (getTocList): Get TOC from InsetWrap.
7205 2002-09-16 John Levon <levon@movementarian.org>
7207 * lyxfunc.C: check tabular for cut/copy too
7209 2002-09-12 John Levon <levon@movementarian.org>
7214 * factory.C: add header
7216 * paragraph_funcs.h:
7217 * paragraph_funcs.C: cleanup
7219 2002-09-11 John Levon <levon@movementarian.org>
7221 * PrinterParams.h: odd/even default to true
7223 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
7225 * PrinterParams.h: update printer parameters for new xforms dialog
7227 2002-09-11 Angus Leeming <leeming@lyx.org>
7229 * lyxserver.C (read_ready): re-write to make it more transparent
7230 and to make it work in coherent fashion under Tru64 Unix.
7232 2002-09-11 André Pönitz <poenitz@gmx.net>
7236 * text3.C: implement LFUN_WORDSEL
7238 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7240 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7241 make floatlist_ a boost::shared_ptr<FloatList>
7243 * lyxtextclass.C: include FloatList.h
7244 (LyXTextClass): initialize floatlist_
7245 (TextClassTags): add TC_NOFLOAT
7246 (Read): match "nofloat" to TC_NOFLOAT and use it.
7247 (readFloat): modify call to floatlist_
7251 * FloatList.[Ch] (FloatList): remove commented out float
7253 (erase): new function
7255 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7257 * MenuBackend.C (expandToc): fix crash when there is no document
7260 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
7262 * many files: Add insetwrap.
7264 2002-09-09 John Levon <levon@movementarian.org>
7266 * text2.C: remove confusing and awkward depth wraparound
7268 2002-09-09 John Levon <levon@movementarian.org>
7270 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7273 * buffer.C: remove getIncludeonlyList()
7276 * lyxfunc.C: remove headers
7278 2002-09-09 Juergen Vigna <jug@sad.it>
7280 * text.C (getColumnNearX): fix form Michael this is most
7281 probably a cut&paste bug.
7283 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7285 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7287 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7288 references, ws changes.
7290 * text2.C (init): update counters after init
7291 (insertParagraph): no need to set counter on idividual paragraphs.
7292 (setCounter): access the counters object in the textclass object
7293 on in the buffer object.
7294 (updateCounters): ditto
7296 * lyxtextclass.C: include counters.h, add variable ctrs_ as
7297 shared_ptr<Counters> to avoid loading counters.h in all
7299 (LyXTextClass): initialize ctrs_
7300 (TextClassTags): add TC_COUNTER, and ...
7301 (Read): use it here.
7302 (CounterTags): new tags
7303 (readCounter): new function
7304 (counters): new funtion
7305 (defaultLayoutName): return a const reference
7307 * counters.C (Counters): remove contructor
7308 (newCounter): remove a couple of unneeded statements.
7309 (newCounter): simplify a bit.
7310 (numberLabel): some small formatting changes.
7312 * buffer.[Ch]: remove all traces of counters, move the Counters
7313 object to the LyXTextClass.
7315 2002-09-06 Alain Castera <castera@in2p3.fr>
7317 * tabular.C: uses \tabularnewline; uses >{...} construct from array
7318 package to set the horizontal alignment on fixed width columns.
7321 * lyx_sty.h: added tabularnewline macro def.
7323 * LaTeXFeatures.C: added NeedTabularnewline macro feature
7325 2002-09-06 John Levon <levon@movementarian.org>
7327 * LyXAction.C: tooltips for sub/superscript
7329 * MenuBackend.C: a bit more verbose
7331 * lyxfunc.C: tiny clean
7333 * undo_funcs.C: document undo_frozen
7335 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7337 * counters.C (Counters): add missing algorithm counter.
7339 * text2.C (setCounter): lookup the counter with layouts latexname
7340 instead of by section number.
7341 (setCounter): use a hackish way to lookup the correct enum
7343 a float name->type change
7344 reset enum couners with counter name directly instead of depth value.
7346 * counters.C (Counters): remove the push_backs, change to use the
7347 float type not the float name.
7348 (labelItem): remove unused string, float name->type change
7350 * counters.h: don't include vector, loose the enums and sects vectors
7352 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7354 * lyxtextclass.C (TextClassTags): add TC_FLOAT
7355 (Read): add float->TC_FLOAT to textclassTags
7356 (Read): and handle it in the switch
7357 (readFloat): new function
7359 * FloatList.C (FloatList): comment out the hardcoded float
7362 * lyxlayout.h: ws change.
7364 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
7366 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7368 2002-09-03 Angus Leeming <leeming@lyx.org>
7370 * BufferView_pimpl.h: qualified name is not allowed in member
7371 declaration: WorkArea & Pimpl::workarea() const;
7373 * factory.C: added using std::endl directive.
7375 * text3.C: added using std::find and std::vector directives.
7377 2002-08-29 André Pönitz <poenitz@gmx.net>
7380 * text2.C: remove unused member number_of_rows
7383 * BufferView2.C: remove file, move contents to...
7384 * BufferView.C: ... here
7386 * BufferView_pimpl.C:
7387 * factory.C: move more inset creation to factory
7389 * vspace.C: avoid direct usage of LyXText, ws changes
7392 don't provide direct access to WorkArea, use two simple
7393 acessors haveSelction() and workHeight() instead
7396 2002-08-29 John Levon <levon@movementarian.org>
7398 * BufferView_pimpl.C (dispatch): do not continue when
7401 2002-08-28 André Pönitz <poenitz@gmx.net>
7403 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7406 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7408 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
7410 * buffer.C: increment LYX_FORMAT to 221
7412 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7413 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7415 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7417 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7419 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7421 * factory.C (createInset): use LyXTextClass::floats
7423 * MenuBackend.C (expandFloatListInsert):
7424 (expandFloatInsert):
7427 * text2.C (setCounter):
7429 * LaTeXFeatures.C (useFloat):
7430 (getFloatDefinitions):
7432 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7434 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7435 floatlist_, with accessor floats().
7437 * FloatList.h: remove global FloatList
7439 2002-08-26 André Pönitz <poenitz@gmx.net>
7441 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7445 * BufferView_pimpl.C:
7446 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7448 2002-08-25 John Levon <levon@movementarian.org>
7450 * LyXAction.C: fix margin note description
7452 2002-08-24 John Levon <levon@movementarian.org>
7456 * bufferview_funcs.C:
7458 * undo_funcs.C: cleanups
7460 * lyxfunc.C: disable CUT/COPY when no selection
7462 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
7464 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7465 in "enum UNIT"; e.g. PTW for Percent of TextWidth
7467 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7468 Add backward compatibility to "mono", "gray" and "no".
7470 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
7472 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7473 (and file_format >= 200).
7475 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7477 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7479 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7481 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7483 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
7485 * BufferView_pimpl.C:
7492 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7493 inset and code to make it work with the paragraph code. The inset
7494 can be anywhere in the paragraph, but will only do the expected
7495 thing in LaTeX if the layout file contains the parameter line
7497 (or more generally, a nonzero value) for that layout.
7499 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7501 * paragraph.h: remove the declaration of undefined counters class
7504 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
7506 * text2.C (setCounter): fixed enumeration mis-count as reported by
7507 Dr. Richard Hawkins.
7509 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7511 * paragraph_funcs.h: remove some unneeded includes
7513 * text.C (backspace): pasteParagraph now in global scipe
7515 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7516 (pasteSelection): ditto
7518 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7519 * paragraph_funcs.C (pasteParagraph): ... here
7521 2002-08-20 André Pönitz <poenitz@gmx.net>
7523 * commandtags.h: new LFUNs for swapping/copying table row/colums
7526 * lyxfunc.C: support for new lfuns
7528 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7531 * buffer.[Ch]: remove NO_COMPABILITY stuff
7533 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
7535 * boost.C (throw_exception): new file, with helper function for
7536 boost compiled without exceptions.
7541 * ParameterStruct.h:
7542 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7544 * bufferlist.C (emergencyWriteAll): use boost bind
7546 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7548 * text.C: include paragraph_funcs.h
7549 (breakParagraph): breakParagraph is now in global scope
7551 * paragraph_funcs.[Ch]: new files
7553 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7556 * buffer.C: include paragraph_funcs.h
7557 (insertStringAsLines): breakParagraph is now in global scope
7559 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7562 * CutAndPaste.C: include paragraph_funcs.h
7563 (cutSelection): breakParagraphConservative is now in global scope
7564 (pasteSelection): ditto
7566 * buffer.h: declare oprator== and operator!= for
7567 Buffer::inset_iterator
7569 * bufferlist.C (emergencyWrite): don't use fmt(...)
7571 * text3.C: add using std::endl
7573 * BufferView.C (moveCursorUpdate): remove default arg
7575 2002-08-20 André Pönitz <poenitz@gmx.net>
7577 * buffer.[Ch]: move inline functions to .C
7580 * BufferView_pimpl.C:
7582 * buffer.[Ch]: use improved inset_iterator
7585 * paragraph.[Ch]: write one paragraph at a time
7587 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7589 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7590 style if style is not specified.
7592 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7594 * text2.C (setCounter): when searching for right label for a
7595 caption, make sure to recurse to parent insets (so that a caption
7596 in a minipage in a figure float works) (bug #568)
7598 2002-08-20 André Pönitz <poenitz@gmx.net>
7600 * text3.C: new file for LyXText::dispatch() and helpers
7602 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7604 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7606 2002-08-19 André Pönitz <poenitz@gmx.net>
7609 * text.C: new LyXText::dispatch()
7611 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7613 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7615 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7617 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7620 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7622 * Makefile.am: use $(variables) instead of @substitutions@
7624 2002-08-15 André Pönitz <poenitz@gmx.net>
7627 * BufferView_pimpl.C: streamlining mathed <-> outer world
7631 * LyXAction.C: remove unused LFUN_MATH
7633 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7635 * paragraph.[Ch]: add some NO_NEXT ifdefs.
7637 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7639 * paragraph.C (Paragraph): reformat a bit
7640 (cutIntoMinibuffer): use builtin InsetList function instad of
7644 * buffer.C: include boost/bind.hpp, add using std::for_each
7645 (writeFileAscii): use ParagraphList iterators
7646 (validate): use for_each for validate traversal of paragraphs
7647 (getBibkeyList): use ParagraphList iterators
7648 (resizeInsets): use for_each to resizeInsetsLyXText for all
7650 (getParFromID): use ParagraphList iterators
7652 * BufferView2.C (lockInset): use paragraph list and iterators
7654 2002-08-14 John Levon <levon@movementarian.org>
7656 * lyxserver.C: remove spurious xforms include
7658 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7660 * lyxfunc.C (getStatus): disable math-extern outside of math mode
7662 2002-08-13 André Pönitz <poenitz@gmx.net>
7665 * lyxfunc.C: further cleaning
7667 2002-08-13 André Pönitz <poenitz@gmx.net>
7669 * funcrequest.h: new constructor
7671 * funcrequest.C: move stuff here from .h
7674 * BufferView_pimpl.C:
7677 * lyxfunc.C: subsequent changes
7679 * lyxfunc.h: new view() member function
7681 * lyxfunc.C: subsequent changes
7683 2002-08-13 Angus Leeming <leeming@lyx.org>
7686 * BufferView_pimpl.C:
7694 changes due to the changed LyXView interface that now returns references
7695 to member variables not pointers.
7697 2002-08-13 Angus Leeming <leeming@lyx.org>
7699 * WordLangTuple (word, lang_code): return references to strings,
7704 * lyxtext.h: forward-declare WordLangTuple.
7709 * text.C: #include "WordLangTuple.h".
7712 * text.C: (selectNextWordToSpellcheck): constify return type.
7714 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
7720 * paragraph_pimpl.h:
7723 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7725 Made updateCounter always count from start of buffer, and removed
7726 second argument (par).
7727 Reverted floats number display to '#'. Perhaps I'll try again when the
7728 code base is sanitized a bit.
7730 2002-08-12 Angus Leeming <leeming@lyx.org>
7732 * buffer.[Ch] (getLabelList): constify.
7734 2002-08-07 André Pönitz <poenitz@gmx.net>
7736 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7738 * funcrequest.h: extension to keep mouse (x,y) position
7740 2002-08-12 Juergen Vigna <jug@sad.it>
7742 * BufferView2.C (insertErrors): forbid undo when inserting error
7745 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7747 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7749 * ParagraphList.[Ch]: new files
7751 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7753 * BufferView2.C (lockInset): ParagraphList changes
7756 * bufferlist.C: ditto
7760 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7762 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7763 unused class variable counter_,
7765 * paragraph.[Ch] (getFirstCounter): delete unused function
7767 * counters.C: include LAssert.h
7768 (reset): add a new function with no arg, change other version to
7769 not have def. arg and to not allow empty arg.
7771 * text2.C (setCounter): remove empty arg from call to Counters::reset
7773 2002-08-11 John Levon <levon@movementarian.org>
7775 * Makefile.am: add WordLangTuple.h
7777 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7779 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7780 lyxfunc.C lyxlex_pimpl.C: ws changes only.
7782 * insets/insettext.C: InsetList changes
7784 * graphics/GraphicsSupport.C (operator()): InsetList changes
7786 * toc.C (getTocList): InsetList changes
7788 * paragraph_pimpl.[Ch]: InsetList changes
7790 * paragraph.[Ch]: InsetList changes
7792 * buffer.C (inset_iterator): InsetList changes
7793 (setParagraph): ditto
7794 * buffer.h (inset_iterator): ditto
7795 * iterators.C (operator++): ditto
7796 * iterators.h: ditto
7798 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7800 * InsetList.[Ch]: new files, most InsetList handling moved out of
7803 * BufferView2.C (removeAutoInsets): InsetList changes
7805 (ChangeInsets): ditto
7807 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7809 * paragraph_pimpl.h (empty): new function
7811 * paragraph.[Ch] (empty): new function
7813 * other files: use the new Paragraph::empty function
7815 2002-08-09 John Levon <levon@movementarian.org>
7817 * lyxtext.h: remove unused refresh_height
7819 2002-08-09 John Levon <levon@movementarian.org>
7826 * paragraph.C: move sgml char escaping out of paragraph
7829 * paragraph.C: remove id setter
7833 * paragraph_pimpl.C: remove dead tex_code_break_column
7835 * bufferview_funcs.C: small cleanup
7837 * lyxfunc.C: remove dead proto
7839 * lyxtext.h: make some stuff private. Remove some dead stuff.
7841 * lyxgluelength.C: make as[LyX]String() readable
7843 2002-08-08 John Levon <levon@movementarian.org>
7848 * ToolbarDefaults.C:
7851 * toc.C: lyxaction cleanup
7853 2002-08-08 John Levon <levon@movementarian.org>
7855 * BufferView2.C: small cleanup
7858 * lyxfind.C: move unnecessary header into the .C
7860 2002-08-08 John Levon <levon@movementarian.org>
7862 * funcrequest.h: just tedious nonsense
7865 * lyx_main.C: cleanups
7868 * vspace.C: remove dead header lyx_main.h
7870 2002-08-07 Angus Leeming <leeming@lyx.org>
7873 * paragraph_pimpl.h:
7874 Forward declare class Counters in paragraph.h by moving the ctrs member
7875 variable into Paragraph::Pimpl.
7876 (counters): new method, returning a reference to pimpl_->ctrs.
7878 * text2.C: ensuing changes.
7880 2002-08-07 John Levon <levon@movementarian.org>
7882 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7884 * BufferView_pimpl.C: announce X selection on double/triple
7887 * lyx_main.C: use correct bool in batch dispatch
7889 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7891 2002-08-07 André Pönitz <poenitz@gmx.net>
7893 * funcrequest.h: new class to wrap a kb_action and its argument
7896 * BufferView_pimpl[Ch]:
7900 * lyxrc.C: subsequent changes
7903 2002-08-07 John Levon <levon@movementarian.org>
7905 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7906 document options change.
7908 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7913 * makefile.am: move counters functionality over from
7914 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7916 2002-08-06 John Levon <levon@movementarian.org>
7918 * WordLangTuple.h: new file for word + language code tuple
7929 * BufferView2.C: use WordLangTuple
7932 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7934 2002-08-06 John Levon <levon@movementarian.org>
7936 * lyx_main.C: fix cmdline batch handling
7938 2002-08-06 André Pönitz <poenitz@gmx.net>
7940 * lyxrc.C: set default for show_banner to true
7942 2002-08-06 John Levon <levon@movementarian.org>
7944 * pspell.C: fix a crash, and allow new aspell to work
7946 2002-08-06 John Levon <levon@movementarian.org>
7949 * kbmap.C: small cleanup
7952 * vspace.C: add const
7954 2002-08-05 John Levon <levon@movementarian.org>
7956 * LyXAction.C: back to tabular-insert
7958 2002-08-04 John Levon <levon@movementarian.org>
7961 * BufferView.C: cosmetic change
7963 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7973 * BufferView2.C: purge all "Lyx" not "LyX" strings
7976 * lyxcursor.C: attempt to add some documentation
7981 * ToolbarDefaults.C:
7982 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7983 merge with LFUN_TABULAR_INSERT
7990 * pspell.C: split up i/pspell implementations into separate
7991 files, many cleanups
7993 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7995 * text2.C: some cleanup
7997 * lyxfunc.C: don't check for isp_command == "none" any more, it
7998 didn't make any sense
8000 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8005 * makefile.am: move counters functionality over
8006 from text2.C/paragraph.[Ch] to counters.[Ch], and
8008 2002-08-02 John Levon <levon@movementarian.org>
8010 * buffer.C: s/lyxconvert/lyx2lyx/
8012 2002-08-02 Angus Leeming <leeming@lyx.org>
8014 * lyxlex.C: revert John's change as it breaks reading of the user
8017 2002-08-02 Angus Leeming <leeming@lyx.org>
8019 * importer.C (Import):
8020 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8021 changes due to LyXView::view() now returning a boost::shared_ptr.
8023 2002-08-02 John Levon <levon@movementarian.org>
8025 * lyxlex.C: small cleanup
8027 2002-08-02 John Levon <levon@movementarian.org>
8029 * text2.C (status): small cleanup, no logic change
8031 2002-08-01 John Levon <levon@movementarian.org>
8034 * buffer.C (writeFile): don't output alerts, caller
8038 * lyx_cb.C: from above
8040 * lyxfunc.C: allow to open non-existent files
8042 2002-07-31 John Levon <levon@movementarian.org>
8044 * lyxserver.C: don't let incidental errors get
8047 2002-07-30 John Levon <levon@movementarian.org>
8049 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8051 2002-07-30 John Levon <levon@movementarian.org>
8054 * lyxserver.C: remove I/O callback too
8056 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8058 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8061 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8063 * many files: strip,frontStrip -> trim,ltrim,rtrim
8065 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8067 * PrinterParams.h: remove extern containsOnly, and include
8068 support/lstrings.h instead.
8070 * LaTeX.C (scanAuxFile): modify because of strip changes
8072 * buffer.C (makeLaTeXFile): ditto
8073 * bufferparams.C (writeFile): ditt
8074 * lyxfont.C (stateText): ditto
8075 * lyxserver.C (read_ready): ditto
8076 * vc-backend.C (scanMaster): ditto
8078 * BufferView_pimpl.h: ws changes
8080 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8082 2002-07-26 André Pönitz <poenitz@gmx.net>
8084 * kb_sequence.C: remove unnedred usings
8086 2002-07-26 Juergen Vigna <jug@sad.it>
8088 * lyxfind.C (LyXReplace): we have to check better if the returned
8089 text is not of theLockingInset()->getLockingInset().
8091 2002-07-25 Juergen Vigna <jug@sad.it>
8093 * lyxfind.C (LyXReplace): don't replace if we don't get the
8096 * undo_funcs.C (createUndo): remove debugging code.
8098 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
8100 * buffer.C (parseSingleLyXformat2Token): Use default placement
8101 when reading old floats.
8103 * FloatList.C (FloatList): Change the default placement of figure
8104 and tables to "tbp".
8106 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
8108 * MenuBackend.C: using std::max
8110 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8112 * MenuBackend.C (expandToc):
8113 (expandToc2): code moved from xforms menu frontend. It is now
8114 generic and TOCs are transparent to menu frontends.
8116 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8118 * toc.C (getTocList): protect against buf=0
8120 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8121 Menu as first parameter. Now, this calls itself recursively to
8122 expand a whole tree (this will be useful for TOC handling)
8123 (expandFloatInsert): remove 'wide' version of floats
8125 * MenuBackend.h (submenuname): returns the name of the submenu.
8126 (submenu): returns the submenu itself, provided it has been
8127 created by MenuBackend::expand
8129 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8131 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8132 insets which have noFontChange == true. (bug #172)
8134 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8136 * BufferView_pimpl.C: add connection objects and use them...
8139 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8141 * MenuBackend.C (expandLastfiles):
8144 (expandFloatListInsert):
8145 (expandFloatInsert):
8146 (expand): split expand in parts
8148 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8150 * lyx_gui.C: use lyx_gui::exit()
8152 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8154 * LyXAction.C: show the failing pseudo action
8156 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
8158 * buffer.C (readFile): Run the lyxconvert script in order to read
8161 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8165 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8167 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8171 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8173 2002-07-22 Herbert Voss <voss@lyx.org>
8176 * lyxlength.[Ch]: add support for the vertical lengths
8178 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
8180 * toc.[Ch]: std:: fixes
8182 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8184 * lyxrc.C: do not include lyx_main.h
8186 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8192 * BufferView2.C: include "lyxlex.h"
8195 * bufferparams.h: do not #include "lyxlex.h"
8197 * lyxtextclasslist.C (Add): remove method
8198 (classlist): renamed to classlist_
8200 * paragraph_pimpl.C:
8204 * bufferview_funcs.C:
8209 * toc.C (getTocList): use BufferParams::getLyXTextClass
8211 * toc.C (getTocList): use InsetFloat::addToToc
8213 * toc.[Ch]: new files, containing helper functions to handle table
8216 * lyxfunc.C (dispatch): no need to remove spaces around command
8218 (getStatus): handle LFUN_SEQUENCE by returning the status of the
8219 first command of the sequence; it is not very clever, but I do not
8220 have a better idea, actually
8222 * LyXAction.C (LookupFunc): make sure to remove space at the
8223 beginning and end of the command
8225 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8227 * MenuBackend.C (getMenubar): new method: return the menubar of
8229 (read): treat differently reading of menu and menubar (in
8230 particular, the menubar has no name now)
8231 (Menu::menubar): remove
8233 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8236 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8238 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8239 a bibitem inset in a RTL paragraph.
8241 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
8243 * paragraph_pimpl.C: constify
8245 * BufferView_pimpl.C:
8247 * lyxfunc.C: fix dispatch in a nicer way
8249 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8251 * lyxfunc.C (dispatch):
8252 * BufferView_pimpl.C:
8253 * BufferView_pimpl.h:
8255 * BufferView.h: rename Dispatch() to dispatch()
8257 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8259 * lyxlayout.C (Read): honor DependsOn tag
8261 * lyxlayout.[Ch] (depends_on): new method
8263 * version.C.in: update lyx_docversion
8265 * LaTeXFeatures.C (getMacros): only define \LyX when needed
8267 * paragraph.C (validate): remove from here...
8268 * paragraph_pimpl.C (validate): ... and move here
8269 (isTextAt): make it const
8271 * buffer.C (getLists): ws cleanup
8273 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8275 * language.C (read): Use iso8859-1 encoding in latex_lang
8276 (this prevents LyX from crashing when using iso10646-1 encoding).
8278 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8280 * text2.C (toggleInset): if cursor is inside an inset, close the
8281 inset and leave cursor _after_ it
8283 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8285 * lyxfunc.C: move minibuffer completion handling out of here
8287 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8289 * BufferView_pimpl.C:
8290 * LaTeX.C: fix dispatch calls
8292 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
8294 * text.C (drawChars): Fix Arabic text rendering.
8296 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
8300 * lyxfunc.C: remove message-push/pop
8304 * lyxfunc.C: rationalise some code by removing verboseDispatch
8305 in favour of a bool argument to dispatch()
8307 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8309 * lyx_main.C (init): make sure to read symlinks as absolute paths
8311 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8314 * lyxfunc.C: no need for commandshortcut to be a member
8316 2002-07-15 André Pönitz <poenitz@gmx.net>
8318 * converter.C: add support for $$s (scripts from lib/scripts dir)
8319 * lyx_main.C: white space
8321 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8325 * lyxrc.C: remove second exit confirmation
8327 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8332 * BufferView_pimpl.h:
8333 * BufferView_pimpl.C:
8334 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8336 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8338 * MenuBackend.C (expand): add numeric shortcuts to document menu
8340 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8342 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8344 * lyxfont.C (setLyXFamily):
8351 * buffer.C (asciiParagraph): use ascii_lowercase
8353 2002-07-15 Mike Fabian <mfabian@suse.de>
8355 * lyxlex_pimpl.C (search_kw):
8356 * lyxlex.C (getLongString):
8357 * converter.h (operator<):
8358 * converter.C (operator<):
8359 * buffer.C (parseSingleLyXformat2Token):
8361 * ToolbarDefaults.C (read):
8362 * MenuBackend.C (checkShortcuts):
8364 * LColor.C (getFromGUIName):
8365 (getFromLyXName): use the compare_ascii_no_case instead of
8366 compare_no_case, because in turkish, 'i' is not the lowercase
8367 version of 'I', and thus turkish locale breaks parsing of tags.
8369 2002-07-16 Angus Leeming <leeming@lyx.org>
8371 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8372 now takes a Buffer const & argument.
8374 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
8376 * BufferView.C (resize): check there's a buffer to resize
8378 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
8380 * lyxfunc.C: remove dead code
8383 * lyxserver.C: use lyx_guii::set_read_callback
8385 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
8387 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8388 an inset in a RTL paragraph.
8390 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8392 * lyxfunc.C: repaint after a font size update
8394 2002-07-15 André Pönitz <poenitz@gmx.net>
8396 * lyxlength.C: inBP should be able to return negative values
8398 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8400 * lyxfunc.C: use lyx_gui::update_fonts()
8402 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8404 * lyxfunc.C: use lyx_gui::update_color()
8406 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8412 * lyxrc.C: remove file->new asks for name option, and let
8413 buffer-new take an argument
8415 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8417 * BufferView_pimpl.C: remove unneeded extra repaint()
8419 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
8421 * LyXAction.C: allow command-sequence with NoBuffer
8423 * lyxfunc.C: don't insist on trailing ';' for command-sequence
8425 2002-07-10 Angus Leeming <leeming@lyx.org>
8427 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8429 2002-07-09 Angus Leeming <leeming@lyx.org>
8431 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8433 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8435 * lengthcommon.h: whitespace
8437 * lyxfunc.C: update scrollbar after goto paragraph
8439 * lyxtext.h: factor out page break drawing, and fix it so
8440 page break/added space paints as selected nicely
8442 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8444 * BufferView_pimpl.C: add FIXMEs, clean up a little
8446 2002-07-09 André Pönitz <poenitz@gmx.net>
8448 * lyxfont.[Ch]: support for wasy symbols
8450 2002-07-08 André Pönitz <poenitz@gmx.net>
8452 * BufferView_pimpl.C: apply John's patch for #93.
8454 2002-07-05 Angus Leeming <leeming@lyx.org>
8456 * BufferView_pimpl.C (buffer): generate previews if desired.
8458 * LColor.h: add "preview" to the color enum.
8460 * LColor.C (LColor): add a corresponding entry to the items array.
8462 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8465 2002-07-05 Angus Leeming <leeming@lyx.org>
8467 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8468 The body of the code is now in the method that is passed an ostream &
8469 rather than a file name.
8470 Pass an additional only_preamble parameter, useful for the forthcoming
8473 2002-07-03 André Pönitz <poenitz@gmx.net>
8475 * lyxfunc.C: simplify getStatus() a bit for math stuff
8477 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8479 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8481 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8483 * text.C (changeRegionCase): do not change case of all the
8484 document when region ends at paragraph end (bug #461)
8486 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8488 * paragraph.C (startTeXParParams):
8489 (endTeXParParams): add \protect when necessary
8491 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8493 * BufferView_pimpl.C (workAreaExpose): remove warning
8495 2002-06-27 Angus Leeming <leeming@lyx.org>
8497 * Makefile.am: add lyxlayout_ptr_fwd.h.
8499 2002-06-26 André Pönitz <poenitz@gmx.net>
8501 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8503 2002-06-25 Angus Leeming <leeming@lyx.org>
8505 * lyxfunc.C (dispatch): Comment out the call to
8506 grfx::GCache::changeDisplay. The method no longer exists now that the
8507 pixmap generation part of the graphics loader has been moved into
8510 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8512 * text2.C: layout as layout
8514 * text.C: layout as layout
8516 * tabular.C (OldFormatRead): layout as layout
8518 * paragraph_pimpl.C (TeXDeeper): layout as layout
8519 (realizeFont): layout as layout
8521 * paragraph.C (writeFile): layout as layout
8522 (validate): layout as layout
8523 (getFont): layout as layout
8524 (getLabelFont): layout as layout
8525 (getLayoutFont): layout as layout
8526 (breakParagraph): layout as layout
8527 (stripLeadingSpaces): layout as layout
8528 (getEndLabel): layout as layout
8529 (getMaxDepthAfter): layout as layout
8530 (applyLayout): layout as layout
8531 (TeXOnePar): layout as layout
8532 (simpleTeXOnePar): layout as layout
8533 (TeXEnvironment): layout as layout
8534 (layout): layout as layout
8535 (layout): layout as layout
8537 * lyxtextclass.C (compare_name): new functor to work with
8538 shared_ptr, layout as layout
8539 (Read): layout as layout
8540 (hasLayout): layout as layout
8541 (operator): layout as layout
8542 (delete_layout): layout as layout
8543 (defaultLayout): layout as layout
8545 * lyxlayout_ptr_fwd.h: new file
8547 * lyxlayout.C (Read): layout as layout
8549 * lyx_cb.C (MenuInsertLabel): layout as layout
8551 * bufferlist.C (newFile): layout as layout
8553 * buffer.C (readLyXformat2): layout as layout
8554 (parseSingleLyXformat2Token): layout as layout
8555 (insertStringAsLines): layout as layout
8556 (asciiParagraph): layout as layout
8557 (latexParagraphs): layout as layout
8558 (makeLinuxDocFile): layout as layout
8559 (simpleLinuxDocOnePar): layout as layout
8560 (makeDocBookFile): layout as layout
8561 (simpleDocBookOnePar): layout as layout
8562 (getLists): layout as layout
8564 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8566 * CutAndPaste.C (cutSelection): layout as layout
8567 (pasteSelection): layout as layout
8568 (SwitchLayoutsBetweenClasses): layout as layout
8570 * BufferView_pimpl.C (Dispatch): layout as layout
8571 (smartQuote): layout as layout
8573 * BufferView2.C (unlockInset): layout as layout
8575 2002-06-24 André Pönitz <poenitz@gmx.net>
8577 * lyxfunc.C: fix #487
8579 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8583 * lyxfunc.C: remove display_shortcuts, show_banner
8585 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8587 * Buffer_pimpl.C: oops, update on resize
8589 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8596 * BufferView.C: use repaint()
8598 * BufferView_pimpl.h:
8599 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8600 as it's a clearer description. Remove superfluous
8603 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8605 * text.C: fix bug 488. Not ideal, but getting
8606 getWord() to work properly for the insets that
8607 matter is more difficult ...
8609 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8611 * BufferView_pimpl.C:
8614 * lyxfunc.C: remove the six million index lyxfuncs to just
8615 one, and DTRT (bug 458)
8617 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8621 * BufferView_pimpl.h:
8622 * BufferView_pimpl.C: clean up resize() stuff,
8623 and unnecessary updateScreen()s
8625 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8629 * BufferView_pimpl.h:
8630 * BufferView_pimpl.C:
8633 * minibuffer.C: remove focus management of workarea,
8634 not needed. Use screen's greyOut()
8636 2002-06-17 Herbert Voss <voss@lyx.org>
8638 * converter.C: (convert) do not post a message, when converting
8639 fails, let the calling function decide what to do in this case
8641 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
8643 * lyxfunc.C: tidy up a little
8645 2002-06-16 <alstrup@diku.dk>
8647 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8648 Got rid of FORMS_H_LOCATION include. Now we are
8651 2002-06-15 LyX Development team <lyx@rilke>
8653 * buffer.[Ch] (sgmlOpenTag):
8654 (sgmlCloseTag): Added support for avoiding pernicious mixed
8655 content. Return number of lines written.
8658 (makeDocBookFile): Fixed calls to sgml*Tag.
8659 Simple white space clean.
8661 (simpleDocBookOnePar): Simple white space clean.
8663 * tabular.[Ch] (docBook): Renamed to docbook and got another
8664 argument to related with the pernicious mixed content.
8666 (docbookRow): Fixed calls for docbook inset method.
8668 2002-06-15 Lyx Development team <larsbj@birdstep.com>
8670 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8671 so it's X11 independent.
8675 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8677 2002-06-15 Lyx Development team <lyx@electronia>
8679 * intl.h: Renamed getTrans to getTransManager.
8681 2002-06-14 Angus Leeming <leeming@lyx.org>
8683 * Makefile.am: nuke forgotten stl_string_fwd.h.
8685 2002-06-12 Angus Leeming <leeming@lyx.org>
8687 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8689 2002-06-13 Angus Leeming <leeming@lyx.org>
8692 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8694 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
8696 * kbmap.C (getiso): add support for cyrillic and greek
8698 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8702 * BufferView_pimpl.h:
8703 * BufferView_pimpl.C: move bogus scrolling logic
8706 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8709 * BufferView_pimpl.C: view->resize() change
8711 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8713 * BufferView_pimpl.C: topCursorVisible
8716 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8720 * lyx_gui.C: move to frontends/
8724 * lyx_main.C: changes from above
8726 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8733 * lyx_main.C: minor tidy
8735 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8737 * BufferView_pimpl.h:
8738 * BufferView_pimpl.C:
8740 * BufferView.C: make painter() const,
8743 * BufferView2.C: use screen() accessor
8746 * lyx_main.C: some minor cleanup
8748 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8750 * BufferView_pimpl.h:
8751 * BufferView_pimpl.C: remove enter/leaveView,
8754 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8759 * BufferView_pimpl.h:
8760 * BufferView_pimpl.C: only construct screen once,
8763 * lyxrc.C: remove pointless comment
8765 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8768 * BufferView.C: remove active() and belowMouse()
8770 * BufferView_pimpl.h:
8771 * BufferView_pimpl.C: use workarea() not workarea_,
8772 and make it use a scoped_ptr instead
8774 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8776 * lyx_gui.C: add debug message on BadWindow
8778 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8780 * sp_spell.C: fdopen is not part of the C++ standard.
8782 * paragraph.C (InsetIterator): use >= instead of ==
8784 2002-06-07 Angus Leeming <leeming@lyx.org>
8786 Fixes needed to compile with Compaq cxx 6.5.
8787 * BufferView_pimpl.C:
8794 * lyxtextclasslist.C:
8799 all c-library variables have been moved into namespace std. Wrap
8800 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8805 Add a using std::abs declaration.
8807 * kbmap.h (modifier_pair):
8808 * paragraph.h (InsetTable, InsetList):
8809 * lyxfont.h (FontBits):
8810 type definition made public.
8812 * bufferlist.C (emergencyWriteAll): the compiler complains that
8813 there is more than one possible lyx::class_fun template to choose from.
8814 I re-named the void specialisation as lyx::void_class_fun.
8816 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8818 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8819 the compiler is is unable to find tostr in write_attribute.
8821 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8823 * buffer.C (sgmlError): hide #warning
8825 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8827 * xtl/*: get rid of xtl, which is not in use anyway
8829 * LyXAction.C (init):
8830 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8831 were unimplemented xtl experimentation
8833 2002-06-04 André Pönitz <poenitz@gmx.net>
8835 * lyxfunc.C: disable array operation on simple formulae
8837 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
8839 * converter.C: constify a bit
8841 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
8843 * lyx_gui.C: check xforms version correctly
8845 2002-04-30 Herbert Voss <voss@lyx.org>
8847 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8850 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
8852 * lyxvc.C: fix bug 416 (make sure buffer is saved before
8853 attempt to register it with a VCS)
8855 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8857 * lyx_main.C (init): honor variables LYX_DIR_13x and
8860 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8864 * lyx_main.C: fix a crash on bad command line,
8865 and give a useful exit status on error
8867 * lyxfunc.C (doImport): allow -i lyx to work
8869 2002-03-30 André Pönitz <poenitz@gmx.net>
8871 * lyxfunc.C: mathed font changes
8873 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8888 * trans_mgr.h: srcdocs, and some minor cleanups
8890 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8892 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8893 call getFont all the time)
8895 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8897 * switch from SigC signals to boost::signals
8899 2002-05-29 André Pönitz <poenitz@gmx.net>
8901 * paragraph_pimpl.C (getChar): don't call size() too often...
8903 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8905 * paragraph_pimpl.C (insertChar): do not try to update tables when
8906 appending (pos == size())
8908 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8909 in order to reduce drastically the number of comparisons needed to
8910 parse a large document
8912 2002-05-29 André Pönitz <poenitz@gmx.net>
8918 * textclasslist.[Ch]:
8919 * sp_ispell.h: whitespace change
8921 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8923 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8924 lyxaction directly now.
8926 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
8930 * lyxvc.C: remove unused headers
8932 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8939 * undo_funcs.C: some cleanups. Use shared_ptr
8940 and a template for the undo stacks.
8942 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8944 * BufferView_pimpl.h:
8945 * BufferView_pimpl.C:
8952 * text2.C: use key_state/mouse_state
8954 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8956 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8959 * chset.C: change include order
8960 (loadFile): use boost regex and get rid of LRegex and LSubstring
8962 * Makefile.am (BOOST_LIBS): new variable
8965 * LaTeX.C: change include order.
8966 (scanAuxFile): use boost regex and get rid of LRegex and
8970 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8975 * FontInfo.C: moved to frontends/xforms/
8978 * FontLoader.C: moved into frontends for GUIIzation
8983 * lyxfunc.C: changes from above
8985 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8987 * LColor.C: remove spurious X include
8989 * BufferView_pimpl.C:
8994 * text2.C: move font metrics to frontends/
8996 2002-05-24 Juergen Vigna <jug@sad.it>
8998 * undo_funcs.C (textHandleUndo): fix the cursor selection after
8999 setting the undo_cursor.
9001 * ParagraphParameters.h: include local includes first.
9003 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9005 * BufferView_pimpl.C:
9006 * BufferView_pimpl.h:
9010 * screen.C: move WorkArea into frontends/
9016 * BufferView2.C: move LyXScreen into frontends/
9020 * lyx_gui.C: move lyxlookup into frontends/xforms/
9022 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9025 * BufferView_pimpl.C:
9035 * bufferview_funcs.C:
9048 * vc-backend.C: move LyX/XFormsView into frontends/
9050 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9062 * text2.C: move Painter to frontends/
9064 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9066 * buffer.C: comment out some some code that depend upon lyx_format
9069 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9070 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9072 * buffer.h (NO_COMPABILITY): turn off compability
9074 * ColorHandler.C: include scoped_array.hpp
9076 * font.C: Use more specific smart_ptr header.
9079 * ShareContainer.h: ditto
9083 * BufferView_pimpl.h: ditto
9084 * ColorHandler.h: ditto
9086 * kbmap.C (defkey): change call to shared_ptr::reset
9088 2002-05-21 Juergen Vigna <jug@sad.it>
9090 * buffer.C (insertErtContents): fix to insert ert asis if it is
9091 non empty. Skip it completely if it contains only whitespaces.
9093 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
9095 * BufferView_pimpl.C:
9096 * BufferView2.C: clear selection on paste (bug 393)
9098 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9100 * DepTable.C: include ctime
9102 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
9104 * buffer.C (latexParagraphs): Add new argument (moving_arg).
9106 2002-05-14 Juergen Vigna <jug@sad.it>
9108 * text.C (breakParagraph): fixed function to honor the keepempty
9109 layout in the right maner and also to permit the right breaking
9110 algorithm on empty or non empyt keepempty paragraphs.
9112 * paragraph.C (breakParagraph): we have to check also if the par
9113 is really empty (!size()) for isempty otherwise we do the wrong
9116 2002-05-10 Juergen Vigna <jug@sad.it>
9118 * buffer.[Ch] : The following are only changes to the ert
9119 compatibility read reading old LaTeX layout and font stuff and
9120 convert it to ERTInsets.
9122 * buffer.h: added isErtInset().
9124 * buffer.C (struct ErtComp): add a fromlayout bool to check
9125 if we're inside a LaTeX layout.
9126 (isErtInset): new helper function.
9127 (insertErtContents): look for other ert insets before this one
9128 and insert the contents there, so that we don't have subsequent
9129 ERT insets with nothing between them. This way we create only one
9130 inset with multiple paragraphs. Also check if we don't insert only
9131 spaces ' ' as they are ignored anyway afterwards in the .tex file
9132 so if we have only spaces we will ignore this latex part in the
9134 (parseSingleLyXformat2Token \\layout): better compatibility when
9135 reading layout-latex stuff.
9136 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9138 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9139 stuff after reading the inset only get the information back from
9142 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
9144 * buffer.C (makeLaTeXFile): Put language options after loading babel.
9146 * LaTeXFeatures.C (getBabelOptions): New method.
9148 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9150 * BufferView_pimpl.C (Dispatch): work around missing argument for
9153 2002-05-08 Juergen Vigna <jug@sad.it>
9155 * text.C (leftMargin): handle paragraph leftindent.
9157 * paragraph.C (writeFile): write the new \\leftindent tag.
9158 (validate): handle leftindent code.
9159 (TeXEnvironment): handle paragraphleftindent code again.
9161 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9163 * buffer.C (parseSingleLyXformat2Token): added compatibility code
9164 for paragrap_extra indent code and new token \\leftindent.
9165 (latexParagraphs): handle the leftindent as environment.
9167 * ParameterStruct.h: added leftindent support.
9169 * ParagraphParameters.C (leftIndent): added support functions for
9170 the paragraph left indent.
9172 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9175 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
9177 * paragraph.C (isRightToLeftPar): Return false for a paragraph
9180 * text.C (computeBidiTables): No bidi in insetERT.
9182 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9185 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9187 * version.C.in: pre 5
9189 2002-05-02 José Matos <jamatos@fep.up.pt>
9190 * buffer.C (makeDocBookFile): white space changes, add newline to
9192 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9194 * tabular.C (docBook): fix typo.
9196 2002-05-03 Juergen Vigna <jug@sad.it>
9198 * screen.C (drawFromTo): recalculate the rowpointer if we had a
9199 change in LyXText as we can not be sure it was not freed.
9200 (drawOneRow): remove unused code.
9202 * text.C (drawInset): redo the calculation of the need_break_row as
9203 it could have a row which was already freed.
9204 (draw): look at the return value of drawInset and return false if
9205 it also returned false.
9206 (paintRowText): look at the return value of draw and return false if
9207 it also returned false.
9209 * lyxtext.h: added bool return type to drawInset() and draw() so that
9210 if we have a change in the row so that the rowbreak has to be redone
9211 we abort drawing as it will be called again.
9213 2002-05-02 Juergen Vigna <jug@sad.it>
9215 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9216 a change in the maintext also if we're inside an inset.
9217 (Dispatch): set the cursor again after a break line and after the
9218 screen has been updated as it could be we're in a different row.
9220 * text2.C (fixCursorAfterDelete): check to make sure we don't request
9221 to set the cursor behind the pargraph with > size().
9222 (setCursor): check also for the same paragraph when checking where
9223 to put the cursor if we have a NFR inset.
9225 * buffer.C (parseSingleLyXformat2Token): move the compatibility
9226 parts of layout read further up as it still was in the wrong
9229 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9231 * screen.C (drawFromTo): change sine fullRebreak always return
9234 * buffer.C (parseSingleLyXformat2Token): reindent some
9236 * BufferView_pimpl.C (update): change since fullRebreak always
9238 (Dispatch): git rid of the last hardcoded "Standard"s.
9240 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9242 * text2.[Ch] (fullRebreak): make it return void now that we always
9245 2002-04-30 Juergen Vigna <jug@sad.it>
9247 * buffer.C (parseSingleLyXformat2Token): reset the font before the
9248 ert compatibility check for "latex" layout.
9250 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
9252 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9253 minipages: use col% instead of p%, and also use the current font.
9254 (makeLaTeXFile): Fix use babel condition.
9255 (parseSingleLyXformat2Token): Correct font when reading old floats.
9257 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
9259 * BufferView_pimpl.C (Dispatch): Check that float type exists when
9260 inserting list of floats.
9262 2002-04-25 Herbert Voss <voss@lyx.org>
9264 * MenuBackend.C (expand): don't add the graphics extensions to the
9267 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9269 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9270 non-existing layout, do not complain if it was the default layout
9271 of the original class (bug #342)
9273 2002-04-24 Juergen Vigna <jug@sad.it>
9275 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9276 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9278 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
9280 * buffer.C (getBibkeyList): If using \bibliography, return the
9281 option field with the reference itself. Enables us to provide natbib
9282 support when using \bibliography.
9284 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
9286 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9288 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9289 natbib is provided by the LaTeX class.
9291 2002-04-23 Juergen Vigna <jug@sad.it>
9293 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9296 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9298 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9300 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9302 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9303 ensuremath around textordmasculine, textordfeminine and
9306 2002-04-19 Juergen Vigna <jug@sad.it>
9308 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9309 reinitializing the buffer otherwise row-dimensions may be wrong.
9310 (update): reset also the selection cursors if they do exits otherwise
9311 their x/y positions may be wrong.
9313 * text2.C (cursorDown): don't enter the inset if we came from a row
9314 above and are one row over the inset.
9316 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9317 really leaving an inset.
9319 2002-04-18 Juergen Vigna <jug@sad.it>
9321 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9322 of the selected paragraph does not have the selected layout also if
9325 * text2.C (setLayout): fixed bug which did not change last selected
9328 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9329 changed the read and substituted \\end_float with \\end_inset!
9331 * BufferView_pimpl.C (cursorPrevious):
9332 (cursorNext): fixed to make it work with rows heigher than the work
9333 area without moving the cursor only the draw of the row.
9334 (workAreaMotionNotify): fix jumping over high rows.
9336 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9338 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9341 2002-04-16 Juergen Vigna <jug@sad.it>
9343 * text2.C (setCursor): set also the irow().
9344 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9346 (cursorDown): support for locking an inset if the x_fix value goes
9347 inside it. That way I can transverse insets too with cursor up/down.
9349 * lyxrow.h: added irow helper function same as other (i) functions.
9351 * BufferView_pimpl.C (cursorPrevious):
9352 (cursorNext): fixed for insets!
9354 2002-04-15 Juergen Vigna <jug@sad.it>
9356 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9357 position otherwise it is wrong in some cases.
9359 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9360 inside the inset before the call.
9362 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
9364 * buffer.[Ch] (getBibkeyList): make it const.
9366 2002-04-12 Juergen Vigna <jug@sad.it>
9368 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9370 * text2.C (getCursorX): new helper function
9371 (setCursor): compute also ix_
9372 (setCursorFromCoordinates): set also ix.
9374 * lyxcursor.h: added ix_ and helper functions.
9376 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9378 * buffer.C (insertStringAsLines): dont break paragraph if the this
9379 paragraph is inside an inset which does not permit it!
9381 * text.C (breakParagraph): honor keepempty flag and break the paragraph
9382 also with no chars on this paragraph.
9383 (paintRowText): only paint stuff if it's inside the workarea!
9385 * paragraph.C (breakParagraph): honor keepempty flag and break the
9386 paragraph always below not above.
9388 * BufferView2.C (unlockInset): update the paragraph layout on inset
9389 unlock as we changed paragraph in such a case.
9391 * lyxfind.C (LyXFind): clear the former selection if not found!
9393 * text2.C (insertInset): freeze Undo after setUndo so that it is not
9394 again called in insertChar().
9396 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9397 an inset which uses the whole row!
9398 (rightMargin): ditto.
9399 (insertChar): force a rebreak if we inserted an inset!
9401 2002-03-28 Herbert Voss <voss@lyx.org>
9403 * lyxlength.[Ch]: add inBP() to get the right PS-point
9404 units (BigPoint). With inPixels we have rounding errors
9406 2002-04-11 Juergen Vigna <jug@sad.it>
9408 * text2.C (setCursorFromCoordinates): set iy to the right value.
9409 (setCursor): add check if row->previous exists!
9411 * buffer.C (parseSingleLyXformat2Token): reset font after read of
9412 an old float_type as this was the case in the old code!
9414 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9416 * BufferView2.C (showLockedInsetCursor): use iy
9417 (fitLockedInsetCursor): ditto
9419 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9420 locked insets as there we have the right value now.
9422 * lyxcursor.C: added iy_ variable and iy functions to set to the
9423 baseline of cursor-y of the locked inset.
9425 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9426 (setCursor): fixed for insets which need a full row.
9428 * text.C (rowLastPrintable): don't ignore the last space when before
9429 an inset which needs a full row.
9430 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9431 as last character of a row when before a inset which needs a full row.
9433 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9435 * version.C.in: update date
9437 * text2.C (fullRebreak): try to always return true and see what
9440 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9442 * MenuBackend.C (expand): use Floating::listName
9444 * FloatList.C (FloatList): add listName argument to the built-in
9447 * Floating.[Ch]: add listName member, which is the 'List of XXX'
9448 text associated with the float.
9450 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9452 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9454 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9456 * ShareContainer.h: add a couple of missing typenames.
9458 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
9460 * lyxrc.C (getDescription): use _() correctly rather than N_().
9462 2002-03-28 Herbert Voss <voss@lyx.org>
9464 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9465 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9467 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9469 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9470 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9472 2002-03-29 Juergen Vigna <jug@sad.it>
9474 * lyxfunc.C (dispatch): add a missing fitCursor call.
9476 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9477 it was scrolled by a cursor move, so return the bool status.
9479 * BufferView.C (fitCursor): return the bool flag also to the outside
9480 world as this is needed.
9482 * screen.C (toggleToggle): don't subtract the offset if it's positive.
9484 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9485 call the edit() as it is not needed (and wrong) IMO.
9486 (workAreaButtonPress): set the screen_first variable before evt.
9487 unlock the inset as this may change screen_first and then we have
9488 a wrong y position for the click!
9490 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9492 * MenuBackend.C (expand): another translation that I missed
9494 2002-03-28 Juergen Vigna <jug@sad.it>
9496 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9498 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9500 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9502 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9504 * MenuBackend.C (expand): fix export/view/update when there is no
9507 2002-03-27 Herbert Voss <voss@lyx.org>
9509 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9512 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9514 * bufferview_funcs.C (currentState): only show paragraph number
9515 for is DEVEL_VERSION is set.
9517 * lyxfunc.C (dispatch): put warning in INFO channel
9519 * MenuBackend.C (expand): translate the name of floats
9521 * FloatList.C (FloatList): mark the float names for translation
9523 * converter.C (convert): use LibScriptSearch
9525 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9527 * MenuBackend.C (defaults): fix default menu (we might as well get
9530 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9532 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9535 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9537 * lyxvc.C: reorder includes.
9539 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
9541 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9544 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9546 * CutAndPaste.C: change layouts earlier on paste
9547 to avoid crashing when calling getFont()
9549 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9551 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9554 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9556 * WorkArea.C: remove 'Pending' debug message.
9558 * most files: ws cleanup
9560 * buffer.[Ch]: ws changes
9562 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9564 2002-03-21 Juergen Vigna <jug@sad.it>
9566 * tabular.C (SetMultiColumn): collapse also the contents of the
9567 cells and set the last border right. Added a Buffer const * param.
9569 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9571 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9574 2002-03-19 Juergen Vigna <jug@sad.it>
9576 * text2.C (clearSelection): reset also xsel_cache.
9578 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9579 where it needs to be called (John tells us to do so too :)
9580 (selectionLost): reset sel_cache.
9582 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9584 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9586 * text2.C (setCursorIntern): put debuging code in INSETS channel
9588 2002-03-19 André Pönitz <poenitz@gmx.net>
9590 * lyxfunc.C: tiny whitespace change
9592 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9594 * ToolbarDefaults.C (init):
9595 * LyXAction.C (init):
9597 * BufferView_pimpl.C (Dispatch):
9598 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9600 2002-03-19 Allan Rae <rae@lyx.org>
9602 * exporter.C (Export): removeAutoInsets before doing anything else.
9603 While I've just introduced a dependency on BufferView this really is
9604 the best place to clean the buffer otherwise you need to cleanup in
9605 a dozen places before calling export or cleanup in a dozen functions
9608 * converter.C (runLaTeX):
9609 (scanLog): Better handling of removeAutoInsets and screen updates.
9611 * lyxfunc.C (dispatch): small whitespace changes
9613 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9615 * WorkArea.C (C_WorkAreaEvent): return a value.
9616 (event_cb): return 1 if we handled the event, 0 otherwise.
9618 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9620 2002-03-18 Juergen Vigna <jug@sad.it>
9622 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9623 (GetAdditionalWidth): ditto.
9627 * BufferView2.C (copy): use getLyXText() so that we do it inside an
9628 inset if we're there actually (probably not used right now but this
9629 is the direction to go for unifying code).
9630 (paste): disable code to clear the selection.
9632 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9633 inside an InsetText and move the check further up as it is in the
9636 * text2.C (pasteSelection): set a selection over the pasted text.
9638 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
9640 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9641 and libgraphics to build on Cygwin.
9643 2002-03-15 Juergen Vigna <jug@sad.it>
9645 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9646 inserting an Inset into the paragraph. I know this is not the best
9647 fix but we already use current_view in CutAndPaste so we will remove
9648 all of it's using at the same time.
9650 * buffer.C (sgmlError): deactivated function till it is rewritten in
9651 the right mode, now it can create problems.
9653 * paragraph.C (isLineSeparator): check if getInset returns != 0,
9654 before accessing it.
9656 2002-03-14 Juergen Vigna <jug@sad.it>
9658 * undo_funcs.C (textHandleUndo): do the right thing when updating
9659 the inset after the undo/redo.
9661 * text2.C (setCursor): just some testcode for #44 not ready yet.
9663 * undo_funcs.C (textHandleUndo): set the next() and previous()
9664 pointers of the paragraph to 0 before deleting otherwise we have
9665 problems with the Paragraph::[destructor].
9667 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9668 on a paragraph insertion.
9670 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9672 * buffer.C (asciiParagraph): use += operator for char append to
9675 * paragraph.C (getFontSettings): compare >= not just >
9676 (highestFontInRange): ditto
9679 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9681 * paragraph.C: change several algorithm to be more appripriate for
9682 the problem domain. This is lookip in FontList and in the InsetList.
9684 2002-03-13 André Pönitz <poenitz@gmx.net>
9687 * LyXAction.C: remove unused LFUN_MATH_MACROARG
9689 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
9694 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9696 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9698 * Painter.C (display): anon helper function, adjust code for this
9700 (pixmap): remove function.
9702 * Painter.h: remove private display variable.
9704 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9706 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
9708 * WorkArea.[Ch]: remove figinset_canvas cruft.
9710 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9712 * lyxtextclass.C (operator): add one item cache optimization.
9714 * bufferlist.h: doxy changes
9716 * bufferlist.C: ws changes
9718 * DepTable.[Ch] (ext_exist): place const in the right spot.
9720 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9722 (workAreaExpose): call resizeInsets when the with BufferView changes.
9723 (Dispatch): adjust for protectedBlank removal
9724 (specialChar): call updateInset if the insert went ok.
9726 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9727 specialChar instead.
9729 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9731 * BufferView.h: doxy change
9733 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9735 * lyxtextclass.C (operator[]): remove non-const version
9736 (defaultLayout): remove non-const version
9738 2002-03-12 Juergen Vigna <jug@sad.it>
9740 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9741 did resize the LyXText too.
9743 * buffer.C (readLyXformat2): set layout information on newly allocated
9746 * tabular.C (OldFormatRead): set layout information on the paragraph.
9748 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9750 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9752 2002-03-11 Juergen Vigna <jug@sad.it>
9754 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9756 (resizeCurrentBuffer): force also the insets to resize themselfes.
9757 (moveCursorUpdate): fixed up for InsetText.
9759 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
9762 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9763 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9764 value of Dialogs::tooltipsEnabled().
9765 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9767 2002-03-08 Juergen Vigna <jug@sad.it>
9769 * BufferView_pimpl.C (updateInset): update inset inside inset also
9770 if it isn't inside theLockingInset().
9772 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9774 * buffer.C (asciiParagraph): redo some of the word and line length
9776 (getLists): look for Caption instead of caption.
9778 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9780 * buffer.C (Buffer): initialize niceFile to true
9783 (makeDocBookFile): make sure niceFile is true on exit
9785 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9787 * buffer.C (makeLaTeXFile): escape ~ in \input@path
9789 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
9791 * LyXSendto.C: remove.
9792 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9793 * lyx_gui.C: remove now-redundant comment.
9794 * ColorHandler.h: remove forward declaration of class WorkArea.
9795 * lyxfunc.C: remove #include "WorkArea.h".
9797 2002-03-07 Juergen Vigna <jug@sad.it>
9799 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9800 got moved away with the DEPM and also set the inset_owner always
9801 right which before could have been omitted.
9803 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9805 * buffer.C (parseSingleLyXformat2Token): use default layout is the
9806 wanted layout is not found.
9808 2002-03-07 Juergen Vigna <jug@sad.it>
9810 * CutAndPaste.C (cutSelection): another layout settings forgotten.
9812 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9814 * paragraph.C (breakParagraph): use default layout not layout of
9816 (Paragraph): clear ParagraphParameters.
9818 2002-03-06 Juergen Vigna <jug@sad.it>
9820 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9821 otherwise it would not be a valid lenght. Fixed a special case in
9822 the minipage compatibility read where we end the document with a
9825 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9826 was set as it could be 0 for InsetTexts first entry.
9828 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9830 * paragraph.C (writeFile): if layout is empty write out
9831 defaultLayoutName().
9833 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9834 file without named layout we set layout to defaultLayoutName().
9836 2002-03-06 Juergen Vigna <jug@sad.it>
9838 * CutAndPaste.C (copySelection): set layout for new paragraph.
9840 * text.C (prepareToPrint): leave ERT inset left aligned
9841 (leftMargin): don't indent paragraphs inside ERT insets
9843 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9845 * paragraph.C (breakParagraph): dont call clear do the work manually
9847 * paragraph.[Ch] (clear): remove function
9849 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9851 * paragraph.C (Paragraph): dont call clear, the work has already
9854 * lyxtextclass.C (operator): assert if n is empty
9856 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9857 work manually instead.
9859 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9861 * BufferView_pimpl.C: protect selectionLost against text == 0
9863 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9865 * text.C (breakParagraph): fix a setting layout to '0' problem.
9867 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9869 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9870 final location of file, for the included files, and graphics.
9872 2002-03-05 Juergen Vigna <jug@sad.it>
9874 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9876 2002-03-04 Juergen Vigna <jug@sad.it>
9878 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9880 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9881 last column of multicolumn cells.
9882 (SetWidthOfMulticolCell): recalculate NMC and real columns.
9884 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
9886 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9887 file if it doesn't go to a temporary file.
9889 * buffer.C (sgmlOpenTag):
9890 (sgmlCloseTag): remove extra newline insertion.
9892 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9894 * text.C (getRowNearY): comment out debug msg
9896 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9898 * text2.C: first -> first_y
9900 * text.C (getRowNearY): add some attemts at a possible
9901 optimization, not working.
9903 * tabular.[Ch]: add BufferParams to several function so that newly
9904 created paragraph can be initialized to he default layotu for the
9907 * tabular-old.C (ReadOld): add buf->params to call of Init
9909 * screen.C: rename text->first to text->first_y
9911 * paragraph.C (breakParagraph): always set layout in the broken
9914 * lyxtextclass.C (Read): remove lowercase
9917 (delete_layout): ditto
9919 * lyxtext.h: rename first -> first_y
9921 * lyxlayout.C (Read): remove lowercase
9924 (obsoleted_by): ditto
9926 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9928 * buffer.C (insertErtContents): add params are to InsetERT
9929 (parseSingleLyXformat2Token): add code to check if a paragraphs
9930 layout really exist.
9931 (parseSingleLyXformat2Token): add params to several inset
9933 (asciiParagraph): remove lowercase, do the layout comparisons with
9936 * BufferView_pimpl.C (cursorNext): first -> first_y
9937 (resizeCurrentBuffer): first -> first_y
9938 (updateScrollbar): first -> first_y
9939 (scrollCB): first -> first_y
9940 (workAreaMotionNotify): first -> first_y
9941 (workAreaButtonPress): first -> first_y
9942 (checkInsetHit): first -> first_y
9943 (cursorPrevious): first -> first_y
9944 (cursorNext): first -> first_y
9945 (Dispatch): add buffer_->params to severl inset contructors
9947 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9949 * lyxlayout.C (Read): remove some debug info that I forgot.
9951 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9952 clean up the code slightly.
9953 (makeLinuxDocFile): ditto
9954 (makeDocBookFile): ditto
9956 * text2.C: layout as string
9958 * text.C: layout as string
9960 * paragraph_pimpl.C: layout as string
9962 * paragraph.[Ch]: layout as string
9964 * lyxtextclasslist.[Ch]: layout as string
9966 * lyxtextclass.[Ch]: layout as string
9968 * lyxtext.h: layout as string
9970 * lyxlayout.[Ch]: layout as string
9972 * lyx_cb.C: layout as string
9974 * bufferview_funcs.C: layout as string
9976 * bufferparams.C: layout as string
9978 * buffer.C: layout as string
9980 * LyXView.[Ch]: layout as string
9982 * LaTeXFeatures.[Ch]: layout as string
9984 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9986 * BufferView_pimpl.C: change current_layout to string, remove
9991 (workAreaButtonRelease): layout as string
9993 * BufferView2.C (unlockInset): adjust
9995 * vspace.C (asLatexCommand): use an explict temp variable.
9997 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9999 * Makefile.am: use FRONTEND_*
10001 2002-03-01 Juergen Vigna <jug@sad.it>
10003 * tabular.C (SetWidthOfMulticolCell): changed to something better
10004 I hope but still work in progress.
10005 (recalculateMulticolumnsOfColumn): renamed function from
10006 recalculateMulticolCells as it is more appropriate now.
10007 (SetWidthOfCell): calculate multicols better.
10009 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10011 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10013 * lyxfunc.C (processKeySym): print sequence also if it is
10014 `deleted' (complete)
10016 * kbsequence.C (print): print sequence even if it is deleted
10017 (complete would be a better word, actually).
10019 * lyxfunc.C (dispatch): print complete options after a prefix key
10021 * vspace.C (asLatexCommand): rewrite in a slightly different form.
10023 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
10025 * text2.C (setCharFont): eliminate setCharFont code duplication.
10027 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10029 * BufferView_pimpl.C (Dispatch): remove bogus handling of
10030 LFUN_TABULAR_FEATURE (bug #177)
10032 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
10034 * Makefile.am: remove figure.h
10036 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
10038 * Bufferview_pimpl.C:
10050 * text2.C: remove #include "lyx_gui_misc.h".
10052 * LaTeX.C: added #include <cstdio>
10054 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10056 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10057 that the paragraph following this one can have.
10059 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10061 * vspace.C (asLatexCommand): fix bogus gcc warning
10063 * Makefile.am (lyx_SOURCES): remove vms_defines.h
10065 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
10067 * text2.C (setLayout): get rid of redundant code
10069 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
10071 * text2.C (incDepth): make sure depth cannot be increased beyond
10074 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
10076 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10077 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10079 * PainterBase.h (image):
10080 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10081 a LyXImage const *.
10083 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10087 * BufferView_pimpl.C:
10088 * BufferView_pimpl.h:
10108 * sp_spell.C: remove fig inset, and the crap house of
10109 cards that follows it
10111 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10116 * os2_errortable.h:
10117 * nt_defines.h: move .h into support/
10119 * vms_defines.h: remove
10121 * WorkArea.C: add space in debug output
10125 * buffer.C: add WITH_WARNINGS
10129 * bufferlist.C: s/retrive/retrieve/, add docs
10138 * chset.C: add docs
10140 * lyxgui.C: add ID to X error handler
10142 * lyxtestclass.c: fix typo
10144 2002-02-26 Juergen Vigna <jug@sad.it>
10146 * tabular_funcs.C (write_attribute): changed so that some default
10147 attributes are not written at all.
10148 (getTokenValue): set default values before trying to read the
10149 value so we have the return value always set as default if we don't
10150 find the token we search for.
10152 * tabular.C (Write): write bools as bools not as strings!
10154 2002-02-22 Juergen Vigna <jug@sad.it>
10156 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10157 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10159 * text.C (leftMargin): don't add an indent for paragraphs inside
10160 tabular cells (fix #208).
10162 2002-02-21 José Matos <jamatos@fep.up.pt>
10164 * tabular.C (docBook): fixed support for long tables.
10166 2002-02-20 Juergen Vigna <jug@sad.it>
10168 * text2.C (getFont): get the drawing font of the Inset if this
10169 paragraph is inside an inset (only important for InsetERT for now).
10171 * buffer.C (insertErtContents): use new lanugage params in ERT
10174 * CutAndPaste.C: commenting out seemingly uneeded code.
10176 2002-02-19 Allan Rae <rae@lyx.org>
10178 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10179 Iterators might be simple to use but they also get invalidated.
10180 (removeAutoInsets): renamed saved cursor tracking variables and added
10181 some comments to clarify what everything does.
10183 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
10190 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10191 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10194 * vc-backend.h: remove #include "support/syscall.h"
10198 * converter.C: rearrange #includes in Lars' approved fashion.
10200 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10201 forward declare class Timeout in the header file.
10203 * XFormsView.C: changes due to the above.
10205 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10206 similar to LyXView.
10208 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10209 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10211 2002-02-18 José Matos <jamatos@fep.up.pt>
10213 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10216 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10218 * a lot of small ws changes
10219 * add a lot of using std::XXX
10220 * use std construcs some places where approp.
10221 * use some exisint stuff from lyxfunctional where approp.
10222 * Make file changes to use partial linking (lets test this now...)
10224 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10228 remove #include "support/syscontr.h" as it's redundant. Always has been.
10236 change Systemcalls::System to Systemcalls::Wait and
10237 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10238 No change of functionality, just reflects the stripped down Systemcalls
10241 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10243 * debug.[Ch]: add a GRAPHICS type to the enum.
10245 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10247 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10249 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10252 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10254 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10255 match the changes below.
10257 * text2.C (toggleInset): if there is not editable inset at cursor
10258 position, try to see if cursor is _inside_ a collapsable inset
10261 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10263 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10264 document menu has a nice checkbox
10266 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10268 * lyxlength.C (asLatexString): change PW to output as percent of
10271 * lengthcommon.C: change '%' to 't%'
10273 * lyxfunc.C (dispatch): a few comments from Martin
10275 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
10279 * BufferView_pimpl.h:
10280 * BufferView_pimpl.C: clear our selection when X tells us we've lost
10283 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10285 * vspace.C (inPixels): fix compiler warning
10287 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10289 * lyxfunc.C (getStatus): fix status message for disabled commands.
10291 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
10293 * BufferView_pimpl.C: fix crash on close buffer
10294 during selection (#227)
10296 2002-01-27 Herbert Voss <voss@lyx.org>
10298 * buffer.C: link old Figure to new graphic inset
10300 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
10302 * FontLoader.C (getFontinfo): Change the latex font names in order
10303 to match the names of type1inst.
10305 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10307 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10309 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10310 (extchanged): ditto
10312 (remove_files_with_extension): ditto
10313 (remove_file): ditto
10316 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10317 document is smaller than the work area height. Do not initialize
10318 static variables to 0.
10320 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10322 * lyx_gui.C (init): give the toolbar tooltips a normal font.
10324 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10325 LFUN_LAYOUT_PARAGRAPHS.
10327 * tabular.C (GetCellFromInset): new method. Finds an inset in a
10328 tabular. It is possible to provide a possible cell, which will
10329 typically be the actcell from the corresponding insettabular
10331 * lyxfunc.C (getStatus): small cleanup; disable
10332 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10335 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10337 * tabular.C (Validate): remove broken optimization (fixes bug #201)
10339 * paragraph.C (startTeXParParams):
10340 (endTeXParParams): new methods. The LaTeX code to
10341 start/end paragraph formatting
10342 (simpleTeXOnePar): call startTeXParParams also when paragraph is
10343 empty (fixes bug #200)
10345 * vspace.C (inPixels): adapt to the change below
10346 (inPixels): [later] more cleanups (remove unused variables)
10348 * lyxlength.C (inPixels): change to use a width and a height as
10351 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10353 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10354 Replaced with \paperwidth
10356 * DepTable.C (insert): add std:: qualifier
10358 2002-01-18 Allan Rae <rae@lyx.org>
10360 * text2.C (removeRow): add comment. Should other refresh_?? vars be
10363 * text.C (drawInset): Turned out I didn't know enough about how
10364 rebreaking worked. This fixes most of the redraw problems. I see
10365 an occasional cursor trail when a line is broken now and the cursor
10366 placement can seem out by a few pixels also after a rebreak.
10368 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10370 * buffer.C (parseSingleLyXformat2Token): update because minipage
10371 width is now a LyXLength
10373 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10375 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10378 2002-01-17 Juergen Vigna <jug@sad.it>
10380 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10382 * BufferView2.C (lockInset): call edit() so that theLockingInset()
10383 is set correctly and the inset is updated correctly.
10385 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10387 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10388 the beginning of the loop.
10390 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
10392 * lyxrc.C: improve help for use_scalable_fonts
10394 2002-01-17 Allan Rae <rae@lyx.org>
10396 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10398 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10400 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10401 make sure to set their inset_owner to the right value (bug #171)
10403 2001-12-12 Ben Stanley <bds02@uow.edu.au>
10406 * DepTable.C: Implement mtime checking to reduce time spent doing
10409 2002-01-16 Juergen Vigna <jug@sad.it>
10411 * tabular.C (GetAdditionalHeight): one of error fixed.
10413 * lyxrc.C (output): small fix in writing use_pspell.
10415 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
10417 * sp_base.h: #include LString.h
10419 2002-01-16 Allan Rae <rae@lyx.org>
10421 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
10422 Can someone check this please?
10424 * text.C (drawInset): It was possible that p.row would be removed by
10425 breakAgainOneRow upsetting a few other settings. There may be another
10426 small tweak possible by setting need_break_row = 0 when p.row has been
10427 removed but I don't know enough about the logic here.
10429 2002-01-15 Allan Rae <rae@lyx.org>
10431 * text.C (insertChar): removed conditional truism.
10433 * BufferView2.C (removeAutoInsets): More tweaks.
10434 cur_par_prev could be a stray pointer. Check for trailing empty line
10435 in case last line was cur_par and only had an error inset on it.
10437 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10439 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10442 * vc-backend.C (most methods):
10443 * exporter.C (Export):
10444 * converter.C (convert):
10446 * LyXSendto.C (SendtoApplyCB):
10447 * lyxfunc.C (dispatch):
10451 * lyx_cb.C (AutoSave):
10453 * BufferView_pimpl.C (MenuInsertLyXFile):
10454 * buffer.C (runChktex): use Buffer::filePath().
10456 * buffer.h: rename filename to filename_; rename filepath to
10457 filepath_ and make it private
10458 (filePath): new method
10460 * buffer.C (writeFile): use fileName()
10463 * lyx_main.C (init): fix starting of LyX when the binary is a
10464 link from so,ewhere else.
10466 * minibuffer.C: include <cctype> for isprint
10468 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10470 * buffer.C (parseSingleLyXformat2Token): changes associated with the
10471 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10472 name clash with InsetCollapsable's width function.
10474 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10476 * lastfiles.C: include <iterator>
10478 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10480 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10483 * buffer.C (makeLaTeXFile): ditto.
10484 Also make loop operation more transparent.
10486 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10488 * ToolbarDefaults.C: remove trailing comma closing namespace.
10490 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10492 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10495 * trans.C (Load): comment out unused variable, allowed.
10497 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10499 * minibuffer.[Ch] (append_char): new method to recieve input from the
10500 drop-down completion browser. If a key was pressed, then recieve this
10501 char and append it to the existing string.
10502 (peek_event): modify the positioning data passed to the completion
10503 browser so that it can be placed above the minibuffer rather than below.
10504 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10506 * LyXAction.C (init): alloe error-next for readonly documents.
10508 * BufferView2.C (ChangeRefsIfUnique): use standard version of
10511 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10513 * bufferlist.C (readFile): create the buffer _after_ checking that
10516 * lyxfunc.C (verboseDispatch): fix handling of arguments
10518 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10520 * lyxrc.C: use string::erase() instead of initializing to "".
10523 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10525 * BufferView_pimpl.h:
10526 * BufferView_pimpl.C:
10529 * text2.C: tell X when we have made a selection for copying
10531 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10533 * BufferView_pimpl.C (MenuInsertLyXFile):
10534 * lyxfunc.C (menuNew):
10536 (doImport): add shortcuts to directory buttons
10538 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10541 * lyxfunc.C (setStatusMessage):
10542 (getStatusMessage): new methods
10543 (getStatus):use setStatusMessage instead of setErrorMessage
10544 (dispatch): when function is disabled, set error message here
10545 [instead of in getStatus previously]
10547 * BufferView_pimpl.C (workAreaButtonRelease): update
10548 toolbar/menubar here too.
10550 2002-01-13 Allan Rae <rae@lyx.org>
10552 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10553 Now seems indestructible. Remaining task is to audit all other
10554 code affected by deleteEmptyParagraphMechanism. One small quirk
10555 left is that an empty document with an error in the preamble can
10556 be made to report an error but no error box appears. I don't know
10558 (removeAutoInsets): Improved comments.
10560 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10563 * Thesaurus.C: update for Aiksaurus 0.14
10565 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10567 * text2.C (firstParagraph): removed member function, all uses
10568 replaces with ownerParagraph
10569 (redoParagraphs): here
10570 (updateInset): here
10571 (toggleAppendix): here
10572 * BufferView2.C (insertErrors): here
10573 (setCursorFromRow): here
10575 2002-01-13 Allan Rae <rae@lyx.org>
10577 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10578 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10579 There is still a way to segfault this although you may have to do this
10580 multiple times: Have an InsetERT with an unknown command in it.
10581 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10582 <down-arrow>, <Enter> again, View->DVI, BANG!
10584 * text2.C (setCursor):
10585 (deleteEmptyParagraphMechanism):
10586 * lyxtext.h (setCursor):
10587 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10588 Making use of the return value may help fix other bugs.
10590 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10592 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10594 * LyXView.C (updateMenubar): call MenuBar::update here
10595 (updateToolbar): but not here
10596 (showState): do not update toolbar/menubar
10598 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10599 should need to care about that.
10601 * lyxfunc.C (verboseDispatch): simplify a bit
10602 (getStatus): have a version which takes a pseudoaction, and
10603 another which requires a (kb_action,string).
10605 * LyXAction.C (retrieveActionArg): make it work also when action
10606 is not a pseudo-action.
10607 (getActionName): simplify a bit
10610 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10612 * lyxfunc.C (verboseDispatch): new families of methods with
10613 several ways to specify a command and a bool to indicate whether
10614 the command name and shortcut should be displayed in minibuffer
10615 (eventually, we could extend that to a finer bitmask like
10616 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10617 (dispatch): the pristine dispatch command which just, well,
10618 dispatchs! Note it still sets its result to minibuffer; I'm not
10621 * lyxfunc.h: remove setHintMessage
10623 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10625 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10627 * BufferView_pimpl.C (specialChar): delete new inset if we have
10628 not been able to insert it.
10630 * kbmap.C: revert to using int instead of kb_action, since all we
10631 are dealing with is pseudo-actions.
10633 * LyXAction.C (searchActionArg): change to return int instead of
10634 kb_action, since the result is a pseudoaction.
10636 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
10638 * buffer.C (insertErtContents): Fix (partially) the font bug.
10640 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10642 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10643 as the other one is broken on my machine!
10645 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
10648 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10650 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
10652 * lyxrc.[Ch]: change names and descriptions of popup font variables to
10653 reflect their actual use. Provide compatibility code for older lyxrc
10656 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10658 change names of popup font variables in line with the changes to lyxrc.C
10660 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10662 * buffer.C (asciiParagraph): avoid outputing a word twice after
10665 * lyxrc.C (getDescription): document that document_path and
10666 template_path can be empty.
10668 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10670 * LaTeXFeatures.C (getMacros):
10671 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10673 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10675 * LaTeXFeatures.C (useFloat): require "float" here instead of in
10677 (getPackages): rename feature "floats" to "float". Use an array to
10678 iterate over 'simple' features (i.e. just a \usepackage). Add
10679 handling of "amsmath" (renamed from "amsstyle").
10681 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
10683 * LaTeXFeatures.C (require): Prevent duplicate entries in the
10686 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
10688 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10689 FuncStaus::FuncStatus & FuncStaus::some_method().
10691 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
10693 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10694 of the func_satus stuff. Edited and massaged in various ways by
10697 * lyxfunc.C (getStatus): use FuncStatus
10699 2002-01-08 Juergen Vigna <jug@sad.it>
10701 * text.C (nextBreakPoint): use function Inset::isChar().
10703 * paragraph.C (TeXOnePar): use function
10704 Inset::forceDefaultParagraphs.
10706 * buffer.C (latexParagraphs): use function
10707 Inset::forceDefaultParagraphs.
10709 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10711 * lyx_gui.C (init): set the style of the menu popups to
10712 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10714 2002-01-07 Juergen Vigna <jug@sad.it>
10716 * text.C (setHeightOfRow): small fix
10717 (prepareToPrint): don't look at alignment if we don't have the place
10720 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10722 * box.C: New file. Move the Box methods and functions out of box.h,
10723 following Lars' suggestion.
10725 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10727 * box.h: #include "support/LOstream.h", needed for inlined function.
10730 * lyxtextclasslist.C: added some using std declarations.
10732 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
10734 * box.h: make signed dimensions to allow insets wider than
10735 the screen (bug #162)
10737 * BufferView_pimpl.C: add some insetHit debug
10739 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
10741 * vc-backend.C: add FIXME
10743 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10745 * lyxfunc.C (getStatus): enable code for showing math font status
10748 2002-01-07 Juergen Vigna <jug@sad.it>
10750 * text.C (nextBreakPoint): removed debug output not needed anymore.
10752 2002-01-06 Juergen Vigna <jug@sad.it>
10754 * text.C (nextBreakPoint): fixed up this function we had this bug
10755 since ever but now hopefully we break row better.
10756 (insertChar): we have to check if an inset is the next char as it
10757 could now happen that a large inset is causing a break.
10759 2002-01-05 Juergen Vigna <jug@sad.it>
10761 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10762 if it doesn't like to be drawed.
10764 2002-01-04 Juergen Vigna <jug@sad.it>
10766 * BufferView2.C (lockInset): forgot to set a cursor.
10768 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10770 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
10772 * FormMathsPanel.C:
10775 * form_maths_panel.C:
10776 * form_maths_panel.h:
10777 * form_maths_panel.fd: implemented sub- and super- buttons in math
10780 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10781 (or ^ space) to be used as in TeX (req'd by André).
10783 * lyxfunc.C: Allow ^ and _ again to be used both as
10784 super/subscript (mathed) and as themselves (in text).
10786 2002-01-03 Allan Rae <rae@lyx.org>
10788 * LyXView.C (updateWindowTitle): Setup a short icon title of either
10789 "LyX" or the filename of the current buffer if it has one. This is a
10790 modified form of John Levon's patch.
10792 * XFormsView.C (setWindowTitle): also set icon title.
10794 * LyXView.h (setWindowTitle): signature changed.
10795 * XFormsView.h (setWindowTitle): ditto.
10797 2002-01-02 Juergen Vigna <jug@sad.it>
10799 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10801 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10803 * screen.C (topCursorVisible): introduce a temp var for
10804 text->cursor.row(), handle the case where this row is null. (kindo
10807 * text2.C (setCursor): add a couple of asserts.
10809 * paragraph.h (inset_iterator): add -> operator
10811 * paragraph.[Ch] (autoDeleteInsets): remove member function
10813 * BufferView2.C (removeAutoInsets): rewrite to handle the old
10814 cursor pos correctly and handle inset deletion by itself.
10815 (insertErrors): move iterator declaration out of for expression
10817 * lyxtextclass.C: add <algorithm>
10819 * Makefile.am: added the new files to sources, removed layout.C
10821 * layout.C: removed file
10823 * layout.h: remove LYX_DUMMY_LAYOUT
10825 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10829 * lyxtextclass.[Ch]:
10830 * lyxtextclasslist.[Ch]: new files
10832 * include order changes to a lot of files, also changes because of
10835 2001-12-27 Juergen Vigna <jug@sad.it>
10837 * buffer.C (asciiParagraph): more fixes.
10839 * tabular.C (ascii): make ascii export support export of only the
10840 data separated by a column-delimiter.
10841 (ascii): better support for ascii export.
10843 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10845 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10847 * tabular_funcs.C: use a "using std::getline" instead of the
10848 previous fix from Angus (necessary for cxx + lyxstring)
10850 2001-12-24 Juergen Vigna <jug@sad.it>
10852 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10854 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10855 problems. First check a minipage also if we have some ert-contents
10856 (not only on par->size(), second set the right depth of the paragraph
10857 on the relink to the root-paragraph-list!
10859 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10860 which then did not anymore update the main paragraphs on undo/redo!
10862 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10864 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10865 code. Support all font-changing funcs (even those which are not in
10866 menu currently). Support for reporting font settings in
10867 mathed (disabled until Andre provides a function on mathed's side).
10869 * func_status.h (toggle): small helper function to set toggle
10872 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
10874 * tabular_funcs.C: getline -> std::getline
10876 2001-12-21 Juergen Vigna <jug@sad.it>
10878 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10879 accessed and could be 0 (I couldn't generate this but it seems
10882 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10884 * tabular_funcs.C: add LIstream.h, move write_attribute to..
10885 * tabular_funcs.h: here and include iosfwd
10887 2001-12-20 Juergen Vigna <jug@sad.it>
10889 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10890 inside inset but undo_par was.
10892 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10894 * Thesaurus.C: always include <config.h> in sources.
10898 * box.h: do not include <config.h> in header files
10900 * text.C (paintLastRow): remove unused variable
10902 * text.C (transformChar):
10904 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10906 * Painter.C (text):
10907 * font.C (width): rewrite to use uppercase() instead of
10910 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10912 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
10914 * lyxfind.C: clean up of find failure position change
10916 2001-12-20 Juergen Vigna <jug@sad.it>
10918 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10920 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10921 (TeXRow): added to LaTeX a single tabular row.
10922 (TeXLongtableHeaderFooter): added to output LT-h/f data.
10923 (Latex): simplified and finally good LT-h/f support.
10924 (various_functions): just small adaptions for LT-h/f support.
10926 * tabular_funcs.[hC]: added and moved here all not classfunctions
10929 2001-12-19 Juergen Vigna <jug@sad.it>
10931 * tabular.[Ch]: better support for longtabular options (not finished
10934 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10936 * text.C (paintLastRow): use the label font instead of the font of
10937 the last character to compute the size of *_BOX. This makes more
10938 sense and avoids a crash with empty paragraphs.
10939 Use Painter::rectangle to draw EMPTY_BOX.
10941 2001-12-19 Juergen Vigna <jug@sad.it>
10943 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10944 the paragraphs if the replaced paragraph is not the first one!
10945 Tried to delete not used paragraphs but does not work yet so for
10946 now it's inside #ifdef's and by default off!
10948 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10950 * MenuBackend.C: include "lyx_main.h" instead of declaring
10951 lastfiles (actually was declared as LastFiles* instead of a
10954 2001-12-17 Juergen Vigna <jug@sad.it>
10956 * tabular.C (AppendColumn): applied John's fix
10958 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
10962 * BufferView_pimpl.h:
10963 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10966 * box.h: new start of class for above
10968 * lyxfunc.C: ignore space-only minibuffer dispatches.
10969 Show the command name when it doesn't exist
10971 * minibuffer.C: don't add empty lines to the history
10973 * minibuffer.C: add a space on dropdown completion
10975 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
10977 * text.C: fix line above/below drawing in insets
10979 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10981 * lyxlength.C (LyXLength): Initialize private variables.
10983 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
10985 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10986 when inserting error insets.
10988 2001-12-13 Juergen Vigna <jug@sad.it>
10990 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10991 actually sometimes the before-paragraph.
10992 (setUndo): don't clear the redostack if we're not actually undoing!
10994 2001-12-06 Juergen Vigna <jug@sad.it>
10996 * undo_funcs.C (textHandleUndo): well after John's hint I got here
10997 and fixed redoing of main paragraph, so we can use it now ;)
10999 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11001 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11003 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11006 2001-12-13 André Pönitz <poenitz@gmx.net>
11009 * undo_func.C: minor cleanup
11011 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11013 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11014 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11015 font in urw-fonts package which is marked as -urw-fontspecific and
11016 does not work (incidentally, changing the encoding in the
11017 fonts.dir of this package to -adobe-fontspecific fixes the
11020 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11021 is a crash when undoing first paragraph (Juergen, please take a
11022 look). THis does not mean the undo fix is wrong, just that it
11025 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11026 the (Paragraph*) version when needed instead of duplicating the
11029 * text.C (workWidth): use Inset::parOwner to find out where the
11030 inset has been inserted. This is a huge performance gain for large
11031 documents with lots of insets. If Inset::parOwner is not set, fall
11032 back on the brute force method
11034 * paragraph_pimpl.C (insertInset):
11035 * paragraph.C (Paragraph):
11036 (cutIntoMinibuffer): set parOwner of insets when
11037 inserting/removing them
11039 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11041 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
11047 * mathed/formulabase.C:
11048 * mathed/math_cursor.[Ch]:
11049 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11052 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11054 * lyxlength.[Ch] (operator!=): new function
11056 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11058 * text.C (workWidth): use Inset::parOwner to find out where the
11059 inset has been inserted. This is a huge performance gain for large
11060 documents with lots of insets. If Inset::parOwner is not set, fall
11061 back on the brute force method
11063 * paragraph_pimpl.C (insertInset):
11064 * paragraph.C (Paragraph):
11065 (cutIntoMinibuffer): set parOwner of insets when
11066 inserting/removing them
11068 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11070 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11072 * tabular-old.C (getTokenValue):
11073 * tabular.C (getTokenValue):
11074 (write_attribute): new versions for LyXLength
11075 (everywhere): adjust the use of widths
11077 * tabular.h: change the type of widths from string to LyXLength
11079 2001-12-11 Ben Stanley <bds02@uow.edu.au>
11081 * paragraph.C: fixed missing line number count when exporting
11082 Environments to LaTeX file
11084 * buffer.C: added informational message for checking line numbers.
11086 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11088 * text2.C (deleteEmptyParagraphMechanism): if there is only one
11089 paragraph, do the 'double space' part, but not the 'empty
11092 * text.C (workWidth): small optimization
11093 (getLengthMarkerHeight): use minimal size for negative lengths.
11095 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
11097 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11099 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11101 2001-12-11 André Pönitz <poenitz@gmx.net>
11104 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11106 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11108 * text2.C: keep selection on a setFont()
11110 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11112 * lyx_cb.C: another bv->text misuse, from insert label
11114 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11117 * kbsequence.C: re-instate nmodifier mask
11119 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
11121 * lyx_main.h: make lyxGUI private.
11123 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11125 * lyxfind.C: place the cursor correctly on failed search
11127 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11129 * text.C (getLengthMarkerHeight): for small heights, the arrows
11130 are not always on top/bottom of the text
11131 (drawLengthMarker): smaller arrows; take the left margin in
11132 account; draw also vfills.
11134 (paintLastRow): remove special code for vfill and standard spaces,
11135 since everything is handled in drawLengthMarker now.
11137 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11139 * buffer.C (insertErtContents): try to handle font and language
11140 interaction a bit better.g
11142 * ColorHandler.C (updateColor): change the hash to cover the whole
11143 LColor enum, ws cleanup
11144 (getGCLinepars): ditto
11145 (getGCLinepars): only lookup in the linecache once.
11147 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
11149 * iterators.C (operator++): Make the iterator more robust
11151 * BufferView2.C (removeAutoInsets): Use paragraph iterators
11153 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11155 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11158 * text.C: better added space drawing
11160 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11163 * BufferView2.C: fix layout combo update on inset unlock
11165 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11167 * Makefile.am: don't compile unused files
11169 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11173 * LyXAction.C: remove old LFUN_LAYOUTNO
11175 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11177 * paragraph_pimpl.h:
11178 * paragraph_pimpl.C: isTextAt() doesn't need font param
11180 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11183 * lyxlex.C: little cleanup
11185 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11187 * BufferView_pimpl.C: fix insertAscii for insets
11189 2001-12-05 Juergen Vigna <jug@sad.it>
11191 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11192 set the right font on the "multi" paragraph paste!
11194 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11200 * lyxlength.C: remove out-commented code.
11202 * BufferView_pimpl:
11216 * vc-backend.C: change "while(" to "while ("
11218 * lyxlength.[Ch]: add zero function to check if length is zero or
11220 * lyxgluelength.C: use it
11222 2001-12-05 Allan Rae <rae@lyx.org>
11224 * lyxlength.C: Attempted a fix for the abs(int) header selection.
11225 Works for 2.95.3, from what I understand of Garst's reports this should
11226 work for other g++ versions. We're screwed if the abs(int) definition
11227 changed between bugfix releases of gcc.
11229 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11231 * text.C: fix chapter label offset !
11233 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11236 * text.C: fix hfill at end of line, clean up
11238 2001-12-04 Juergen Vigna <jug@sad.it>
11240 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11241 that we force an update of the inset and it's owners if neccessary.
11243 2001-12-03 Juergen Vigna <jug@sad.it>
11245 * text.C (rowLast): simplified code
11247 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11249 * lyxfunc.C: fix show options on timeout
11251 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11253 * screen.C (topCursorVisible): scroll half a page when the cursor
11254 reached top of bottom of screen
11256 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
11258 * minibuffer.C: deactivate on loss of focus
11260 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11262 * vspace.[Ch] (operator!=): add operator.
11264 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
11266 * BufferView_pimpl.C: refuse to open an inset when
11267 there's a selection.
11269 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
11271 * BufferView_pimpl.C: allow to click on RHS of full row insets
11273 2001-11-30 Juergen Vigna <jug@sad.it>
11275 * tabular.C (LyXTabular): add a same_id to set the same id's in the
11276 insets for undo reasons.
11278 2001-11-28 André Pönitz <poenitz@gmx.net>
11280 * vspace.[Ch]: cosmetical changes
11282 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11292 * kbsequence.C: part re-write of old kb code
11295 * WorkArea.C: remove Lgb_bug_find_hack
11297 2001-11-30 José Matos <jamatos@fep.up.pt>
11299 * buffer.C (makeDocBookFile): add a comment to point a hack.
11300 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11301 Fixed a double write of labels.
11303 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11306 * LaTeX.h Fixed bug in LaTeX class where it would not
11307 re-run latex if no depfiles were changed, but the .dvi was removed.
11309 2001-11-28 André Pönitz <poenitz@gmx.net>
11311 * all the files from the change on 2001/11/26:
11312 use lyx::layout_type instead of LyXTextClass::size_type
11313 use lyx::textclass_type instead of LyXTextClassList::size_type
11315 2001-11-29 Juergen Vigna <jug@sad.it>
11317 * text.C: added support for paragraph::isFreeSpacing()
11319 * buffer.C: same as above
11321 * paragraph.h: inserted isFreeSpacing() function to enable
11322 FreeSpacing inside InsetERT.
11324 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11325 of the paragraph's in the cut/copy buffer to 0!
11327 * text2.C (removeRow): remove the assert as it can!
11329 * lyxtext.h: added helper function firstRow returning firstrow and
11330 made firstrow private again.
11332 * BufferView2.C (lockInset): don't relock if we're already locked!
11334 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11335 the only paragraph.
11336 (removeRow): added Assert::(firstrow)
11338 * debug.C: forgot to add INSETTEXT here.
11340 2001-11-28 Juergen Vigna <jug@sad.it>
11342 * sp_spell.C (initialize): changed error text to more general
11343 spellchecker command use (not only ispell!)
11345 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11347 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11349 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11351 * vspace.C: initialise lyxgluelength on failure
11353 2001-11-28 Allan Rae <rae@lyx.org>
11355 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11356 declaration & definition that looks like a function declaration.
11358 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11360 * BufferView2.C (copy):
11361 (copyEnvironment): do not clear the selection when doing a copy.
11363 * text.C (paintFirstRow): compilation fix
11365 2001-11-27 Ben Stanley <bds02@uow.edu.au>
11367 * tabular.C (Latex): correct line count when writing latex.
11369 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
11371 * paragraph_pimpl.h:
11372 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11375 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11379 * LColor.C: change vfillline->added_space
11381 * text.C: add markers and text for added space
11383 * vspace.C: fix comment
11385 2001-11-28 André Pönitz <poenitz@gmx.net>
11387 * paragraph.C: whitespace changes
11388 * all the other files from the change on 2001/11/26:
11389 change *::pos_type into lyx::pos_type
11391 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
11393 * buffer.C (parseSingleLyXformat2Token): Set the language to the
11394 language of the document when inserting error insets.
11396 2001-11-26 André Pönitz <poenitz@gmx.net>
11398 * BufferView_pimpl.[Ch]:
11406 * paragraph_pimpl.[Ch]:
11409 * text2.C: reduce header dependencies, introduce type for positions
11411 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11413 * <various>: change to use Alert.h
11415 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
11417 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11418 when encountering an unknown token.
11419 (readLyXformat2): Show an error message if there were unknown tokens.
11421 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
11424 * BufferView_pimpl.C:
11428 * text2.C: use par->isInset()
11430 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11432 * paragraph_pimpl.h:
11433 * paragraph_pimpl.C: cleanup
11435 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11437 * text2.C (removeRow):
11438 * text.C (setHeightOfRow): remove useless (and costly) call to
11441 2001-11-20 Allan Rae <rae@lyx.org>
11443 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11444 Now need Inset*::checkInsertChar() to return true for appropriate
11445 cases so that the characters in the minibuffer will actually be
11448 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11450 * text.C: change the order of the includes.
11451 (workWidth): initialize it at once.
11452 (workWidth): make maxw unsigned
11453 (setHeightOfRow): remove unused variable (inset)
11454 (selectSelectedWord): remove unused variable (inset)
11455 (paintRowText): fix drawing of hfill characters, and clean up a bit.
11457 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11459 * lyxserver.C (emergencyCleanup): do not try to close pipes if
11460 server is not running.
11462 (closeConnection): add debug info when server is disabled.
11464 * ColorHandler.C (getGCForeground): send debug message to GUI
11467 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11469 * kbmap.C (bind): modify because return conventions of
11470 kb_sequence::parse have changed.
11472 * kbsequence.C (parse): only ignore spaces and not any stupid
11473 control character. This avoids tests like s[i] <= ' ', which are
11474 guaranteed to fail with 8bit characters and signed chars.
11475 Change return code to string::npos when there have been no error
11476 (0 was a bad idea when error is at first character)
11478 2001-11-14 José Matos <jamatos@fep.up.pt>
11481 * buffer.C (simpleDocBookOnePar): removed unused argument.
11483 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11485 * text.C (selectNextWordToSpellcheck): do not test explicitely for
11486 insets which are part of a word. Paragraph::isLetter takes care of
11487 that now. Use Paragraph::isInset to identify insets.
11488 (selectSelectedWord): do not test for hyphenation break.
11490 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11491 that protected spaces are considered as spaces.
11493 * paragraph.C (isLetter): cleanup the code for ispell extras; use
11496 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
11499 * lyxserver.C: fix it. and small cleanup.
11501 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11503 * BufferView_pimpl.C: use inline helpers
11506 * LaTeXFeatures.C: fix typos
11509 * Spacing.C: move spacing_string into class
11511 * ToolbarDefaults.C: move stuff into namespace anon
11513 * layout.h: update enum
11515 * lyxfunc.C: use better debug
11517 * minibuffer.h: fix typo
11521 * WorkArea.C: add and use Debug::WORKAREA
11525 * text2.C: code re-organisation, inline helpers
11527 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
11529 * Layout.C: replaced a few cases of std::vector.size() == 0 with
11530 std::vector.empty().
11532 2001-11-09 Allan Rae <rae@lyx.org>
11534 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11535 '\n's after tables. Tabular and ERT inset work now makes this no
11538 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11541 * minibuffer.C: fix crash, improve drop-down completion
11543 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11546 * lyxserver.C: invalidate fd's when doing endPipe()
11548 2001-11-08 José Matos <jamatos@fep.up.pt>
11550 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11551 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11554 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11556 2001-11-07 José Matos <jamatos@fep.up.pt>
11559 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11562 * buffer.C (sgmlOpenTag):
11563 * buffer.C (sgmlCloseTag): removed debug info.
11565 * buffer.h (sgmlOpenTag):
11566 * buffer.h (sgmlCloseTag): made public.
11568 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11570 * buffer.C (saveParamsAsDefaults):
11571 * lyx_cb.C (MenuLayoutSave): remove
11573 * LyXAction.C (init):
11575 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11577 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11579 * buffer.C (setPaperStuff): removed from here...
11581 * bufferparams.C (setPaperStuff): ... and moved there.
11583 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11587 * XFormsView.C: add support for drop-down completion
11589 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11591 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11594 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11596 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11599 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11601 * lyx_main.C: change ref to known bugs
11603 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11605 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11606 to work around older babel problems.
11608 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11610 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11612 2001-10-24 Juergen Vigna <jug@sad.it>
11614 * tabular-old.C (ReadOld): below variable changes reflected.
11616 * tabular.[Ch]: added ltType struct for longtable header/footer
11617 defines and changed all instances where they are used. Added
11618 future support for double top/bottom rows.
11620 2001-10-24 José Matos <jamatos@fep.up.pt>
11622 * buffer.h (docbookHandleCaption):
11623 * buffer.C (docbookHandleCaption): removed unused function.
11624 (makeDocBookFile): moved docbook supported version to v4.1.
11626 2001-10-24 José Matos <jamatos@fep.up.pt>
11629 * tabular.C (docbookRow): new function to export docbook code of a row.
11630 (DocBook): now honors the longtable flags.
11632 2001-10-23 José Matos <jamatos@fep.up.pt>
11635 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11636 of the lyx defined sgml entities used in a docbook/linuxdoc document.
11638 * buffer.C (makeLinuxDocFile):
11639 (makeDocBookFile): reworked the preamble, more clean, and with
11640 support for lyx defined entities. Changed the document declaration
11641 to be more XML friendly.
11643 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11644 if we need to output XML that should be done with a filter.
11646 2001-10-22 Juergen Vigna <jug@sad.it>
11648 * sp_pspell.h (class PSpell): add alive function needed in the
11649 controller to see if the spellchecker could be started.
11651 2001-10-22 Juergen Vigna <jug@sad.it>
11653 * buffer.C (insertStringAsLines): modify the font for inserting
11654 chars in certain conditions by calling checkInsertChar(font).
11656 2001-10-19 Juergen Vigna <jug@sad.it>
11658 * text.C (workWidth): use getRow instead of wrong algorithm.
11659 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11661 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
11666 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11668 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11670 * text.C (workWidth): do not search for the exact row when
11671 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11672 optimization for big documents.
11674 2001-10-18 Juergen Vigna <jug@sad.it>
11676 * text.C (workWidth): new function with added Inset * parameter.
11678 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11680 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11682 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11683 change return type of getColumnNearX.
11686 * text.C (changeRegionCase): use uppercase/lowercase instead of
11689 (rightMargin): simplify code by factoring out the uses of
11694 (appendParagraph): use Paragraph::size_type
11696 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11698 * vspace.C (asLatexString): add a missing break
11700 2001-10-15 Herbert Voss <voss@perce.de>
11702 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11704 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11706 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11709 2001-10-10 André Pönitz <poenitz@gmx.net>
11711 * lyxfunc.C: removed greek_kb_flag.
11713 2001-10-10 Herbert Voss <voss@perce.de>
11715 * lyx_main.C: delete global string help_lyxdir.
11717 2001-10-09 Herbert Voss <voss@perce.de>
11719 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11721 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11723 * lyx_main.C: added global string help_lyxdir.
11725 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11727 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
11729 * lyxrc.C (set_font_norm_type): support iso8859-4
11731 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
11733 * LaTeX.C (deplog): add another regex for MikTeX
11735 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
11737 * lyxrc.C (set_font_norm_type): support iso8859-3
11739 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11741 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11743 * LaTeXFeatures.C: remove special case of french and index
11745 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11746 before \begin{document}). This solves several incompatibilities.
11748 2001-10-03 Garst Reese <reese@isn.net>
11750 * lyx_cb.C: change CheckTex error msg.
11752 2001-10-03 José Matos <jamatos@fep.up.pt>
11754 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11756 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11758 * .cvsignore: update
11760 * lyx_main.C (commandLineVersionInfo): use new style version info.
11762 * buffer.C (writeFile):
11764 (makeLinuxDocFile):
11765 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11767 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11769 * version.h: update to use stuff in version.C
11771 * version.C.in: new file. Contains version information determined
11772 at compile time. This is a merging of version.h and
11775 2001-10-03 Juergen Vigna <jug@sad.it>
11777 * BufferView_pimpl.C (update): don't change "dirty" status in
11780 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
11782 * WorkArea.C (c-tor): re-position version string slightly.
11784 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
11786 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11787 revert to previous code.
11789 WorkArea.[Ch]: (show, destroySplash): methods removed.
11791 WorkArea.C: rework code so that it's an amalgam of the codes before and
11792 after the splash screen was moved to WorkArea.
11794 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11797 * vspace.C (inPixels):
11800 * buffer.C (insertStringAsLines):
11801 (asciiParagraph): fix types to be large enough
11803 * lyxlex_pimpl.h: change member status from short to int
11805 * layout.h: fix type of endlabeltype
11808 * kbsequence.C (parse): change return type to string::size_type
11810 * LaTeX.C (updateBibtexDependencies): comment out unneeded
11813 * Bullet.C (bulletSize):
11814 (bulletEntry): do not use short ints as parameters
11816 * BufferView2.C (insertLyXFile): change a char to an int.
11818 * WorkArea.C (WorkArea): remove unneeded floats in computation
11820 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
11822 * buffer.C (asciiParagraph): Treat '\\' as other chars.
11824 * paragraph.C (asString): Do not ignore newline/hfill chars when
11825 copying to the clipboard.
11827 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
11829 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11830 after a multi-line inset.
11832 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
11834 * paragraph.C (validate): Set NeedLyXFootnoteCode
11836 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11838 * lyxfont.C (LyXSizeNames): changed increase-error to increase
11839 and decrease-error to decrease.
11841 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11843 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11844 it more readable (should be equivalent)
11846 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
11848 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11850 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11852 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11853 of a cursor (row, etc.) after a character has been deleted
11854 (deleteEmptyParagraphMechanism): call the method above on _all_
11855 cursors held by the LyXText when a double space has been
11858 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11860 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11862 (resizeCurrentBuff): remove code to destroy the old splash dialog.
11864 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11865 background. Use greyOut() and the new show() methods to toggle between
11866 the foreground and background. Add code to remove the splash after
11867 its initial showing.
11869 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11870 (create_forms): no longer call Dialogs::showSplash.
11872 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11874 * .cvsignore: add version_info.h
11876 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11878 * version_info.h.in: new file
11880 * Makefile.am: add version_info.h.in
11882 * lyx_main.C (commandLineVersionInfo): use version_info defined in
11883 version_info.h instead of VERSION_INFO
11885 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
11887 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11888 The ERT inset now returns string().
11890 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
11892 * lyxtext.h, text.C (selectNextWord): renamed as
11893 selectNextWordToSpellcheck.
11895 * text.C (selectNextWordToSpellcheck): Modified to not select
11896 words inside an ERT inset.
11898 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11900 * lyx_cb.C (MenuLayoutSave): change a bit the question
11902 * sp_base.h: include <sys/types.h>
11904 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
11906 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11908 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
11910 * several files: fix typos in user-visible strings
11912 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11914 * text2.C (pasteSelection): do not set the selection, since it
11915 will be cleared later. Actually, the intent was to fix the way the
11916 selection was set, but I figured rmoving the code was just as good.
11918 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
11920 * FontLoader.C (available): Check if font is available without
11923 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11925 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11927 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
11929 * lyxrc.[Ch]: added display_graphics variable and associated code.
11931 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11933 * bufferparams.C (hasClassDefaults): new method. Returns true if
11934 the buffer parameters correspond to known class defaults
11936 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
11938 * XFormsView.C (show): set minimum size to the main window.
11940 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11942 * text2.C (copySelection):
11944 * lyxfind.C (LyXReplace):
11945 * BufferView_pimpl.C (Dispatch): pass the correct flag to
11946 LyXText::selectionAsString.
11948 * paragraph.C (asString): add "label" argument to the second form
11950 * text2.C (selectionAsString): add "label" argument and pass it to
11951 Paragraph::asString.
11953 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11955 * lyx_main.C (commandLineHelp): remove version information
11957 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
11959 * lyx_main.C: add -version commandline option
11961 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11963 * paragraph.h: make the optional constructor arg required instead.
11964 some modifications to other files because of this.
11966 * minibuffer.C (C_MiniBuffer_peek_event): make it static
11968 * lyxserver.C (C_LyXComm_callback): make it static
11970 * lyx_main.C (error_handler): make it static
11972 * lyx_gui.C (LyX_XErrHandler): make it static
11974 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11976 * WorkArea.C: make the extern "C" methods static.
11978 * Makefile.am (lyx_LDADD): simplify
11980 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11982 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11983 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11985 * LyXAction.C (init):
11986 * lyxfunc.C (dispatch): associated code removal.
11988 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11990 * lyxfont.h (isSymbolFont): shut off warning
11992 * text.C (setHeightOfRow):
11993 (getVisibleRow): fix crash with empty paragraphs which have a
11996 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
11998 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12001 2001-09-04 José Matos <jamatos@fep.up.pt>
12004 * tabular.C (docbook): rename docBook method to docbook.
12006 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12008 * Makefile.am: add dependencies to main.o.
12010 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
12012 * FontLoader.C (available): Return false if !lyxrc.use_gui
12014 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
12016 * FontInfo.C (query):
12017 * converter.C (view):
12018 * importer.C (Import):
12019 * exporter.C (Export): Can not -> cannot.
12021 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
12023 * BufferView_pimpl.C: allow to create index inset even if
12026 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12028 * buffer.C (getLists): replace boost::tie code with an explicit pair
12029 as boost::tie can break some compilers.
12031 * iterators.h: Added a std:: declaration to the return type of
12034 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
12036 * lyxrc.C: add help for view_dvi_paper_option, default to safe
12039 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
12041 * iterators.[Ch]: New files. Provide paragraph iterators.
12043 * buffer.C (changeLanguage): Use paragraph iterators.
12044 (isMultiLingual): ditto
12046 * BufferView2.C (ChangeInsets): Use paragraph iterators.
12048 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
12050 * FontLoader.C: Support for cmr font.
12052 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
12054 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12055 (available): New method.
12057 * FontInfo.C (getFontname): Use scalable fonts even when
12058 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12061 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12063 * converter.C (Formats::view): reverted! Incorrect fix.
12065 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12067 * converter.C (Formats::view): only output the -paper option
12068 if the dvi viewer is xdvi, thereby fixing bug #233429.
12070 2001-08-23 Herbert Voss <voss@perce>
12072 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12074 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
12076 * Spacing.h (Spacing): Set space to Default on in the default
12079 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
12081 * vc-backend.h (RCS::versionString): add RCS to version
12082 (CVS::versionString): add CVS to version
12084 * vc-backend.C (scanMaster): do not add CVS to version.
12085 (scanMaster): do not add RCS to version
12087 * lyxvc.C (versionString): new method
12089 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12091 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12093 * Spacing.C (set): initialize fval
12095 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
12097 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12100 2001-08-16 Juergen Vigna <jug@sad.it>
12102 * lyxfunc.C (dispatch): implemented the new FINISHED states.
12104 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12106 * BufferView_pimpl.C:
12109 * text2.C: setParagraph takes linespacing now
12111 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
12113 * LyxAction.C: add internal LFUN_CITATION_INSERT
12115 * LyXView.C: actually apply fix
12117 * bufferlist.C: fix open non-existent file
12119 * lyxfind.C: fix indentation
12121 * lyxfunc.C: remove unneeded assert, fix typo
12123 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12125 * MenuBackend.C: use "Floatname List"
12127 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
12129 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12130 when converting LaTeX layout to insetERT.
12131 Generate a non-collapsed float when reading old float
12133 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12135 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12138 2001-08-13 Juergen Vigna <jug@sad.it>
12140 * text.C (fill): return 0 instead of 20 as this seems to be the more
12143 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12145 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12148 2001-08-13 Juergen Vigna <jug@sad.it>
12150 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12152 (SearchBackward): comment out the unlocking of the inset_owner this
12153 should not be needed!
12155 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
12157 * Many files: Remove inherit_language, and add latex_language
12159 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12160 collapsible insets.
12162 2001-08-10 Juergen Vigna <jug@sad.it>
12164 * text.C (prepareToPrint): fixed hfill-width in draw!
12166 * BufferView2.C (selectLastWord): save the selection cursor as this
12167 now is cleared in the function LyXText::clearSelection!
12169 2001-08-08 Juergen Vigna <jug@sad.it>
12171 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12172 BACKSPACE type functions.
12174 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12175 is only cutted from the document but not put in the cut-buffer, where
12176 still the old stuff should be.
12178 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12180 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12182 * tabular.C (SetWidthOfCell): fixed special case where the width
12184 (LeftLine): handle '|' in align_special.
12186 (LeftAlreadyDrawed): ditto
12187 (SetWidthOfCell): ditto
12189 2001-08-07 Juergen Vigna <jug@sad.it>
12191 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12193 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12195 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12196 * lyxlex.[hC]: ditto
12198 2001-08-06 Juergen Vigna <jug@sad.it>
12200 * text.C (getVisibleRow): fix up row clearing a bit.
12202 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12204 * minibuffer.C: make sure the X server sees the changes in the input.
12206 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12208 * paragraph.C (getFont): split into...
12209 (getLabelFont): this
12210 (getLayoutFont): and this
12211 * paragraph_pimpl.C (realizeFont): calling this
12213 * text2.C (getFont): split into...
12214 (getLayoutFont): this
12215 (getLabelFont): and this
12216 (realizeFont): all three calling this
12218 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12221 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12223 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12225 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
12227 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12228 layouts from the Quote inset insertion.
12230 2001-08-03 Juergen Vigna <jug@sad.it>
12232 * BufferView_pimpl.C (update): do the fitCursor only at the end!
12234 * screen.C (drawFromTo): don't call fitcursor here and do the loop
12235 only if status not is already CHANGED_IN_DRAW (second level).
12237 * text.C (draw): don't set the need_break_row when inside an
12240 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12242 * buffer.C (parseSingleLyXformat2Token): handle more latex
12245 * bufferview_funcs.[hC]: change function names to
12246 begin with small char, adjust other files.
12248 2001-08-02 André Pönitz <poenitz@gmx.net>
12251 BufferView_pimpl.C: remove broken special code for math-greek
12253 2001-08-02 Juergen Vigna <jug@sad.it>
12255 * BufferView_pimpl.C (update): redone this function so that we
12256 update the text again if there was a CHANGE_IN_DRAW.
12258 * screen.C (cursorToggle): removed LyXText parameter and recoded.
12259 (drawFromTo): added a new internal bool which is used by draw() and
12261 (general): some cursor drawing problems fixed.
12263 2001-08-01 Juergen Vigna <jug@sad.it>
12265 * lyxfind.C (LyXFind): fixed
12266 (SearchForward): ditto
12267 (SearchBackward): ditto
12269 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12270 spurius drawing of the cursor in the main area.
12272 * text2.C (status): small fix which could lead to a segfault!
12273 (clearSelection): remove unneeded BufferView param.
12275 2001-08-01 André Pönitz <poenitz@gmx.net>
12277 * lyxfunc.C: small change due to changed mathed interface
12279 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12281 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12283 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
12285 * lyxfunc.c: fail gracefully if file doesn't exist
12290 * BufferView_pimpl.C: IsDirWriteable() proto changed
12292 * LyXView.C: fix updateWindowTitle() to store the last title
12294 2001-07-31 Juergen Vigna <jug@sad.it>
12296 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12297 the font (wrong since using of Paragraph::highestFontInRange).
12299 * paragraph.C (highestFontInRange): added a default_size parameter.
12301 * text.C (getVisibleRow): minor clear row changes (still not perfect).
12302 (setHeightOfRow): reformat
12304 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12306 * converter.[hC] + affected files: move to (inital-char)lowercase
12309 * ParagraphParameters.C (ParagraphParameters): remove commented code
12311 * PainterBase.[Ch]: remove commented code
12313 * LaTeXFeatures.h: add "bool floats" for float.sty
12315 * LaTeXFeatures.C (LaTeXFeatures): init floats
12316 (require): handle float
12317 (getPackages): do it with floats
12319 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12321 * BufferView_pimpl.C (Dispatch): improve handling of
12322 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12324 * commandtags.h: #include lyxfont.h here temporarily to avoid
12327 * bufferlist.h: include LString.h here.
12329 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12331 * text2.C (getStringToIndex): new method.
12333 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
12335 * *: Reduced header file dependencies all over.
12337 2001-07-30 Baruch Even <baruch@lyx.org>
12339 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12341 2001-07-29 Baruch Even <baruch@lyx.org>
12343 * buffer.C (readInset): Changed GRAPHICS to Graphics.
12345 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12347 * ParameterStruct.h (endif): add a default constructor to make
12348 sure that all variables is initialized.
12350 * ParagraphParameters.C (ParagraphParameters): adjust
12352 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12354 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12355 index; also, check that there is something to index, and that it
12356 does not span over several paragraphs.
12357 (doubleClick): use WHOLE_WORD_STRICT for double click.
12359 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12361 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12364 2001-07-26 Baruch Even <baruch@lyx.org>
12366 * buffer.C (readInset): Changed to call up InsetGraphics when reading
12367 an InsetFig figure, backwards compatible reading of old figure code.
12369 2001-07-27 Juergen Vigna <jug@sad.it>
12371 * text2.C: font.realize function adaption.
12373 * text.C (draw): add a warnings lyxerr text if needed.
12375 * layout.C: font.realize function adaption.
12377 * language.C: add inherit_language and implement it's handlings
12379 * bufferview_funcs.C (StyleReset): remove language parameter from
12380 font creation (should be language_inherit now).
12382 * bufferparams.C (writeFile): handle ignore_language.
12384 * paragraph.C (getFontSettings): the language has to be resolved
12385 otherwise we have problems in LyXFont!
12387 * lyxfont.C (lyxWriteChanges): added document_language parameter
12388 (update): removed unneeded language parameter
12390 * paragraph.C (validate): fixed wrong output of color-package when
12391 using interface colors for certain fonts in certain environments,
12392 which should not seen as that on the final output.
12394 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
12396 * BufferView_pimpl.C:
12401 * LyXAction.C: add thesaurus support
12404 * lyxfind.C: add "once" parameter, for thesaurus, to not
12405 move to the next match
12407 2001-07-26 Juergen Vigna <jug@sad.it>
12409 * lyxfont.C (realize): honor ignore_language too!
12412 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12414 * text.C (draw): one place more for ignore_language to not draw
12417 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
12419 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12421 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12423 * buffer.C (parseSingleLyXformat2Token): a more general fix for
12424 the minipage conversion problem.
12426 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12428 * buffer.C (parseSingleLyXformat2Token): check minipage if we
12431 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12433 * BufferView.h: don't forward declare WorkArea
12435 * BufferView.C: don't include WorkArea.h
12437 2001-07-25 André Pönitz <poenitz@gmx.net>
12441 * lyxfunc.C: new LFUN 'math-space'
12443 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12445 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12447 * text2.C (toggleInset): call open/close
12449 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12451 * lyxfunc.C (dispatch): add debug for the disabled case
12453 * font.C (buttonText): make similar to rectText
12455 * buffer.C (readInset): comment out parsing of insetlist and
12458 * PainterBase.C (rectText): small correction
12460 * BufferView_pimpl.C: comment out insettheorem and insetlist
12461 * LyXAction.C: ditto
12462 * commandtags.h: ditto
12464 2001-07-24 Juergen Vigna <jug@sad.it>
12466 * text.C (draw): honor the ignore_language.
12468 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12470 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12472 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12475 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12477 * lyxtext.h: remove unused (and unimplemented) methods
12479 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12481 * text.C (getVisibleRow): honor background color
12484 * Painter.h: remove default color argument for fillRectangle
12486 * text.C (backgroundColor): new method
12488 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12490 * text.C (getVisibleRow): adjust
12492 * font.[Ch] (rectText): new method, metrics
12493 (buttonText): new method, metrics
12495 * PainterBase.[hC]: make rectText and buttonText always draw and take
12498 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12500 * ToolbarDefaults.C (read):
12501 * MenuBackend.C (read): allow escaping in all strings
12503 * BufferView_pimpl.C (insertAndEditInset): new method.
12504 (Dispatch): use insertAndEditInset whenever appropriate.
12506 * BufferView_pimpl.C (insertNote): removed
12508 * BufferView_pimpl.C (smartQuote): new method, moved from
12509 BufferView; if an insetquote cannot be inserted, insert a '"'
12512 * BufferView2.C: remove insertCorrectQuote();
12514 * lyxfunc.C (getStatus): Add support for all remaingin
12515 inset-insert lfuns.
12517 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12519 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12520 command (necessary to pass " as parameter of self-insert.
12522 * text.C (selectWordWhenUnderCursor):
12523 (selectWord): add word_location parameter
12524 (selectWordWhenUnderCursor): same + remove special code for word
12526 (selectNextWord): use kind() to guess type of insetspecialchar,
12529 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12530 (insertErtContents): create ert insets as collapsed.
12531 (readInset): better compatibility code for Info inset.
12533 2001-07-20 Juergen Vigna <jug@sad.it>
12535 * lyxfunc.C (dispatch): use always LyXFind now!
12537 * text2.C (init): add a reinit flag so that the LyXText can be
12538 reinited instead of deleted and reallocated (used in InsetText).
12540 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12546 2001-07-18 Juergen Vigna <jug@sad.it>
12548 * text.C (selectNextWord): handle insets inside inset by calling
12549 always the bv->text functions so that we can go up the_locking_inset!
12551 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12552 in strange locations when inside an inset!
12554 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12555 handling to include insets.
12557 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12559 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12561 * LyXAction.C (init):
12563 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12564 LIGATURE_BREAK, since the name is so stupid.
12566 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12568 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12571 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12573 * sp_form.[Ch]: remove.
12575 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12577 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12580 * src/buffer.C (readInset): ditto.
12582 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12584 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12585 menuSeparator(), endOfSentenceDot(), ldots() and
12586 hyphenationPoint(), which are therefore removed.
12587 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12589 * LyXAction.C (init):
12590 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12592 * paragraph.C (getWord): removed.
12594 * BufferView_pimpl.C (Dispatch): use last word or selection for
12595 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12597 * lyx_main.C (queryUserLyXDir): do not ask before creating
12598 user_dir, except if it has been named explicitely.
12600 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12602 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12603 a document of zero size.
12605 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12607 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12608 approriately in the c-tor and in require().
12609 (getPackages): output the appropriate LaTeX for natbib support.
12611 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12612 variables "use_natbib" and "use_numerical_citations" when reading the
12614 (readInset): read the various natbib cite commands.
12615 (validate): white-space change.
12617 * bufferparams.[Ch]: new variables "bool use_natbib" and
12618 "bool use_numerical_citations".
12619 (writeFile): output them in the LyX file.
12621 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12623 * lyxfunc.C (getStatus): add support for all the inset insertion
12626 * text2.C (insertInset):
12627 * paragraph.C (insetAllowed):
12628 * BufferView_pimpl.C (insertInset): update to take in account the
12629 renaming of insertInsetAllowed
12631 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12633 * text2.C (getInset): new method. returns inset at cursor position.
12635 * BufferView_pimpl.C (Dispatch): changes because of this.
12637 * LyXAction.C (init): rename open-stuff to inset-toggle.
12639 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12641 * text2.C (toggleInset): renamed from openStuff; use
12644 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
12646 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12648 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12650 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
12652 * buffer.C (readLyXformat2): Add filename to the error dialog
12654 2001-07-18 Juergen Vigna <jug@sad.it>
12656 * tabular.C (GetCellNumber): put an assert here instead of the check!
12658 2001-07-17 Juergen Vigna <jug@sad.it>
12660 * BufferView_pimpl.C (toggleSelection): adapted too.
12662 * text.C (selectNextWord): adapted for use with insets.
12663 (selectSelectedWord): ditto
12665 2001-07-17 Juergen Vigna <jug@sad.it>
12667 * sp_spell.C (PSpell): fix initialitation order.
12669 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12671 * paragraph.C: spacing
12673 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
12675 * sp_spell.C: repair language selection for pspell
12677 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12679 * lyxfunc.h: change more methods to begin with lower char.
12681 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
12683 * buffer.C (parseSingleLyXformat2Token): Generate error insets
12684 for unknown layouts.
12686 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
12688 * buffer.C (readLyXformat2): Generate an error dialog if there are
12691 2001-07-16 Juergen Vigna <jug@sad.it>
12693 * sp_spell.C: always compile ISpell part.
12695 * lyxrc.C: added use_pspell entry and it's handling.
12697 2001-07-13 Juergen Vigna <jug@sad.it>
12699 * sp_spell.C: removed double includes.
12701 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
12703 Consistent use of Lsstream.h:
12704 * Lsstream.h: added using std::stringstream for consistencies sake.
12706 * buffer.C: removed using std::stringstream
12708 * lyxfont.C (stateText):
12709 * paragraph.C (asString):
12710 * text.C (selectNextWord, selectSelectedWord):
12711 * text2.C (setCounter):
12712 * vspace.C (asString, asLatexString):
12713 std::ostringstream -> ostringstream.
12715 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12717 * LyXAction.C: add LFUN_HELP_ABOUTLYX
12718 * commandtags.h: add LFUN_HELP_ABOUTLYX
12719 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12721 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12723 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12725 * lyx_gui_misc.C: remove spellchecker
12726 * lyxfunc.C: showSpellchecker
12728 * sp_ispell.h: added
12729 * sp_pspell.h: added
12730 * sp_spell.C: added
12731 * sp_form.[Ch]: removed
12732 * spellchecker.[Ch]: removed
12734 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
12736 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12738 (simpleTeXSpecialChars): Simply print the input character without
12739 any special translation if pass_thru is set.
12741 * layout.h: Added bool pass_thru to layout class for being able to
12742 implement pass through of a paragraph for Literate Programming.
12744 * layout.C: add LT_PASS_THRU to LayoutTags enum.
12745 * layout.C (LyXLayout): set pass_thru to flase in constructor.
12746 * layout.C (Read): add "passthru" to list of layout tags and add
12747 code to set the pass_thru boolean when it is read.
12749 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12751 * trans_decl.h: remove allowed from KmodInfo
12753 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12754 remove allowed code
12757 * paragraph_pimpl.C (erase): use boost::prior
12759 * Painter.C (text): use data() instead of c_str() when length is
12761 * WorkArea.C (putClipboard): ditto
12762 * font.h (width): ditto
12764 * BufferView2.C: use it-> instead of (*it). for iterators
12766 * paragraph_pimpl.C: ditto
12767 * paragraph.C: ditto
12768 * minibuffer.C: ditto
12769 * language.C: ditto
12771 * encoding.C: ditto
12772 * counters.C: ditto
12773 * converter.C: ditto
12775 * Variables.C: ditto
12776 * TextCache.C: ditto
12777 * MenuBackend.C: ditto
12778 * LyXAction.C: ditto
12780 * FloatList.C: ditto
12781 * DepTable.C: ditto
12782 * ColorHandler.C (LyXColorHandler): ditto
12784 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12786 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12788 * text2.C (openStuff): reintroduce this method (which had been
12789 nuked in NEW_INSETS frenzy).
12791 * lyxfunc.C (Dispatch): when an action has not been handled, use
12792 its name in the error message, not its number.
12794 * paragraph.C (inInset): change method name to begin with lowercase.
12797 * text2.C: updates because of this.
12799 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12801 * ToolbarDefaults.C (add): add spaces in error message
12803 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12805 * buffer.C (readLyXformat2): initialize the ert comp. variables.
12806 (readLyXformat2): rename return_par to first_par, use lyxlex's
12807 pushToken and remove the manual push handling.
12808 (parseSingleLyXformat2Token): add another ert comp. variable:
12809 in_tabular, rename return_par to first_par. handle newlines better
12811 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12813 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12815 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12817 * text2.C (getParFromID): removed
12819 * buffer.C (getParFromID): new method moved form lyxtext.
12820 * BufferView2.C (insertErrors): adjust
12821 (setCursorFromRow): adjust
12822 * BufferView_pimpl.C (restorePosition): adjust
12823 * lyxfunc.C (Dispatch): adjust
12824 * undo_funcs.C (textUndo): adjust
12826 (textHandleUndo): adjust
12827 (textHandleUndo): adjust
12829 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12831 * buffer.C: up' the LYX_FORMAT
12833 * lyxfont.h: turn NO_LATEX on as default
12835 * buffer.C (insertErtContents): new methods of tex style compability.
12836 (parseSingleLyXformat2Token): use it several places.
12837 * tabular.C (OldFormatRead): and here
12839 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12841 * text2.C: remove some commented code.
12844 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12845 * trans.C: changes because of the above.
12847 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
12849 * text2.C (setCounter): Fix counters bug with bibliography layout.
12851 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12853 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12854 own member functions
12855 (simpleTeXSpecialChars): ditto
12857 2001-07-06 Juergen Vigna <jug@sad.it>
12859 * a lot of files: changed the access to LyXText::status and the
12860 call of undo-functions.
12862 * undo.[Ch]: added a inset_id to the undo informations.
12864 * undo_funcs.[Ch]: added and moved here all undo functions.
12866 * lyxtext.h: give the status enum a weight, made status_ a private
12867 variable and made accessor functions for it, removed the whole bunch
12868 of undo-functions as they are now in their own file, make some
12869 functions publically available. Added function ownerParagraph with
12872 * paragraph.[Ch]: added "bool same_ids" to the constructor,
12873 made InInset() a const function, added getParFromID() function.
12875 * buffer.[Ch]: added const version for inset_iterator functions,
12876 added getInsetFromID() function.
12878 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12879 changed undo functions for new version.
12881 2001-07-05 Juergen Vigna <jug@sad.it>
12883 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12884 unknow mechanism does not call the proper constructor but only this
12885 one also if I request the other!?
12887 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12889 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12891 * text2.C (LyXText): use initialization lists.
12893 * lyxtext.h (Selection): initialize set_ and mark_
12894 (init): remove method
12896 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
12898 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12900 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12902 * screen.[Ch]: change method names to begin with lowercase
12904 * BufferView_pimpl.C (updateScrollbar): simplify further and
12905 hopefully make it a bit faster.
12907 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12909 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12910 calling directly xforms functions.
12912 * Painter.C (Painter):
12913 * lyx_cb.C (MenuWrite):
12914 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12917 * lyx_gui.C: remove bogus guiruntime extern declaration.
12919 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12921 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12923 (redoDrawingOfParagraph): ditto
12924 (redoParagraphs): ditto
12925 (cutSelection): don't create a object for CutAndPaste use the
12926 static method directly
12927 (pasteSelection): ditto
12929 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12932 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12934 * modifications to some other files because of this.
12936 * Makefile.am (lyx_SOURCES): add XFormsView
12938 * XFormsView.[Ch]: new files
12940 * LyXView.[Ch]: make LyXView a base class for the gui handling for
12941 the main window. Move the gui dependent stuff to XFormsView
12943 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12945 * tabular.C (GetCellInset): update cur_cell also in the row/col
12946 version of this function.
12948 * lyxfunc.C: no need to include figure_form.h here.
12954 * lyxvc.C: no need to include forms.h here.
12956 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12958 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12960 * lyxfunc.C (Dispatch):
12962 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12963 constructor argument.
12965 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12967 * paragraph.C (Paragraph): dont't clear, and just set layout.
12968 (makeSameLayout): use params's copy contructor.
12970 * ParagraphParameters.[Ch] (makeSame): delete method
12972 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
12974 * Variables.[Ch]: fix indentation, rename set to isSet
12976 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12978 * lyxfunc.C (Dispatch): fix typo
12980 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12982 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12985 * bufferlist.C: include assert.h for emergencyWrite().
12987 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12989 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12990 give up at last (bug #425202) !
12992 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
12998 * spellchecker.C: strip spellchecker options and bring up
12999 preferences tab instead
13001 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13003 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13004 the istringstream constructor
13006 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13008 * paragraph.C (getLayout): fix return value
13010 * paragraph.h: do not declare getLayout as inline.
13012 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13014 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13016 * lyxcursor.h (operator<): new func
13017 (operator>): new func
13018 (operator>=): new func
13019 (operator<=): new func
13021 * text.C (changeCase): use selection.start and selection.end
13022 (changeRegionCase): require from to be <= to. Require par to be a
13025 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13027 2001-06-27 Juergen Vigna <jug@sad.it>
13029 * text.C (cursorLeftOneWord): changed to return the cursor and added
13030 overlay with BufferView * parameter which calls this one.
13032 (selectWord): use new getWord function.
13033 (changeCase): renamed from changeWordCase as and extended to work
13034 also on selections.
13036 * lyxtext.h: added enum word_location
13038 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13039 changeCase as this operates now also on selections.
13041 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
13043 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13045 * many files: send debug output to Debug::INFO instead of
13048 * converter.C (View):
13050 (Move): send debug output to Debug::FILES instead of console.
13052 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
13054 * lyxfunc.C (getStatus): use func_status
13056 * func_status.h: new header, describing the results of
13057 LyXFunc::getStatus;
13059 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13062 2001-06-25 The LyX Project <jug@sad.it>
13064 * buffer.C (sgmlOpenTag):
13066 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
13068 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13070 * text2.C: remove some dead code
13072 * tabular.C (GetCellInset): store the last cell checked (gotten)
13074 * tabular.h: add the helper for the speedup
13076 * lyxtext.h: remove some dead code
13078 2001-06-26 The LyX Project <Asger>
13080 * paragraph.C: Change export to LaTeX of alignment to
13081 \begin{center} and family for better roundtrip work with reLyX.
13083 * Tune the math drawing a bit.
13085 2001-06-25 The LyX Project <Asger>
13087 * LColor.C (LColor): New color for math background. New color
13090 2001-06-25 The LyX Project <jug@sad.it>
13092 * lyxfunc.C (MenuNew): remove extra check for .lyx file
13094 * lyxfunc.C (Open):
13095 * bufferlist.C (newFile): do not restrict to files ending with
13098 * BufferView_pimpl.C (MenuInsertLyXFile):
13100 2001-06-24 The LyX Project <jug@sad.it>
13102 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13105 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13107 * lyxtext.h: rename most methods to begin with a small char.
13108 Lots of changes because of this.
13110 * paragraph.C (Paragraph): do not call fitToSize
13111 (erase): call Pimpl::erase
13112 (insertChar): call Pimpl::insertChar
13113 (insertInset): call Pipl::insertInset
13114 (breakParagraph): do not call fitToSize
13115 (breakParagraphConservative): do not call fitToSize
13116 (fitToSize): remove method
13118 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13120 2001-06-24 The LyX Project <Asger>
13122 * Fix Qt compilation^2
13124 2001-06-24 The LyX Project <jug@sad.it>
13126 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13127 depthHook(getDepth()-1).
13130 * ParagraphParameters.h:
13131 * ParameterStruct.h: change type of depth to unsigned int ==
13132 depth_type. Many adaptations to other files before of that.
13134 2001-06-24 The LyX Project <Asger>
13136 * Fix Qt compilation.
13138 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13140 * paragraph.h: renamed several methods to begin with small letter.
13141 several changes to many parts of the code because of this.
13143 2001-06-23 The LyX Project <jug@sad.it>
13145 * text2.C (InsertStringAsLines): renamed from InsertStringA;
13146 rewritten to discard all double spaces when KeepEmpty is off
13147 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13148 to only handle newlines but not fiddle with spaces and friends.
13150 * lyxfunc.C (MenuNew): when doing 'new from template', use
13151 template_path as default directory
13153 2001-06-23 The LyX Project <Asger>
13155 * Clean-up of header file includes all over
13156 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13158 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13160 * paragraph.h: renamed from lyxparagraph.h
13162 2001-06-23 Asger <lyx@violet.home.sad.it>
13164 * Buffer.h: Removed Buffer::resize
13165 * BufferList.h: Removed BufferList::resize
13166 * LyXView.h: Added LyXView::resize. This way, we will only reflow
13167 the document lazily when we change the width, or the font settings.
13169 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13171 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13173 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13175 * buffer.h: remove out of date comment
13177 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13180 * screen.C: fix "theoretical" GC leak
13182 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13184 * LaTeX.C (scanAuxFile):
13185 (deplog): remove trailing \r when reading stream (useful under
13188 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
13190 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13191 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13192 and BufferView::theLockingInset(Inset*), so should use them and not
13193 access bv_->text->the_locking_inset directly.
13195 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13197 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13200 * tex-defs.h: remove old unused file
13202 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
13204 * BufferView_pimpl.C: fix typo, remove minibuffer message
13205 when buffer has loaded
13207 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13209 * lyxfunc.C (Dispatch): use stringstream
13210 (MenuNew): use stringstream
13211 (Open): use stringstream
13213 * importer.C (Import): use stringstream
13215 * bufferview_funcs.C (CurrentState): use stringstream
13217 * LaTeX.C (run): use stringstream
13219 * BufferView_pimpl.C (savePosition): use stringstream
13220 (restorePosition): use stringstream
13221 (MenuInsertLyXFile): use stringstream
13223 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
13236 * vspace.C: removed // -*- C++ -*- as first line.
13239 * version.h: added // -*- C++ -*- as first line.
13241 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13243 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13245 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13248 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13250 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13253 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13255 * gettext.C: include LString.h even when --disable-nls is on.
13257 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
13259 * converter.h (Get): changed argument type from int to
13260 FormatList::size_type to avoid unnecessary conversion.
13262 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13265 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13267 * gettext.h: include LString.h even when --disable-nls is on.
13269 2001-06-07 Juergen Vigna <jug@sad.it>
13271 * text.C (BreakAgain): subst spaces with tabs.
13273 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13274 (resizeInsetsLyXText): set force on resizeLyXText.
13276 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13278 * gettext.h (gettext_init):
13279 (locale_init): use a real definition instead of a macro
13281 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13283 * Bufferview_pimpl.C:
13285 * LColor.C: further lcolor tidies
13287 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13289 * BufferView_pimpl.C (updateScrollbar): simplify.
13291 * BufferView2.C: don't include insets/insetinfo.h, change
13292 prototype for insertInset and call the Pimpl version. let
13293 updateInset call Pimpl version.
13295 * BufferView.h: move inset_slept to BufferView::Pimpl, move
13296 gotoInset to BufferView::Pimpl
13298 2001-06-01 Juergen Vigna <jug@sad.it>
13300 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13301 inside a LockingInset (is the update needed at all?).
13303 2001-05-31 Juergen Vigna <jug@sad.it>
13305 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13306 here not the old one otherwise how should we compare it afterwards
13309 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13314 * FontInfo.C: bring C functions into global namespace when
13317 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13319 * LString.h: make sure config.h has been loaded before LString.h.
13321 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13322 (one for each char read by EatLine!).
13324 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13327 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13329 * paragraph.C (BreakParagraph): set the inset_owner in the new par
13330 to the same as the par we break from
13332 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
13334 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13336 * MenuBackend.C (expand): also create menu entries for wide
13337 versions of the floats.
13339 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13341 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13343 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13344 frontends/Makefile.am
13350 * tabular.C (getTokenValue): add std::
13352 * tabular-old.C (getTokenValue): add std::
13353 (getTokenValue): ditto
13354 (getTokenValue): ditto
13356 * screen.C (ToggleSelection): adjust
13358 * lyxtext.h: put selection cursors inside a Selection struct.
13360 * lyxfunc.C (moveCursorUpdate): adjust
13362 * lyxfont.C (latexWriteStartChanges): add std::
13364 * lyxfind.C: adjust
13366 * font.h: delete with(char const *, LyXFont const &)
13368 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13370 * FontInfo.C (getFontname): add std::
13372 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13373 (workAreaButtonPress): adjust
13374 (tripleClick): adjust
13376 (moveCursorUpdate): adjust
13379 * BufferView2.C (gotoInset): adjust
13381 2001-05-30 Juergen Vigna <jug@sad.it>
13383 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13384 to check pspell I add this as default as I now have new pspell
13385 libraries and they seem to use this.
13387 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13389 * text2.C (CutSelection): make the cursor valid before the call to
13392 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13394 * kbsequence.C (parse): de-uglify a bit the parsing code, which
13395 relied on 0 terminated strings and other horrors. Bug found due to
13396 the new assert in lyxstring!
13398 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13401 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13403 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13406 * lyxfunc.C (processKeySym): change method of getting to the
13409 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13410 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13411 * BufferView_pimpl.[Ch]: here as private methods.
13413 2001-05-28 Juergen Vigna <jug@sad.it>
13415 * text.C (SetHeightOfRow): added the update() call again as it is
13416 needed to initialize inset dimensions!
13418 2001-05-16 Juergen Vigna <jug@sad.it>
13420 * text2.C (SetCharFont): Add new function with BufferView * and
13421 bool toggleall parameters for setting insets internal fonts.
13422 (SetFont): Freeze the undo as we may change fonts in Insets and
13423 all this change should be inside only one Undo!
13425 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13426 setting font's in insets as for them we have the SetFont function!
13428 2001-05-15 Juergen Vigna <jug@sad.it>
13430 * text2.C (ClearSelection): to be sure we REALLY don't have any
13433 * tabular.C (TeXCellPreamble): fixed the left border problem for
13436 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
13438 * LaTeX.C (deplog): Make sure that the main .tex file is in the
13441 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13443 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13444 LFUN_BREAKPARAGRAPH.
13446 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13447 help test to "internal only", similar for LFUN_INSERT_URL
13449 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13450 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13451 auto_region_delete and deadkeys.
13453 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
13456 * LColor.C: remove some dead entries, tidy a little
13458 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13460 * lyxfunc.C (processKeySym): comment the Escape handling, remove
13462 (Dispatch): implement LFUN_ESCAPE
13464 * commandtags.h: add LFUN_ESCAPE
13466 * LyXAction.C (init): add entry for LFUN_ESCAPE
13468 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13469 Remove commented code.
13470 (insertNote): moved here
13471 (open_new_inset): moved here
13473 * BufferView[2].[Ch]: move insertNote and open_new_inset to
13476 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13478 * kbmap.C (findbinding): clean it up and make it work correctly.
13480 * lyx_main.C (init): do not pass argc and argv as parameters
13482 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
13484 * buffer.C: fix path for OS/2 & Win32
13488 * lyx_main.C: Added os:: class.
13490 * os2_defines.h: update
13492 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13494 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13495 better by trying again with reduced state.
13497 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13499 * lyxrc.C (read): print error about invalid key sequence only when
13500 debugging (because not all latinX keysyms are known to some X
13503 * kbsequence.C (getiso): add a few std:: qualifiers
13504 (getiso): comment out extra return statement.
13506 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
13508 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13510 (Dispatch): enhance the accent inset a bit. (not perfect)
13512 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13514 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13516 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13518 * bufferlist.C (emergencyWrite): fix assert() call
13520 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
13522 * text.C (InsertChar): Added trivial patch to only send the "you
13523 can not do multiple spaces this way" message once during a
13526 2001-05-08 Baruch Even <baruch@lyx.org>
13528 * Makefile.am: Changed order of libraries to get LyX to link properly
13529 with the gnome frontend.
13531 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13533 * LaTeXFeatures.h: add a std:: qualifier
13535 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13537 * paragraph.C (String): use stringstream
13539 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13541 * paragraph.C (writeFile): remove footflag arg
13543 * buffer.C (makeLaTeXFile): use stringstream
13544 (latexParagraphs): remove footnot gurba
13546 * LaTeXFeatures.C (getPackages): use stringstream
13547 (getMacros): likewise
13548 (getTClassPreamble): likewise
13549 (getFloatDefinitions): new method
13551 * paragraph.C (writeFile): reindent
13554 * WorkArea.h: revert the xpos + etc changes.
13556 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13558 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13560 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13561 (pasteSelection): likewise
13562 * text2.C (CreateUndo): likewise
13564 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13566 * minibuffer.C (peek_event): temporarily reduce the functionality
13567 of the minibuffer (to allow args on lfuns)
13569 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13570 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13572 * buffer.C (readInset): add compability reading of old float
13573 lists, add reading of new style float list.
13574 (readInset): avoid reevaluation of inscmd.getCmdName()
13575 (getLists): reindent
13577 * MenuBackend.C (MenuItem): implement parsing of
13578 md_floatlistinsert and md_floatinsert.
13579 (expand::LastFiles): move initalizaton of iterators out of loop,
13580 avoid reevaluation.
13581 (expand::Documents): introduce typdedef vector<string> Strings,
13583 (expand::ExportFormats): introduce typedef vector<Format const *>
13584 Formats, and use it.
13585 (expand): implement FloatListInsert and FloatInsert.
13587 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13588 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13589 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13591 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13593 (Dispatch::LFUN_FLOAT_LIST): implement
13595 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13597 * LaTeX.C (run): Fix problem with --export code.
13599 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13601 * BufferView.[Ch] (workarea): removed.
13602 (getClipboard) new method; wrapper for workarea()->getClipboard()
13604 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13607 * WorkArea.h (width, height, xpos, ypos): These methods all
13608 returned the dimensions of the work_area sub-area of WorkArea,
13609 resulting in a position error if the WorkArea were resized. Now
13610 return the dimensions of the entire WorkArea.
13612 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13614 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13616 * LaTeX.C (deplog): correct the syntax of regex reg1
13618 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13620 * undo.C: remove !NEW_INSETS cruft
13622 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13624 * text2.C: remove !NEW_INSETS cruft
13626 * text.C: remove !NEW_INSETS cruft
13628 * tabular.C: remove !NEW_INSETS cruft
13630 * spellchecker.C: remove !NEW_INSETS cruft
13632 * lyxtext.h: remove !NEW_INSETS cruft
13634 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13636 * lyxfunc.C: remove !NEW_INSETS cruft
13638 * lyxfind.C: remove !NEW_INSETS cruft
13640 * lyx_cb.C: remove !NEW_INSETS cruft
13642 * figureForm.C: remove !NEW_INSETS cruft
13644 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13646 * buffer.[Ch]: remove !NEW_INSETS cruft
13648 * ToolbarDefaults.C: remove !NEW_INSETS cruft
13650 * CutAndPaste.C: remove !NEW_INSETS cruft
13652 * BufferView_pimpl.C: remove !NEW_INSETS cruft
13654 * BufferView2.C: remove !NEW_INSETS cruft
13656 * BufferView.h: remove !NEW_INSETS cruft
13658 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13660 * Lsstream.h: include LString.h before the sstream headers to
13661 fix problem with gcc 2.95.3 and lyxstring
13663 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13665 * lyx_main.C: add using directives when needed for C functions
13666 declared in std:: namespace.
13668 2001-04-27 Juergen Vigna <jug@sad.it>
13670 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13671 (SetHeightOfRow): comment out the update call should not be needed!
13673 2001-04-13 Juergen Vigna <jug@sad.it>
13675 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13676 (LyXTabular): tried to minimize operator= operations (and realized
13677 hopfully Lars wish).
13679 2001-04-27 Juergen Vigna <jug@sad.it>
13681 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13683 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13685 * lyxfunc.C (Dispatch): hack to make listof algorithm work
13687 * buffer.C (readInset): hack to make listof algorithm work
13689 * BufferView_pimpl.C: hack to make listof algorithm work
13691 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13693 * LyXAction.C: removed all !NEW_INSETS cruft
13694 (init): moved lfun_item in method
13696 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13698 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13700 * BufferView2.C (theLockingInset): white space.
13702 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13704 * minibuffer.C: include <iostream>
13706 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13708 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13710 * commandtags.h: add LFUN_TRANSPOSE_CHARS
13712 * text.[Ch] (TransposeChars): new method
13714 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13716 * call message directly through LyXView instead of through LyXFunc
13717 * BufferView2.C: adjust
13718 * BufferView_pimpl.C: adjust
13719 * FontLoader.C: adjust
13721 * bufferview_funcs.C: adjust
13722 * converter.C: adjust
13723 * figureForm.C: adjust
13724 * importer.C: adjust
13726 * lyx_gui_misc.C: adjust
13727 * lyxfunc.C: adjust
13730 + more files in subdirs
13732 * lyxparagraph.h (size): move up int file
13735 * adjust all uses of Assert to lyx::Assert.
13737 * BufferView2.C (ChangeCitationsIfUnique): adjust for
13738 lyxfunctional in namespace lyx
13739 * layout.C (hasLayout): ditto
13742 (delete_layout): ditto
13743 (NumberOfClass): ditto
13744 * converter.C (GetFormat): ditto
13749 * bufferlist.C (getFileNames): ditto
13750 (emergencyWriteAll): ditto
13753 * MenuBackend.C (hasSubmenu): ditto
13756 * BufferView_pimpl.C (getInsetByCode): ditto
13758 2001-04-18 Juergen Vigna <jug@sad.it>
13760 * vspace.C (asLatexString): fixed the 100% problem.
13762 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13764 * lyxfunc.C (Dispatch):
13766 * minibuffer.h: add a few std:: qualifiers
13768 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13770 * minibuffer.[Ch]: reimplement so that commands is initiated and
13771 run from lyxfunc, simplified som handling, and made the completion
13772 and history code for complete. wip.
13774 * lyxfunc.C (processKeySym): call message
13775 (miniDispatch): new temporary method
13776 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13777 (LFUN_MESSAGE): implement
13778 (LFUN_MESSAGE_PUSH): implement
13779 (LFUN_MESSAGE_POP): implement
13780 (initMiniBuffer): the initial/defualt minibuffer message.
13782 * lyxfont.[Ch]: inline some more getters
13784 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13786 * lyx_gui_misc.[Ch] (WriteStatus): remove method
13788 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13789 (AutoSave): use LFUN_MESSAGE
13790 (Reconfigure): ditto
13792 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13794 * figureForm.C: use LFUN_MESSAGE
13796 * converter.C (runLaTeX): use LFUN_MESSAGE
13798 * bufferview_funcs.C: use LFUN_MESSAGE
13800 (changeDepth): ditto
13802 * bufferparams.h: use boost::
13804 * bufferlist.h: inherit privately from noncopyable
13806 * bufferlist.C (loadLyXFile): remove some commented code.
13808 * buffer.C (runChktex): use LFUN_MESSAGE
13810 * ShareContainer.h: inherit privately from noncopyable
13812 * ParagraphParameters.[hC] (depth): inline it.
13814 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13816 (message): new method
13817 (messagePush): ditto
13818 (messagePop): ditto
13819 (show): init minibuffer
13820 (showState): direct call
13822 * LaTeX.[Ch]: inherit privately from noncopyable
13823 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13824 instead of WriteStatus.
13826 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13828 * BufferView_pimpl.C (buffer): don't init minibuffer
13829 (workAreaButtonPress): use LFUN_MESSAGE
13830 (workAreaButtonRelease): ditto
13831 (savePosition): ditto
13832 (restorePosition): ditto
13833 (MenuInsertLyXFile): ditto
13834 (workAreaExpose): don't init minibuffer
13835 (update): remove commented code, simplify
13837 * BufferView2.C (openStuff): use LFUN_MESSAGE
13838 (toggleFloat): ditto
13841 (copyEnvironment): ditto
13842 (pasteEnvironment): ditto
13847 (updateInset): remove some commented code
13849 * lastfiles.h: inherit privately from noncopyable
13852 * lyx_main.h: ditto
13854 * lyxlex_pimpl.h: ditto
13856 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13857 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13858 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13860 * LyXAction.h: inherit privately from noncopyable, add methods
13861 func_begin, func_end, returning iterators to the func map.
13863 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13864 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13865 (func_begin): new method
13866 (func_end): new method
13868 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13870 (copySelection): ditto
13871 (pasteSelection): ditto
13873 * BufferView.C: whitespace change
13874 * BufferView.h: inherit privately from noncopyable
13876 2001-04-16 Allan Rae <rae@lyx.org>
13878 * tabular-old.C (l_getline):
13879 * spellchecker.C (sc_check_word):
13880 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13881 an unrecognised preprocessor directive. So ensure they're wrapped.
13883 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
13885 * src/exporter.C (Export): Give an error message when path to file
13888 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
13890 * LaTeX.C (deplog): Always check that foundfile exists.
13892 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13895 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13897 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13899 * tabular.[Ch] (getLabelList): implement new method
13901 * minibuffer.h: comment ouf setTiimer
13903 * minibuffer.C (ExecutingCB): constify res
13904 (peek_event): constify s
13905 (Set): constify ntext
13906 (Init): constify nicename
13908 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13910 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13911 (savePosition): use two params to Minibuffer::Set
13912 (restorePosition): ditto
13914 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13916 * lyx_main.C: include language.h
13918 * Makefile.am (lyx_main.o): add language.h
13920 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13926 * CutAndPaste.C: include gettext.h
13928 * lyxfont.h: remove old hack with ON and OFF.
13931 * lyxfont.h: do not include language.h...
13936 * bufferview_funcs.C:
13942 * paragraph.C: ... but do it here instead
13944 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13946 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13948 * tabular.C: small reformat
13950 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13953 (BreakParagraph): ditto
13954 (SetOnlyLayout): ditto
13957 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13960 * lastfiles.C: removed most using decl, add std:: where needed
13962 * buffer.C: ws changes
13964 * MenuBackend.C (class compare_format): put into anon namespace
13965 (expand): constify label, names, action, action2
13968 * text.C (SingleWidth): constify font
13969 (IsBoundary): constify rtl2
13970 (GetVisibleRow): constify ww
13972 * LaTeX.C (deplog): constify logfile
13974 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13976 (workAreaExpose): constify widthChange, heightChange
13978 * lyxrow.C (par): moved
13981 * lyxrow.h: as inlines here
13983 * lyxfont.h (shape): moved from lyxfont.C
13984 (emph): moved from lyxfont.C
13986 * lyxfont.C (LyXFont): use initialization list for all
13988 (shape): move to lyxfont.h as inline
13989 (emph): move to lyxfont.h as inline
13992 2001-04-04 Juergen Vigna <jug@sad.it>
13994 * vspace.C: had to include stdio.h for use of sscanf
13996 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
13999 * BufferView_pimpl.h: remove xforms cruft. Both classes are
14000 independent of xforms.
14002 2001-04-02 Juergen Vigna <jug@sad.it>
14004 * spellchecker.C: fixed namespace placing!
14006 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
14008 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14009 the LyXParagraph * is 0.
14011 2001-03-29 Juergen Vigna <jug@sad.it>
14013 * vspace.C: added support for %, c%, p%, l%.
14014 (stringFromUnit): added helper function.
14015 (asLatexString): changed to give right results for the %-values.
14017 * buffer.C: convert the widthp in a width%.
14019 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
14021 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14024 * figureForm.[Ch]: stripped the FD_from_figure manipulation
14025 code out of lux_cb.[Ch], ready for its (imminent?) removal.
14027 * lyx_cb.[Ch]: see above.
14029 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14033 * lyx.[Ch]: replaced by figure_form.[Ch].
14037 * lyxfunc.C: changed headers associated with above changes.
14039 2001-03-27 Juergen Vigna <jug@sad.it>
14041 * BufferView_pimpl.C: set the temporary cursor right!
14043 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
14045 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14047 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
14049 * LString.h: removed "using std::getline"!
14051 * BufferView_pimpl.C (Dispatch): changes due to changes in
14052 InsetInclude::Params.
14054 * buffer.C (tag_name): removed redundant break statements as they were
14055 producing lots of warnings with my compiler.
14057 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14059 * LString.h: add "using std::getline" when using the real <string>.
14061 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
14063 * buffer.C: removed bitset usage.
14064 PAR_TAG moved to an anonymous name space.
14065 (tag_name): new funtion, also in the anonymous namespace.
14066 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14067 (makeDocBookFile): clean code. Completed transition from string arrays
14069 (SimpleDocBookOnePar): code clean.
14071 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14073 * tabular.C: add some comments.
14075 2001-03-22 Juergen Vigna <jug@sad.it>
14077 * buffer.C (parseSingleLyXformat2Token): redone the minipage
14078 compatibility read a bit and fixed bug with minipage in different
14081 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
14083 * buffer.C (pop_tag): removed.
14084 (push_tag): removed.
14085 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14086 array replaced with vector. Added support for CDATA sections.
14087 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14089 (makeDocBookFile): XML conformant declaration of CDATA section,
14090 fixed bug related to <emphasis> in the first paragraph char.
14091 (sgmlOpenTag): exclude empty tags.
14092 (sgmlCloseTag): ditto.
14094 * buffer.h (pop_tag): removed.
14095 (push_tag): removed.
14097 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
14099 * language.h (Languages): added size_type and size().
14101 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14103 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14104 response on compability reading of minipages. One probliem is that
14105 the old usage of minipages was «flertydig»
14107 * several files here and in subdirs: don't use static at file
14108 scope use anon namespaces instead.
14110 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
14112 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14113 LaTeX output. This is necessary for Literate document
14116 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14118 * buffer.C: insert hfill when needed.
14120 * tabular.C (l_getline): use string::erase, small whitespace change.
14122 * BufferView_pimpl.C: try the anon namespace.
14123 * WorkArea.C: ditto
14125 2001-03-16 Juergen Vigna <jug@sad.it>
14127 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14128 otherwise it won't open options-dialogs.
14130 * buffer.C: honor pextraWidth(p) on converting minipages.
14132 * tabular.C (l_getline): changed the functions to strip trailing \r.
14134 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
14136 * BufferView_pimpl.C:
14137 * minibuffer..C: added "using SigC::slot" declaration.
14139 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14141 * lyxlex_pimpl.h: noncopyable is in namespace boost.
14147 * paragraph.C: ditto
14149 * lyxtext.h: NO_PEXTRA
14151 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14153 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14154 * ParameterStruct.h: ditto
14155 * ParagraphParameters.h: ditto
14156 * lyxparagraph.h: ditto
14158 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14160 * buffer.C: add compability for minipage alignment.
14161 (latexParagraphs): remove unwanted pextra check.
14163 * several files: remove CXX_WORKING_NAMESPACES
14165 * buffer.C (pop_tag): tie is in namespace boost
14167 * BufferView.h: noncopyable is in namespace boost
14169 * lyx_main.h: ditto
14172 * lastfiles.h: ditto
14173 * bufferlist.h: ditto
14174 * ShareContainer.h: ditto
14176 * LyXAction.h: ditto
14179 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14181 * Merging changes from BRANCH_MVC back into HEAD.
14183 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14185 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
14187 * BufferView_pimpl.C: change from intl.C
14191 * Makefile.am: move combox.*
14197 * intl.C: remove dialog (covered by prefs)
14199 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14201 * lyxfunc.C (Dispatch): removed redundant break statement.
14203 2001-03-14 Juergen Vigna <jug@sad.it>
14205 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14207 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14209 * buffer.C: add hack to fix compability reading of minipages.
14211 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
14213 * buffer.C (getLists): Cleanup.
14215 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14217 * lyxfont.C (update): don't honor toggleall on font size.
14219 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
14223 * Makefile.am: moved to frontends/xforms/
14227 * BufferView_pimpl.C: changes for moved mathpanel
14229 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14231 * gettext.h: fix gettext_init() in --disable-nls
14233 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14235 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14237 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
14240 * lyx.h: strip external form
14242 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14244 * BufferView_pimpl.C: add comment, destroySplash()
14246 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14248 * BufferView_pimpl.C:
14252 * lyxfunc.C: use re-worked insetinclude
14254 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14256 * buffer.C: add using std::stringstream.
14258 * lyx_cb.C: readd using std::ios.
14260 * buffer.C: add using std::map.
14262 * BufferView_pimpl.C: add using std::vector.
14264 * ShareContainer.h: add std:: to swap.
14266 * buffer.h: add some typedefs
14267 * buffer.C (getLists): use them
14268 (getLists): renamed from getTocList.
14269 add a counter for the different float types and use it in the
14271 (getLists): use the same counter for the NEW_INSETS and the "non"
14274 * lyx_cb.h: remove unused items, includes, using etc.
14276 * ShareContainer.h: remove some commented code, add more comments
14277 and "documentation".
14279 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14281 * buffer.C (getTocList): make the list also when NEW_INSETS is
14284 * buffer.h: remove TocType
14286 * buffer.C (getTocList): change to return a map<string,
14287 vector<TocItem> >, implement for dynamic number of list.
14289 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14290 * text2.C (PasteSelection): adjust
14291 * CutAndPaste.C (pasteSelection): adjust
14293 * FloatList.C (FloatList): update from the new_insets branch.
14294 * Floating.[Ch]: ditto
14295 * LaTeXFeatures.C: ditto
14297 * lyxlex_pimpl.C: ditto
14299 * paragraph.C (Last): remove when NEW_INSETS is defined.
14301 * other file: changes because of the above.
14303 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14305 * lyxparagraph.h: rename next to next_, previous to previous_,
14306 make them private for NEW_INSETS. Rename Next() to next(),
14307 Previous() to previous().
14309 * other files: changes because of the above.
14311 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
14314 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14317 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14319 * main.C (main): pass lyx_localedir to gettext_init().
14321 * gettext.h: remove locale_init and gettext_init macros
14323 * gettext.C (locale_init): new function
14324 (gettext_init): new function
14326 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14329 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
14331 * Moved credits to frontends:
14332 * credits.[Ch]: removed
14333 * credits_form.[Ch]: removed
14334 * lyx_gui_misc.C: remove credits stuff
14337 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14339 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14341 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14342 unneeded destructor.
14344 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14345 a standalone pointer again.
14347 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14349 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
14355 * ToolbarDefaults.C:
14364 * BufferView_pimpl.C: use new file dialog in GUII
14367 * lyx_cb.C: remove LayoutsCB to Toolbar
14369 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14371 * ShareContainer.h (get): add std:: qualifier
14373 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14375 * ShareContainer.h: define a proper ShareContainer::value_type
14376 type (and use typename to please compaq cxx)
14378 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14380 * lyxparagraph.h: move serveral local vars to
14381 ParameterStruct/ParagraphParameters., use ShareContainer in
14382 FontTable., make vars in FontTable private and add getter and
14385 * paragraph.C: changes because of the above.
14387 * lyxfont.h: remove copy constructor and copy assignment. (the
14388 default ones is ok), move number inside FontBits. move inlines to
14391 * lyxfont.C: add number to initializaton of statics, move several
14392 inlines here. constify several local vars. some whitespace
14393 cleanup. Dont hide outerscope variables.
14395 * Spacing.h: add two new constructors to match the set methods.
14397 * ShareContainer.h: new file, will perhaps be moved to support
14399 * ParameterStruct.h: new file
14401 * ParagraphParameters.h: new file
14403 * ParagraphParameters.C: new file
14405 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14406 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14408 * BufferView_pimpl.C: ParagraphParameter changes.
14409 * buffer.C: Likewise.
14410 * bufferview_funcs.C: Likewise.
14411 * text.C: Likewise.
14412 * text2.C: Likewise.
14414 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14416 * lyxfind.C (LyXReplace): do not redefine default argument in
14418 (IsStringInText): ditto
14419 (SearchForward): ditto
14420 (SearchBackward): ditto
14422 2001-03-06 Juergen Vigna <jug@sad.it>
14424 * lyxfind.C (IsStringInText): put parentes around expressions.
14426 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
14428 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14430 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
14432 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14434 * stl_string_fwd.h: add comment
14436 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14439 * tabular.C: remove unused DocBook methods
14445 killed DO_USE_DEFAULT_LANGUAGE
14447 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14449 * lyx_gui.C: do not include language.h.
14451 * bufferview_funcs.C (ToggleAndShow): do not provide optional
14452 arguments in function implementation.
14454 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14456 * BufferView_pimpl.C: add <ctime>
14458 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14460 * BufferView_pimpl.C: add using std::find_if
14462 2001-02-27 José Matos <jamatos@fep.up.pt>
14464 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14467 2001-02-11 José Matos <jamatos@fep.up.pt>
14469 * buffer.C (makeDocBookFile): command styles now have a parameter as
14470 "title" by default.
14472 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
14474 * layout_forms.[Ch]: removed
14475 * lyx_cb.[Ch]: out character
14476 * lyx_gui.C: out character
14477 * lyx_gui_misc.C: out character
14478 * bufferview_funcs.C: : out character,
14479 added toggleall as parameter in ToggleAndShow
14481 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
14483 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14485 * text2.C (SetCurrentFont): Disable number property at boundary.
14487 2001-02-26 Juergen Vigna <jug@sad.it>
14489 * lyxfunc.C (getStatus): added a string argument override function so
14490 that this is correctly called from LyXFunc::Dispatch if it contains a
14491 do_not_use_argument which is used!
14492 (Dispatch): added check for "custom" export and call appropriate func.
14494 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
14496 * lyxrc.C: Add language_command_local, language_use_babel and
14497 language_global_options.
14499 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14501 * buffer.C (makeLaTeXFile): Use language_use_babel and
14502 language_global_options.
14504 2001-02-23 Juergen Vigna <jug@sad.it>
14506 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14507 which works with LyXText and putted it inside BufferView. Here now we
14508 only call for that part the BufferView::Dispatch() function.
14510 * BufferView.C (Dispatch): added.
14512 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14513 functions which needs to use a LyXText over from LyXFunc.
14514 (MenuInsertLyXFile): added
14515 (getInsetByCode): added
14516 (moveCursorUpdate): added
14517 (static TEXT): added
14519 2001-02-22 Juergen Vigna <jug@sad.it>
14521 * BufferView_pimpl.C (update): call a status update to see if LyXText
14524 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14526 * vc-backend.C (revert): implement for CVS
14527 (getLog): implement for CVS
14529 2001-02-20 Juergen Vigna <jug@sad.it>
14531 * text2.C (ClearSelection): added BufferView param for inset_owner call
14533 * lyxfunc.C (TEXT): added this function and use it instead of
14534 directly owner->view()-text of getLyXText().
14536 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
14538 * src/layout_forms.C: out preamble
14539 * src/layout_forms.h: out preamble
14540 * src/lyx_cb.C: out preamble
14541 * src/lyx_cb.h: out preamble
14542 * src/lyx_gui.C: out preamble
14543 * src/lyx_gui_misc.C: out preamble
14544 * src/lyxfunc.C: connect with guii preamble
14546 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14548 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14550 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14552 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14553 whether to run bibtex.
14555 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14557 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14559 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14561 * Makefile.am (lyx_SOURCES): removed bibforms.h
14563 * vspace.h: doxygen
14565 * text.C (GetVisibleRow): make several local vars const
14567 * tabular.C: small cleanup.
14569 * lyxserver.C (callback): use compare instead of strncmp
14571 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14572 inlines to after class or to paragraph.C
14574 * lyxfont.h: remove friend operator!=
14576 * converter.h: move friend bool operator< to non friend and after
14579 * combox.h: small cleanup
14581 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14582 to inlines after class def.
14584 * buffer.C (pop_tag): use string operations instead of strcmp
14586 * bmtable.c: doxygen, small cleanup
14588 * LaTeX.h: remove friend operator==
14590 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14602 * BufferView_pimpl.C:
14603 * BufferView.[Ch]: remove cruft
14605 2001-02-14 Juergen Vigna <jug@sad.it>
14607 * lyxfunc.C: removed #if 0 unused code
14609 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14611 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14613 * text2.C (SetSelection): added a BufferView * parameter
14615 2001-02-13 Juergen Vigna <jug@sad.it>
14617 * lyxfunc.C (Dispatch): fixed protected blank problem.
14618 * BufferView2.C (protectedBlank): added LyxText * parameter.
14620 * tabular.C (AppendRow): forgot to set row_info of newly added row.
14621 (AppendColumn): same as above for column_info.
14623 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14624 (moveCursorUpdate): use a LyXText param for support of InsetText.
14626 * BufferView_pimpl.C (doubleClick): added support for InsetText.
14627 (tripleClick): ditto
14629 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14631 * BufferView_pimpl.C (update): added LyXText param to honor insets.
14633 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14635 * text2.C (SetSelection): set correct update status if inset_owner
14636 (ToggleFree): ditto
14638 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
14640 * tabular.C: remove some commented code.
14642 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
14644 * BufferView_pimpl.C: call hideSplash()
14646 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14649 * bibforms.h: remove
14652 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14653 add LFUN_CHILD_CREATE
14655 * counters.h: fix tiny typo
14660 * lyx.C: move splash to frontends/xforms/
14662 * lyx_gui_misc.C: move Include and Bibform to frontends
14664 * lyxvc.h: clarify comment
14666 * vspace.C: tiny housekeeping
14668 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
14670 * text.C (PrepareToPrint): RTL Fix.
14672 * paragraph.C (GetUChar): New method.
14673 (String): Use GetUChar.
14675 * buffer.C (asciiParagraph): Use GetUChar.
14677 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
14679 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14681 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
14684 * buffer.C: rename to getLogName(), handle
14685 build log / latex log nicely
14687 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14690 * MenuBackend.h: remove support for reference menuitem type.
14692 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
14694 * BufferView_pimpl.C: housekeeping
14695 * BufferView_pimpl.h:
14700 * minibuffer.h: move Timeout GUI-I
14702 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
14704 * lyxrc.C (read): Update converters data-structures.
14706 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
14708 * LaTeX.h (operator!=): add operator != for Aux_Info
14710 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
14712 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14714 * LaTeXLog.C: deleted, useful code moved to Buffer
14717 * buffer.C: new function getLatexLogName()
14723 * lyxfunc.C: use frontends for LaTeX and VC logs
14725 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14727 * LaTeX.h: yet another std:: that Allan forgot.
14729 * Variables.C (set): renamed from isset(), because this clashes
14730 with some HP-UX macros (grr).
14732 2001-02-06 Allan Rae <rae@lyx.org>
14734 * LaTeX.h: Another bug fix. Missing std:: this time.
14736 2001-02-04 Allan Rae <rae@lyx.org>
14738 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14739 floats problem. I've left it commented out because it's not quite
14740 correct. It should also test that the current object is a table or
14741 figure inset. But I haven't gotten around to figuring out how to do
14742 that. I *think* it'll be something like: "table" == inset.type()
14744 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14747 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
14749 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14750 all the citation/databases/styles in the auxilary file.
14751 (run): Rerun latex if there was a babel language error.
14753 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
14755 * text.C (Backspace): Preserve the font when changing newline char
14757 (BreakParagraph): If the cursor is before a space, delete the space.
14759 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14761 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
14763 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14764 new argument (code).
14765 (ChangeCitationsIfUnique): New method.
14767 * paragraph.C (GetPositionOfInset): Handle bibkey.
14769 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14771 * BufferView_pimpl.h: change type of Position::par_pos to
14772 LyXParagraph::size_type.
14774 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
14776 * BufferView_pimpl.C (savePosition, restorePosition): Write
14777 messages to minibuffer.
14779 2001-01-28 José Matos <jamatos@fep.up.pt>
14781 * buffer.C (makeDocBookFile): adds support for document language.
14782 A silly restriction on the name of LatexCommand types where removed.
14783 Added support for CDATA sections, allows to chars unescaped, used
14784 among others in code, to avoid escape < and >.
14786 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14788 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14789 saved positions instrad of a stack. Furthermore, a position is
14790 stored using paragraph id/paragraph position.
14792 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14793 Remove LFUN_REF_BACK.
14795 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14797 * converter.C (dvipdfm_options): New method.
14799 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
14801 * vspace.C (isValidLength): Fix for empty input string.
14803 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14805 * LyXAction.C (init): change description of LFUN_FIGURE to
14808 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14810 * LaTeX.C: add using directive
14812 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14814 * MenuBackend.C (expand): Fix the sorting of the formats.
14816 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
14818 * lyx_main.C: tiny error message fix
14820 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14822 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14823 calling fl_initialize(). This fixes the problem with ',' as
14824 decimal separator in text files.
14826 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14828 * trans.C (process): Fix the keymap bug.
14830 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
14832 * LaTeX.C (scanAuxFiles): New method. Provides support for
14833 multiple bibliographies (when using the bibtopic/bibunits pacakges).
14834 (scanLogFile) Scan for "run BibTeX" messages.
14836 * buffer.C (makeLaTeXFile): Do not load the ae package when using
14837 OT1 font encoding. Also, load the aecompl package if the ae
14840 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14842 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14844 * texrow.C (increasePos): turn two error messages into debug
14847 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
14849 * LaTeX.C (scanAux): Handle the \@input macro.
14850 (runBibTeX): Use scanAux().
14852 * language.C (latex_options_): New field.
14854 * LaTeXFeatures.C (getMacros): Add language macros.
14856 * buffer.C (makeLaTeXFile): Small fix.
14858 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14860 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14862 * text2.C: add a using directive.
14864 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
14869 * lyxfunc.C: kill LyXBell.
14871 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
14873 * text.C (IsBoundary): Remove the error message
14875 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14877 * lyxrc.C (setDefaults): Correct initialization value for
14880 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
14882 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14885 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14886 and GotoNextNote().
14888 * src/LyXAction.C: Added reference-next.
14890 * text.C (InsertChar): Use contains instead of strchr.
14892 * lyx_cb.C (MenuInsertLabel): Enable default value code.
14894 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
14896 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14897 alignment commands (when needed).
14899 * text.C (InsertChar): Add ':' to number separator chars.