1 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4 * bufferparams.[Ch]: add jurabib support and param.
6 * LaTeX.C: add FIXME/comment.
8 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
10 * buffer.C: increment file format to 230.
12 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
14 * cursor.C (dispatch): avoid infinite loops
16 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
18 * rowpainter.C (paintSelection): fix x coordinates
20 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
22 * text.C (rowBreakPoint): fix breaking before displayed insets
24 2004-03-01 André Pönitz <poenitz@gmx.net>
26 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
28 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
40 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
46 * BufferView_pimpl.C: rename textwidth -> maxwidth,
47 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
49 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
51 * Bidi.[Ch] (computeTables): const correctness
52 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
53 fill_hfill, fill_label_hfill and x from Row
54 * lyxtext.h: prepareToPrint returns a RowMetrics
55 * rowPainter.C: adjust
56 * text.C (prepareToPrint): use width, not textWidth. adjust
57 (redoParagraphInternal, cursorX): adjust
58 * text2.C (getColumnNearX): adjust
59 (init): put a default value to the top LyXText::width
61 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
63 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
65 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
67 * lyxtext.h: add FontIterator class
69 * text.C (FontIterator, operator*, operator->, operator++): add
70 (rowBreakPoint, setRowWidth): adjust (fixing a
73 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
75 * BufferView_pimpl.C (workAreaDispatch): allow also
76 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
78 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
80 * text.C (rowBreakPoint): fix a bug showing with very large insets
82 2004-02-25 André Pönitz <poenitz@gmx.net>
85 * cursor.[Ch]: move some mathed specific code to mathed
87 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
89 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
90 use_tempdir in preferences
91 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
93 * lyx_main.C: ensure that tempdir is valid
94 * lyxlex.h: correct typo
95 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
96 * paragraph.[Ch] (isMultiLingual): make const
97 * cursor.[Ch] (openable): make const
99 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
101 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
103 2004-02-20 André Pönitz <poenitz@gmx.net>
105 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
107 * cursor.[Ch]: prepare for localized getStatus()
113 * text3.C: streamlines the LyXText cursor movement handlers a bit.
115 2004-02-20 André Pönitz <poenitz@gmx.net>
117 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
119 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
121 * text2.C (setCursorFromCoordinates): switch to absolute coords
124 * text3.C (dispatch): adjust
126 2004-02-16 André Pönitz <poenitz@gmx.net>
128 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
131 * cursor_slice.[Ch]: remove unneeded acessor function
133 * lyxtext.h: rename rtl() to isRTL()
141 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
143 * rowpainter.C (paintSelection): coord fix
145 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
147 * Spacing.C: compile fix
149 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
151 * cursor.C (dispatch): restore current_ before returning
153 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
155 * text2.C (cursorUp, cursorDown): fix coords
158 2004-02-12 André Pönitz <poenitz@gmx.net>
163 * text3.C: add LCursor & parameter to most cursor movement functions
164 remove usage of LyXText::cursorRow() and cursorPar()
166 * cursor.[Ch]: add textRow() needed members
169 * BufferView_pimpl.C:
172 * BufferView_pimpl.C: adjust
174 2004-02-11 André Pönitz <poenitz@gmx.net>
178 * BufferView_pimpl.C: shift undo/redo handling
180 * cursor.[Ch]: fix mathed crash
183 * lyxtext.h: move selectionAsText to LCursor
191 * rowpainter.C: fix excessive drawing
193 2004-02-06 André Pönitz <poenitz@gmx.net>
196 * BufferView_pimpl.[Ch]:
197 * text3.C: move some text specific LFUN handling
199 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
201 * text3.C (checkInsetHit): adjust coords
202 * text2.C (getColumnNearX): adjust coords
203 (edit): adjust coords
204 * text.C (getRowNearY): add two asserts
206 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
209 * format.C: add using std::distance to compile on gcc 2.95/stlport
211 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
213 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
215 2004-02-04 André Pönitz <poenitz@gmx.net>
217 * BufferView.[Ch] (insertInset):
218 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
223 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
225 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
226 on the default clause of the switch
227 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
228 wasn't catched by LCursor::dispatch
230 2004-02-03 André Pönitz <poenitz@gmx.net>
233 * cursor.[Ch]: some additional asserts
235 * undo.[Ch]: remove LyXText dependency in interface
239 * lyxtext.h (firstPar, lastPar): remove dead functions
244 * paragraph.[Ch]: adjust
246 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
248 * lyxfind.C (find): fix argument order in call to ::find
250 2004-02-02 André Pönitz <poenitz@gmx.net>
252 * cursor.[Ch]: remove direct access to anchor
254 * text.C: remove findText() hack
256 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
258 * iterators.[Ch] (lockPath): remove in favour of...
259 * BufferView.[Ch] (setCursor): this addition
260 * BufferView.C (putSelectionAt): adjust
261 * undo.C (performUndoOrRedo): adjust
262 * lyxfunc.C (dispatch): adjust
264 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
266 * iterators.C (lockPath): add a missing slice
267 * undo.C (performUndoOrRedo): remove redundant positioning code
269 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
271 * vc-backend.C (scanMaster): ";" -> ';'
273 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
275 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
278 * lyxtextclass.C (compare_name): rename to...
279 (LayoutNamesEqual): ...this
281 * lyxlex_pimpl.C (compare_tags): inherit from
282 std::binary_function, put back into anon namespace
284 * lyxfind.C (MatchString): inherig from std::binary_function
285 (findChange): use empty() istead of !size()
287 * format.C (FormatNamesEqual): new functor
294 * converter.C (compare_Converter): rename to...
295 (ConverterEqual): ...this, and fixup a bit.
296 (getConverter): use it, and make function const
297 (getNumber): use it, and make function const
301 * bufferlist.C: add using boost::bind
303 * MenuBackend.C (MenuNamesEqual): new functor
304 (hasMenu): use it, and make function const
305 (hasSubmenu): use nested bind to get rid of compare_memfun.
307 2004-01-30 André Pönitz <poenitz@gmx.net>
309 * BufferView_pimpl.C:
320 * text3.C: move some of the edit(x,y) handling to the insets
321 some coordinate changes.
323 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
325 * text.C: add using statements for std::advance and std::distance
327 * paragraph.C: add using statement for std::distance
329 * lyxfind.C: add using statement for std::advance
331 * cursor.C (region): remove std:: from swap
332 (openable): use nucleus in stead of operator->
334 * BufferView.C: add using statements for std::distance and std::swap
336 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
338 * iterators.C: Remove the pimple, move the needed structures to
339 the header file. Create accessor for the positions stack.
340 (asPosIterator): remove function
342 * PosIterator.C (PosIterator): move constructors to top of file
343 (PosIterator): reimplement the constructor taking a ParIterator in
345 (setFrom): new function
346 (operator!=): inline it
348 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
350 * lyxfind.C (replaceAll): use std::advance
352 * iterators.h: inherit from std::iterator.
354 * PosIterator.C (advance, distance): remove
355 * PosIterator.h: interit from std::iterator.
357 2004-01-26 André Pönitz <poenitz@gmx.net>
360 * BufferView_pimpl.[Ch]:
364 * bufferview_funcs.C:
375 * output_plaintext.C:
377 * paragraph_funcs.[Ch]:
378 * paragraph_pimpl.[Ch]:
384 * text3.C: more IU: dumps most of the rest of the mathcursor
385 implementation into cursor.[Ch]; "globalize" a bit of it.
387 2004-01-25 Angus Leeming <leeming@lyx.org>
389 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
391 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
393 * LaTeXFeatures.h: add nice_ and nice() const
394 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
396 2004-01-20 André Pönitz <poenitz@gmx.net>
399 * BufferView_pimpl.C:
401 * bufferview_funcs.C:
414 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
415 LCursor and mathcursor parts to LCursor and InsetBase.
417 2004-01-15 André Pönitz <poenitz@gmx.net>
419 * cursor_slice.[Ch]: add a few covienience functions
421 * funcrequest.[Ch]: remove BufferView * member
423 * BufferView_pimpl.C:
430 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
432 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
434 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
435 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
437 2004-01-13 André Pönitz <poenitz@gmx.net>
440 * lyxtext.h: hide cursor and selection anchor behind accessor function
443 * BufferView_pimpl.[Ch]:
445 * bufferview_funcs.C:
455 * cursor_slice.[Ch]: some integer type changes for inset unification
457 * lyxcursor.[hC]: remove, it's CursorSlice now.
460 * BufferView_pimpl.[Ch]:
461 * bufferview_funcs.C:
467 * textcursor.[Ch]: adjust
469 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
471 * text2.C (undoSpan): add and use
472 * text.C (breakParagraph): use undoSpan (fix bug 578)
475 2004-01-08 Angus Leeming <leeming@lyx.org>
477 * BufferView_pimpl.C (MenuInsertLyXFile):
478 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
479 * lyxfunc.C (menuNew, open, doImport):
480 FileFilterList change to the FileDialog open and save functions.
482 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
484 * ShareContainer.h: make isEqual and isUnique adaptable
486 * CutAndPaste.C: make resetOwnerAndChanges adaptable
488 2004-01-07 Angus Leeming <leeming@lyx.org>
491 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
493 * BufferView_pimpl.C (dispatch): act on these LFUNs.
495 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
496 functions replacing find, replace and replaceAll.
498 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
499 LFUN_WORDFIND(FORWARD|BACKWARD).
501 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
503 * text.C (breakParagraph): remove an outdated #warning
505 2004-01-07 André Pönitz <poenitz@gmx.net>
507 * lyxfind.C: somewhat clearer logic
509 * text.C: prevent crash in cursorX on unitialized row cache
511 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
513 * lyxcursor.[Ch] (operator>): add
514 * textcursor.C (selStart, selEnd): use std::min and std::max
516 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
518 * Chktex.C: include boost/format.hpp
520 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
522 * InsetList.C: replace functor MathcIt with adaptable functor
524 (insetIterator): modify accordingly
526 * BranchList.h: move the BranchNamesEqual functor here from...
527 * BranchList.C: ... to here
529 * BranchList.C: new BranchListEqual fuctor, use it. Remove
531 (add): replace a finding loop with std::find_if.
533 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
535 * output_docbook.C: moving LatexParam functionality into
538 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
540 * buffer.C: increment format to 229.
542 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
545 * lyx_sty.[Ch]: remove minipageindent_def
551 * text3.C: remove LFUN_INSET_MINIPAGE
553 2003-12-28 Angus Leeming <leeming@lyx.org>
555 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
557 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
559 * text2.C (setParagraph): fix off-by-one crash
561 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
563 * output_docbook.C: header stuff for AGU
565 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
567 * text2.C (redoCursor): remove
570 * BufferView_pimpl.C: remove calls to redoCursor and
571 setCursor(cursor.par(), cursor.pos()) all around
573 2003-12-15 Angus Leeming <leeming@lyx.org>
575 * buffer.C: up the format to 228.
577 2003-12-15 André Pönitz <poenitz@gmx.net>
579 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
584 * BufferView_pimpl.C:
593 2003-12-15 Angus Leeming <leeming@lyx.org>
595 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
596 than getFromGUIName to manipulate the color.
598 2003-12-14 Angus Leeming <leeming@lyx.org>
600 * BranchList.[Ch]: minimize the API.
601 (Branch::getBranch, getColor): now return a 'const &'.
602 (Branch::setSelected) now returns a bool set to true if the
603 selection status changes.
604 (BranchList::clear, size, getColor, setColor, setSelected,
605 allBranches, allSelected, separator): removed.
606 (BranchList::find): new functions, returning the Branch with
608 (BranchList::add, remove): return a bool indicating that
609 the operation was successful.
611 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
612 new InsetBranch::isBranchSlected member function.
614 * LColor.[Ch]: mimimize the API.
615 (fill): renamed as addColor and made private.
616 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
617 versions of these functions taking a string arg have been removed.
619 * bufferparams.C (readToken):
620 * lyxfunc.C (dispatch):
621 * lyxrc.C (read): changes due to the altered BranchList and
624 * factory.C (createInset, readInset): changes due to altered
627 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
630 * lyxfunc.C: remove insetminipage. "minipage-insert"
631 now produces a frameless minipage box inset.
633 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
635 * textcursor.[Ch] (selStart,selEnd): add new methods
636 remove selection::start, end, use LyXCursor::operator<
637 * lyxcursor.[Ch] (operator<): add
638 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
639 * BufferView.[Ch] (unsetXSel): add
640 * text2.C (clearSelection): use unsetXSel,adjust
643 * rowpainter.C: adjust
644 * bufferview_funcs.C (put_selection_at): adjust
646 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
648 * BufferView_pimpl.C: small coord. correction
650 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
652 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
653 dragging over the splash screen.
655 2003-12-11 Angus Leeming <leeming@lyx.org>
657 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
658 as it is now handled in LyXText::dispatch.
660 * text3.C (doInsertInset): remove a level of nesting.
662 2003-12-11 Angus Leeming <leeming@lyx.org>
664 * factory.C (createInset): changes due to the changed interface to
665 InsetCommandMailer::string2params.
667 2003-12-10 Angus Leeming <leeming@lyx.org>
669 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
670 'dialog-show-new-inset <inset name>'
672 2003-12-10 Angus Leeming <leeming@lyx.org>
674 * buffer.C: up the format to 227.
676 * factory.C: the box inset is now identified simply by 'Box'.
678 2003-12-10 Angus Leeming <leeming@lyx.org>
680 * buffer.C: up the format to 226.
682 * factory.C: the note inset is now identified simply by 'Note'.
684 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
686 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
687 when a pit is enough. Standarize a couple of loops.
689 2003-12-05 Angus Leeming <leeming@lyx.org>
691 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
692 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
693 data to the re-worked "log" dialog.
695 2003-12-03 André Pönitz <poenitz@gmx.net>
703 * text2.C: use Inset::getText instead of Inset::getParagraph
705 2003-12-03 André Pönitz <poenitz@gmx.net>
709 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
710 InsetText::read() as LyXText::read()
712 2003-12-02 Angus Leeming <leeming@lyx.org>
714 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
715 type. Add a comment in the implementation that the function uses
716 the stream's bad() function rather than fail() as the std::streams
719 2003-12-02 André Pönitz <poenitz@gmx.net>
721 * lyxlex.[Ch]: make interface more similar to std::stream
723 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
725 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
727 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
729 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
731 * vspace.[Ch]: remove VSpace::NONE
733 2003-12-01 André Pönitz <poenitz@gmx.net>
736 * lyxtext.h: move ParagraphList member to LyXText
737 rename LyXText::ownerParagraphs to LyXText::paragraph
740 * bufferview_funcs.C:
750 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
752 * undo.C: fix cursor positioning
754 2003-12-01 John Levon <levon@movementarian.org>
756 * BufferView_pimpl.C: fix a crash on exit with
759 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
761 * BranchList.C: fix setSelected() method.
763 2003-11-28 André Pönitz <poenitz@gmx.net>
765 * ParagraphParameters.[Ch]:
766 * ParameterStruct.h: remove space above/below from Paragraph to
769 * BufferView_pimpl.C:
781 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
783 * factory.C: Syntax change for CharStyles
785 2003-11-28 André Pönitz <poenitz@gmx.net>
790 * buffer.[Ch]: move LyXText member
792 2003-11-28 André Pönitz <poenitz@gmx.net>
794 * BufferView.[Ch]: make LyXText * text a private member
796 * BufferView_pimpl.C:
807 * output_plaintext.C: cleanup
809 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
812 * lyxtextclass.[Ch]: parametrize SGML document header
814 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
817 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
820 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
822 * text2.C (setFont): rework using PosIterator (no more recursive)
823 (setCharFont): no more needed
824 (setLayout): no more selection cursors fiddling (done by redoCursor)
825 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
826 destroy remaining ones)
828 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
830 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
832 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
835 * text3.C: adjust + re-allow multi par depth changes
836 * textcursor.C: simplify a bit
838 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
844 * src/output_docbook.C:
845 * src/output_latex.C:
850 * src/text2.C: Introducing a number of tags parametrizing various
851 XML formats that we may want to support
853 2003-11-25 André Pönitz <poenitz@gmx.net>
855 * InsetList.[Ch] (begein, end): inline as suggested by profiler
857 * lyxtext.h (leftMargin/rightMargin): simplify interface
864 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
866 * lyxfunc.C (dispatch): propogate the bibtex databases from the
867 master file to any child files. Fixes bug 546.
869 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
871 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
873 2003-11-24 André Pönitz <poenitz@gmx.net>
875 * rowpainter.C: simplification
877 * text2.C (updateCounters): remove call to redoParagraph on
878 changed labels as this is far too expensive.
880 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
882 * converter.C (convert): fix a crash: this function gets
883 called with buffer == 0 from importer code.
885 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
887 * text3.C (cursorPrevious): make sure that we do not compare
888 iterators form different containers.
891 * rowpainter.C (paintSelection): make sure that we do not compare
892 iterators from different containers.
894 * text3.C (dispatch): [PRIOR] make sure that we do not compare
895 iterators from different ParagraphList containers.
898 * text2.C (LyXText): change order of initialization slightly
899 (operator=): new function. copy all variables except cache_par_
900 (moveUp): make sure that we do not compare iterators from
901 different ParagraphList constainers.
904 * text.C (firstPar): new function
905 (lastPar): new function
906 (endPar): new function
908 * lyxtext.h: move things around and group public functions, public
909 variables, private functions, private variables
911 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
913 * factory.C: change call to InsetERT constructor to avoid
914 additional invocation of method status
915 * text2.C (toggleInset): remove redundant update() call
916 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
917 instead of a Bufferview pointer
919 2003-11-21 André Pönitz <poenitz@gmx.net>
921 * rowpainter.C: simplification
923 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
925 * text3.C (dispatch): make possible to extend a word/row selection
928 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
930 * lyxtext.h: x0_,y0_ -> xo_,yo_
931 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
932 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
933 * rowpainter.C (paintRows): paint full paragraphs
935 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
937 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
940 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
942 * lyxtext.h: add x0_, y0_
943 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
944 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
946 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
948 * text2.C (setCursorIntern): move the x_target update here *
949 * text3.C: change some bv() to true/false in calls to
950 cursorUp/Down/Right/Left
951 * cursor.C: use helper function.
953 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
955 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
956 * paragraph_funcs.[Ch]: correct comment
957 * rowpainter.C: do not paint selections away from bv->cursor()
958 Fix a long standing selection painting bug.
959 * text3.C: generalize mouse-selection code to LyXTexts other that
961 * textcursor.C: do not use y coords if we can use par offsets
963 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
965 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
966 cursor position after e.g. inset insert)
968 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
970 * lyxfind.C (replace): adjust to locking removal + some
973 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
975 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
978 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
981 * output_docbook.C: XML sanitation: new layout
982 parameters InnerTag and CommandDepth
984 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
986 * BufferView_pimpl.C:
988 * text3.C: Fix the insertion and modification of button-style
991 2003-11-13 André Pönitz <poenitz@gmx.net>
993 * InsetList.[Ch]: remove deleteLyXText
995 * paragraph.[Ch]: cache beginOfBody position
1000 * text3.C: remove superfluous update() calls
1004 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1006 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1007 * BufferView.C (fitLockedInsetCursor): remove
1008 * cursor.[Ch] (getDim): add
1009 * text.C (getRowNearY): add faster version
1010 * text3.C: remove some update calls
1012 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1024 * text3.C: The Character Style /XML short element patch.
1026 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
1029 * factory.C: Small step to solving 'unable to insert some insets'
1032 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1034 * cursor.[Ch] (updatePos): new function for updating the y
1035 position of the tip inset
1036 * bufferview_funcs.C (put_selection_at):
1037 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1039 2003-11-11 André Pönitz <poenitz@gmx.net>
1041 * text.C: remove big comment on invalid Paragraph pointers as it is
1044 2003-11-11 André Pönitz <poenitz@gmx.net>
1046 * text_funcs.[Ch]: merge with ...
1054 * Makefile.am: remove text_funcs.[Ch]
1056 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1058 * cursor.C (getPos): return absolute cached y coord
1060 * BufferView_pimpl.C (fitCursor): new simplistic code
1061 (workAreaDispatch): add a fitCursor call
1063 2003-11-10 André Pönitz <poenitz@gmx.net>
1066 * BufferView_pimpl.[Ch]: merge update() and updateInset()
1068 2003-11-10 André Pönitz <poenitz@gmx.net>
1070 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1071 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1072 indicate that the cursor needs to leave an inset
1074 * lyxtext.h: remove inset locking
1076 * cursor.[Ch]: re-implement functionality provided by inset locking
1079 * BufferView_pimpl.[Ch]:
1081 * bufferview_funcs.[Ch]:
1093 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1095 * PosIterator.[Ch]: replace the stack with a vector, add inset
1097 * iterators.[C]: adjust
1099 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1101 * lyxfind.C (replaceAll): mark the buffer dirty if something was
1103 * paragraph_funcs.C (readParToken): put the correct id in the
1104 error item, not the id of the top paragraph
1106 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1108 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1109 * bufferview_funcs.C (put_selection_at): use the above
1111 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1113 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1115 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1117 * output_linuxdoc.h:
1118 * output_plaintext.h:
1120 * output_docbook.h: add #include statements
1122 2003-11-05 José Matos <jamatos@lyx.org>
1124 * output_docbook.[Ch]:
1125 * output_latex.[Ch]:
1126 * output_linuxdoc.[Ch]:
1127 * output_plaintext.[Ch]: New files for output formats.
1128 * output.[Ch]: New file for helper functions.
1131 * paragraph_funcs.[Ch]: output functions moved to new files.
1133 * outputparams.h: rename of latexrunparams.h
1141 * paragraph_funcs.[Ch]:
1142 * paragraph_pimpl.[Ch]:
1143 * tabular.[Ch]: rename ascii to plaintext
1144 and LatexRunParams to OutputParams.
1146 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1148 * iterators.[Ch] (text): require bv argument
1149 * undo.C (recordUndo):
1150 * lyxfunc.C (dispatch):
1151 * bufferview_funcs.C (put_selection_at): adjust
1153 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
1155 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1157 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1159 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1162 2003-11-04 André Pönitz <poenitz@gmx.net>
1164 * cursor.[Ch]: restructure
1167 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1169 * iterators.[Ch] (asCursor): remove
1171 * lfuns.h: remove LFUN_INSET_EDIT
1177 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1179 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1181 * lyxfind.[Ch]: complete overhaul
1182 * BufferView_pimpl.C:
1184 * paragraph.[Ch] (insert): add
1186 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1190 * text.C: remove dead spellcheck code
1192 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1194 * dispatchresult.h: add a val setter
1196 * cursor.C (dispatch): use a tempvar for data_[i]
1198 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1200 * PosIterator.[Ch]: compile fix
1202 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1204 * text.C (cursorPar): deactivate the cursor cache
1206 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1208 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1210 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1212 * text3.C (dispatch): adjust for new DisptchResult semantics.
1214 * lyxfunc.C (dispatch): handle update when return from
1215 Cursor::dispatch, adjust for new DispatchResult semantics.
1217 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1218 DispatchResult(true) mean to not update. Add class functions for
1219 setting dispatched and update, as well as reading.
1221 * cursor.C (dispatch): don't handle update here
1223 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1225 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1226 * trans_mgr.C: adjust
1228 * paragraph_funcs.C (readParToken): exception safety
1230 * lyxvc.h: store the vcs pointer in a scoped_ptr
1233 * lyxsocket.C (serverCallback): exception safety
1235 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1237 * ispell.C (clone): make it return a auto_ptr
1239 * factory.C (createInset): exception safety
1240 (readInset): exception safety
1242 * bufferlist.C (newBuffer): exception safety
1244 * Thesaurus.C (Thesaurus): use initialization for aik_
1246 * MenuBackend.C (expandToc): exception safety.
1248 2003-11-03 André Pönitz <poenitz@gmx.net>
1252 * bufferview_funcs.C: remove getInsetFromId()
1255 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1261 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1263 * PosIterator.C (distance, advance): new
1264 * bufferview_funcs.[Ch] (put_selection_at): new
1265 * iterators.[Ch] (lockPath): new
1267 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
1269 * iterators.[Ch] (asPosIterator): added
1270 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1271 * PosIterator.[Ch]: added
1273 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1277 * cursor.C (dispatch):
1278 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1280 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1281 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1282 contructor, add a class function dispatched. Remove operator>=
1284 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1286 * debug.C: only use the default constructor for debugstream
1289 * main.C (main): include debug.h and setup the lyxerr streambuf
1292 2003-10-31 José Matos <jamatos@lyx.org>
1294 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1296 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1297 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1298 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1299 * paragraph_pimpl.C (simpleTeXSpecialC):
1300 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1301 add LatexRunParams argument.
1303 * exporter.C (Export): change call accordingly.
1305 * latexrunparams.h: add new member to take care of the other backends.
1306 2003-10-30 José Matos <jamatos@lyx.org>
1308 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1309 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1310 factorise code for paragraph output.
1312 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1315 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1317 * text3.C (dispatch):
1318 * lyxfunc.C (dispatch):
1319 * cursor.C (dispatch):
1320 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1322 * dispatchresult.h: make the dispatch_result_t ctor explicit
1324 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1327 * buffer.C: small refactoring of docbook stuff
1329 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1331 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1334 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1336 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1337 operator dispatch_result_t, and operators for == != and >=
1339 * cursor.C (dispatch): adjust for operator dispatch_result_t
1340 removal. comment out call to update
1342 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1344 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1352 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1355 * dispatchresult.h: new file, DispatchResult broken out of
1358 * Makefile.am (lyx_SOURCES): add dispatchresult.h
1360 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1362 * text.C (rowBreakPoint): put a hack inside #if 0
1364 2003-10-28 André Pönitz <poenitz@gmx.net>
1368 * paragraph_funcs.C:
1371 * text2.C: general cleanup (lots of small stuff)
1373 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1375 * text2.C (cursorEnd): simple fix to the "end key goes to one
1376 before the end on last row" bug
1378 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1380 * text.C (backspace): fix the "zombie characters"
1382 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1384 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1386 2003-10-27 André Pönitz <poenitz@gmx.net>
1388 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1390 * factory.C: handle new InsetPagebreak, InsetLine
1392 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1393 and move handling into new InsetPagebreak, InsetLine
1395 * BufferView_pimpl.C:
1397 * ParagraphParameters.C:
1398 * ParameterStruct.h:
1403 * paragraph_funcs.C:
1404 * paragraph_pimpl.C:
1410 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1413 * lyxrow_funcs.[Ch]:
1419 * text3.C: remove lastPos uses in favour of Row::endpos
1421 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1423 * undo.C (performUndoOrRedo): fix two crashes by setting a
1424 cursor by hand and reordering some calls. Use bv->lockInset instead
1425 of inset->edit because the latter loses cursor information
1427 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
1429 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1431 (rowBreakPoint): fix width. change point to point + 1.
1432 Add a missing check.
1434 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
1437 * lyxfunc.C: fix (at least partly) the problems
1438 with the Nav menu and headers inside branch insets
1441 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
1443 * paragraph.C (getChar): add strong asserts
1445 * lyxrow_funcs.C (lastPos): remove hideous hack
1447 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1448 (fill): adjust to that (avoid an infinite loop)
1450 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1452 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1454 2003-10-23 André Pönitz <poenitz@gmx.net>
1456 * RowList_fwd.h: change list<> to vector<> to gain speed
1457 after suggestion from Alfredo
1459 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1461 * lyxtext.h: move the bidi stuff from here...
1464 * Bidi.[Ch]: ... to here
1466 2003-10-23 André Pönitz <poenitz@gmx.net>
1469 * text.C (isLastRow, isFirstRow): new functions
1471 * paragraph.h: new width cache member
1473 * rowpainter.C: replace RowList::iterator with Row & where possible
1475 * lyxfunc.C: replace several view()->text with a single call
1477 * toc.C: fix 'unused' warning
1479 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1481 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1482 when woring with stream::pos_type
1483 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1485 2003-10-22 André Pönitz <poenitz@gmx.net>
1488 * text.C: use Row & instead of RowList::iterator
1490 * lyxrow.h: rename end() to endpos()
1496 2003-10-22 Angus Leeming <leeming@lyx.org>
1498 * buffer.[Ch] (fully_loaded): new member function, returning true
1499 only when the file has been loaded fully.
1500 Used to prevent the premature generation of previews and by the
1501 citation inset to prevent computation of the natbib-style label.
1503 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1504 templates are all set up.
1506 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1508 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
1510 * text.C: fixed an "oops" in the "is a bit silly"
1513 2003-10-21 André Pönitz <poenitz@gmx.net>
1515 * FuncStatus.[Ch]: small stuff, whitespace
1517 * lyxfont.[Ch]: operator<<() for debug reasons
1521 * lyxtext.h: whitespace, spelling
1523 * paragraph.C: naming of variables
1526 * text2.C: small stuff
1529 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1531 * text.C: (1) finish off the inset display() work;
1532 (2) fix the "is a bit silly" bug (accessing char
1535 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1537 * text.C: re-introduce display() for insets, fixing the
1538 various bugs (stretch of line above, math inset
1541 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1543 * text.C (rightMargin): remove spurious semicolon
1545 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1548 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1550 * text3.C: fix one crash due to wrong cursor def
1552 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1554 * vc-backend.C (scanMaster): make the regex static
1556 * LaTeX.C (scanAuxFile): make the regexs static
1558 * text3.C (doInsertInset, dispatch, dispatch):
1559 * text2.C (cursorUp, cursorDown):
1560 * text.C (selectNextWordToSpellcheck):
1561 * BufferView_pimpl.C (dispatch):
1562 * lyxfunc.C (dispatch): localDispatch -> dispatch
1564 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1566 * lyxsocket.C: include <cerrno>
1568 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1570 * lyxfunc.C (dispatch): remove textcache stuff
1572 * bufferlist.C (release): remove textcache stuff
1575 * TextCache.C: delete file
1576 * TextCache.h: delete file
1578 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1580 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1581 delete of the bv_->text.
1582 (resizeCurrentBuffer): remove texcache stuff
1583 (workAreaResize): ditto
1585 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1587 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1590 2003-10-16 André Pönitz <poenitz@gmx.net>
1597 * text3.C: speed up by storing y positions per paragraph plus per-row
1598 offset instead of having a 'full' y position in the row.
1600 2003-10-15 André Pönitz <poenitz@gmx.net>
1604 * undo.[Ch]: make undo aware of inner insets
1606 2003-10-14 Angus Leeming <leeming@lyx.org>
1608 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1609 static member functions LyX::ref() and LyX::cref.
1610 (lastfiles): new accessor functions for the new lastfiles_ member var.
1611 (addLyXView, views_): add a new LyXView to the list of views_.
1612 (updateInset): loop over all LyXViews to call their own updateInset
1613 member function, returning a pointer to the Buffer owning the inset.
1615 * BufferView_pimpl.C (loadLyXFile):
1616 * MenuBackend.C (expandLastfiles):
1617 * bufferlist.C (MenuWrite, QuitLyX):
1618 lastfiles is no longer a global variable.
1619 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1621 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1622 static function. Access through LyX::cref().emergencyCleanup().
1624 2003-10-14 André Pönitz <poenitz@gmx.net>
1626 * iterators.[Ch]: new direct access to innermost LyXText and Inset
1628 * undo.[Ch]: restoring part of 'undo in insets'
1631 * undo_funcs.[Ch]: merge with undo.[Ch]
1633 * tabular.C: small cleansing stuff
1635 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
1637 * paragraph_funcs.C (readParToken): report unknown insets as error
1638 boxes. Use the outer paragraph as location (also for unknown
1641 * factory.C (readInset): do not abort on reading an unknown inset.
1642 Eat it and return 0.
1644 2003-10-13 Angus Leeming <leeming@lyx.org>
1646 * lyx_main.C (LyX): remove call to setDisplayTranslator().
1648 * lyxrc.C: displayTranslator is now a function,
1649 declared in GraphicsTypes.h.
1651 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1653 * format.C: new placeholder $$a to pass the socket address.
1655 * bufferlist.[Ch]: new function getBufferFromTmp.
1657 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1658 files in the temporary dir.
1660 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1662 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1664 * Makefile.am: add lyxsocket.[Ch].
1666 * lyx_main.C (error_handler): handle SIGPIPE.
1668 2003-10-13 André Pönitz <poenitz@gmx.net>
1670 * BufferView_pimpl.C:
1675 * undo_funcs.[Ch]: use paroffset_type instead of
1676 ParagraphList::iterators to prevent multiple conversion
1677 (and get a more robust interface)
1679 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1681 * lyxfunc.C (dispatch): RESULT -> dispatch_result
1683 * text3.C (dispatch): ditto
1685 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1687 * LaTeX.C (handleFoundFile): move the static to smaller scope,
1688 move the onlyfile, use onlyfile instead of foundfile in a couple
1691 * DepTable.C (update): flush the error stream a bit more
1693 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1695 * lyxserver.C (callback): adjust
1697 * lyxfunc.C (getStatus): add a missing brace in commented code
1698 (ensureBufferClean): reindent
1699 (dispatch): delete version taking a string
1701 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1703 * LaTeX.C (deplog): move found file handlig from here...
1704 (handleFoundFile): .. to new function here.
1705 (deplog): make sure to discover several files mentioned on the
1708 2003-10-10 André Pönitz <poenitz@gmx.net>
1715 * text3.C: fix some of the tabular crashes
1717 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1719 * MenuBackend.C (binding): put debug message into Debug::KBMAP
1721 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1723 2003-10-09 André Pönitz <poenitz@gmx.net>
1725 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1728 * BufferView_pimpl.C:
1729 * bufferview_funcs.C:
1740 * undo_funcs.C: adjust
1742 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1744 * text2.C (incrementItemDepth): new function, use a backtracking
1745 algorithm to discover the correct item depth.
1746 (resetEnumCounterIfNeeded): new function, use a backtracking
1747 algorithm to discover if counter reset is needed.
1748 (setCounter): use them. Simplify a bit. Add different labels for
1749 different item depths for itemize.
1751 * paragraph.C (Paragraph): remove initialization of enumdepth
1754 * paragraph.h: get rid of enumdepth, and use itemdepth both for
1755 enumerate and itemize. Change the type of itemdepth to signed char.
1757 2003-10-08 André Pönitz <poenitz@gmx.net>
1759 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1764 * tabular.[Ch]: fix crash after 'row-insert'
1766 2003-10-08 Angus Leeming <leeming@lyx.org>
1768 Fix doxygen warnings.
1770 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1771 Remove CutAndPaste:: prefix from header file declaration.
1773 * LColor.h (fill): remove LColor:: prefix from declaration.
1775 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1776 use lyx::depth_type rather than Paragraph::depth_type so that
1777 header file and .C file match.
1779 * converter.h (intToFormat): remove Converters:: prefix from declaration.
1781 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1782 * aspell.C: \file aspell_local.C -> \file aspell.C
1783 * gettext.C: \file gettext.C -> \file src/gettext.C
1784 * gettext.h: \file gettext.h -> \file src/gettext.h
1785 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1786 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1787 * text.C: \file text.C -> \file src/text.C
1789 * toc.C: move comment so that doxygen is not confused.
1791 2003-10-07 Angus Leeming <leeming@lyx.org>
1793 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1795 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1798 * aspell_local.h: add forgotten std::string's.
1800 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1807 * text3.C: The Box patch. Fancybox support, minipage, parbox
1809 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1815 * ParagraphParameters.h:
1825 * lyxtextclasslist.h:
1828 * paragraph_pimpl.C:
1829 * textcursor.h: add <string> and other small fixes to make Lars'
1830 std::string patch compile with STLport.
1832 2003-10-06 Angus Leeming <leeming@lyx.org>
1834 * LColor.h: Add missing #include <string>.
1836 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1838 * All most all file in all subdirs: Make <string> be the prefered
1839 way of getting to std::string, add using declarations.
1841 2003-10-06 André Pönitz <poenitz@gmx.net>
1843 * metricsinfo.C: initialize LyXFont before changing attribute.
1844 (fixes the 'math in \emph is upright' bug)
1846 2003-10-06 André Pönitz <poenitz@gmx.net>
1848 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1850 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
1853 * paragraph_pimpl.C: Small fixes to build using STLport
1855 2003-10-02 André Pönitz <poenitz@gmx.net>
1858 * text3.C: move handling of LFUN_DEPTH *; fix #1360
1860 2003-10-01 André Pönitz <poenitz@gmx.net>
1862 * factory.C: assert early
1864 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1866 * lyx_main.C: remove the global debug object
1868 * debug.h: adjust for new debugstream
1870 * debug.C: adjust for new debugstream and keep the global debug
1873 2003-09-22 Angus Leeming <leeming@lyx.org>
1875 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1876 of g++ which otherwise complain that the scoped_ptr destructor can't delete
1877 an incomplete class LyXFont.
1879 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1881 * factory.C: bug fix in branches
1883 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1885 * lyxfunc.C (processKeySym): adjust
1887 (dispatch): change arg name from ev to func, adjust
1888 (sendDispatchMessage): ditto
1890 * lyx_main.C (defaultKeyBindings): adjust keybindings
1891 (deadKeyBindings): ditto
1893 * kbsequence.C (addkey): return a FuncRequest
1895 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1897 * kbmap.C (bind): take a FuncRequest as arg, adjust
1900 (defkey): change to take a FuncRequest as arg, adjust
1901 (findbinding): take a FuncRequest as arg, adjust.
1903 * funcrequest.h (operator=): added
1905 * funcrequest.C (FuncRequest): default kb_action changed from
1906 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1908 * buffer.C (dispatch): simplify
1909 (dispatch): adjust to take a FuncRequest as arg, adjust
1911 * boost.C (assertion_failed): change assertion message slightly
1913 * ToolbarBackend.C (read): simplify
1915 * MenuBackend.C (binding): adjust call to findbinding, add a
1916 message if no binding is found.
1918 (expandToc): correct by adding a empty FuncRequest
1920 * LyXAction.C: include <boost/assert.hpp>
1921 (isPseudoAction): delete function
1922 (LookupFunc): change name to...
1923 (lookupFunc): this. change return type to FuncRequest.
1924 (getActionName): take kb_action as arg, simplify
1925 (funcHasFlag): add an assert, simplify.
1927 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1929 * toc.C (action): return a FuncRequest, simplify
1931 * lyxfunc.C (processKeySym): adjust
1932 (getStatus): delete version that takes an int.
1934 (dispatch): delete version that takes action as int
1936 (sendDispatchMessage): simplify and adjust
1938 * funcrequest.C (getArg): take unsigned int as arg
1940 * ToolbarBackend.C (read): adjust
1941 (add): delete version that takes func as a string.
1942 (getIton): take a FuncRequest as arg
1944 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1947 * MenuBackend.C (MenuItem): add a new construct that only takes a
1948 Kind, simplify the constructor use for submenus.
1950 (expandLastfiles): adjust
1951 (expandDocuments): adjust
1952 (expandFormats): adjust
1953 (expandFloatListInsert): adjust
1954 (expandFloatInsert): adjust
1955 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1957 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1958 Remove class variables lyx_pseudo_map and lyx_arg_map
1960 * LyXAction.C (searchActionArg): delete function
1961 (getPseudoAction): delete function
1962 (retrieveActionArg): delete function
1963 (LookupFunc): make it return kb_action, simplify.
1964 (getActionName): simplify
1966 * factory.C (createInset): fix new bug
1968 2003-09-19 Angus Leeming <leeming@lyx.org>
1970 * CutAndPaste.C (pasteSelection): remove fudge used to set the
1971 masterFilename_ parameter in the include inset.
1973 * factory.C (createInset): changes due to the changes to InsetInclude.
1975 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1977 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1979 2003-09-18 Angus Leeming <leeming@lyx.org>
1982 * BufferView.C: pass the buffer when calling Inset::getLabelList,
1983 Inset::fillWithBibKeys.
1984 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1986 2003-09-18 Angus Leeming <leeming@lyx.org>
1988 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1990 (ctor): pass and store a 'Buffer const &'
1991 (buffer): new member function.
1993 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1994 '*this' to the LaTeXFeatures ctor.
1996 2003-09-18 Angus Leeming <leeming@lyx.org>
2002 * text.C: rename EnumLColor as LColor_color.
2004 2003-09-18 Angus Leeming <leeming@lyx.org>
2006 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2007 remove #include "insets/insetbase.h" from cursor.h.
2009 2003-09-18 Angus Leeming <leeming@lyx.org>
2011 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2012 InsetOld_code to remove #include "inset.h".
2014 * iterators.C: add #include "insets/inset.h"
2016 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
2018 * BufferView.C: remove more locking stuff that apparently doesn't
2019 do anything sensible.
2021 2003-09-16 André Pönitz <poenitz@gmx.net>
2024 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2027 2003-09-16 Angus Leeming <leeming@lyx.org>
2029 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2031 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2034 * paragraph.h: remove #include "lyxfont.h". Forward declare
2037 2003-09-16 Angus Leeming <leeming@lyx.org>
2039 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2040 of support/textutils.h.
2041 (isWord): move the contents of support/textutils.h's IsWordChar here.
2047 * text2.C: add #include "paragraph.h".
2050 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2052 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2058 * LaTeX.C: use namespace alias for lyx::support::os
2060 2003-09-16 Angus Leeming <leeming@lyx.org>
2063 * bufferview_funcs.C:
2066 * paragraph_pimpl.C:
2068 * text.C: add #include "LColor.h".
2070 2003-09-16 Angus Leeming <leeming@lyx.org>
2072 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2073 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2075 Store the FontBits::color variable as an int rather than as an
2076 LColor::colorso that we can move LColor.h out of the lyxfont.h header
2079 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2080 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2081 string calls together.
2083 * lyxrc.C: add #include "LColor.h".
2085 2003-09-15 Angus Leeming <leeming@lyx.org>
2087 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2090 2003-09-15 Angus Leeming <leeming@lyx.org>
2092 * LColor.h: add an EnumLColor wrapper for LColor::color.
2094 * lyxfont.[Ch] (color, setColor, realColor):
2095 * lyxtext.h, text.C (backgroundColor):
2096 pass EnumLColor args to/from the functions, rather than LColor::color
2100 * lyxtext.h: forward declare EnumLColor.
2102 * lyx_main.C: add #include "LColor.h".
2104 2003-09-15 Angus Leeming <leeming@lyx.org>
2106 * .cvsignore: add lyx-gtk.
2108 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2113 * ParagraphParameters.C
2117 * bufferview_funcs.C
2127 * vc-backend.C: remove usage of STRCONV
2129 2003-09-15 Angus Leeming <leeming@lyx.org>
2131 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2132 explicitly define the color passed to the painter.
2134 2003-09-15 Angus Leeming <leeming@lyx.org>
2136 * bufferparams.C (BufferParams): reorder member initializers to avoid
2139 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
2141 * CutAndPaste.C (pasteSelection): remove an outdated #warning
2142 * text.C (updateRowPositions): remove an unusual nop
2144 2003-09-12 André Pönitz <poenitz@gmx.net>
2146 * BufferView_pimpl.C:
2155 * Counters.[Ch]: finish the 'automatic counters' job
2157 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2159 * aspell.C: include <boost/assert.cpp> (compile fix)
2161 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2163 * boost.C (assertion_failed): use lyx::support::abort instead of
2166 2003-09-10 Angus Leeming <leeming@lyx.org>
2168 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2169 with their _fwd progeny.
2171 2003-09-09 Angus Leeming <leeming@lyx.org>
2173 134 files throughtout the source tree: replace 'using namespace abc;'
2174 directives with the appropriate 'using abc::xyz;' declarations.
2176 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2178 * boost.C (emergencyCleanup): moved here from LAssert.c
2179 (assertion_failed): new function, called by BOOST_ASSERT
2181 * several files: change Assert to BOOST_ASSERT
2183 2003-09-09 Angus Leeming <leeming@lyx.org>
2185 * buffer.[Ch]: Add an Impl class and move Buffer's member
2186 variables into it. As a result move several header files out of
2189 Add header files to lots of .C files all over the tree as a result.
2191 2003-09-09 Angus Leeming <leeming@lyx.org>
2193 * buffer.[Ch]: make Buffer's member variables private. Add
2196 Lots of changes all over the tree as a result.
2198 2003-09-08 Angus Leeming <leeming@lyx.org>
2200 * graph.C: #include <config.h>.
2202 2003-09-08 Angus Leeming <leeming@lyx.org>
2206 * BufferView_pimpl.C:
2235 * toc.C: remove redundant using directives.
2237 2003-09-07 Angus Leeming <leeming@lyx.org>
2239 * LaTeXFeatures.h: remove #include "support/types.h".
2240 * ToolbarBackend.h: remove #include <algorithm>.
2241 * changes.h: remove #include <ctime>.
2242 * debug.h: remove #include <iosfwd>.
2243 * graph.h: remove #include "support/std_string.h".
2244 * lyx_main.h: remove #include <csignal>.
2245 * lyxlex_pimpl.h: remove #include <fstream>.
2246 * sgml.h: remove #include <algorithm>, <utility>.
2247 * toc.h: remove #include "support/std_ostream.h".
2248 Add #include <iosfwd>.
2250 2003-09-07 Angus Leeming <leeming@lyx.org>
2252 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2254 * converter.h: forward declare LatexRunParams.
2255 * encoding.h: remove #include "lyxrc.h".
2256 * lyxtext.h: remove #include "LColor.h".
2257 * lyxtextclass.h: remove #include "support/types.h".
2258 * trans.h: remove #include "tex-accent.h".
2259 * trans_mgr.h: remove #include "tex-accent.h".
2260 * insets/inset.h: remove #include "support/types.h", <vector>.
2261 * insets/insetcollapsable.h: remove #include "LColor.h".
2262 * insets/insetinclude.h: remove #include "dimension.h".
2263 * insets/insetlatexaccent.h: remove #include "dimension.h".
2264 * insets/insetoptarg.h:: remove #include "insettext.h".
2265 * insets/insettext.h: remove #include "dimension.h",
2266 <boost/shared_ptr.hpp>
2268 * insets/renderers.h: add #include "dimension.h".
2269 * insets/updatableinset.h: add #include "support/types.h".
2271 * many .C files: Associated changes.
2273 2003-09-06 Angus Leeming <leeming@lyx.org>
2275 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2276 one, inside testInvariant.
2278 * PrinterParams.C: new file.
2279 * PrinterParams.[Ch]: move the function bodies out of line.
2281 2003-09-06 Angus Leeming <leeming@lyx.org>
2283 * ParagraphParameters.h: forward declare ParameterStruct rather than
2284 including its header file.
2285 (depth): moved out-of-line.
2287 2003-09-06 Angus Leeming <leeming@lyx.org>
2289 * BufferView_pimpl.h:
2292 * lyxfunc.h: forward declare LyXKeySym rather than
2293 #include "frontends/LyXKeySym.h".
2295 * BufferView_pimpl.C:
2298 * lyxfunc.C: associated changes.
2300 2003-09-06 Angus Leeming <leeming@lyx.org>
2302 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2303 As a result, can remove the #include "insets/inset.h" from BufferView.h
2305 2003-09-06 Angus Leeming <leeming@lyx.org>
2307 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2308 As a result, can remove the #include "insets/inset.h" from BufferView.h
2310 2003-09-06 Angus Leeming <leeming@lyx.org>
2316 * bufferview_funcs.C:
2317 * BufferView_pimpl.C:
2322 * ParagraphParameters.C:
2327 * frontends/controllers/ControlDocument.C:
2328 * insets/insetcaption.C: rearrange the #includes into some sort of
2331 * buffer.h: remove #includes ErrorList.h, undo.h
2333 2003-09-06 Angus Leeming <leeming@lyx.org>
2335 * support/types.h: add a 'depth_type' typedef, used to store the
2336 nesting depth of a paragraph.
2339 * ParameterStruct.h: use this lyx::depth_type typedef rather than
2340 defining explicitly.
2343 * paragraph_funcs.h:
2344 * ParagraphParameters.h:
2345 * sgml.h: use lyx::depth_type rather than Paragraph or
2346 ParameterStruct's depth_type.
2349 * paragraph_funcs.h: no need to #include paragraph.h anymore.
2352 * BufferView_pimpl.C:
2354 * ParagraphParameters.C:
2357 * bufferview_funcs.C:
2364 * frontends/LyXView.C:
2365 * frontends/controllers/ControlDocument.C:
2366 * frontends/controllers/ControlErrorList.C:
2367 * insets/insetbibitem.C:
2368 * insets/insetbranch.C:
2369 * insets/insetcaption.C:
2370 * insets/insetcollapsable.C:
2371 * insets/insetenv.C:
2372 * insets/insetert.C:
2373 * insets/insetfloat.C:
2374 * insets/insetfoot.C:
2375 * insets/insetfootlike.C:
2376 * insets/insetnewline.C:
2377 * insets/insetquotes.C:
2378 * insets/insettabular.C:
2379 * insets/insettext.C:
2380 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2382 * frontends/controllers/ControlChanges.C: #include "changes.h".
2384 2003-09-06 Angus Leeming <leeming@lyx.org>
2386 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2387 than #including paragraph.h.
2390 * RowList.h: deleted. Superfluous.
2400 * insets/insettext.h: use ParagraphList_fwd.h rather than
2403 * paragraph.h: don't forward declare ParagraphList.
2406 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2407 rather than ParagraphList.h. paragraph.h is still needed for the
2408 Paragraph::depth_type parameters.
2410 * textcursor.h: enable it to compile stand-alone in light of the
2413 * bufferview_funcs.C:
2425 * frontends/controllers/ControlParagraph.C:
2426 * frontends/controllers/ControlTabular.C:
2427 * insets/insetmarginal.C:
2428 * insets/insetminipage.C:
2429 * insets/insetnote.C:
2430 * insets/insetoptarg.C: add header files needed to compile again.
2432 2003-09-06 Angus Leeming <leeming@lyx.org>
2434 * RowList_fwd.h: new file, forward-declaring Row rather than
2435 #including lyxrow.h.
2440 * insets/insettext.h: use it instead of RowList.h
2442 * bufferview_funcs.C:
2449 * text3.C: #include "RowList.h".
2451 2003-09-05 Angus Leeming <leeming@lyx.org>
2453 * factory.C (createInset):
2454 * vspace.C (c-tor): replace sscanf call with an istringstream.
2455 * ispell.C: re-add missing HP/UX headers.
2456 * lyxserver.C: re-add missing os2 headers.
2458 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
2467 * text3.C: re-add missing system headers, needed for 2.95.2.
2469 2003-09-05 Angus Leeming <leeming@lyx.org>
2471 Changes most place everywhere due to the removal of using directives
2472 from support/std_sstream.h.
2474 2003-09-05 Angus Leeming <leeming@lyx.org>
2476 Replace LString.h with support/std_string.h,
2477 Lsstream.h with support/std_sstream.h,
2478 support/LIstream.h with support/std_istream.h,
2479 support/LOstream.h with support/std_ostream.h.
2481 Changes resulting throughout the tree.
2483 2003-09-05 Angus Leeming <leeming@lyx.org>
2485 * sgml.h: ensure that the header file can be compiled stand-alone.
2486 * *.C: strip out redundant #includes. (320 in total.)
2488 2003-09-04 Angus Leeming <leeming@lyx.org>
2490 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2491 here (from getPackages).
2493 * debug.[Ch]: add a new EXTERNAL tag.
2495 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2497 * text2.C (cursorEnd): simplify
2499 (getColumnNearX): adjust
2501 * text.C (computeBidiTables): adjust
2504 * rowpainter.C (paintChars): adjust
2505 (paintSelection): adjust
2506 (paintChangeBar): adjust
2509 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2511 (numberOfSeparators): adjust
2513 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2519 * text3.C: Restricts the mouse click functionality
2520 of insets like bibtex, include, toc and floatlist to the visible
2521 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2522 up the dialogs. Cursor has to be in front of the inset (i.e.
2523 start of row) for this to function.
2525 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2527 * bufferview_funcs.C (currentState): output row information
2529 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2531 * bufferview_funcs.C (currentState): output paragraph position
2533 2003-09-04 Angus Leeming <leeming@lyx.org>
2535 * FloatList.h: move out #include "Floating.h".
2536 * LaTeX.h: move out #include "DepTable.h".
2537 * LyXAction.h: move out #include "funcrequest.h".
2538 * buffer.h: move out #include "author.h", "iterators.h".
2539 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2540 * lyx_main.h: move out #include "errorlist.h".
2541 * lyxfunc.h: move out #include "FuncStatus.h".
2542 * lyxtext: move out #include "lyxcursor.h".
2543 * paragraph_pimpl.h: move out #include "counters.h".
2545 2003-09-03 Angus Leeming <leeming@lyx.org>
2547 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2548 preamble_snippets list, enabling us to add snippets to the preamble
2549 only if the snippet was not there already.
2551 2003-09-04 Angus Leeming <leeming@lyx.org>
2553 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2555 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2557 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2560 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2562 * BranchList.C: point fix, earlier forgotten
2564 2003-09-02 Angus Leeming <leeming@lyx.org>
2566 * box.C (contains): renamed from 'contained' after a fantastic
2569 2003-09-02 John Levon <levon@movementarian.org>
2575 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2577 2003-09-02 John Levon <levon@movementarian.org>
2579 * text2.C: simplification of cursorEnd(), including partial
2582 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2584 * buffer.C (readFile): add a space
2586 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
2588 * BufferView_pimpl.C (update): remove bogus fitCursor() call
2590 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2592 * buffer.C (readFile): new function, take a filename and a
2593 ParagraphList::iterator
2595 (readFile): adjust, make it private. don't use setStream, make
2596 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2597 always contain the filename.
2599 * BufferView.C (insertLyXFile): simplify and make it work for
2602 2003-08-30 John Levon <levon@movementarian.org>
2604 * Makefile.am: fix dist (from Kayvan)
2606 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2608 * most files: change to use const Buffer refs
2610 2003-08-27 André Pönitz <poenitz@gmx.net>
2612 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2613 on top of ownerPar().
2615 2003-08-27 John Levon <levon@movementarian.org>
2617 * funcrequest.C: properly initialise POD members
2619 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2621 * lyxtext.h (top_y): move top_y from here
2626 * BufferView_pimpl.[Ch]: to here
2627 * frontends/screen.C:
2628 * insets/insettabular.C:
2629 * insets/insettext.C: adjust
2630 * rowpainter.[Ch] (paintRows): remove LyXText & argument
2632 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2635 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2637 2003-08-26 André Pönitz <poenitz@gmx.net>
2639 * paragraph_func.[Ch] (outerPar): new function
2642 * paragraph_funcs.C:
2643 * paragraph_funcs.h:
2644 * paragraph_pimpl.C:
2645 * text2.C: remove Inset::par_owner
2647 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2652 * text2.C: eliminates the needFullRow/display() stuff
2653 altogether, putting the logic in metrics/draw in the insets.
2655 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
2657 * text2.C (redoParagraphInternal, redoParagraphs):
2658 * text.C (redoParagraph): add a call to updateRowPositions at the
2659 end of each 'metrics-like' call. Remove all others.
2660 (getRow): remove the 'y-computing' version.
2661 (getRowNearY): do not compute nor return the real y. Solve the
2662 'y < 0' problem and simplify.
2664 2003-08-22 Angus Leeming <leeming@lyx.org>
2666 * *.[Ch]: clean-up of licence and author blurbs.
2667 Also move config.h out of a few .h files and into a few .C files.
2669 2003-08-22 André Pönitz <poenitz@gmx.net>
2671 * lyxrow.[Ch]: add x_ and *fill_ members
2676 * text2.C: adjust/remove prepareToPrint() calls
2678 2003-08-22 André Pönitz <poenitz@gmx.net>
2680 * lyxrow.[Ch]: add end_ member
2682 * lyxrow_funcs.C: use LyXRow::end_
2684 * lyxtext.h (singleWidth): add LyXFont parameter
2687 * text2.C: adjust LyXText::singleWidth() calls
2689 * text.C (redoParagraph): simplify row breaking logic
2692 2003-08-19 André Pönitz <poenitz@gmx.net>
2694 * funcrequest.C: initialize button_ member
2697 * rowpainter.[Ch]: interface consolidation
2699 2003-08-18 André Pönitz <poenitz@gmx.net>
2702 * BufferView_pimpl.C:
2704 * paragraph_funcs.C:
2706 * text3.C: remove LyXScreen::draw() and fitCursor calls
2708 * BranchList.h: remove spurious semicolons
2710 * MenuBackend.C: fix branchlist related crash
2712 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2720 * bufferparams.[Ch]:
2724 * text3.C: implements the 'branch inset'
2725 idea. This allows the output of various versions of a document
2726 from a single source version, selectively outputing or suppressing
2727 output of parts of the text.
2728 This implementation contains a 'branch list editor' in a separate
2729 tab of the document settings dialog. Branches are user definable
2730 and have a "display colour" to distinguish them on-screen.
2732 ColorHandler was somewhat cleaned up.
2733 (1) make possible a dynamically growing LColor list by allowing
2734 the graphic context cache to grow along (vector);
2735 (2) eliminate an IMHO unnecessary step in colour allocation.
2737 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
2739 * BufferView_pimpl.C: compile fix
2741 2003-08-15 André Pönitz <poenitz@gmx.net>
2743 * rowpainter.C: remove extra metrics calls
2745 * lyxtext.h: merge the two constructors into a single one,
2746 pass reference to owner's par list
2748 * BufferView_pimpl.C:
2752 2003-08-15 André Pönitz <poenitz@gmx.net>
2754 * lyxrow_funcs.[Ch]:
2757 * paragraph_funcs.C:
2762 * text_funcs.C: split LyXText::rowlist_ into individual
2763 Paragraph::rows_ chunks
2766 * BufferView_pimpl.[Ch]:
2769 * text3.C: remove toggleSelection()
2771 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2773 * bufferlist.C: beautify two alerts (shorter text of buttons)
2774 * buffer.C: Remove redundant ' ' from message
2776 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2777 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2778 rename VALIGN_CENTER to VALIGN_MIDDLE
2780 2003-08-11 André Pönitz <poenitz@gmx.net>
2782 * lyxtext.h (getPar):
2783 * text.C: new function
2785 2003-08-11 André Pönitz <poenitz@gmx.net>
2788 * tracer.[Ch]: remove unneeded files
2790 * InsetList.[Ch]: remove resizeInsetsLyXText()
2795 * text3.C: merge insertParagraphs() and appendParagraph()
2796 remove breakAgain(), update()
2798 * BufferView_pimpl.[Ch]:
2799 * bufferview_funcs.[Ch]:
2803 * tabular.C: adjust after text & InsetList changes.
2805 2003-08-08 André Pönitz <poenitz@gmx.net>
2807 * text.C (insertChar, backspace): replace rowlist fiddling
2808 with rebreak of full par
2811 * text.C (breakAgainOneRow, redoHeightOfParagraph,
2812 checkParagraph, updateInset): removed
2814 2003-08-07 André Pönitz <poenitz@gmx.net>
2817 * text3.C: merge some LFUN handlers, remove dead code
2819 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2821 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2823 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
2825 * text2.C (DEPM): fix part of bug 1255 and 1256
2827 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2829 * BufferView_pimpl.C (workAreaDispatch): change to use
2830 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2831 that are no mouse related.
2833 2003-08-05 André Pönitz <poenitz@gmx.net>
2836 * BufferView_pimpl.[Ch]:
2837 * bufferview_funcs.C:
2839 * text3.C: rip out "deep update"
2841 * textcursor.[Ch] (last_sel_cursor): remove unused member
2843 2003-08-04 André Pönitz <poenitz@gmx.net>
2846 * BufferView_pimpl.[Ch]:
2847 * ParagraphParameters.C:
2848 * bufferview_funcs.C:
2854 * text3.C: replace "complicated" BufferView::update(...) calls with
2857 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2859 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
2861 * Makefile.am (lyx_SOURCES): add paper.h
2863 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2865 * Makefile.am: move things around so that both lyx-qt and
2866 lyx-xforms can be built (according to --with-frontend). Then lyx
2867 is a symbolic link to lyx-[firstfrontend]
2869 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2871 * Always use std::endl with lyxerr
2873 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
2875 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2877 2003-08-01 André Pönitz <poenitz@gmx.net>
2880 * BufferView_pimpl.[Ch]:
2882 * text3.C: merge BufferView::repaint() and BufferView::update()
2884 2003-08-01 José Matos <jamatos@lyx.org>
2886 * buffer.[Ch]: file_format is no longer a buffer data element.
2888 2003-08-01 André Pönitz <poenitz@gmx.net>
2893 * text2.C: make redoParagraph more independent of current cursor
2895 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2897 * text2.C: remove unneeded members
2899 2003-07-30 André Pönitz <poenitz@gmx.net>
2901 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2903 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2904 create a single function...
2906 * paragraph_funcs.C (moveItem): ... here.
2909 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2911 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2913 * LColor.[Ch]: Add comment and greyedout logical colors.
2915 2003-07-30 André Pönitz <poenitz@gmx.net>
2917 * tabular.C: don't use Assert too heavily. This crashes where it
2920 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
2922 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2923 is disabled (bug 1232)
2925 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2927 * factory.C: limited 'arg' scope
2929 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2931 * factory.C: fixed Note submenu issues
2933 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2935 * factory.C: submenu for Note/Comment/Greyedout
2937 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
2940 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2942 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2945 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2946 greyedout. Patch provided by Jürgen Spitzmüller.
2948 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2950 * kbmap.C (read): fix error message when reading bind files
2952 2003-07-29 Angus Leeming <leeming@lyx.org>
2954 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2955 certainly does not do what it purports to do. I am doing it, and
2956 us, a favour by killing it.
2958 2003-07-28 José Matos <jamatos@lyx.org>
2960 * buffer.C (readBody, do_writeFile):
2961 * paragraph.C(readParagraph): \end_document replaces \the_end.
2963 2003-07-29 André Pönitz <poenitz@gmx.net>
2966 * BufferView_pimpl.[Ch]:
2970 * textcursor.[Ch]: remove toggleToggle & Co
2972 2003-07-28 José Matos <jamatos@fep.up.pt>
2974 * buffer.C (readParagraph):
2975 * params_func (readParToken, readParagraph):
2976 * paragraph.C (write): \layout -> \begin_layout.
2978 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2980 * lyxlex_pimpl.C (setFile): clean up slightly.
2982 * bufferparams.h: add compressed var
2984 * buffer_funcs.C (readFile): adjust for LyXLex change
2985 (newFile): ditto + simplify
2987 * buffer.C (writeFile): handle writing of compressed files
2989 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2990 Check if the file is compressed and set a bufferparm if so.
2992 * Makefile.am (lyx_LDADD): remove explicit -lz
2994 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2996 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2997 makeDocBookFile): put the real LyX version in the first line of
3001 * version.C.in: remove lyx_docversion
3003 * tabular.C (write_attribute): add a template-based version to
3004 write enums properly
3006 2003-07-28 André Pönitz <poenitz@gmx.net>
3011 * text3.C: use doubles again for x-coordinates. They are needed.
3013 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3015 * messages.C (getLocaleDir): use lyx_localedir()
3017 * lyxlex_pimpl.C (setFile): compress stuff
3019 * buffer.C (writeFile): add some compression stuff
3020 (do_writeFile): new func, dont call expliti close... will this
3023 * Makefile.am (lyx_LDADD): add -lz
3025 2003-07-28 José Matos <jamatos@fep.up.pt>
3027 * buffer.C: increment file format.
3028 * paragraph_funcs (readParagraph, readParToken):
3029 * paragraph.C (readParagraph): add \end_layout.
3031 2003-07-27 Angus Leeming <leeming@lyx.org>
3033 * Makefile.am: remove special casing for configure-time setting of
3034 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3036 * lyx_main.C (init): remove all Jean-Marc's magic setting of
3037 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3039 2003-07-26 André Pönitz <poenitz@gmx.net>
3041 * paragraph_func.[Ch]:
3042 * paragraph.C (realizeFont): inline it whereever it is used
3047 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3050 2003-07-26 André Pönitz <poenitz@gmx.net>
3054 * text2.C: get rid of LyXText::need_break_row
3056 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3058 * toc.[Ch]: put namespace toc inside namespace lyx
3060 * MenuBackend.C (expandToc2): adjust for lyx::toc
3063 * lyxfunc.C (dispatch): adjust for lyx::find
3065 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3066 lyx::find instead. Reorganize a bit.
3067 (LyXReplace): rename to replace
3068 (LyXFind): rename to find
3070 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3073 2003-07-26 André Pönitz <poenitz@gmx.net>
3075 * text.C (setHeightOfRow): restrict scope of temporary variable
3077 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
3078 code (never has been used?)
3080 2003-07-27 Asger Alstrup <alstrup@local>
3082 * text.C (fill): Optimise algorithm to exploit that we can reuse
3083 the LyXFont for many characters.
3084 (setHeightOfRow): Same thing.
3085 (rowBreakPoint): Same thing.
3087 2003-07-26 Asger Alstrup <alstrup@local>
3089 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3091 * text.C (singleWidth): Spurious font copying in hot-spot
3092 singleWidth avoided. Reorder tests for arabic for efficiency.
3094 * text.C (fill): handle empty paragraphs better.
3096 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3099 * encoding.h: add includes
3101 * lyxrc.C: remove reading of bind files
3103 * lyx_main.C (init): setup bindings and menus only if we have a
3106 * kbmap.C (read): new method. Do the actual reading of bind
3109 * converter.C (dvipdfm_options):
3112 (output): adapt PAPER_* enums.
3114 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3116 * bufferparams.h: remove paper-related enums from there
3118 * paper.h: New file. A trivial header file to hold paper-related
3119 enums. It should later expand to contain many paper-related
3122 * lyxrc.C: declare extern displayTranslator
3124 2003-07-27 José Matos <jamatos@fep.up.pt>
3126 * tabular.[Ch] (linuxdoc): add support for tables and figures
3129 2003-07-27 José Matos <jamatos@fep.up.pt>
3131 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3132 consistency in both functions.
3133 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3135 2003-07-26 Asger Alstrup <alstrup@local>
3137 * rowpainter.C (paintRows): Change algorithm to work directly on
3138 the insets rather than asking every character in the document
3139 whether its an inset.
3141 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
3143 * buffer.C (openFileWrite): factorize some code
3145 2003-07-26 Angus Leeming <leeming@lyx.org>
3148 * lyx_main.[Ch]: replace occurances of system_tempdir with
3151 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3153 * rename Inset to InsetOld
3155 2003-07-25 Asger Alstrup <alstrup@diku.dk>
3157 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3158 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3159 which I think is a bit clearer. EDIT is gone, since it was
3160 premature optimisation, and broken for mathed anyway.
3161 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3162 with cursor positioning in insets as well (math insets still do not
3163 work, but that's a different story anyway.) It mysteriously
3164 crashes sometimes with undo in the first paragraph, but I'm fairly
3165 confident that this is a compiler bug.
3167 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3169 * paragraph.C (Paragraph): adjust for new clone return type
3171 (copyIntoMinibuffer): ditto
3173 2003-07-25 Asger Alstrup <alstrup@lyx.org>
3175 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3176 by not having a special case, and always doing a full rebreak of
3177 the document after undo.
3179 2003-07-23 Angus Leeming <leeming@lyx.org>
3181 * factory.C (createInset): InsetExternal::setParams now takes a
3184 2003-07-23 Angus Leeming <leeming@lyx.org>
3186 * factory.C (createInset): changed interface to the external and
3187 graphics mailers' string2params functions.
3189 2003-07-23 Angus Leeming <leeming@lyx.org>
3191 * factory.C (createInset): pass a
3192 Buffer const * parameter to InsetExternalMailer's string2params.
3194 2003-07-22 John Levon <levon@movementarian.org>
3196 * Thesaurus.h: include the right aiksaurus header
3198 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3200 * MenuBackend.C (expand): check menu shortcuts unconditionally
3202 2003-07-21 Angus Leeming <leeming@lyx.org>
3204 * factory.C (createInset): pass a
3205 buffer_path parameter to InsetGraphicsMailer's string2params.
3207 2003-07-21 Angus Leeming <leeming@lyx.org>
3209 * BufferView_pimpl.C (buffer):
3212 * lyxfunc.C (dispatch):
3213 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3214 rather than the grfx shortcut.
3216 2003-07-21 André Pönitz <poenitz@gmx.net>
3218 * rowpainter.C: remove unused variables
3221 * tabular_funcs.h: move to tabular.C
3222 * Makefile.am: adjust
3224 * tabular.[Ch]: basic optical cleaning
3226 * author.h: pass references, not values
3228 2003-07-18 André Pönitz <poenitz@gmx.net>
3236 * text3.C: two-phase drawing for InsetText and InsetTabular
3237 some float -> int changes.
3239 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3241 * lyx_main.C: fix the fix
3243 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3245 * lyx_main.C: fix a crash in batch mode if no files specified
3248 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
3250 * format.[Ch] (papersize): moved to BufferParams
3251 * converter.[Ch] (dvips_options): moved to BufferParams
3252 (dvipdfm_options): moved to anon namespace
3253 * bufferparams.[Ch]: added above functions.
3255 2003-07-17 André Pönitz <poenitz@gmx.net>
3259 * text2.C: don't call inset->update() anymore
3261 * metricsinfo.[Ch]: add convenience constructor
3263 2003-07-16 André Pönitz <poenitz@gmx.net>
3268 * text2.C: replace the LyXCursor::irow_ member with
3269 on-demand computation of the value
3271 2003-07-16 John Levon <levon@movementarian.org>
3273 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3275 2003-07-15 André Pönitz <poenitz@gmx.net>
3278 * text2.C: remove no more needed refresh_row
3280 2003-07-15 André Pönitz <poenitz@gmx.net>
3285 * text3.C: refresh_status tristate -> need_update bool
3287 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3289 * lyxtext.h (init): remove reinit argument (act as if always true)
3290 * text2.C: adjust to that
3292 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3294 * bufferview_funcs.[Ch]: introduce function replaceSelection()
3295 * text3.C: use it to delete selections in some cases
3296 (bugs 441, 673, 702, 954).
3298 2003-07-14 André Pönitz <poenitz@gmx.net>
3300 * rowpainter.[Ch]: reduce interface
3302 2003-07-14 André Pönitz <poenitz@gmx.net>
3304 * BufferView_pimpl.C:
3305 * text2.C: adjust after removing unused BufferView * argument
3307 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
3309 * text2.C (init): fix a crash fired on resize
3311 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
3313 * buffer.[Ch]: added new closing signal
3314 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3315 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3316 BufferView::Pimpl via the closing the signal
3318 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
3320 * buffer.[Ch]: take out all bv-related from buffer
3322 * BufferView_pimpl.[Ch]: connect to new signals
3323 * CutAndPaste.C: removed useless asserts
3324 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3327 * lyxfunc.C: moved view-related funciontality from vc here
3328 * paragraph.C: removed outdated comments
3331 2003-07-10 André Pönitz <poenitz@gmx.net>
3333 * BufferView_pimpl.C:
3337 * text2.C: remove InsetText::InnerCache, clean up consequences
3339 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3341 * ispell.C: fix two typos in error messages
3343 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
3345 * Extend Note inset to other forms of annotation like Comment
3346 and Greyedout. Right button click gives dialog.
3348 Files modified or added (+):
3352 * ControlNote.[Ch] +
3354 * Makefile.am in frontends/xforms, frontends/xforms/forms,
3355 frontends/controllers
3359 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3361 * aspell.C: add missing namespace lyx::support
3363 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
3365 * BufferView.[Ch] (newFile): Add
3366 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3367 * LaTeX.[Ch] (message): added this signal and use it
3368 * buffer.[Ch] (busy, message): added these signals and use them
3369 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3373 * importer.C: use buffer signals instead of direct bv calling
3374 * lyx_cb.[Ch] (ShowMessage): removed
3377 * paragraph_funcs.C:
3378 * text2.C: use buffer signals
3380 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3382 * introduce namespace lyx::graphics
3384 2003-07-02 André Pönitz <poenitz@gmx.net>
3386 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3388 2003-07-01 André Pönitz <poenitz@gmx.net>
3395 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3396 text*.C to text_func.C
3398 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3400 * introduce namespace lyx::support
3402 2003-06-30 André Pönitz <poenitz@gmx.net>
3407 * text.C: re-enable --with-included-string
3409 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3411 * textcursor.C: add <config.h>
3413 * text.C (getWord): remove const from word_location arg
3415 * lyxvc.C (getLogFile): fix const type order
3417 * lyxtext.h: remove const from word_location arg, add arg name
3419 * lyxlayout.h: currect type on labeltype.
3421 * importer.C: correct \file
3423 * converter.C (intToFormat): use std:: on ret val, ws changes
3425 * bufferlist.h: correct \file
3427 * buffer.C (makeLinuxDocFile): fix const type order
3428 (makeDocBookFile): ditto
3429 (fillWithBibKeys): use std:: on stdlib args.
3431 * CutAndPaste.C: fix authors.
3432 (availableSelections): use std:: on return vector
3434 2003-06-27 André Pönitz <poenitz@gmx.net>
3436 * BufferView_pimpl.C:
3437 * bufferview_funcs.C:
3445 * text3.C: remove LyXCursor::row_ member
3448 * text.C: rename fullRebreak() to partialRebreak() and implement
3449 a fullRebreak() that really bereks fully
3451 * textcursor.h: new struct for cursor-related data
3453 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
3455 * lyx_main.C (LyX): get full path of document loaded on the
3458 2003-06-26 André Pönitz <poenitz@gmx.net>
3460 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3461 remove unused/broken operator>,<,>=.
3463 * text.C: remove only use of broken operator<= in an Assert().
3465 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3467 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3468 moved errorlist_.clear to showErrorList
3470 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3472 * converter.C (scanLog, runLaTeX):
3473 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3474 move the bv->showErrorList call to the callers
3475 * lyxfunc.C: i.e. here...
3477 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3478 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3479 namespace, the second to...
3480 * buffer_funcs (BufferFormat, parseErrors): added
3481 * errorlist.C (ErrorList(TeXErrors const &)): removed
3483 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3485 * ToolbarBackend.C (getIcon): complain when icon cannot be found
3487 2003-06-24 "Garst R. Reese" <reese@isn.net>
3491 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3493 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3495 * version.C.in: change docversion to 1.4
3497 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
3499 * buffer.C: fix a bug just introduced
3501 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3503 * buffer.[Ch]: added the parseError signal and use it, removed
3505 * BufferView.[Ch] (addError): moved to ...
3506 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3507 to the Buffer::parseError signal to catch (guess what) parse errors
3508 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3510 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3512 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3513 ability to create a buffer and to return an existing one from
3514 the list. Moved these functions to...
3515 * buffer_funcs.[Ch]: added
3516 * BufferView.[Ch] (loadLyXFile): added
3517 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3518 job removed from bufferlist::loadLyXFile.
3519 * buffer.C (setReadOnly): make it work without view
3520 (i.e added an if (users))
3522 2003-06-19 Angus Leeming <leeming@lyx.org>
3525 * LyXAction.C (init):
3526 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3527 with LFUN_DIALOG_SHOW <name> <data>.
3529 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3531 * CutAndPaste.C (availableSelections): small compilation fix for
3532 ancient (gcc 2.9x) compilers
3534 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3536 * text3.C (cursorNext): add tmp var
3538 * text2.C (updateCounters): for function calling out of for clause
3539 (replaceSelectionWithString): ditto
3540 (insertStringAsParagraphs): ditto
3541 (getColumnNearX): add tmp var
3542 (setCursorFromCoordinates): add tmp var
3543 (cursorDownParagraph): add tmp var
3544 (deleteEmptyParagraphMechanism): add tmp var
3546 * text.C (insertChar): add tmp var
3548 * rowpainter.C (paintDepthBar): add tmp var
3550 * CutAndPaste.C (availableSelections): potentially check all
3551 paragraphs in a cut to fill the shown strings.
3553 2003-06-18 André Pönitz <poenitz@gmx.net>
3555 * kbmap.[Ch]: use vector<> instead of list<>
3557 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3559 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3560 pasteSelection with index
3562 * text2.C (pasteSelection): modify, call pasteSelection with index
3564 * paragraph.C (asString): reimplement version with no interval to
3565 call the one with interval.
3567 * lyxtext.h: add index arg to pasteSelection
3569 * MenuBackend.C (MenuItem): handle PasteRecent
3570 (Menu::read::Menutags): add md_pasterecent
3572 (expandPasteRecent): new function
3575 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3577 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3579 (availableSelections): new function
3581 2003-06-17 Angus Leeming <leeming@lyx.org>
3583 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3585 2003-06-17 Angus Leeming <leeming@lyx.org>
3588 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3590 * lyxfunc.C (dispatch): invoke it.
3592 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3594 * iterators.C (operator++, ParPosition): reintroduce some
3595 const_cast for the benefit of older compilers.
3597 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3599 * text3.C (dispatch): do not modify clipboard when doing
3600 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3601 LFUN_DELETE_SKIP on a selection selection
3603 2003-06-16 André Pönitz <poenitz@gmx.net>
3609 * tabular.[Ch]: IU of clone() and getLabelList();
3611 2003-06-13 André Pönitz <poenitz@gmx.net>
3613 * tabular.h: compactification
3615 2003-06-12 André Pönitz <poenitz@gmx.net>
3619 * tabular_funcs.h: some renaming plus whitespace
3621 2003-06-12 André Pönitz <poenitz@gmx.net>
3624 * BufferView_pimpl.C:
3630 * toc.C: Return a Paragraph & for ParIterator::operator*()
3632 2003-06-11 John Levon <levon@movementarian.org>
3636 * ToolbarBackend.C: add "Toolbars" section and
3639 2003-06-10 Angus Leeming <leeming@lyx.org>
3642 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3644 * lyxfunc.C (dispatch): invoke it.
3646 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3648 * main.C: protect <ios> with HAVE_IOS
3649 (main): protect sync_with_stdio with HAVE_IOS
3651 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3653 * text2.C (cutSelection): adjust
3654 (pasteSelection): adjust
3656 * messages.C: handle get of empty string
3658 * main.C (main): use sync_with_stdio(false)
3660 * lyxfunc.C (dispatch): adjust
3662 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3663 (WriteAs): remove unneeded BufferView arg.
3665 * bufferparams.h: use correct types on papersize, papersize2 and
3668 * bufferparams.C (readToken): adjust for type
3669 (writeLaTeX): add missing cases to switch.
3671 * bufferlist.C (quitWriteBuffer): adjust
3674 * buffer.C (asciiParagraph): remove some commented code.
3676 * CutAndPaste.C: remove current_view extern variable.
3677 (cutSelection): add BufferParams arg.
3678 (eraseSelection): add BufferParams arg.
3679 (pasteSelection): add Buffer const & arg
3681 2003-06-07 John Levon <levon@movementarian.org>
3684 * paragraph_funcs.C:
3685 * paragraph_pimpl.C:
3689 * paragraph.C: allow InsetERT to freely space lines,
3690 and some consolidation of code
3692 2003-06-06 José Matos <jamatos@fep.up.pt>
3694 * buffer.C (makeDocBookFile): fix bug #821
3696 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3698 * BufferView_pimpl.C (dispatch): use Dialogs::visible
3700 2003-06-04 Angus Leeming <leeming@lyx.org>
3702 * buffer.C: bump format to 224.
3704 2003-06-05 André Pönitz <poenitz@gmx.net>
3706 * text2.C (redoParagraphs): remove two const_cast<>
3708 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3710 * ParagraphList.h: remove last remnants of NO_STD_LIST
3712 2003-06-03 Angus Leeming <leeming@lyx.org>
3714 * factory.C (createInset): small change to the way InsetExternal's params
3717 2003-06-04 André Pönitz <poenitz@gmx.net>
3719 * buffer.h: use Undo directly instead of shared_ptr<Undo>
3721 * paragraph_pimpl.h:
3722 * paragraph.[Ch]: some Inset -> UpdatableInset changes
3724 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3726 * undo_funcs.C: make some simple cases of undo work again
3728 2003-06-03 John Levon <levon@movementarian.org>
3730 * ispell.C: HPUX doesn't have sys/select.h
3733 2003-06-03 John Levon <levon@movementarian.org>
3735 * CutAndPaste.C: update tabular and include inset
3740 * paragraph.C: remove owningBuffer(), don't pass Buffer
3743 * factory.C: insetGraphicsParams changed
3745 2003-06-02 John Levon <levon@movementarian.org>
3751 * text3.C: remove insetparent
3753 2003-06-02 John Levon <levon@movementarian.org>
3756 * buffer.C: fix inset_iterator.end(), move out of line
3759 2003-06-01 John Levon <levon@movementarian.org>
3761 * text3.C: use a proper cut/paste when doing inset
3762 insert (from Jürgen Spitzmüller)
3764 2003-06-01 John Levon <levon@movementarian.org>
3766 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3768 2003-05-30 André Pönitz <poenitz@gmx.net>
3770 * rowpainter.C: unify second drawing phase
3772 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3774 * trans_mgr.C: remove one case of current_view
3776 * text2.C (cursorBottom): delete NO_STD_LIST stuff
3778 * paragraph_funcs.h: remove paragraph.h include
3780 * paragraph.h: delete NO_STD_LIST stuff
3782 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3784 * buffer.h: remove paragraph.h include
3786 * ParagraphList.C: delete file
3788 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3790 * toc.C (getTocList): adjust
3792 * paragraph_pimpl.C (validate): adjust
3794 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3796 * paragraph.C (Paragraph): adjust
3797 (getPositionOfInset): use const_iterator, adjust
3798 (bibitem): use const_iterator, adjust
3799 (setInsetOwner): adjust
3801 * iterators.C (operator++): adjust
3803 * InsetList.[Ch]: Replace selfmade iterator with standard
3804 vector::iterator also introduce const_iterator. Remove getPos,
3805 getInset and setInset from InsetTable. Adjust accordingly.
3807 * BufferView.C (lockInset): adjust
3808 (ChangeInsets): adjust
3810 * tabular.[Ch]: delete commented same_id functions
3812 2003-05-28 John Levon <levon@movementarian.org>
3814 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3816 2003-05-28 André Pönitz <poenitz@gmx.net>
3818 * metricsinfo.[Ch]: remove 'fullredraw' member
3820 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
3822 * lyxtextclass.C (operator): remove caching.
3824 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3828 * text2.C (cursorBottom): adjust
3829 (setCounter): use ParagraphList::find, adjust
3831 * text.C (workWidth): use ParagraphList::find, adjust
3833 * lyxcursor.C (LyXCursor): adjust
3835 * buffer.C (inset_iterator): adjust
3837 * ParagraphList.h: make iterator(value_type) private, make
3838 ParagraphList a friend of iterator.
3840 * ParagraphList.C (find): new function
3842 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3844 2003-05-27 André Pönitz <poenitz@gmx.net>
3846 * dimension.[Ch]: a -> asc, d -> des, w -> wid
3848 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3850 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3852 2003-05-26 John Levon <levon@movementarian.org>
3854 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3856 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3858 * remove same_id from function signatures, adjust.
3860 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3862 * undo_funcs.C (createUndo): use the id functions directly, adjust.
3864 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3866 * paragraph.C (Paragraph): get rid of same_ids parameter
3868 * ParagraphList.C (insert): adjust
3871 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3873 * paragraph_funcs.C (breakParagraph): adjust
3874 (breakParagraphConservative): adjust
3876 * buffer.C (readParagraph): adjust
3878 * ParagraphList.C (insert): take a reference instead of a pointer
3881 * paragraph.[Ch] (id): new function
3883 * bufferlist.C (newFile): adjust
3885 * ParagraphList.C (ParagraphList): adjust
3887 (push_back): take a reference instead of a pointer.
3889 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3891 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3894 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3895 set else use old code.
3897 * ParagraphList.C: remove all NO_NEXT code and only compile this
3898 code of NO_STD_LIST is set.
3900 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3902 * BufferView_pimpl.C:
3912 * graphics/GraphicsConverter.C:
3913 * graphics/PreviewLoader.C: header adjustment
3915 2003-05-23 Angus Leeming <leeming@lyx.org>
3917 * LaTeXFeatures.[Ch] (useBabel): new method.
3918 * bufferparams.C (writeLaTeX): use it.
3920 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3922 * ParagraphList.h (set): remove unused function.
3924 2003-05-23 André Pönitz <poenitz@gmx.net>
3927 * BufferView_pimpl.C:
3931 * undo_funcs.C: setUndo reworked
3933 * iterators.[Ch]: add access to topmost ParagraphList
3935 * lyxtext.[Ch] (workWidth): add a const
3937 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3939 * texrow.[Ch] (increasePos): remove function
3940 * exporter.C (export): removed unused var and outdated comment
3942 2003-05-23 Angus Leeming <leeming@lyx.org>
3944 * latexrunparams.h: rename fragile as moving_arg.
3945 * paragraph.C (simpleTeXOnePar): ditto.
3946 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3948 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3950 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3952 (textUndoOrRedo): comment out a currently unused var.
3954 * paragraph.h (NO_NEXT): enable NO_NEXT
3956 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3958 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3960 * exporter.C (Export): adjust for removeAutoInsets removal.
3962 * buffer.C (runChktex): adjust for removeAutoInsets removal.
3964 * LyXAction.C (init): remove LFUN_REMOVEERRORS
3966 * BufferView.[Ch] (removeAutoInsets): delete function
3968 2003-05-22 Angus Leeming <leeming@lyx.org>
3970 * latexrunparams.h: add a free_spacing variable.
3972 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3973 to pass moving_arg, as the data is stored in runparams.fragile.
3975 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3976 to Inset::latexOptional or to simpleTeXOnePar.
3978 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3979 free_spacing arg to Inset::latexOptional.
3981 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3984 2003-05-22 Angus Leeming <leeming@lyx.org>
3986 * latexrunparams.h: add fragile and use_babel variables.
3988 * bufferparams.[Ch] (writeLaTeX): return use_babel.
3989 * buffer.C (makeLaTeXFile): store this returned value in
3990 runparams.use_babel, thus passing it to the inset::latex methods.
3992 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3993 simpleTeXSpecialChars as it is now stored in runparams.fragile.
3995 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3996 longer has a fragile arg, as it is stored in runparams.fragile.
3998 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3999 moving_arg parameter as the data is stored in runparams.fragile.
4001 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4002 a fragile parameter as the data is stored in runparams.fragile.
4004 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4006 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4008 2003-05-22 Angus Leeming <leeming@lyx.org>
4010 * latexrunparams.h: add a 'bool nice' which defaults to false.
4012 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4013 now encapsulated within runparams.
4015 * bufferlist.C (updateIncludedTeXfiles):
4016 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4018 2003-05-22 Angus Leeming <leeming@lyx.org>
4020 * latexrunparams.h: new file containing struct LatexRunParams.
4021 * Makefile.am: add new file.
4023 * LaTeX.[Ch] (c-tor, run):
4024 * buffer.[Ch] (makeLaTeXFile):
4025 * bufferlist.[Ch] (updateIncludedTeXfiles):
4026 * converter.C (convert, scanLog):
4027 * converter.[Ch] (runLaTeX):
4028 * exporter.C (Export):
4029 * paragraph.[Ch] (simpleTeXOnePar):
4030 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4031 * paragraph_funcs.[Ch] (latexParagraphs):
4032 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4033 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4034 pass around a LatexRunParams parameter.
4036 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4038 * paragraph.[Ch]: remove unused constructor
4040 * ParagraphList.C (erase): new function, taking two iterators
4042 2003-05-22 André Pönitz <poenitz@gmx.net>
4044 * undo_funcs.C: remove duplicated code
4046 * iterator.[Ch]: operator=
4048 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4050 * tabular.C (SetMultiColumn): ws changes
4052 * rowpainter.C (paintFirst): get rid of a ->previous
4054 * lyx_cb.C (getPossibleLabel): parlist simplification
4056 * BufferView.C (ChangeInsets): simplify slightly.
4058 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4060 * LyXAction.C: new lfun space-insert, kill protected-space-insert
4061 * lfuns.h: new LFUN_SPACE
4062 * lyxfunc.C: protected space has a new lfun
4063 * paragraph_funcs.C: read new space insets
4065 * factory.C: handle new space insets
4067 2003-05-22 André Pönitz <poenitz@gmx.net>
4070 * BufferView_pimpl.C:
4073 * undo_funcs.C: return a ParIterator from getParFromID.
4075 * iterators.[Ch]: add two const's
4077 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4079 * toc.C (getTocList): adjust
4081 * iterators.[Ch]: rework for parlist
4083 * buffer.C (par_iterator_begin): adjust
4084 (par_iterator_end): adjust
4086 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4088 * BufferView.C (removeAutoInsets): adjust
4089 (ChangeInsets): adjust
4091 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
4093 * text.C (top_y): fix bug 1110
4095 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
4097 * errorlist.[Ch]: added
4100 * BufferView_pimpl.C:
4101 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4104 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4106 * Makefile.am: ensure that lyx is relinked upon changes to the
4107 various "convenience" libs.
4109 2003-05-20 Angus Leeming <leeming@lyx.org>
4111 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4112 files are compiled in alphabetical order again.
4114 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4116 2003-05-19 Angus Leeming <leeming@lyx.org>
4118 * gettext.[Ch]: remove "char const * _(char const *)".
4120 2003-05-19 André Pönitz <poenitz@gmx.net>
4122 * dimension.[Ch]: promote from mathed/dimension.[Ch]
4131 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4133 2003-05-19 André Pönitz <poenitz@gmx.net>
4137 * lyxtextclass.[Ch]:
4139 * paragraph_funcs.[Ch]:
4141 * text3.C: more insetenv work
4143 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
4145 * ParagraphParameters.C (params2string): small bug fixed
4147 2003-05-16 André Pönitz <poenitz@gmx.net>
4150 * bufferview_funcs.C: patch from Kornel Benko to prevent
4151 crash when _(...) is called twice in a statement
4153 2003-05-16 André Pönitz <poenitz@gmx.net>
4160 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4162 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
4164 * lyx_main.C (init): remove spurious static_cast
4166 2003-05-14 André Pönitz <poenitz@gmx.net>
4168 * BufferView.C: fix format string
4170 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
4172 * BufferView.[Ch] (insertErrors): removed
4173 * BufferView.[Ch] (showErrorList): added
4174 * buffer.C (runChkTeX):
4175 * converter.C (scanLog): call showErrorList instead of inserterrors
4177 2003-05-13 André Pönitz <poenitz@gmx.net>
4179 * BufferView_pimpl.C:
4181 * bufferview_func.C:
4188 * tabular_funcs.h: tostr() from its own header
4190 * ParagraphParameters.C:
4195 * text3.C: STRCONV()
4197 2003-05-12 André Pönitz <poenitz@gmx.net>
4200 * BufferView_pimpl.C:
4204 * ParagraphParameters.C:
4208 * bufferview_funcs.C:
4221 * paragraph_funcs.C:
4225 * text3.C: boost::format -> bformat all over the place
4228 2003-05-09 André Pönitz <poenitz@gmx.net>
4230 * LColor.[Ch]: Pimpl the #include <map> away
4232 2003-05-09 John Levon <levon@movementarian.org>
4234 * bufferlist.C: never remove emergency saves
4236 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4238 * Makefile.am: better lib building
4240 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4242 * texrow.[Ch]: remove dependency on Paragraph and just store a id
4244 * paragraph_pimpl.C (simpleTeXBlanks): adjust
4245 (simpleTeXSpecialChars): adjust
4246 (simpleTeXSpecialChars): adjust
4247 * paragraph.C (simpleTeXOnePar): adjust
4248 * buffer.C (makeLaTeXFile): adjust
4250 * Makefile.am (BOOST_LIBS): allow boost as system lib.
4252 * text2.C (changeDepth): parlist cleanup
4253 (getColumnNearX): ditto
4255 * rowpainter.C (getLabelFont): parlist cleanup
4257 * bufferlist.C (newFile): parlist cleanup
4259 * CutAndPaste.C (eraseSelection): parlist cleanup
4261 * BufferView_pimpl.C (trackChanges): parlist cleanup
4264 * BufferView.C (lockInset): parlist cleanup.
4265 (ChangeInsets): ditto
4267 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4269 * CutAndPaste.h: Update file header.
4271 * CutAndPaste.C: Update file header.
4272 Store the parts cut out of the Document in a limited_stack.
4273 (copySelection): adjust
4274 (pasteSelection): new function, takes the index in the limited stack.
4275 (nrOfParagraphs): adjust
4276 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4277 simplify error inset insertion.
4278 (checkPastePossible): adjust
4280 2003-05-06 John Levon <levon@movementarian.org>
4282 * text2.C: don't cast wrap inset to float
4284 2003-05-05 André Pönitz <poenitz@gmx.net>
4287 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4289 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4290 few naked Paragraph *.
4292 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
4294 * bufferparams.C: Output warning if a document with missing
4295 TeX document class is loaded
4296 * exporter.C: Disable TeX exports if the document class is missing
4299 * lyxtextclasslist.C: Handle new textclass.lst format; new method
4300 isTeXClassAvailable()
4302 2003-05-03 John Levon <levon@movementarian.org>
4305 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4306 explicit cursor show/hide
4308 * BufferView_pimpl.h:
4309 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4310 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4312 * lyxfunc.C: hide cursor before dispatching.
4317 * text3.C: remove explicit cursor hides
4319 2003-05-02 André Pönitz <poenitz@gmx.net>
4321 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4324 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4327 * text2.C: tiny whitespace
4329 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4331 * undo_funcs.C: almost only ws changes.
4333 * ParagraphList.C (splice): just return if pl is empty.
4335 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4337 * ParagraphList.C (splice): new function.
4339 * CutAndPaste.C (pasteSelection): use it
4341 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4343 * CutAndPaste.C (pasteSelection): remove the last next and
4344 previous from this file.
4346 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4348 * CutAndPaste.C (pasteSelection): more clean up, user proper
4349 ParagraphList functions for pasteing.
4351 * ParagraphList.C (insert): new function, three arg insert
4353 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4355 * ParagraphList.C (insert): new function, three arg insert
4357 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4360 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4362 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4364 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4366 * CutAndPaste.C (pasteSelection): remove some unneeded code.
4368 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4370 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4371 (copySelection): clean up a bit.
4372 (pasteSelection): use make_pair
4374 * ParagraphList.C (ParagraphList): implement copy constructor
4375 (operator=): implement, base on copy constructor.
4378 * paragraph.C (erase): return a bool
4380 * paragraph_pimpl.C (erasePos): remove function, move contents...
4381 (erase): ... here. Return a bool.
4382 (erase): call erase instead of erasePos.
4384 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
4386 * ParagraphList.h: define PitPosPair
4387 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4388 ParagraphList, fix a bug on pasting multiple pars
4389 * text2.C: change interface to C&P
4391 2003-04-30 André Pönitz <poenitz@gmx.net>
4393 * undo_func.C: revert part of yesterday's patch 2
4395 2003-04-30 John Levon <levon@movementarian.org>
4397 * LColor.C: s/tabular/table/
4399 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4401 * text3.C (dispatch): do not convert iterator -> pointer
4402 * undo_funcs.C (setCursorParUndo): ditto
4403 * text_funcs.C (transposeChars): ditto
4405 * text2.C (setLayout): ws changes only
4407 * text.C (breakParagraph): do not convert iterator -> pointer
4409 (acceptChange): ditto
4410 (rejectChange): ditto
4415 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4418 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4420 * text3.C (gotoInset): YABG (yet another bad getChar)
4422 2003-04-29 André Pönitz <poenitz@gmx.net>
4424 * paragraph.h: make operator= private unimplemented as long as
4427 * ParagraphList.C: whitespace
4430 * paragraph_pimpl.[Ch]:
4431 * paragraph_funcs.C:
4433 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
4436 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4438 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4440 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4441 * paragraph.[Ch] (erase):
4442 * paragraph_pimpl.[Ch] (erase): change return type and value
4443 * text2.C (cutSelection): some rework
4445 2003-04-28 John Levon <levon@movementarian.org>
4447 * bufferlist.C: changes for unsaved changes dialog
4449 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4451 * bufferlist.C (newFile): set language (messages_) for new
4454 * buffer.C (readFile): ws changes only.
4456 2003-04-28 André Pönitz <poenitz@gmx.net>
4461 * BufferView_pimpl.C:
4462 * BufferView.C: getParFromID related ParagraphList::iterator changes
4464 2003-04-28 André Pönitz <poenitz@gmx.net>
4466 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4469 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4471 * messages.C: remove one more localedir class variable.
4473 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4475 * messages.C (getLocaleDir): singleton generation function
4477 (Messages): add a default constructor.
4479 * main.C (main): do not setup localedir here, do not call
4482 * gettext.C (_): use it.
4483 (gettext_init): delete funciton
4485 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4487 * gettext.C (getLyXMessages): new singleton generating function.
4489 * buffer.C (updateDocLang): adjust
4491 * Makefile.am (messages.o): add target
4492 (main.o): remove target
4494 2003-04-27 John Levon <levon@movementarian.org>
4499 * lyxvc.C: specify cancel button in Alert::prompt
4501 2003-04-26 John Levon <levon@movementarian.org>
4506 * LyXAction.C: add LFUN_INSET_SETTINGS
4508 * lyxfunc.C: don't enable tabular-feature when there's
4509 just any locking inset
4511 2003-04-26 John Levon <levon@movementarian.org>
4513 * bufferlist.C: re-add Cancel to buffer close question
4515 * lyxfunc.C: fix import UI a bit
4517 2003-04-25 John Levon <levon@movementarian.org>
4519 * gettext.C: remove the broken asserts for now
4521 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4523 * messages.C: make case where setlocale cannot comply work better.
4525 * buffer.C (updateDocLang): new function
4526 (changeLanguage): use it
4529 * text2.C (setCounter): use B_ a bit.
4531 * lyxlayout.C (Read): be sure to trim the label strings.
4533 * messages.C (Messages): fix typo in comment
4535 * buffer.C (readFile): set message_ after file is loaded.
4536 (makeDocBookFile): remove double return
4537 (changeLanguage): reset message_ upon language change.
4538 (B_): new func, use this to get translated buffer strings.
4540 * main.C: add myself and Jean Marc as authors.
4542 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4544 * messages.[hC]: pimplify Messages, and three different pimpls to be
4545 used in different circumstances.
4547 * gettext.[Ch]: change for use with new message code.
4549 2003-04-24 André Pönitz <poenitz@gmx.net>
4551 * factory.C: support for eqref
4553 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4555 * messages.[Ch]: add missing char
4557 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4559 * messages.[Ch]: New files
4561 2003-04-18 John Levon <levon@movementarian.org>
4565 * BufferView_pimpl.C:
4569 * text2.C: remove layout-copy/paste (bug 778)
4571 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4573 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4575 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4577 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4578 if they succeed. Act accordingly.
4580 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4582 * text2.C (setCharFont): adjust
4583 (setCounter): adjust
4584 (insertStringAsLines): adjust
4586 * text.C (leftMargin): adjust
4587 (setHeightOfRow): adjust
4589 * rowpainter.C (paintFirst): adjust
4592 * paragraph_funcs.C (depthHook): ParagraphList::iterators
4594 (isFirstInSequence): ditto
4595 (getEndLabel): ditto
4598 * paragraph.C (getParLanguage): comment out some hard stuff.
4600 * buffer.C (insertStringAsLines): take a ParagraphList as arg
4602 (simpleDocBookOnePar): ditto
4603 (makeDocBookFile): use ParagraphList::iterator
4605 * CutAndPaste.C (pasteSelection): adjust
4607 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4609 * text2.C (getFont): adjust
4610 (getLayoutFont): adjust
4611 (getLabelFont): adjust
4613 * paragraph_funcs.C (TeXOnePar): adjust
4615 * buffer.C (simpleLinuxDocOnePar): adjust
4616 (simpleDocBookOnePar): adjust
4618 * CutAndPaste.C (pasteSelection): adjust
4620 * BufferView.C (getEncoding): adjust
4622 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4624 2003-04-16 John Levon <levon@movementarian.org>
4626 * lyxfind.C: use parlist stuff for search/changes
4628 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4630 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4632 * text2.C (deleteEmptyParagraphMechanism): adjust
4634 * text2.[Ch] (ownerParagraph): delete func (both of them
4636 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4638 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4640 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4642 * ParagraphList.C: prepare for NO_NEXT
4644 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4646 * text2.C (getFont): adjust
4647 (getLayoutFont): adjust
4648 (getLabelFont): adjust
4650 * paragraph.C (getFont): adjust
4651 (getLabelFont): adjust
4652 (getLayoutFont): adjust
4654 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4656 2003-04-15 John Levon <levon@movementarian.org>
4660 * lyx_main.C: handle Include in .ui files
4662 2003-04-15 John Levon <levon@movementarian.org>
4664 * MenuBackend.C: make the doc files length shorter
4667 * ToolbarBackend.C: handle toolbar placement flags,
4670 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4672 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4675 * paragraph_funcs.C (TeXOnePar): adjust
4677 * paragraph.C (getLabelFont): add outerfont arg, adjust
4678 (getLayoutFont): ditto
4679 (simpleTeXOnePar): adjust
4681 * paragraph_pimpl.C (realizeFont): delete func
4683 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
4685 * text2.C (beforeFullRowInset): added a bad getchar check, removed
4686 row argument, constify cur argument.
4688 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4690 * text2.C (getFont): adjust
4691 (getLayoutFont): adjust
4692 (getLabelFont): adjust
4694 * paragraph_funcs.C (TeXOnePar): adjust
4695 (outerFont): new func...
4696 (realizeFont): ...moved out from here, changed this to facilitate
4699 * paragraph.C (getFont): take outerfont as arg, adjust
4700 (simpleTeXOnePar): add outerfont arg, adjust
4702 * buffer.C (simpleLinuxDocOnePar): adjust
4703 (simpleDocBookOnePar): adjust
4705 * CutAndPaste.C (pasteSelection): adjust
4707 * BufferView.C (getEncoding): adjust
4709 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4711 * text2.C (setCharFont): adjust
4712 (setCounter): adjust
4714 * text.C (leftMargin): adjust
4715 (setHeightOfRow): adjust
4717 * rowpainter.C (paintFirst): adjust
4720 * paragraph_pimpl.C (realizeFont): adjust
4722 * paragraph.C (isFirstInSequence): move from here...
4723 * paragraph_funcs.C (isFirstInSequence): ...to here
4725 * paragraph.C (outerHook): move from here...
4726 * paragraph_funcs.C (outerHook): ...to here
4728 * paragraph.C (depthHook): move from here...
4729 * paragraph_funcs.C (depthHook): ...to here
4731 * paragraph.C (getEndLabel): move from here...
4732 * paragraph_funcs.C (getEndLabel): ...to here
4734 * text2.C (realizeFont): move from here...
4735 * paragraph_funcs.C (realizeFont): ...to here
4737 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4739 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4741 2003-04-14 Angus Leeming <leeming@lyx.org>
4743 * LColor.[Ch]: scrap LColor mathcursor.
4745 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4747 * lyxlex.[Ch] (text): delete function
4748 * trans.C (Load): adjust
4749 * paragraph_funcs.C (readParToken): adjust
4751 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4753 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4754 vector<char> instead of a char[].
4756 * lyxlex_pimpl.C (getString): adjust
4758 (lex): use getString
4762 * lyxlex.C (text): use pimpl_->getString()
4766 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4768 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4769 (makeFontEntriesLayoutSpecific): temp var for par.size()
4770 (setLayout): temp var for ownerParagraphs().end()
4771 (fullRebreak): temp var for rows().end()
4772 (selectionAsString): temp var for boost::next(startpit), realize
4773 that the while really is a regular for loop.
4774 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4775 setCursor in one place.
4776 (setParagraph): temp vr for ownerParagraphs().end()
4777 (updateCounters): make the while loop a for loop
4778 (cutSelection): temp var for ownerParagraphs().end()
4779 (updateInset): make the do {} while() a regular for loop
4780 (getCursorX): use temp vars
4781 (setCurrentFont): use temp vars
4782 (getColumnNearX): use temp vars
4784 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4786 * text.C (transformChar): use temp var for getChar
4787 (computeBidiTables): use temp var for row->par()
4788 (fill): move temp vars for row->par() and pit->layout() earlier in
4790 (labelFill): use temp var for row->par()
4791 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4792 asc and desc, realize that pit never changes and that firstpit is
4793 just a duplicate and not needed. Exchange rit->par() with pit in a
4795 (breakAgain): use a temp var for boost::next(rit)
4796 (breakAgainOneRow): ditto
4797 (breakParagraph): use a temp var for rows().begin()
4798 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4799 (cursorRightOneWord): use temp var for cursor.par() and
4800 cursor.pos(), remove usage of tmpcursor.
4801 (cursorLeftOneWord): use temp var for cursor.par() and
4802 cursor.pos() only set cur at end of function.
4804 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4806 * text.C, text2.C: exchange all usage of Paragraph::next with
4807 boost::next(ParagraphList::iterator)
4809 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4811 * text2.C (cursorTop): simplify implementation
4812 (cursorBottom): ditto
4813 (setParagraph): use ParagraphList::iterator
4814 (setCurrentFont): adjust
4815 (getColumnNearX): adjust
4816 (cursorRight): adjust
4817 (cursorLeft): remove usage of Paragraph::previous
4818 (cursorUpParagraph): ditto
4819 (deleteEmptyParagraphMechanism): slight cleanup
4821 * text.C (isBoundary): take a Paragraph const & instead of a
4823 (addressBreakPoint): ditto
4824 (leftMargin): remove usage of Paragraph::previous.
4825 (setHeightOfRow): ditto
4826 (cursorLeftOneWord): ditto
4827 (selectNextWordToSpellcheck): ditto
4830 (breakParagraph): remove one usage of Paragraph::next
4831 (redoParagraph): ditto
4832 (acceptChange): ditto
4833 (insertChar): adjust
4834 (rowBreakPoint): adjust
4836 * bufferview_funcs.C (toggleAndShow): adjust
4838 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
4840 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4841 methods to access it.
4843 * text.C: Added updateRowPositions to compute all row positions.
4844 Make top_y and getRowNearY() to use the cached y position
4846 2003-04-11 John Levon <levon@movementarian.org>
4848 * text.C (rowBreakPoint): reintroduce the labelEnd
4849 checks, code copied from the row fill stuff. Deep voodoo.
4851 * text.C (fill): add a comment and debugging for the
4854 2003-04-11 John Levon <levon@movementarian.org>
4856 * text.C: make sure fullrow insets get wrapped to the next line,
4857 even when they're in a manual label
4859 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4861 * text2.C (insertParagraph): make it take ParagraphList::iterator
4863 (setLayout): make it return ParagraphList::iterator
4864 (redoParagraphs): ditto
4866 (checkParagraph): ditto
4868 * text.C (getRow): make getrow take ParagraphList::iterator as arg
4870 * text2.C: adjust several funcs.
4871 (realizeFont): take a ParagraphList::iterator as arg.
4872 (getLayoutFont): ditto
4873 (getLabelFont): ditto
4874 (setCharFont): ditto
4876 * text.C: adjust several funcs.
4878 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4880 * text.C (selectNextWordToSpellcheck): don't accidentally
4883 2003-04-10 John Levon <levon@movementarian.org>
4885 * ToolbarBackend.C (getIcon): special handling for
4888 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4890 * text2.C (cursorRight): a getChar assert fixed
4892 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4894 * text2.C (getFont): change to take a ParagraphList::iterator
4895 instead of Paragraph*
4896 Adjust several functions.
4898 * text.C (transformChar): change to take a ParagraphList::iterator
4899 instead of Paragraph*
4900 (singleWidth): ditto
4901 Adjust several functions.
4903 * rowpainter.C: adjust several functions
4904 * rowpainter.h:store a ParagraphList::iterator and not a
4908 2003-04-09 John Levon <levon@movementarian.org>
4913 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4914 and the "help" bits as well
4916 2003-04-09 John Levon <levon@movementarian.org>
4919 * ToolbarBackend.C: allow multiple toolbars
4921 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4923 * undo_funcs.C (setCursorParUndo): adjust
4925 * text_funcs.C (transposeChars): adjust
4927 * text3.C (gotoNextInset): adjust
4930 * text2.C (setLayout): adjust
4931 (changeDepth): adjust
4933 (redoParagraphs): adjust
4934 (selectionAsString): adjust
4935 (setParagraph): adjust
4936 (insertInset): adjust
4937 (cutSelection): adjust
4938 (copySelection): adjust
4939 (pasteSelection): adjust
4940 (insertStringAsLines): adjust
4941 (updateInset): adjust
4942 (setCursor): change to take a ParagraphList::iterator parameter
4943 (setCursorIntern): change to take a ParagraphList::iterator parameter
4944 (setCurrentFont): adjust
4945 (cursorLeft): adjust
4946 (cursorRight): adjust
4947 (deleteEmptyParagraphMechanism): adjust
4949 * text.C (breakParagraph): adjust
4950 (insertChar): adjust
4951 (acceptChange): adjust
4952 (rejectChange): adjust
4953 (selectNextWordToSpellcheck): adjust
4954 (changeCase): adjust
4958 * lyxfind.C (SearchForward): adjust
4959 (SearchBackward): adjust
4960 (nextChange): adjust
4962 * lyxcursor.C (par): adjust
4964 * lyxcursor.h: store a ParagraphList::iterator instead of a
4967 * lyx_cb.C (getPossibleLabel): adjust
4969 * bufferview_funcs.C (toggleAndShow): adjust
4971 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4974 * BufferView.C (removeAutoInsets): adjust
4975 (lockedInsetStoreUndo): adjust
4977 2003-04-09 John Levon <levon@movementarian.org>
4979 * ToolbarBackend.C: try icon without argument
4980 if with argument fails
4982 2003-04-08 John Levon <levon@movementarian.org>
4985 * ToolbarBackend.C: add getIcon(), handle tooltip,
4986 and change from "Icon" to "Item".
4988 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4990 * BufferView.C (lockInset): another bad getchar crunched
4992 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4994 * text2.C (changeDepth): do not setUndo on test_only (make undo work
4997 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
4999 * lyxfind.C (searchForward, searchBackwards): bug 782
5001 2003-04-07 John Levon <levon@movementarian.org>
5003 * paragraph.C: remove dead comment
5005 * text.C: remove troublesome depth-fiddling code
5006 in leftMargin() and rightMargin() (bug 1017)
5008 * text.C: fix breaking of rows in nested lists
5011 * text2.C (updateCounters): fix up depth values
5014 2003-04-07 John Levon <levon@movementarian.org>
5016 * BufferView_pimpl.C: clear message when doc finishes resizing,
5017 and after a mouse event
5019 * lyxfunc.C: clear message after exiting inset
5021 2003-04-07 John Levon <levon@movementarian.org>
5023 * bufferview_funcs.C: show math status not outside
5024 status in the statusbar
5026 2003-04-07 John Levon <levon@movementarian.org>
5028 * lyxfunc.C: note status changed after a depth change
5030 2003-04-04 Angus Leeming <leeming@lyx.org>
5032 * LaTeX.h: move AuxInfo operator==, != out of line.
5033 Remove LaTeX virtual destructor; nothing derives from it.
5034 Move operator()() out of public area and rename it startscript().
5035 Change protected for private.
5037 2003-04-04 Angus Leeming <leeming@lyx.org>
5040 * text2.C: remove unneeded #includes.
5042 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5044 * text2.C (dEPM): fix the heigth of the next row
5046 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5048 * text.C: squashed an invalid getChar requester + some ws changes
5050 2003-04-03 John Levon <levon@movementarian.org>
5052 * bufferview_funcs.h:
5053 * bufferview_funcs.C:
5056 * text2.C: make getStatus work for the env depth lfuns
5058 2003-04-03 John Levon <levon@movementarian.org>
5060 * bufferview_funcs.h:
5061 * bufferview_funcs.C:
5064 * text2.C: parlistize decDepth(), by merging it with incDepth()
5066 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5068 * lyxrow.h: store a ParagraphList::iterator instead of a
5069 Paragraph* and adjust other class functions to suit.
5071 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5074 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5076 * text2.C (setCursor): do not anchor to cursor row for the time being
5078 2003-04-02 John Levon <levon@movementarian.org>
5085 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5087 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5089 * paragraph.h: make ParagraphList and ParagraphList::iterator
5090 friends of Paragraph.
5092 * buffer.C (makeLinuxDocFile): move towards ParagraphList
5094 * ParagraphList.C: Use the private next_ and previous_ from
5097 2003-04-01 John Levon <levon@movementarian.org>
5101 * Makefile.am: rename, remove defaults gunk
5104 * MenuBackend.C: remove defaults gunk
5107 * Languages.C: remove defaults gunk
5110 * lyx_main.C: error out if files couldn't be found.
5112 2003-04-02 John Levon <levon@movementarian.org>
5114 * text2.C: make incDepth() use parlist
5116 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5118 * undo_funcs.C (firstUndoParagraph): adjust
5120 * text3.C (gotoInset): adjust
5121 (dispatch): adjust, and rewrite loop.
5123 * text2.C (init): adjust, and rewrite loop.
5124 (redoParagraphs): adjust
5125 (updateInset): adjust, and rewrite loop.
5126 (deleteEmptyParagraphMechanism): adjust
5128 * tabular.C (LyXTabular): adjust
5129 (SetMultiColumn): adjust
5132 * lyxtext.[Ch] (ownerParagraph): delete function
5133 (ownerParagraphs): new function returns a ParagraphList.
5135 * BufferView.C (removeAutoInsets): adjust
5136 (insertErrors): adjust
5137 (setCursorFromRow): adjust
5139 2003-04-01 Angus Leeming <leeming@lyx.org>
5141 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5144 2003-04-02 John Levon <levon@movementarian.org>
5150 * text_funcs.C: make transposeChars a free function
5152 * lyxrow_funcs.C: remove wrong comment
5154 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5157 * rowpainter.C: adjust
5162 * lyxrow_funcs. [Ch]: new files
5164 * lyxrow.[Ch]: remove next and previous pointers
5165 (next,previous): remove accessor functions
5166 (isParEnd): move to lyxrow_funcs
5167 (lastPos): move to lyxrow_funcs
5168 (nextRowIsAllInset): move to lyxrow_funcs
5169 (lastPrintablePos): move to lyxrow_funcs
5170 (numberOfSeparators): move to lyxrow_funcs
5171 (numberOfHfills): move to lyxrow_funcs
5172 (numberOfLabelHfills): move to lyxrow_funcs
5173 (hfillExpansion): move to lyxrow_funcs
5177 * bufferview_funcs.C (toggleAndShow): adjust
5179 * RowList.h: Remove class RowList from file leave just a
5182 * RowList.C: delete file
5184 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5187 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5189 * text3.C (cursorPrevious): adjust
5190 (cursorNext): adjust
5193 * text2.C (redoHeightOfParagraph): adjust
5194 (redoDrawingOfParagraph): adjust
5197 * text.C (breakParagraph): adjust
5198 (insertChar): adjust
5201 * rowpainter.C (RowPainter): adjust
5202 (leftMargin): simplify and adjust
5203 (most rowpainter functions): adjust.
5205 * rowpainter.h: store the row as RowList::iterator not as Row*
5207 * lyxcursor.C (row): taka RowList::iterator as arg
5210 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5213 2003-04-01 Angus Leeming <leeming@lyx.org>
5215 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5216 stuff like bool Bool.
5218 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5220 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5223 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5225 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5228 * lyxtext.h (rows): drop one version and leve a const variant that
5229 returns a RowList::iterator.
5231 2003-03-31 Angus Leeming <leeming@lyx.org>
5233 * text.C (fill): ensure that the signature is the same as that in the
5236 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
5238 * text2.C (redoParagraphs): adjust
5239 (updateCounters): adjust
5240 (checkParagraph): adjust
5241 (getColumnNearX): adjust and reformat a bit.
5243 * text.C (top_y): adjust
5245 (leftMargin): adjust
5246 (prepareToPrint): adjust
5248 (getRowNearY): adjust
5250 * lyxtext.h: make rowlist_ mutable.
5252 * RowList.h: add const_iterator
5253 * RowList.C: adjust for RowList::const_iterator.
5255 * text2.C (getCursorX): make it take a RowList::iterator as arg,
5258 2003-03-31 John Levon <levon@movementarian.org>
5261 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5263 * lyx_main.C: set default fonts from using lyx_gui funcs
5265 * exporter.C: pdf_mode moved from lyxrc
5268 * lyxfunc.C: changes from above
5270 2003-03-31 John Levon <levon@movementarian.org>
5272 * lyx_main.C: fix to the last fix
5274 2003-03-31 John Levon <levon@movementarian.org>
5276 * bufferlist.C: "Load original" -> "Load Original"
5282 * format.C: more Alert cleanups
5284 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5286 * text2.C (removeParagraph): make it take a RowList::iterator as
5288 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5289 (postRowPaint): make it take a RowList::iterator as arg, adjust.
5291 * text.C (anchor_row): make it take a RowList::iterator as arg,
5293 (computeBidiTables): make it take a const reference to Row instead
5294 of Row pointer, adjust.
5295 (leftMargin): make it take a RowList::iterator as arg, adjust.
5296 (rowBreakPoint): adjust
5297 (breakAgainOneRow): make it take a RowList::iterator as arg,
5299 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5301 * bufferview_funcs.C (toggleAndShow): adjust
5303 2003-03-30 John Levon <levon@movementarian.org>
5307 * boost-inst.C: moved to support
5309 * several files: changes as a result
5311 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5313 * text2.C (LyXText): adjust.
5315 (removeRow): make it take a RowList::iterator as arg, adjust.
5316 (fullRebreak): adjust
5317 (deleteEmptyParagraphMechanism): adjust
5318 (clearPaint): adjust
5321 * text.C (top_y): adjust
5322 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5323 (breakAgain): make it take a RowList::iterator as arg, adjust.
5324 (breakParagraph): adjust
5325 (insertChar): adjust
5328 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5329 need_break_row, and refresh_row.
5331 * text3.C (dispatch): adjust
5333 * text2.C (checkParagraph): adjust
5335 (setCursorFromCoordinates): adjust
5337 * text.C (top_y): adjust
5339 (getRow): make it return a RowList::iterator, adjust
5340 (getRowNearY): make it return a RowList::iterator, adjust
5342 * text2.C (init): adjust
5343 (insertRow): remove function
5344 (insertParagraph): adjust
5345 (redoParagraphs): adjust
5346 (fullRebreak): adjust
5347 (updateCounters): adjust
5349 * text.C (top_y): rewrite to use RowList iterators.
5351 (setHeightOfRow): rewrite to sue RowList iterators.
5352 (appendParagraph): adjust
5353 (breakAgain): adjust
5354 (breakAgainOneRow): adjust
5355 (breakParagraph): adjust
5357 (getRowNearY): adjust, and remove commented code.
5359 * lyxtext.h (firstRow): delete function
5360 (lastRow): delete function
5361 (rows): new function (const and non-const versions.)
5362 (insertRow): delete function
5364 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5366 2003-03-29 John Levon <levon@movementarian.org>
5368 * BufferView_pimpl.C: always update scrollbar top
5369 because pasting text when we're anchored could mean we
5370 miss an update altogether
5372 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5374 * text2.C (init): use rowlist_.end() and not 0.
5375 (insertRow): change to take a RowList::iterator as arg, adjust
5377 (insertParagraph): change to take a RowList::iterator as arg,
5379 (redoParagraphs): remove some debug msgs.
5381 * text.C (appendParagraph): change to take a RowList::iterator
5382 arg, adjust for this.
5383 (breakAgain): add an assert
5384 (breakAgainOneRow): ditto
5386 2003-03-29 John Levon <levon@movementarian.org>
5388 * text2.C: do not clear selection after inc/decDepth
5391 2003-03-29 John Levon <levon@movementarian.org>
5394 * buffer.C: fix broken strerrors according to Lars
5396 2003-03-29 John Levon <levon@movementarian.org>
5398 * converters.C: more Alert cleanups
5400 2003-03-29 John Levon <levon@movementarian.org>
5402 * bufferview_funcs.C: remove pointless Alert
5404 * buffer.C: fix confusing error message when
5405 a template is chmoded 000
5407 2003-03-29 John Levon <levon@movementarian.org>
5411 * BufferView_pimpl.C: Alert fixes
5415 * tabular-old.C: remove unused table compat reading
5417 2003-03-29 John Levon <levon@movementarian.org>
5422 * lyx_cb.C: more Alert cleanups
5424 * lyxfunc.C: don't allow chktex if not latex document
5426 2003-03-29 John Levon <levon@movementarian.org>
5430 * buffer.C: warnings pushed down from support/,
5433 2003-03-29 John Levon <levon@movementarian.org>
5435 * lyxfunc.C: safety check for C-r (revert)
5437 2003-03-29 John Levon <levon@movementarian.org>
5440 * bufferlist.C: several UI fixes using Alert::prompt.
5441 Fix the pointless looping quit code. Fix stupid revert
5446 * lyx_cb.C: use Alert::prompt
5448 * lyx_main.C: remove a silly question
5450 * lyxfunc.C: remove a couple of silly questions,
5453 2003-03-28 John Levon <levon@movementarian.org>
5455 * text2.C: fix bug 974 (End on empty par)
5457 2003-03-28 John Levon <levon@movementarian.org>
5459 * BufferView_pimpl.C:
5461 * lfuns.h: remove do-nothing math greek lfuns
5463 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5465 * lyxgluelength.h (isValidGlueLength): add default arg on
5466 parameter 2. Remove default arg from friend in class.
5468 * lyxlength.h (isValidLength): add default arg on parameter 2.
5469 Remove default arg from friend in class.
5471 * text2.C (LyXText): adjust, initialize refresh_row.
5475 (insertParagraph): adjst
5476 (redoParagraphs): adjust
5477 (fullRebreak): adjust
5478 (updateCounters): adjust
5479 (deleteEmptyParagraphMechanism): first attempt at fixing a
5482 * text.C (top_y): adjust
5483 (setHeightOfRow): adjust
5485 (getRowNearY): adjust
5487 * lyxtext.h: include RowList.h
5488 (~LyXText): not needed anymore, deleted.
5489 (firstRow): modify for RowList
5490 (lastRow): new function
5491 Delete firstrow and lastrow class variables, add a Rowlist
5492 rowlist_ class variable.
5494 * lyxrow.C (lastPos): use empty() and not !size() to check if a
5497 * RowList.C (insert): fix case where it == begin().
5499 2003-03-26 Angus Leeming <leeming@lyx.org>
5501 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5502 the thesaurus dialog.
5504 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5506 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5508 * RowList.[Ch]: new files
5510 * ParagraphList.C (erase): handle the case where it == begin
5513 2003-03-25 John Levon <levon@movementarian.org>
5517 * aspell.C: add new aspell support
5520 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5523 2003-03-25 Angus Leeming <leeming@lyx.org>
5526 * LyXAction.C (init): new LFUN_INSET_INSERT.
5528 * BufferView_pimpl.C (dispatch): split out part of the
5529 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5531 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5534 2003-03-25 Angus Leeming <leeming@lyx.org>
5536 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5538 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5541 * text3.C: remove useless row->height(0)
5543 2003-03-25 John Levon <levon@movementarian.org>
5547 * text3.C: rename the refreshing stuff to better names
5549 2003-03-24 John Levon <levon@movementarian.org>
5551 * BufferView_pimpl.h:
5552 * BufferView_pimpl.C: update layout choice on a mouse
5555 2003-03-23 John Levon <levon@movementarian.org>
5557 * Makefile.am: fix commandtags.h reference
5559 2003-03-22 John Levon <levon@movementarian.org>
5561 * BufferView_pimpl.C:
5566 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5568 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5571 * text.C: take the rtl methods out of line
5573 2003-03-21 André Pönitz <poenitz@gmx.net>
5575 * metricsinfo.[Ch]: new files containing structures to be passed around
5576 during the two-phase-drawing...
5578 2003-03-21 André Pönitz <poenitz@gmx.net>
5580 * lyxtextclass.C: read 'environment' tag.
5582 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5584 * text2.C (removeRow): fix bug 964
5586 2003-03-20 John Levon <levon@movementarian.org>
5590 * text2.C: paint cleanups. Inset::update() dropped font
5593 2003-03-19 John Levon <levon@movementarian.org>
5595 * lyxfunc.C: only fitcursor/markDirty if available()
5597 2003-03-19 John Levon <levon@movementarian.org>
5599 * commandtags.h: rename to ...
5601 * lfuns.h: ... this, and renumber / cleanup
5603 2003-03-19 John Levon <levon@movementarian.org>
5605 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5606 fit the cursor after an lfun
5610 * BufferView_pimpl.h:
5611 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5613 * LyXAction.C: layout-character should have ReadOnly
5615 * ParagraphParameters.C:
5617 * bufferview_funcs.C:
5624 * undo_funcs.C: changes from above
5626 2003-03-18 John Levon <levon@movementarian.org>
5628 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5629 remove it from update()
5631 * lyxfunc.C: update layout choice after an lfun
5633 * text3.C: remove extra updateLayoutChoice()s
5635 2003-03-18 John Levon <levon@movementarian.org>
5637 * text.C: top_y change means full repaint, fix
5638 a drawing bug with cursor movement
5640 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5644 * text2.C: anchor row on setCursor
5646 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5648 * lyxtext.h: remove almost all mutable keywords
5651 * text3.C: remove const keywords accordingly
5653 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5655 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5657 (TeXEnvironment): ditto
5660 2003-03-17 John Levon <levon@movementarian.org>
5662 * text.C (rowBreakPoint): remove attempt to fix displayed
5663 math insets inside a manual label
5665 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5667 * lyxtext.h: remove BufferView* as first arg from almost all class
5669 * other files: adjust.
5671 2003-03-17 John Levon <levon@movementarian.org>
5675 * text2.C: more paint cleanups
5677 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5680 * rowpainter.C: remove "smart" background painting code
5682 2003-03-16 John Levon <levon@movementarian.org>
5687 * text3.C: add helper functions for setting refresh_row/y
5689 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
5691 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5692 newline inset which *can* get inserted in the pass_thru layouts.
5693 This is primarily for literate documents.
5695 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
5697 * buffer.C: increment LYX_FORMAT to 223
5699 2003-03-14 André Pönitz <poenitz@gmx.net>
5701 * textclass.h: prepare for environment handling, ws changes
5702 * lyxlayout.C: read latexheader and latexfooter tags
5704 2003-03-14 John Levon <levon@movementarian.org>
5706 * text2.C: rewrite ::status() a bit
5708 2003-03-13 John Levon <levon@movementarian.org>
5710 * lyxtext.h: add some docs
5712 2003-03-13 John Levon <levon@movementarian.org>
5717 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5719 2003-03-13 John Levon <levon@movementarian.org>
5721 * text3.C: fix appendix redrawing
5723 2003-03-13 John Levon <levon@movementarian.org>
5725 * text.C (setHeightOfRow):
5727 * rowpainter.C: make appendix mark have the text
5728 "Appendix" so the user knows what it is
5731 * LColor.C: s/appendixline/appendix/ from above
5733 2003-03-13 John Levon <levon@movementarian.org>
5735 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5737 * text.C: fix a getChar(pos) bug properly
5739 2003-03-13 Angus Leeming <leeming@lyx.org>
5742 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5743 Probably only temporary. Let's see how things pan out.
5745 * BufferView.C (unlockInset):
5746 * BufferView_pimpl.C (fitCursor):
5747 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5749 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5750 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5752 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5753 new functions that convert ParagraphParameters to and from a string.
5755 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5756 BufferView::Pimpl's dispatch.
5757 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5759 2003-03-13 André Pönitz <poenitz@gmx.net>
5763 * factory.C: make it aware of InsetEnv
5765 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5767 * text2.C (setCursor): never ask for one past last
5768 (setCursor): add some debugging messages.
5770 * text.C (singleWidth): never ask for one past last
5771 (singleWidth): ditto
5773 (rightMargin): ditto
5774 (rowBreakPoint): ditto
5775 (setHeightOfRow): ditto
5776 (prepareToPrint): ditto
5778 * rowpainter.C (paintBackground): never ask for one past last
5779 (paintText): never ask for one past last
5781 * paragraph_pimpl.C (getChar): make the assert stricter, never
5782 allow the one past last pos to be taken
5784 * paragraph.C (getChar): ws changes only
5786 * lyxrow.C (nextRowIsAllInset): never ask for one past last
5787 (numberOfSeparators): ditto
5788 (numberOfHfills): ditto
5790 2003-03-12 John Levon <levon@movementarian.org>
5796 * paragraph_funcs.C: fix per-buffer authorlists
5798 2003-03-12 John Levon <levon@movementarian.org>
5800 * text.C: fix newline in right address
5802 2003-03-12 Angus Leeming <leeming@lyx.org>
5804 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5805 duplicate those in LyXFunc::dispatch.
5809 * ToolbarDefaults.C:
5810 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5811 Add LFUN_FONTFREE_UPDATE.
5813 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5814 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5816 * bufferview_func.[Ch]: several new functions to facilliate
5817 transfer of data to and from the character dialog.
5819 2003-03-12 John Levon <levon@movementarian.org>
5824 * paragraph_funcs.C:
5825 * paragraph_pimpl.C:
5829 * text3.C: remove META_NEWLINE in favour of an inset
5832 * rowpainter.C: remove paintNewline (done by inset)
5834 2003-03-12 John Levon <levon@movementarian.org>
5836 * paragraph_pimpl.C: complain about bad getChar()s
5837 for a while at least
5839 2003-03-12 John Levon <levon@movementarian.org>
5842 * buffer.C: move paragraph read into a separate function,
5843 a little renaming to reflect that.
5846 * bufferparams.C: remove the author_ids map, not necessary now
5849 * factory.C: moved Buffer::readInset to here
5851 * paragraph_funcs.h:
5852 * paragraph_funcs.C: readParagraph free function moved from
5855 * tabular.C: name change
5857 2003-03-12 John Levon <levon@movementarian.org>
5860 * ParagraphParameters.C: move par params input to
5863 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5864 behave like a normal read from the stream wrt reading
5865 a line vs. a \\token
5867 2003-03-12 John Levon <levon@movementarian.org>
5870 * ParagraphParameters.h:
5871 * ParagraphParameters.C: move output code to a
5874 2003-03-12 John Levon <levon@movementarian.org>
5876 * BufferView.C (insertLyXFile):
5879 * tabular.C: use a parlist iterator for creating the
5882 2003-03-12 John Levon <levon@movementarian.org>
5884 * buffer.C: make current_change static local not
5887 2003-03-12 John Levon <levon@movementarian.org>
5889 * buffer.C: fix insertStringAsLines for change tracking
5891 2003-03-12 John Levon <levon@movementarian.org>
5898 * bufferparams.C: move author list into params. Rename some
5899 functions. Move the header reading into a separate token
5900 loop. Move the header token reading into BufferParams.
5902 2003-03-12 John Levon <levon@movementarian.org>
5904 * changes.C: put debug inside lyxerr.debugging() checks
5906 2003-03-11 André Pönitz <poenitz@gmx.net>
5908 * factory.C: make it aware of InsetHFill
5910 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5912 * buffer.C (latexParagraphs): move function from here...
5913 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5916 2003-03-10 Angus Leeming <leeming@lyx.org>
5918 * LyXAction.C (init): fix bug in poplating array with multiple entries
5919 with the same LFUN (spotted by JMarc).
5921 2003-03-10 John Levon <levon@movementarian.org>
5924 * text2.C: move getColumnNearX() near its
5927 2003-03-10 John Levon <levon@movementarian.org>
5929 * text.C: fix break before a minipage
5931 2003-03-10 John Levon <levon@movementarian.org>
5933 * text.C: fix the last commit
5935 2003-03-09 John Levon <levon@movementarian.org>
5939 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5940 bug 365 (don't break before insets unless needed). Don't
5941 return a value > last under any circumstances.
5943 2003-03-09 Angus Leeming <leeming@lyx.org>
5945 * BufferView_pimpl.C (trackChanges, dispatch): call
5946 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5948 2003-03-09 Angus Leeming <leeming@lyx.org>
5950 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5951 than Dialogs::showAboutlyx().
5953 2003-03-09 Angus Leeming <leeming@lyx.org>
5955 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5956 than Dialogs::showTabularCreate().
5958 2003-03-09 John Levon <levon@movementarian.org>
5962 * text2.C: 3rd arg to nextBreakPoint was always the same.
5965 2003-03-08 John Levon <levon@movementarian.org>
5972 * text2.C: Remove the "main" bit from the "main body"
5975 2003-03-08 John Levon <levon@movementarian.org>
5977 * text.C (leftMargin): The left margin of an empty
5978 manual label paragraph should not include the label width
5981 * text.C (prepareToPrint): don't attempt to measure hfills
5982 for empty manual label paragraphs - the answer should be 0
5984 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5986 * CutAndPaste.C: remove commented code and reindent.
5988 2003-03-08 John Levon <levon@movementarian.org>
5991 * lyxfunc.C: move reloadBuffer()
5994 * BufferView.C: to here
5996 * lyxvc.C: add comment
5999 * vc-backend.C: call bv->reload() to avoid
6000 getStatus() check on MENURELOAD
6002 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
6004 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6005 to an old format .dep file.
6007 2003-03-07 Angus Leeming <leeming@lyx.org>
6009 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6010 when the LFUN_MOUSE_RELEASE should have been handled by
6011 inset->localDispatch.
6013 2003-03-07 Angus Leeming <leeming@lyx.org>
6015 * BufferView_pimpl.C (dispatch):
6016 * LyXAction.C (init):
6017 * ToolbarDefaults.C (init):
6019 * lyxfunc.C (getStatus):
6020 remove LFUN_INSET_GRAPHICS.
6022 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6024 2003-03-07 Angus Leeming <leeming@lyx.org>
6027 * LyXAction.C (init):
6028 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6030 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6033 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6035 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6036 localDispatch method LFUN_INSET_DIALOG_UPDATE.
6038 2003-03-07 Angus Leeming <leeming@lyx.org>
6040 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6043 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6045 * ParagraphList.C (front): new function
6048 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
6050 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6051 and top_row_offset_. removed var first_y.
6053 * text2.C (LyXText, removeRow):
6055 * BufferView_pimpl.C:
6056 use these methods instead of using first_y
6058 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6060 * text2.C (pasteSelection): adjust for checkPastePossible
6062 * CutAndPaste.C: remove Paragraph * buf and replace with
6063 ParagraphList paragraphs.
6064 (DeleteBuffer): delete
6065 (cutSelection): change the tc type to textclass_type
6066 (copySelection): change the tc type to textclass_type
6067 (copySelection): adjust for ParagraphList
6068 (pasteSelection): change the tc type to textclass_type
6069 (pasteSelection): adjust for Paragraphlist
6070 (nrOfParagraphs): simplify for ParagraphList
6071 (checkPastePossible): simplify for ParagraphList
6072 (checkPastePossible): remove unused arg
6074 * ParagraphList.C (insert): handle the case where there are no
6077 * CutAndPaste.h: make CutAndPaste a namespace.
6079 * text3.C (dispatch): adjust
6081 * text.C (breakParagraph): add a ParagraphList as arg
6083 * paragraph_funcs.C (breakParagraph): change to take a
6084 BufferParams and a ParagraphList as args.
6085 (breakParagraphConservative): ditto
6086 (mergeParagraph): ditto
6087 (TeXDeeper): add a ParagraphList arg
6088 (TeXEnvironment): ditto
6091 * buffer.C (readLyXformat2): adjust
6092 (insertStringAsLines): adjust
6093 (latexParagraphs): adjust
6095 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6096 (cutSelection): adjust
6097 (pasteSelection): adjust
6099 * BufferView_pimpl.C (insertInset): adjust
6101 2003-03-05 Angus Leeming <leeming@lyx.org>
6104 * LyXAction.C (init):
6105 * BufferView_pimpl.C (dispatch):
6106 * lyxfunc.C (getStatus):
6107 remove LFUN_CHILD_INSERT.
6109 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6111 2003-03-05 Angus Leeming <leeming@lyx.org>
6114 * LyXAction.C (init):
6115 * src/factory.C (createInset):
6116 * lyxfunc.C (getStatus):
6117 * text3.C (dispatch):
6118 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6120 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6122 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6124 * ParagraphList.C (insert): handle insert right before end()
6125 (erase): fix cases where it can be first or last paragraph.
6127 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6129 * paragraph_funcs.C (TeXEnvironment): remove all usage of
6130 Paragraph::next and Paragraph::previous
6133 * text.C (breakParagraph): adjust
6135 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6136 BufferParams& as arg.
6137 (breakParagraph): use ParagraphList::insert
6138 (breakParagraphConservative): take a Buffer* instead of a
6139 BufferParams& as arg.
6140 (breakParagraphConservative): use ParagraphList::insert.
6142 * buffer.C (insertStringAsLines): un-const it
6143 (insertStringAsLines): adjust
6145 * ParagraphList.C (insert): new function
6147 * CutAndPaste.C (pasteSelection): adjust
6149 * text.C (backspace): adjust
6151 * tabular.C (SetMultiColumn): adjust
6153 * CutAndPaste.C (cutSelection): adjust
6154 (pasteSelection): adjust
6156 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6157 Buffer const * as arg
6159 * ParagraphList.C (erase): new function
6160 * paragraph_funcs.C (mergeParagraph): use it
6161 (mergeParagraph): make it take a Buffer* instead of a
6162 BufferParams* as arg
6164 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6166 (breakParagraphConservative): ditto
6168 * paragraph.h: remove the breakParagraph friend
6170 * paragraph.C (eraseIntern): new function
6171 (setChange): new function
6173 * paragraph_funcs.C (mergeParagraph): make it take a
6174 ParagraphList::iterator instead of a Paragraph *, adjust
6177 * paragraph.h: move an #endif so that the change tracking stuff
6178 also works in the NO_NEXT case.
6180 2003-03-04 Angus Leeming <leeming@lyx.org>
6183 * LyXAction.C: new LFUN_INSET_MODIFY.
6185 * BufferView_pimpl.C (dispatch): if an inset is found to be open
6186 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6188 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6190 * several files: ws changes only
6192 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6193 (TeXEnvironment): ditto
6196 * buffer.C (makeLaTeXFile): adjust
6197 (latexParagraphs): make it take ParagraphList::iterator as args
6199 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6201 * buffer.C (latexParagraphs): adjust
6203 * paragraph.C (TeXOnePar): move function...
6204 (optArgInset): move function...
6205 (TeXEnvironment): move function...
6206 * paragraph_pimpl.C (TeXDeeper): move function...
6207 * paragraph_funcs.C: ...here
6209 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6211 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6213 * buffer.C (readInset): remove compability code for old Figure and
6216 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6218 * buffer.C: ws changes
6221 * BufferView_pimpl.C: ditto
6224 * bufferlist.h: ditto
6228 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
6230 * converter.[Ch]: split into itself +
6233 * Makefile.am: += graph.[Ch] + format.[Ch]
6240 * lyxrc.C: added #include "format.h"
6242 2003-02-27 Angus Leeming <leeming@lyx.org>
6244 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6247 * factory.C (createInset): add "label" to the factory.
6249 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6250 string and do no more.
6252 2003-02-27 Angus Leeming <leeming@lyx.org>
6255 * LyXAction.C (init):
6256 * factory.C (createInset):
6257 * BufferView_pimpl.C (dispatch):
6258 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6260 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6262 * lyxfunc.C (dispatch):
6263 * text3.C (dispatch): pass name to params2string.
6265 2003-02-26 Angus Leeming <leeming@lyx.org>
6267 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6269 Rearrange the ~includes. Strip out the unnecessary ones.
6271 * factory.C (createInset): reformat.
6272 create new insets for the various LFUN_XYZ_APPLY lfuns.
6274 2003-02-26 John Levon <levon@movementarian.org>
6277 * lyxrow.C: add isParStart,isParEnd helpers
6279 * paragraph.h: make isInserted/DeletedText take refs
6281 * paragraph_funcs.h:
6282 * paragraph_funcs.C: remove #if 0'd code
6287 * text.C: use lyxrow helpers above.
6288 Move draw and paint routines to RowPainter.
6289 Make several methods use refs not pointers.
6290 Make backgroundColor() const.
6291 Add markChangeInDraw(), isInInset().
6292 Merge changeRegionCase into changeCase.
6293 Make workWidth() shouldn't-happen code into an Assert.
6296 * rowpainter.C: new class for painting a row.
6299 * vspace.C: make inPixels take a ref
6301 2003-02-26 Angus Leeming <leeming@lyx.org>
6303 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6306 2003-02-25 John Levon <levon@movementarian.org>
6308 * ispell.C: give the forked command a more accurate name
6310 2003-02-22 John Levon <levon@movementarian.org>
6313 * toc.C: make TocItem store an id not a Paragraph *
6316 2003-02-21 Angus Leeming <leeming@lyx.org>
6318 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6319 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6320 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6321 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6322 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6323 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6325 * BufferView_pimpl.C (dispatch):
6326 * LyXAction.C (init):
6327 * factory.C (createInset):
6328 * lyxfunc.C (getStatus, dispatch):
6329 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6331 2003-02-21 Angus Leeming <leeming@lyx.org>
6333 * BufferView_pimpl.C (MenuInsertLyXFile):
6334 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6335 * lyxfunc.C (menuNew, open, doImport):
6336 no longer pass a LyXView & to fileDlg.
6338 2003-02-21 Angus Leeming <leeming@lyx.org>
6340 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6341 * LyXAction.C: change, BIBKEY to BIBITEM.
6342 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6343 Change InsetBibKey to InsetBibitem.
6344 Change BIBKEY_CODE to BIBITEM_CODE.
6345 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6346 * factory.C: replace insetbib.h with insetbibitem.h.
6347 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6348 * paragraph.C: replace insetbib.h with insetbibitem.h.
6349 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6350 Change bibkey() to bibitem().
6351 * text.C: remove insetbib.h.
6352 * text2.C: replace insetbib.h with insetbibitem.h.
6353 change bibkey() to bibitem().
6354 * text3.C: remove insetbib.h.
6355 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6357 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6359 * lyxrc.C (output): enclose user email in quotes (in case there are
6362 2003-02-18 John Levon <levon@movementarian.org>
6364 * buffer.h: add std::
6366 2003-02-17 John Levon <levon@movementarian.org>
6372 * pspell.C: reworking. Especially in ispell, a large
6373 number of clean ups and bug fixes.
6375 * lyxfunc.C: fix revert to behave sensibly
6377 2003-02-17 André Pönitz <poenitz@gmx.net>
6380 * commandtags.h: new LFUN_INSERT_BIBKEY
6390 * paragraph_func.C: remove special bibkey handling
6392 2003-02-17 John Levon <levon@movementarian.org>
6394 * text.C (Delete): fix case where delete at the end of
6395 the very first paragraph would not merge the pars
6397 2003-02-17 John Levon <levon@movementarian.org>
6399 * lyxrow.C: fix lastPrintablePos()
6401 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6403 * bufferparams.C (writeLaTeX): add a std:here
6405 * buffer.C: and remove a using directive there
6407 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6409 * buffer.C (makeLaTeXFile): move the code that generates the
6412 * bufferparams.C (writeLaTeX): ... in this new method
6414 * LaTeXFeatures.C (getEncodingSet): make const
6415 (getLanguages): make const
6417 * MenuBackend.C (binding): returns the binding associated to this
6419 (add): sets the status of each item by calling getStatus. Adds
6421 (read): add support for OptSubMenu
6422 (expand): remove extra separator at the end of expanded menu
6424 2003-02-15 John Levon <levon@movementarian.org>
6427 * BufferView_pimpl.C:
6429 * bufferlist.C: remove pointless BufferStorage bloat. Remove
6430 inset code that had no actual effect. Remove unneeded status
6433 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6435 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6438 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
6440 * text.C (drawLengthMarker): also draw an arrow marker for
6441 symbolic lengths (medskip...)
6443 2003-02-14 John Levon <levon@movementarian.org>
6446 * tabular.C: better method names
6448 2003-02-14 John Levon <levon@movementarian.org>
6450 * BufferView_pimpl.C:
6455 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6456 it's a more accurate name. Remove some pointless uses.
6458 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6460 * text2.C (LyXText): change order of initilizers to shut off
6463 2003-02-14 John Levon <levon@movementarian.org>
6465 * buffer.C: use ParIterator for getParFromID()
6469 * paragraph_pimpl.h:
6470 * paragraph_pimpl.C: remove unused getParFromID()
6472 2003-02-14 John Levon <levon@movementarian.org>
6474 * buffer.C: remove some very old #if 0'd parse code
6476 2003-02-13 John Levon <levon@movementarian.org>
6480 * text2.C: move hfillExpansion(), numberOfSeparators(),
6481 rowLast(), rowLastPrintable(), numberofHfills(),
6482 numberOfLabelHfills() ...
6485 * lyxrow.C: ... to member functions here.
6490 * text.C: remove LyXText::beginningOfMainBody(), and call
6491 p->beginningOfMainBody() directly. Move the check for
6492 LABEL_MANUAL into the latter.
6499 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6505 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6506 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6508 2003-02-13 John Levon <levon@movementarian.org>
6510 * CutAndPaste.C: remove debug
6512 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6514 * paragraph.C (asString): remove two unused variables
6516 * lyxtextclass.C (readTitleType):
6518 (LyXTextClass): handle new members titletype_ and titlename_
6520 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6522 2003-02-09 John Levon <levon@movementarian.org>
6525 * buffer.C: replace hand-coded list with a map for the dep clean
6527 2003-02-08 John Levon <levon@movementarian.org>
6529 * LaTeX.C: consolidate code into showRunMessage() helper
6531 2003-02-08 John Levon <levon@movementarian.org>
6536 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6537 and pass the size in explicitly
6539 * BufferView_pimpl.h:
6540 * BufferView_pimpl.C:
6542 * BufferView.C: add getCurrentChange()
6544 * BufferView_pimpl.h:
6545 * BufferView_pimpl.C: handle change lfuns
6547 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6548 for changes. Mark pasted paragraphs as new.
6550 * support/lyxtime.h:
6551 * support/lyxtime.C:
6552 * DepTable.C: abstract time_t as lyx::time_type
6555 * LColor.C: add colours for new text, deleted text, changebars
6557 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6558 package use "usenames" option.
6562 * LyXAction.C: add change lfuns
6566 * author.C: author handling
6569 * buffer.C: add a per-buffer author list, with first entry as
6570 current author. Handle new .lyx tokens for change tracking. Output
6571 author list to .lyx file. Output dvipost stuff to .tex preamble.
6572 Bump lyx format to 222.
6575 * bufferlist.C: add setCurrentAuthor() to reset current author details
6579 * bufferparams.C: add param for tracking
6581 * bufferview_funcs.C: output change info in minibuffer
6585 * changes.C: add change-tracking structure
6588 * debug.C: add CHANGES debug flag
6591 * lyxfind.C: add code for finding the next change piece
6594 * lyxrc.C: add user_name and user_email
6597 * lyxrow.C: add a metric for the top of the text line
6600 * text.C: implement accept/rejectChange()
6603 * text.C: paint changebars. Paint new/deleted text in the chosen
6604 colours. Strike through deleted text.
6608 * paragraph_pimpl.h:
6609 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6610 in the current change to the insert functions. Rework erase to
6611 mark text as deleted, adding an eraseIntern() and a range-based
6612 erase(). Implement per-paragraph change lookup and
6615 * paragraph_funcs.C: Fixup paste for change tracking.
6617 * tabular.C: mark added row/columns as new.
6619 * text.C: fix rowLast() to never return -1. Don't allow
6620 spellchecking of deleted text. Track transpose changes. Don't
6621 allow paragraph break or merge where appropriate.
6623 * text2.C: leave cursor at end of selection after a cut.
6625 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6627 * text.C (getLengthMarkerHeight):
6628 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6629 visible on screen too.
6631 2003-02-07 John Levon <levon@movementarian.org>
6633 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6635 2003-02-05 Angus Leeming <leeming@lyx.org>
6637 * lyxserver.C (read_ready): revert my patch of 11 September last year
6638 as it sends PC cpu through the roof. Presumably this means that
6639 the lyxserver will no longer run on an Alpha...
6641 2003-01-30 Angus Leeming <leeming@lyx.org>
6643 * factory.C (createInset): create an InsetCommandParam of type "index"
6644 and use it to 'do the right thing'.
6646 * text2.C (getStringToIndex): ensure that cursor position is always
6647 reset to the reset_cursor position.
6649 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6651 * lyxfunc.C (getStatus): "buffer-export custom" should never be
6654 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
6658 * lyxfunc.C: Output messages with identical spelling, punctuation,
6661 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
6663 * MenuBackend.C (expandFormats): List only viewable export formats
6666 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6669 * lyxfunc.C (getStatus): Make sure that formats other than
6670 "fax" can also be disabled
6672 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6674 * text3.C (dispatch): put the lfuns that insert insets in 3
6675 groups, and call doInsertInset with appropriate arguments.
6676 (doInsertInset): new function, that creates an inset and inserts
6677 it according to some boolean parameters.
6679 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6681 * buffer.C (readFile): remember to pass on 'par' when calling
6682 readFile recursively.
6684 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6686 * MenuBackend.C (expandFormats): add "..." to import formats.
6688 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
6690 * paragraph.C (asString): Remove XForms RTL hacks.
6692 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
6693 * buffer.C: fix typo
6695 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6697 * Makefile.am (LIBS): delete var
6698 (lyx_LDADD): add @LIBS@ here instead.
6700 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
6702 * Clarify the meaning of "wheel mouse jump"
6704 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6706 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6709 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6711 * importer.C (Loaders): do not preallocate 3 elements in the
6712 vector, since one ends up with 6 elements otherwise
6714 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6716 * DepTable.C (write): write the file name as last element of the
6717 .dep file (because it may contain spaces)
6718 (read): read info in the right order
6720 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6722 * paragraph_pimpl.C (simpleTeXBlanks):
6723 (simpleTeXSpecialChars):
6724 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6726 * tabular.C (latex): add some missing case statements. Reindent.
6728 * MenuBackend.C (expandToc): remove unused variable.
6730 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
6739 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6742 2003-01-05 John Levon <levon@movementarian.org>
6745 * BufferView.C: add getEncoding()
6748 * kbsequence.C: do not store last keypress
6751 * lyxfunc.C: store last keypress here instead. Pass encoding
6754 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6756 * lyx_main.C (init): remove annoying error message when following
6757 symbolic links (bug #780)
6759 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6761 * text.C (insertChar):
6762 * lyxrc.C (getDescription): remove extra spaces
6764 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6766 * lyxrc.C (getDescription): remove extra spaces
6768 2002-12-20 John Levon <levon@movementarian.org>
6770 * text3.C: hack fix for page up/down across tall rows
6772 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6774 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6777 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6779 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6780 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6781 thesaurus is not compiled in
6783 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
6785 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
6787 2002-12-16 Angus Leeming <leeming@lyx.org>
6790 * lyx_main.C (init): remove override_x_deadkeys stuff.
6792 2002-12-12 John Levon <levon@movementarian.org>
6794 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6795 insert. Only remove shift modifier under strict
6798 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6800 * MenuBackend.C (expandToc): fix crash.
6802 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6804 * MenuBackend.C (expandToc): gettext on float names.
6806 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6808 * lyxlength.[Ch]: set default unit to UNIT_NONE,
6809 implement bool empty() [bug 490]
6811 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6813 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6815 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6817 * several files: ws changes
6819 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6821 * text2.C (setCounter): clean up a bit, use boost.format.
6822 (updateCounters): initialize par upon declaration.
6824 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6825 if the layout exists. We do not just store the layout any more.
6826 (SwitchLayoutsBetweenClasses): use boost.format
6828 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6830 * converter.C (convert): if from and to files are the same, use a
6831 temporary files as intermediary
6833 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6836 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6838 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
6840 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6842 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6844 * tabular.C (asciiPrintCell): use string(size, char) instead of
6847 * sgml.C (openTag): fix order of arguments to string constructor
6850 * lyxfunc.C (dispatch): use boost.format
6852 * lots of files: change "c" -> 'c'
6854 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
6856 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6858 2002-11-25 Angus Leeming <leeming@lyx.org>
6860 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6862 * lyx_main.C (init): compile fix.
6864 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6866 * lyx_cb.C (start): boost.formatify
6867 do not include <iostream>
6869 * lengthcommon.C: ws only
6871 * boost-inst.C,BoostFormat.h: add more explict instantations
6873 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6875 * lots of files: handle USE_BOOST_FORMAT
6877 2002-11-21 John Levon <levon@movementarian.org>
6879 * pspell.C: fix compile
6881 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6883 * lyxfunc.C (dispatch): use boost::format
6887 * lyxfont.C (stateText): use boost::format
6889 * lyx_main.C (LyX): use boost::format
6891 (queryUserLyXDir): ditto
6894 (typedef boost::function): use the recommened syntax.
6896 * importer.C (Import): use boost::format
6898 * debug.C (showLevel): use boost::format
6900 * converter.C (view): use boost::format
6905 * bufferview_funcs.C (currentState): use boost::format
6907 * bufferlist.C (emergencyWrite): use boost::format
6909 * buffer.C (readLyXformat2): use boost::format
6910 (parseSingleLyXformat2Token): ditto
6912 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6914 * LaTeX.C (run): use boost::format
6916 * Chktex.C (scanLogFile): use boost::format
6918 * BufferView_pimpl.C (savePosition): use boost::format
6919 (restorePosition): ditto
6920 (MenuInsertLyXFile): ditto
6922 * BoostFormat.h: help file for explicit instation.
6924 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
6926 * tabular.C (latex): Support for block alignment in fixed width
6929 2002-11-17 John Levon <levon@movementarian.org>
6931 * BufferView_pimpl.C:
6933 * lyxfunc.C: split filedialog into open/save
6935 2002-11-08 Juergen Vigna <jug@sad.it>
6937 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6938 by my last patch (hopefully).
6940 2002-11-08 John Levon <levon@movementarian.org>
6949 * toc.C: ParConstIterator, and use it (from Lars)
6951 2002-11-07 Ben Stanley <bds02@uow.edu.au>
6953 * lyxtextclass.[Ch]: revise and add doxygen comments
6955 2002-11-07 John Levon <levon@movementarian.org>
6957 * text.C: fix progress value for spellchecker
6959 * toc.C: fix navigate menu for insetwrap inside minipage
6961 * paragraph_funcs.C: added FIXME for suspect code
6963 2002-11-07 John Levon <levon@movementarian.org>
6965 * BufferView_pimpl.C: fix redrawing of insets
6968 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6970 * text2.C (updateCounters): fix bug 668
6972 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
6974 * text3.C (dispatch): Do not make the buffer dirty when moving the
6977 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6979 * vc-backend.C: STRCONV
6982 * text2.C (setCounter): STRCONV
6984 * paragraph.C (asString): STRCONV
6986 * lyxlength.C (asString): STRCONV
6987 (asLatexString): ditto
6989 * lyxgluelength.C (asString): STRCONV
6990 (asLatexString): ditto
6992 * lyxfunc.C (dispatch): STRCONV
6995 * lyxfont.C (stateText): STRCONV
6997 * importer.C (Import): STRCONV
6999 * counters.C (labelItem): STRCONV
7000 (numberLabel): ditto
7001 (numberLabel): remove unused ostringstream o
7006 * bufferview_funcs.C (currentState): STRCONV
7008 * buffer.C (readFile): STRCONV
7009 (asciiParagraph): ditto
7010 (makeLaTeXFile): ditto
7012 * Spacing.C (writeEnvirBegin): STRCONV
7014 * LaTeXFeatures.C (getLanguages): STRCONV
7015 (getPackages): ditto
7017 (getBabelOptions): ditto
7018 (getTClassPreamble): ditto
7019 (getLyXSGMLEntities): ditto
7020 (getIncludedFiles): ditto
7024 (scanAuxFile): ditto
7027 * LString.h: add the STRCONV macros
7029 * BufferView_pimpl.C (savePosition): STRCONV
7030 (restorePosition): ditto
7031 (MenuInsertLyXFile): ditto
7033 * vc-backend.C (scanMaster): change from submatch[...] to
7036 * funcrequest.C: include config.h
7038 * factory.C: include config.h
7040 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7042 * box.C: include config.h
7044 * LaTeX.C (scanAuxFile): change from submatch[...] to
7048 2002-10-25 Angus Leeming <leeming@lyx.org>
7050 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7052 * ispell.[Ch] (setError): new method.
7053 * ispell.C (c-tor): move out child process into new class LaunchIspell.
7054 Use setError() insetead of goto END.
7056 * lyx_cb.C (AutoSave): move out child process into new class
7059 2002-10-30 John Levon <levon@movementarian.org>
7061 * text3.C: make start appendix undoable
7063 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
7065 * lyxlength.C (inPixels): Fix returned value.
7067 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7070 2002-10-24 Angus Leeming <leeming@lyx.org>
7072 * lyxgluelength.h: no need to forward declare BufferParams
7073 or BufferView, so don't.
7075 2002-10-21 John Levon <levon@movementarian.org>
7077 * BufferView.C: menuUndo ->undo, redo
7079 * BufferView.h: document, remove dead, make some methods private
7081 * paragraph_funcs.h:
7082 * paragraph_funcs.C:
7083 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7088 * sgml.C: move sgml open/close tag into sgml.C
7090 * bufferview_funcs.h: unused prototype
7093 * lyxfunc.C: remove unused
7096 * text.C: remove unused
7098 2002-10-21 John Levon <levon@movementarian.org>
7102 * BufferView_pimpl.h:
7103 * BufferView_pimpl.C: fix mouse wheel handling based on
7104 patch from Darren Freeman
7106 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
7108 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7110 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
7112 * lyxlength.C (inPixels): Fix hanfling of negative length.
7113 Fix LyXLength::MU case.
7115 2002-10-16 John Levon <levon@movementarian.org>
7117 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7119 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7121 * converter.C (view): add support for $$i (file name) and $$p
7122 (file path) for the viewer command. If $$i is not specified, then
7123 it is appended to the command (for compatibility with old syntax)
7125 2002-10-14 Juergen Vigna <jug@sad.it>
7127 * undo_funcs.C (textHandleUndo): alter the order in which the
7128 new undopar is added to the LyXText, as we have to set first
7129 the right prev/next and then add it as otherwise the rebuild of
7130 LyXText is not correct. Also reset the cursor to the right paragraph,
7131 with this IMO we could remove the hack in "redoParagraphs()".
7133 2002-10-09 Angus Leeming <leeming@lyx.org>
7135 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7136 to turn off an optimisation if a new inset is to be inserted.
7138 2002-10-11 André Pönitz <poenitz@gmx.net>
7140 * lyxtext.h: make some functions public to allow access
7141 from inset/lyxtext for handling LFUN_PRIOR/NEXT
7143 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7145 * text3.C (dispatch): when changing layout, avoid an infinite loop
7148 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7150 * lyxrc.C (read): treat a viewer or converter command of "none" as
7153 * MenuBackend.C (expandFormats): for an update, also allow the
7154 formats that are not viewable
7156 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7157 script if it is newer than the lyxrc.defaults in user directory
7159 2002-10-07 André Pönitz <poenitz@gmx.net>
7161 * text.C: Vitaly Lipatov's small i18n fix
7163 2002-09-25 Angus Leeming <leeming@lyx.org>
7165 * ispell.h: doxygen fix.
7167 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
7169 * buffer.h (readFile): Add a new argument to the method, to allow
7170 reading of old-format templates.
7172 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
7174 * toc.C (getTocList): Get TOC from InsetWrap.
7176 2002-09-16 John Levon <levon@movementarian.org>
7178 * lyxfunc.C: check tabular for cut/copy too
7180 2002-09-12 John Levon <levon@movementarian.org>
7185 * factory.C: add header
7187 * paragraph_funcs.h:
7188 * paragraph_funcs.C: cleanup
7190 2002-09-11 John Levon <levon@movementarian.org>
7192 * PrinterParams.h: odd/even default to true
7194 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
7196 * PrinterParams.h: update printer parameters for new xforms dialog
7198 2002-09-11 Angus Leeming <leeming@lyx.org>
7200 * lyxserver.C (read_ready): re-write to make it more transparent
7201 and to make it work in coherent fashion under Tru64 Unix.
7203 2002-09-11 André Pönitz <poenitz@gmx.net>
7207 * text3.C: implement LFUN_WORDSEL
7209 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7211 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7212 make floatlist_ a boost::shared_ptr<FloatList>
7214 * lyxtextclass.C: include FloatList.h
7215 (LyXTextClass): initialize floatlist_
7216 (TextClassTags): add TC_NOFLOAT
7217 (Read): match "nofloat" to TC_NOFLOAT and use it.
7218 (readFloat): modify call to floatlist_
7222 * FloatList.[Ch] (FloatList): remove commented out float
7224 (erase): new function
7226 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7228 * MenuBackend.C (expandToc): fix crash when there is no document
7231 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
7233 * many files: Add insetwrap.
7235 2002-09-09 John Levon <levon@movementarian.org>
7237 * text2.C: remove confusing and awkward depth wraparound
7239 2002-09-09 John Levon <levon@movementarian.org>
7241 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7244 * buffer.C: remove getIncludeonlyList()
7247 * lyxfunc.C: remove headers
7249 2002-09-09 Juergen Vigna <jug@sad.it>
7251 * text.C (getColumnNearX): fix form Michael this is most
7252 probably a cut&paste bug.
7254 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7256 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7258 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7259 references, ws changes.
7261 * text2.C (init): update counters after init
7262 (insertParagraph): no need to set counter on idividual paragraphs.
7263 (setCounter): access the counters object in the textclass object
7264 on in the buffer object.
7265 (updateCounters): ditto
7267 * lyxtextclass.C: include counters.h, add variable ctrs_ as
7268 shared_ptr<Counters> to avoid loading counters.h in all
7270 (LyXTextClass): initialize ctrs_
7271 (TextClassTags): add TC_COUNTER, and ...
7272 (Read): use it here.
7273 (CounterTags): new tags
7274 (readCounter): new function
7275 (counters): new funtion
7276 (defaultLayoutName): return a const reference
7278 * counters.C (Counters): remove contructor
7279 (newCounter): remove a couple of unneeded statements.
7280 (newCounter): simplify a bit.
7281 (numberLabel): some small formatting changes.
7283 * buffer.[Ch]: remove all traces of counters, move the Counters
7284 object to the LyXTextClass.
7286 2002-09-06 Alain Castera <castera@in2p3.fr>
7288 * tabular.C: uses \tabularnewline; uses >{...} construct from array
7289 package to set the horizontal alignment on fixed width columns.
7292 * lyx_sty.h: added tabularnewline macro def.
7294 * LaTeXFeatures.C: added NeedTabularnewline macro feature
7296 2002-09-06 John Levon <levon@movementarian.org>
7298 * LyXAction.C: tooltips for sub/superscript
7300 * MenuBackend.C: a bit more verbose
7302 * lyxfunc.C: tiny clean
7304 * undo_funcs.C: document undo_frozen
7306 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7308 * counters.C (Counters): add missing algorithm counter.
7310 * text2.C (setCounter): lookup the counter with layouts latexname
7311 instead of by section number.
7312 (setCounter): use a hackish way to lookup the correct enum
7314 a float name->type change
7315 reset enum couners with counter name directly instead of depth value.
7317 * counters.C (Counters): remove the push_backs, change to use the
7318 float type not the float name.
7319 (labelItem): remove unused string, float name->type change
7321 * counters.h: don't include vector, loose the enums and sects vectors
7323 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7325 * lyxtextclass.C (TextClassTags): add TC_FLOAT
7326 (Read): add float->TC_FLOAT to textclassTags
7327 (Read): and handle it in the switch
7328 (readFloat): new function
7330 * FloatList.C (FloatList): comment out the hardcoded float
7333 * lyxlayout.h: ws change.
7335 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
7337 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7339 2002-09-03 Angus Leeming <leeming@lyx.org>
7341 * BufferView_pimpl.h: qualified name is not allowed in member
7342 declaration: WorkArea & Pimpl::workarea() const;
7344 * factory.C: added using std::endl directive.
7346 * text3.C: added using std::find and std::vector directives.
7348 2002-08-29 André Pönitz <poenitz@gmx.net>
7351 * text2.C: remove unused member number_of_rows
7354 * BufferView2.C: remove file, move contents to...
7355 * BufferView.C: ... here
7357 * BufferView_pimpl.C:
7358 * factory.C: move more inset creation to factory
7360 * vspace.C: avoid direct usage of LyXText, ws changes
7363 don't provide direct access to WorkArea, use two simple
7364 acessors haveSelction() and workHeight() instead
7367 2002-08-29 John Levon <levon@movementarian.org>
7369 * BufferView_pimpl.C (dispatch): do not continue when
7372 2002-08-28 André Pönitz <poenitz@gmx.net>
7374 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7377 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7379 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
7381 * buffer.C: increment LYX_FORMAT to 221
7383 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7384 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7386 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7388 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7390 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7392 * factory.C (createInset): use LyXTextClass::floats
7394 * MenuBackend.C (expandFloatListInsert):
7395 (expandFloatInsert):
7398 * text2.C (setCounter):
7400 * LaTeXFeatures.C (useFloat):
7401 (getFloatDefinitions):
7403 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7405 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7406 floatlist_, with accessor floats().
7408 * FloatList.h: remove global FloatList
7410 2002-08-26 André Pönitz <poenitz@gmx.net>
7412 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7416 * BufferView_pimpl.C:
7417 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7419 2002-08-25 John Levon <levon@movementarian.org>
7421 * LyXAction.C: fix margin note description
7423 2002-08-24 John Levon <levon@movementarian.org>
7427 * bufferview_funcs.C:
7429 * undo_funcs.C: cleanups
7431 * lyxfunc.C: disable CUT/COPY when no selection
7433 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
7435 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7436 in "enum UNIT"; e.g. PTW for Percent of TextWidth
7438 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7439 Add backward compatibility to "mono", "gray" and "no".
7441 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
7443 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7444 (and file_format >= 200).
7446 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7448 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7450 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7452 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7454 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
7456 * BufferView_pimpl.C:
7463 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7464 inset and code to make it work with the paragraph code. The inset
7465 can be anywhere in the paragraph, but will only do the expected
7466 thing in LaTeX if the layout file contains the parameter line
7468 (or more generally, a nonzero value) for that layout.
7470 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7472 * paragraph.h: remove the declaration of undefined counters class
7475 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
7477 * text2.C (setCounter): fixed enumeration mis-count as reported by
7478 Dr. Richard Hawkins.
7480 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7482 * paragraph_funcs.h: remove some unneeded includes
7484 * text.C (backspace): pasteParagraph now in global scipe
7486 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7487 (pasteSelection): ditto
7489 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7490 * paragraph_funcs.C (pasteParagraph): ... here
7492 2002-08-20 André Pönitz <poenitz@gmx.net>
7494 * commandtags.h: new LFUNs for swapping/copying table row/colums
7497 * lyxfunc.C: support for new lfuns
7499 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7502 * buffer.[Ch]: remove NO_COMPABILITY stuff
7504 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
7506 * boost.C (throw_exception): new file, with helper function for
7507 boost compiled without exceptions.
7512 * ParameterStruct.h:
7513 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7515 * bufferlist.C (emergencyWriteAll): use boost bind
7517 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7519 * text.C: include paragraph_funcs.h
7520 (breakParagraph): breakParagraph is now in global scope
7522 * paragraph_funcs.[Ch]: new files
7524 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7527 * buffer.C: include paragraph_funcs.h
7528 (insertStringAsLines): breakParagraph is now in global scope
7530 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7533 * CutAndPaste.C: include paragraph_funcs.h
7534 (cutSelection): breakParagraphConservative is now in global scope
7535 (pasteSelection): ditto
7537 * buffer.h: declare oprator== and operator!= for
7538 Buffer::inset_iterator
7540 * bufferlist.C (emergencyWrite): don't use fmt(...)
7542 * text3.C: add using std::endl
7544 * BufferView.C (moveCursorUpdate): remove default arg
7546 2002-08-20 André Pönitz <poenitz@gmx.net>
7548 * buffer.[Ch]: move inline functions to .C
7551 * BufferView_pimpl.C:
7553 * buffer.[Ch]: use improved inset_iterator
7556 * paragraph.[Ch]: write one paragraph at a time
7558 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7560 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7561 style if style is not specified.
7563 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7565 * text2.C (setCounter): when searching for right label for a
7566 caption, make sure to recurse to parent insets (so that a caption
7567 in a minipage in a figure float works) (bug #568)
7569 2002-08-20 André Pönitz <poenitz@gmx.net>
7571 * text3.C: new file for LyXText::dispatch() and helpers
7573 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7575 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7577 2002-08-19 André Pönitz <poenitz@gmx.net>
7580 * text.C: new LyXText::dispatch()
7582 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7584 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7586 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7588 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7591 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7593 * Makefile.am: use $(variables) instead of @substitutions@
7595 2002-08-15 André Pönitz <poenitz@gmx.net>
7598 * BufferView_pimpl.C: streamlining mathed <-> outer world
7602 * LyXAction.C: remove unused LFUN_MATH
7604 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7606 * paragraph.[Ch]: add some NO_NEXT ifdefs.
7608 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7610 * paragraph.C (Paragraph): reformat a bit
7611 (cutIntoMinibuffer): use builtin InsetList function instad of
7615 * buffer.C: include boost/bind.hpp, add using std::for_each
7616 (writeFileAscii): use ParagraphList iterators
7617 (validate): use for_each for validate traversal of paragraphs
7618 (getBibkeyList): use ParagraphList iterators
7619 (resizeInsets): use for_each to resizeInsetsLyXText for all
7621 (getParFromID): use ParagraphList iterators
7623 * BufferView2.C (lockInset): use paragraph list and iterators
7625 2002-08-14 John Levon <levon@movementarian.org>
7627 * lyxserver.C: remove spurious xforms include
7629 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7631 * lyxfunc.C (getStatus): disable math-extern outside of math mode
7633 2002-08-13 André Pönitz <poenitz@gmx.net>
7636 * lyxfunc.C: further cleaning
7638 2002-08-13 André Pönitz <poenitz@gmx.net>
7640 * funcrequest.h: new constructor
7642 * funcrequest.C: move stuff here from .h
7645 * BufferView_pimpl.C:
7648 * lyxfunc.C: subsequent changes
7650 * lyxfunc.h: new view() member function
7652 * lyxfunc.C: subsequent changes
7654 2002-08-13 Angus Leeming <leeming@lyx.org>
7657 * BufferView_pimpl.C:
7665 changes due to the changed LyXView interface that now returns references
7666 to member variables not pointers.
7668 2002-08-13 Angus Leeming <leeming@lyx.org>
7670 * WordLangTuple (word, lang_code): return references to strings,
7675 * lyxtext.h: forward-declare WordLangTuple.
7680 * text.C: #include "WordLangTuple.h".
7683 * text.C: (selectNextWordToSpellcheck): constify return type.
7685 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
7691 * paragraph_pimpl.h:
7694 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7696 Made updateCounter always count from start of buffer, and removed
7697 second argument (par).
7698 Reverted floats number display to '#'. Perhaps I'll try again when the
7699 code base is sanitized a bit.
7701 2002-08-12 Angus Leeming <leeming@lyx.org>
7703 * buffer.[Ch] (getLabelList): constify.
7705 2002-08-07 André Pönitz <poenitz@gmx.net>
7707 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7709 * funcrequest.h: extension to keep mouse (x,y) position
7711 2002-08-12 Juergen Vigna <jug@sad.it>
7713 * BufferView2.C (insertErrors): forbid undo when inserting error
7716 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7718 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7720 * ParagraphList.[Ch]: new files
7722 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7724 * BufferView2.C (lockInset): ParagraphList changes
7727 * bufferlist.C: ditto
7731 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7733 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7734 unused class variable counter_,
7736 * paragraph.[Ch] (getFirstCounter): delete unused function
7738 * counters.C: include LAssert.h
7739 (reset): add a new function with no arg, change other version to
7740 not have def. arg and to not allow empty arg.
7742 * text2.C (setCounter): remove empty arg from call to Counters::reset
7744 2002-08-11 John Levon <levon@movementarian.org>
7746 * Makefile.am: add WordLangTuple.h
7748 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7750 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7751 lyxfunc.C lyxlex_pimpl.C: ws changes only.
7753 * insets/insettext.C: InsetList changes
7755 * graphics/GraphicsSupport.C (operator()): InsetList changes
7757 * toc.C (getTocList): InsetList changes
7759 * paragraph_pimpl.[Ch]: InsetList changes
7761 * paragraph.[Ch]: InsetList changes
7763 * buffer.C (inset_iterator): InsetList changes
7764 (setParagraph): ditto
7765 * buffer.h (inset_iterator): ditto
7766 * iterators.C (operator++): ditto
7767 * iterators.h: ditto
7769 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7771 * InsetList.[Ch]: new files, most InsetList handling moved out of
7774 * BufferView2.C (removeAutoInsets): InsetList changes
7776 (ChangeInsets): ditto
7778 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7780 * paragraph_pimpl.h (empty): new function
7782 * paragraph.[Ch] (empty): new function
7784 * other files: use the new Paragraph::empty function
7786 2002-08-09 John Levon <levon@movementarian.org>
7788 * lyxtext.h: remove unused refresh_height
7790 2002-08-09 John Levon <levon@movementarian.org>
7797 * paragraph.C: move sgml char escaping out of paragraph
7800 * paragraph.C: remove id setter
7804 * paragraph_pimpl.C: remove dead tex_code_break_column
7806 * bufferview_funcs.C: small cleanup
7808 * lyxfunc.C: remove dead proto
7810 * lyxtext.h: make some stuff private. Remove some dead stuff.
7812 * lyxgluelength.C: make as[LyX]String() readable
7814 2002-08-08 John Levon <levon@movementarian.org>
7819 * ToolbarDefaults.C:
7822 * toc.C: lyxaction cleanup
7824 2002-08-08 John Levon <levon@movementarian.org>
7826 * BufferView2.C: small cleanup
7829 * lyxfind.C: move unnecessary header into the .C
7831 2002-08-08 John Levon <levon@movementarian.org>
7833 * funcrequest.h: just tedious nonsense
7836 * lyx_main.C: cleanups
7839 * vspace.C: remove dead header lyx_main.h
7841 2002-08-07 Angus Leeming <leeming@lyx.org>
7844 * paragraph_pimpl.h:
7845 Forward declare class Counters in paragraph.h by moving the ctrs member
7846 variable into Paragraph::Pimpl.
7847 (counters): new method, returning a reference to pimpl_->ctrs.
7849 * text2.C: ensuing changes.
7851 2002-08-07 John Levon <levon@movementarian.org>
7853 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7855 * BufferView_pimpl.C: announce X selection on double/triple
7858 * lyx_main.C: use correct bool in batch dispatch
7860 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7862 2002-08-07 André Pönitz <poenitz@gmx.net>
7864 * funcrequest.h: new class to wrap a kb_action and its argument
7867 * BufferView_pimpl[Ch]:
7871 * lyxrc.C: subsequent changes
7874 2002-08-07 John Levon <levon@movementarian.org>
7876 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7877 document options change.
7879 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7884 * makefile.am: move counters functionality over from
7885 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7887 2002-08-06 John Levon <levon@movementarian.org>
7889 * WordLangTuple.h: new file for word + language code tuple
7900 * BufferView2.C: use WordLangTuple
7903 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7905 2002-08-06 John Levon <levon@movementarian.org>
7907 * lyx_main.C: fix cmdline batch handling
7909 2002-08-06 André Pönitz <poenitz@gmx.net>
7911 * lyxrc.C: set default for show_banner to true
7913 2002-08-06 John Levon <levon@movementarian.org>
7915 * pspell.C: fix a crash, and allow new aspell to work
7917 2002-08-06 John Levon <levon@movementarian.org>
7920 * kbmap.C: small cleanup
7923 * vspace.C: add const
7925 2002-08-05 John Levon <levon@movementarian.org>
7927 * LyXAction.C: back to tabular-insert
7929 2002-08-04 John Levon <levon@movementarian.org>
7932 * BufferView.C: cosmetic change
7934 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7944 * BufferView2.C: purge all "Lyx" not "LyX" strings
7947 * lyxcursor.C: attempt to add some documentation
7952 * ToolbarDefaults.C:
7953 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7954 merge with LFUN_TABULAR_INSERT
7961 * pspell.C: split up i/pspell implementations into separate
7962 files, many cleanups
7964 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7966 * text2.C: some cleanup
7968 * lyxfunc.C: don't check for isp_command == "none" any more, it
7969 didn't make any sense
7971 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7976 * makefile.am: move counters functionality over
7977 from text2.C/paragraph.[Ch] to counters.[Ch], and
7979 2002-08-02 John Levon <levon@movementarian.org>
7981 * buffer.C: s/lyxconvert/lyx2lyx/
7983 2002-08-02 Angus Leeming <leeming@lyx.org>
7985 * lyxlex.C: revert John's change as it breaks reading of the user
7988 2002-08-02 Angus Leeming <leeming@lyx.org>
7990 * importer.C (Import):
7991 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7992 changes due to LyXView::view() now returning a boost::shared_ptr.
7994 2002-08-02 John Levon <levon@movementarian.org>
7996 * lyxlex.C: small cleanup
7998 2002-08-02 John Levon <levon@movementarian.org>
8000 * text2.C (status): small cleanup, no logic change
8002 2002-08-01 John Levon <levon@movementarian.org>
8005 * buffer.C (writeFile): don't output alerts, caller
8009 * lyx_cb.C: from above
8011 * lyxfunc.C: allow to open non-existent files
8013 2002-07-31 John Levon <levon@movementarian.org>
8015 * lyxserver.C: don't let incidental errors get
8018 2002-07-30 John Levon <levon@movementarian.org>
8020 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8022 2002-07-30 John Levon <levon@movementarian.org>
8025 * lyxserver.C: remove I/O callback too
8027 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8029 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8032 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8034 * many files: strip,frontStrip -> trim,ltrim,rtrim
8036 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8038 * PrinterParams.h: remove extern containsOnly, and include
8039 support/lstrings.h instead.
8041 * LaTeX.C (scanAuxFile): modify because of strip changes
8043 * buffer.C (makeLaTeXFile): ditto
8044 * bufferparams.C (writeFile): ditt
8045 * lyxfont.C (stateText): ditto
8046 * lyxserver.C (read_ready): ditto
8047 * vc-backend.C (scanMaster): ditto
8049 * BufferView_pimpl.h: ws changes
8051 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8053 2002-07-26 André Pönitz <poenitz@gmx.net>
8055 * kb_sequence.C: remove unnedred usings
8057 2002-07-26 Juergen Vigna <jug@sad.it>
8059 * lyxfind.C (LyXReplace): we have to check better if the returned
8060 text is not of theLockingInset()->getLockingInset().
8062 2002-07-25 Juergen Vigna <jug@sad.it>
8064 * lyxfind.C (LyXReplace): don't replace if we don't get the
8067 * undo_funcs.C (createUndo): remove debugging code.
8069 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
8071 * buffer.C (parseSingleLyXformat2Token): Use default placement
8072 when reading old floats.
8074 * FloatList.C (FloatList): Change the default placement of figure
8075 and tables to "tbp".
8077 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
8079 * MenuBackend.C: using std::max
8081 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8083 * MenuBackend.C (expandToc):
8084 (expandToc2): code moved from xforms menu frontend. It is now
8085 generic and TOCs are transparent to menu frontends.
8087 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8089 * toc.C (getTocList): protect against buf=0
8091 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8092 Menu as first parameter. Now, this calls itself recursively to
8093 expand a whole tree (this will be useful for TOC handling)
8094 (expandFloatInsert): remove 'wide' version of floats
8096 * MenuBackend.h (submenuname): returns the name of the submenu.
8097 (submenu): returns the submenu itself, provided it has been
8098 created by MenuBackend::expand
8100 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8102 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8103 insets which have noFontChange == true. (bug #172)
8105 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8107 * BufferView_pimpl.C: add connection objects and use them...
8110 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8112 * MenuBackend.C (expandLastfiles):
8115 (expandFloatListInsert):
8116 (expandFloatInsert):
8117 (expand): split expand in parts
8119 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8121 * lyx_gui.C: use lyx_gui::exit()
8123 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8125 * LyXAction.C: show the failing pseudo action
8127 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
8129 * buffer.C (readFile): Run the lyxconvert script in order to read
8132 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8136 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8138 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8142 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8144 2002-07-22 Herbert Voss <voss@lyx.org>
8147 * lyxlength.[Ch]: add support for the vertical lengths
8149 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
8151 * toc.[Ch]: std:: fixes
8153 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8155 * lyxrc.C: do not include lyx_main.h
8157 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8163 * BufferView2.C: include "lyxlex.h"
8166 * bufferparams.h: do not #include "lyxlex.h"
8168 * lyxtextclasslist.C (Add): remove method
8169 (classlist): renamed to classlist_
8171 * paragraph_pimpl.C:
8175 * bufferview_funcs.C:
8180 * toc.C (getTocList): use BufferParams::getLyXTextClass
8182 * toc.C (getTocList): use InsetFloat::addToToc
8184 * toc.[Ch]: new files, containing helper functions to handle table
8187 * lyxfunc.C (dispatch): no need to remove spaces around command
8189 (getStatus): handle LFUN_SEQUENCE by returning the status of the
8190 first command of the sequence; it is not very clever, but I do not
8191 have a better idea, actually
8193 * LyXAction.C (LookupFunc): make sure to remove space at the
8194 beginning and end of the command
8196 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8198 * MenuBackend.C (getMenubar): new method: return the menubar of
8200 (read): treat differently reading of menu and menubar (in
8201 particular, the menubar has no name now)
8202 (Menu::menubar): remove
8204 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8207 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8209 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8210 a bibitem inset in a RTL paragraph.
8212 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
8214 * paragraph_pimpl.C: constify
8216 * BufferView_pimpl.C:
8218 * lyxfunc.C: fix dispatch in a nicer way
8220 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8222 * lyxfunc.C (dispatch):
8223 * BufferView_pimpl.C:
8224 * BufferView_pimpl.h:
8226 * BufferView.h: rename Dispatch() to dispatch()
8228 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8230 * lyxlayout.C (Read): honor DependsOn tag
8232 * lyxlayout.[Ch] (depends_on): new method
8234 * version.C.in: update lyx_docversion
8236 * LaTeXFeatures.C (getMacros): only define \LyX when needed
8238 * paragraph.C (validate): remove from here...
8239 * paragraph_pimpl.C (validate): ... and move here
8240 (isTextAt): make it const
8242 * buffer.C (getLists): ws cleanup
8244 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8246 * language.C (read): Use iso8859-1 encoding in latex_lang
8247 (this prevents LyX from crashing when using iso10646-1 encoding).
8249 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8251 * text2.C (toggleInset): if cursor is inside an inset, close the
8252 inset and leave cursor _after_ it
8254 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8256 * lyxfunc.C: move minibuffer completion handling out of here
8258 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8260 * BufferView_pimpl.C:
8261 * LaTeX.C: fix dispatch calls
8263 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
8265 * text.C (drawChars): Fix Arabic text rendering.
8267 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
8271 * lyxfunc.C: remove message-push/pop
8275 * lyxfunc.C: rationalise some code by removing verboseDispatch
8276 in favour of a bool argument to dispatch()
8278 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8280 * lyx_main.C (init): make sure to read symlinks as absolute paths
8282 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8285 * lyxfunc.C: no need for commandshortcut to be a member
8287 2002-07-15 André Pönitz <poenitz@gmx.net>
8289 * converter.C: add support for $$s (scripts from lib/scripts dir)
8290 * lyx_main.C: white space
8292 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8296 * lyxrc.C: remove second exit confirmation
8298 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8303 * BufferView_pimpl.h:
8304 * BufferView_pimpl.C:
8305 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8307 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8309 * MenuBackend.C (expand): add numeric shortcuts to document menu
8311 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8313 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8315 * lyxfont.C (setLyXFamily):
8322 * buffer.C (asciiParagraph): use ascii_lowercase
8324 2002-07-15 Mike Fabian <mfabian@suse.de>
8326 * lyxlex_pimpl.C (search_kw):
8327 * lyxlex.C (getLongString):
8328 * converter.h (operator<):
8329 * converter.C (operator<):
8330 * buffer.C (parseSingleLyXformat2Token):
8332 * ToolbarDefaults.C (read):
8333 * MenuBackend.C (checkShortcuts):
8335 * LColor.C (getFromGUIName):
8336 (getFromLyXName): use the compare_ascii_no_case instead of
8337 compare_no_case, because in turkish, 'i' is not the lowercase
8338 version of 'I', and thus turkish locale breaks parsing of tags.
8340 2002-07-16 Angus Leeming <leeming@lyx.org>
8342 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8343 now takes a Buffer const & argument.
8345 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
8347 * BufferView.C (resize): check there's a buffer to resize
8349 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
8351 * lyxfunc.C: remove dead code
8354 * lyxserver.C: use lyx_guii::set_read_callback
8356 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
8358 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8359 an inset in a RTL paragraph.
8361 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8363 * lyxfunc.C: repaint after a font size update
8365 2002-07-15 André Pönitz <poenitz@gmx.net>
8367 * lyxlength.C: inBP should be able to return negative values
8369 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8371 * lyxfunc.C: use lyx_gui::update_fonts()
8373 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8375 * lyxfunc.C: use lyx_gui::update_color()
8377 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8383 * lyxrc.C: remove file->new asks for name option, and let
8384 buffer-new take an argument
8386 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8388 * BufferView_pimpl.C: remove unneeded extra repaint()
8390 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
8392 * LyXAction.C: allow command-sequence with NoBuffer
8394 * lyxfunc.C: don't insist on trailing ';' for command-sequence
8396 2002-07-10 Angus Leeming <leeming@lyx.org>
8398 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8400 2002-07-09 Angus Leeming <leeming@lyx.org>
8402 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8404 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8406 * lengthcommon.h: whitespace
8408 * lyxfunc.C: update scrollbar after goto paragraph
8410 * lyxtext.h: factor out page break drawing, and fix it so
8411 page break/added space paints as selected nicely
8413 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8415 * BufferView_pimpl.C: add FIXMEs, clean up a little
8417 2002-07-09 André Pönitz <poenitz@gmx.net>
8419 * lyxfont.[Ch]: support for wasy symbols
8421 2002-07-08 André Pönitz <poenitz@gmx.net>
8423 * BufferView_pimpl.C: apply John's patch for #93.
8425 2002-07-05 Angus Leeming <leeming@lyx.org>
8427 * BufferView_pimpl.C (buffer): generate previews if desired.
8429 * LColor.h: add "preview" to the color enum.
8431 * LColor.C (LColor): add a corresponding entry to the items array.
8433 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8436 2002-07-05 Angus Leeming <leeming@lyx.org>
8438 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8439 The body of the code is now in the method that is passed an ostream &
8440 rather than a file name.
8441 Pass an additional only_preamble parameter, useful for the forthcoming
8444 2002-07-03 André Pönitz <poenitz@gmx.net>
8446 * lyxfunc.C: simplify getStatus() a bit for math stuff
8448 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8450 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8452 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8454 * text.C (changeRegionCase): do not change case of all the
8455 document when region ends at paragraph end (bug #461)
8457 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8459 * paragraph.C (startTeXParParams):
8460 (endTeXParParams): add \protect when necessary
8462 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8464 * BufferView_pimpl.C (workAreaExpose): remove warning
8466 2002-06-27 Angus Leeming <leeming@lyx.org>
8468 * Makefile.am: add lyxlayout_ptr_fwd.h.
8470 2002-06-26 André Pönitz <poenitz@gmx.net>
8472 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8474 2002-06-25 Angus Leeming <leeming@lyx.org>
8476 * lyxfunc.C (dispatch): Comment out the call to
8477 grfx::GCache::changeDisplay. The method no longer exists now that the
8478 pixmap generation part of the graphics loader has been moved into
8481 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8483 * text2.C: layout as layout
8485 * text.C: layout as layout
8487 * tabular.C (OldFormatRead): layout as layout
8489 * paragraph_pimpl.C (TeXDeeper): layout as layout
8490 (realizeFont): layout as layout
8492 * paragraph.C (writeFile): layout as layout
8493 (validate): layout as layout
8494 (getFont): layout as layout
8495 (getLabelFont): layout as layout
8496 (getLayoutFont): layout as layout
8497 (breakParagraph): layout as layout
8498 (stripLeadingSpaces): layout as layout
8499 (getEndLabel): layout as layout
8500 (getMaxDepthAfter): layout as layout
8501 (applyLayout): layout as layout
8502 (TeXOnePar): layout as layout
8503 (simpleTeXOnePar): layout as layout
8504 (TeXEnvironment): layout as layout
8505 (layout): layout as layout
8506 (layout): layout as layout
8508 * lyxtextclass.C (compare_name): new functor to work with
8509 shared_ptr, layout as layout
8510 (Read): layout as layout
8511 (hasLayout): layout as layout
8512 (operator): layout as layout
8513 (delete_layout): layout as layout
8514 (defaultLayout): layout as layout
8516 * lyxlayout_ptr_fwd.h: new file
8518 * lyxlayout.C (Read): layout as layout
8520 * lyx_cb.C (MenuInsertLabel): layout as layout
8522 * bufferlist.C (newFile): layout as layout
8524 * buffer.C (readLyXformat2): layout as layout
8525 (parseSingleLyXformat2Token): layout as layout
8526 (insertStringAsLines): layout as layout
8527 (asciiParagraph): layout as layout
8528 (latexParagraphs): layout as layout
8529 (makeLinuxDocFile): layout as layout
8530 (simpleLinuxDocOnePar): layout as layout
8531 (makeDocBookFile): layout as layout
8532 (simpleDocBookOnePar): layout as layout
8533 (getLists): layout as layout
8535 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8537 * CutAndPaste.C (cutSelection): layout as layout
8538 (pasteSelection): layout as layout
8539 (SwitchLayoutsBetweenClasses): layout as layout
8541 * BufferView_pimpl.C (Dispatch): layout as layout
8542 (smartQuote): layout as layout
8544 * BufferView2.C (unlockInset): layout as layout
8546 2002-06-24 André Pönitz <poenitz@gmx.net>
8548 * lyxfunc.C: fix #487
8550 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8554 * lyxfunc.C: remove display_shortcuts, show_banner
8556 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8558 * Buffer_pimpl.C: oops, update on resize
8560 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8567 * BufferView.C: use repaint()
8569 * BufferView_pimpl.h:
8570 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8571 as it's a clearer description. Remove superfluous
8574 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8576 * text.C: fix bug 488. Not ideal, but getting
8577 getWord() to work properly for the insets that
8578 matter is more difficult ...
8580 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8582 * BufferView_pimpl.C:
8585 * lyxfunc.C: remove the six million index lyxfuncs to just
8586 one, and DTRT (bug 458)
8588 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8592 * BufferView_pimpl.h:
8593 * BufferView_pimpl.C: clean up resize() stuff,
8594 and unnecessary updateScreen()s
8596 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8600 * BufferView_pimpl.h:
8601 * BufferView_pimpl.C:
8604 * minibuffer.C: remove focus management of workarea,
8605 not needed. Use screen's greyOut()
8607 2002-06-17 Herbert Voss <voss@lyx.org>
8609 * converter.C: (convert) do not post a message, when converting
8610 fails, let the calling function decide what to do in this case
8612 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
8614 * lyxfunc.C: tidy up a little
8616 2002-06-16 <alstrup@diku.dk>
8618 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8619 Got rid of FORMS_H_LOCATION include. Now we are
8622 2002-06-15 LyX Development team <lyx@rilke>
8624 * buffer.[Ch] (sgmlOpenTag):
8625 (sgmlCloseTag): Added support for avoiding pernicious mixed
8626 content. Return number of lines written.
8629 (makeDocBookFile): Fixed calls to sgml*Tag.
8630 Simple white space clean.
8632 (simpleDocBookOnePar): Simple white space clean.
8634 * tabular.[Ch] (docBook): Renamed to docbook and got another
8635 argument to related with the pernicious mixed content.
8637 (docbookRow): Fixed calls for docbook inset method.
8639 2002-06-15 Lyx Development team <larsbj@birdstep.com>
8641 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8642 so it's X11 independent.
8646 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8648 2002-06-15 Lyx Development team <lyx@electronia>
8650 * intl.h: Renamed getTrans to getTransManager.
8652 2002-06-14 Angus Leeming <leeming@lyx.org>
8654 * Makefile.am: nuke forgotten stl_string_fwd.h.
8656 2002-06-12 Angus Leeming <leeming@lyx.org>
8658 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8660 2002-06-13 Angus Leeming <leeming@lyx.org>
8663 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8665 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
8667 * kbmap.C (getiso): add support for cyrillic and greek
8669 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8673 * BufferView_pimpl.h:
8674 * BufferView_pimpl.C: move bogus scrolling logic
8677 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8680 * BufferView_pimpl.C: view->resize() change
8682 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8684 * BufferView_pimpl.C: topCursorVisible
8687 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8691 * lyx_gui.C: move to frontends/
8695 * lyx_main.C: changes from above
8697 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8704 * lyx_main.C: minor tidy
8706 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8708 * BufferView_pimpl.h:
8709 * BufferView_pimpl.C:
8711 * BufferView.C: make painter() const,
8714 * BufferView2.C: use screen() accessor
8717 * lyx_main.C: some minor cleanup
8719 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8721 * BufferView_pimpl.h:
8722 * BufferView_pimpl.C: remove enter/leaveView,
8725 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8730 * BufferView_pimpl.h:
8731 * BufferView_pimpl.C: only construct screen once,
8734 * lyxrc.C: remove pointless comment
8736 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8739 * BufferView.C: remove active() and belowMouse()
8741 * BufferView_pimpl.h:
8742 * BufferView_pimpl.C: use workarea() not workarea_,
8743 and make it use a scoped_ptr instead
8745 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8747 * lyx_gui.C: add debug message on BadWindow
8749 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8751 * sp_spell.C: fdopen is not part of the C++ standard.
8753 * paragraph.C (InsetIterator): use >= instead of ==
8755 2002-06-07 Angus Leeming <leeming@lyx.org>
8757 Fixes needed to compile with Compaq cxx 6.5.
8758 * BufferView_pimpl.C:
8765 * lyxtextclasslist.C:
8770 all c-library variables have been moved into namespace std. Wrap
8771 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8776 Add a using std::abs declaration.
8778 * kbmap.h (modifier_pair):
8779 * paragraph.h (InsetTable, InsetList):
8780 * lyxfont.h (FontBits):
8781 type definition made public.
8783 * bufferlist.C (emergencyWriteAll): the compiler complains that
8784 there is more than one possible lyx::class_fun template to choose from.
8785 I re-named the void specialisation as lyx::void_class_fun.
8787 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8789 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8790 the compiler is is unable to find tostr in write_attribute.
8792 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8794 * buffer.C (sgmlError): hide #warning
8796 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8798 * xtl/*: get rid of xtl, which is not in use anyway
8800 * LyXAction.C (init):
8801 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8802 were unimplemented xtl experimentation
8804 2002-06-04 André Pönitz <poenitz@gmx.net>
8806 * lyxfunc.C: disable array operation on simple formulae
8808 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
8810 * converter.C: constify a bit
8812 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
8814 * lyx_gui.C: check xforms version correctly
8816 2002-04-30 Herbert Voss <voss@lyx.org>
8818 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8821 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
8823 * lyxvc.C: fix bug 416 (make sure buffer is saved before
8824 attempt to register it with a VCS)
8826 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8828 * lyx_main.C (init): honor variables LYX_DIR_13x and
8831 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8835 * lyx_main.C: fix a crash on bad command line,
8836 and give a useful exit status on error
8838 * lyxfunc.C (doImport): allow -i lyx to work
8840 2002-03-30 André Pönitz <poenitz@gmx.net>
8842 * lyxfunc.C: mathed font changes
8844 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8859 * trans_mgr.h: srcdocs, and some minor cleanups
8861 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8863 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8864 call getFont all the time)
8866 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8868 * switch from SigC signals to boost::signals
8870 2002-05-29 André Pönitz <poenitz@gmx.net>
8872 * paragraph_pimpl.C (getChar): don't call size() too often...
8874 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8876 * paragraph_pimpl.C (insertChar): do not try to update tables when
8877 appending (pos == size())
8879 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8880 in order to reduce drastically the number of comparisons needed to
8881 parse a large document
8883 2002-05-29 André Pönitz <poenitz@gmx.net>
8889 * textclasslist.[Ch]:
8890 * sp_ispell.h: whitespace change
8892 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8894 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8895 lyxaction directly now.
8897 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
8901 * lyxvc.C: remove unused headers
8903 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8910 * undo_funcs.C: some cleanups. Use shared_ptr
8911 and a template for the undo stacks.
8913 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8915 * BufferView_pimpl.h:
8916 * BufferView_pimpl.C:
8923 * text2.C: use key_state/mouse_state
8925 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8927 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8930 * chset.C: change include order
8931 (loadFile): use boost regex and get rid of LRegex and LSubstring
8933 * Makefile.am (BOOST_LIBS): new variable
8936 * LaTeX.C: change include order.
8937 (scanAuxFile): use boost regex and get rid of LRegex and
8941 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8946 * FontInfo.C: moved to frontends/xforms/
8949 * FontLoader.C: moved into frontends for GUIIzation
8954 * lyxfunc.C: changes from above
8956 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8958 * LColor.C: remove spurious X include
8960 * BufferView_pimpl.C:
8965 * text2.C: move font metrics to frontends/
8967 2002-05-24 Juergen Vigna <jug@sad.it>
8969 * undo_funcs.C (textHandleUndo): fix the cursor selection after
8970 setting the undo_cursor.
8972 * ParagraphParameters.h: include local includes first.
8974 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8976 * BufferView_pimpl.C:
8977 * BufferView_pimpl.h:
8981 * screen.C: move WorkArea into frontends/
8987 * BufferView2.C: move LyXScreen into frontends/
8991 * lyx_gui.C: move lyxlookup into frontends/xforms/
8993 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8996 * BufferView_pimpl.C:
9006 * bufferview_funcs.C:
9019 * vc-backend.C: move LyX/XFormsView into frontends/
9021 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9033 * text2.C: move Painter to frontends/
9035 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9037 * buffer.C: comment out some some code that depend upon lyx_format
9040 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9041 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9043 * buffer.h (NO_COMPABILITY): turn off compability
9045 * ColorHandler.C: include scoped_array.hpp
9047 * font.C: Use more specific smart_ptr header.
9050 * ShareContainer.h: ditto
9054 * BufferView_pimpl.h: ditto
9055 * ColorHandler.h: ditto
9057 * kbmap.C (defkey): change call to shared_ptr::reset
9059 2002-05-21 Juergen Vigna <jug@sad.it>
9061 * buffer.C (insertErtContents): fix to insert ert asis if it is
9062 non empty. Skip it completely if it contains only whitespaces.
9064 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
9066 * BufferView_pimpl.C:
9067 * BufferView2.C: clear selection on paste (bug 393)
9069 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9071 * DepTable.C: include ctime
9073 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
9075 * buffer.C (latexParagraphs): Add new argument (moving_arg).
9077 2002-05-14 Juergen Vigna <jug@sad.it>
9079 * text.C (breakParagraph): fixed function to honor the keepempty
9080 layout in the right maner and also to permit the right breaking
9081 algorithm on empty or non empyt keepempty paragraphs.
9083 * paragraph.C (breakParagraph): we have to check also if the par
9084 is really empty (!size()) for isempty otherwise we do the wrong
9087 2002-05-10 Juergen Vigna <jug@sad.it>
9089 * buffer.[Ch] : The following are only changes to the ert
9090 compatibility read reading old LaTeX layout and font stuff and
9091 convert it to ERTInsets.
9093 * buffer.h: added isErtInset().
9095 * buffer.C (struct ErtComp): add a fromlayout bool to check
9096 if we're inside a LaTeX layout.
9097 (isErtInset): new helper function.
9098 (insertErtContents): look for other ert insets before this one
9099 and insert the contents there, so that we don't have subsequent
9100 ERT insets with nothing between them. This way we create only one
9101 inset with multiple paragraphs. Also check if we don't insert only
9102 spaces ' ' as they are ignored anyway afterwards in the .tex file
9103 so if we have only spaces we will ignore this latex part in the
9105 (parseSingleLyXformat2Token \\layout): better compatibility when
9106 reading layout-latex stuff.
9107 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9109 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9110 stuff after reading the inset only get the information back from
9113 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
9115 * buffer.C (makeLaTeXFile): Put language options after loading babel.
9117 * LaTeXFeatures.C (getBabelOptions): New method.
9119 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9121 * BufferView_pimpl.C (Dispatch): work around missing argument for
9124 2002-05-08 Juergen Vigna <jug@sad.it>
9126 * text.C (leftMargin): handle paragraph leftindent.
9128 * paragraph.C (writeFile): write the new \\leftindent tag.
9129 (validate): handle leftindent code.
9130 (TeXEnvironment): handle paragraphleftindent code again.
9132 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9134 * buffer.C (parseSingleLyXformat2Token): added compatibility code
9135 for paragrap_extra indent code and new token \\leftindent.
9136 (latexParagraphs): handle the leftindent as environment.
9138 * ParameterStruct.h: added leftindent support.
9140 * ParagraphParameters.C (leftIndent): added support functions for
9141 the paragraph left indent.
9143 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9146 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
9148 * paragraph.C (isRightToLeftPar): Return false for a paragraph
9151 * text.C (computeBidiTables): No bidi in insetERT.
9153 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9156 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9158 * version.C.in: pre 5
9160 2002-05-02 José Matos <jamatos@fep.up.pt>
9161 * buffer.C (makeDocBookFile): white space changes, add newline to
9163 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9165 * tabular.C (docBook): fix typo.
9167 2002-05-03 Juergen Vigna <jug@sad.it>
9169 * screen.C (drawFromTo): recalculate the rowpointer if we had a
9170 change in LyXText as we can not be sure it was not freed.
9171 (drawOneRow): remove unused code.
9173 * text.C (drawInset): redo the calculation of the need_break_row as
9174 it could have a row which was already freed.
9175 (draw): look at the return value of drawInset and return false if
9176 it also returned false.
9177 (paintRowText): look at the return value of draw and return false if
9178 it also returned false.
9180 * lyxtext.h: added bool return type to drawInset() and draw() so that
9181 if we have a change in the row so that the rowbreak has to be redone
9182 we abort drawing as it will be called again.
9184 2002-05-02 Juergen Vigna <jug@sad.it>
9186 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9187 a change in the maintext also if we're inside an inset.
9188 (Dispatch): set the cursor again after a break line and after the
9189 screen has been updated as it could be we're in a different row.
9191 * text2.C (fixCursorAfterDelete): check to make sure we don't request
9192 to set the cursor behind the pargraph with > size().
9193 (setCursor): check also for the same paragraph when checking where
9194 to put the cursor if we have a NFR inset.
9196 * buffer.C (parseSingleLyXformat2Token): move the compatibility
9197 parts of layout read further up as it still was in the wrong
9200 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9202 * screen.C (drawFromTo): change sine fullRebreak always return
9205 * buffer.C (parseSingleLyXformat2Token): reindent some
9207 * BufferView_pimpl.C (update): change since fullRebreak always
9209 (Dispatch): git rid of the last hardcoded "Standard"s.
9211 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9213 * text2.[Ch] (fullRebreak): make it return void now that we always
9216 2002-04-30 Juergen Vigna <jug@sad.it>
9218 * buffer.C (parseSingleLyXformat2Token): reset the font before the
9219 ert compatibility check for "latex" layout.
9221 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
9223 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9224 minipages: use col% instead of p%, and also use the current font.
9225 (makeLaTeXFile): Fix use babel condition.
9226 (parseSingleLyXformat2Token): Correct font when reading old floats.
9228 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
9230 * BufferView_pimpl.C (Dispatch): Check that float type exists when
9231 inserting list of floats.
9233 2002-04-25 Herbert Voss <voss@lyx.org>
9235 * MenuBackend.C (expand): don't add the graphics extensions to the
9238 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9240 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9241 non-existing layout, do not complain if it was the default layout
9242 of the original class (bug #342)
9244 2002-04-24 Juergen Vigna <jug@sad.it>
9246 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9247 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9249 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
9251 * buffer.C (getBibkeyList): If using \bibliography, return the
9252 option field with the reference itself. Enables us to provide natbib
9253 support when using \bibliography.
9255 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
9257 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9259 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9260 natbib is provided by the LaTeX class.
9262 2002-04-23 Juergen Vigna <jug@sad.it>
9264 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9267 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9269 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9271 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9273 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9274 ensuremath around textordmasculine, textordfeminine and
9277 2002-04-19 Juergen Vigna <jug@sad.it>
9279 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9280 reinitializing the buffer otherwise row-dimensions may be wrong.
9281 (update): reset also the selection cursors if they do exits otherwise
9282 their x/y positions may be wrong.
9284 * text2.C (cursorDown): don't enter the inset if we came from a row
9285 above and are one row over the inset.
9287 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9288 really leaving an inset.
9290 2002-04-18 Juergen Vigna <jug@sad.it>
9292 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9293 of the selected paragraph does not have the selected layout also if
9296 * text2.C (setLayout): fixed bug which did not change last selected
9299 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9300 changed the read and substituted \\end_float with \\end_inset!
9302 * BufferView_pimpl.C (cursorPrevious):
9303 (cursorNext): fixed to make it work with rows heigher than the work
9304 area without moving the cursor only the draw of the row.
9305 (workAreaMotionNotify): fix jumping over high rows.
9307 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9309 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9312 2002-04-16 Juergen Vigna <jug@sad.it>
9314 * text2.C (setCursor): set also the irow().
9315 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9317 (cursorDown): support for locking an inset if the x_fix value goes
9318 inside it. That way I can transverse insets too with cursor up/down.
9320 * lyxrow.h: added irow helper function same as other (i) functions.
9322 * BufferView_pimpl.C (cursorPrevious):
9323 (cursorNext): fixed for insets!
9325 2002-04-15 Juergen Vigna <jug@sad.it>
9327 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9328 position otherwise it is wrong in some cases.
9330 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9331 inside the inset before the call.
9333 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
9335 * buffer.[Ch] (getBibkeyList): make it const.
9337 2002-04-12 Juergen Vigna <jug@sad.it>
9339 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9341 * text2.C (getCursorX): new helper function
9342 (setCursor): compute also ix_
9343 (setCursorFromCoordinates): set also ix.
9345 * lyxcursor.h: added ix_ and helper functions.
9347 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9349 * buffer.C (insertStringAsLines): dont break paragraph if the this
9350 paragraph is inside an inset which does not permit it!
9352 * text.C (breakParagraph): honor keepempty flag and break the paragraph
9353 also with no chars on this paragraph.
9354 (paintRowText): only paint stuff if it's inside the workarea!
9356 * paragraph.C (breakParagraph): honor keepempty flag and break the
9357 paragraph always below not above.
9359 * BufferView2.C (unlockInset): update the paragraph layout on inset
9360 unlock as we changed paragraph in such a case.
9362 * lyxfind.C (LyXFind): clear the former selection if not found!
9364 * text2.C (insertInset): freeze Undo after setUndo so that it is not
9365 again called in insertChar().
9367 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9368 an inset which uses the whole row!
9369 (rightMargin): ditto.
9370 (insertChar): force a rebreak if we inserted an inset!
9372 2002-03-28 Herbert Voss <voss@lyx.org>
9374 * lyxlength.[Ch]: add inBP() to get the right PS-point
9375 units (BigPoint). With inPixels we have rounding errors
9377 2002-04-11 Juergen Vigna <jug@sad.it>
9379 * text2.C (setCursorFromCoordinates): set iy to the right value.
9380 (setCursor): add check if row->previous exists!
9382 * buffer.C (parseSingleLyXformat2Token): reset font after read of
9383 an old float_type as this was the case in the old code!
9385 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9387 * BufferView2.C (showLockedInsetCursor): use iy
9388 (fitLockedInsetCursor): ditto
9390 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9391 locked insets as there we have the right value now.
9393 * lyxcursor.C: added iy_ variable and iy functions to set to the
9394 baseline of cursor-y of the locked inset.
9396 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9397 (setCursor): fixed for insets which need a full row.
9399 * text.C (rowLastPrintable): don't ignore the last space when before
9400 an inset which needs a full row.
9401 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9402 as last character of a row when before a inset which needs a full row.
9404 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9406 * version.C.in: update date
9408 * text2.C (fullRebreak): try to always return true and see what
9411 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9413 * MenuBackend.C (expand): use Floating::listName
9415 * FloatList.C (FloatList): add listName argument to the built-in
9418 * Floating.[Ch]: add listName member, which is the 'List of XXX'
9419 text associated with the float.
9421 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9423 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9425 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9427 * ShareContainer.h: add a couple of missing typenames.
9429 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
9431 * lyxrc.C (getDescription): use _() correctly rather than N_().
9433 2002-03-28 Herbert Voss <voss@lyx.org>
9435 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9436 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9438 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9440 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9441 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9443 2002-03-29 Juergen Vigna <jug@sad.it>
9445 * lyxfunc.C (dispatch): add a missing fitCursor call.
9447 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9448 it was scrolled by a cursor move, so return the bool status.
9450 * BufferView.C (fitCursor): return the bool flag also to the outside
9451 world as this is needed.
9453 * screen.C (toggleToggle): don't subtract the offset if it's positive.
9455 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9456 call the edit() as it is not needed (and wrong) IMO.
9457 (workAreaButtonPress): set the screen_first variable before evt.
9458 unlock the inset as this may change screen_first and then we have
9459 a wrong y position for the click!
9461 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9463 * MenuBackend.C (expand): another translation that I missed
9465 2002-03-28 Juergen Vigna <jug@sad.it>
9467 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9469 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9471 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9473 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9475 * MenuBackend.C (expand): fix export/view/update when there is no
9478 2002-03-27 Herbert Voss <voss@lyx.org>
9480 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9483 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9485 * bufferview_funcs.C (currentState): only show paragraph number
9486 for is DEVEL_VERSION is set.
9488 * lyxfunc.C (dispatch): put warning in INFO channel
9490 * MenuBackend.C (expand): translate the name of floats
9492 * FloatList.C (FloatList): mark the float names for translation
9494 * converter.C (convert): use LibScriptSearch
9496 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9498 * MenuBackend.C (defaults): fix default menu (we might as well get
9501 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9503 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9506 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9508 * lyxvc.C: reorder includes.
9510 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
9512 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9515 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9517 * CutAndPaste.C: change layouts earlier on paste
9518 to avoid crashing when calling getFont()
9520 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9522 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9525 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9527 * WorkArea.C: remove 'Pending' debug message.
9529 * most files: ws cleanup
9531 * buffer.[Ch]: ws changes
9533 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9535 2002-03-21 Juergen Vigna <jug@sad.it>
9537 * tabular.C (SetMultiColumn): collapse also the contents of the
9538 cells and set the last border right. Added a Buffer const * param.
9540 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9542 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9545 2002-03-19 Juergen Vigna <jug@sad.it>
9547 * text2.C (clearSelection): reset also xsel_cache.
9549 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9550 where it needs to be called (John tells us to do so too :)
9551 (selectionLost): reset sel_cache.
9553 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9555 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9557 * text2.C (setCursorIntern): put debuging code in INSETS channel
9559 2002-03-19 André Pönitz <poenitz@gmx.net>
9561 * lyxfunc.C: tiny whitespace change
9563 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9565 * ToolbarDefaults.C (init):
9566 * LyXAction.C (init):
9568 * BufferView_pimpl.C (Dispatch):
9569 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9571 2002-03-19 Allan Rae <rae@lyx.org>
9573 * exporter.C (Export): removeAutoInsets before doing anything else.
9574 While I've just introduced a dependency on BufferView this really is
9575 the best place to clean the buffer otherwise you need to cleanup in
9576 a dozen places before calling export or cleanup in a dozen functions
9579 * converter.C (runLaTeX):
9580 (scanLog): Better handling of removeAutoInsets and screen updates.
9582 * lyxfunc.C (dispatch): small whitespace changes
9584 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9586 * WorkArea.C (C_WorkAreaEvent): return a value.
9587 (event_cb): return 1 if we handled the event, 0 otherwise.
9589 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9591 2002-03-18 Juergen Vigna <jug@sad.it>
9593 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9594 (GetAdditionalWidth): ditto.
9598 * BufferView2.C (copy): use getLyXText() so that we do it inside an
9599 inset if we're there actually (probably not used right now but this
9600 is the direction to go for unifying code).
9601 (paste): disable code to clear the selection.
9603 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9604 inside an InsetText and move the check further up as it is in the
9607 * text2.C (pasteSelection): set a selection over the pasted text.
9609 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
9611 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9612 and libgraphics to build on Cygwin.
9614 2002-03-15 Juergen Vigna <jug@sad.it>
9616 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9617 inserting an Inset into the paragraph. I know this is not the best
9618 fix but we already use current_view in CutAndPaste so we will remove
9619 all of it's using at the same time.
9621 * buffer.C (sgmlError): deactivated function till it is rewritten in
9622 the right mode, now it can create problems.
9624 * paragraph.C (isLineSeparator): check if getInset returns != 0,
9625 before accessing it.
9627 2002-03-14 Juergen Vigna <jug@sad.it>
9629 * undo_funcs.C (textHandleUndo): do the right thing when updating
9630 the inset after the undo/redo.
9632 * text2.C (setCursor): just some testcode for #44 not ready yet.
9634 * undo_funcs.C (textHandleUndo): set the next() and previous()
9635 pointers of the paragraph to 0 before deleting otherwise we have
9636 problems with the Paragraph::[destructor].
9638 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9639 on a paragraph insertion.
9641 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9643 * buffer.C (asciiParagraph): use += operator for char append to
9646 * paragraph.C (getFontSettings): compare >= not just >
9647 (highestFontInRange): ditto
9650 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9652 * paragraph.C: change several algorithm to be more appripriate for
9653 the problem domain. This is lookip in FontList and in the InsetList.
9655 2002-03-13 André Pönitz <poenitz@gmx.net>
9658 * LyXAction.C: remove unused LFUN_MATH_MACROARG
9660 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
9665 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9667 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9669 * Painter.C (display): anon helper function, adjust code for this
9671 (pixmap): remove function.
9673 * Painter.h: remove private display variable.
9675 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9677 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
9679 * WorkArea.[Ch]: remove figinset_canvas cruft.
9681 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9683 * lyxtextclass.C (operator): add one item cache optimization.
9685 * bufferlist.h: doxy changes
9687 * bufferlist.C: ws changes
9689 * DepTable.[Ch] (ext_exist): place const in the right spot.
9691 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9693 (workAreaExpose): call resizeInsets when the with BufferView changes.
9694 (Dispatch): adjust for protectedBlank removal
9695 (specialChar): call updateInset if the insert went ok.
9697 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9698 specialChar instead.
9700 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9702 * BufferView.h: doxy change
9704 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9706 * lyxtextclass.C (operator[]): remove non-const version
9707 (defaultLayout): remove non-const version
9709 2002-03-12 Juergen Vigna <jug@sad.it>
9711 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9712 did resize the LyXText too.
9714 * buffer.C (readLyXformat2): set layout information on newly allocated
9717 * tabular.C (OldFormatRead): set layout information on the paragraph.
9719 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9721 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9723 2002-03-11 Juergen Vigna <jug@sad.it>
9725 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9727 (resizeCurrentBuffer): force also the insets to resize themselfes.
9728 (moveCursorUpdate): fixed up for InsetText.
9730 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
9733 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9734 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9735 value of Dialogs::tooltipsEnabled().
9736 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9738 2002-03-08 Juergen Vigna <jug@sad.it>
9740 * BufferView_pimpl.C (updateInset): update inset inside inset also
9741 if it isn't inside theLockingInset().
9743 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9745 * buffer.C (asciiParagraph): redo some of the word and line length
9747 (getLists): look for Caption instead of caption.
9749 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9751 * buffer.C (Buffer): initialize niceFile to true
9754 (makeDocBookFile): make sure niceFile is true on exit
9756 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9758 * buffer.C (makeLaTeXFile): escape ~ in \input@path
9760 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
9762 * LyXSendto.C: remove.
9763 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9764 * lyx_gui.C: remove now-redundant comment.
9765 * ColorHandler.h: remove forward declaration of class WorkArea.
9766 * lyxfunc.C: remove #include "WorkArea.h".
9768 2002-03-07 Juergen Vigna <jug@sad.it>
9770 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9771 got moved away with the DEPM and also set the inset_owner always
9772 right which before could have been omitted.
9774 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9776 * buffer.C (parseSingleLyXformat2Token): use default layout is the
9777 wanted layout is not found.
9779 2002-03-07 Juergen Vigna <jug@sad.it>
9781 * CutAndPaste.C (cutSelection): another layout settings forgotten.
9783 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9785 * paragraph.C (breakParagraph): use default layout not layout of
9787 (Paragraph): clear ParagraphParameters.
9789 2002-03-06 Juergen Vigna <jug@sad.it>
9791 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9792 otherwise it would not be a valid lenght. Fixed a special case in
9793 the minipage compatibility read where we end the document with a
9796 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9797 was set as it could be 0 for InsetTexts first entry.
9799 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9801 * paragraph.C (writeFile): if layout is empty write out
9802 defaultLayoutName().
9804 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9805 file without named layout we set layout to defaultLayoutName().
9807 2002-03-06 Juergen Vigna <jug@sad.it>
9809 * CutAndPaste.C (copySelection): set layout for new paragraph.
9811 * text.C (prepareToPrint): leave ERT inset left aligned
9812 (leftMargin): don't indent paragraphs inside ERT insets
9814 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9816 * paragraph.C (breakParagraph): dont call clear do the work manually
9818 * paragraph.[Ch] (clear): remove function
9820 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9822 * paragraph.C (Paragraph): dont call clear, the work has already
9825 * lyxtextclass.C (operator): assert if n is empty
9827 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9828 work manually instead.
9830 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9832 * BufferView_pimpl.C: protect selectionLost against text == 0
9834 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9836 * text.C (breakParagraph): fix a setting layout to '0' problem.
9838 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9840 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9841 final location of file, for the included files, and graphics.
9843 2002-03-05 Juergen Vigna <jug@sad.it>
9845 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9847 2002-03-04 Juergen Vigna <jug@sad.it>
9849 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9851 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9852 last column of multicolumn cells.
9853 (SetWidthOfMulticolCell): recalculate NMC and real columns.
9855 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
9857 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9858 file if it doesn't go to a temporary file.
9860 * buffer.C (sgmlOpenTag):
9861 (sgmlCloseTag): remove extra newline insertion.
9863 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9865 * text.C (getRowNearY): comment out debug msg
9867 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9869 * text2.C: first -> first_y
9871 * text.C (getRowNearY): add some attemts at a possible
9872 optimization, not working.
9874 * tabular.[Ch]: add BufferParams to several function so that newly
9875 created paragraph can be initialized to he default layotu for the
9878 * tabular-old.C (ReadOld): add buf->params to call of Init
9880 * screen.C: rename text->first to text->first_y
9882 * paragraph.C (breakParagraph): always set layout in the broken
9885 * lyxtextclass.C (Read): remove lowercase
9888 (delete_layout): ditto
9890 * lyxtext.h: rename first -> first_y
9892 * lyxlayout.C (Read): remove lowercase
9895 (obsoleted_by): ditto
9897 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9899 * buffer.C (insertErtContents): add params are to InsetERT
9900 (parseSingleLyXformat2Token): add code to check if a paragraphs
9901 layout really exist.
9902 (parseSingleLyXformat2Token): add params to several inset
9904 (asciiParagraph): remove lowercase, do the layout comparisons with
9907 * BufferView_pimpl.C (cursorNext): first -> first_y
9908 (resizeCurrentBuffer): first -> first_y
9909 (updateScrollbar): first -> first_y
9910 (scrollCB): first -> first_y
9911 (workAreaMotionNotify): first -> first_y
9912 (workAreaButtonPress): first -> first_y
9913 (checkInsetHit): first -> first_y
9914 (cursorPrevious): first -> first_y
9915 (cursorNext): first -> first_y
9916 (Dispatch): add buffer_->params to severl inset contructors
9918 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9920 * lyxlayout.C (Read): remove some debug info that I forgot.
9922 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9923 clean up the code slightly.
9924 (makeLinuxDocFile): ditto
9925 (makeDocBookFile): ditto
9927 * text2.C: layout as string
9929 * text.C: layout as string
9931 * paragraph_pimpl.C: layout as string
9933 * paragraph.[Ch]: layout as string
9935 * lyxtextclasslist.[Ch]: layout as string
9937 * lyxtextclass.[Ch]: layout as string
9939 * lyxtext.h: layout as string
9941 * lyxlayout.[Ch]: layout as string
9943 * lyx_cb.C: layout as string
9945 * bufferview_funcs.C: layout as string
9947 * bufferparams.C: layout as string
9949 * buffer.C: layout as string
9951 * LyXView.[Ch]: layout as string
9953 * LaTeXFeatures.[Ch]: layout as string
9955 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9957 * BufferView_pimpl.C: change current_layout to string, remove
9962 (workAreaButtonRelease): layout as string
9964 * BufferView2.C (unlockInset): adjust
9966 * vspace.C (asLatexCommand): use an explict temp variable.
9968 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9970 * Makefile.am: use FRONTEND_*
9972 2002-03-01 Juergen Vigna <jug@sad.it>
9974 * tabular.C (SetWidthOfMulticolCell): changed to something better
9975 I hope but still work in progress.
9976 (recalculateMulticolumnsOfColumn): renamed function from
9977 recalculateMulticolCells as it is more appropriate now.
9978 (SetWidthOfCell): calculate multicols better.
9980 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9982 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9984 * lyxfunc.C (processKeySym): print sequence also if it is
9985 `deleted' (complete)
9987 * kbsequence.C (print): print sequence even if it is deleted
9988 (complete would be a better word, actually).
9990 * lyxfunc.C (dispatch): print complete options after a prefix key
9992 * vspace.C (asLatexCommand): rewrite in a slightly different form.
9994 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
9996 * text2.C (setCharFont): eliminate setCharFont code duplication.
9998 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10000 * BufferView_pimpl.C (Dispatch): remove bogus handling of
10001 LFUN_TABULAR_FEATURE (bug #177)
10003 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
10005 * Makefile.am: remove figure.h
10007 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
10009 * Bufferview_pimpl.C:
10021 * text2.C: remove #include "lyx_gui_misc.h".
10023 * LaTeX.C: added #include <cstdio>
10025 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10027 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10028 that the paragraph following this one can have.
10030 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10032 * vspace.C (asLatexCommand): fix bogus gcc warning
10034 * Makefile.am (lyx_SOURCES): remove vms_defines.h
10036 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
10038 * text2.C (setLayout): get rid of redundant code
10040 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
10042 * text2.C (incDepth): make sure depth cannot be increased beyond
10045 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
10047 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10048 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10050 * PainterBase.h (image):
10051 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10052 a LyXImage const *.
10054 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10058 * BufferView_pimpl.C:
10059 * BufferView_pimpl.h:
10079 * sp_spell.C: remove fig inset, and the crap house of
10080 cards that follows it
10082 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10087 * os2_errortable.h:
10088 * nt_defines.h: move .h into support/
10090 * vms_defines.h: remove
10092 * WorkArea.C: add space in debug output
10096 * buffer.C: add WITH_WARNINGS
10100 * bufferlist.C: s/retrive/retrieve/, add docs
10109 * chset.C: add docs
10111 * lyxgui.C: add ID to X error handler
10113 * lyxtestclass.c: fix typo
10115 2002-02-26 Juergen Vigna <jug@sad.it>
10117 * tabular_funcs.C (write_attribute): changed so that some default
10118 attributes are not written at all.
10119 (getTokenValue): set default values before trying to read the
10120 value so we have the return value always set as default if we don't
10121 find the token we search for.
10123 * tabular.C (Write): write bools as bools not as strings!
10125 2002-02-22 Juergen Vigna <jug@sad.it>
10127 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10128 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10130 * text.C (leftMargin): don't add an indent for paragraphs inside
10131 tabular cells (fix #208).
10133 2002-02-21 José Matos <jamatos@fep.up.pt>
10135 * tabular.C (docBook): fixed support for long tables.
10137 2002-02-20 Juergen Vigna <jug@sad.it>
10139 * text2.C (getFont): get the drawing font of the Inset if this
10140 paragraph is inside an inset (only important for InsetERT for now).
10142 * buffer.C (insertErtContents): use new lanugage params in ERT
10145 * CutAndPaste.C: commenting out seemingly uneeded code.
10147 2002-02-19 Allan Rae <rae@lyx.org>
10149 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10150 Iterators might be simple to use but they also get invalidated.
10151 (removeAutoInsets): renamed saved cursor tracking variables and added
10152 some comments to clarify what everything does.
10154 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
10161 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10162 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10165 * vc-backend.h: remove #include "support/syscall.h"
10169 * converter.C: rearrange #includes in Lars' approved fashion.
10171 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10172 forward declare class Timeout in the header file.
10174 * XFormsView.C: changes due to the above.
10176 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10177 similar to LyXView.
10179 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10180 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10182 2002-02-18 José Matos <jamatos@fep.up.pt>
10184 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10187 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10189 * a lot of small ws changes
10190 * add a lot of using std::XXX
10191 * use std construcs some places where approp.
10192 * use some exisint stuff from lyxfunctional where approp.
10193 * Make file changes to use partial linking (lets test this now...)
10195 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10199 remove #include "support/syscontr.h" as it's redundant. Always has been.
10207 change Systemcalls::System to Systemcalls::Wait and
10208 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10209 No change of functionality, just reflects the stripped down Systemcalls
10212 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10214 * debug.[Ch]: add a GRAPHICS type to the enum.
10216 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10218 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10220 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10223 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10225 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10226 match the changes below.
10228 * text2.C (toggleInset): if there is not editable inset at cursor
10229 position, try to see if cursor is _inside_ a collapsable inset
10232 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10234 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10235 document menu has a nice checkbox
10237 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10239 * lyxlength.C (asLatexString): change PW to output as percent of
10242 * lengthcommon.C: change '%' to 't%'
10244 * lyxfunc.C (dispatch): a few comments from Martin
10246 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
10250 * BufferView_pimpl.h:
10251 * BufferView_pimpl.C: clear our selection when X tells us we've lost
10254 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10256 * vspace.C (inPixels): fix compiler warning
10258 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10260 * lyxfunc.C (getStatus): fix status message for disabled commands.
10262 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
10264 * BufferView_pimpl.C: fix crash on close buffer
10265 during selection (#227)
10267 2002-01-27 Herbert Voss <voss@lyx.org>
10269 * buffer.C: link old Figure to new graphic inset
10271 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
10273 * FontLoader.C (getFontinfo): Change the latex font names in order
10274 to match the names of type1inst.
10276 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10278 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10280 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10281 (extchanged): ditto
10283 (remove_files_with_extension): ditto
10284 (remove_file): ditto
10287 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10288 document is smaller than the work area height. Do not initialize
10289 static variables to 0.
10291 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10293 * lyx_gui.C (init): give the toolbar tooltips a normal font.
10295 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10296 LFUN_LAYOUT_PARAGRAPHS.
10298 * tabular.C (GetCellFromInset): new method. Finds an inset in a
10299 tabular. It is possible to provide a possible cell, which will
10300 typically be the actcell from the corresponding insettabular
10302 * lyxfunc.C (getStatus): small cleanup; disable
10303 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10306 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10308 * tabular.C (Validate): remove broken optimization (fixes bug #201)
10310 * paragraph.C (startTeXParParams):
10311 (endTeXParParams): new methods. The LaTeX code to
10312 start/end paragraph formatting
10313 (simpleTeXOnePar): call startTeXParParams also when paragraph is
10314 empty (fixes bug #200)
10316 * vspace.C (inPixels): adapt to the change below
10317 (inPixels): [later] more cleanups (remove unused variables)
10319 * lyxlength.C (inPixels): change to use a width and a height as
10322 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10324 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10325 Replaced with \paperwidth
10327 * DepTable.C (insert): add std:: qualifier
10329 2002-01-18 Allan Rae <rae@lyx.org>
10331 * text2.C (removeRow): add comment. Should other refresh_?? vars be
10334 * text.C (drawInset): Turned out I didn't know enough about how
10335 rebreaking worked. This fixes most of the redraw problems. I see
10336 an occasional cursor trail when a line is broken now and the cursor
10337 placement can seem out by a few pixels also after a rebreak.
10339 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10341 * buffer.C (parseSingleLyXformat2Token): update because minipage
10342 width is now a LyXLength
10344 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10346 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10349 2002-01-17 Juergen Vigna <jug@sad.it>
10351 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10353 * BufferView2.C (lockInset): call edit() so that theLockingInset()
10354 is set correctly and the inset is updated correctly.
10356 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10358 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10359 the beginning of the loop.
10361 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
10363 * lyxrc.C: improve help for use_scalable_fonts
10365 2002-01-17 Allan Rae <rae@lyx.org>
10367 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10369 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10371 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10372 make sure to set their inset_owner to the right value (bug #171)
10374 2001-12-12 Ben Stanley <bds02@uow.edu.au>
10377 * DepTable.C: Implement mtime checking to reduce time spent doing
10380 2002-01-16 Juergen Vigna <jug@sad.it>
10382 * tabular.C (GetAdditionalHeight): one of error fixed.
10384 * lyxrc.C (output): small fix in writing use_pspell.
10386 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
10388 * sp_base.h: #include LString.h
10390 2002-01-16 Allan Rae <rae@lyx.org>
10392 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
10393 Can someone check this please?
10395 * text.C (drawInset): It was possible that p.row would be removed by
10396 breakAgainOneRow upsetting a few other settings. There may be another
10397 small tweak possible by setting need_break_row = 0 when p.row has been
10398 removed but I don't know enough about the logic here.
10400 2002-01-15 Allan Rae <rae@lyx.org>
10402 * text.C (insertChar): removed conditional truism.
10404 * BufferView2.C (removeAutoInsets): More tweaks.
10405 cur_par_prev could be a stray pointer. Check for trailing empty line
10406 in case last line was cur_par and only had an error inset on it.
10408 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10410 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10413 * vc-backend.C (most methods):
10414 * exporter.C (Export):
10415 * converter.C (convert):
10417 * LyXSendto.C (SendtoApplyCB):
10418 * lyxfunc.C (dispatch):
10422 * lyx_cb.C (AutoSave):
10424 * BufferView_pimpl.C (MenuInsertLyXFile):
10425 * buffer.C (runChktex): use Buffer::filePath().
10427 * buffer.h: rename filename to filename_; rename filepath to
10428 filepath_ and make it private
10429 (filePath): new method
10431 * buffer.C (writeFile): use fileName()
10434 * lyx_main.C (init): fix starting of LyX when the binary is a
10435 link from so,ewhere else.
10437 * minibuffer.C: include <cctype> for isprint
10439 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10441 * buffer.C (parseSingleLyXformat2Token): changes associated with the
10442 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10443 name clash with InsetCollapsable's width function.
10445 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10447 * lastfiles.C: include <iterator>
10449 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10451 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10454 * buffer.C (makeLaTeXFile): ditto.
10455 Also make loop operation more transparent.
10457 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10459 * ToolbarDefaults.C: remove trailing comma closing namespace.
10461 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10463 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10466 * trans.C (Load): comment out unused variable, allowed.
10468 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10470 * minibuffer.[Ch] (append_char): new method to recieve input from the
10471 drop-down completion browser. If a key was pressed, then recieve this
10472 char and append it to the existing string.
10473 (peek_event): modify the positioning data passed to the completion
10474 browser so that it can be placed above the minibuffer rather than below.
10475 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10477 * LyXAction.C (init): alloe error-next for readonly documents.
10479 * BufferView2.C (ChangeRefsIfUnique): use standard version of
10482 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10484 * bufferlist.C (readFile): create the buffer _after_ checking that
10487 * lyxfunc.C (verboseDispatch): fix handling of arguments
10489 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10491 * lyxrc.C: use string::erase() instead of initializing to "".
10494 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10496 * BufferView_pimpl.h:
10497 * BufferView_pimpl.C:
10500 * text2.C: tell X when we have made a selection for copying
10502 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10504 * BufferView_pimpl.C (MenuInsertLyXFile):
10505 * lyxfunc.C (menuNew):
10507 (doImport): add shortcuts to directory buttons
10509 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10512 * lyxfunc.C (setStatusMessage):
10513 (getStatusMessage): new methods
10514 (getStatus):use setStatusMessage instead of setErrorMessage
10515 (dispatch): when function is disabled, set error message here
10516 [instead of in getStatus previously]
10518 * BufferView_pimpl.C (workAreaButtonRelease): update
10519 toolbar/menubar here too.
10521 2002-01-13 Allan Rae <rae@lyx.org>
10523 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10524 Now seems indestructible. Remaining task is to audit all other
10525 code affected by deleteEmptyParagraphMechanism. One small quirk
10526 left is that an empty document with an error in the preamble can
10527 be made to report an error but no error box appears. I don't know
10529 (removeAutoInsets): Improved comments.
10531 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10534 * Thesaurus.C: update for Aiksaurus 0.14
10536 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10538 * text2.C (firstParagraph): removed member function, all uses
10539 replaces with ownerParagraph
10540 (redoParagraphs): here
10541 (updateInset): here
10542 (toggleAppendix): here
10543 * BufferView2.C (insertErrors): here
10544 (setCursorFromRow): here
10546 2002-01-13 Allan Rae <rae@lyx.org>
10548 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10549 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10550 There is still a way to segfault this although you may have to do this
10551 multiple times: Have an InsetERT with an unknown command in it.
10552 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10553 <down-arrow>, <Enter> again, View->DVI, BANG!
10555 * text2.C (setCursor):
10556 (deleteEmptyParagraphMechanism):
10557 * lyxtext.h (setCursor):
10558 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10559 Making use of the return value may help fix other bugs.
10561 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10563 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10565 * LyXView.C (updateMenubar): call MenuBar::update here
10566 (updateToolbar): but not here
10567 (showState): do not update toolbar/menubar
10569 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10570 should need to care about that.
10572 * lyxfunc.C (verboseDispatch): simplify a bit
10573 (getStatus): have a version which takes a pseudoaction, and
10574 another which requires a (kb_action,string).
10576 * LyXAction.C (retrieveActionArg): make it work also when action
10577 is not a pseudo-action.
10578 (getActionName): simplify a bit
10581 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10583 * lyxfunc.C (verboseDispatch): new families of methods with
10584 several ways to specify a command and a bool to indicate whether
10585 the command name and shortcut should be displayed in minibuffer
10586 (eventually, we could extend that to a finer bitmask like
10587 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10588 (dispatch): the pristine dispatch command which just, well,
10589 dispatchs! Note it still sets its result to minibuffer; I'm not
10592 * lyxfunc.h: remove setHintMessage
10594 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10596 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10598 * BufferView_pimpl.C (specialChar): delete new inset if we have
10599 not been able to insert it.
10601 * kbmap.C: revert to using int instead of kb_action, since all we
10602 are dealing with is pseudo-actions.
10604 * LyXAction.C (searchActionArg): change to return int instead of
10605 kb_action, since the result is a pseudoaction.
10607 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
10609 * buffer.C (insertErtContents): Fix (partially) the font bug.
10611 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10613 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10614 as the other one is broken on my machine!
10616 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
10619 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10621 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
10623 * lyxrc.[Ch]: change names and descriptions of popup font variables to
10624 reflect their actual use. Provide compatibility code for older lyxrc
10627 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10629 change names of popup font variables in line with the changes to lyxrc.C
10631 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10633 * buffer.C (asciiParagraph): avoid outputing a word twice after
10636 * lyxrc.C (getDescription): document that document_path and
10637 template_path can be empty.
10639 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10641 * LaTeXFeatures.C (getMacros):
10642 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10644 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10646 * LaTeXFeatures.C (useFloat): require "float" here instead of in
10648 (getPackages): rename feature "floats" to "float". Use an array to
10649 iterate over 'simple' features (i.e. just a \usepackage). Add
10650 handling of "amsmath" (renamed from "amsstyle").
10652 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
10654 * LaTeXFeatures.C (require): Prevent duplicate entries in the
10657 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
10659 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10660 FuncStaus::FuncStatus & FuncStaus::some_method().
10662 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
10664 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10665 of the func_satus stuff. Edited and massaged in various ways by
10668 * lyxfunc.C (getStatus): use FuncStatus
10670 2002-01-08 Juergen Vigna <jug@sad.it>
10672 * text.C (nextBreakPoint): use function Inset::isChar().
10674 * paragraph.C (TeXOnePar): use function
10675 Inset::forceDefaultParagraphs.
10677 * buffer.C (latexParagraphs): use function
10678 Inset::forceDefaultParagraphs.
10680 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10682 * lyx_gui.C (init): set the style of the menu popups to
10683 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10685 2002-01-07 Juergen Vigna <jug@sad.it>
10687 * text.C (setHeightOfRow): small fix
10688 (prepareToPrint): don't look at alignment if we don't have the place
10691 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10693 * box.C: New file. Move the Box methods and functions out of box.h,
10694 following Lars' suggestion.
10696 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10698 * box.h: #include "support/LOstream.h", needed for inlined function.
10701 * lyxtextclasslist.C: added some using std declarations.
10703 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
10705 * box.h: make signed dimensions to allow insets wider than
10706 the screen (bug #162)
10708 * BufferView_pimpl.C: add some insetHit debug
10710 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
10712 * vc-backend.C: add FIXME
10714 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10716 * lyxfunc.C (getStatus): enable code for showing math font status
10719 2002-01-07 Juergen Vigna <jug@sad.it>
10721 * text.C (nextBreakPoint): removed debug output not needed anymore.
10723 2002-01-06 Juergen Vigna <jug@sad.it>
10725 * text.C (nextBreakPoint): fixed up this function we had this bug
10726 since ever but now hopefully we break row better.
10727 (insertChar): we have to check if an inset is the next char as it
10728 could now happen that a large inset is causing a break.
10730 2002-01-05 Juergen Vigna <jug@sad.it>
10732 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10733 if it doesn't like to be drawed.
10735 2002-01-04 Juergen Vigna <jug@sad.it>
10737 * BufferView2.C (lockInset): forgot to set a cursor.
10739 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10741 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
10743 * FormMathsPanel.C:
10746 * form_maths_panel.C:
10747 * form_maths_panel.h:
10748 * form_maths_panel.fd: implemented sub- and super- buttons in math
10751 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10752 (or ^ space) to be used as in TeX (req'd by André).
10754 * lyxfunc.C: Allow ^ and _ again to be used both as
10755 super/subscript (mathed) and as themselves (in text).
10757 2002-01-03 Allan Rae <rae@lyx.org>
10759 * LyXView.C (updateWindowTitle): Setup a short icon title of either
10760 "LyX" or the filename of the current buffer if it has one. This is a
10761 modified form of John Levon's patch.
10763 * XFormsView.C (setWindowTitle): also set icon title.
10765 * LyXView.h (setWindowTitle): signature changed.
10766 * XFormsView.h (setWindowTitle): ditto.
10768 2002-01-02 Juergen Vigna <jug@sad.it>
10770 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10772 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10774 * screen.C (topCursorVisible): introduce a temp var for
10775 text->cursor.row(), handle the case where this row is null. (kindo
10778 * text2.C (setCursor): add a couple of asserts.
10780 * paragraph.h (inset_iterator): add -> operator
10782 * paragraph.[Ch] (autoDeleteInsets): remove member function
10784 * BufferView2.C (removeAutoInsets): rewrite to handle the old
10785 cursor pos correctly and handle inset deletion by itself.
10786 (insertErrors): move iterator declaration out of for expression
10788 * lyxtextclass.C: add <algorithm>
10790 * Makefile.am: added the new files to sources, removed layout.C
10792 * layout.C: removed file
10794 * layout.h: remove LYX_DUMMY_LAYOUT
10796 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10800 * lyxtextclass.[Ch]:
10801 * lyxtextclasslist.[Ch]: new files
10803 * include order changes to a lot of files, also changes because of
10806 2001-12-27 Juergen Vigna <jug@sad.it>
10808 * buffer.C (asciiParagraph): more fixes.
10810 * tabular.C (ascii): make ascii export support export of only the
10811 data separated by a column-delimiter.
10812 (ascii): better support for ascii export.
10814 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10816 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10818 * tabular_funcs.C: use a "using std::getline" instead of the
10819 previous fix from Angus (necessary for cxx + lyxstring)
10821 2001-12-24 Juergen Vigna <jug@sad.it>
10823 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10825 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10826 problems. First check a minipage also if we have some ert-contents
10827 (not only on par->size(), second set the right depth of the paragraph
10828 on the relink to the root-paragraph-list!
10830 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10831 which then did not anymore update the main paragraphs on undo/redo!
10833 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10835 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10836 code. Support all font-changing funcs (even those which are not in
10837 menu currently). Support for reporting font settings in
10838 mathed (disabled until Andre provides a function on mathed's side).
10840 * func_status.h (toggle): small helper function to set toggle
10843 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
10845 * tabular_funcs.C: getline -> std::getline
10847 2001-12-21 Juergen Vigna <jug@sad.it>
10849 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10850 accessed and could be 0 (I couldn't generate this but it seems
10853 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10855 * tabular_funcs.C: add LIstream.h, move write_attribute to..
10856 * tabular_funcs.h: here and include iosfwd
10858 2001-12-20 Juergen Vigna <jug@sad.it>
10860 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10861 inside inset but undo_par was.
10863 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10865 * Thesaurus.C: always include <config.h> in sources.
10869 * box.h: do not include <config.h> in header files
10871 * text.C (paintLastRow): remove unused variable
10873 * text.C (transformChar):
10875 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10877 * Painter.C (text):
10878 * font.C (width): rewrite to use uppercase() instead of
10881 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10883 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
10885 * lyxfind.C: clean up of find failure position change
10887 2001-12-20 Juergen Vigna <jug@sad.it>
10889 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10891 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10892 (TeXRow): added to LaTeX a single tabular row.
10893 (TeXLongtableHeaderFooter): added to output LT-h/f data.
10894 (Latex): simplified and finally good LT-h/f support.
10895 (various_functions): just small adaptions for LT-h/f support.
10897 * tabular_funcs.[hC]: added and moved here all not classfunctions
10900 2001-12-19 Juergen Vigna <jug@sad.it>
10902 * tabular.[Ch]: better support for longtabular options (not finished
10905 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10907 * text.C (paintLastRow): use the label font instead of the font of
10908 the last character to compute the size of *_BOX. This makes more
10909 sense and avoids a crash with empty paragraphs.
10910 Use Painter::rectangle to draw EMPTY_BOX.
10912 2001-12-19 Juergen Vigna <jug@sad.it>
10914 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10915 the paragraphs if the replaced paragraph is not the first one!
10916 Tried to delete not used paragraphs but does not work yet so for
10917 now it's inside #ifdef's and by default off!
10919 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10921 * MenuBackend.C: include "lyx_main.h" instead of declaring
10922 lastfiles (actually was declared as LastFiles* instead of a
10925 2001-12-17 Juergen Vigna <jug@sad.it>
10927 * tabular.C (AppendColumn): applied John's fix
10929 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
10933 * BufferView_pimpl.h:
10934 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10937 * box.h: new start of class for above
10939 * lyxfunc.C: ignore space-only minibuffer dispatches.
10940 Show the command name when it doesn't exist
10942 * minibuffer.C: don't add empty lines to the history
10944 * minibuffer.C: add a space on dropdown completion
10946 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
10948 * text.C: fix line above/below drawing in insets
10950 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10952 * lyxlength.C (LyXLength): Initialize private variables.
10954 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
10956 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10957 when inserting error insets.
10959 2001-12-13 Juergen Vigna <jug@sad.it>
10961 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10962 actually sometimes the before-paragraph.
10963 (setUndo): don't clear the redostack if we're not actually undoing!
10965 2001-12-06 Juergen Vigna <jug@sad.it>
10967 * undo_funcs.C (textHandleUndo): well after John's hint I got here
10968 and fixed redoing of main paragraph, so we can use it now ;)
10970 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10972 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10974 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10977 2001-12-13 André Pönitz <poenitz@gmx.net>
10980 * undo_func.C: minor cleanup
10982 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10984 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10985 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10986 font in urw-fonts package which is marked as -urw-fontspecific and
10987 does not work (incidentally, changing the encoding in the
10988 fonts.dir of this package to -adobe-fontspecific fixes the
10991 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10992 is a crash when undoing first paragraph (Juergen, please take a
10993 look). THis does not mean the undo fix is wrong, just that it
10996 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10997 the (Paragraph*) version when needed instead of duplicating the
11000 * text.C (workWidth): use Inset::parOwner to find out where the
11001 inset has been inserted. This is a huge performance gain for large
11002 documents with lots of insets. If Inset::parOwner is not set, fall
11003 back on the brute force method
11005 * paragraph_pimpl.C (insertInset):
11006 * paragraph.C (Paragraph):
11007 (cutIntoMinibuffer): set parOwner of insets when
11008 inserting/removing them
11010 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11012 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
11018 * mathed/formulabase.C:
11019 * mathed/math_cursor.[Ch]:
11020 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11023 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11025 * lyxlength.[Ch] (operator!=): new function
11027 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
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-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11043 * tabular-old.C (getTokenValue):
11044 * tabular.C (getTokenValue):
11045 (write_attribute): new versions for LyXLength
11046 (everywhere): adjust the use of widths
11048 * tabular.h: change the type of widths from string to LyXLength
11050 2001-12-11 Ben Stanley <bds02@uow.edu.au>
11052 * paragraph.C: fixed missing line number count when exporting
11053 Environments to LaTeX file
11055 * buffer.C: added informational message for checking line numbers.
11057 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11059 * text2.C (deleteEmptyParagraphMechanism): if there is only one
11060 paragraph, do the 'double space' part, but not the 'empty
11063 * text.C (workWidth): small optimization
11064 (getLengthMarkerHeight): use minimal size for negative lengths.
11066 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
11068 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11070 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11072 2001-12-11 André Pönitz <poenitz@gmx.net>
11075 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11077 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11079 * text2.C: keep selection on a setFont()
11081 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11083 * lyx_cb.C: another bv->text misuse, from insert label
11085 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11088 * kbsequence.C: re-instate nmodifier mask
11090 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
11092 * lyx_main.h: make lyxGUI private.
11094 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11096 * lyxfind.C: place the cursor correctly on failed search
11098 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11100 * text.C (getLengthMarkerHeight): for small heights, the arrows
11101 are not always on top/bottom of the text
11102 (drawLengthMarker): smaller arrows; take the left margin in
11103 account; draw also vfills.
11105 (paintLastRow): remove special code for vfill and standard spaces,
11106 since everything is handled in drawLengthMarker now.
11108 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11110 * buffer.C (insertErtContents): try to handle font and language
11111 interaction a bit better.g
11113 * ColorHandler.C (updateColor): change the hash to cover the whole
11114 LColor enum, ws cleanup
11115 (getGCLinepars): ditto
11116 (getGCLinepars): only lookup in the linecache once.
11118 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
11120 * iterators.C (operator++): Make the iterator more robust
11122 * BufferView2.C (removeAutoInsets): Use paragraph iterators
11124 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11126 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11129 * text.C: better added space drawing
11131 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11134 * BufferView2.C: fix layout combo update on inset unlock
11136 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11138 * Makefile.am: don't compile unused files
11140 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11144 * LyXAction.C: remove old LFUN_LAYOUTNO
11146 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11148 * paragraph_pimpl.h:
11149 * paragraph_pimpl.C: isTextAt() doesn't need font param
11151 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11154 * lyxlex.C: little cleanup
11156 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11158 * BufferView_pimpl.C: fix insertAscii for insets
11160 2001-12-05 Juergen Vigna <jug@sad.it>
11162 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11163 set the right font on the "multi" paragraph paste!
11165 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11171 * lyxlength.C: remove out-commented code.
11173 * BufferView_pimpl:
11187 * vc-backend.C: change "while(" to "while ("
11189 * lyxlength.[Ch]: add zero function to check if length is zero or
11191 * lyxgluelength.C: use it
11193 2001-12-05 Allan Rae <rae@lyx.org>
11195 * lyxlength.C: Attempted a fix for the abs(int) header selection.
11196 Works for 2.95.3, from what I understand of Garst's reports this should
11197 work for other g++ versions. We're screwed if the abs(int) definition
11198 changed between bugfix releases of gcc.
11200 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11202 * text.C: fix chapter label offset !
11204 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11207 * text.C: fix hfill at end of line, clean up
11209 2001-12-04 Juergen Vigna <jug@sad.it>
11211 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11212 that we force an update of the inset and it's owners if neccessary.
11214 2001-12-03 Juergen Vigna <jug@sad.it>
11216 * text.C (rowLast): simplified code
11218 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11220 * lyxfunc.C: fix show options on timeout
11222 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11224 * screen.C (topCursorVisible): scroll half a page when the cursor
11225 reached top of bottom of screen
11227 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
11229 * minibuffer.C: deactivate on loss of focus
11231 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11233 * vspace.[Ch] (operator!=): add operator.
11235 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
11237 * BufferView_pimpl.C: refuse to open an inset when
11238 there's a selection.
11240 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
11242 * BufferView_pimpl.C: allow to click on RHS of full row insets
11244 2001-11-30 Juergen Vigna <jug@sad.it>
11246 * tabular.C (LyXTabular): add a same_id to set the same id's in the
11247 insets for undo reasons.
11249 2001-11-28 André Pönitz <poenitz@gmx.net>
11251 * vspace.[Ch]: cosmetical changes
11253 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11263 * kbsequence.C: part re-write of old kb code
11266 * WorkArea.C: remove Lgb_bug_find_hack
11268 2001-11-30 José Matos <jamatos@fep.up.pt>
11270 * buffer.C (makeDocBookFile): add a comment to point a hack.
11271 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11272 Fixed a double write of labels.
11274 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11277 * LaTeX.h Fixed bug in LaTeX class where it would not
11278 re-run latex if no depfiles were changed, but the .dvi was removed.
11280 2001-11-28 André Pönitz <poenitz@gmx.net>
11282 * all the files from the change on 2001/11/26:
11283 use lyx::layout_type instead of LyXTextClass::size_type
11284 use lyx::textclass_type instead of LyXTextClassList::size_type
11286 2001-11-29 Juergen Vigna <jug@sad.it>
11288 * text.C: added support for paragraph::isFreeSpacing()
11290 * buffer.C: same as above
11292 * paragraph.h: inserted isFreeSpacing() function to enable
11293 FreeSpacing inside InsetERT.
11295 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11296 of the paragraph's in the cut/copy buffer to 0!
11298 * text2.C (removeRow): remove the assert as it can!
11300 * lyxtext.h: added helper function firstRow returning firstrow and
11301 made firstrow private again.
11303 * BufferView2.C (lockInset): don't relock if we're already locked!
11305 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11306 the only paragraph.
11307 (removeRow): added Assert::(firstrow)
11309 * debug.C: forgot to add INSETTEXT here.
11311 2001-11-28 Juergen Vigna <jug@sad.it>
11313 * sp_spell.C (initialize): changed error text to more general
11314 spellchecker command use (not only ispell!)
11316 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11318 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11320 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11322 * vspace.C: initialise lyxgluelength on failure
11324 2001-11-28 Allan Rae <rae@lyx.org>
11326 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11327 declaration & definition that looks like a function declaration.
11329 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11331 * BufferView2.C (copy):
11332 (copyEnvironment): do not clear the selection when doing a copy.
11334 * text.C (paintFirstRow): compilation fix
11336 2001-11-27 Ben Stanley <bds02@uow.edu.au>
11338 * tabular.C (Latex): correct line count when writing latex.
11340 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
11342 * paragraph_pimpl.h:
11343 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11346 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11350 * LColor.C: change vfillline->added_space
11352 * text.C: add markers and text for added space
11354 * vspace.C: fix comment
11356 2001-11-28 André Pönitz <poenitz@gmx.net>
11358 * paragraph.C: whitespace changes
11359 * all the other files from the change on 2001/11/26:
11360 change *::pos_type into lyx::pos_type
11362 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
11364 * buffer.C (parseSingleLyXformat2Token): Set the language to the
11365 language of the document when inserting error insets.
11367 2001-11-26 André Pönitz <poenitz@gmx.net>
11369 * BufferView_pimpl.[Ch]:
11377 * paragraph_pimpl.[Ch]:
11380 * text2.C: reduce header dependencies, introduce type for positions
11382 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11384 * <various>: change to use Alert.h
11386 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
11388 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11389 when encountering an unknown token.
11390 (readLyXformat2): Show an error message if there were unknown tokens.
11392 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
11395 * BufferView_pimpl.C:
11399 * text2.C: use par->isInset()
11401 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11403 * paragraph_pimpl.h:
11404 * paragraph_pimpl.C: cleanup
11406 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11408 * text2.C (removeRow):
11409 * text.C (setHeightOfRow): remove useless (and costly) call to
11412 2001-11-20 Allan Rae <rae@lyx.org>
11414 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11415 Now need Inset*::checkInsertChar() to return true for appropriate
11416 cases so that the characters in the minibuffer will actually be
11419 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11421 * text.C: change the order of the includes.
11422 (workWidth): initialize it at once.
11423 (workWidth): make maxw unsigned
11424 (setHeightOfRow): remove unused variable (inset)
11425 (selectSelectedWord): remove unused variable (inset)
11426 (paintRowText): fix drawing of hfill characters, and clean up a bit.
11428 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11430 * lyxserver.C (emergencyCleanup): do not try to close pipes if
11431 server is not running.
11433 (closeConnection): add debug info when server is disabled.
11435 * ColorHandler.C (getGCForeground): send debug message to GUI
11438 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11440 * kbmap.C (bind): modify because return conventions of
11441 kb_sequence::parse have changed.
11443 * kbsequence.C (parse): only ignore spaces and not any stupid
11444 control character. This avoids tests like s[i] <= ' ', which are
11445 guaranteed to fail with 8bit characters and signed chars.
11446 Change return code to string::npos when there have been no error
11447 (0 was a bad idea when error is at first character)
11449 2001-11-14 José Matos <jamatos@fep.up.pt>
11452 * buffer.C (simpleDocBookOnePar): removed unused argument.
11454 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11456 * text.C (selectNextWordToSpellcheck): do not test explicitely for
11457 insets which are part of a word. Paragraph::isLetter takes care of
11458 that now. Use Paragraph::isInset to identify insets.
11459 (selectSelectedWord): do not test for hyphenation break.
11461 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11462 that protected spaces are considered as spaces.
11464 * paragraph.C (isLetter): cleanup the code for ispell extras; use
11467 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
11470 * lyxserver.C: fix it. and small cleanup.
11472 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11474 * BufferView_pimpl.C: use inline helpers
11477 * LaTeXFeatures.C: fix typos
11480 * Spacing.C: move spacing_string into class
11482 * ToolbarDefaults.C: move stuff into namespace anon
11484 * layout.h: update enum
11486 * lyxfunc.C: use better debug
11488 * minibuffer.h: fix typo
11492 * WorkArea.C: add and use Debug::WORKAREA
11496 * text2.C: code re-organisation, inline helpers
11498 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
11500 * Layout.C: replaced a few cases of std::vector.size() == 0 with
11501 std::vector.empty().
11503 2001-11-09 Allan Rae <rae@lyx.org>
11505 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11506 '\n's after tables. Tabular and ERT inset work now makes this no
11509 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11512 * minibuffer.C: fix crash, improve drop-down completion
11514 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11517 * lyxserver.C: invalidate fd's when doing endPipe()
11519 2001-11-08 José Matos <jamatos@fep.up.pt>
11521 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11522 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11525 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11527 2001-11-07 José Matos <jamatos@fep.up.pt>
11530 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11533 * buffer.C (sgmlOpenTag):
11534 * buffer.C (sgmlCloseTag): removed debug info.
11536 * buffer.h (sgmlOpenTag):
11537 * buffer.h (sgmlCloseTag): made public.
11539 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11541 * buffer.C (saveParamsAsDefaults):
11542 * lyx_cb.C (MenuLayoutSave): remove
11544 * LyXAction.C (init):
11546 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11548 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11550 * buffer.C (setPaperStuff): removed from here...
11552 * bufferparams.C (setPaperStuff): ... and moved there.
11554 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11558 * XFormsView.C: add support for drop-down completion
11560 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11562 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11565 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11567 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11570 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11572 * lyx_main.C: change ref to known bugs
11574 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11576 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11577 to work around older babel problems.
11579 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11581 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11583 2001-10-24 Juergen Vigna <jug@sad.it>
11585 * tabular-old.C (ReadOld): below variable changes reflected.
11587 * tabular.[Ch]: added ltType struct for longtable header/footer
11588 defines and changed all instances where they are used. Added
11589 future support for double top/bottom rows.
11591 2001-10-24 José Matos <jamatos@fep.up.pt>
11593 * buffer.h (docbookHandleCaption):
11594 * buffer.C (docbookHandleCaption): removed unused function.
11595 (makeDocBookFile): moved docbook supported version to v4.1.
11597 2001-10-24 José Matos <jamatos@fep.up.pt>
11600 * tabular.C (docbookRow): new function to export docbook code of a row.
11601 (DocBook): now honors the longtable flags.
11603 2001-10-23 José Matos <jamatos@fep.up.pt>
11606 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11607 of the lyx defined sgml entities used in a docbook/linuxdoc document.
11609 * buffer.C (makeLinuxDocFile):
11610 (makeDocBookFile): reworked the preamble, more clean, and with
11611 support for lyx defined entities. Changed the document declaration
11612 to be more XML friendly.
11614 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11615 if we need to output XML that should be done with a filter.
11617 2001-10-22 Juergen Vigna <jug@sad.it>
11619 * sp_pspell.h (class PSpell): add alive function needed in the
11620 controller to see if the spellchecker could be started.
11622 2001-10-22 Juergen Vigna <jug@sad.it>
11624 * buffer.C (insertStringAsLines): modify the font for inserting
11625 chars in certain conditions by calling checkInsertChar(font).
11627 2001-10-19 Juergen Vigna <jug@sad.it>
11629 * text.C (workWidth): use getRow instead of wrong algorithm.
11630 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11632 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
11637 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11639 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11641 * text.C (workWidth): do not search for the exact row when
11642 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11643 optimization for big documents.
11645 2001-10-18 Juergen Vigna <jug@sad.it>
11647 * text.C (workWidth): new function with added Inset * parameter.
11649 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11651 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11653 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11654 change return type of getColumnNearX.
11657 * text.C (changeRegionCase): use uppercase/lowercase instead of
11660 (rightMargin): simplify code by factoring out the uses of
11665 (appendParagraph): use Paragraph::size_type
11667 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11669 * vspace.C (asLatexString): add a missing break
11671 2001-10-15 Herbert Voss <voss@perce.de>
11673 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11675 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11677 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11680 2001-10-10 André Pönitz <poenitz@gmx.net>
11682 * lyxfunc.C: removed greek_kb_flag.
11684 2001-10-10 Herbert Voss <voss@perce.de>
11686 * lyx_main.C: delete global string help_lyxdir.
11688 2001-10-09 Herbert Voss <voss@perce.de>
11690 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11692 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11694 * lyx_main.C: added global string help_lyxdir.
11696 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11698 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
11700 * lyxrc.C (set_font_norm_type): support iso8859-4
11702 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
11704 * LaTeX.C (deplog): add another regex for MikTeX
11706 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
11708 * lyxrc.C (set_font_norm_type): support iso8859-3
11710 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11712 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11714 * LaTeXFeatures.C: remove special case of french and index
11716 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11717 before \begin{document}). This solves several incompatibilities.
11719 2001-10-03 Garst Reese <reese@isn.net>
11721 * lyx_cb.C: change CheckTex error msg.
11723 2001-10-03 José Matos <jamatos@fep.up.pt>
11725 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11727 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11729 * .cvsignore: update
11731 * lyx_main.C (commandLineVersionInfo): use new style version info.
11733 * buffer.C (writeFile):
11735 (makeLinuxDocFile):
11736 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11738 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11740 * version.h: update to use stuff in version.C
11742 * version.C.in: new file. Contains version information determined
11743 at compile time. This is a merging of version.h and
11746 2001-10-03 Juergen Vigna <jug@sad.it>
11748 * BufferView_pimpl.C (update): don't change "dirty" status in
11751 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
11753 * WorkArea.C (c-tor): re-position version string slightly.
11755 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
11757 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11758 revert to previous code.
11760 WorkArea.[Ch]: (show, destroySplash): methods removed.
11762 WorkArea.C: rework code so that it's an amalgam of the codes before and
11763 after the splash screen was moved to WorkArea.
11765 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11768 * vspace.C (inPixels):
11771 * buffer.C (insertStringAsLines):
11772 (asciiParagraph): fix types to be large enough
11774 * lyxlex_pimpl.h: change member status from short to int
11776 * layout.h: fix type of endlabeltype
11779 * kbsequence.C (parse): change return type to string::size_type
11781 * LaTeX.C (updateBibtexDependencies): comment out unneeded
11784 * Bullet.C (bulletSize):
11785 (bulletEntry): do not use short ints as parameters
11787 * BufferView2.C (insertLyXFile): change a char to an int.
11789 * WorkArea.C (WorkArea): remove unneeded floats in computation
11791 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
11793 * buffer.C (asciiParagraph): Treat '\\' as other chars.
11795 * paragraph.C (asString): Do not ignore newline/hfill chars when
11796 copying to the clipboard.
11798 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
11800 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11801 after a multi-line inset.
11803 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
11805 * paragraph.C (validate): Set NeedLyXFootnoteCode
11807 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11809 * lyxfont.C (LyXSizeNames): changed increase-error to increase
11810 and decrease-error to decrease.
11812 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11814 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11815 it more readable (should be equivalent)
11817 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
11819 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11821 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11823 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11824 of a cursor (row, etc.) after a character has been deleted
11825 (deleteEmptyParagraphMechanism): call the method above on _all_
11826 cursors held by the LyXText when a double space has been
11829 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11831 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11833 (resizeCurrentBuff): remove code to destroy the old splash dialog.
11835 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11836 background. Use greyOut() and the new show() methods to toggle between
11837 the foreground and background. Add code to remove the splash after
11838 its initial showing.
11840 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11841 (create_forms): no longer call Dialogs::showSplash.
11843 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11845 * .cvsignore: add version_info.h
11847 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11849 * version_info.h.in: new file
11851 * Makefile.am: add version_info.h.in
11853 * lyx_main.C (commandLineVersionInfo): use version_info defined in
11854 version_info.h instead of VERSION_INFO
11856 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
11858 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11859 The ERT inset now returns string().
11861 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
11863 * lyxtext.h, text.C (selectNextWord): renamed as
11864 selectNextWordToSpellcheck.
11866 * text.C (selectNextWordToSpellcheck): Modified to not select
11867 words inside an ERT inset.
11869 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11871 * lyx_cb.C (MenuLayoutSave): change a bit the question
11873 * sp_base.h: include <sys/types.h>
11875 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
11877 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11879 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
11881 * several files: fix typos in user-visible strings
11883 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11885 * text2.C (pasteSelection): do not set the selection, since it
11886 will be cleared later. Actually, the intent was to fix the way the
11887 selection was set, but I figured rmoving the code was just as good.
11889 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
11891 * FontLoader.C (available): Check if font is available without
11894 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11896 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11898 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
11900 * lyxrc.[Ch]: added display_graphics variable and associated code.
11902 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11904 * bufferparams.C (hasClassDefaults): new method. Returns true if
11905 the buffer parameters correspond to known class defaults
11907 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
11909 * XFormsView.C (show): set minimum size to the main window.
11911 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11913 * text2.C (copySelection):
11915 * lyxfind.C (LyXReplace):
11916 * BufferView_pimpl.C (Dispatch): pass the correct flag to
11917 LyXText::selectionAsString.
11919 * paragraph.C (asString): add "label" argument to the second form
11921 * text2.C (selectionAsString): add "label" argument and pass it to
11922 Paragraph::asString.
11924 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11926 * lyx_main.C (commandLineHelp): remove version information
11928 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
11930 * lyx_main.C: add -version commandline option
11932 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11934 * paragraph.h: make the optional constructor arg required instead.
11935 some modifications to other files because of this.
11937 * minibuffer.C (C_MiniBuffer_peek_event): make it static
11939 * lyxserver.C (C_LyXComm_callback): make it static
11941 * lyx_main.C (error_handler): make it static
11943 * lyx_gui.C (LyX_XErrHandler): make it static
11945 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11947 * WorkArea.C: make the extern "C" methods static.
11949 * Makefile.am (lyx_LDADD): simplify
11951 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11953 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11954 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11956 * LyXAction.C (init):
11957 * lyxfunc.C (dispatch): associated code removal.
11959 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11961 * lyxfont.h (isSymbolFont): shut off warning
11963 * text.C (setHeightOfRow):
11964 (getVisibleRow): fix crash with empty paragraphs which have a
11967 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
11969 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11972 2001-09-04 José Matos <jamatos@fep.up.pt>
11975 * tabular.C (docbook): rename docBook method to docbook.
11977 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11979 * Makefile.am: add dependencies to main.o.
11981 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
11983 * FontLoader.C (available): Return false if !lyxrc.use_gui
11985 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
11987 * FontInfo.C (query):
11988 * converter.C (view):
11989 * importer.C (Import):
11990 * exporter.C (Export): Can not -> cannot.
11992 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
11994 * BufferView_pimpl.C: allow to create index inset even if
11997 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11999 * buffer.C (getLists): replace boost::tie code with an explicit pair
12000 as boost::tie can break some compilers.
12002 * iterators.h: Added a std:: declaration to the return type of
12005 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
12007 * lyxrc.C: add help for view_dvi_paper_option, default to safe
12010 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
12012 * iterators.[Ch]: New files. Provide paragraph iterators.
12014 * buffer.C (changeLanguage): Use paragraph iterators.
12015 (isMultiLingual): ditto
12017 * BufferView2.C (ChangeInsets): Use paragraph iterators.
12019 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
12021 * FontLoader.C: Support for cmr font.
12023 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
12025 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12026 (available): New method.
12028 * FontInfo.C (getFontname): Use scalable fonts even when
12029 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12032 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12034 * converter.C (Formats::view): reverted! Incorrect fix.
12036 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12038 * converter.C (Formats::view): only output the -paper option
12039 if the dvi viewer is xdvi, thereby fixing bug #233429.
12041 2001-08-23 Herbert Voss <voss@perce>
12043 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12045 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
12047 * Spacing.h (Spacing): Set space to Default on in the default
12050 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
12052 * vc-backend.h (RCS::versionString): add RCS to version
12053 (CVS::versionString): add CVS to version
12055 * vc-backend.C (scanMaster): do not add CVS to version.
12056 (scanMaster): do not add RCS to version
12058 * lyxvc.C (versionString): new method
12060 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12062 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12064 * Spacing.C (set): initialize fval
12066 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
12068 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12071 2001-08-16 Juergen Vigna <jug@sad.it>
12073 * lyxfunc.C (dispatch): implemented the new FINISHED states.
12075 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12077 * BufferView_pimpl.C:
12080 * text2.C: setParagraph takes linespacing now
12082 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
12084 * LyxAction.C: add internal LFUN_CITATION_INSERT
12086 * LyXView.C: actually apply fix
12088 * bufferlist.C: fix open non-existent file
12090 * lyxfind.C: fix indentation
12092 * lyxfunc.C: remove unneeded assert, fix typo
12094 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12096 * MenuBackend.C: use "Floatname List"
12098 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
12100 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12101 when converting LaTeX layout to insetERT.
12102 Generate a non-collapsed float when reading old float
12104 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12106 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12109 2001-08-13 Juergen Vigna <jug@sad.it>
12111 * text.C (fill): return 0 instead of 20 as this seems to be the more
12114 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12116 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12119 2001-08-13 Juergen Vigna <jug@sad.it>
12121 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12123 (SearchBackward): comment out the unlocking of the inset_owner this
12124 should not be needed!
12126 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
12128 * Many files: Remove inherit_language, and add latex_language
12130 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12131 collapsible insets.
12133 2001-08-10 Juergen Vigna <jug@sad.it>
12135 * text.C (prepareToPrint): fixed hfill-width in draw!
12137 * BufferView2.C (selectLastWord): save the selection cursor as this
12138 now is cleared in the function LyXText::clearSelection!
12140 2001-08-08 Juergen Vigna <jug@sad.it>
12142 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12143 BACKSPACE type functions.
12145 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12146 is only cutted from the document but not put in the cut-buffer, where
12147 still the old stuff should be.
12149 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12151 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12153 * tabular.C (SetWidthOfCell): fixed special case where the width
12155 (LeftLine): handle '|' in align_special.
12157 (LeftAlreadyDrawed): ditto
12158 (SetWidthOfCell): ditto
12160 2001-08-07 Juergen Vigna <jug@sad.it>
12162 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12164 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12166 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12167 * lyxlex.[hC]: ditto
12169 2001-08-06 Juergen Vigna <jug@sad.it>
12171 * text.C (getVisibleRow): fix up row clearing a bit.
12173 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12175 * minibuffer.C: make sure the X server sees the changes in the input.
12177 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12179 * paragraph.C (getFont): split into...
12180 (getLabelFont): this
12181 (getLayoutFont): and this
12182 * paragraph_pimpl.C (realizeFont): calling this
12184 * text2.C (getFont): split into...
12185 (getLayoutFont): this
12186 (getLabelFont): and this
12187 (realizeFont): all three calling this
12189 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12192 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12194 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12196 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
12198 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12199 layouts from the Quote inset insertion.
12201 2001-08-03 Juergen Vigna <jug@sad.it>
12203 * BufferView_pimpl.C (update): do the fitCursor only at the end!
12205 * screen.C (drawFromTo): don't call fitcursor here and do the loop
12206 only if status not is already CHANGED_IN_DRAW (second level).
12208 * text.C (draw): don't set the need_break_row when inside an
12211 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12213 * buffer.C (parseSingleLyXformat2Token): handle more latex
12216 * bufferview_funcs.[hC]: change function names to
12217 begin with small char, adjust other files.
12219 2001-08-02 André Pönitz <poenitz@gmx.net>
12222 BufferView_pimpl.C: remove broken special code for math-greek
12224 2001-08-02 Juergen Vigna <jug@sad.it>
12226 * BufferView_pimpl.C (update): redone this function so that we
12227 update the text again if there was a CHANGE_IN_DRAW.
12229 * screen.C (cursorToggle): removed LyXText parameter and recoded.
12230 (drawFromTo): added a new internal bool which is used by draw() and
12232 (general): some cursor drawing problems fixed.
12234 2001-08-01 Juergen Vigna <jug@sad.it>
12236 * lyxfind.C (LyXFind): fixed
12237 (SearchForward): ditto
12238 (SearchBackward): ditto
12240 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12241 spurius drawing of the cursor in the main area.
12243 * text2.C (status): small fix which could lead to a segfault!
12244 (clearSelection): remove unneeded BufferView param.
12246 2001-08-01 André Pönitz <poenitz@gmx.net>
12248 * lyxfunc.C: small change due to changed mathed interface
12250 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12252 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12254 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
12256 * lyxfunc.c: fail gracefully if file doesn't exist
12261 * BufferView_pimpl.C: IsDirWriteable() proto changed
12263 * LyXView.C: fix updateWindowTitle() to store the last title
12265 2001-07-31 Juergen Vigna <jug@sad.it>
12267 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12268 the font (wrong since using of Paragraph::highestFontInRange).
12270 * paragraph.C (highestFontInRange): added a default_size parameter.
12272 * text.C (getVisibleRow): minor clear row changes (still not perfect).
12273 (setHeightOfRow): reformat
12275 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12277 * converter.[hC] + affected files: move to (inital-char)lowercase
12280 * ParagraphParameters.C (ParagraphParameters): remove commented code
12282 * PainterBase.[Ch]: remove commented code
12284 * LaTeXFeatures.h: add "bool floats" for float.sty
12286 * LaTeXFeatures.C (LaTeXFeatures): init floats
12287 (require): handle float
12288 (getPackages): do it with floats
12290 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12292 * BufferView_pimpl.C (Dispatch): improve handling of
12293 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12295 * commandtags.h: #include lyxfont.h here temporarily to avoid
12298 * bufferlist.h: include LString.h here.
12300 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12302 * text2.C (getStringToIndex): new method.
12304 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
12306 * *: Reduced header file dependencies all over.
12308 2001-07-30 Baruch Even <baruch@lyx.org>
12310 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12312 2001-07-29 Baruch Even <baruch@lyx.org>
12314 * buffer.C (readInset): Changed GRAPHICS to Graphics.
12316 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12318 * ParameterStruct.h (endif): add a default constructor to make
12319 sure that all variables is initialized.
12321 * ParagraphParameters.C (ParagraphParameters): adjust
12323 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12325 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12326 index; also, check that there is something to index, and that it
12327 does not span over several paragraphs.
12328 (doubleClick): use WHOLE_WORD_STRICT for double click.
12330 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12332 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12335 2001-07-26 Baruch Even <baruch@lyx.org>
12337 * buffer.C (readInset): Changed to call up InsetGraphics when reading
12338 an InsetFig figure, backwards compatible reading of old figure code.
12340 2001-07-27 Juergen Vigna <jug@sad.it>
12342 * text2.C: font.realize function adaption.
12344 * text.C (draw): add a warnings lyxerr text if needed.
12346 * layout.C: font.realize function adaption.
12348 * language.C: add inherit_language and implement it's handlings
12350 * bufferview_funcs.C (StyleReset): remove language parameter from
12351 font creation (should be language_inherit now).
12353 * bufferparams.C (writeFile): handle ignore_language.
12355 * paragraph.C (getFontSettings): the language has to be resolved
12356 otherwise we have problems in LyXFont!
12358 * lyxfont.C (lyxWriteChanges): added document_language parameter
12359 (update): removed unneeded language parameter
12361 * paragraph.C (validate): fixed wrong output of color-package when
12362 using interface colors for certain fonts in certain environments,
12363 which should not seen as that on the final output.
12365 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
12367 * BufferView_pimpl.C:
12372 * LyXAction.C: add thesaurus support
12375 * lyxfind.C: add "once" parameter, for thesaurus, to not
12376 move to the next match
12378 2001-07-26 Juergen Vigna <jug@sad.it>
12380 * lyxfont.C (realize): honor ignore_language too!
12383 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12385 * text.C (draw): one place more for ignore_language to not draw
12388 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
12390 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12392 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12394 * buffer.C (parseSingleLyXformat2Token): a more general fix for
12395 the minipage conversion problem.
12397 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12399 * buffer.C (parseSingleLyXformat2Token): check minipage if we
12402 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12404 * BufferView.h: don't forward declare WorkArea
12406 * BufferView.C: don't include WorkArea.h
12408 2001-07-25 André Pönitz <poenitz@gmx.net>
12412 * lyxfunc.C: new LFUN 'math-space'
12414 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12416 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12418 * text2.C (toggleInset): call open/close
12420 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12422 * lyxfunc.C (dispatch): add debug for the disabled case
12424 * font.C (buttonText): make similar to rectText
12426 * buffer.C (readInset): comment out parsing of insetlist and
12429 * PainterBase.C (rectText): small correction
12431 * BufferView_pimpl.C: comment out insettheorem and insetlist
12432 * LyXAction.C: ditto
12433 * commandtags.h: ditto
12435 2001-07-24 Juergen Vigna <jug@sad.it>
12437 * text.C (draw): honor the ignore_language.
12439 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12441 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12443 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12446 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12448 * lyxtext.h: remove unused (and unimplemented) methods
12450 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12452 * text.C (getVisibleRow): honor background color
12455 * Painter.h: remove default color argument for fillRectangle
12457 * text.C (backgroundColor): new method
12459 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12461 * text.C (getVisibleRow): adjust
12463 * font.[Ch] (rectText): new method, metrics
12464 (buttonText): new method, metrics
12466 * PainterBase.[hC]: make rectText and buttonText always draw and take
12469 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12471 * ToolbarDefaults.C (read):
12472 * MenuBackend.C (read): allow escaping in all strings
12474 * BufferView_pimpl.C (insertAndEditInset): new method.
12475 (Dispatch): use insertAndEditInset whenever appropriate.
12477 * BufferView_pimpl.C (insertNote): removed
12479 * BufferView_pimpl.C (smartQuote): new method, moved from
12480 BufferView; if an insetquote cannot be inserted, insert a '"'
12483 * BufferView2.C: remove insertCorrectQuote();
12485 * lyxfunc.C (getStatus): Add support for all remaingin
12486 inset-insert lfuns.
12488 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12490 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12491 command (necessary to pass " as parameter of self-insert.
12493 * text.C (selectWordWhenUnderCursor):
12494 (selectWord): add word_location parameter
12495 (selectWordWhenUnderCursor): same + remove special code for word
12497 (selectNextWord): use kind() to guess type of insetspecialchar,
12500 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12501 (insertErtContents): create ert insets as collapsed.
12502 (readInset): better compatibility code for Info inset.
12504 2001-07-20 Juergen Vigna <jug@sad.it>
12506 * lyxfunc.C (dispatch): use always LyXFind now!
12508 * text2.C (init): add a reinit flag so that the LyXText can be
12509 reinited instead of deleted and reallocated (used in InsetText).
12511 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12517 2001-07-18 Juergen Vigna <jug@sad.it>
12519 * text.C (selectNextWord): handle insets inside inset by calling
12520 always the bv->text functions so that we can go up the_locking_inset!
12522 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12523 in strange locations when inside an inset!
12525 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12526 handling to include insets.
12528 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12530 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12532 * LyXAction.C (init):
12534 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12535 LIGATURE_BREAK, since the name is so stupid.
12537 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12539 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12542 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12544 * sp_form.[Ch]: remove.
12546 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12548 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12551 * src/buffer.C (readInset): ditto.
12553 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12555 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12556 menuSeparator(), endOfSentenceDot(), ldots() and
12557 hyphenationPoint(), which are therefore removed.
12558 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12560 * LyXAction.C (init):
12561 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12563 * paragraph.C (getWord): removed.
12565 * BufferView_pimpl.C (Dispatch): use last word or selection for
12566 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12568 * lyx_main.C (queryUserLyXDir): do not ask before creating
12569 user_dir, except if it has been named explicitely.
12571 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12573 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12574 a document of zero size.
12576 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12578 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12579 approriately in the c-tor and in require().
12580 (getPackages): output the appropriate LaTeX for natbib support.
12582 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12583 variables "use_natbib" and "use_numerical_citations" when reading the
12585 (readInset): read the various natbib cite commands.
12586 (validate): white-space change.
12588 * bufferparams.[Ch]: new variables "bool use_natbib" and
12589 "bool use_numerical_citations".
12590 (writeFile): output them in the LyX file.
12592 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12594 * lyxfunc.C (getStatus): add support for all the inset insertion
12597 * text2.C (insertInset):
12598 * paragraph.C (insetAllowed):
12599 * BufferView_pimpl.C (insertInset): update to take in account the
12600 renaming of insertInsetAllowed
12602 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12604 * text2.C (getInset): new method. returns inset at cursor position.
12606 * BufferView_pimpl.C (Dispatch): changes because of this.
12608 * LyXAction.C (init): rename open-stuff to inset-toggle.
12610 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12612 * text2.C (toggleInset): renamed from openStuff; use
12615 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
12617 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12619 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12621 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
12623 * buffer.C (readLyXformat2): Add filename to the error dialog
12625 2001-07-18 Juergen Vigna <jug@sad.it>
12627 * tabular.C (GetCellNumber): put an assert here instead of the check!
12629 2001-07-17 Juergen Vigna <jug@sad.it>
12631 * BufferView_pimpl.C (toggleSelection): adapted too.
12633 * text.C (selectNextWord): adapted for use with insets.
12634 (selectSelectedWord): ditto
12636 2001-07-17 Juergen Vigna <jug@sad.it>
12638 * sp_spell.C (PSpell): fix initialitation order.
12640 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12642 * paragraph.C: spacing
12644 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
12646 * sp_spell.C: repair language selection for pspell
12648 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12650 * lyxfunc.h: change more methods to begin with lower char.
12652 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
12654 * buffer.C (parseSingleLyXformat2Token): Generate error insets
12655 for unknown layouts.
12657 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
12659 * buffer.C (readLyXformat2): Generate an error dialog if there are
12662 2001-07-16 Juergen Vigna <jug@sad.it>
12664 * sp_spell.C: always compile ISpell part.
12666 * lyxrc.C: added use_pspell entry and it's handling.
12668 2001-07-13 Juergen Vigna <jug@sad.it>
12670 * sp_spell.C: removed double includes.
12672 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
12674 Consistent use of Lsstream.h:
12675 * Lsstream.h: added using std::stringstream for consistencies sake.
12677 * buffer.C: removed using std::stringstream
12679 * lyxfont.C (stateText):
12680 * paragraph.C (asString):
12681 * text.C (selectNextWord, selectSelectedWord):
12682 * text2.C (setCounter):
12683 * vspace.C (asString, asLatexString):
12684 std::ostringstream -> ostringstream.
12686 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12688 * LyXAction.C: add LFUN_HELP_ABOUTLYX
12689 * commandtags.h: add LFUN_HELP_ABOUTLYX
12690 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12692 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12694 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12696 * lyx_gui_misc.C: remove spellchecker
12697 * lyxfunc.C: showSpellchecker
12699 * sp_ispell.h: added
12700 * sp_pspell.h: added
12701 * sp_spell.C: added
12702 * sp_form.[Ch]: removed
12703 * spellchecker.[Ch]: removed
12705 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
12707 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12709 (simpleTeXSpecialChars): Simply print the input character without
12710 any special translation if pass_thru is set.
12712 * layout.h: Added bool pass_thru to layout class for being able to
12713 implement pass through of a paragraph for Literate Programming.
12715 * layout.C: add LT_PASS_THRU to LayoutTags enum.
12716 * layout.C (LyXLayout): set pass_thru to flase in constructor.
12717 * layout.C (Read): add "passthru" to list of layout tags and add
12718 code to set the pass_thru boolean when it is read.
12720 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12722 * trans_decl.h: remove allowed from KmodInfo
12724 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12725 remove allowed code
12728 * paragraph_pimpl.C (erase): use boost::prior
12730 * Painter.C (text): use data() instead of c_str() when length is
12732 * WorkArea.C (putClipboard): ditto
12733 * font.h (width): ditto
12735 * BufferView2.C: use it-> instead of (*it). for iterators
12737 * paragraph_pimpl.C: ditto
12738 * paragraph.C: ditto
12739 * minibuffer.C: ditto
12740 * language.C: ditto
12742 * encoding.C: ditto
12743 * counters.C: ditto
12744 * converter.C: ditto
12746 * Variables.C: ditto
12747 * TextCache.C: ditto
12748 * MenuBackend.C: ditto
12749 * LyXAction.C: ditto
12751 * FloatList.C: ditto
12752 * DepTable.C: ditto
12753 * ColorHandler.C (LyXColorHandler): ditto
12755 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12757 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12759 * text2.C (openStuff): reintroduce this method (which had been
12760 nuked in NEW_INSETS frenzy).
12762 * lyxfunc.C (Dispatch): when an action has not been handled, use
12763 its name in the error message, not its number.
12765 * paragraph.C (inInset): change method name to begin with lowercase.
12768 * text2.C: updates because of this.
12770 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12772 * ToolbarDefaults.C (add): add spaces in error message
12774 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12776 * buffer.C (readLyXformat2): initialize the ert comp. variables.
12777 (readLyXformat2): rename return_par to first_par, use lyxlex's
12778 pushToken and remove the manual push handling.
12779 (parseSingleLyXformat2Token): add another ert comp. variable:
12780 in_tabular, rename return_par to first_par. handle newlines better
12782 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12784 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12786 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12788 * text2.C (getParFromID): removed
12790 * buffer.C (getParFromID): new method moved form lyxtext.
12791 * BufferView2.C (insertErrors): adjust
12792 (setCursorFromRow): adjust
12793 * BufferView_pimpl.C (restorePosition): adjust
12794 * lyxfunc.C (Dispatch): adjust
12795 * undo_funcs.C (textUndo): adjust
12797 (textHandleUndo): adjust
12798 (textHandleUndo): adjust
12800 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12802 * buffer.C: up' the LYX_FORMAT
12804 * lyxfont.h: turn NO_LATEX on as default
12806 * buffer.C (insertErtContents): new methods of tex style compability.
12807 (parseSingleLyXformat2Token): use it several places.
12808 * tabular.C (OldFormatRead): and here
12810 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12812 * text2.C: remove some commented code.
12815 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12816 * trans.C: changes because of the above.
12818 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
12820 * text2.C (setCounter): Fix counters bug with bibliography layout.
12822 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12824 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12825 own member functions
12826 (simpleTeXSpecialChars): ditto
12828 2001-07-06 Juergen Vigna <jug@sad.it>
12830 * a lot of files: changed the access to LyXText::status and the
12831 call of undo-functions.
12833 * undo.[Ch]: added a inset_id to the undo informations.
12835 * undo_funcs.[Ch]: added and moved here all undo functions.
12837 * lyxtext.h: give the status enum a weight, made status_ a private
12838 variable and made accessor functions for it, removed the whole bunch
12839 of undo-functions as they are now in their own file, make some
12840 functions publically available. Added function ownerParagraph with
12843 * paragraph.[Ch]: added "bool same_ids" to the constructor,
12844 made InInset() a const function, added getParFromID() function.
12846 * buffer.[Ch]: added const version for inset_iterator functions,
12847 added getInsetFromID() function.
12849 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12850 changed undo functions for new version.
12852 2001-07-05 Juergen Vigna <jug@sad.it>
12854 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12855 unknow mechanism does not call the proper constructor but only this
12856 one also if I request the other!?
12858 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12860 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12862 * text2.C (LyXText): use initialization lists.
12864 * lyxtext.h (Selection): initialize set_ and mark_
12865 (init): remove method
12867 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
12869 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12871 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12873 * screen.[Ch]: change method names to begin with lowercase
12875 * BufferView_pimpl.C (updateScrollbar): simplify further and
12876 hopefully make it a bit faster.
12878 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12880 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12881 calling directly xforms functions.
12883 * Painter.C (Painter):
12884 * lyx_cb.C (MenuWrite):
12885 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12888 * lyx_gui.C: remove bogus guiruntime extern declaration.
12890 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12892 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12894 (redoDrawingOfParagraph): ditto
12895 (redoParagraphs): ditto
12896 (cutSelection): don't create a object for CutAndPaste use the
12897 static method directly
12898 (pasteSelection): ditto
12900 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12903 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12905 * modifications to some other files because of this.
12907 * Makefile.am (lyx_SOURCES): add XFormsView
12909 * XFormsView.[Ch]: new files
12911 * LyXView.[Ch]: make LyXView a base class for the gui handling for
12912 the main window. Move the gui dependent stuff to XFormsView
12914 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12916 * tabular.C (GetCellInset): update cur_cell also in the row/col
12917 version of this function.
12919 * lyxfunc.C: no need to include figure_form.h here.
12925 * lyxvc.C: no need to include forms.h here.
12927 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12929 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12931 * lyxfunc.C (Dispatch):
12933 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12934 constructor argument.
12936 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12938 * paragraph.C (Paragraph): dont't clear, and just set layout.
12939 (makeSameLayout): use params's copy contructor.
12941 * ParagraphParameters.[Ch] (makeSame): delete method
12943 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
12945 * Variables.[Ch]: fix indentation, rename set to isSet
12947 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12949 * lyxfunc.C (Dispatch): fix typo
12951 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12953 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12956 * bufferlist.C: include assert.h for emergencyWrite().
12958 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12960 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12961 give up at last (bug #425202) !
12963 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
12969 * spellchecker.C: strip spellchecker options and bring up
12970 preferences tab instead
12972 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12974 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12975 the istringstream constructor
12977 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12979 * paragraph.C (getLayout): fix return value
12981 * paragraph.h: do not declare getLayout as inline.
12983 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12985 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12987 * lyxcursor.h (operator<): new func
12988 (operator>): new func
12989 (operator>=): new func
12990 (operator<=): new func
12992 * text.C (changeCase): use selection.start and selection.end
12993 (changeRegionCase): require from to be <= to. Require par to be a
12996 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12998 2001-06-27 Juergen Vigna <jug@sad.it>
13000 * text.C (cursorLeftOneWord): changed to return the cursor and added
13001 overlay with BufferView * parameter which calls this one.
13003 (selectWord): use new getWord function.
13004 (changeCase): renamed from changeWordCase as and extended to work
13005 also on selections.
13007 * lyxtext.h: added enum word_location
13009 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13010 changeCase as this operates now also on selections.
13012 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
13014 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13016 * many files: send debug output to Debug::INFO instead of
13019 * converter.C (View):
13021 (Move): send debug output to Debug::FILES instead of console.
13023 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
13025 * lyxfunc.C (getStatus): use func_status
13027 * func_status.h: new header, describing the results of
13028 LyXFunc::getStatus;
13030 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13033 2001-06-25 The LyX Project <jug@sad.it>
13035 * buffer.C (sgmlOpenTag):
13037 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
13039 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13041 * text2.C: remove some dead code
13043 * tabular.C (GetCellInset): store the last cell checked (gotten)
13045 * tabular.h: add the helper for the speedup
13047 * lyxtext.h: remove some dead code
13049 2001-06-26 The LyX Project <Asger>
13051 * paragraph.C: Change export to LaTeX of alignment to
13052 \begin{center} and family for better roundtrip work with reLyX.
13054 * Tune the math drawing a bit.
13056 2001-06-25 The LyX Project <Asger>
13058 * LColor.C (LColor): New color for math background. New color
13061 2001-06-25 The LyX Project <jug@sad.it>
13063 * lyxfunc.C (MenuNew): remove extra check for .lyx file
13065 * lyxfunc.C (Open):
13066 * bufferlist.C (newFile): do not restrict to files ending with
13069 * BufferView_pimpl.C (MenuInsertLyXFile):
13071 2001-06-24 The LyX Project <jug@sad.it>
13073 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13076 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13078 * lyxtext.h: rename most methods to begin with a small char.
13079 Lots of changes because of this.
13081 * paragraph.C (Paragraph): do not call fitToSize
13082 (erase): call Pimpl::erase
13083 (insertChar): call Pimpl::insertChar
13084 (insertInset): call Pipl::insertInset
13085 (breakParagraph): do not call fitToSize
13086 (breakParagraphConservative): do not call fitToSize
13087 (fitToSize): remove method
13089 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13091 2001-06-24 The LyX Project <Asger>
13093 * Fix Qt compilation^2
13095 2001-06-24 The LyX Project <jug@sad.it>
13097 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13098 depthHook(getDepth()-1).
13101 * ParagraphParameters.h:
13102 * ParameterStruct.h: change type of depth to unsigned int ==
13103 depth_type. Many adaptations to other files before of that.
13105 2001-06-24 The LyX Project <Asger>
13107 * Fix Qt compilation.
13109 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13111 * paragraph.h: renamed several methods to begin with small letter.
13112 several changes to many parts of the code because of this.
13114 2001-06-23 The LyX Project <jug@sad.it>
13116 * text2.C (InsertStringAsLines): renamed from InsertStringA;
13117 rewritten to discard all double spaces when KeepEmpty is off
13118 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13119 to only handle newlines but not fiddle with spaces and friends.
13121 * lyxfunc.C (MenuNew): when doing 'new from template', use
13122 template_path as default directory
13124 2001-06-23 The LyX Project <Asger>
13126 * Clean-up of header file includes all over
13127 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13129 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13131 * paragraph.h: renamed from lyxparagraph.h
13133 2001-06-23 Asger <lyx@violet.home.sad.it>
13135 * Buffer.h: Removed Buffer::resize
13136 * BufferList.h: Removed BufferList::resize
13137 * LyXView.h: Added LyXView::resize. This way, we will only reflow
13138 the document lazily when we change the width, or the font settings.
13140 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13142 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13144 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13146 * buffer.h: remove out of date comment
13148 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13151 * screen.C: fix "theoretical" GC leak
13153 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13155 * LaTeX.C (scanAuxFile):
13156 (deplog): remove trailing \r when reading stream (useful under
13159 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
13161 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13162 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13163 and BufferView::theLockingInset(Inset*), so should use them and not
13164 access bv_->text->the_locking_inset directly.
13166 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13168 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13171 * tex-defs.h: remove old unused file
13173 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
13175 * BufferView_pimpl.C: fix typo, remove minibuffer message
13176 when buffer has loaded
13178 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13180 * lyxfunc.C (Dispatch): use stringstream
13181 (MenuNew): use stringstream
13182 (Open): use stringstream
13184 * importer.C (Import): use stringstream
13186 * bufferview_funcs.C (CurrentState): use stringstream
13188 * LaTeX.C (run): use stringstream
13190 * BufferView_pimpl.C (savePosition): use stringstream
13191 (restorePosition): use stringstream
13192 (MenuInsertLyXFile): use stringstream
13194 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
13207 * vspace.C: removed // -*- C++ -*- as first line.
13210 * version.h: added // -*- C++ -*- as first line.
13212 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13214 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13216 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13219 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13221 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13224 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13226 * gettext.C: include LString.h even when --disable-nls is on.
13228 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
13230 * converter.h (Get): changed argument type from int to
13231 FormatList::size_type to avoid unnecessary conversion.
13233 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13236 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13238 * gettext.h: include LString.h even when --disable-nls is on.
13240 2001-06-07 Juergen Vigna <jug@sad.it>
13242 * text.C (BreakAgain): subst spaces with tabs.
13244 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13245 (resizeInsetsLyXText): set force on resizeLyXText.
13247 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13249 * gettext.h (gettext_init):
13250 (locale_init): use a real definition instead of a macro
13252 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13254 * Bufferview_pimpl.C:
13256 * LColor.C: further lcolor tidies
13258 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13260 * BufferView_pimpl.C (updateScrollbar): simplify.
13262 * BufferView2.C: don't include insets/insetinfo.h, change
13263 prototype for insertInset and call the Pimpl version. let
13264 updateInset call Pimpl version.
13266 * BufferView.h: move inset_slept to BufferView::Pimpl, move
13267 gotoInset to BufferView::Pimpl
13269 2001-06-01 Juergen Vigna <jug@sad.it>
13271 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13272 inside a LockingInset (is the update needed at all?).
13274 2001-05-31 Juergen Vigna <jug@sad.it>
13276 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13277 here not the old one otherwise how should we compare it afterwards
13280 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13285 * FontInfo.C: bring C functions into global namespace when
13288 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13290 * LString.h: make sure config.h has been loaded before LString.h.
13292 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13293 (one for each char read by EatLine!).
13295 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13298 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13300 * paragraph.C (BreakParagraph): set the inset_owner in the new par
13301 to the same as the par we break from
13303 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
13305 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13307 * MenuBackend.C (expand): also create menu entries for wide
13308 versions of the floats.
13310 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13312 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13314 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13315 frontends/Makefile.am
13321 * tabular.C (getTokenValue): add std::
13323 * tabular-old.C (getTokenValue): add std::
13324 (getTokenValue): ditto
13325 (getTokenValue): ditto
13327 * screen.C (ToggleSelection): adjust
13329 * lyxtext.h: put selection cursors inside a Selection struct.
13331 * lyxfunc.C (moveCursorUpdate): adjust
13333 * lyxfont.C (latexWriteStartChanges): add std::
13335 * lyxfind.C: adjust
13337 * font.h: delete with(char const *, LyXFont const &)
13339 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13341 * FontInfo.C (getFontname): add std::
13343 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13344 (workAreaButtonPress): adjust
13345 (tripleClick): adjust
13347 (moveCursorUpdate): adjust
13350 * BufferView2.C (gotoInset): adjust
13352 2001-05-30 Juergen Vigna <jug@sad.it>
13354 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13355 to check pspell I add this as default as I now have new pspell
13356 libraries and they seem to use this.
13358 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13360 * text2.C (CutSelection): make the cursor valid before the call to
13363 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13365 * kbsequence.C (parse): de-uglify a bit the parsing code, which
13366 relied on 0 terminated strings and other horrors. Bug found due to
13367 the new assert in lyxstring!
13369 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13372 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13374 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13377 * lyxfunc.C (processKeySym): change method of getting to the
13380 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13381 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13382 * BufferView_pimpl.[Ch]: here as private methods.
13384 2001-05-28 Juergen Vigna <jug@sad.it>
13386 * text.C (SetHeightOfRow): added the update() call again as it is
13387 needed to initialize inset dimensions!
13389 2001-05-16 Juergen Vigna <jug@sad.it>
13391 * text2.C (SetCharFont): Add new function with BufferView * and
13392 bool toggleall parameters for setting insets internal fonts.
13393 (SetFont): Freeze the undo as we may change fonts in Insets and
13394 all this change should be inside only one Undo!
13396 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13397 setting font's in insets as for them we have the SetFont function!
13399 2001-05-15 Juergen Vigna <jug@sad.it>
13401 * text2.C (ClearSelection): to be sure we REALLY don't have any
13404 * tabular.C (TeXCellPreamble): fixed the left border problem for
13407 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
13409 * LaTeX.C (deplog): Make sure that the main .tex file is in the
13412 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13414 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13415 LFUN_BREAKPARAGRAPH.
13417 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13418 help test to "internal only", similar for LFUN_INSERT_URL
13420 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13421 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13422 auto_region_delete and deadkeys.
13424 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
13427 * LColor.C: remove some dead entries, tidy a little
13429 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13431 * lyxfunc.C (processKeySym): comment the Escape handling, remove
13433 (Dispatch): implement LFUN_ESCAPE
13435 * commandtags.h: add LFUN_ESCAPE
13437 * LyXAction.C (init): add entry for LFUN_ESCAPE
13439 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13440 Remove commented code.
13441 (insertNote): moved here
13442 (open_new_inset): moved here
13444 * BufferView[2].[Ch]: move insertNote and open_new_inset to
13447 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13449 * kbmap.C (findbinding): clean it up and make it work correctly.
13451 * lyx_main.C (init): do not pass argc and argv as parameters
13453 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
13455 * buffer.C: fix path for OS/2 & Win32
13459 * lyx_main.C: Added os:: class.
13461 * os2_defines.h: update
13463 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13465 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13466 better by trying again with reduced state.
13468 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13470 * lyxrc.C (read): print error about invalid key sequence only when
13471 debugging (because not all latinX keysyms are known to some X
13474 * kbsequence.C (getiso): add a few std:: qualifiers
13475 (getiso): comment out extra return statement.
13477 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
13479 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13481 (Dispatch): enhance the accent inset a bit. (not perfect)
13483 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13485 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13487 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13489 * bufferlist.C (emergencyWrite): fix assert() call
13491 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
13493 * text.C (InsertChar): Added trivial patch to only send the "you
13494 can not do multiple spaces this way" message once during a
13497 2001-05-08 Baruch Even <baruch@lyx.org>
13499 * Makefile.am: Changed order of libraries to get LyX to link properly
13500 with the gnome frontend.
13502 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13504 * LaTeXFeatures.h: add a std:: qualifier
13506 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13508 * paragraph.C (String): use stringstream
13510 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13512 * paragraph.C (writeFile): remove footflag arg
13514 * buffer.C (makeLaTeXFile): use stringstream
13515 (latexParagraphs): remove footnot gurba
13517 * LaTeXFeatures.C (getPackages): use stringstream
13518 (getMacros): likewise
13519 (getTClassPreamble): likewise
13520 (getFloatDefinitions): new method
13522 * paragraph.C (writeFile): reindent
13525 * WorkArea.h: revert the xpos + etc changes.
13527 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13529 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13531 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13532 (pasteSelection): likewise
13533 * text2.C (CreateUndo): likewise
13535 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13537 * minibuffer.C (peek_event): temporarily reduce the functionality
13538 of the minibuffer (to allow args on lfuns)
13540 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13541 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13543 * buffer.C (readInset): add compability reading of old float
13544 lists, add reading of new style float list.
13545 (readInset): avoid reevaluation of inscmd.getCmdName()
13546 (getLists): reindent
13548 * MenuBackend.C (MenuItem): implement parsing of
13549 md_floatlistinsert and md_floatinsert.
13550 (expand::LastFiles): move initalizaton of iterators out of loop,
13551 avoid reevaluation.
13552 (expand::Documents): introduce typdedef vector<string> Strings,
13554 (expand::ExportFormats): introduce typedef vector<Format const *>
13555 Formats, and use it.
13556 (expand): implement FloatListInsert and FloatInsert.
13558 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13559 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13560 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13562 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13564 (Dispatch::LFUN_FLOAT_LIST): implement
13566 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13568 * LaTeX.C (run): Fix problem with --export code.
13570 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13572 * BufferView.[Ch] (workarea): removed.
13573 (getClipboard) new method; wrapper for workarea()->getClipboard()
13575 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13578 * WorkArea.h (width, height, xpos, ypos): These methods all
13579 returned the dimensions of the work_area sub-area of WorkArea,
13580 resulting in a position error if the WorkArea were resized. Now
13581 return the dimensions of the entire WorkArea.
13583 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13585 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13587 * LaTeX.C (deplog): correct the syntax of regex reg1
13589 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13591 * undo.C: remove !NEW_INSETS cruft
13593 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13595 * text2.C: remove !NEW_INSETS cruft
13597 * text.C: remove !NEW_INSETS cruft
13599 * tabular.C: remove !NEW_INSETS cruft
13601 * spellchecker.C: remove !NEW_INSETS cruft
13603 * lyxtext.h: remove !NEW_INSETS cruft
13605 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13607 * lyxfunc.C: remove !NEW_INSETS cruft
13609 * lyxfind.C: remove !NEW_INSETS cruft
13611 * lyx_cb.C: remove !NEW_INSETS cruft
13613 * figureForm.C: remove !NEW_INSETS cruft
13615 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13617 * buffer.[Ch]: remove !NEW_INSETS cruft
13619 * ToolbarDefaults.C: remove !NEW_INSETS cruft
13621 * CutAndPaste.C: remove !NEW_INSETS cruft
13623 * BufferView_pimpl.C: remove !NEW_INSETS cruft
13625 * BufferView2.C: remove !NEW_INSETS cruft
13627 * BufferView.h: remove !NEW_INSETS cruft
13629 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13631 * Lsstream.h: include LString.h before the sstream headers to
13632 fix problem with gcc 2.95.3 and lyxstring
13634 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13636 * lyx_main.C: add using directives when needed for C functions
13637 declared in std:: namespace.
13639 2001-04-27 Juergen Vigna <jug@sad.it>
13641 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13642 (SetHeightOfRow): comment out the update call should not be needed!
13644 2001-04-13 Juergen Vigna <jug@sad.it>
13646 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13647 (LyXTabular): tried to minimize operator= operations (and realized
13648 hopfully Lars wish).
13650 2001-04-27 Juergen Vigna <jug@sad.it>
13652 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13654 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13656 * lyxfunc.C (Dispatch): hack to make listof algorithm work
13658 * buffer.C (readInset): hack to make listof algorithm work
13660 * BufferView_pimpl.C: hack to make listof algorithm work
13662 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13664 * LyXAction.C: removed all !NEW_INSETS cruft
13665 (init): moved lfun_item in method
13667 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13669 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13671 * BufferView2.C (theLockingInset): white space.
13673 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13675 * minibuffer.C: include <iostream>
13677 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13679 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13681 * commandtags.h: add LFUN_TRANSPOSE_CHARS
13683 * text.[Ch] (TransposeChars): new method
13685 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13687 * call message directly through LyXView instead of through LyXFunc
13688 * BufferView2.C: adjust
13689 * BufferView_pimpl.C: adjust
13690 * FontLoader.C: adjust
13692 * bufferview_funcs.C: adjust
13693 * converter.C: adjust
13694 * figureForm.C: adjust
13695 * importer.C: adjust
13697 * lyx_gui_misc.C: adjust
13698 * lyxfunc.C: adjust
13701 + more files in subdirs
13703 * lyxparagraph.h (size): move up int file
13706 * adjust all uses of Assert to lyx::Assert.
13708 * BufferView2.C (ChangeCitationsIfUnique): adjust for
13709 lyxfunctional in namespace lyx
13710 * layout.C (hasLayout): ditto
13713 (delete_layout): ditto
13714 (NumberOfClass): ditto
13715 * converter.C (GetFormat): ditto
13720 * bufferlist.C (getFileNames): ditto
13721 (emergencyWriteAll): ditto
13724 * MenuBackend.C (hasSubmenu): ditto
13727 * BufferView_pimpl.C (getInsetByCode): ditto
13729 2001-04-18 Juergen Vigna <jug@sad.it>
13731 * vspace.C (asLatexString): fixed the 100% problem.
13733 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13735 * lyxfunc.C (Dispatch):
13737 * minibuffer.h: add a few std:: qualifiers
13739 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13741 * minibuffer.[Ch]: reimplement so that commands is initiated and
13742 run from lyxfunc, simplified som handling, and made the completion
13743 and history code for complete. wip.
13745 * lyxfunc.C (processKeySym): call message
13746 (miniDispatch): new temporary method
13747 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13748 (LFUN_MESSAGE): implement
13749 (LFUN_MESSAGE_PUSH): implement
13750 (LFUN_MESSAGE_POP): implement
13751 (initMiniBuffer): the initial/defualt minibuffer message.
13753 * lyxfont.[Ch]: inline some more getters
13755 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13757 * lyx_gui_misc.[Ch] (WriteStatus): remove method
13759 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13760 (AutoSave): use LFUN_MESSAGE
13761 (Reconfigure): ditto
13763 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13765 * figureForm.C: use LFUN_MESSAGE
13767 * converter.C (runLaTeX): use LFUN_MESSAGE
13769 * bufferview_funcs.C: use LFUN_MESSAGE
13771 (changeDepth): ditto
13773 * bufferparams.h: use boost::
13775 * bufferlist.h: inherit privately from noncopyable
13777 * bufferlist.C (loadLyXFile): remove some commented code.
13779 * buffer.C (runChktex): use LFUN_MESSAGE
13781 * ShareContainer.h: inherit privately from noncopyable
13783 * ParagraphParameters.[hC] (depth): inline it.
13785 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13787 (message): new method
13788 (messagePush): ditto
13789 (messagePop): ditto
13790 (show): init minibuffer
13791 (showState): direct call
13793 * LaTeX.[Ch]: inherit privately from noncopyable
13794 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13795 instead of WriteStatus.
13797 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13799 * BufferView_pimpl.C (buffer): don't init minibuffer
13800 (workAreaButtonPress): use LFUN_MESSAGE
13801 (workAreaButtonRelease): ditto
13802 (savePosition): ditto
13803 (restorePosition): ditto
13804 (MenuInsertLyXFile): ditto
13805 (workAreaExpose): don't init minibuffer
13806 (update): remove commented code, simplify
13808 * BufferView2.C (openStuff): use LFUN_MESSAGE
13809 (toggleFloat): ditto
13812 (copyEnvironment): ditto
13813 (pasteEnvironment): ditto
13818 (updateInset): remove some commented code
13820 * lastfiles.h: inherit privately from noncopyable
13823 * lyx_main.h: ditto
13825 * lyxlex_pimpl.h: ditto
13827 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13828 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13829 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13831 * LyXAction.h: inherit privately from noncopyable, add methods
13832 func_begin, func_end, returning iterators to the func map.
13834 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13835 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13836 (func_begin): new method
13837 (func_end): new method
13839 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13841 (copySelection): ditto
13842 (pasteSelection): ditto
13844 * BufferView.C: whitespace change
13845 * BufferView.h: inherit privately from noncopyable
13847 2001-04-16 Allan Rae <rae@lyx.org>
13849 * tabular-old.C (l_getline):
13850 * spellchecker.C (sc_check_word):
13851 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13852 an unrecognised preprocessor directive. So ensure they're wrapped.
13854 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
13856 * src/exporter.C (Export): Give an error message when path to file
13859 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
13861 * LaTeX.C (deplog): Always check that foundfile exists.
13863 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13866 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13868 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13870 * tabular.[Ch] (getLabelList): implement new method
13872 * minibuffer.h: comment ouf setTiimer
13874 * minibuffer.C (ExecutingCB): constify res
13875 (peek_event): constify s
13876 (Set): constify ntext
13877 (Init): constify nicename
13879 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13881 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13882 (savePosition): use two params to Minibuffer::Set
13883 (restorePosition): ditto
13885 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13887 * lyx_main.C: include language.h
13889 * Makefile.am (lyx_main.o): add language.h
13891 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13897 * CutAndPaste.C: include gettext.h
13899 * lyxfont.h: remove old hack with ON and OFF.
13902 * lyxfont.h: do not include language.h...
13907 * bufferview_funcs.C:
13913 * paragraph.C: ... but do it here instead
13915 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13917 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13919 * tabular.C: small reformat
13921 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13924 (BreakParagraph): ditto
13925 (SetOnlyLayout): ditto
13928 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13931 * lastfiles.C: removed most using decl, add std:: where needed
13933 * buffer.C: ws changes
13935 * MenuBackend.C (class compare_format): put into anon namespace
13936 (expand): constify label, names, action, action2
13939 * text.C (SingleWidth): constify font
13940 (IsBoundary): constify rtl2
13941 (GetVisibleRow): constify ww
13943 * LaTeX.C (deplog): constify logfile
13945 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13947 (workAreaExpose): constify widthChange, heightChange
13949 * lyxrow.C (par): moved
13952 * lyxrow.h: as inlines here
13954 * lyxfont.h (shape): moved from lyxfont.C
13955 (emph): moved from lyxfont.C
13957 * lyxfont.C (LyXFont): use initialization list for all
13959 (shape): move to lyxfont.h as inline
13960 (emph): move to lyxfont.h as inline
13963 2001-04-04 Juergen Vigna <jug@sad.it>
13965 * vspace.C: had to include stdio.h for use of sscanf
13967 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
13970 * BufferView_pimpl.h: remove xforms cruft. Both classes are
13971 independent of xforms.
13973 2001-04-02 Juergen Vigna <jug@sad.it>
13975 * spellchecker.C: fixed namespace placing!
13977 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
13979 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13980 the LyXParagraph * is 0.
13982 2001-03-29 Juergen Vigna <jug@sad.it>
13984 * vspace.C: added support for %, c%, p%, l%.
13985 (stringFromUnit): added helper function.
13986 (asLatexString): changed to give right results for the %-values.
13988 * buffer.C: convert the widthp in a width%.
13990 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
13992 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13995 * figureForm.[Ch]: stripped the FD_from_figure manipulation
13996 code out of lux_cb.[Ch], ready for its (imminent?) removal.
13998 * lyx_cb.[Ch]: see above.
14000 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14004 * lyx.[Ch]: replaced by figure_form.[Ch].
14008 * lyxfunc.C: changed headers associated with above changes.
14010 2001-03-27 Juergen Vigna <jug@sad.it>
14012 * BufferView_pimpl.C: set the temporary cursor right!
14014 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
14016 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14018 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
14020 * LString.h: removed "using std::getline"!
14022 * BufferView_pimpl.C (Dispatch): changes due to changes in
14023 InsetInclude::Params.
14025 * buffer.C (tag_name): removed redundant break statements as they were
14026 producing lots of warnings with my compiler.
14028 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14030 * LString.h: add "using std::getline" when using the real <string>.
14032 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
14034 * buffer.C: removed bitset usage.
14035 PAR_TAG moved to an anonymous name space.
14036 (tag_name): new funtion, also in the anonymous namespace.
14037 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14038 (makeDocBookFile): clean code. Completed transition from string arrays
14040 (SimpleDocBookOnePar): code clean.
14042 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14044 * tabular.C: add some comments.
14046 2001-03-22 Juergen Vigna <jug@sad.it>
14048 * buffer.C (parseSingleLyXformat2Token): redone the minipage
14049 compatibility read a bit and fixed bug with minipage in different
14052 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
14054 * buffer.C (pop_tag): removed.
14055 (push_tag): removed.
14056 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14057 array replaced with vector. Added support for CDATA sections.
14058 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14060 (makeDocBookFile): XML conformant declaration of CDATA section,
14061 fixed bug related to <emphasis> in the first paragraph char.
14062 (sgmlOpenTag): exclude empty tags.
14063 (sgmlCloseTag): ditto.
14065 * buffer.h (pop_tag): removed.
14066 (push_tag): removed.
14068 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
14070 * language.h (Languages): added size_type and size().
14072 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14074 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14075 response on compability reading of minipages. One probliem is that
14076 the old usage of minipages was «flertydig»
14078 * several files here and in subdirs: don't use static at file
14079 scope use anon namespaces instead.
14081 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
14083 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14084 LaTeX output. This is necessary for Literate document
14087 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14089 * buffer.C: insert hfill when needed.
14091 * tabular.C (l_getline): use string::erase, small whitespace change.
14093 * BufferView_pimpl.C: try the anon namespace.
14094 * WorkArea.C: ditto
14096 2001-03-16 Juergen Vigna <jug@sad.it>
14098 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14099 otherwise it won't open options-dialogs.
14101 * buffer.C: honor pextraWidth(p) on converting minipages.
14103 * tabular.C (l_getline): changed the functions to strip trailing \r.
14105 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
14107 * BufferView_pimpl.C:
14108 * minibuffer..C: added "using SigC::slot" declaration.
14110 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14112 * lyxlex_pimpl.h: noncopyable is in namespace boost.
14118 * paragraph.C: ditto
14120 * lyxtext.h: NO_PEXTRA
14122 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14124 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14125 * ParameterStruct.h: ditto
14126 * ParagraphParameters.h: ditto
14127 * lyxparagraph.h: ditto
14129 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14131 * buffer.C: add compability for minipage alignment.
14132 (latexParagraphs): remove unwanted pextra check.
14134 * several files: remove CXX_WORKING_NAMESPACES
14136 * buffer.C (pop_tag): tie is in namespace boost
14138 * BufferView.h: noncopyable is in namespace boost
14140 * lyx_main.h: ditto
14143 * lastfiles.h: ditto
14144 * bufferlist.h: ditto
14145 * ShareContainer.h: ditto
14147 * LyXAction.h: ditto
14150 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14152 * Merging changes from BRANCH_MVC back into HEAD.
14154 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14156 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
14158 * BufferView_pimpl.C: change from intl.C
14162 * Makefile.am: move combox.*
14168 * intl.C: remove dialog (covered by prefs)
14170 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14172 * lyxfunc.C (Dispatch): removed redundant break statement.
14174 2001-03-14 Juergen Vigna <jug@sad.it>
14176 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14178 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14180 * buffer.C: add hack to fix compability reading of minipages.
14182 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
14184 * buffer.C (getLists): Cleanup.
14186 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14188 * lyxfont.C (update): don't honor toggleall on font size.
14190 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
14194 * Makefile.am: moved to frontends/xforms/
14198 * BufferView_pimpl.C: changes for moved mathpanel
14200 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14202 * gettext.h: fix gettext_init() in --disable-nls
14204 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14206 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14208 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
14211 * lyx.h: strip external form
14213 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14215 * BufferView_pimpl.C: add comment, destroySplash()
14217 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14219 * BufferView_pimpl.C:
14223 * lyxfunc.C: use re-worked insetinclude
14225 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14227 * buffer.C: add using std::stringstream.
14229 * lyx_cb.C: readd using std::ios.
14231 * buffer.C: add using std::map.
14233 * BufferView_pimpl.C: add using std::vector.
14235 * ShareContainer.h: add std:: to swap.
14237 * buffer.h: add some typedefs
14238 * buffer.C (getLists): use them
14239 (getLists): renamed from getTocList.
14240 add a counter for the different float types and use it in the
14242 (getLists): use the same counter for the NEW_INSETS and the "non"
14245 * lyx_cb.h: remove unused items, includes, using etc.
14247 * ShareContainer.h: remove some commented code, add more comments
14248 and "documentation".
14250 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14252 * buffer.C (getTocList): make the list also when NEW_INSETS is
14255 * buffer.h: remove TocType
14257 * buffer.C (getTocList): change to return a map<string,
14258 vector<TocItem> >, implement for dynamic number of list.
14260 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14261 * text2.C (PasteSelection): adjust
14262 * CutAndPaste.C (pasteSelection): adjust
14264 * FloatList.C (FloatList): update from the new_insets branch.
14265 * Floating.[Ch]: ditto
14266 * LaTeXFeatures.C: ditto
14268 * lyxlex_pimpl.C: ditto
14270 * paragraph.C (Last): remove when NEW_INSETS is defined.
14272 * other file: changes because of the above.
14274 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14276 * lyxparagraph.h: rename next to next_, previous to previous_,
14277 make them private for NEW_INSETS. Rename Next() to next(),
14278 Previous() to previous().
14280 * other files: changes because of the above.
14282 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
14285 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14288 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14290 * main.C (main): pass lyx_localedir to gettext_init().
14292 * gettext.h: remove locale_init and gettext_init macros
14294 * gettext.C (locale_init): new function
14295 (gettext_init): new function
14297 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14300 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
14302 * Moved credits to frontends:
14303 * credits.[Ch]: removed
14304 * credits_form.[Ch]: removed
14305 * lyx_gui_misc.C: remove credits stuff
14308 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14310 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14312 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14313 unneeded destructor.
14315 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14316 a standalone pointer again.
14318 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14320 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
14326 * ToolbarDefaults.C:
14335 * BufferView_pimpl.C: use new file dialog in GUII
14338 * lyx_cb.C: remove LayoutsCB to Toolbar
14340 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14342 * ShareContainer.h (get): add std:: qualifier
14344 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14346 * ShareContainer.h: define a proper ShareContainer::value_type
14347 type (and use typename to please compaq cxx)
14349 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14351 * lyxparagraph.h: move serveral local vars to
14352 ParameterStruct/ParagraphParameters., use ShareContainer in
14353 FontTable., make vars in FontTable private and add getter and
14356 * paragraph.C: changes because of the above.
14358 * lyxfont.h: remove copy constructor and copy assignment. (the
14359 default ones is ok), move number inside FontBits. move inlines to
14362 * lyxfont.C: add number to initializaton of statics, move several
14363 inlines here. constify several local vars. some whitespace
14364 cleanup. Dont hide outerscope variables.
14366 * Spacing.h: add two new constructors to match the set methods.
14368 * ShareContainer.h: new file, will perhaps be moved to support
14370 * ParameterStruct.h: new file
14372 * ParagraphParameters.h: new file
14374 * ParagraphParameters.C: new file
14376 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14377 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14379 * BufferView_pimpl.C: ParagraphParameter changes.
14380 * buffer.C: Likewise.
14381 * bufferview_funcs.C: Likewise.
14382 * text.C: Likewise.
14383 * text2.C: Likewise.
14385 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14387 * lyxfind.C (LyXReplace): do not redefine default argument in
14389 (IsStringInText): ditto
14390 (SearchForward): ditto
14391 (SearchBackward): ditto
14393 2001-03-06 Juergen Vigna <jug@sad.it>
14395 * lyxfind.C (IsStringInText): put parentes around expressions.
14397 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
14399 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14401 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
14403 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14405 * stl_string_fwd.h: add comment
14407 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14410 * tabular.C: remove unused DocBook methods
14416 killed DO_USE_DEFAULT_LANGUAGE
14418 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14420 * lyx_gui.C: do not include language.h.
14422 * bufferview_funcs.C (ToggleAndShow): do not provide optional
14423 arguments in function implementation.
14425 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14427 * BufferView_pimpl.C: add <ctime>
14429 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14431 * BufferView_pimpl.C: add using std::find_if
14433 2001-02-27 José Matos <jamatos@fep.up.pt>
14435 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14438 2001-02-11 José Matos <jamatos@fep.up.pt>
14440 * buffer.C (makeDocBookFile): command styles now have a parameter as
14441 "title" by default.
14443 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
14445 * layout_forms.[Ch]: removed
14446 * lyx_cb.[Ch]: out character
14447 * lyx_gui.C: out character
14448 * lyx_gui_misc.C: out character
14449 * bufferview_funcs.C: : out character,
14450 added toggleall as parameter in ToggleAndShow
14452 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
14454 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14456 * text2.C (SetCurrentFont): Disable number property at boundary.
14458 2001-02-26 Juergen Vigna <jug@sad.it>
14460 * lyxfunc.C (getStatus): added a string argument override function so
14461 that this is correctly called from LyXFunc::Dispatch if it contains a
14462 do_not_use_argument which is used!
14463 (Dispatch): added check for "custom" export and call appropriate func.
14465 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
14467 * lyxrc.C: Add language_command_local, language_use_babel and
14468 language_global_options.
14470 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14472 * buffer.C (makeLaTeXFile): Use language_use_babel and
14473 language_global_options.
14475 2001-02-23 Juergen Vigna <jug@sad.it>
14477 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14478 which works with LyXText and putted it inside BufferView. Here now we
14479 only call for that part the BufferView::Dispatch() function.
14481 * BufferView.C (Dispatch): added.
14483 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14484 functions which needs to use a LyXText over from LyXFunc.
14485 (MenuInsertLyXFile): added
14486 (getInsetByCode): added
14487 (moveCursorUpdate): added
14488 (static TEXT): added
14490 2001-02-22 Juergen Vigna <jug@sad.it>
14492 * BufferView_pimpl.C (update): call a status update to see if LyXText
14495 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14497 * vc-backend.C (revert): implement for CVS
14498 (getLog): implement for CVS
14500 2001-02-20 Juergen Vigna <jug@sad.it>
14502 * text2.C (ClearSelection): added BufferView param for inset_owner call
14504 * lyxfunc.C (TEXT): added this function and use it instead of
14505 directly owner->view()-text of getLyXText().
14507 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
14509 * src/layout_forms.C: out preamble
14510 * src/layout_forms.h: out preamble
14511 * src/lyx_cb.C: out preamble
14512 * src/lyx_cb.h: out preamble
14513 * src/lyx_gui.C: out preamble
14514 * src/lyx_gui_misc.C: out preamble
14515 * src/lyxfunc.C: connect with guii preamble
14517 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14519 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14521 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14523 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14524 whether to run bibtex.
14526 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14528 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14530 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14532 * Makefile.am (lyx_SOURCES): removed bibforms.h
14534 * vspace.h: doxygen
14536 * text.C (GetVisibleRow): make several local vars const
14538 * tabular.C: small cleanup.
14540 * lyxserver.C (callback): use compare instead of strncmp
14542 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14543 inlines to after class or to paragraph.C
14545 * lyxfont.h: remove friend operator!=
14547 * converter.h: move friend bool operator< to non friend and after
14550 * combox.h: small cleanup
14552 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14553 to inlines after class def.
14555 * buffer.C (pop_tag): use string operations instead of strcmp
14557 * bmtable.c: doxygen, small cleanup
14559 * LaTeX.h: remove friend operator==
14561 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14573 * BufferView_pimpl.C:
14574 * BufferView.[Ch]: remove cruft
14576 2001-02-14 Juergen Vigna <jug@sad.it>
14578 * lyxfunc.C: removed #if 0 unused code
14580 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14582 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14584 * text2.C (SetSelection): added a BufferView * parameter
14586 2001-02-13 Juergen Vigna <jug@sad.it>
14588 * lyxfunc.C (Dispatch): fixed protected blank problem.
14589 * BufferView2.C (protectedBlank): added LyxText * parameter.
14591 * tabular.C (AppendRow): forgot to set row_info of newly added row.
14592 (AppendColumn): same as above for column_info.
14594 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14595 (moveCursorUpdate): use a LyXText param for support of InsetText.
14597 * BufferView_pimpl.C (doubleClick): added support for InsetText.
14598 (tripleClick): ditto
14600 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14602 * BufferView_pimpl.C (update): added LyXText param to honor insets.
14604 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14606 * text2.C (SetSelection): set correct update status if inset_owner
14607 (ToggleFree): ditto
14609 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
14611 * tabular.C: remove some commented code.
14613 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
14615 * BufferView_pimpl.C: call hideSplash()
14617 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14620 * bibforms.h: remove
14623 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14624 add LFUN_CHILD_CREATE
14626 * counters.h: fix tiny typo
14631 * lyx.C: move splash to frontends/xforms/
14633 * lyx_gui_misc.C: move Include and Bibform to frontends
14635 * lyxvc.h: clarify comment
14637 * vspace.C: tiny housekeeping
14639 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
14641 * text.C (PrepareToPrint): RTL Fix.
14643 * paragraph.C (GetUChar): New method.
14644 (String): Use GetUChar.
14646 * buffer.C (asciiParagraph): Use GetUChar.
14648 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
14650 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14652 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
14655 * buffer.C: rename to getLogName(), handle
14656 build log / latex log nicely
14658 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14661 * MenuBackend.h: remove support for reference menuitem type.
14663 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
14665 * BufferView_pimpl.C: housekeeping
14666 * BufferView_pimpl.h:
14671 * minibuffer.h: move Timeout GUI-I
14673 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
14675 * lyxrc.C (read): Update converters data-structures.
14677 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
14679 * LaTeX.h (operator!=): add operator != for Aux_Info
14681 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
14683 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14685 * LaTeXLog.C: deleted, useful code moved to Buffer
14688 * buffer.C: new function getLatexLogName()
14694 * lyxfunc.C: use frontends for LaTeX and VC logs
14696 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14698 * LaTeX.h: yet another std:: that Allan forgot.
14700 * Variables.C (set): renamed from isset(), because this clashes
14701 with some HP-UX macros (grr).
14703 2001-02-06 Allan Rae <rae@lyx.org>
14705 * LaTeX.h: Another bug fix. Missing std:: this time.
14707 2001-02-04 Allan Rae <rae@lyx.org>
14709 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14710 floats problem. I've left it commented out because it's not quite
14711 correct. It should also test that the current object is a table or
14712 figure inset. But I haven't gotten around to figuring out how to do
14713 that. I *think* it'll be something like: "table" == inset.type()
14715 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14718 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
14720 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14721 all the citation/databases/styles in the auxilary file.
14722 (run): Rerun latex if there was a babel language error.
14724 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
14726 * text.C (Backspace): Preserve the font when changing newline char
14728 (BreakParagraph): If the cursor is before a space, delete the space.
14730 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14732 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
14734 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14735 new argument (code).
14736 (ChangeCitationsIfUnique): New method.
14738 * paragraph.C (GetPositionOfInset): Handle bibkey.
14740 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14742 * BufferView_pimpl.h: change type of Position::par_pos to
14743 LyXParagraph::size_type.
14745 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
14747 * BufferView_pimpl.C (savePosition, restorePosition): Write
14748 messages to minibuffer.
14750 2001-01-28 José Matos <jamatos@fep.up.pt>
14752 * buffer.C (makeDocBookFile): adds support for document language.
14753 A silly restriction on the name of LatexCommand types where removed.
14754 Added support for CDATA sections, allows to chars unescaped, used
14755 among others in code, to avoid escape < and >.
14757 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14759 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14760 saved positions instrad of a stack. Furthermore, a position is
14761 stored using paragraph id/paragraph position.
14763 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14764 Remove LFUN_REF_BACK.
14766 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14768 * converter.C (dvipdfm_options): New method.
14770 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
14772 * vspace.C (isValidLength): Fix for empty input string.
14774 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14776 * LyXAction.C (init): change description of LFUN_FIGURE to
14779 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14781 * LaTeX.C: add using directive
14783 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14785 * MenuBackend.C (expand): Fix the sorting of the formats.
14787 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
14789 * lyx_main.C: tiny error message fix
14791 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14793 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14794 calling fl_initialize(). This fixes the problem with ',' as
14795 decimal separator in text files.
14797 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14799 * trans.C (process): Fix the keymap bug.
14801 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
14803 * LaTeX.C (scanAuxFiles): New method. Provides support for
14804 multiple bibliographies (when using the bibtopic/bibunits pacakges).
14805 (scanLogFile) Scan for "run BibTeX" messages.
14807 * buffer.C (makeLaTeXFile): Do not load the ae package when using
14808 OT1 font encoding. Also, load the aecompl package if the ae
14811 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14813 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14815 * texrow.C (increasePos): turn two error messages into debug
14818 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
14820 * LaTeX.C (scanAux): Handle the \@input macro.
14821 (runBibTeX): Use scanAux().
14823 * language.C (latex_options_): New field.
14825 * LaTeXFeatures.C (getMacros): Add language macros.
14827 * buffer.C (makeLaTeXFile): Small fix.
14829 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14831 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14833 * text2.C: add a using directive.
14835 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
14840 * lyxfunc.C: kill LyXBell.
14842 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
14844 * text.C (IsBoundary): Remove the error message
14846 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14848 * lyxrc.C (setDefaults): Correct initialization value for
14851 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
14853 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14856 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14857 and GotoNextNote().
14859 * src/LyXAction.C: Added reference-next.
14861 * text.C (InsertChar): Use contains instead of strchr.
14863 * lyx_cb.C (MenuInsertLabel): Enable default value code.
14865 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
14867 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14868 alignment commands (when needed).
14870 * text.C (InsertChar): Add ':' to number separator chars.